@cloudscape-design/components-themeable 3.0.951 → 3.0.953

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/button/constants.scss +1 -1
  3. package/lib/internal/template/app-layout/drawer/overflow-menu.d.ts.map +1 -1
  4. package/lib/internal/template/app-layout/drawer/overflow-menu.js +5 -4
  5. package/lib/internal/template/app-layout/drawer/overflow-menu.js.map +1 -1
  6. package/lib/internal/template/button/interfaces.d.ts +1 -1
  7. package/lib/internal/template/button/interfaces.js.map +1 -1
  8. package/lib/internal/template/button/internal.d.ts.map +1 -1
  9. package/lib/internal/template/button/internal.js +1 -1
  10. package/lib/internal/template/button/internal.js.map +1 -1
  11. package/lib/internal/template/button/styles.css.js +22 -22
  12. package/lib/internal/template/button/styles.scoped.css +70 -70
  13. package/lib/internal/template/button/styles.selectors.js +22 -22
  14. package/lib/internal/template/button-group/icon-button-item.d.ts.map +1 -1
  15. package/lib/internal/template/button-group/icon-button-item.js +1 -1
  16. package/lib/internal/template/button-group/icon-button-item.js.map +1 -1
  17. package/lib/internal/template/button-group/icon-toggle-button-item.d.ts.map +1 -1
  18. package/lib/internal/template/button-group/icon-toggle-button-item.js +1 -1
  19. package/lib/internal/template/button-group/icon-toggle-button-item.js.map +1 -1
  20. package/lib/internal/template/button-group/interfaces.d.ts +6 -0
  21. package/lib/internal/template/button-group/interfaces.d.ts.map +1 -1
  22. package/lib/internal/template/button-group/interfaces.js.map +1 -1
  23. package/lib/internal/template/button-group/menu-dropdown-item.d.ts.map +1 -1
  24. package/lib/internal/template/button-group/menu-dropdown-item.js +1 -1
  25. package/lib/internal/template/button-group/menu-dropdown-item.js.map +1 -1
  26. package/lib/internal/template/internal/base-component/styles.scoped.css +30 -0
  27. package/lib/internal/template/internal/environment.js +1 -1
  28. package/lib/internal/template/internal/environment.json +1 -1
  29. package/lib/internal/template/internal/generated/styles/tokens.d.ts +6 -0
  30. package/lib/internal/template/internal/generated/styles/tokens.js +6 -0
  31. package/lib/internal/template/internal/generated/theming/index.cjs +115 -1
  32. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +48 -0
  33. package/lib/internal/template/internal/generated/theming/index.d.ts +48 -0
  34. package/lib/internal/template/internal/generated/theming/index.js +115 -1
  35. package/lib/internal/template/prompt-input/interfaces.d.ts +1 -0
  36. package/lib/internal/template/prompt-input/interfaces.d.ts.map +1 -1
  37. package/lib/internal/template/prompt-input/interfaces.js.map +1 -1
  38. package/lib/internal/template/prompt-input/internal.d.ts.map +1 -1
  39. package/lib/internal/template/prompt-input/internal.js +11 -3
  40. package/lib/internal/template/prompt-input/internal.js.map +1 -1
  41. package/package.json +1 -1
