@cloudscape-design/components-themeable 3.0.1404 → 3.0.1405
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/container/styles.scss +2 -1
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +179 -178
- package/lib/internal/scss/internal/styles/forms/mixins.scss +2 -2
- package/lib/internal/scss/internal/styles/style-api.scss +14 -0
- package/lib/internal/scss/prompt-input/styles.scss +84 -13
- package/lib/internal/scss/table/body-cell/styles.scss +25 -15
- package/lib/internal/scss/table/header-cell/styles.scss +23 -9
- package/lib/internal/scss/table/resizer/styles.scss +13 -8
- package/lib/internal/scss/table/style-api.scss +52 -0
- package/lib/internal/scss/table/styles.scss +83 -0
- package/lib/internal/scss/tabs/styles.scss +3 -1
- package/lib/internal/scss/tabs/tab-header-bar.scss +105 -19
- package/lib/internal/template/alert/styles.css.js +27 -27
- package/lib/internal/template/alert/styles.scoped.css +49 -49
- package/lib/internal/template/alert/styles.selectors.js +27 -27
- package/lib/internal/template/annotation-context/annotation/styles.css.js +13 -13
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +21 -21
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +13 -13
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh/mobile-toolbar.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/mobile-toolbar.js +1 -1
- package/lib/internal/template/app-layout/visual-refresh/mobile-toolbar.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +13 -13
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -68
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
- package/lib/internal/template/attribute-editor/styles.css.js +15 -15
- package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
- package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
- package/lib/internal/template/button/styles.css.js +24 -24
- package/lib/internal/template/button/styles.scoped.css +328 -328
- package/lib/internal/template/button/styles.selectors.js +24 -24
- package/lib/internal/template/button-dropdown/item-element/styles.css.js +21 -21
- package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +37 -37
- package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +21 -21
- package/lib/internal/template/cards/styles.css.js +39 -39
- package/lib/internal/template/cards/styles.scoped.css +41 -41
- package/lib/internal/template/cards/styles.selectors.js +39 -39
- package/lib/internal/template/checkbox/internal.d.ts +1 -1
- package/lib/internal/template/checkbox/internal.d.ts.map +1 -1
- package/lib/internal/template/checkbox/internal.js.map +1 -1
- package/lib/internal/template/checkbox/styles.css.js +3 -3
- package/lib/internal/template/checkbox/styles.scoped.css +10 -10
- package/lib/internal/template/checkbox/styles.selectors.js +3 -3
- package/lib/internal/template/container/styles.css.js +33 -33
- package/lib/internal/template/container/styles.scoped.css +106 -106
- package/lib/internal/template/container/styles.selectors.js +33 -33
- package/lib/internal/template/content-layout/interfaces.d.ts +4 -2
- package/lib/internal/template/content-layout/interfaces.d.ts.map +1 -1
- package/lib/internal/template/content-layout/interfaces.js.map +1 -1
- package/lib/internal/template/content-layout/styles.css.js +14 -14
- package/lib/internal/template/content-layout/styles.scoped.css +27 -27
- package/lib/internal/template/content-layout/styles.selectors.js +14 -14
- package/lib/internal/template/control-group/styles.css.js +27 -27
- package/lib/internal/template/control-group/styles.scoped.css +28 -28
- package/lib/internal/template/control-group/styles.selectors.js +27 -27
- package/lib/internal/template/dropdown/styles.css.js +20 -20
- package/lib/internal/template/dropdown/styles.scoped.css +45 -45
- package/lib/internal/template/dropdown/styles.selectors.js +20 -20
- package/lib/internal/template/file-token-group/styles.css.js +23 -23
- package/lib/internal/template/file-token-group/styles.scoped.css +36 -36
- package/lib/internal/template/file-token-group/styles.selectors.js +23 -23
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +182 -182
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/help-panel/styles.css.js +6 -6
- package/lib/internal/template/help-panel/styles.scoped.css +72 -72
- package/lib/internal/template/help-panel/styles.selectors.js +6 -6
- package/lib/internal/template/input/styles.css.js +45 -45
- package/lib/internal/template/input/styles.scoped.css +145 -145
- package/lib/internal/template/input/styles.selectors.js +45 -45
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +30 -30
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
- package/lib/internal/template/internal/components/option/styles.css.js +19 -19
- package/lib/internal/template/internal/components/option/styles.scoped.css +36 -36
- package/lib/internal/template/internal/components/option/styles.selectors.js +19 -19
- package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
- package/lib/internal/template/internal/components/radio-button/styles.scoped.css +17 -17
- package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/selectable-item/styles.css.js +23 -23
- package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +58 -58
- package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +23 -23
- package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +1 -0
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.js +178 -177
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- package/lib/internal/template/item-card/styles.css.js +14 -14
- package/lib/internal/template/item-card/styles.scoped.css +73 -73
- package/lib/internal/template/item-card/styles.selectors.js +14 -14
- package/lib/internal/template/link/styles.css.js +21 -21
- package/lib/internal/template/link/styles.scoped.css +104 -104
- package/lib/internal/template/link/styles.selectors.js +21 -21
- package/lib/internal/template/modal/styles.css.js +32 -32
- package/lib/internal/template/modal/styles.scoped.css +49 -49
- package/lib/internal/template/modal/styles.selectors.js +32 -32
- package/lib/internal/template/popover/styles.css.js +58 -58
- package/lib/internal/template/popover/styles.scoped.css +94 -94
- package/lib/internal/template/popover/styles.selectors.js +58 -58
- package/lib/internal/template/progress-bar/styles.css.js +20 -20
- package/lib/internal/template/progress-bar/styles.scoped.css +59 -59
- package/lib/internal/template/progress-bar/styles.selectors.js +20 -20
- package/lib/internal/template/prompt-input/components/token-mode.d.ts +4 -1
- package/lib/internal/template/prompt-input/components/token-mode.d.ts.map +1 -1
- package/lib/internal/template/prompt-input/components/token-mode.js +2 -2
- package/lib/internal/template/prompt-input/components/token-mode.js.map +1 -1
- package/lib/internal/template/prompt-input/internal.d.ts +8 -0
- package/lib/internal/template/prompt-input/internal.d.ts.map +1 -1
- package/lib/internal/template/prompt-input/internal.js +35 -26
- package/lib/internal/template/prompt-input/internal.js.map +1 -1
- package/lib/internal/template/prompt-input/styles.css.js +26 -26
- package/lib/internal/template/prompt-input/styles.scoped.css +136 -107
- package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
- package/lib/internal/template/prompt-input/tokens/use-token-mode.d.ts +4 -0
- package/lib/internal/template/prompt-input/tokens/use-token-mode.d.ts.map +1 -1
- package/lib/internal/template/prompt-input/tokens/use-token-mode.js +3 -3
- package/lib/internal/template/prompt-input/tokens/use-token-mode.js.map +1 -1
- package/lib/internal/template/property-filter/interfaces.d.ts +2 -0
- package/lib/internal/template/property-filter/interfaces.d.ts.map +1 -1
- package/lib/internal/template/property-filter/interfaces.js.map +1 -1
- package/lib/internal/template/property-filter/token-editor-inputs.d.ts.map +1 -1
- package/lib/internal/template/property-filter/token-editor-inputs.js +3 -3
- package/lib/internal/template/property-filter/token-editor-inputs.js.map +1 -1
- package/lib/internal/template/segmented-control/styles.css.js +31 -31
- package/lib/internal/template/segmented-control/styles.scoped.css +81 -81
- package/lib/internal/template/segmented-control/styles.selectors.js +31 -31
- package/lib/internal/template/select/parts/styles.css.js +22 -22
- package/lib/internal/template/select/parts/styles.scoped.css +25 -25
- package/lib/internal/template/select/parts/styles.selectors.js +22 -22
- package/lib/internal/template/side-navigation/styles.css.js +65 -65
- package/lib/internal/template/side-navigation/styles.scoped.css +114 -114
- package/lib/internal/template/side-navigation/styles.selectors.js +65 -65
- package/lib/internal/template/slider/styles.css.js +26 -26
- package/lib/internal/template/slider/styles.scoped.css +167 -167
- package/lib/internal/template/slider/styles.selectors.js +26 -26
- package/lib/internal/template/spinner/styles.css.js +14 -14
- package/lib/internal/template/spinner/styles.scoped.css +40 -40
- package/lib/internal/template/spinner/styles.selectors.js +14 -14
- package/lib/internal/template/styling/prompt-input.scss +76 -0
- package/lib/internal/template/styling/table.scss +102 -0
- package/lib/internal/template/styling/tabs.scss +128 -0
- package/lib/internal/template/table/body-cell/styles.css.js +47 -47
- package/lib/internal/template/table/body-cell/styles.scoped.css +426 -418
- package/lib/internal/template/table/body-cell/styles.selectors.js +47 -47
- package/lib/internal/template/table/body-cell/td-element.d.ts +1 -0
- package/lib/internal/template/table/body-cell/td-element.d.ts.map +1 -1
- package/lib/internal/template/table/body-cell/td-element.js +2 -2
- package/lib/internal/template/table/body-cell/td-element.js.map +1 -1
- package/lib/internal/template/table/clear-sort.d.ts +2 -1
- package/lib/internal/template/table/clear-sort.d.ts.map +1 -1
- package/lib/internal/template/table/clear-sort.js +2 -2
- package/lib/internal/template/table/clear-sort.js.map +1 -1
- package/lib/internal/template/table/header-cell/common-props.d.ts +2 -0
- package/lib/internal/template/table/header-cell/common-props.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/common-props.js.map +1 -1
- package/lib/internal/template/table/header-cell/group-header-cell.d.ts +1 -1
- package/lib/internal/template/table/header-cell/group-header-cell.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/group-header-cell.js +3 -2
- package/lib/internal/template/table/header-cell/group-header-cell.js.map +1 -1
- package/lib/internal/template/table/header-cell/index.d.ts +1 -1
- package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/index.js +12 -5
- package/lib/internal/template/table/header-cell/index.js.map +1 -1
- package/lib/internal/template/table/header-cell/sort-menu.d.ts +3 -1
- package/lib/internal/template/table/header-cell/sort-menu.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/sort-menu.js +2 -2
- package/lib/internal/template/table/header-cell/sort-menu.js.map +1 -1
- package/lib/internal/template/table/header-cell/styles.css.js +39 -39
- package/lib/internal/template/table/header-cell/styles.scoped.css +140 -125
- package/lib/internal/template/table/header-cell/styles.selectors.js +39 -39
- package/lib/internal/template/table/header-cell/th-element.d.ts +2 -1
- package/lib/internal/template/table/header-cell/th-element.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/th-element.js +2 -2
- package/lib/internal/template/table/header-cell/th-element.js.map +1 -1
- package/lib/internal/template/table/internal.d.ts.map +1 -1
- package/lib/internal/template/table/internal.js +20 -7
- package/lib/internal/template/table/internal.js.map +1 -1
- package/lib/internal/template/table/resizer/index.d.ts.map +1 -1
- package/lib/internal/template/table/resizer/index.js +1 -1
- package/lib/internal/template/table/resizer/index.js.map +1 -1
- package/lib/internal/template/table/resizer/styles.css.js +17 -17
- package/lib/internal/template/table/resizer/styles.scoped.css +39 -35
- package/lib/internal/template/table/resizer/styles.selectors.js +17 -17
- package/lib/internal/template/table/selection/selection-cell.d.ts +5 -2
- package/lib/internal/template/table/selection/selection-cell.d.ts.map +1 -1
- package/lib/internal/template/table/selection/selection-cell.js +6 -5
- package/lib/internal/template/table/selection/selection-cell.js.map +1 -1
- package/lib/internal/template/table/selection/selection-control.d.ts +3 -1
- package/lib/internal/template/table/selection/selection-control.d.ts.map +1 -1
- package/lib/internal/template/table/selection/selection-control.js +2 -2
- package/lib/internal/template/table/selection/selection-control.js.map +1 -1
- package/lib/internal/template/table/style-api.d.ts +42 -0
- package/lib/internal/template/table/style-api.d.ts.map +1 -0
- package/lib/internal/template/table/style-api.js +4 -0
- package/lib/internal/template/table/style-api.js.map +1 -0
- package/lib/internal/template/table/styles.css.js +37 -37
- package/lib/internal/template/table/styles.scoped.css +119 -46
- package/lib/internal/template/table/styles.selectors.js +37 -37
- package/lib/internal/template/table/thead.d.ts +2 -0
- package/lib/internal/template/table/thead.d.ts.map +1 -1
- package/lib/internal/template/table/thead.js +2 -1
- package/lib/internal/template/table/thead.js.map +1 -1
- package/lib/internal/template/tabs/index.d.ts.map +1 -1
- package/lib/internal/template/tabs/index.js +3 -2
- package/lib/internal/template/tabs/index.js.map +1 -1
- package/lib/internal/template/tabs/styles.css.js +30 -30
- package/lib/internal/template/tabs/styles.scoped.css +137 -81
- package/lib/internal/template/tabs/styles.selectors.js +30 -30
- package/lib/internal/template/tabs/tab-header-bar.d.ts +11 -1
- package/lib/internal/template/tabs/tab-header-bar.d.ts.map +1 -1
- package/lib/internal/template/tabs/tab-header-bar.js +14 -7
- package/lib/internal/template/tabs/tab-header-bar.js.map +1 -1
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
- package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
- package/lib/internal/template/text-content/styles.css.js +1 -1
- package/lib/internal/template/text-content/styles.scoped.css +66 -66
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/textarea/styles.css.js +9 -9
- package/lib/internal/template/textarea/styles.scoped.css +51 -51
- package/lib/internal/template/textarea/styles.selectors.js +9 -9
- package/lib/internal/template/toggle/styles.css.js +10 -10
- package/lib/internal/template/toggle/styles.scoped.css +25 -25
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/lib/internal/template/token/styles.css.js +14 -14
- package/lib/internal/template/token/styles.scoped.css +57 -57
- package/lib/internal/template/token/styles.selectors.js +14 -14
- package/package.json +1 -1
|
@@ -2,63 +2,63 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"arrow": "
|
|
6
|
-
"arrow-outer": "awsui_arrow-
|
|
7
|
-
"arrow-inner": "awsui_arrow-
|
|
8
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
10
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
12
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-top-right": "awsui_arrow-position-top-
|
|
14
|
-
"arrow-position-top-left": "awsui_arrow-position-top-
|
|
15
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
16
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
17
|
-
"arrow-position-bottom-right": "awsui_arrow-position-bottom-
|
|
18
|
-
"arrow-position-bottom-left": "awsui_arrow-position-bottom-
|
|
19
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
20
|
-
"arrow-variant-info": "awsui_arrow-variant-
|
|
21
|
-
"body": "
|
|
22
|
-
"body-overflow-visible": "awsui_body-overflow-
|
|
23
|
-
"body-variant-chart": "awsui_body-variant-
|
|
24
|
-
"has-dismiss": "awsui_has-
|
|
25
|
-
"dismiss": "
|
|
26
|
-
"dismiss-control": "awsui_dismiss-
|
|
27
|
-
"header-row": "awsui_header-
|
|
28
|
-
"header": "
|
|
29
|
-
"content": "
|
|
30
|
-
"content-overflow-visible": "awsui_content-overflow-
|
|
31
|
-
"container": "
|
|
32
|
-
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-
|
|
33
|
-
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-
|
|
34
|
-
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-
|
|
35
|
-
"container-arrow-position-top-left": "awsui_container-arrow-position-top-
|
|
36
|
-
"container-arrow-position-top-center": "awsui_container-arrow-position-top-
|
|
37
|
-
"container-arrow-position-top-right": "awsui_container-arrow-position-top-
|
|
38
|
-
"container-arrow-position-right-top": "awsui_container-arrow-position-right-
|
|
39
|
-
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-
|
|
40
|
-
"container-arrow-position-left-top": "awsui_container-arrow-position-left-
|
|
41
|
-
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-
|
|
42
|
-
"container-body": "awsui_container-
|
|
43
|
-
"container-body-variant-annotation": "awsui_container-body-variant-
|
|
44
|
-
"container-body-size-small": "awsui_container-body-size-
|
|
45
|
-
"fixed-width": "awsui_fixed-
|
|
46
|
-
"container-body-size-medium": "awsui_container-body-size-
|
|
47
|
-
"container-body-size-large": "awsui_container-body-size-
|
|
48
|
-
"container-arrow": "awsui_container-
|
|
49
|
-
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-
|
|
50
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
51
|
-
"refresh": "
|
|
52
|
-
"root": "
|
|
53
|
-
"no-wrap": "awsui_no-
|
|
54
|
-
"trigger-type-text-inline": "awsui_trigger-type-text-
|
|
55
|
-
"overflow-ellipsis": "awsui_overflow-
|
|
56
|
-
"trigger-type-text": "awsui_trigger-type-
|
|
57
|
-
"root-filtering-token": "awsui_root-filtering-
|
|
58
|
-
"trigger": "
|
|
59
|
-
"in-inline-token": "awsui_in-inline-
|
|
60
|
-
"trigger-type-filtering-token": "awsui_trigger-type-filtering-
|
|
61
|
-
"popover-inline-content": "awsui_popover-inline-
|
|
62
|
-
"hover-area": "awsui_hover-
|
|
5
|
+
"arrow": "awsui_arrow_xjuzf_1llul_13",
|
|
6
|
+
"arrow-outer": "awsui_arrow-outer_xjuzf_1llul_20",
|
|
7
|
+
"arrow-inner": "awsui_arrow-inner_xjuzf_1llul_20",
|
|
8
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_1llul_63",
|
|
9
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_1llul_63",
|
|
10
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_1llul_66",
|
|
11
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_1llul_66",
|
|
12
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_1llul_69",
|
|
13
|
+
"arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_1llul_69",
|
|
14
|
+
"arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_1llul_69",
|
|
15
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_1llul_69",
|
|
16
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_1llul_72",
|
|
17
|
+
"arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_1llul_72",
|
|
18
|
+
"arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_1llul_72",
|
|
19
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_1llul_72",
|
|
20
|
+
"arrow-variant-info": "awsui_arrow-variant-info_xjuzf_1llul_76",
|
|
21
|
+
"body": "awsui_body_xjuzf_1llul_87",
|
|
22
|
+
"body-overflow-visible": "awsui_body-overflow-visible_xjuzf_1llul_123",
|
|
23
|
+
"body-variant-chart": "awsui_body-variant-chart_xjuzf_1llul_126",
|
|
24
|
+
"has-dismiss": "awsui_has-dismiss_xjuzf_1llul_131",
|
|
25
|
+
"dismiss": "awsui_dismiss_xjuzf_1llul_136",
|
|
26
|
+
"dismiss-control": "awsui_dismiss-control_xjuzf_1llul_144",
|
|
27
|
+
"header-row": "awsui_header-row_xjuzf_1llul_148",
|
|
28
|
+
"header": "awsui_header_xjuzf_1llul_148",
|
|
29
|
+
"content": "awsui_content_xjuzf_1llul_177",
|
|
30
|
+
"content-overflow-visible": "awsui_content-overflow-visible_xjuzf_1llul_186",
|
|
31
|
+
"container": "awsui_container_xjuzf_1llul_194",
|
|
32
|
+
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_1llul_205",
|
|
33
|
+
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_1llul_205",
|
|
34
|
+
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_1llul_205",
|
|
35
|
+
"container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_1llul_210",
|
|
36
|
+
"container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_1llul_210",
|
|
37
|
+
"container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_1llul_210",
|
|
38
|
+
"container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_1llul_215",
|
|
39
|
+
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_1llul_215",
|
|
40
|
+
"container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_1llul_220",
|
|
41
|
+
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_1llul_220",
|
|
42
|
+
"container-body": "awsui_container-body_xjuzf_1llul_226",
|
|
43
|
+
"container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_1llul_266",
|
|
44
|
+
"container-body-size-small": "awsui_container-body-size-small_xjuzf_1llul_271",
|
|
45
|
+
"fixed-width": "awsui_fixed-width_xjuzf_1llul_274",
|
|
46
|
+
"container-body-size-medium": "awsui_container-body-size-medium_xjuzf_1llul_278",
|
|
47
|
+
"container-body-size-large": "awsui_container-body-size-large_xjuzf_1llul_285",
|
|
48
|
+
"container-arrow": "awsui_container-arrow_xjuzf_1llul_205",
|
|
49
|
+
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_1llul_335",
|
|
50
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_1llul_1",
|
|
51
|
+
"refresh": "awsui_refresh_xjuzf_1llul_389",
|
|
52
|
+
"root": "awsui_root_xjuzf_1llul_431",
|
|
53
|
+
"no-wrap": "awsui_no-wrap_xjuzf_1llul_463",
|
|
54
|
+
"trigger-type-text-inline": "awsui_trigger-type-text-inline_xjuzf_1llul_466",
|
|
55
|
+
"overflow-ellipsis": "awsui_overflow-ellipsis_xjuzf_1llul_466",
|
|
56
|
+
"trigger-type-text": "awsui_trigger-type-text_xjuzf_1llul_466",
|
|
57
|
+
"root-filtering-token": "awsui_root-filtering-token_xjuzf_1llul_488",
|
|
58
|
+
"trigger": "awsui_trigger_xjuzf_1llul_466",
|
|
59
|
+
"in-inline-token": "awsui_in-inline-token_xjuzf_1llul_530",
|
|
60
|
+
"trigger-type-filtering-token": "awsui_trigger-type-filtering-token_xjuzf_1llul_578",
|
|
61
|
+
"popover-inline-content": "awsui_popover-inline-content_xjuzf_1llul_582",
|
|
62
|
+
"hover-area": "awsui_hover-area_xjuzf_1llul_586"
|
|
63
63
|
};
|
|
64
64
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"progress": "
|
|
5
|
-
"result-state": "awsui_result-
|
|
6
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
7
|
-
"root": "
|
|
8
|
-
"with-result-button": "awsui_with-result-
|
|
9
|
-
"result-text": "awsui_result-
|
|
10
|
-
"result-container-error": "awsui_result-container-
|
|
11
|
-
"result-container-success": "awsui_result-container-
|
|
12
|
-
"result-button": "awsui_result-
|
|
13
|
-
"word-wrap": "awsui_word-
|
|
14
|
-
"label-flash": "awsui_label-
|
|
15
|
-
"label-key-value": "awsui_label-key-
|
|
16
|
-
"flash": "
|
|
17
|
-
"progress-container": "awsui_progress-
|
|
18
|
-
"percentage-container": "awsui_percentage-
|
|
19
|
-
"percentage": "
|
|
20
|
-
"percentage-flash": "awsui_percentage-
|
|
21
|
-
"complete": "
|
|
22
|
-
"progress-flash": "awsui_progress-
|
|
23
|
-
"additional-info": "awsui_additional-
|
|
4
|
+
"progress": "awsui_progress_11huc_c1vbq_13",
|
|
5
|
+
"result-state": "awsui_result-state_11huc_c1vbq_27",
|
|
6
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_c1vbq_1",
|
|
7
|
+
"root": "awsui_root_11huc_c1vbq_67",
|
|
8
|
+
"with-result-button": "awsui_with-result-button_11huc_c1vbq_103",
|
|
9
|
+
"result-text": "awsui_result-text_11huc_c1vbq_107",
|
|
10
|
+
"result-container-error": "awsui_result-container-error_11huc_c1vbq_111",
|
|
11
|
+
"result-container-success": "awsui_result-container-success_11huc_c1vbq_111",
|
|
12
|
+
"result-button": "awsui_result-button_11huc_c1vbq_115",
|
|
13
|
+
"word-wrap": "awsui_word-wrap_11huc_c1vbq_121",
|
|
14
|
+
"label-flash": "awsui_label-flash_11huc_c1vbq_126",
|
|
15
|
+
"label-key-value": "awsui_label-key-value_11huc_c1vbq_130",
|
|
16
|
+
"flash": "awsui_flash_11huc_c1vbq_138",
|
|
17
|
+
"progress-container": "awsui_progress-container_11huc_c1vbq_142",
|
|
18
|
+
"percentage-container": "awsui_percentage-container_11huc_c1vbq_149",
|
|
19
|
+
"percentage": "awsui_percentage_11huc_c1vbq_149",
|
|
20
|
+
"percentage-flash": "awsui_percentage-flash_11huc_c1vbq_170",
|
|
21
|
+
"complete": "awsui_complete_11huc_c1vbq_206",
|
|
22
|
+
"progress-flash": "awsui_progress-flash_11huc_c1vbq_219",
|
|
23
|
+
"additional-info": "awsui_additional-info_11huc_c1vbq_232"
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -10,27 +10,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
10
10
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
11
11
|
SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
*/
|
|
13
|
-
.
|
|
13
|
+
.awsui_progress_11huc_c1vbq_13:not(#\9)::-webkit-progress-value {
|
|
14
14
|
-webkit-transition: width var(--motion-duration-moderate-evtfj0, 135ms) linear;
|
|
15
15
|
transition: width var(--motion-duration-moderate-evtfj0, 135ms) linear;
|
|
16
16
|
}
|
|
17
17
|
@media (prefers-reduced-motion: reduce) {
|
|
18
|
-
.
|
|
18
|
+
.awsui_progress_11huc_c1vbq_13:not(#\9)::-webkit-progress-value {
|
|
19
19
|
animation: none;
|
|
20
20
|
-webkit-transition: none;
|
|
21
21
|
transition: none;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
.awsui-motion-disabled .
|
|
24
|
+
.awsui-motion-disabled .awsui_progress_11huc_c1vbq_13:not(#\9)::-webkit-progress-value, .awsui-mode-entering .awsui_progress_11huc_c1vbq_13:not(#\9)::-webkit-progress-value {
|
|
25
25
|
animation: none;
|
|
26
26
|
-webkit-transition: none;
|
|
27
27
|
transition: none;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.awsui_result-
|
|
31
|
-
animation: awsui_awsui-motion-fade-
|
|
30
|
+
.awsui_result-state_11huc_c1vbq_27:not(#\9) {
|
|
31
|
+
animation: awsui_awsui-motion-fade-in_11huc_c1vbq_1 var(--motion-duration-transition-show-paced-ljwltl, 180ms) var(--motion-easing-transition-show-paced-9j2ih7, ease-out);
|
|
32
32
|
}
|
|
33
|
-
@keyframes awsui_awsui-motion-fade-
|
|
33
|
+
@keyframes awsui_awsui-motion-fade-in_11huc_c1vbq_1 {
|
|
34
34
|
from {
|
|
35
35
|
opacity: 0.2;
|
|
36
36
|
}
|
|
@@ -39,12 +39,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
@media (prefers-reduced-motion: reduce) {
|
|
42
|
-
.awsui_result-
|
|
42
|
+
.awsui_result-state_11huc_c1vbq_27:not(#\9) {
|
|
43
43
|
animation: none;
|
|
44
44
|
transition: none;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
.awsui-motion-disabled .awsui_result-
|
|
47
|
+
.awsui-motion-disabled .awsui_result-state_11huc_c1vbq_27:not(#\9), .awsui-mode-entering .awsui_result-state_11huc_c1vbq_27:not(#\9) {
|
|
48
48
|
animation: none;
|
|
49
49
|
transition: none;
|
|
50
50
|
}
|
|
@@ -67,7 +67,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
67
67
|
}
|
|
68
68
|
/* awsui:style-api-slot name=root tokens=track-color, value-color, bar-block-size, bar-border-radius properties= */
|
|
69
69
|
/* awsui:style-api-slot name=percentage tokens= properties=color, font-family, font-size, font-weight */
|
|
70
|
-
.
|
|
70
|
+
.awsui_root_11huc_c1vbq_67:not(#\9) {
|
|
71
71
|
--awsui-internal-style-track-color: var(--awsui-style-track-color);
|
|
72
72
|
--awsui-internal-style-value-color: var(--awsui-style-value-color);
|
|
73
73
|
--awsui-internal-style-bar-block-size: var(--awsui-style-bar-block-size);
|
|
@@ -103,34 +103,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
103
103
|
-moz-osx-font-smoothing: auto;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.awsui_with-result-
|
|
106
|
+
.awsui_with-result-button_11huc_c1vbq_103:not(#\9) {
|
|
107
107
|
padding-inline-end: var(--space-m-n8iq8o, 16px);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.awsui_result-
|
|
110
|
+
.awsui_result-text_11huc_c1vbq_107:not(#\9) {
|
|
111
111
|
/* used in test-utils */
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.awsui_result-container-
|
|
114
|
+
.awsui_result-container-error_11huc_c1vbq_111:not(#\9), .awsui_result-container-success_11huc_c1vbq_111:not(#\9) {
|
|
115
115
|
/* used in test-utils */
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.awsui_result-
|
|
118
|
+
.awsui_result-button_11huc_c1vbq_115:not(#\9) {
|
|
119
119
|
display: inline-block;
|
|
120
120
|
margin-block: var(--space-scaled-xxs-j00t0m, 4px);
|
|
121
121
|
margin-inline: 0;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.awsui_word-
|
|
124
|
+
.awsui_word-wrap_11huc_c1vbq_121:not(#\9) {
|
|
125
125
|
min-inline-size: 0;
|
|
126
126
|
word-break: break-word;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.awsui_label-
|
|
129
|
+
.awsui_label-flash_11huc_c1vbq_126:not(#\9) {
|
|
130
130
|
color: inherit;
|
|
131
131
|
font-weight: var(--font-weight-bold-xpar9m, 700);
|
|
132
132
|
}
|
|
133
|
-
.awsui_label-key-
|
|
133
|
+
.awsui_label-key-value_11huc_c1vbq_130:not(#\9) {
|
|
134
134
|
font-size: var(--font-size-body-m-tq5a14, 14px);
|
|
135
135
|
line-height: var(--line-height-body-m-5xw6xo, 22px);
|
|
136
136
|
font-weight: var(--font-display-label-weight-tz6zkz, 400);
|
|
@@ -138,18 +138,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
138
138
|
margin-block-end: var(--space-scaled-xxxs-n0ri6o, 2px);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.
|
|
141
|
+
.awsui_flash_11huc_c1vbq_138:not(#\9) {
|
|
142
142
|
color: inherit;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.awsui_progress-
|
|
145
|
+
.awsui_progress-container_11huc_c1vbq_142:not(#\9) {
|
|
146
146
|
display: flex;
|
|
147
147
|
align-items: center;
|
|
148
148
|
max-inline-size: 800px;
|
|
149
149
|
block-size: var(--line-height-body-m-5xw6xo, 22px);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.awsui_percentage-
|
|
152
|
+
.awsui_percentage-container_11huc_c1vbq_149:not(#\9) {
|
|
153
153
|
inline-size: 33px;
|
|
154
154
|
flex-shrink: 0;
|
|
155
155
|
white-space: nowrap;
|
|
@@ -159,7 +159,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
159
159
|
letter-spacing: var(--letter-spacing-body-s-dzcybc, normal);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.
|
|
162
|
+
.awsui_percentage_11huc_c1vbq_149:not(#\9) {
|
|
163
163
|
display: inline-block;
|
|
164
164
|
font-family: var(--font-family-base-c9u5cr, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
165
165
|
-webkit-font-smoothing: auto;
|
|
@@ -170,68 +170,68 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
170
170
|
font-size: var(--font-size-body-s-89y7qg, 12px);
|
|
171
171
|
font-weight: var(--font-weight-normal-fr92v6, 400);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
.awsui_percentage_11huc_c1vbq_149.awsui_percentage-flash_11huc_c1vbq_170:not(#\9) {
|
|
174
174
|
color: currentColor;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
.
|
|
177
|
+
.awsui_progress_11huc_c1vbq_13:not(#\9) {
|
|
178
178
|
inline-size: 100%;
|
|
179
179
|
margin-inline-end: var(--space-s-kll7oj, 12px);
|
|
180
180
|
min-inline-size: 0;
|
|
181
|
-
block-size: var(--awsui-internal-style-bar-block-size, var(--awsui-progress-bar-height-
|
|
181
|
+
block-size: var(--awsui-internal-style-bar-block-size, var(--awsui-progress-bar-height-6xj2gg, 4px));
|
|
182
182
|
border-block: 0;
|
|
183
183
|
border-inline: none;
|
|
184
184
|
box-sizing: border-box;
|
|
185
|
-
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
186
|
-
border-start-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
187
|
-
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
188
|
-
border-end-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
189
|
-
background-color: var(--awsui-internal-style-track-color, var(--awsui-progress-bar-background-color-
|
|
190
|
-
}
|
|
191
|
-
.
|
|
192
|
-
block-size: var(--awsui-internal-style-bar-block-size, var(--awsui-progress-bar-height-
|
|
185
|
+
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
186
|
+
border-start-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
187
|
+
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
188
|
+
border-end-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
189
|
+
background-color: var(--awsui-internal-style-track-color, var(--awsui-progress-bar-background-color-6xj2gg, var(--color-background-progress-bar-default-34ibji, #eaeded)));
|
|
190
|
+
}
|
|
191
|
+
.awsui_progress_11huc_c1vbq_13:not(#\9)::-webkit-progress-bar {
|
|
192
|
+
block-size: var(--awsui-internal-style-bar-block-size, var(--awsui-progress-bar-height-6xj2gg, 4px));
|
|
193
193
|
border-block: 0;
|
|
194
194
|
border-inline: none;
|
|
195
195
|
box-sizing: border-box;
|
|
196
|
-
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
197
|
-
border-start-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
198
|
-
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
199
|
-
border-end-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
200
|
-
background-color: var(--awsui-internal-style-track-color, var(--awsui-progress-bar-background-color-
|
|
201
|
-
}
|
|
202
|
-
.
|
|
203
|
-
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
196
|
+
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
197
|
+
border-start-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
198
|
+
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
199
|
+
border-end-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
200
|
+
background-color: var(--awsui-internal-style-track-color, var(--awsui-progress-bar-background-color-6xj2gg, var(--color-background-progress-bar-default-34ibji, #eaeded)));
|
|
201
|
+
}
|
|
202
|
+
.awsui_progress_11huc_c1vbq_13:not(#\9)::-webkit-progress-value {
|
|
203
|
+
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
204
204
|
border-start-end-radius: 0;
|
|
205
|
-
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
205
|
+
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
206
206
|
border-end-end-radius: 0;
|
|
207
|
-
background-color: var(--awsui-internal-style-value-color, var(--awsui-progress-value-background-color-
|
|
207
|
+
background-color: var(--awsui-internal-style-value-color, var(--awsui-progress-value-background-color-6xj2gg, var(--color-background-progress-bar-value-default-ddtpb6, #0073bb)));
|
|
208
208
|
}
|
|
209
|
-
.
|
|
210
|
-
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
211
|
-
border-start-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
212
|
-
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
213
|
-
border-end-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
209
|
+
.awsui_progress_11huc_c1vbq_13.awsui_complete_11huc_c1vbq_206:not(#\9)::-webkit-progress-value {
|
|
210
|
+
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
211
|
+
border-start-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
212
|
+
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
213
|
+
border-end-end-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
214
214
|
}
|
|
215
|
-
.
|
|
216
|
-
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
215
|
+
.awsui_progress_11huc_c1vbq_13:not(#\9)::-moz-progress-bar {
|
|
216
|
+
border-start-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
217
217
|
border-start-end-radius: 0;
|
|
218
|
-
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-
|
|
218
|
+
border-end-start-radius: var(--awsui-internal-style-bar-border-radius, var(--awsui-progress-bar-border-radius-6xj2gg, 10px));
|
|
219
219
|
border-end-end-radius: 0;
|
|
220
|
-
background-color: var(--awsui-internal-style-value-color, var(--awsui-progress-value-background-color-
|
|
220
|
+
background-color: var(--awsui-internal-style-value-color, var(--awsui-progress-value-background-color-6xj2gg, var(--color-background-progress-bar-value-default-ddtpb6, #0073bb)));
|
|
221
221
|
}
|
|
222
|
-
.
|
|
223
|
-
background-color: var(--awsui-internal-style-track-color, var(--awsui-progress-bar-background-color-
|
|
222
|
+
.awsui_progress_11huc_c1vbq_13.awsui_progress-flash_11huc_c1vbq_219:not(#\9) {
|
|
223
|
+
background-color: var(--awsui-internal-style-track-color, var(--awsui-progress-bar-background-color-6xj2gg, var(--color-background-progress-bar-flash-npejc5, #eaeded)));
|
|
224
224
|
}
|
|
225
|
-
.
|
|
226
|
-
background-color: var(--awsui-internal-style-track-color, var(--awsui-progress-bar-background-color-
|
|
225
|
+
.awsui_progress_11huc_c1vbq_13.awsui_progress-flash_11huc_c1vbq_219:not(#\9)::-webkit-progress-bar {
|
|
226
|
+
background-color: var(--awsui-internal-style-track-color, var(--awsui-progress-bar-background-color-6xj2gg, var(--color-background-progress-bar-flash-npejc5, #eaeded)));
|
|
227
227
|
}
|
|
228
|
-
.
|
|
229
|
-
background-color: var(--awsui-internal-style-value-color, var(--awsui-progress-value-background-color-
|
|
228
|
+
.awsui_progress_11huc_c1vbq_13.awsui_progress-flash_11huc_c1vbq_219:not(#\9)::-webkit-progress-value {
|
|
229
|
+
background-color: var(--awsui-internal-style-value-color, var(--awsui-progress-value-background-color-6xj2gg, var(--color-background-progress-bar-value-flash-urwrbg, #0073bb)));
|
|
230
230
|
}
|
|
231
|
-
.
|
|
232
|
-
background-color: var(--awsui-internal-style-value-color, var(--awsui-progress-value-background-color-
|
|
231
|
+
.awsui_progress_11huc_c1vbq_13.awsui_progress-flash_11huc_c1vbq_219:not(#\9)::-moz-progress-bar {
|
|
232
|
+
background-color: var(--awsui-internal-style-value-color, var(--awsui-progress-value-background-color-6xj2gg, var(--color-background-progress-bar-value-flash-urwrbg, #0073bb)));
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
.awsui_additional-
|
|
235
|
+
.awsui_additional-info_11huc_c1vbq_232:not(#\9) {
|
|
236
236
|
/* used in test-utils */
|
|
237
237
|
}
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"progress": "
|
|
6
|
-
"result-state": "awsui_result-
|
|
7
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
8
|
-
"root": "
|
|
9
|
-
"with-result-button": "awsui_with-result-
|
|
10
|
-
"result-text": "awsui_result-
|
|
11
|
-
"result-container-error": "awsui_result-container-
|
|
12
|
-
"result-container-success": "awsui_result-container-
|
|
13
|
-
"result-button": "awsui_result-
|
|
14
|
-
"word-wrap": "awsui_word-
|
|
15
|
-
"label-flash": "awsui_label-
|
|
16
|
-
"label-key-value": "awsui_label-key-
|
|
17
|
-
"flash": "
|
|
18
|
-
"progress-container": "awsui_progress-
|
|
19
|
-
"percentage-container": "awsui_percentage-
|
|
20
|
-
"percentage": "
|
|
21
|
-
"percentage-flash": "awsui_percentage-
|
|
22
|
-
"complete": "
|
|
23
|
-
"progress-flash": "awsui_progress-
|
|
24
|
-
"additional-info": "awsui_additional-
|
|
5
|
+
"progress": "awsui_progress_11huc_c1vbq_13",
|
|
6
|
+
"result-state": "awsui_result-state_11huc_c1vbq_27",
|
|
7
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_c1vbq_1",
|
|
8
|
+
"root": "awsui_root_11huc_c1vbq_67",
|
|
9
|
+
"with-result-button": "awsui_with-result-button_11huc_c1vbq_103",
|
|
10
|
+
"result-text": "awsui_result-text_11huc_c1vbq_107",
|
|
11
|
+
"result-container-error": "awsui_result-container-error_11huc_c1vbq_111",
|
|
12
|
+
"result-container-success": "awsui_result-container-success_11huc_c1vbq_111",
|
|
13
|
+
"result-button": "awsui_result-button_11huc_c1vbq_115",
|
|
14
|
+
"word-wrap": "awsui_word-wrap_11huc_c1vbq_121",
|
|
15
|
+
"label-flash": "awsui_label-flash_11huc_c1vbq_126",
|
|
16
|
+
"label-key-value": "awsui_label-key-value_11huc_c1vbq_130",
|
|
17
|
+
"flash": "awsui_flash_11huc_c1vbq_138",
|
|
18
|
+
"progress-container": "awsui_progress-container_11huc_c1vbq_142",
|
|
19
|
+
"percentage-container": "awsui_percentage-container_11huc_c1vbq_149",
|
|
20
|
+
"percentage": "awsui_percentage_11huc_c1vbq_149",
|
|
21
|
+
"percentage-flash": "awsui_percentage-flash_11huc_c1vbq_170",
|
|
22
|
+
"complete": "awsui_complete_11huc_c1vbq_206",
|
|
23
|
+
"progress-flash": "awsui_progress-flash_11huc_c1vbq_219",
|
|
24
|
+
"additional-info": "awsui_additional-info_11huc_c1vbq_232"
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -36,7 +36,10 @@ interface TokenModeProps {
|
|
|
36
36
|
i18nStrings?: PromptInputProps['i18nStrings'];
|
|
37
37
|
maxMenuHeight?: number;
|
|
38
38
|
menuStyle?: PromptInputMenuStyle;
|
|
39
|
+
styleClassNames?: {
|
|
40
|
+
menu?: string;
|
|
41
|
+
};
|
|
39
42
|
}
|
|
40
|
-
export default function TokenMode({ editableElementRef, triggerWrapperRef, controlId, menuListId, menuFooterControlId, highlightedMenuOptionId, name, plainTextValue, menuIsOpen, triggerWrapperReady, shouldRenderMenuDropdown, activeMenu, activeTriggerToken, menuFilterText, menuItemsState, menuItemsHandlers, menuDropdownStatus, maxMenuHeight, menuStyle, handleInput, handleLoadMore, editableElementAttributes, }: TokenModeProps): JSX.Element;
|
|
43
|
+
export default function TokenMode({ editableElementRef, triggerWrapperRef, controlId, menuListId, menuFooterControlId, highlightedMenuOptionId, name, plainTextValue, menuIsOpen, triggerWrapperReady, shouldRenderMenuDropdown, activeMenu, activeTriggerToken, menuFilterText, menuItemsState, menuItemsHandlers, menuDropdownStatus, maxMenuHeight, menuStyle, styleClassNames, handleInput, handleLoadMore, editableElementAttributes, }: TokenModeProps): JSX.Element;
|
|
41
44
|
export {};
|
|
42
45
|
//# sourceMappingURL=token-mode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-mode.d.ts","sourceRoot":"","sources":["../../../../src/prompt-input/components/token-mode.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAO9D,uFAAuF;AACvF,UAAU,cAAc;IACtB,qCAAqC;IACrC,kBAAkB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACpD,qEAAqE;IACrE,iBAAiB,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAE9D,SA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AAoB,CAAC;IACjC,eAAe,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACrC;AAID,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,uBAAuB,EACvB,IAAI,EACJ,cAAc,EACd,UAAU,EACV,mBAAmB,EACnB,wBAAwB,EACxB,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,eAAe,EACf,WAAW,EACX,cAAc,EACd,yBAAyB,GAC1B,EAAE,cAAc,eAiHhB"}
|
|
@@ -9,7 +9,7 @@ import MenuDropdown from './menu-dropdown';
|
|
|
9
9
|
import styles from '../styles.css.js';
|
|
10
10
|
import testutilStyles from '../test-classes/styles.css.js';
|
|
11
11
|
const MENU_MIN_WIDTH = 300;
|
|
12
|
-
export default function TokenMode({ editableElementRef, triggerWrapperRef, controlId, menuListId, menuFooterControlId, highlightedMenuOptionId, name, plainTextValue, menuIsOpen, triggerWrapperReady, shouldRenderMenuDropdown, activeMenu, activeTriggerToken, menuFilterText, menuItemsState, menuItemsHandlers, menuDropdownStatus, maxMenuHeight, menuStyle, handleInput, handleLoadMore, editableElementAttributes, }) {
|
|
12
|
+
export default function TokenMode({ editableElementRef, triggerWrapperRef, controlId, menuListId, menuFooterControlId, highlightedMenuOptionId, name, plainTextValue, menuIsOpen, triggerWrapperReady, shouldRenderMenuDropdown, activeMenu, activeTriggerToken, menuFilterText, menuItemsState, menuItemsHandlers, menuDropdownStatus, maxMenuHeight, menuStyle, styleClassNames, handleInput, handleLoadMore, editableElementAttributes, }) {
|
|
13
13
|
var _a;
|
|
14
14
|
return (React.createElement(React.Fragment, null,
|
|
15
15
|
name && React.createElement("input", { type: "hidden", name: name, value: plainTextValue }),
|
|
@@ -21,7 +21,7 @@ export default function TokenMode({ editableElementRef, triggerWrapperRef, contr
|
|
|
21
21
|
// We suppress this because we intentionally manage the DOM directly via token-renderer
|
|
22
22
|
// to avoid React's reconciliation conflicting with browser-native editing behavior.
|
|
23
23
|
suppressContentEditableWarning: true, "aria-controls": menuIsOpen ? menuListId : undefined, "aria-owns": menuIsOpen ? menuListId : undefined, "aria-activedescendant": highlightedMenuOptionId, onInput: handleInput, ...editableElementAttributes, className: clsx(editableElementAttributes.className, testutilStyles['content-editable'], styles['editable-element']) }),
|
|
24
|
-
React.createElement(Dropdown, { minWidth: MENU_MIN_WIDTH, maxHeight: maxMenuHeight, expandToViewport: true, style: menuStyle
|
|
24
|
+
React.createElement(Dropdown, { minWidth: MENU_MIN_WIDTH, maxHeight: maxMenuHeight, expandToViewport: true, styleClassNames: { container: styleClassNames === null || styleClassNames === void 0 ? void 0 : styleClassNames.menu }, style: menuStyle
|
|
25
25
|
? {
|
|
26
26
|
// DropdownProps.Style names the fill `background`; PromptInput exposes it as `backgroundColor`.
|
|
27
27
|
dropdown: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-mode.js","sourceRoot":"","sources":["../../../../src/prompt-input/components/token-mode.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAC/C,OAAO,cAAc,MAAM,2CAA2C,CAAC;AAKvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAE3C,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,cAAc,MAAM,+BAA+B,CAAC;AA4C3D,MAAM,cAAc,GAAG,GAAG,CAAC;AAE3B,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,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AC,KAAK,GACnE,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,OAAO,EACL,0CACG,wBAAwB,IAAI,cAAc,IAAI,iBAAiB,IAAI,UAAU,IAAI,CAChF,oBAAC,YAAY,IACX,IAAI,EAAE,UAAU,EAChB,UAAU,EAAE,MAAA,UAAU,CAAC,UAAU,mCAAI,UAAU,EAC/C,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,iBAAiB,EACpC,2BAA2B,EAAE,wBAAwB,CAAC,SAAS,CAAC,EAChE,mBAAmB,EAAE,uBAAuB,EAC5C,aAAa,EAAE,cAAc,EAC7B,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,EAAE,EAC1B,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,OAAO,MAAK,IAAI,EACvD,UAAU,EACR,CAAC,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,QAAQ,CAAA,KAAI,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,OAAO,CAAA,CAAC,CAAC,CAAC,CAC7D,oBAAC,cAAc,IAAC,OAAO,EAAE,kBAAkB,CAAC,OAAO,EAAE,EAAE,EAAE,mBAAmB,GAAI,CACjF,CAAC,CAAC,CAAC,IAAI,EAEV,eAAe,EAAE,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,OAAO,EAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,GAC9E,CACH,CACA,GAEL,CACE,CACL,CACJ,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { DropdownProps } from '../../dropdown/interfaces';\nimport Dropdown from '../../dropdown/internal';\nimport DropdownFooter from '../../internal/components/dropdown-footer';\nimport { DropdownStatusResult } from '../../internal/components/dropdown-status';\nimport { MenuItemsHandlers, MenuItemsState } from '../core/menu-state';\nimport { PromptInputProps } from '../interfaces';\nimport { PromptInputMenuStyle } from '../internal-interfaces';\nimport { getMenuOptionsListStyles } from '../styles';\nimport MenuDropdown from './menu-dropdown';\n\nimport styles from '../styles.css.js';\nimport testutilStyles from '../test-classes/styles.css.js';\n\n/** Props for the token-mode contentEditable input and its associated menu dropdown. */\ninterface TokenModeProps {\n /** Ref to the contentEditable div */\n editableElementRef: React.RefObject<HTMLDivElement>;\n /** Ref to the active trigger element, used to anchor the dropdown */\n triggerWrapperRef: React.MutableRefObject<HTMLElement | null>;\n\n controlId?: string;\n menuListId: string;\n menuFooterControlId: string;\n highlightedMenuOptionId?: string;\n\n /** When set, renders a hidden input for native form submission */\n name?: string;\n /** Plain text representation of the current tokens */\n plainTextValue: string;\n menuIsOpen: boolean;\n /** True once the trigger element is mounted and ready for dropdown positioning */\n triggerWrapperReady: boolean;\n shouldRenderMenuDropdown: boolean;\n\n activeMenu: PromptInputProps.MenuDefinition | null;\n activeTriggerToken: PromptInputProps.TriggerToken | null;\n menuFilterText: string;\n menuItemsState: MenuItemsState | null;\n menuItemsHandlers: MenuItemsHandlers | null;\n menuDropdownStatus: DropdownStatusResult | null;\n\n handleInput: () => void;\n handleLoadMore: () => void;\n\n /** Spread onto the contentEditable div — includes aria attrs, className, and event handlers */\n editableElementAttributes: React.HTMLAttributes<HTMLDivElement> & {\n 'data-placeholder'?: string;\n };\n\n i18nStrings?: PromptInputProps['i18nStrings'];\n\n maxMenuHeight?: number;\n menuStyle?: PromptInputMenuStyle;\n}\n\nconst MENU_MIN_WIDTH = 300;\n\nexport default function TokenMode({\n editableElementRef,\n triggerWrapperRef,\n controlId,\n menuListId,\n menuFooterControlId,\n highlightedMenuOptionId,\n name,\n plainTextValue,\n menuIsOpen,\n triggerWrapperReady,\n shouldRenderMenuDropdown,\n activeMenu,\n activeTriggerToken,\n menuFilterText,\n menuItemsState,\n menuItemsHandlers,\n menuDropdownStatus,\n maxMenuHeight,\n menuStyle,\n handleInput,\n handleLoadMore,\n editableElementAttributes,\n}: TokenModeProps) {\n return (\n <>\n {/* Hidden input enables native form submission with the plain text value when a name is provided */}\n {name && <input type=\"hidden\" name={name} value={plainTextValue} />}\n <div className={styles['editable-wrapper']}>\n <div\n id={controlId}\n ref={editableElementRef}\n role=\"textbox\"\n aria-multiline=\"true\"\n aria-haspopup=\"listbox\"\n aria-expanded={menuIsOpen && shouldRenderMenuDropdown}\n contentEditable={\n !editableElementAttributes['aria-disabled'] && !editableElementAttributes['aria-readonly']\n ? 'true'\n : 'false'\n }\n // React warns when children of a contentEditable element are managed by React.\n // We suppress this because we intentionally manage the DOM directly via token-renderer\n // to avoid React's reconciliation conflicting with browser-native editing behavior.\n suppressContentEditableWarning={true}\n aria-controls={menuIsOpen ? menuListId : undefined}\n // aria-owns needed for Safari+VoiceOver to announce activedescendant content\n aria-owns={menuIsOpen ? menuListId : undefined}\n aria-activedescendant={highlightedMenuOptionId}\n onInput={handleInput}\n {...editableElementAttributes}\n className={clsx(\n editableElementAttributes.className,\n testutilStyles['content-editable'],\n styles['editable-element']\n )}\n />\n <Dropdown\n minWidth={MENU_MIN_WIDTH}\n maxHeight={maxMenuHeight}\n expandToViewport={true}\n style={\n menuStyle\n ? ({\n // DropdownProps.Style names the fill `background`; PromptInput exposes it as `backgroundColor`.\n dropdown: {\n background: menuStyle.backgroundColor,\n borderColor: menuStyle.borderColor,\n borderRadius: menuStyle.borderRadius,\n borderWidth: menuStyle.borderWidth,\n },\n } satisfies DropdownProps.Style)\n : undefined\n }\n open={\n !!(\n shouldRenderMenuDropdown &&\n triggerWrapperReady &&\n menuIsOpen &&\n menuItemsState &&\n (menuItemsState.items.length > 0 || menuDropdownStatus?.content)\n )\n }\n trigger={null}\n triggerRef={triggerWrapperRef}\n triggerId={activeTriggerToken?.id}\n contentKey={\n triggerWrapperReady\n ? `trigger-${activeTriggerToken?.id}-${activeTriggerToken?.triggerChar}-${menuItemsState ? menuItemsState.items.length > 0 : false}`\n : undefined\n }\n /* istanbul ignore next -- integ test: src/prompt-input/__integ__/prompt-input-token-mode.test.ts > \"clicking a menu option inserts reference and retains focus\" */\n onMouseDown={event => {\n // Prevent default to stop the dropdown from stealing focus from the contentEditable.\n // Without this, clicking a menu option would blur the input before the selection handler fires.\n event.preventDefault();\n }}\n footer={\n menuDropdownStatus?.isSticky && menuDropdownStatus.content ? (\n <DropdownFooter\n id={menuFooterControlId}\n content={menuDropdownStatus.content}\n hasItems={menuItemsState ? menuItemsState.items.length >= 1 : false}\n />\n ) : null\n }\n content={\n <>\n {shouldRenderMenuDropdown && menuItemsState && menuItemsHandlers && activeMenu && (\n <MenuDropdown\n menu={activeMenu}\n statusType={activeMenu.statusType ?? 'finished'}\n menuItemsState={menuItemsState}\n menuItemsHandlers={menuItemsHandlers}\n optionsListCustomProperties={getMenuOptionsListStyles(menuStyle)}\n highlightedOptionId={highlightedMenuOptionId}\n highlightText={menuFilterText}\n listId={menuListId}\n controlId={controlId ?? ''}\n handleLoadMore={handleLoadMore}\n hasDropdownStatus={menuDropdownStatus?.content !== null}\n listBottom={\n !menuDropdownStatus?.isSticky && menuDropdownStatus?.content ? (\n <DropdownFooter content={menuDropdownStatus.content} id={menuFooterControlId} />\n ) : null\n }\n ariaDescribedby={menuDropdownStatus?.content ? menuFooterControlId : undefined}\n />\n )}\n </>\n }\n />\n </div>\n </>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"token-mode.js","sourceRoot":"","sources":["../../../../src/prompt-input/components/token-mode.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAC/C,OAAO,cAAc,MAAM,2CAA2C,CAAC;AAKvE,OAAO,EAA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,CAAC,CAAC,CAAC,IAAI,EAEV,eAAe,EAAE,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,OAAO,EAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,GAC9E,CACH,CACA,GAEL,CACE,CACL,CACJ,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { DropdownProps } from '../../dropdown/interfaces';\nimport Dropdown from '../../dropdown/internal';\nimport DropdownFooter from '../../internal/components/dropdown-footer';\nimport { DropdownStatusResult } from '../../internal/components/dropdown-status';\nimport { MenuItemsHandlers, MenuItemsState } from '../core/menu-state';\nimport { PromptInputProps } from '../interfaces';\nimport { PromptInputMenuStyle } from '../internal-interfaces';\nimport { getMenuOptionsListStyles } from '../styles';\nimport MenuDropdown from './menu-dropdown';\n\nimport styles from '../styles.css.js';\nimport testutilStyles from '../test-classes/styles.css.js';\n\n/** Props for the token-mode contentEditable input and its associated menu dropdown. */\ninterface TokenModeProps {\n /** Ref to the contentEditable div */\n editableElementRef: React.RefObject<HTMLDivElement>;\n /** Ref to the active trigger element, used to anchor the dropdown */\n triggerWrapperRef: React.MutableRefObject<HTMLElement | null>;\n\n controlId?: string;\n menuListId: string;\n menuFooterControlId: string;\n highlightedMenuOptionId?: string;\n\n /** When set, renders a hidden input for native form submission */\n name?: string;\n /** Plain text representation of the current tokens */\n plainTextValue: string;\n menuIsOpen: boolean;\n /** True once the trigger element is mounted and ready for dropdown positioning */\n triggerWrapperReady: boolean;\n shouldRenderMenuDropdown: boolean;\n\n activeMenu: PromptInputProps.MenuDefinition | null;\n activeTriggerToken: PromptInputProps.TriggerToken | null;\n menuFilterText: string;\n menuItemsState: MenuItemsState | null;\n menuItemsHandlers: MenuItemsHandlers | null;\n menuDropdownStatus: DropdownStatusResult | null;\n\n handleInput: () => void;\n handleLoadMore: () => void;\n\n /** Spread onto the contentEditable div — includes aria attrs, className, and event handlers */\n editableElementAttributes: React.HTMLAttributes<HTMLDivElement> & {\n 'data-placeholder'?: string;\n };\n\n i18nStrings?: PromptInputProps['i18nStrings'];\n\n maxMenuHeight?: number;\n menuStyle?: PromptInputMenuStyle;\n styleClassNames?: { menu?: string };\n}\n\nconst MENU_MIN_WIDTH = 300;\n\nexport default function TokenMode({\n editableElementRef,\n triggerWrapperRef,\n controlId,\n menuListId,\n menuFooterControlId,\n highlightedMenuOptionId,\n name,\n plainTextValue,\n menuIsOpen,\n triggerWrapperReady,\n shouldRenderMenuDropdown,\n activeMenu,\n activeTriggerToken,\n menuFilterText,\n menuItemsState,\n menuItemsHandlers,\n menuDropdownStatus,\n maxMenuHeight,\n menuStyle,\n styleClassNames,\n handleInput,\n handleLoadMore,\n editableElementAttributes,\n}: TokenModeProps) {\n return (\n <>\n {/* Hidden input enables native form submission with the plain text value when a name is provided */}\n {name && <input type=\"hidden\" name={name} value={plainTextValue} />}\n <div className={styles['editable-wrapper']}>\n <div\n id={controlId}\n ref={editableElementRef}\n role=\"textbox\"\n aria-multiline=\"true\"\n aria-haspopup=\"listbox\"\n aria-expanded={menuIsOpen && shouldRenderMenuDropdown}\n contentEditable={\n !editableElementAttributes['aria-disabled'] && !editableElementAttributes['aria-readonly']\n ? 'true'\n : 'false'\n }\n // React warns when children of a contentEditable element are managed by React.\n // We suppress this because we intentionally manage the DOM directly via token-renderer\n // to avoid React's reconciliation conflicting with browser-native editing behavior.\n suppressContentEditableWarning={true}\n aria-controls={menuIsOpen ? menuListId : undefined}\n // aria-owns needed for Safari+VoiceOver to announce activedescendant content\n aria-owns={menuIsOpen ? menuListId : undefined}\n aria-activedescendant={highlightedMenuOptionId}\n onInput={handleInput}\n {...editableElementAttributes}\n className={clsx(\n editableElementAttributes.className,\n testutilStyles['content-editable'],\n styles['editable-element']\n )}\n />\n <Dropdown\n minWidth={MENU_MIN_WIDTH}\n maxHeight={maxMenuHeight}\n expandToViewport={true}\n styleClassNames={{ container: styleClassNames?.menu }}\n style={\n menuStyle\n ? ({\n // DropdownProps.Style names the fill `background`; PromptInput exposes it as `backgroundColor`.\n dropdown: {\n background: menuStyle.backgroundColor,\n borderColor: menuStyle.borderColor,\n borderRadius: menuStyle.borderRadius,\n borderWidth: menuStyle.borderWidth,\n },\n } satisfies DropdownProps.Style)\n : undefined\n }\n open={\n !!(\n shouldRenderMenuDropdown &&\n triggerWrapperReady &&\n menuIsOpen &&\n menuItemsState &&\n (menuItemsState.items.length > 0 || menuDropdownStatus?.content)\n )\n }\n trigger={null}\n triggerRef={triggerWrapperRef}\n triggerId={activeTriggerToken?.id}\n contentKey={\n triggerWrapperReady\n ? `trigger-${activeTriggerToken?.id}-${activeTriggerToken?.triggerChar}-${menuItemsState ? menuItemsState.items.length > 0 : false}`\n : undefined\n }\n /* istanbul ignore next -- integ test: src/prompt-input/__integ__/prompt-input-token-mode.test.ts > \"clicking a menu option inserts reference and retains focus\" */\n onMouseDown={event => {\n // Prevent default to stop the dropdown from stealing focus from the contentEditable.\n // Without this, clicking a menu option would blur the input before the selection handler fires.\n event.preventDefault();\n }}\n footer={\n menuDropdownStatus?.isSticky && menuDropdownStatus.content ? (\n <DropdownFooter\n id={menuFooterControlId}\n content={menuDropdownStatus.content}\n hasItems={menuItemsState ? menuItemsState.items.length >= 1 : false}\n />\n ) : null\n }\n content={\n <>\n {shouldRenderMenuDropdown && menuItemsState && menuItemsHandlers && activeMenu && (\n <MenuDropdown\n menu={activeMenu}\n statusType={activeMenu.statusType ?? 'finished'}\n menuItemsState={menuItemsState}\n menuItemsHandlers={menuItemsHandlers}\n optionsListCustomProperties={getMenuOptionsListStyles(menuStyle)}\n highlightedOptionId={highlightedMenuOptionId}\n highlightText={menuFilterText}\n listId={menuListId}\n controlId={controlId ?? ''}\n handleLoadMore={handleLoadMore}\n hasDropdownStatus={menuDropdownStatus?.content !== null}\n listBottom={\n !menuDropdownStatus?.isSticky && menuDropdownStatus?.content ? (\n <DropdownFooter content={menuDropdownStatus.content} id={menuFooterControlId} />\n ) : null\n }\n ariaDescribedby={menuDropdownStatus?.content ? menuFooterControlId : undefined}\n />\n )}\n </>\n }\n />\n </div>\n </>\n );\n}\n"]}
|
|
@@ -2,7 +2,15 @@ import React from 'react';
|
|
|
2
2
|
import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
|
|
3
3
|
import { SomeRequired } from '../internal/types';
|
|
4
4
|
import { PromptInputProps } from './interfaces';
|
|
5
|
+
export interface StyleClassNames {
|
|
6
|
+
root?: string;
|
|
7
|
+
textarea?: string;
|
|
8
|
+
actionButton?: string;
|
|
9
|
+
token?: string;
|
|
10
|
+
menu?: string;
|
|
11
|
+
}
|
|
5
12
|
interface InternalPromptInputProps extends SomeRequired<PromptInputProps, 'maxRows' | 'minRows'>, InternalBaseComponentProps {
|
|
13
|
+
styleClassNames?: StyleClassNames;
|
|
6
14
|
}
|
|
7
15
|
declare const InternalPromptInput: React.ForwardRefExoticComponent<InternalPromptInputProps & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement | PromptInputProps.Ref>>;
|
|
8
16
|
export default InternalPromptInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/prompt-input/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/prompt-input/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAgB3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AASjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAUhD,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,wBACR,SAAQ,YAAY,CAAC,gBAAgB,EAAE,SAAS,GAAG,SAAS,CAAC,EAC3D,0BAA0B;IAC5B,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAED,QAAA,MAAM,mBAAmB,gJA6dxB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|