Skip to contentSkip to navigationSkip to topbar
Paste DSys

Menu

Version 15.0.2GithubDesign assets pendingPeer review pending

A Menu is a button that presents a list of items that users can choose to trigger an action.

Change Log

15.0.2

Patch Changes

  • 6040893c0 #4311 Thanks @PixeledCode! - [Base Radio Checkbox, Button, Combobox, File Picker, File Uploader, Input, Input Box, Menu, Select, Textarea, Visual Picker] Update styles of form related components
  • 16e8016a0 #4334 Thanks @serifluous! - Visible changes in dark themes only. Redarkened color-background-weak and added color-background-weaker-elevation

15.0.1

Patch Changes

  • 262c1b715 #4281 Thanks @PixeledCode! - [all packages]: add use client directive to the components and icons. This will make paste library compatible with server components

15.0.0

Major Changes

  • f48211e56 #4258 Thanks @PixeledCode! - [all packages]: Upgrade to React 19 and drop support for React 16. Paste only supports the three latest versions of React. If you're using Paste in a React 17, 18, or 19 app, you should be able to upgrade with full backwards compatibility. If you experience any issues, please let us know on Github.

Patch Changes

14.1.4

Patch Changes

  • 0ed9f3482 #4226 Thanks @PixeledCode! - [Callout, ChatComposer, ChatLog, Combobox, Input, InputBox, Menu, MinimizableDialog, Modal, Popover, SideModal, SidePanel, Sidebar, Toast, Tooltip, Topbar, UserDialog]: Update styles to implement new elevation tokens

14.1.3

Patch Changes

  • eb189f10e #3790 Thanks @SiTaggart! - [Menu] Fix a regression in sub-menu items that was introduced whilst preventing very long, non-scrolling menus

14.1.2

Patch Changes

  • ba0d7bcfb #3709 Thanks @SiTaggart! - [Menu]: Adds overflow scrolling behaviour on menus with a large number of items in, currently defaulting to 10 items

14.1.1

Patch Changes

14.1.0

Minor Changes

  • b8d79200b #3442 Thanks @TheSisb! - Removed all run-time prop-type checkingfrom Paste components. Paste now ships with only TypeScript types.

    ACTION NEEDED: None. This should be 100% backwards compatible.

  • dc8deca8a #3505 Thanks @nkrantz! - [Menu] Add all inherited props from "div" element to MenuGroupProps, add new exports: MenuInitialState and MenuStateReturn

14.0.1

Patch Changes

  • eb055b2b4 #3424 Thanks @loreina! - [Menu] Update destructive Menu items to use the new colorTextDestructive token

14.0.0

Major Changes

  • 733709127 #3395 Thanks @SiTaggart! - Modified the compile target of our JavaScript bundles from node to browser to minimize the risk of clashing with RequireJS. This is marked as a major out of an abundance of caution. You shouldn't need to do anything but we wanted you to be aware of the change on the off chance it has unintended consequences

Patch Changes

13.1.1

Patch Changes

13.1.0

Minor Changes

  • 5958ffb5b #3230 Thanks @SiTaggart! - [Menu] Add Menu Badge, and Checkbox and Radio group Menu Items added. Enables the ability to create menus from badges. Enables single and multiselect menu items.

Patch Changes

  • 5958ffb5b #3230 Thanks @SiTaggart! - [Menu]: Improved handling of styling checked menu items and reserving space for the checkmark to prevent resizing on selection

13.0.0

Major Changes

  • 3ab2bb6f4 #3114 Thanks @SiTaggart! - ### Breaking change

    We have moved @types/react and @types/react-dom to peer dependencies of the library. This should allow for greater control and backwards compatibility with older versions of React as Paste is no longer bundling the type libraries.

    Your application likely has both of these as dependencies anyway, but it is now up to you to manage that version number.

    Action needed

    Ensure @types/react and @types/react-dom are installed as dependencies of your application.

Patch Changes

12.1.0

Minor Changes

  • 45cdceb92 #3063 Thanks @shleewhite! - [Menu] Add destructive_group_item variant to MenuItem. Update styles to align with new Paste Twilio theme.