@@ -38,6 +38,7 @@ export interface ButtonGroupProps extends BaseComponentProps {
38
38
  * * `id` (string) - The unique identifier of the button, used as detail in `onItemClick` handler and to focus the button using `ref.focus(id)`.
39
39
  * * `text` (string) - The name shown as a tooltip for this button.
40
40
  * * `disabled` (optional, boolean) - The disabled state indication for this button.
41
+ * * `disabledReason` (optional, boolean) - Provides a reason why the button is disabled (only when `disabled` is `true`). If provided, the button becomes focusable.
41
42
  * * `loading` (optional, boolean) - The loading state indication for this button.
42
43
  * * `loadingText` (optional, string) - The loading text announced to screen readers.
43
44
  * * `iconName` (optional, string) - Specifies the name of the icon, used with the [icon component](/components/icon/).
@@ -52,6 +53,7 @@ export interface ButtonGroupProps extends BaseComponentProps {
52
53
  * * `pressed` (boolean) - The toggle button pressed state.
53
54
  * * `text` (string) - The name shown as a tooltip for this button.
54
55
  * * `disabled` (optional, boolean) - The disabled state indication for this button.
56
+ * * `disabledReason` (optional, boolean) - Provides a reason why the button is disabled (only when `disabled` is `true`). If provided, the button becomes focusable.
55
57
  * * `loading` (optional, boolean) - The loading state indication for this button.
56
58
  * * `loadingText` (optional, string) - The loading text announced to screen readers.
57
59
  * * `iconName` (optional, string) - Specifies the name of the icon, used with the [icon component](/components/icon/).
@@ -75,6 +77,7 @@ export interface ButtonGroupProps extends BaseComponentProps {
75
77
  * * `id` (string) - The unique identifier of the button, used as detail in `onItemClick`.
76
78
  * * `text` (string) - The name of the menu button shown as a tooltip.
77
79
  * * `disabled` (optional, boolean) - The disabled state indication for the menu button.
80
+ * * `disabledReason` (optional, boolean) - Provides a reason why the button is disabled (only when `disabled` is `true`). If provided, the button becomes focusable.
78
81
  * * `loading` (optional, boolean) - The loading state indication for the menu button.
79
82
  * * `loadingText` (optional, string) - The loading text announced to screen readers.
80
83
  * * `items` (ButtonDropdownProps.ItemOrGroup[]) - The array of dropdown items that belong to this menu.
@@ -105,6 +108,7 @@ export declare namespace ButtonGroupProps {
105
108
  id: string;
106
109
  text: string;
107
110
  disabled?: boolean;
111
+ disabledReason?: string;
108
112
  loading?: boolean;
109
113
  loadingText?: string;
110
114
  iconName?: IconProps.Name;
@@ -119,6 +123,7 @@ export declare namespace ButtonGroupProps {
119
123
  text: string;
120
124
  pressed: boolean;
121
125
  disabled?: boolean;
126
+ disabledReason?: string;
122
127
  loading?: boolean;
123
128
  loadingText?: string;
124
129
  iconName?: IconProps.Name;
@@ -142,6 +147,7 @@ export declare namespace ButtonGroupProps {
142
147
  id: string;
143
148
  text: string;
144
149
  disabled?: boolean;
150
+ disabledReason?: string;
145
151
  loading?: boolean;
146
152
  loadingText?: string;
147
153
  items: ReadonlyArray<ButtonDropdownProps.ItemOrGroup>;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/button-group/interfaces.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,s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AM,EAAE,MAAM,GAAG,IAAI,CAAC;KAC7B;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/button-group/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ButtonDropdownProps } from '../button-dropdown/interfaces';\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { SomeRequired } from '../internal/types';\n\nexport interface ButtonGroupProps extends BaseComponentProps {\n /**\n * Adds `aria-label` to the button group toolbar element.\n * Use this to provide a unique accessible name for each button group on the page.\n */\n ariaLabel?: string;\n /**\n * Determines the general styling of the button dropdown.\n * * `icon` for icon buttons.\n */\n variant: ButtonGroupProps.Variant;\n /**\n * Use this property to determine dropdown placement strategy for all menu dropdown items.\n *\n * By default, the dropdown height is constrained to fit inside the height of its next scrollable container element.\n * Enabling this property will allow the dropdown to extend beyond that container by using fixed positioning and\n * [React Portals](https://reactjs.org/docs/portals.html).\n *\n * Set this property if the dropdown would otherwise be constrained by a scrollable container,\n * for example inside table and split view layouts.\n *\n * We recommend you use discretion, and don't enable this property unless necessary\n * because fixed positioning results in a slight, visible lag when scrolling complex pages.\n */\n dropdownExpandToViewport?: boolean;\n /**\n * Array of objects with a number of supported types.\n *\n * ### icon-button\n *\n * * `id` (string) - The unique identifier of the button, used as detail in `onItemClick` handler and to focus the button using `ref.focus(id)`.\n * * `text` (string) - The name shown as a tooltip for this button.\n * * `disabled` (optional, boolean) - The disabled state indication for this button.\n * * `loading` (optional, boolean) - The loading state indication for this button.\n * * `loadingText` (optional, string) - The loading text announced to screen readers.\n * * `iconName` (optional, string) - Specifies the name of the icon, used with the [icon component](/components/icon/).\n * * `iconAlt` (optional, string) - Specifies alternate text for the icon when using `iconUrl`.\n * * `iconUrl` (optional, string) - Specifies the URL of a custom icon.\n * * `iconSvg` (optional, ReactNode) - Custom SVG icon. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n * * `popoverFeedback` (optional, ReactNode) - Text that appears when the user clicks the button. Use to provide feedback to the user.\n *\n * ### icon-toggle-button\n *\n * * `id` (string) - The unique identifier of the button, used as detail in `onItemClick` handler and to focus the button using `ref.focus(id)`.\n * * `pressed` (boolean) - The toggle button pressed state.\n * * `text` (string) - The name shown as a tooltip for this button.\n * * `disabled` (optional, boolean) - The disabled state indication for this button.\n * * `loading` (optional, boolean) - The loading state indication for this button.\n * * `loadingText` (optional, string) - The loading text announced to screen readers.\n * * `iconName` (optional, string) - Specifies the name of the icon, used with the [icon component](/components/icon/).\n * * `iconUrl` (optional, string) - Specifies the URL of a custom icon.\n * * `iconSvg` (optional, ReactNode) - Custom SVG icon. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n * * `pressedIconName` (optional, string) - Specifies the name of the icon in pressed state, used with the [icon component](/components/icon/).\n * * `pressedIconUrl` (optional, string) - Specifies the URL of a custom icon in pressed state.\n * * `pressedIconSvg` (optional, ReactNode) - Custom SVG icon in pressed state. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n * * `popoverFeedback` (optional, ReactNode) - Text that appears when the user clicks the button. Use to provide feedback to the user.\n * * `pressedPopoverFeedback` (optional, ReactNode) - Text that appears when the user clicks the button in pressed state. Defaults to `popoverFeedback`.\n *\n * * ### file-input\n *\n * * `id` (string) - The unique identifier of the button, used as detail in `onFilesChange`.\n * * `text` (string) - The name of the menu button shown as a tooltip.\n * * `accept` (optional, string) - Specifies the native file input `accept` attribute to describe the allow-list of file types.\n * * `multiple` (optional, string) - Specifies the native file input `multiple` attribute to allow users entering more than one file.\n *\n * ### menu-dropdown\n *\n * * `id` (string) - The unique identifier of the button, used as detail in `onItemClick`.\n * * `text` (string) - The name of the menu button shown as a tooltip.\n * * `disabled` (optional, boolean) - The disabled state indication for the menu button.\n * * `loading` (optional, boolean) - The loading state indication for the menu button.\n * * `loadingText` (optional, string) - The loading text announced to screen readers.\n * * `items` (ButtonDropdownProps.ItemOrGroup[]) - The array of dropdown items that belong to this menu.\n *\n * ### group\n *\n * * `text` (string) - The name of the group rendered as ARIA label for this group.\n * * `items` ((ButtonGroupProps.IconButton | ButtonGroupProps.MenuDropdown)[]) - The array of items that belong to this group.\n */\n items: ReadonlyArray<ButtonGroupProps.ItemOrGroup>;\n /**\n * Called when the user clicks on an item, and the item is not disabled. The event detail object contains the id of the clicked item.\n */\n onItemClick?: NonCancelableEventHandler<ButtonGroupProps.ItemClickDetails>;\n /**\n * Called when the user uploads files. The event detail object contains the id and files from the file input item.\n */\n onFilesChange?: NonCancelableEventHandler<ButtonGroupProps.FilesChangeDetails>;\n}\n\nexport interface InternalButtonGroupProps\n extends SomeRequired<ButtonGroupProps, 'dropdownExpandToViewport'>,\n InternalBaseComponentProps {}\n\nexport namespace ButtonGroupProps {\n export type Variant = 'icon';\n\n export type ItemOrGroup = Item | Group;\n export type Item = IconButton | IconToggleButton | IconFileInput | MenuDropdown;\n\n export interface IconButton {\n type: 'icon-button';\n id: string;\n text: string;\n disabled?: boolean;\n loading?: boolean;\n loadingText?: string;\n iconName?: IconProps.Name;\n iconAlt?: string;\n iconUrl?: string;\n iconSvg?: React.ReactNode;\n popoverFeedback?: React.ReactNode;\n }\n\n export interface IconToggleButton {\n type: 'icon-toggle-button';\n id: string;\n text: string;\n pressed: boolean;\n disabled?: boolean;\n loading?: boolean;\n loadingText?: string;\n iconName?: IconProps.Name;\n iconUrl?: string;\n iconSvg?: React.ReactNode;\n pressedIconName?: IconProps.Name;\n pressedIconUrl?: string;\n pressedIconSvg?: React.ReactNode;\n popoverFeedback?: React.ReactNode;\n pressedPopoverFeedback?: React.ReactNode;\n }\n\n export interface IconFileInput {\n type: 'icon-file-input';\n id: string;\n text: string;\n accept?: string;\n multiple?: boolean;\n }\n\n export interface MenuDropdown {\n type: 'menu-dropdown';\n id: string;\n text: string;\n disabled?: boolean;\n loading?: boolean;\n loadingText?: string;\n items: ReadonlyArray<ButtonDropdownProps.ItemOrGroup>;\n }\n\n export interface Group {\n type: 'group';\n text: string;\n items: ReadonlyArray<ButtonGroupProps.Item>;\n }\n\n export interface ItemClickDetails {\n id: string;\n pressed?: boolean;\n checked?: boolean;\n }\n\n export interface FilesChangeDetails {\n id: string;\n files: File[];\n }\n\n export interface Ref {\n /**\n * Focuses button group item by id.\n */\n focus(itemId: string): void;\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/button-group/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ButtonDropdownProps } from '../button-dropdown/interfaces';\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { SomeRequired } from '../internal/types';\n\nexport interface ButtonGroupProps extends BaseComponentProps {\n /**\n * Adds `aria-label` to the button group toolbar element.\n * Use this to provide a unique accessible name for each button group on the page.\n */\n ariaLabel?: string;\n /**\n * Determines the general styling of the button dropdown.\n * * `icon` for icon buttons.\n */\n variant: ButtonGroupProps.Variant;\n /**\n * Use this property to determine dropdown placement strategy for all menu dropdown items.\n *\n * By default, the dropdown height is constrained to fit inside the height of its next scrollable container element.\n * Enabling this property will allow the dropdown to extend beyond that container by using fixed positioning and\n * [React Portals](https://reactjs.org/docs/portals.html).\n *\n * Set this property if the dropdown would otherwise be constrained by a scrollable container,\n * for example inside table and split view layouts.\n *\n * We recommend you use discretion, and don't enable this property unless necessary\n * because fixed positioning results in a slight, visible lag when scrolling complex pages.\n */\n dropdownExpandToViewport?: boolean;\n /**\n * Array of objects with a number of supported types.\n *\n * ### icon-button\n *\n * * `id` (string) - The unique identifier of the button, used as detail in `onItemClick` handler and to focus the button using `ref.focus(id)`.\n * * `text` (string) - The name shown as a tooltip for this button.\n * * `disabled` (optional, boolean) - The disabled state indication for this button.\n * * `disabledReason` (optional, boolean) - Provides a reason why the button is disabled (only when `disabled` is `true`). If provided, the button becomes focusable.\n * * `loading` (optional, boolean) - The loading state indication for this button.\n * * `loadingText` (optional, string) - The loading text announced to screen readers.\n * * `iconName` (optional, string) - Specifies the name of the icon, used with the [icon component](/components/icon/).\n * * `iconAlt` (optional, string) - Specifies alternate text for the icon when using `iconUrl`.\n * * `iconUrl` (optional, string) - Specifies the URL of a custom icon.\n * * `iconSvg` (optional, ReactNode) - Custom SVG icon. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n * * `popoverFeedback` (optional, ReactNode) - Text that appears when the user clicks the button. Use to provide feedback to the user.\n *\n * ### icon-toggle-button\n *\n * * `id` (string) - The unique identifier of the button, used as detail in `onItemClick` handler and to focus the button using `ref.focus(id)`.\n * * `pressed` (boolean) - The toggle button pressed state.\n * * `text` (string) - The name shown as a tooltip for this button.\n * * `disabled` (optional, boolean) - The disabled state indication for this button.\n * * `disabledReason` (optional, boolean) - Provides a reason why the button is disabled (only when `disabled` is `true`). If provided, the button becomes focusable.\n * * `loading` (optional, boolean) - The loading state indication for this button.\n * * `loadingText` (optional, string) - The loading text announced to screen readers.\n * * `iconName` (optional, string) - Specifies the name of the icon, used with the [icon component](/components/icon/).\n * * `iconUrl` (optional, string) - Specifies the URL of a custom icon.\n * * `iconSvg` (optional, ReactNode) - Custom SVG icon. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n * * `pressedIconName` (optional, string) - Specifies the name of the icon in pressed state, used with the [icon component](/components/icon/).\n * * `pressedIconUrl` (optional, string) - Specifies the URL of a custom icon in pressed state.\n * * `pressedIconSvg` (optional, ReactNode) - Custom SVG icon in pressed state. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n * * `popoverFeedback` (optional, ReactNode) - Text that appears when the user clicks the button. Use to provide feedback to the user.\n * * `pressedPopoverFeedback` (optional, ReactNode) - Text that appears when the user clicks the button in pressed state. Defaults to `popoverFeedback`.\n *\n * * ### file-input\n *\n * * `id` (string) - The unique identifier of the button, used as detail in `onFilesChange`.\n * * `text` (string) - The name of the menu button shown as a tooltip.\n * * `accept` (optional, string) - Specifies the native file input `accept` attribute to describe the allow-list of file types.\n * * `multiple` (optional, string) - Specifies the native file input `multiple` attribute to allow users entering more than one file.\n *\n * ### menu-dropdown\n *\n * * `id` (string) - The unique identifier of the button, used as detail in `onItemClick`.\n * * `text` (string) - The name of the menu button shown as a tooltip.\n * * `disabled` (optional, boolean) - The disabled state indication for the menu button.\n * * `disabledReason` (optional, boolean) - Provides a reason why the button is disabled (only when `disabled` is `true`). If provided, the button becomes focusable.\n * * `loading` (optional, boolean) - The loading state indication for the menu button.\n * * `loadingText` (optional, string) - The loading text announced to screen readers.\n * * `items` (ButtonDropdownProps.ItemOrGroup[]) - The array of dropdown items that belong to this menu.\n *\n * ### group\n *\n * * `text` (string) - The name of the group rendered as ARIA label for this group.\n * * `items` ((ButtonGroupProps.IconButton | ButtonGroupProps.MenuDropdown)[]) - The array of items that belong to this group.\n */\n items: ReadonlyArray<ButtonGroupProps.ItemOrGroup>;\n /**\n * Called when the user clicks on an item, and the item is not disabled. The event detail object contains the id of the clicked item.\n */\n onItemClick?: NonCancelableEventHandler<ButtonGroupProps.ItemClickDetails>;\n /**\n * Called when the user uploads files. The event detail object contains the id and files from the file input item.\n */\n onFilesChange?: NonCancelableEventHandler<ButtonGroupProps.FilesChangeDetails>;\n}\n\nexport interface InternalButtonGroupProps\n extends SomeRequired<ButtonGroupProps, 'dropdownExpandToViewport'>,\n InternalBaseComponentProps {}\n\nexport namespace ButtonGroupProps {\n export type Variant = 'icon';\n\n export type ItemOrGroup = Item | Group;\n export type Item = IconButton | IconToggleButton | IconFileInput | MenuDropdown;\n\n export interface IconButton {\n type: 'icon-button';\n id: string;\n text: string;\n disabled?: boolean;\n disabledReason?: string;\n loading?: boolean;\n loadingText?: string;\n iconName?: IconProps.Name;\n iconAlt?: string;\n iconUrl?: string;\n iconSvg?: React.ReactNode;\n popoverFeedback?: React.ReactNode;\n }\n\n export interface IconToggleButton {\n type: 'icon-toggle-button';\n id: string;\n text: string;\n pressed: boolean;\n disabled?: boolean;\n disabledReason?: string;\n loading?: boolean;\n loadingText?: string;\n iconName?: IconProps.Name;\n iconUrl?: string;\n iconSvg?: React.ReactNode;\n pressedIconName?: IconProps.Name;\n pressedIconUrl?: string;\n pressedIconSvg?: React.ReactNode;\n popoverFeedback?: React.ReactNode;\n pressedPopoverFeedback?: React.ReactNode;\n }\n\n export interface IconFileInput {\n type: 'icon-file-input';\n id: string;\n text: string;\n accept?: string;\n multiple?: boolean;\n }\n\n export interface MenuDropdown {\n type: 'menu-dropdown';\n id: string;\n text: string;\n disabled?: boolean;\n disabledReason?: string;\n loading?: boolean;\n loadingText?: string;\n items: ReadonlyArray<ButtonDropdownProps.ItemOrGroup>;\n }\n\n export interface Group {\n type: 'group';\n text: string;\n items: ReadonlyArray<ButtonGroupProps.Item>;\n }\n\n export interface ItemClickDetails {\n id: string;\n pressed?: boolean;\n checked?: boolean;\n }\n\n export interface FilesChangeDetails {\n id: string;\n files: File[];\n }\n\n export interface Ref {\n /**\n * Focuses button group item by id.\n */\n focus(itemId: string): void;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"menu-dropdown-item.d.ts","sourceRoot":"","sources":["../../../src/button-group/menu-dropdown-item.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAGpE,OAAO,EAAE,sBAAsB,EAAuB,MAAM,oBAAoB,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhD,UAAU,qBAAqB;IAC7B,IAAI,EAAE,gBAAgB,CAAC,YAAY,CAAC;IACpC,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACxE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,gBAAgB,uGAkDrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"menu-dropdown-item.d.ts","sourceRoot":"","sources":["../../../src/button-group/menu-dropdown-item.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAGpE,OAAO,EAAE,sBAAsB,EAAuB,MAAM,oBAAoB,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhD,UAAU,qBAAqB;IAC7B,IAAI,EAAE,gBAAgB,CAAC,YAAY,CAAC;IACpC,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACxE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,gBAAgB,uGAmDrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -14,7 +14,7 @@ const MenuDropdownItem = React.forwardRef(({ item, showTooltip, onItemClick, onT
14
14
  };
15
15
  return (React.createElement(ButtonDropdown, { ref: ref, variant: "icon", items: item.items, onItemClick: onClickHandler, expandToViewport: expandToViewport, ariaLabel: item.text, className: testUtilStyles['button-group-item'], "data-testid": item.id, customTriggerBuilder: ({ onClick, isOpen, triggerRef, ariaLabel, ariaExpanded, testUtilsClass }) => (React.createElement("div", { ref: containerRef },
16
16
  !isOpen && showTooltip && !item.disabled && !item.loading && (React.createElement(Tooltip, { trackRef: containerRef, trackKey: item.id, value: item.text, className: clsx(testUtilStyles.tooltip, testUtilStyles['button-group-tooltip']), onDismiss: onTooltipDismiss })),
17
- React.createElement(InternalButton, { ref: triggerRef, variant: "icon", ariaLabel: ariaLabel, "data-itemid": item.id, ariaExpanded: ariaExpanded, className: clsx(testUtilStyles.item, testUtilsClass), iconName: "ellipsis", loading: item.loading, loadingText: item.loadingText, disabled: item.disabled, onClick: onClick, __title: "" }))) }));
17
+ React.createElement(InternalButton, { ref: triggerRef, variant: "icon", ariaLabel: ariaLabel, "data-itemid": item.id, ariaExpanded: ariaExpanded, className: clsx(testUtilStyles.item, testUtilsClass), iconName: "ellipsis", loading: item.loading, loadingText: item.loadingText, disabled: item.disabled, disabledReason: item.disabledReason, onClick: onClick, __title: "" }))) }));
18
18
  });
19
19
  export default MenuDropdownItem;
20
20
  //# sourceMappingURL=menu-dropdown-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu-dropdown-item.js","sourceRoot":"","sources":["../../../src/button-group/menu-dropdown-item.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAEhD,OAAO,cAAc,MAAM,6BAA6B,CAAC;AACzD,OAAO,OAAO,MAAM,gCAAgC,CAAC;AACrD,OAAO,EAA0B,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAGjF,OAAO,cAAc,MAAM,8BAA8B,CAAC;AAU1D,MAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CACvC,CACE,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAyB,EAC7F,GAAuC,EACvC,EAAE;IACF,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAiB,IAAI,CAAC,CAAC;IACxD,MAAM,cAAc,GAAG,CAAC,KAAwD,EA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E,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAC,EAAE,GACV,CACE,CACP,GACD,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,gBAAgB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport InternalButton from '../button/internal';\nimport { ButtonDropdownProps } from '../button-dropdown/interfaces';\nimport ButtonDropdown from '../button-dropdown/internal';\nimport Tooltip from '../internal/components/tooltip';\nimport { CancelableEventHandler, fireCancelableEvent } from '../internal/events';\nimport { ButtonGroupProps } from './interfaces';\n\nimport testUtilStyles from './test-classes/styles.css.js';\n\ninterface MenuDropdownItemProps {\n item: ButtonGroupProps.MenuDropdown;\n showTooltip: boolean;\n onTooltipDismiss: () => void;\n onItemClick?: CancelableEventHandler<ButtonGroupProps.ItemClickDetails>;\n expandToViewport?: boolean;\n}\n\nconst MenuDropdownItem = React.forwardRef(\n (\n { item, showTooltip, onItemClick, onTooltipDismiss, expandToViewport }: MenuDropdownItemProps,\n ref: React.Ref<ButtonDropdownProps.Ref>\n ) => {\n const containerRef = React.useRef<HTMLDivElement>(null);\n const onClickHandler = (event: CustomEvent<ButtonDropdownProps.ItemClickDetails>) => {\n fireCancelableEvent(onItemClick, { id: event.detail.id, checked: event.detail.checked }, event);\n };\n\n return (\n <ButtonDropdown\n ref={ref}\n variant=\"icon\"\n items={item.items}\n onItemClick={onClickHandler}\n expandToViewport={expandToViewport}\n ariaLabel={item.text}\n className={testUtilStyles['button-group-item']}\n data-testid={item.id}\n customTriggerBuilder={({ onClick, isOpen, triggerRef, ariaLabel, ariaExpanded, testUtilsClass }) => (\n <div ref={containerRef}>\n {!isOpen && showTooltip && !item.disabled && !item.loading && (\n <Tooltip\n trackRef={containerRef}\n trackKey={item.id}\n value={item.text}\n className={clsx(testUtilStyles.tooltip, testUtilStyles['button-group-tooltip'])}\n onDismiss={onTooltipDismiss}\n />\n )}\n <InternalButton\n ref={triggerRef}\n variant=\"icon\"\n ariaLabel={ariaLabel}\n data-itemid={item.id}\n ariaExpanded={ariaExpanded}\n className={clsx(testUtilStyles.item, testUtilsClass)}\n iconName=\"ellipsis\"\n loading={item.loading}\n loadingText={item.loadingText}\n disabled={item.disabled}\n onClick={onClick}\n __title=\"\"\n />\n </div>\n )}\n />\n );\n }\n);\n\nexport default MenuDropdownItem;\n"]}
1
+ {"version":3,"file":"menu-dropdown-item.js","sourceRoot":"","sources":["../../../src/button-group/menu-dropdown-item.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAEhD,OAAO,cAAc,MAAM,6BAA6B,CAAC;AACzD,OAAO,OAAO,MAAM,gCAAgC,CAAC;AACrD,OAAO,EAA0B,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAGjF,OAAO,cAAc,MAAM,8BAA8B,CAAC;AAU1D,MAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CACvC,CACE,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAyB,EAC7F,GAAuC,EACvC,EAAE;IACF,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAiB,IAAI,CAAC,CAAC;IACxD,MAAM,cAAc,GAAG,CAAC,KAAwD,EAAE,EAAE;QAClF,mBAAmB,CAAC,WAAW,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAAC;IAClG,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,cAAc,IACb,GAAG,EAA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":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport InternalButton from '../button/internal';\nimport { ButtonDropdownProps } from '../button-dropdown/interfaces';\nimport ButtonDropdown from '../button-dropdown/internal';\nimport Tooltip from '../internal/components/tooltip';\nimport { CancelableEventHandler, fireCancelableEvent } from '../internal/events';\nimport { ButtonGroupProps } from './interfaces';\n\nimport testUtilStyles from './test-classes/styles.css.js';\n\ninterface MenuDropdownItemProps {\n item: ButtonGroupProps.MenuDropdown;\n showTooltip: boolean;\n onTooltipDismiss: () => void;\n onItemClick?: CancelableEventHandler<ButtonGroupProps.ItemClickDetails>;\n expandToViewport?: boolean;\n}\n\nconst MenuDropdownItem = React.forwardRef(\n (\n { item, showTooltip, onItemClick, onTooltipDismiss, expandToViewport }: MenuDropdownItemProps,\n ref: React.Ref<ButtonDropdownProps.Ref>\n ) => {\n const containerRef = React.useRef<HTMLDivElement>(null);\n const onClickHandler = (event: CustomEvent<ButtonDropdownProps.ItemClickDetails>) => {\n fireCancelableEvent(onItemClick, { id: event.detail.id, checked: event.detail.checked }, event);\n };\n\n return (\n <ButtonDropdown\n ref={ref}\n variant=\"icon\"\n items={item.items}\n onItemClick={onClickHandler}\n expandToViewport={expandToViewport}\n ariaLabel={item.text}\n className={testUtilStyles['button-group-item']}\n data-testid={item.id}\n customTriggerBuilder={({ onClick, isOpen, triggerRef, ariaLabel, ariaExpanded, testUtilsClass }) => (\n <div ref={containerRef}>\n {!isOpen && showTooltip && !item.disabled && !item.loading && (\n <Tooltip\n trackRef={containerRef}\n trackKey={item.id}\n value={item.text}\n className={clsx(testUtilStyles.tooltip, testUtilStyles['button-group-tooltip'])}\n onDismiss={onTooltipDismiss}\n />\n )}\n <InternalButton\n ref={triggerRef}\n variant=\"icon\"\n ariaLabel={ariaLabel}\n data-itemid={item.id}\n ariaExpanded={ariaExpanded}\n className={clsx(testUtilStyles.item, testUtilsClass)}\n iconName=\"ellipsis\"\n loading={item.loading}\n loadingText={item.loadingText}\n disabled={item.disabled}\n disabledReason={item.disabledReason}\n onClick={onClick}\n __title=\"\"\n />\n </div>\n )}\n />\n );\n }\n);\n\nexport default MenuDropdownItem;\n"]}
@@ -248,6 +248,7 @@
248
248
  --color-background-slider-warning-pressed-bnqgti:#906806;
249
249
  --color-background-status-error-ljmwh5:#fdf3f1;
250
250
  --color-background-status-info-zgt1yi:#f1faff;
251
+ --color-background-dialog-738f4h:#f1faff;
251
252
  --color-background-status-success-igaq7v:#f2f8f0;
252
253
  --color-background-status-warning-bqz9of:#fffef0;
253
254
  --color-background-table-header-1ikpca:#fafafa;
@@ -268,6 +269,7 @@
268
269
  --color-border-button-normal-disabled-pr85vz:#d5dbdb;
269
270
  --color-text-button-normal-disabled-09fdau:#879596;
270
271
  --color-border-button-normal-hover-eyyshk:#16191f;
272
+ --color-text-button-icon-disabled-lqnh5i:#879596;
271
273
  --color-border-button-primary-disabled-yzfy0b:#d5dbdb;
272
274
  --color-text-button-primary-disabled-6emjo4:#879596;
273
275
  --color-border-calendar-grid-3f7bvh:#eaeded;
@@ -313,6 +315,7 @@
313
315
  --color-border-status-info-7kw04i:#0073bb;
314
316
  --color-border-status-success-acmcj0:#1d8102;
315
317
  --color-border-status-warning-wkps52:#906806;
318
+ --color-border-dialog-a8e3bh:#0073bb;
316
319
  --color-border-divider-interactive-default-f75ypy:#687078;
317
320
  --color-border-tabs-divider-x9swcr:#aab7b8;
318
321
  --color-border-tabs-shadow-eb3y7s:#eaeded;
@@ -510,8 +513,11 @@
510
513
  --border-link-focus-ring-outline-bptw2p:5px auto Highlight;
511
514
  --border-link-focus-ring-shadow-spread-yrkso1:0px;
512
515
  --border-width-alert-i75nxu:1px;
516
+ --border-width-button-2u0zo4:1px;
517
+ --border-width-dropdown-jbel12:1px;
513
518
  --border-width-field-9kmoac:1px;
514
519
  --border-width-popover-ymjvav:1px;
520
+ --border-width-token-k07qn1:1px;
515
521
  --motion-duration-extra-slow-f38nn3:270ms;
516
522
  --motion-duration-fast-ayppw9:90ms;
517
523
  --motion-duration-moderate-pycjrk:135ms;
@@ -889,6 +895,7 @@
889
895
  --color-background-slider-warning-pressed-bnqgti:#fbd332;
890
896
  --color-background-status-error-ljmwh5:#270a11;
891
897
  --color-background-status-info-zgt1yi:#12293b;
898
+ --color-background-dialog-738f4h:#12293b;
892
899
  --color-background-status-success-igaq7v:#172211;
893
900
  --color-background-status-warning-bqz9of:#191100;
894
901
  --color-background-table-header-1ikpca:#21252c;
@@ -935,6 +942,7 @@
935
942
  --color-border-segment-hover-2w1whe:#ffffff;
936
943
  --color-border-status-info-7kw04i:#00a1c9;
937
944
  --color-border-status-warning-wkps52:#fbd332;
945
+ --color-border-dialog-a8e3bh:#00a1c9;
938
946
  --color-border-tabs-divider-x9swcr:#414750;
939
947
  --color-border-tabs-shadow-eb3y7s:rgba(0, 0, 0, 0.3);
940
948
  --color-border-tabs-underline-3q3di9:#fafafa;
@@ -1203,6 +1211,7 @@
1203
1211
  --color-background-slider-warning-pressed-bnqgti:#fbd332;
1204
1212
  --color-background-status-error-ljmwh5:#270a11;
1205
1213
  --color-background-status-info-zgt1yi:#12293b;
1214
+ --color-background-dialog-738f4h:#12293b;
1206
1215
  --color-background-status-success-igaq7v:#172211;
1207
1216
  --color-background-status-warning-bqz9of:#191100;
1208
1217
  --color-background-table-header-1ikpca:#21252c;
@@ -1249,6 +1258,7 @@
1249
1258
  --color-border-segment-hover-2w1whe:#ffffff;
1250
1259
  --color-border-status-info-7kw04i:#00a1c9;
1251
1260
  --color-border-status-warning-wkps52:#fbd332;
1261
+ --color-border-dialog-a8e3bh:#00a1c9;
1252
1262
  --color-border-tabs-divider-x9swcr:#414750;
1253
1263
  --color-border-tabs-shadow-eb3y7s:rgba(0, 0, 0, 0.3);
1254
1264
  --color-border-tabs-underline-3q3di9:#fafafa;
@@ -1553,6 +1563,7 @@
1553
1563
  --color-background-slider-warning-pressed-bnqgti:#855900;
1554
1564
  --color-background-status-error-ljmwh5:#fff5f5;
1555
1565
  --color-background-status-info-zgt1yi:#f0fbff;
1566
+ --color-background-dialog-738f4h:#f0fbff;
1556
1567
  --color-background-status-success-igaq7v:#effff1;
1557
1568
  --color-background-table-header-1ikpca:#ffffff;
1558
1569
  --color-background-tiles-disabled-c21opp:#ebebf0;
@@ -1568,6 +1579,7 @@
1568
1579
  --color-border-button-normal-disabled-pr85vz:#b4b4bb;
1569
1580
  --color-text-button-normal-disabled-09fdau:#8c8c94;
1570
1581
  --color-border-button-normal-hover-eyyshk:#002b66;
1582
+ --color-text-button-icon-disabled-lqnh5i:#8c8c94;
1571
1583
  --color-border-button-primary-disabled-yzfy0b:#ebebf0;
1572
1584
  --color-text-button-primary-disabled-6emjo4:#8c8c94;
1573
1585
  --color-border-calendar-grid-3f7bvh:transparent;
@@ -1613,6 +1625,7 @@
1613
1625
  --color-border-status-info-7kw04i:#006ce0;
1614
1626
  --color-border-status-success-acmcj0:#00802f;
1615
1627
  --color-border-status-warning-wkps52:#855900;
1628
+ --color-border-dialog-a8e3bh:#006ce0;
1616
1629
  --color-border-divider-interactive-default-f75ypy:#8c8c94;
1617
1630
  --color-border-tabs-divider-x9swcr:#c6c6cd;
1618
1631
  --color-border-tabs-shadow-eb3y7s:rgba(15, 20, 26, 0.12);
@@ -1776,8 +1789,11 @@
1776
1789
  --border-link-focus-ring-outline-bptw2p:0;
1777
1790
  --border-link-focus-ring-shadow-spread-yrkso1:2px;
1778
1791
  --border-width-alert-i75nxu:2px;
1792
+ --border-width-button-2u0zo4:2px;
1793
+ --border-width-dropdown-jbel12:2px;
1779
1794
  --border-width-field-9kmoac:2px;
1780
1795
  --border-width-popover-ymjvav:2px;
1796
+ --border-width-token-k07qn1:2px;
1781
1797
  --motion-duration-refresh-only-fast-ww2eh4:115ms;
1782
1798
  --motion-duration-refresh-only-medium-kd6k1u:165ms;
1783
1799
  --motion-duration-refresh-only-slow-ov3t11:250ms;
@@ -1923,6 +1939,7 @@
1923
1939
  --color-background-slider-warning-pressed-bnqgti:#fbd332;
1924
1940
  --color-background-status-error-ljmwh5:#1f0000;
1925
1941
  --color-background-status-info-zgt1yi:#001129;
1942
+ --color-background-dialog-738f4h:#001129;
1926
1943
  --color-background-status-success-igaq7v:#001401;
1927
1944
  --color-background-table-header-1ikpca:#161d26;
1928
1945
  --color-background-tiles-disabled-c21opp:#1b232d;
@@ -1971,6 +1988,7 @@
1971
1988
  --color-border-status-info-7kw04i:#42b4ff;
1972
1989
  --color-border-status-success-acmcj0:#2bb534;
1973
1990
  --color-border-status-warning-wkps52:#fbd332;
1991
+ --color-border-dialog-a8e3bh:#42b4ff;
1974
1992
  --color-border-divider-interactive-default-f75ypy:#dedee3;
1975
1993
  --color-border-tabs-divider-x9swcr:#424650;
1976
1994
  --color-border-tabs-shadow-eb3y7s:rgba(15, 20, 26, 1);
@@ -2201,6 +2219,7 @@
2201
2219
  --color-background-slider-error-pressed-9g3bmc:#ff7a7a;
2202
2220
  --color-background-status-error-ljmwh5:#1f0000;
2203
2221
  --color-background-status-info-zgt1yi:#001129;
2222
+ --color-background-dialog-738f4h:#001129;
2204
2223
  --color-background-status-success-igaq7v:#001401;
2205
2224
  --color-background-table-header-1ikpca:#161d26;
2206
2225
  --color-background-tiles-disabled-c21opp:#1b232d;
@@ -2253,6 +2272,7 @@
2253
2272
  --color-border-status-error-5n723o:#ff7a7a;
2254
2273
  --color-border-status-info-7kw04i:#42b4ff;
2255
2274
  --color-border-status-success-acmcj0:#2bb534;
2275
+ --color-border-dialog-a8e3bh:#42b4ff;
2256
2276
  --color-border-divider-interactive-default-f75ypy:#dedee3;
2257
2277
  --color-border-tabs-divider-x9swcr:#424650;
2258
2278
  --color-border-tabs-shadow-eb3y7s:rgba(15, 20, 26, 1);
@@ -2409,6 +2429,7 @@
2409
2429
  --color-background-slider-warning-pressed-bnqgti:#fbd332;
2410
2430
  --color-background-status-error-ljmwh5:#1f0000;
2411
2431
  --color-background-status-info-zgt1yi:#001129;
2432
+ --color-background-dialog-738f4h:#001129;
2412
2433
  --color-background-status-success-igaq7v:#001401;
2413
2434
  --color-background-table-header-1ikpca:#161d26;
2414
2435
  --color-background-tiles-disabled-c21opp:#1b232d;
@@ -2457,6 +2478,7 @@
2457
2478
  --color-border-status-info-7kw04i:#42b4ff;
2458
2479
  --color-border-status-success-acmcj0:#2bb534;
2459
2480
  --color-border-status-warning-wkps52:#fbd332;
2481
+ --color-border-dialog-a8e3bh:#42b4ff;
2460
2482
  --color-border-divider-interactive-default-f75ypy:#dedee3;
2461
2483
  --color-border-tabs-divider-x9swcr:#424650;
2462
2484
  --color-border-tabs-shadow-eb3y7s:rgba(15, 20, 26, 1);
@@ -2614,6 +2636,7 @@
2614
2636
  --color-background-slider-warning-pressed-bnqgti:#fbd332;
2615
2637
  --color-background-status-error-ljmwh5:#1f0000;
2616
2638
  --color-background-status-info-zgt1yi:#001129;
2639
+ --color-background-dialog-738f4h:#001129;
2617
2640
  --color-background-status-success-igaq7v:#001401;
2618
2641
  --color-background-status-warning-bqz9of:#191100;
2619
2642
  --color-background-table-header-1ikpca:#0f141a;
@@ -2663,6 +2686,7 @@
2663
2686
  --color-border-status-info-7kw04i:#42b4ff;
2664
2687
  --color-border-status-success-acmcj0:#2bb534;
2665
2688
  --color-border-status-warning-wkps52:#fbd332;
2689
+ --color-border-dialog-a8e3bh:#42b4ff;
2666
2690
  --color-border-divider-interactive-default-f75ypy:#dedee3;
2667
2691
  --color-border-tabs-divider-x9swcr:#424650;
2668
2692
  --color-border-tabs-shadow-eb3y7s:rgba(15, 20, 26, 1);
@@ -2833,6 +2857,7 @@
2833
2857
  --color-background-slider-warning-pressed-bnqgti:#fbd332;
2834
2858
  --color-background-status-error-ljmwh5:#1f0000;
2835
2859
  --color-background-status-info-zgt1yi:#001129;
2860
+ --color-background-dialog-738f4h:#001129;
2836
2861
  --color-background-status-success-igaq7v:#001401;
2837
2862
  --color-background-status-warning-bqz9of:#191100;
2838
2863
  --color-background-table-header-1ikpca:#0f141a;
@@ -2882,6 +2907,7 @@
2882
2907
  --color-border-status-info-7kw04i:#42b4ff;
2883
2908
  --color-border-status-success-acmcj0:#2bb534;
2884
2909
  --color-border-status-warning-wkps52:#fbd332;
2910
+ --color-border-dialog-a8e3bh:#42b4ff;
2885
2911
  --color-border-divider-interactive-default-f75ypy:#dedee3;
2886
2912
  --color-border-tabs-divider-x9swcr:#424650;
2887
2913
  --color-border-tabs-shadow-eb3y7s:rgba(15, 20, 26, 1);
@@ -3256,6 +3282,7 @@
3256
3282
  --color-background-slider-warning-pressed-bnqgti:#fbd332;
3257
3283
  --color-background-status-error-ljmwh5:#1f0000;
3258
3284
  --color-background-status-info-zgt1yi:#001129;
3285
+ --color-background-dialog-738f4h:#001129;
3259
3286
  --color-background-status-success-igaq7v:#001401;
3260
3287
  --color-background-status-warning-bqz9of:#191100;
3261
3288
  --color-background-table-header-1ikpca:#161d26;
@@ -3305,6 +3332,7 @@
3305
3332
  --color-border-status-info-7kw04i:#42b4ff;
3306
3333
  --color-border-status-success-acmcj0:#2bb534;
3307
3334
  --color-border-status-warning-wkps52:#fbd332;
3335
+ --color-border-dialog-a8e3bh:#42b4ff;
3308
3336
  --color-border-divider-interactive-default-f75ypy:#dedee3;
3309
3337
  --color-border-tabs-divider-x9swcr:#424650;
3310
3338
  --color-border-tabs-shadow-eb3y7s:rgba(15, 20, 26, 1);
@@ -3463,6 +3491,7 @@
3463
3491
  --color-background-slider-warning-pressed-bnqgti:#fbd332;
3464
3492
  --color-background-status-error-ljmwh5:#1f0000;
3465
3493
  --color-background-status-info-zgt1yi:#001129;
3494
+ --color-background-dialog-738f4h:#001129;
3466
3495
  --color-background-status-success-igaq7v:#001401;
3467
3496
  --color-background-status-warning-bqz9of:#191100;
3468
3497
  --color-background-table-header-1ikpca:#161d26;
@@ -3512,6 +3541,7 @@
3512
3541
  --color-border-status-info-7kw04i:#42b4ff;
3513
3542
  --color-border-status-success-acmcj0:#2bb534;
3514
3543
  --color-border-status-warning-wkps52:#fbd332;
3544
+ --color-border-dialog-a8e3bh:#42b4ff;
3515
3545
  --color-border-divider-interactive-default-f75ypy:#dedee3;
3516
3546
  --color-border-tabs-divider-x9swcr:#424650;
3517
3547
  --color-border-tabs-shadow-eb3y7s:rgba(15, 20, 26, 1);
@@ -1,4 +1,4 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (80e41ae2)";
2
+ export var PACKAGE_VERSION = "3.0.0 (3d8e33fb)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (80e41ae2)",
3
+ "PACKAGE_VERSION": "3.0.0 (3d8e33fb)",
4
4
  "THEME": "default",
5
5
  "ALWAYS_VISUAL_REFRESH": false
6
6
  }
@@ -307,6 +307,7 @@ export const colorBackgroundSliderErrorPressed: string;
307
307
  export const colorBackgroundSliderWarningPressed: string;
308
308
  export const colorBackgroundStatusError: string;
309
309
  export const colorBackgroundStatusInfo: string;
310
+ export const colorBackgroundDialog: string;
310
311
  export const colorBackgroundStatusSuccess: string;
311
312
  export const colorBackgroundStatusWarning: string;
312
313
  export const colorBackgroundTableHeader: string;
@@ -327,6 +328,7 @@ export const colorBorderToggleButtonNormalPressed: string;
327
328
  export const colorBorderButtonNormalDisabled: string;
328
329
  export const colorTextButtonNormalDisabled: string;
329
330
  export const colorBorderButtonNormalHover: string;
331
+ export const colorTextButtonIconDisabled: string;
330
332
  export const colorBorderButtonPrimaryDisabled: string;
331
333
  export const colorTextButtonPrimaryDisabled: string;
332
334
  export const colorBorderCalendarGrid: string;
@@ -372,6 +374,7 @@ export const colorBorderStatusError: string;
372
374
  export const colorBorderStatusInfo: string;
373
375
  export const colorBorderStatusSuccess: string;
374
376
  export const colorBorderStatusWarning: string;
377
+ export const colorBorderDialog: string;
375
378
  export const colorBorderDividerInteractiveDefault: string;
376
379
  export const colorBorderTabsDivider: string;
377
380
  export const colorBorderTabsShadow: string;
@@ -576,8 +579,11 @@ export const borderTableStickyWidth: string;
576
579
  export const borderLinkFocusRingOutline: string;
577
580
  export const borderLinkFocusRingShadowSpread: string;
578
581
  export const borderWidthAlert: string;
582
+ export const borderWidthButton: string;
583
+ export const borderWidthDropdown: string;
579
584
  export const borderWidthField: string;
580
585
  export const borderWidthPopover: string;
586
+ export const borderWidthToken: string;
581
587
  export const motionDurationExtraFast: string;
582
588
  export const motionDurationExtraSlow: string;
583
589
  export const motionDurationFast: string;
@@ -307,6 +307,7 @@ export var colorBackgroundSliderErrorPressed = "var(--color-background-slider-er
307
307
  export var colorBackgroundSliderWarningPressed = "var(--color-background-slider-warning-pressed-pg5aih, #855900)";
308
308
  export var colorBackgroundStatusError = "var(--color-background-status-error-5fz45j, #fff5f5)";
309
309
  export var colorBackgroundStatusInfo = "var(--color-background-status-info-gflgo4, #f0fbff)";
310
+ export var colorBackgroundDialog = "var(--color-background-dialog-wtz1wl, #f0fbff)";
310
311
  export var colorBackgroundStatusSuccess = "var(--color-background-status-success-ua29ej, #effff1)";
311
312
  export var colorBackgroundStatusWarning = "var(--color-background-status-warning-03nxlw, #fffef0)";
312
313
  export var colorBackgroundTableHeader = "var(--color-background-table-header-inc72b, #ffffff)";
@@ -327,6 +328,7 @@ export var colorBorderToggleButtonNormalPressed = "var(--color-border-toggle-but
327
328
  export var colorBorderButtonNormalDisabled = "var(--color-border-button-normal-disabled-caqkhj, #b4b4bb)";
328
329
  export var colorTextButtonNormalDisabled = "var(--color-text-button-normal-disabled-0s30to, #8c8c94)";
329
330
  export var colorBorderButtonNormalHover = "var(--color-border-button-normal-hover-2d2g0m, #002b66)";
331
+ export var colorTextButtonIconDisabled = "var(--color-text-button-icon-disabled-sa33d0, #8c8c94)";
330
332
  export var colorBorderButtonPrimaryDisabled = "var(--color-border-button-primary-disabled-xtv38q, #ebebf0)";
331
333
  export var colorTextButtonPrimaryDisabled = "var(--color-text-button-primary-disabled-klolb5, #8c8c94)";
332
334
  export var colorBorderCalendarGrid = "var(--color-border-calendar-grid-u86q1u, transparent)";
@@ -372,6 +374,7 @@ export var colorBorderStatusError = "var(--color-border-status-error-adxa56, #db
372
374
  export var colorBorderStatusInfo = "var(--color-border-status-info-z6pwqy, #006ce0)";
373
375
  export var colorBorderStatusSuccess = "var(--color-border-status-success-4x6srk, #00802f)";
374
376
  export var colorBorderStatusWarning = "var(--color-border-status-warning-3feumr, #855900)";
377
+ export var colorBorderDialog = "var(--color-border-dialog-u915ow, #006ce0)";
375
378
  export var colorBorderDividerInteractiveDefault = "var(--color-border-divider-interactive-default-0c10au, #8c8c94)";
376
379
  export var colorBorderTabsDivider = "var(--color-border-tabs-divider-djfdfj, #c6c6cd)";
377
380
  export var colorBorderTabsShadow = "var(--color-border-tabs-shadow-enjrr2, rgba(15, 20, 26, 0.12))";
@@ -576,8 +579,11 @@ export var borderTableStickyWidth = "var(--border-table-sticky-width-87kf12, 1px
576
579
  export var borderLinkFocusRingOutline = "var(--border-link-focus-ring-outline-kkfop6, 0)";
577
580
  export var borderLinkFocusRingShadowSpread = "var(--border-link-focus-ring-shadow-spread-v8hkrl, 2px)";
578
581
  export var borderWidthAlert = "var(--border-width-alert-t0f3yn, 2px)";
582
+ export var borderWidthButton = "var(--border-width-button-ru6lbi, 2px)";
583
+ export var borderWidthDropdown = "var(--border-width-dropdown-hh98qt, 2px)";
579
584
  export var borderWidthField = "var(--border-width-field-h1g7tw, 2px)";
580
585
  export var borderWidthPopover = "var(--border-width-popover-h2a419, 2px)";
586
+ export var borderWidthToken = "var(--border-width-token-zo28pf, 2px)";
581
587
  export var motionDurationExtraFast = "var(--motion-duration-extra-fast-3huyux, 45ms)";
582
588
  export var motionDurationExtraSlow = "var(--motion-duration-extra-slow-ngjb9g, 270ms)";
583
589
  export var motionDurationFast = "var(--motion-duration-fast-sbm3r7, 90ms)";