@cloudscape-design/components 3.0.939 → 3.0.941
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.
- package/app-layout/drawer/overflow-menu.d.ts.map +1 -1
- package/app-layout/drawer/overflow-menu.js +5 -4
- package/app-layout/drawer/overflow-menu.js.map +1 -1
- package/button/interfaces.d.ts +1 -1
- package/button/interfaces.js.map +1 -1
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +1 -1
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +22 -22
- package/button/styles.scoped.css +70 -70
- package/button/styles.selectors.js +22 -22
- package/button-group/icon-button-item.d.ts.map +1 -1
- package/button-group/icon-button-item.js +1 -1
- package/button-group/icon-button-item.js.map +1 -1
- package/button-group/icon-toggle-button-item.d.ts.map +1 -1
- package/button-group/icon-toggle-button-item.js +1 -1
- package/button-group/icon-toggle-button-item.js.map +1 -1
- package/button-group/interfaces.d.ts +6 -0
- package/button-group/interfaces.d.ts.map +1 -1
- package/button-group/interfaces.js.map +1 -1
- package/button-group/menu-dropdown-item.d.ts.map +1 -1
- package/button-group/menu-dropdown-item.js +1 -1
- package/button-group/menu-dropdown-item.js.map +1 -1
- package/internal/base-component/styles.scoped.css +14 -0
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.d.ts +6 -0
- package/internal/generated/styles/tokens.js +6 -0
- package/internal/generated/theming/index.cjs +115 -1
- package/internal/generated/theming/index.cjs.d.ts +48 -0
- package/internal/generated/theming/index.d.ts +48 -0
- package/internal/generated/theming/index.js +115 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/prompt-input/interfaces.d.ts +1 -0
- package/prompt-input/interfaces.d.ts.map +1 -1
- package/prompt-input/interfaces.js.map +1 -1
- package/prompt-input/internal.d.ts.map +1 -1
- package/prompt-input/internal.js +11 -3
- package/prompt-input/internal.js.map +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,sCAAsC,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB;IAC1D;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,EAAE,gBAAgB,CA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C5B,IAAI,EAAE,iBAAiB,CAAC;QACxB,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB;IAED,UAAiB,YAAY;QAC3B,IAAI,EAAE,eAAe,CAAC;QACtB,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,EAAE,aAAa,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;KACvD;IAED,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;KAC7C;IAED,UAAiB,gBAAgB;QAC/B,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB;IAED,UAAiB,kBAAkB;QACjC,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,IAAI,EAAE,CAAC;KACf;IAED,UAAiB,GAAG;QAClB;;WAEG;QACH,KAAK,CAAC,MAAM,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,
|
|
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,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,EAAE,GAAG,EACR,OAAO,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ifier: 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,EAAE,GAAG,EACR,OAAO,EAAC,MAAM,EACd,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,WAAW,EAAE,cAAc,EAC3B,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,IAAI,CAAC,IAAI,EACpB,SAAS,EAAE,cAAc,CAAC,mBAAmB,CAAC,iBACjC,IAAI,CAAC,EAAE,EACpB,oBAAoB,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAClG,6BAAK,GAAG,EAAE,YAAY;YACnB,CAAC,MAAM,IAAI,WAAW,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAC5D,oBAAC,OAAO,IACN,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,IAAI,CAAC,EAAE,EACjB,KAAK,EAAE,IAAI,CAAC,IAAI,EAChB,SAAS,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,sBAAsB,CAAC,CAAC,EAC/E,SAAS,EAAE,gBAAgB,GAC3B,CACH;YACD,oBAAC,cAAc,IACb,GAAG,EAAE,UAAU,EACf,OAAO,EAAC,MAAM,EACd,SAAS,EAAE,SAAS,iBACP,IAAI,CAAC,EAAE,EACpB,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,CAAC,EACpD,QAAQ,EAAC,UAAU,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,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 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-pg5aih:#855900;
|
|
249
249
|
--color-background-status-error-5fz45j:#fff5f5;
|
|
250
250
|
--color-background-status-info-gflgo4:#f0fbff;
|
|
251
|
+
--color-background-dialog-wtz1wl:#f0fbff;
|
|
251
252
|
--color-background-status-success-ua29ej:#effff1;
|
|
252
253
|
--color-background-status-warning-03nxlw:#fffef0;
|
|
253
254
|
--color-background-table-header-inc72b:#ffffff;
|
|
@@ -268,6 +269,7 @@
|
|
|
268
269
|
--color-border-button-normal-disabled-caqkhj:#b4b4bb;
|
|
269
270
|
--color-text-button-normal-disabled-0s30to:#8c8c94;
|
|
270
271
|
--color-border-button-normal-hover-2d2g0m:#002b66;
|
|
272
|
+
--color-text-button-icon-disabled-sa33d0:#8c8c94;
|
|
271
273
|
--color-border-button-primary-disabled-xtv38q:#ebebf0;
|
|
272
274
|
--color-text-button-primary-disabled-klolb5:#8c8c94;
|
|
273
275
|
--color-border-calendar-grid-u86q1u:transparent;
|
|
@@ -313,6 +315,7 @@
|
|
|
313
315
|
--color-border-status-info-z6pwqy:#006ce0;
|
|
314
316
|
--color-border-status-success-4x6srk:#00802f;
|
|
315
317
|
--color-border-status-warning-3feumr:#855900;
|
|
318
|
+
--color-border-dialog-u915ow:#006ce0;
|
|
316
319
|
--color-border-divider-interactive-default-0c10au:#8c8c94;
|
|
317
320
|
--color-border-tabs-divider-djfdfj:#c6c6cd;
|
|
318
321
|
--color-border-tabs-shadow-enjrr2:rgba(15, 20, 26, 0.12);
|
|
@@ -510,8 +513,11 @@
|
|
|
510
513
|
--border-link-focus-ring-outline-kkfop6:0;
|
|
511
514
|
--border-link-focus-ring-shadow-spread-v8hkrl:2px;
|
|
512
515
|
--border-width-alert-t0f3yn:2px;
|
|
516
|
+
--border-width-button-ru6lbi:2px;
|
|
517
|
+
--border-width-dropdown-hh98qt:2px;
|
|
513
518
|
--border-width-field-h1g7tw:2px;
|
|
514
519
|
--border-width-popover-h2a419:2px;
|
|
520
|
+
--border-width-token-zo28pf:2px;
|
|
515
521
|
--motion-duration-extra-slow-ngjb9g:270ms;
|
|
516
522
|
--motion-duration-fast-sbm3r7:90ms;
|
|
517
523
|
--motion-duration-moderate-5k1phv:135ms;
|
|
@@ -886,6 +892,7 @@
|
|
|
886
892
|
--color-background-slider-warning-pressed-pg5aih:#fbd332;
|
|
887
893
|
--color-background-status-error-5fz45j:#1f0000;
|
|
888
894
|
--color-background-status-info-gflgo4:#001129;
|
|
895
|
+
--color-background-dialog-wtz1wl:#001129;
|
|
889
896
|
--color-background-status-success-ua29ej:#001401;
|
|
890
897
|
--color-background-status-warning-03nxlw:#191100;
|
|
891
898
|
--color-background-table-header-inc72b:#161d26;
|
|
@@ -935,6 +942,7 @@
|
|
|
935
942
|
--color-border-status-info-z6pwqy:#42b4ff;
|
|
936
943
|
--color-border-status-success-4x6srk:#2bb534;
|
|
937
944
|
--color-border-status-warning-3feumr:#fbd332;
|
|
945
|
+
--color-border-dialog-u915ow:#42b4ff;
|
|
938
946
|
--color-border-divider-interactive-default-0c10au:#dedee3;
|
|
939
947
|
--color-border-tabs-divider-djfdfj:#424650;
|
|
940
948
|
--color-border-tabs-shadow-enjrr2:rgba(15, 20, 26, 1);
|
|
@@ -1198,6 +1206,7 @@
|
|
|
1198
1206
|
--color-background-slider-warning-pressed-pg5aih:#fbd332;
|
|
1199
1207
|
--color-background-status-error-5fz45j:#1f0000;
|
|
1200
1208
|
--color-background-status-info-gflgo4:#001129;
|
|
1209
|
+
--color-background-dialog-wtz1wl:#001129;
|
|
1201
1210
|
--color-background-status-success-ua29ej:#001401;
|
|
1202
1211
|
--color-background-status-warning-03nxlw:#191100;
|
|
1203
1212
|
--color-background-table-header-inc72b:#161d26;
|
|
@@ -1247,6 +1256,7 @@
|
|
|
1247
1256
|
--color-border-status-info-z6pwqy:#42b4ff;
|
|
1248
1257
|
--color-border-status-success-4x6srk:#2bb534;
|
|
1249
1258
|
--color-border-status-warning-3feumr:#fbd332;
|
|
1259
|
+
--color-border-dialog-u915ow:#42b4ff;
|
|
1250
1260
|
--color-border-divider-interactive-default-0c10au:#dedee3;
|
|
1251
1261
|
--color-border-tabs-divider-djfdfj:#424650;
|
|
1252
1262
|
--color-border-tabs-shadow-enjrr2:rgba(15, 20, 26, 1);
|
|
@@ -1405,6 +1415,7 @@
|
|
|
1405
1415
|
--color-background-slider-warning-pressed-pg5aih:#fbd332;
|
|
1406
1416
|
--color-background-status-error-5fz45j:#1f0000;
|
|
1407
1417
|
--color-background-status-info-gflgo4:#001129;
|
|
1418
|
+
--color-background-dialog-wtz1wl:#001129;
|
|
1408
1419
|
--color-background-status-success-ua29ej:#001401;
|
|
1409
1420
|
--color-background-status-warning-03nxlw:#191100;
|
|
1410
1421
|
--color-background-table-header-inc72b:#0f141a;
|
|
@@ -1454,6 +1465,7 @@
|
|
|
1454
1465
|
--color-border-status-info-z6pwqy:#42b4ff;
|
|
1455
1466
|
--color-border-status-success-4x6srk:#2bb534;
|
|
1456
1467
|
--color-border-status-warning-3feumr:#fbd332;
|
|
1468
|
+
--color-border-dialog-u915ow:#42b4ff;
|
|
1457
1469
|
--color-border-divider-interactive-default-0c10au:#dedee3;
|
|
1458
1470
|
--color-border-tabs-divider-djfdfj:#424650;
|
|
1459
1471
|
--color-border-tabs-shadow-enjrr2:rgba(15, 20, 26, 1);
|
|
@@ -1717,6 +1729,7 @@
|
|
|
1717
1729
|
--color-background-slider-warning-pressed-pg5aih:#fbd332;
|
|
1718
1730
|
--color-background-status-error-5fz45j:#1f0000;
|
|
1719
1731
|
--color-background-status-info-gflgo4:#001129;
|
|
1732
|
+
--color-background-dialog-wtz1wl:#001129;
|
|
1720
1733
|
--color-background-status-success-ua29ej:#001401;
|
|
1721
1734
|
--color-background-status-warning-03nxlw:#191100;
|
|
1722
1735
|
--color-background-table-header-inc72b:#161d26;
|
|
@@ -1766,6 +1779,7 @@
|
|
|
1766
1779
|
--color-border-status-info-z6pwqy:#42b4ff;
|
|
1767
1780
|
--color-border-status-success-4x6srk:#2bb534;
|
|
1768
1781
|
--color-border-status-warning-3feumr:#fbd332;
|
|
1782
|
+
--color-border-dialog-u915ow:#42b4ff;
|
|
1769
1783
|
--color-border-divider-interactive-default-0c10au:#dedee3;
|
|
1770
1784
|
--color-border-tabs-divider-djfdfj:#424650;
|
|
1771
1785
|
--color-border-tabs-shadow-enjrr2:rgba(15, 20, 26, 1);
|
package/internal/environment.js
CHANGED
|
@@ -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)";
|