12.0.0

Major Changes

  • d97098846 #3020 Thanks @SiTaggart! - This major version included listing all the missing peer dependencies for each Paste package.

    If you are using a package from Paste in isolation from Core, when upgrading to this latest version, be sure to correctly install all the missing peer dependencies.

Patch Changes

11.1.3

Patch Changes

11.1.2

Patch Changes

11.1.1

Patch Changes

11.1.0

Minor Changes

Patch Changes

11.0.0

Patch Changes

10.0.2

Patch Changes

  • ae9dd50f #2466 Thanks @TheSisb! - [All packages] Update our ESBuild version and remove minification of identifiers in our production builds.

10.0.1

Patch Changes

  • 12a5e83e #2449 Thanks @shleewhite! - Made a slight improvement to the TypeScript typings of several packages for better interoperability.

10.0.0

Patch Changes

9.0.0

Patch Changes

8.0.3

Patch Changes

8.0.2

Patch Changes

  • 73c596919 #2269 Thanks @SiTaggart! - Fixed a regression with the compilation script that caused incompatible ESM module importing of JSON files.

8.0.1

Patch Changes

  • c867e3f48 #2237 Thanks @SiTaggart! - Updated a build dependency (esbuild) which changes the output of our builds slightly, without materially changing anything about the code.

8.0.0

Patch Changes

7.0.5

Patch Changes

  • b7675915 #1985 Thanks @TheSisb! - For debugging purposes we now ship a filename.debug.js unminified version of each component or library in Paste.

7.0.4

Patch Changes

7.0.3

Patch Changes

  • d1126c27 #1900 Thanks @andipants12! - [Menu]: Enable Component to respect element customizations set on the customization provider. Component now enables setting an element name on the underlying HTML element and checks the emotion theme object to determine whether it should merge in custom styles to the ones set by the component author.

7.0.2

Patch Changes

  • eab3fd93 #1501 Thanks @richbachman! - MenuItem now renders as a button by default. In order to render it as an a, and href needs to be passed.

7.0.1

Patch Changes

  • 25a1f632 #1404 Thanks @SiTaggart! - update internal usage of design tokens to reflect new strong / weak nomenclature

7.0.0

Patch Changes

6.0.1

Patch Changes

6.0.0

Patch Changes

5.0.1

Patch Changes

5.0.0

Patch Changes

4.0.3

Patch Changes

4.0.2

Patch Changes

4.0.1

Patch Changes

4.0.0

Patch Changes

3.0.1

Patch Changes

3.0.0

Patch Changes

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.1.1 (2021-01-25)

Note: Version bump only for package @twilio-paste/menu

2.1.0 (2021-01-21)

Features

2.0.6 (2021-01-15)

Note: Version bump only for package @twilio-paste/menu

2.0.5 (2021-01-14)

Note: Version bump only for package @twilio-paste/menu

2.0.4 (2021-01-14)

Note: Version bump only for package @twilio-paste/menu

2.0.3 (2021-01-13)

Note: Version bump only for package @twilio-paste/menu

2.0.2 (2021-01-07)

Note: Version bump only for package @twilio-paste/menu

2.0.1 (2020-12-17)

Note: Version bump only for package @twilio-paste/menu

2.0.0 (2020-12-17)

Bug Fixes

BREAKING CHANGES

  • menu: component is now using fowardRef

1.1.54 (2020-12-15)

Note: Version bump only for package @twilio-paste/menu

1.1.53 (2020-12-11)

Note: Version bump only for package @twilio-paste/menu

1.1.52 (2020-12-11)

Note: Version bump only for package @twilio-paste/menu

1.1.51 (2020-12-09)

Note: Version bump only for package @twilio-paste/menu

1.1.50 (2020-12-03)

Note: Version bump only for package @twilio-paste/menu

1.1.49 (2020-12-02)

Note: Version bump only for package @twilio-paste/menu

1.1.48 (2020-11-19)

Note: Version bump only for package @twilio-paste/menu

1.1.47 (2020-11-16)

Note: Version bump only for package @twilio-paste/menu

1.1.46 (2020-11-11)

Note: Version bump only for package @twilio-paste/menu

1.1.45 (2020-11-10)

Note: Version bump only for package @twilio-paste/menu

1.1.44 (2020-11-09)

Note: Version bump only for package @twilio-paste/menu

1.1.43 (2020-11-06)

Note: Version bump only for package @twilio-paste/menu

1.1.42 (2020-11-05)

Note: Version bump only for package @twilio-paste/menu

1.1.41 (2020-11-02)

Note: Version bump only for package @twilio-paste/menu

1.1.40 (2020-10-30)

Note: Version bump only for package @twilio-paste/menu

1.1.39 (2020-10-29)

Note: Version bump only for package @twilio-paste/menu

1.1.38 (2020-10-23)

Note: Version bump only for package @twilio-paste/menu

1.1.37 (2020-10-22)

Note: Version bump only for package @twilio-paste/menu

1.1.36 (2020-10-21)

Note: Version bump only for package @twilio-paste/menu

1.1.35 (2020-10-19)

Note: Version bump only for package @twilio-paste/menu

1.1.34 (2020-10-15)

Note: Version bump only for package @twilio-paste/menu

1.1.33 (2020-10-13)

Note: Version bump only for package @twilio-paste/menu

1.1.32 (2020-10-09)

Note: Version bump only for package @twilio-paste/menu

1.1.31 (2020-10-07)

Note: Version bump only for package @twilio-paste/menu

1.1.30 (2020-10-07)

Note: Version bump only for package @twilio-paste/menu

1.1.29 (2020-10-07)

Note: Version bump only for package @twilio-paste/menu

1.1.28 (2020-10-07)

Note: Version bump only for package @twilio-paste/menu

1.1.27 (2020-09-28)

Note: Version bump only for package @twilio-paste/menu

1.1.26 (2020-09-25)

Note: Version bump only for package @twilio-paste/menu

1.1.25 (2020-09-23)

Note: Version bump only for package @twilio-paste/menu

1.1.24 (2020-09-22)

Note: Version bump only for package @twilio-paste/menu

1.1.23 (2020-09-21)

Note: Version bump only for package @twilio-paste/menu

1.1.22 (2020-09-15)

Note: Version bump only for package @twilio-paste/menu

1.1.21 (2020-09-15)

Note: Version bump only for package @twilio-paste/menu

1.1.20 (2020-09-14)

Note: Version bump only for package @twilio-paste/menu

1.1.19 (2020-09-10)

Note: Version bump only for package @twilio-paste/menu

1.1.18 (2020-09-09)

Note: Version bump only for package @twilio-paste/menu

1.1.17 (2020-09-09)

Note: Version bump only for package @twilio-paste/menu

1.1.16 (2020-09-08)

Note: Version bump only for package @twilio-paste/menu

1.1.15 (2020-09-08)

Note: Version bump only for package @twilio-paste/menu

1.1.14 (2020-09-03)

Note: Version bump only for package @twilio-paste/menu

1.1.13 (2020-09-02)

Note: Version bump only for package @twilio-paste/menu

1.1.12 (2020-09-02)

Note: Version bump only for package @twilio-paste/menu

1.1.11 (2020-08-31)

Note: Version bump only for package @twilio-paste/menu

1.1.10 (2020-08-31)

Note: Version bump only for package @twilio-paste/menu

1.1.9 (2020-08-31)

Note: Version bump only for package @twilio-paste/menu

1.1.8 (2020-08-27)

Note: Version bump only for package @twilio-paste/menu

1.1.7 (2020-08-24)

Note: Version bump only for package @twilio-paste/menu

1.1.6 (2020-08-24)

Note: Version bump only for package @twilio-paste/menu

1.1.5 (2020-08-19)

Note: Version bump only for package @twilio-paste/menu

1.1.4 (2020-08-12)

Note: Version bump only for package @twilio-paste/menu

1.1.3 (2020-08-12)

Note: Version bump only for package @twilio-paste/menu

1.1.2 (2020-08-12)

Note: Version bump only for package @twilio-paste/menu

1.1.1 (2020-08-12)

Note: Version bump only for package @twilio-paste/menu

1.1.0 (2020-08-11)

Features

  • menu: update styles for unified design language (4429499)

1.0.1 (2020-08-06)

Note: Version bump only for package @twilio-paste/menu

1.0.0 (2020-08-05)

Bug Fixes

  • icons: use display=block by default and rename 'iconColor' prop to 'color' (#637) (82beef4)

BREAKING CHANGES

  • icons: This change renames a key prop and changes the display mode from inline-flex to block

  • fix: use new icon prop (iconColor -> color)

  • test: update snapshots

  • chore(icons): update readme to mention correct display value

Co-authored-by: Rich Bachman rb@richbachman.com

  • chore(website): update icon doc prop table

Co-authored-by: Rich Bachman rb@richbachman.com

Co-authored-by: Rich Bachman rb@richbachman.com

0.2.6 (2020-08-04)

Note: Version bump only for package @twilio-paste/menu

0.2.5 (2020-08-04)

Note: Version bump only for package @twilio-paste/menu

0.2.4 (2020-07-31)

Note: Version bump only for package @twilio-paste/menu

0.2.3 (2020-07-30)

Note: Version bump only for package @twilio-paste/menu

0.2.2 (2020-07-29)

Note: Version bump only for package @twilio-paste/menu

0.2.1 (2020-07-28)

Note: Version bump only for package @twilio-paste/menu

0.2.0 (2020-07-28)

Features

0.1.26 (2020-07-22)

Note: Version bump only for package @twilio-paste/menu

0.1.25 (2020-07-20)

Note: Version bump only for package @twilio-paste/menu

0.1.24 (2020-07-15)

Note: Version bump only for package @twilio-paste/menu

0.1.23 (2020-07-14)

Note: Version bump only for package @twilio-paste/menu

0.1.22 (2020-07-14)

Note: Version bump only for package @twilio-paste/menu

0.1.21 (2020-07-02)

Note: Version bump only for package @twilio-paste/menu

0.1.20 (2020-07-02)

Note: Version bump only for package @twilio-paste/menu

0.1.19 (2020-07-01)

Note: Version bump only for package @twilio-paste/menu

0.1.18 (2020-07-01)

Note: Version bump only for package @twilio-paste/menu

0.1.17 (2020-06-29)

Note: Version bump only for package @twilio-paste/menu

0.1.16 (2020-06-25)

Note: Version bump only for package @twilio-paste/menu

0.1.15 (2020-06-25)

Note: Version bump only for package @twilio-paste/menu

0.1.14 (2020-06-25)

Note: Version bump only for package @twilio-paste/menu

0.1.13 (2020-06-23)

Note: Version bump only for package @twilio-paste/menu

0.1.12 (2020-06-22)

Note: Version bump only for package @twilio-paste/menu

0.1.11 (2020-06-18)

Note: Version bump only for package @twilio-paste/menu

0.1.10 (2020-06-16)

Note: Version bump only for package @twilio-paste/menu

0.1.9 (2020-06-12)

Note: Version bump only for package @twilio-paste/menu

0.1.8 (2020-06-10)

Note: Version bump only for package @twilio-paste/menu

0.1.7 (2020-06-09)

Note: Version bump only for package @twilio-paste/menu

0.1.6 (2020-06-05)

Note: Version bump only for package @twilio-paste/menu

0.1.5 (2020-06-01)

Note: Version bump only for package @twilio-paste/menu

0.1.4 (2020-06-01)

Note: Version bump only for package @twilio-paste/menu

0.1.3 (2020-06-01)

Note: Version bump only for package @twilio-paste/menu

0.1.2 (2020-05-28)

Note: Version bump only for package @twilio-paste/menu

0.1.1 (2020-05-27)

Bug Fixes

  • menu: allow actions, links and external links (4c69457)

0.1.0 (2020-05-20)

Features

  • menu: create the menu component (9363a41)