@cloudscape-design/components-themeable 3.0.1360 → 3.0.1362
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/alert/styles.scss +13 -12
- package/lib/internal/scss/badge/styles.scss +38 -49
- package/lib/internal/scss/button/styles.scss +51 -51
- package/lib/internal/scss/cards/styles.scss +4 -0
- package/lib/internal/scss/container/styles.scss +2 -0
- package/lib/internal/scss/icon/hover-motion.scss +24 -12
- package/lib/internal/scss/input/styles.scss +4 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +175 -174
- package/lib/internal/scss/internal/styles/forms/mixins.scss +11 -2
- package/lib/internal/scss/internal/styles/style-api.scss +60 -10
- package/lib/internal/scss/pagination/styles.scss +3 -1
- package/lib/internal/scss/table/styles.scss +5 -0
- package/lib/internal/template/action-card/internal.d.ts.map +1 -1
- package/lib/internal/template/action-card/internal.js +5 -2
- package/lib/internal/template/action-card/internal.js.map +1 -1
- package/lib/internal/template/alert/styles.css.js +27 -27
- package/lib/internal/template/alert/styles.scoped.css +50 -50
- 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/toggles/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/toggles/index.js +1 -1
- package/lib/internal/template/app-layout/toggles/index.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/trigger-button.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/trigger-button.js +1 -1
- package/lib/internal/template/app-layout/visual-refresh/trigger-button.js.map +1 -1
- 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/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js.map +1 -1
- 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/all-items-dropdown.js +2 -2
- package/lib/internal/template/breadcrumb-group/all-items-dropdown.js.map +1 -1
- 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/internal.d.ts.map +1 -1
- package/lib/internal/template/button/internal.js +2 -0
- package/lib/internal/template/button/internal.js.map +1 -1
- package/lib/internal/template/button/styles.css.js +23 -23
- package/lib/internal/template/button/styles.scoped.css +261 -261
- package/lib/internal/template/button/styles.selectors.js +23 -23
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js +2 -2
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/lib/internal/template/button-dropdown/filter.d.ts +1 -1
- package/lib/internal/template/button-dropdown/filter.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/internal.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/internal.js +9 -3
- package/lib/internal/template/button-dropdown/internal.js.map +1 -1
- package/lib/internal/template/button-dropdown/item-element/index.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/item-element/index.js +2 -2
- package/lib/internal/template/button-dropdown/item-element/index.js.map +1 -1
- 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/button-dropdown/utils/use-button-dropdown.d.ts +5 -3
- package/lib/internal/template/button-dropdown/utils/use-button-dropdown.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/utils/use-button-dropdown.js +14 -2
- package/lib/internal/template/button-dropdown/utils/use-button-dropdown.js.map +1 -1
- package/lib/internal/template/cards/styles.css.js +39 -38
- package/lib/internal/template/cards/styles.scoped.css +42 -39
- package/lib/internal/template/cards/styles.selectors.js +39 -38
- package/lib/internal/template/checkbox/styles.css.js +3 -3
- package/lib/internal/template/checkbox/styles.scoped.css +11 -11
- package/lib/internal/template/checkbox/styles.selectors.js +3 -3
- package/lib/internal/template/code-editor/tab-button.d.ts.map +1 -1
- package/lib/internal/template/code-editor/tab-button.js +1 -1
- package/lib/internal/template/code-editor/tab-button.js.map +1 -1
- package/lib/internal/template/container/styles.css.js +33 -33
- package/lib/internal/template/container/styles.scoped.css +57 -56
- package/lib/internal/template/container/styles.selectors.js +33 -33
- 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/dropdown/styles.css.js +20 -20
- package/lib/internal/template/dropdown/styles.scoped.css +49 -49
- package/lib/internal/template/dropdown/styles.selectors.js +20 -20
- package/lib/internal/template/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js +13 -7
- package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
- 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/collapsible-flashbar.d.ts.map +1 -1
- package/lib/internal/template/flashbar/collapsible-flashbar.js +3 -3
- package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +192 -192
- 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/index.d.ts.map +1 -1
- package/lib/internal/template/input/index.js +3 -2
- package/lib/internal/template/input/index.js.map +1 -1
- package/lib/internal/template/input/interfaces.d.ts +6 -0
- package/lib/internal/template/input/interfaces.d.ts.map +1 -1
- package/lib/internal/template/input/interfaces.js.map +1 -1
- package/lib/internal/template/input/internal.d.ts +0 -1
- package/lib/internal/template/input/internal.d.ts.map +1 -1
- package/lib/internal/template/input/internal.js +26 -12
- package/lib/internal/template/input/internal.js.map +1 -1
- package/lib/internal/template/input/styles.css.js +29 -28
- package/lib/internal/template/input/styles.scoped.css +134 -131
- package/lib/internal/template/input/styles.selectors.js +29 -28
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/button-trigger/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/button-trigger/index.js +2 -2
- package/lib/internal/template/internal/components/button-trigger/index.js.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/button.d.ts.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/button.js +3 -1
- package/lib/internal/template/internal/components/drag-handle/button.js.map +1 -1
- package/lib/internal/template/internal/components/drag-handle-wrapper/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/drag-handle-wrapper/index.js +2 -1
- package/lib/internal/template/internal/components/drag-handle-wrapper/index.js.map +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/expand-toggle-button/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/expand-toggle-button/index.js +1 -1
- package/lib/internal/template/internal/components/expand-toggle-button/index.js.map +1 -1
- package/lib/internal/template/internal/components/menu-dropdown/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/menu-dropdown/index.js +1 -1
- package/lib/internal/template/internal/components/menu-dropdown/index.js.map +1 -1
- package/lib/internal/template/internal/components/option/styles.css.js +17 -17
- package/lib/internal/template/internal/components/option/styles.scoped.css +31 -31
- package/lib/internal/template/internal/components/option/styles.selectors.js +17 -17
- package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
- package/lib/internal/template/internal/components/radio-button/styles.scoped.css +18 -18
- package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/selectable-item/styles.css.js +22 -22
- package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +57 -57
- package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +22 -22
- 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/components/token-list/token-limit-toggle.d.ts.map +1 -1
- package/lib/internal/template/internal/components/token-list/token-limit-toggle.js +2 -2
- package/lib/internal/template/internal/components/token-list/token-limit-toggle.js.map +1 -1
- 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 +174 -173
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- package/lib/internal/template/internal/generated/styles/tokens.js +200 -200
- package/lib/internal/template/internal/generated/theming/index.cjs +200 -200
- package/lib/internal/template/internal/generated/theming/index.js +200 -200
- package/lib/internal/template/internal/utils/focus-visible.d.ts +15 -0
- package/lib/internal/template/internal/utils/focus-visible.d.ts.map +1 -0
- package/lib/internal/template/internal/utils/focus-visible.js +21 -0
- package/lib/internal/template/internal/utils/focus-visible.js.map +1 -0
- package/lib/internal/template/item-card/styles.css.js +14 -14
- package/lib/internal/template/item-card/styles.scoped.css +63 -63
- package/lib/internal/template/item-card/styles.selectors.js +14 -14
- package/lib/internal/template/link/internal.d.ts.map +1 -1
- package/lib/internal/template/link/internal.js +2 -0
- package/lib/internal/template/link/internal.js.map +1 -1
- 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 +31 -31
- package/lib/internal/template/modal/styles.scoped.css +48 -48
- package/lib/internal/template/modal/styles.selectors.js +31 -31
- package/lib/internal/template/pagination/internal.d.ts.map +1 -1
- package/lib/internal/template/pagination/internal.js +4 -4
- package/lib/internal/template/pagination/internal.js.map +1 -1
- package/lib/internal/template/pagination/styles.css.js +12 -12
- package/lib/internal/template/pagination/styles.scoped.css +31 -31
- package/lib/internal/template/pagination/styles.selectors.js +12 -12
- package/lib/internal/template/progress-bar/styles.css.js +19 -19
- package/lib/internal/template/progress-bar/styles.scoped.css +58 -58
- package/lib/internal/template/progress-bar/styles.selectors.js +19 -19
- package/lib/internal/template/prompt-input/styles.css.js +26 -26
- package/lib/internal/template/prompt-input/styles.scoped.css +105 -105
- package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
- package/lib/internal/template/property-filter/filtering-token/index.js +4 -4
- package/lib/internal/template/property-filter/filtering-token/index.js.map +1 -1
- package/lib/internal/template/segmented-control/segment.d.ts.map +1 -1
- package/lib/internal/template/segmented-control/segment.js +1 -1
- package/lib/internal/template/segmented-control/segment.js.map +1 -1
- package/lib/internal/template/segmented-control/styles.css.js +16 -16
- package/lib/internal/template/segmented-control/styles.scoped.css +46 -46
- package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
- package/lib/internal/template/select/parts/filter.d.ts +1 -1
- package/lib/internal/template/select/parts/filter.d.ts.map +1 -1
- package/lib/internal/template/select/parts/styles.css.js +21 -21
- package/lib/internal/template/select/parts/styles.scoped.css +24 -24
- package/lib/internal/template/select/parts/styles.selectors.js +21 -21
- package/lib/internal/template/side-navigation/parts.js +3 -3
- package/lib/internal/template/side-navigation/parts.js.map +1 -1
- package/lib/internal/template/side-navigation/styles.css.js +64 -64
- package/lib/internal/template/side-navigation/styles.scoped.css +111 -111
- package/lib/internal/template/side-navigation/styles.selectors.js +64 -64
- package/lib/internal/template/slider/styles.css.js +26 -26
- package/lib/internal/template/slider/styles.scoped.css +165 -165
- 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/table/header-cell/index.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/index.js +2 -1
- package/lib/internal/template/table/header-cell/index.js.map +1 -1
- package/lib/internal/template/table/styles.css.js +37 -37
- package/lib/internal/template/table/styles.scoped.css +47 -44
- package/lib/internal/template/table/styles.selectors.js +37 -37
- package/lib/internal/template/tabs/styles.css.js +30 -30
- package/lib/internal/template/tabs/styles.scoped.css +76 -76
- package/lib/internal/template/tabs/styles.selectors.js +30 -30
- package/lib/internal/template/tabs/tab-header-bar.d.ts.map +1 -1
- package/lib/internal/template/tabs/tab-header-bar.js +1 -1
- 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/test-utils/dom/input/index.d.ts +1 -0
- package/lib/internal/template/test-utils/dom/input/index.js +3 -0
- package/lib/internal/template/test-utils/dom/input/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/input/index.d.ts +1 -0
- package/lib/internal/template/test-utils/selectors/input/index.js +3 -0
- package/lib/internal/template/test-utils/selectors/input/index.js.map +1 -1
- 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 +23 -23
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/lib/internal/template/token/dismiss-button.js +2 -2
- package/lib/internal/template/token/dismiss-button.js.map +1 -1
- package/lib/internal/template/token/styles.css.js +14 -14
- package/lib/internal/template/token/styles.scoped.css +46 -46
- package/lib/internal/template/token/styles.selectors.js +14 -14
- package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
- package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js +5 -5
- package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,55 +2,55 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"flash-with-motion": "awsui_flash-with-
|
|
6
|
-
"enter": "
|
|
7
|
-
"flash-body": "awsui_flash-
|
|
8
|
-
"flash-message": "awsui_flash-
|
|
9
|
-
"flash-header": "awsui_flash-
|
|
10
|
-
"flash-content": "awsui_flash-
|
|
11
|
-
"action-button-wrapper": "awsui_action-button-
|
|
12
|
-
"dismiss-button-wrapper": "awsui_dismiss-button-
|
|
13
|
-
"flash-icon": "awsui_flash-
|
|
14
|
-
"entering": "
|
|
15
|
-
"entered": "
|
|
16
|
-
"exiting": "
|
|
17
|
-
"stack": "
|
|
18
|
-
"animation-running": "awsui_animation-
|
|
19
|
-
"item": "
|
|
20
|
-
"flash-list-item": "awsui_flash-list-
|
|
21
|
-
"notification-bar": "awsui_notification-
|
|
22
|
-
"collapsed": "
|
|
23
|
-
"animation-ready": "awsui_animation-
|
|
24
|
-
"expanded-only": "awsui_expanded-
|
|
25
|
-
"expanded": "
|
|
26
|
-
"flash": "
|
|
27
|
-
"collapsible": "
|
|
28
|
-
"short-list": "awsui_short-
|
|
29
|
-
"visual-refresh": "awsui_visual-
|
|
30
|
-
"status": "
|
|
31
|
-
"header": "
|
|
32
|
-
"item-count": "awsui_item-
|
|
33
|
-
"button": "
|
|
34
|
-
"type-count": "awsui_type-
|
|
35
|
-
"count-number": "awsui_count-
|
|
36
|
-
"icon": "
|
|
37
|
-
"floating": "
|
|
38
|
-
"flashbar": "
|
|
39
|
-
"initial-hidden": "awsui_initial-
|
|
40
|
-
"flash-list": "awsui_flash-
|
|
41
|
-
"flash-focus-container": "awsui_flash-focus-
|
|
42
|
-
"flash-text": "awsui_flash-
|
|
43
|
-
"hidden": "
|
|
44
|
-
"header-replacement": "awsui_header-
|
|
45
|
-
"content-replacement": "awsui_content-
|
|
46
|
-
"dismiss-button": "awsui_dismiss-
|
|
47
|
-
"action-wrapped": "awsui_action-
|
|
48
|
-
"action-button": "awsui_action-
|
|
49
|
-
"action-slot": "awsui_action-
|
|
50
|
-
"flash-type-success": "awsui_flash-type-
|
|
51
|
-
"flash-type-error": "awsui_flash-type-
|
|
52
|
-
"flash-type-info": "awsui_flash-type-
|
|
53
|
-
"flash-type-in-progress": "awsui_flash-type-in-
|
|
54
|
-
"flash-type-warning": "awsui_flash-type-
|
|
5
|
+
"flash-with-motion": "awsui_flash-with-motion_1q84n_1h5wf_13",
|
|
6
|
+
"enter": "awsui_enter_1q84n_1h5wf_13",
|
|
7
|
+
"flash-body": "awsui_flash-body_1q84n_1h5wf_27",
|
|
8
|
+
"flash-message": "awsui_flash-message_1q84n_1h5wf_27",
|
|
9
|
+
"flash-header": "awsui_flash-header_1q84n_1h5wf_27",
|
|
10
|
+
"flash-content": "awsui_flash-content_1q84n_1h5wf_28",
|
|
11
|
+
"action-button-wrapper": "awsui_action-button-wrapper_1q84n_1h5wf_29",
|
|
12
|
+
"dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_1h5wf_30",
|
|
13
|
+
"flash-icon": "awsui_flash-icon_1q84n_1h5wf_53",
|
|
14
|
+
"entering": "awsui_entering_1q84n_1h5wf_66",
|
|
15
|
+
"entered": "awsui_entered_1q84n_1h5wf_87",
|
|
16
|
+
"exiting": "awsui_exiting_1q84n_1h5wf_192",
|
|
17
|
+
"stack": "awsui_stack_1q84n_1h5wf_218",
|
|
18
|
+
"animation-running": "awsui_animation-running_1q84n_1h5wf_218",
|
|
19
|
+
"item": "awsui_item_1q84n_1h5wf_218",
|
|
20
|
+
"flash-list-item": "awsui_flash-list-item_1q84n_1h5wf_219",
|
|
21
|
+
"notification-bar": "awsui_notification-bar_1q84n_1h5wf_220",
|
|
22
|
+
"collapsed": "awsui_collapsed_1q84n_1h5wf_240",
|
|
23
|
+
"animation-ready": "awsui_animation-ready_1q84n_1h5wf_240",
|
|
24
|
+
"expanded-only": "awsui_expanded-only_1q84n_1h5wf_240",
|
|
25
|
+
"expanded": "awsui_expanded_1q84n_1h5wf_240",
|
|
26
|
+
"flash": "awsui_flash_1q84n_1h5wf_13",
|
|
27
|
+
"collapsible": "awsui_collapsible_1q84n_1h5wf_296",
|
|
28
|
+
"short-list": "awsui_short-list_1q84n_1h5wf_302",
|
|
29
|
+
"visual-refresh": "awsui_visual-refresh_1q84n_1h5wf_302",
|
|
30
|
+
"status": "awsui_status_1q84n_1h5wf_449",
|
|
31
|
+
"header": "awsui_header_1q84n_1h5wf_449",
|
|
32
|
+
"item-count": "awsui_item-count_1q84n_1h5wf_450",
|
|
33
|
+
"button": "awsui_button_1q84n_1h5wf_451",
|
|
34
|
+
"type-count": "awsui_type-count_1q84n_1h5wf_484",
|
|
35
|
+
"count-number": "awsui_count-number_1q84n_1h5wf_484",
|
|
36
|
+
"icon": "awsui_icon_1q84n_1h5wf_522",
|
|
37
|
+
"floating": "awsui_floating_1q84n_1h5wf_563",
|
|
38
|
+
"flashbar": "awsui_flashbar_1q84n_1h5wf_567",
|
|
39
|
+
"initial-hidden": "awsui_initial-hidden_1q84n_1h5wf_627",
|
|
40
|
+
"flash-list": "awsui_flash-list_1q84n_1h5wf_219",
|
|
41
|
+
"flash-focus-container": "awsui_flash-focus-container_1q84n_1h5wf_651",
|
|
42
|
+
"flash-text": "awsui_flash-text_1q84n_1h5wf_681",
|
|
43
|
+
"hidden": "awsui_hidden_1q84n_1h5wf_700",
|
|
44
|
+
"header-replacement": "awsui_header-replacement_1q84n_1h5wf_705",
|
|
45
|
+
"content-replacement": "awsui_content-replacement_1q84n_1h5wf_710",
|
|
46
|
+
"dismiss-button": "awsui_dismiss-button_1q84n_1h5wf_30",
|
|
47
|
+
"action-wrapped": "awsui_action-wrapped_1q84n_1h5wf_728",
|
|
48
|
+
"action-button": "awsui_action-button_1q84n_1h5wf_29",
|
|
49
|
+
"action-slot": "awsui_action-slot_1q84n_1h5wf_735",
|
|
50
|
+
"flash-type-success": "awsui_flash-type-success_1q84n_1h5wf_739",
|
|
51
|
+
"flash-type-error": "awsui_flash-type-error_1q84n_1h5wf_747",
|
|
52
|
+
"flash-type-info": "awsui_flash-type-info_1q84n_1h5wf_755",
|
|
53
|
+
"flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_1h5wf_756",
|
|
54
|
+
"flash-type-warning": "awsui_flash-type-warning_1q84n_1h5wf_765"
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"help-panel": "awsui_help-
|
|
5
|
-
"loading": "
|
|
6
|
-
"header": "
|
|
7
|
-
"with-toolbar": "awsui_with-
|
|
8
|
-
"content": "
|
|
9
|
-
"footer": "
|
|
4
|
+
"help-panel": "awsui_help-panel_1d237_wcoe8_9",
|
|
5
|
+
"loading": "awsui_loading_1d237_wcoe8_179",
|
|
6
|
+
"header": "awsui_header_1d237_wcoe8_184",
|
|
7
|
+
"with-toolbar": "awsui_with-toolbar_1d237_wcoe8_202",
|
|
8
|
+
"content": "awsui_content_1d237_wcoe8_221",
|
|
9
|
+
"footer": "awsui_footer_1d237_wcoe8_273"
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
7
7
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
8
8
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
9
|
-
.awsui_help-
|
|
9
|
+
.awsui_help-panel_1d237_wcoe8_9:not(#\9) {
|
|
10
10
|
border-collapse: separate;
|
|
11
11
|
border-spacing: 0;
|
|
12
12
|
box-sizing: border-box;
|
|
@@ -42,36 +42,36 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
42
42
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
43
43
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
44
44
|
}
|
|
45
|
-
.awsui_help-
|
|
45
|
+
.awsui_help-panel_1d237_wcoe8_9 hr:not(#\9) {
|
|
46
46
|
border-block: none;
|
|
47
47
|
border-inline: none;
|
|
48
48
|
border-block-start: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-divider-default-diwd4w, #eaeded);
|
|
49
49
|
margin-block: var(--space-scaled-xl-avp3kz, 24px);
|
|
50
50
|
margin-inline: calc(-1 * var(--space-panel-divider-margin-horizontal-8w6hvr, 12px));
|
|
51
51
|
}
|
|
52
|
-
.awsui_help-
|
|
53
|
-
.awsui_help-
|
|
52
|
+
.awsui_help-panel_1d237_wcoe8_9 ol:not(#\9),
|
|
53
|
+
.awsui_help-panel_1d237_wcoe8_9 ul:not(#\9) {
|
|
54
54
|
padding-inline-start: var(--space-l-dpyxli, 20px);
|
|
55
55
|
list-style-position: outside;
|
|
56
56
|
margin-block: var(--space-s-kll7oj, 12px);
|
|
57
57
|
margin-inline: 0;
|
|
58
58
|
}
|
|
59
|
-
.awsui_help-
|
|
59
|
+
.awsui_help-panel_1d237_wcoe8_9 li:not(#\9) {
|
|
60
60
|
margin-block: var(--space-scaled-xxs-j00t0m, 4px);
|
|
61
61
|
margin-inline: 0;
|
|
62
62
|
}
|
|
63
|
-
.awsui_help-
|
|
64
|
-
.awsui_help-
|
|
65
|
-
.awsui_help-
|
|
66
|
-
.awsui_help-
|
|
67
|
-
.awsui_help-
|
|
68
|
-
.awsui_help-
|
|
69
|
-
.awsui_help-
|
|
63
|
+
.awsui_help-panel_1d237_wcoe8_9 a:not(#\9),
|
|
64
|
+
.awsui_help-panel_1d237_wcoe8_9 h2:not(#\9),
|
|
65
|
+
.awsui_help-panel_1d237_wcoe8_9 h3:not(#\9),
|
|
66
|
+
.awsui_help-panel_1d237_wcoe8_9 h4:not(#\9),
|
|
67
|
+
.awsui_help-panel_1d237_wcoe8_9 h5:not(#\9),
|
|
68
|
+
.awsui_help-panel_1d237_wcoe8_9 pre:not(#\9),
|
|
69
|
+
.awsui_help-panel_1d237_wcoe8_9 code:not(#\9) {
|
|
70
70
|
margin-block: var(--space-xs-m9b7jf, 8px);
|
|
71
71
|
margin-inline: 0;
|
|
72
72
|
padding-block: 0;
|
|
73
73
|
}
|
|
74
|
-
.awsui_help-
|
|
74
|
+
.awsui_help-panel_1d237_wcoe8_9 code:not(#\9) {
|
|
75
75
|
font-size: var(--font-size-body-s-89y7qg, 12px);
|
|
76
76
|
line-height: var(--line-height-body-s-gako33, 16px);
|
|
77
77
|
letter-spacing: var(--letter-spacing-body-s-dzcybc, normal);
|
|
@@ -82,7 +82,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
82
82
|
word-wrap: break-word;
|
|
83
83
|
white-space: pre-wrap;
|
|
84
84
|
}
|
|
85
|
-
.awsui_help-
|
|
85
|
+
.awsui_help-panel_1d237_wcoe8_9 pre:not(#\9) {
|
|
86
86
|
font-size: var(--font-size-body-s-89y7qg, 12px);
|
|
87
87
|
line-height: var(--line-height-body-s-gako33, 16px);
|
|
88
88
|
letter-spacing: var(--letter-spacing-body-s-dzcybc, normal);
|
|
@@ -95,38 +95,38 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
95
95
|
padding-block: var(--space-xxs-3o1yoq, 4px);
|
|
96
96
|
padding-inline: var(--space-xxs-3o1yoq, 4px);
|
|
97
97
|
}
|
|
98
|
-
.awsui_help-
|
|
98
|
+
.awsui_help-panel_1d237_wcoe8_9 dl:not(#\9) {
|
|
99
99
|
margin-block: var(--space-s-kll7oj, 12px);
|
|
100
100
|
margin-inline: 0;
|
|
101
101
|
/* stylelint-disable-next-line selector-max-universal */
|
|
102
102
|
}
|
|
103
|
-
.awsui_help-
|
|
103
|
+
.awsui_help-panel_1d237_wcoe8_9 dl *:not(#\9) {
|
|
104
104
|
margin-block: 0;
|
|
105
105
|
}
|
|
106
|
-
.awsui_help-
|
|
106
|
+
.awsui_help-panel_1d237_wcoe8_9 dt:not(#\9) {
|
|
107
107
|
margin-block-start: var(--space-xs-m9b7jf, 8px);
|
|
108
108
|
font-weight: var(--font-weight-bold-xpar9m, 700);
|
|
109
109
|
}
|
|
110
|
-
.awsui_help-
|
|
110
|
+
.awsui_help-panel_1d237_wcoe8_9 dd:not(#\9) {
|
|
111
111
|
margin-block-start: 0;
|
|
112
112
|
margin-block-end: var(--space-xs-m9b7jf, 8px);
|
|
113
113
|
margin-inline: 0;
|
|
114
114
|
}
|
|
115
|
-
.awsui_help-
|
|
116
|
-
.awsui_help-
|
|
117
|
-
.awsui_help-
|
|
118
|
-
.awsui_help-
|
|
119
|
-
.awsui_help-
|
|
115
|
+
.awsui_help-panel_1d237_wcoe8_9 h2:not(#\9),
|
|
116
|
+
.awsui_help-panel_1d237_wcoe8_9 h3:not(#\9),
|
|
117
|
+
.awsui_help-panel_1d237_wcoe8_9 h4:not(#\9),
|
|
118
|
+
.awsui_help-panel_1d237_wcoe8_9 h5:not(#\9),
|
|
119
|
+
.awsui_help-panel_1d237_wcoe8_9 h6:not(#\9) {
|
|
120
120
|
margin-block-start: var(--space-xl-6jh0ay, 24px);
|
|
121
121
|
color: var(--color-text-heading-default-e3tuze, #16191f);
|
|
122
122
|
}
|
|
123
|
-
.awsui_help-
|
|
123
|
+
.awsui_help-panel_1d237_wcoe8_9 p:not(#\9) {
|
|
124
124
|
color: inherit;
|
|
125
125
|
text-decoration: none;
|
|
126
126
|
margin-block: var(--space-s-kll7oj, 12px);
|
|
127
127
|
margin-inline: 0;
|
|
128
128
|
}
|
|
129
|
-
.awsui_help-
|
|
129
|
+
.awsui_help-panel_1d237_wcoe8_9 h1:not(#\9) {
|
|
130
130
|
font-family: var(--font-family-heading-f20kh9, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
131
131
|
font-size: var(--font-size-heading-xl-0tgqx0, 28px);
|
|
132
132
|
line-height: var(--line-height-heading-xl-pi61pg, 36px);
|
|
@@ -135,7 +135,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
135
135
|
-webkit-font-smoothing: var(--font-smoothing-webkit-dpz0hr, auto);
|
|
136
136
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-kjlydy, auto);
|
|
137
137
|
}
|
|
138
|
-
.awsui_help-
|
|
138
|
+
.awsui_help-panel_1d237_wcoe8_9 h2:not(#\9) {
|
|
139
139
|
font-family: var(--font-family-heading-f20kh9, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
140
140
|
font-size: var(--font-size-heading-l-cax9xk, 18px);
|
|
141
141
|
line-height: var(--line-height-heading-l-zmt48b, 22px);
|
|
@@ -144,7 +144,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
144
144
|
-webkit-font-smoothing: var(--font-smoothing-webkit-dpz0hr, auto);
|
|
145
145
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-kjlydy, auto);
|
|
146
146
|
}
|
|
147
|
-
.awsui_help-
|
|
147
|
+
.awsui_help-panel_1d237_wcoe8_9 h3:not(#\9) {
|
|
148
148
|
font-family: var(--font-family-heading-f20kh9, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
149
149
|
font-size: var(--font-size-heading-m-cqvsuv, 18px);
|
|
150
150
|
line-height: var(--line-height-heading-m-d6lkzb, 22px);
|
|
@@ -153,7 +153,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
153
153
|
-webkit-font-smoothing: var(--font-smoothing-webkit-dpz0hr, auto);
|
|
154
154
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-kjlydy, auto);
|
|
155
155
|
}
|
|
156
|
-
.awsui_help-
|
|
156
|
+
.awsui_help-panel_1d237_wcoe8_9 h4:not(#\9) {
|
|
157
157
|
font-family: var(--font-family-heading-f20kh9, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
158
158
|
font-size: var(--font-size-heading-s-hm1hv8, 16px);
|
|
159
159
|
line-height: var(--line-height-heading-s-3z7qjv, 20px);
|
|
@@ -162,7 +162,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
162
162
|
-webkit-font-smoothing: var(--font-smoothing-webkit-dpz0hr, auto);
|
|
163
163
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-kjlydy, auto);
|
|
164
164
|
}
|
|
165
|
-
.awsui_help-
|
|
165
|
+
.awsui_help-panel_1d237_wcoe8_9 h5:not(#\9) {
|
|
166
166
|
font-family: var(--font-family-heading-f20kh9, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
167
167
|
font-size: var(--font-size-heading-xs-yrvp79, 16px);
|
|
168
168
|
line-height: var(--line-height-heading-xs-wcrr4i, 20px);
|
|
@@ -171,17 +171,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
171
171
|
-webkit-font-smoothing: var(--font-smoothing-webkit-dpz0hr, auto);
|
|
172
172
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-kjlydy, auto);
|
|
173
173
|
}
|
|
174
|
-
.awsui_help-
|
|
175
|
-
.awsui_help-
|
|
174
|
+
.awsui_help-panel_1d237_wcoe8_9 b:not(#\9),
|
|
175
|
+
.awsui_help-panel_1d237_wcoe8_9 strong:not(#\9) {
|
|
176
176
|
font-weight: var(--font-weight-bold-xpar9m, 700);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.
|
|
179
|
+
.awsui_loading_1d237_wcoe8_179:not(#\9) {
|
|
180
180
|
padding-inline-start: var(--space-panel-side-left-sa5n0l, 32px);
|
|
181
181
|
padding-inline-end: var(--space-panel-side-right-14ygs5, 32px);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
.
|
|
184
|
+
.awsui_header_1d237_wcoe8_184:not(#\9) {
|
|
185
185
|
font-size: var(--font-panel-header-size-vy6xld, 18px);
|
|
186
186
|
letter-spacing: var(--letter-spacing-heading-m-iab0ug, normal);
|
|
187
187
|
line-height: var(--font-panel-header-line-height-4n3q8r, 22px);
|
|
@@ -199,15 +199,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
199
199
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
200
200
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
201
201
|
}
|
|
202
|
-
.awsui_with-
|
|
202
|
+
.awsui_with-toolbar_1d237_wcoe8_202 > .awsui_header_1d237_wcoe8_184:not(#\9) {
|
|
203
203
|
border-color: transparent;
|
|
204
204
|
margin-block-end: 0px;
|
|
205
205
|
}
|
|
206
|
-
.
|
|
207
|
-
.
|
|
208
|
-
.
|
|
209
|
-
.
|
|
210
|
-
.
|
|
206
|
+
.awsui_header_1d237_wcoe8_184 h2:not(#\9),
|
|
207
|
+
.awsui_header_1d237_wcoe8_184 h3:not(#\9),
|
|
208
|
+
.awsui_header_1d237_wcoe8_184 h4:not(#\9),
|
|
209
|
+
.awsui_header_1d237_wcoe8_184 h5:not(#\9),
|
|
210
|
+
.awsui_header_1d237_wcoe8_184 h6:not(#\9) {
|
|
211
211
|
font-size: var(--font-panel-header-size-vy6xld, 18px);
|
|
212
212
|
letter-spacing: var(--letter-spacing-heading-m-iab0ug, normal);
|
|
213
213
|
line-height: var(--font-panel-header-line-height-4n3q8r, 22px);
|
|
@@ -218,26 +218,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
218
218
|
margin-block: 0;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
.
|
|
221
|
+
.awsui_content_1d237_wcoe8_221:not(#\9) {
|
|
222
222
|
color: var(--color-text-body-secondary-66ygbb, #545b64);
|
|
223
223
|
padding-inline-start: var(--space-panel-side-left-sa5n0l, 32px);
|
|
224
224
|
padding-inline-end: var(--space-panel-side-right-14ygs5, 32px);
|
|
225
225
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
226
226
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
227
227
|
}
|
|
228
|
-
.
|
|
229
|
-
.
|
|
230
|
-
.
|
|
231
|
-
.
|
|
232
|
-
.
|
|
233
|
-
.
|
|
228
|
+
.awsui_content_1d237_wcoe8_221 h2:not(#\9):first-child,
|
|
229
|
+
.awsui_content_1d237_wcoe8_221 h3:not(#\9):first-child,
|
|
230
|
+
.awsui_content_1d237_wcoe8_221 h4:not(#\9):first-child,
|
|
231
|
+
.awsui_content_1d237_wcoe8_221 h5:not(#\9):first-child,
|
|
232
|
+
.awsui_content_1d237_wcoe8_221 h6:not(#\9):first-child,
|
|
233
|
+
.awsui_content_1d237_wcoe8_221 p:not(#\9):first-child {
|
|
234
234
|
margin-block-start: 0;
|
|
235
235
|
}
|
|
236
|
-
.
|
|
236
|
+
.awsui_content_1d237_wcoe8_221 a:not(#\9) {
|
|
237
237
|
text-underline-offset: 0.25em;
|
|
238
238
|
text-decoration-thickness: var(--font-decoration-thickness-link-n3u7wl, 1px);
|
|
239
239
|
text-decoration-style: var(--font-decoration-style-link-lw1s9g, solid);
|
|
240
|
-
color: var(--awsui-style-color-default-
|
|
240
|
+
color: var(--awsui-style-color-default-66120l, var(--color-text-link-default-qabnuk, #0073bb));
|
|
241
241
|
font-weight: inherit;
|
|
242
242
|
letter-spacing: normal;
|
|
243
243
|
text-decoration-line: underline;
|
|
@@ -248,31 +248,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
248
248
|
transition-duration: var(--motion-duration-refresh-only-medium-s8g1xv, 0ms);
|
|
249
249
|
}
|
|
250
250
|
@media (prefers-reduced-motion: reduce) {
|
|
251
|
-
.
|
|
251
|
+
.awsui_content_1d237_wcoe8_221 a:not(#\9) {
|
|
252
252
|
animation: none;
|
|
253
253
|
transition: none;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
.awsui-motion-disabled .
|
|
256
|
+
.awsui-motion-disabled .awsui_content_1d237_wcoe8_221 a:not(#\9), .awsui-mode-entering .awsui_content_1d237_wcoe8_221 a:not(#\9) {
|
|
257
257
|
animation: none;
|
|
258
258
|
transition: none;
|
|
259
259
|
}
|
|
260
|
-
.
|
|
260
|
+
.awsui_content_1d237_wcoe8_221 a:not(#\9):hover {
|
|
261
261
|
cursor: pointer;
|
|
262
|
-
color: var(--awsui-style-color-hover-
|
|
262
|
+
color: var(--awsui-style-color-hover-66120l, var(--color-text-link-hover-n1r6g0, #0a4a74));
|
|
263
263
|
}
|
|
264
|
-
.
|
|
264
|
+
.awsui_content_1d237_wcoe8_221 a:not(#\9):focus {
|
|
265
265
|
outline: none;
|
|
266
266
|
}
|
|
267
|
-
.
|
|
268
|
-
color: var(--awsui-style-color-active-
|
|
267
|
+
.awsui_content_1d237_wcoe8_221 a:not(#\9):active {
|
|
268
|
+
color: var(--awsui-style-color-active-66120l, var(--color-text-link-hover-n1r6g0, #0a4a74));
|
|
269
269
|
}
|
|
270
|
-
.
|
|
270
|
+
.awsui_content_1d237_wcoe8_221 a:not(#\9):active, .awsui_content_1d237_wcoe8_221 a:not(#\9):focus, .awsui_content_1d237_wcoe8_221 a:not(#\9):hover {
|
|
271
271
|
text-decoration-line: underline;
|
|
272
272
|
text-decoration-color: var(--color-text-link-decoration-hover-opkmr8, currentColor);
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
.
|
|
275
|
+
.awsui_footer_1d237_wcoe8_273:not(#\9) {
|
|
276
276
|
color: var(--color-text-body-secondary-66ygbb, #545b64);
|
|
277
277
|
padding-block: 0;
|
|
278
278
|
padding-inline-start: var(--space-panel-side-left-sa5n0l, 32px);
|
|
@@ -280,15 +280,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
280
280
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
281
281
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
282
282
|
}
|
|
283
|
-
.
|
|
283
|
+
.awsui_footer_1d237_wcoe8_273 ul:not(#\9) {
|
|
284
284
|
list-style: none;
|
|
285
285
|
padding-inline-start: 0;
|
|
286
286
|
}
|
|
287
|
-
.
|
|
287
|
+
.awsui_footer_1d237_wcoe8_273 a:not(#\9) {
|
|
288
288
|
text-underline-offset: 0.25em;
|
|
289
289
|
text-decoration-thickness: var(--font-decoration-thickness-link-n3u7wl, 1px);
|
|
290
290
|
text-decoration-style: var(--font-decoration-style-link-lw1s9g, solid);
|
|
291
|
-
color: var(--awsui-style-color-default-
|
|
291
|
+
color: var(--awsui-style-color-default-66120l, var(--color-text-link-secondary-default-urew28, #0073bb));
|
|
292
292
|
font-weight: var(--font-weight-link-secondary-gzuq69, inherit);
|
|
293
293
|
letter-spacing: normal;
|
|
294
294
|
text-decoration-line: var(--font-decoration-line-link-secondary-tcr1f6, none);
|
|
@@ -299,37 +299,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
299
299
|
transition-duration: var(--motion-duration-refresh-only-medium-s8g1xv, 0ms);
|
|
300
300
|
}
|
|
301
301
|
@media (prefers-reduced-motion: reduce) {
|
|
302
|
-
.
|
|
302
|
+
.awsui_footer_1d237_wcoe8_273 a:not(#\9) {
|
|
303
303
|
animation: none;
|
|
304
304
|
transition: none;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
|
-
.awsui-motion-disabled .
|
|
307
|
+
.awsui-motion-disabled .awsui_footer_1d237_wcoe8_273 a:not(#\9), .awsui-mode-entering .awsui_footer_1d237_wcoe8_273 a:not(#\9) {
|
|
308
308
|
animation: none;
|
|
309
309
|
transition: none;
|
|
310
310
|
}
|
|
311
|
-
.
|
|
311
|
+
.awsui_footer_1d237_wcoe8_273 a:not(#\9):hover {
|
|
312
312
|
cursor: pointer;
|
|
313
|
-
color: var(--awsui-style-color-hover-
|
|
313
|
+
color: var(--awsui-style-color-hover-66120l, var(--color-text-link-secondary-hover-kql7rc, #0a4a74));
|
|
314
314
|
}
|
|
315
|
-
.
|
|
315
|
+
.awsui_footer_1d237_wcoe8_273 a:not(#\9):focus {
|
|
316
316
|
outline: none;
|
|
317
317
|
}
|
|
318
|
-
.
|
|
319
|
-
color: var(--awsui-style-color-active-
|
|
318
|
+
.awsui_footer_1d237_wcoe8_273 a:not(#\9):active {
|
|
319
|
+
color: var(--awsui-style-color-active-66120l, var(--color-text-link-secondary-hover-kql7rc, #0a4a74));
|
|
320
320
|
}
|
|
321
|
-
.
|
|
321
|
+
.awsui_footer_1d237_wcoe8_273 a:not(#\9):active, .awsui_footer_1d237_wcoe8_273 a:not(#\9):focus, .awsui_footer_1d237_wcoe8_273 a:not(#\9):hover {
|
|
322
322
|
text-decoration-line: underline;
|
|
323
323
|
text-decoration-color: var(--color-text-link-decoration-hover-opkmr8, currentColor);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
.
|
|
327
|
-
.
|
|
326
|
+
.awsui_content_1d237_wcoe8_221:not(#\9),
|
|
327
|
+
.awsui_footer_1d237_wcoe8_273:not(#\9) {
|
|
328
328
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
329
329
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
330
330
|
}
|
|
331
|
-
.
|
|
332
|
-
.
|
|
331
|
+
.awsui_content_1d237_wcoe8_221 a:not(#\9):focus,
|
|
332
|
+
.awsui_footer_1d237_wcoe8_273 a:not(#\9):focus {
|
|
333
333
|
outline: thin dotted;
|
|
334
334
|
outline: var(--border-link-focus-ring-outline-wn9h6t, 5px auto Highlight);
|
|
335
335
|
outline-offset: 2px;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"help-panel": "awsui_help-
|
|
6
|
-
"loading": "
|
|
7
|
-
"header": "
|
|
8
|
-
"with-toolbar": "awsui_with-
|
|
9
|
-
"content": "
|
|
10
|
-
"footer": "
|
|
5
|
+
"help-panel": "awsui_help-panel_1d237_wcoe8_9",
|
|
6
|
+
"loading": "awsui_loading_1d237_wcoe8_179",
|
|
7
|
+
"header": "awsui_header_1d237_wcoe8_184",
|
|
8
|
+
"with-toolbar": "awsui_with-toolbar_1d237_wcoe8_202",
|
|
9
|
+
"content": "awsui_content_1d237_wcoe8_221",
|
|
10
|
+
"footer": "awsui_footer_1d237_wcoe8_273"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/input/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAMhE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/input/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAMhE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,QAAA,MAAM,KAAK,mFAoGV,CAAC;AAGF,eAAe,KAAK,CAAC"}
|
|
@@ -8,7 +8,7 @@ import useBaseComponent from '../internal/hooks/use-base-component';
|
|
|
8
8
|
import { applyDisplayName } from '../internal/utils/apply-display-name';
|
|
9
9
|
import InternalInput from './internal';
|
|
10
10
|
import styles from './styles.css.js';
|
|
11
|
-
const Input = React.forwardRef(({ value, type = 'text', step, inputMode, autoComplete = true, spellcheck, disabled, readOnly, disableBrowserAutocorrect, onKeyDown, onKeyUp, onChange, onBlur, onFocus, ariaRequired, name, placeholder, autoFocus, ariaLabel, ariaLabelledby, ariaDescribedby, invalid, warning, controlId, clearAriaLabel, nativeInputAttributes, style, prefix, suffix, ...rest }, ref) => {
|
|
11
|
+
const Input = React.forwardRef(({ value, type = 'text', step, inputMode, autoComplete = true, spellcheck, disabled, readOnly, disableBrowserAutocorrect, onKeyDown, onKeyUp, onChange, onBlur, onFocus, ariaRequired, name, placeholder, autoFocus, ariaLabel, ariaLabelledby, ariaDescribedby, invalid, warning, controlId, clearAriaLabel, nativeInputAttributes, style, inlineLabelText, prefix, suffix, ...rest }, ref) => {
|
|
12
12
|
const baseComponentProps = useBaseComponent('Input', {
|
|
13
13
|
props: { autoComplete, autoFocus, disableBrowserAutocorrect, inputMode, readOnly, spellcheck, type },
|
|
14
14
|
});
|
|
@@ -54,7 +54,8 @@ const Input = React.forwardRef(({ value, type = 'text', step, inputMode, autoCom
|
|
|
54
54
|
nativeInputAttributes,
|
|
55
55
|
style,
|
|
56
56
|
prefix,
|
|
57
|
-
suffix,
|
|
57
|
+
suffix,
|
|
58
|
+
inlineLabelText, className: clsx(styles.root, baseProps.className), __inheritFormFieldProps: true, __injectAnalyticsComponentMetadata: true }));
|
|
58
59
|
});
|
|
59
60
|
applyDisplayName(Input, 'Input');
|
|
60
61
|
export default Input;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/input/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,EAAE,EAAO,mBAAmB,EAAE,MAAM,EAAE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AC,OAAO,0CAAE,MAAM,EAAE,CAAC;QAC7B,CAAC;KACF,CAAC,EACF,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL,oBAAC,aAAa,IACZ,GAAG,EAAE,QAAQ,EAEX,GAAG,SAAS;QACZ,GAAG,kBAAkB;QACrB,YAAY;QACZ,SAAS;QACT,YAAY;QACZ,SAAS;QACT,QAAQ;QACR,yBAAyB;QACzB,IAAI;QACJ,SAAS;QACT,OAAO;QACP,QAAQ;QACR,MAAM;QACN,OAAO;QACP,WAAW;QACX,QAAQ;QACR,IAAI;QACJ,IAAI;QACJ,SAAS;QACT,UAAU;QACV,KAAK;QACL,eAAe;QACf,cAAc;QACd,OAAO;QACP,OAAO;QACP,SAAS;QACT,cAAc;QACd,qBAAqB;QACrB,KAAK;QACL,MAAM;QACN,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/input/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,EAAE,EAAO,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,aAAa,MAAM,YAAY,CAAC;AAEvC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAC5B,CACE,EACE,KAAK,EACL,IAAI,GAAG,MAAM,EACb,IAAI,EACJ,SAAS,EACT,YAAY,GAAG,IAAI,EACnB,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,yBAAyB,EACzB,SAAS,EACT,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,YAAY,EACZ,I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eAAe,EAEjB,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,EACjD,uBAAuB,EAAE,IAAI,EAC7B,kCAAkC,EAAE,IAAI,GACxC,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACjC,eAAe,KAAK,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React, { Ref, useImperativeHandle, useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { getBaseProps } from '../internal/base-component';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { InputProps } from './interfaces';\nimport InternalInput from './internal';\n\nimport styles from './styles.css.js';\n\nexport { InputProps };\n\nconst Input = React.forwardRef(\n (\n {\n value,\n type = 'text',\n step,\n inputMode,\n autoComplete = true,\n spellcheck,\n disabled,\n readOnly,\n disableBrowserAutocorrect,\n onKeyDown,\n onKeyUp,\n onChange,\n onBlur,\n onFocus,\n ariaRequired,\n name,\n placeholder,\n autoFocus,\n ariaLabel,\n ariaLabelledby,\n ariaDescribedby,\n invalid,\n warning,\n controlId,\n clearAriaLabel,\n nativeInputAttributes,\n style,\n inlineLabelText,\n prefix,\n suffix,\n ...rest\n }: InputProps,\n ref: Ref<InputProps.Ref>\n ) => {\n const baseComponentProps = useBaseComponent('Input', {\n props: { autoComplete, autoFocus, disableBrowserAutocorrect, inputMode, readOnly, spellcheck, type },\n });\n const baseProps = getBaseProps(rest);\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n useImperativeHandle(\n ref,\n () => ({\n focus(...args: Parameters<HTMLElement['focus']>) {\n inputRef.current?.focus(...args);\n },\n select() {\n inputRef.current?.select();\n },\n }),\n [inputRef]\n );\n\n return (\n <InternalInput\n ref={inputRef}\n {...{\n ...baseProps,\n ...baseComponentProps,\n autoComplete,\n ariaLabel,\n ariaRequired,\n autoFocus,\n disabled,\n disableBrowserAutocorrect,\n name,\n onKeyDown,\n onKeyUp,\n onChange,\n onBlur,\n onFocus,\n placeholder,\n readOnly,\n type,\n step,\n inputMode,\n spellcheck,\n value,\n ariaDescribedby,\n ariaLabelledby,\n invalid,\n warning,\n controlId,\n clearAriaLabel,\n nativeInputAttributes,\n style,\n prefix,\n suffix,\n inlineLabelText,\n }}\n className={clsx(styles.root, baseProps.className)}\n __inheritFormFieldProps={true}\n __injectAnalyticsComponentMetadata={true}\n />\n );\n }\n);\n\napplyDisplayName(Input, 'Input');\nexport default Input;\n"]}
|
|
@@ -157,6 +157,12 @@ export interface InputProps extends BaseComponentProps, BaseInputProps, InputKey
|
|
|
157
157
|
* @awsuiSystem core
|
|
158
158
|
*/
|
|
159
159
|
style?: InputProps.Style;
|
|
160
|
+
/**
|
|
161
|
+
* Adds a small label inline with the input for saving vertical space in the UI.
|
|
162
|
+
*
|
|
163
|
+
* Use this only when a visible label from a surrounding form field isn't present.
|
|
164
|
+
*/
|
|
165
|
+
inlineLabelText?: string;
|
|
160
166
|
/**
|
|
161
167
|
* Use for content rendered before the editable value.
|
|
162
168
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/input/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AACtE;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAE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AAE,MAAM,CAAC;YACpB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,WAAW,CAAC,EAAE;YACZ,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/input/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ReactNode } from 'react';\n\nimport { BaseComponentProps } from '../types/base-component';\nimport { BaseKeyDetail, CancelableEventHandler, NonCancelableEventHandler } from '../types/events';\nimport { FormFieldValidationControlProps } from '../types/form-field';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../types/native-attributes';\n\nexport interface BaseInputProps {\n /**\n * Specifies the text entered into the form element.\n */\n value: string;\n\n /**\n * Specifies the name of the control used in HTML forms.\n */\n name?: string;\n\n /**\n * Specifies the placeholder text rendered when the value is an empty string.\n */\n placeholder?: string;\n\n /**\n * Specifies if the control is disabled, which prevents the\n * user from modifying the value and prevents the value from\n * being included in a form submission. A disabled control can't\n * receive focus.\n */\n disabled?: boolean;\n\n /**\n * Specifies if the control is read-only, which prevents the\n * user from modifying the value but includes it in a form\n * submission. A read-only control can receive focus.\n *\n * Don't use read-only inputs outside a form.\n */\n readOnly?: boolean;\n\n /**\n * Indicates whether the control should be focused as\n * soon as the page loads, which enables the user to\n * start typing without having to manually focus the control. Don't\n * use this option on pages where the control may be\n * scrolled out of the viewport.\n */\n autoFocus?: boolean;\n\n /**\n * Adds an `aria-label` to the native control.\n *\n * Use this if you don't have a visible label for this control.\n */\n ariaLabel?: string;\n\n /**\n * Specifies whether to add `aria-required` to the native control.\n */\n ariaRequired?: boolean;\n\n /**\n * Called when input focus is removed from the UI control.\n */\n onBlur?: NonCancelableEventHandler<null>;\n\n /**\n * Called when input focus is moved to the UI control.\n */\n onFocus?: NonCancelableEventHandler<null>;\n\n /**\n * Called whenever a user changes the input value (by typing or pasting).\n * The event `detail` contains the current value of the field.\n */\n onChange?: NonCancelableEventHandler<InputProps.ChangeDetail>;\n\n /**\n * Attributes to add to the native `input` element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeInputAttributes?: NativeAttributes<React.InputHTMLAttributes<HTMLInputElement>>;\n}\n\nexport interface InputAutoCorrect {\n /**\n * Specifies whether to disable browser autocorrect and related features.\n * If you set this to `true`, it disables any native browser capabilities\n * that automatically correct user input, such as `autocorrect` and\n * `autocapitalize`. If you don't set it, the behavior follows the default behavior\n * of the user's browser.\n */\n disableBrowserAutocorrect?: boolean;\n}\n\nexport interface InputAutoComplete {\n /**\n * Specifies whether to enable a browser's autocomplete functionality for this input.\n * In some cases it might be appropriate to disable autocomplete (for example, for security-sensitive fields).\n * To use it correctly, set the `name` property.\n *\n * You can either provide a boolean value to set the property to \"on\" or \"off\", or specify a string value\n * for the [autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute.\n */\n autoComplete?: boolean | string;\n}\n\nexport interface InputSpellcheck {\n /**\n * Specifies the value of the `spellcheck` attribute on the native control.\n * This value controls the native browser capability to check for spelling/grammar errors.\n * If not set, the browser default behavior is to perform spellchecking.\n * For more details, check the [spellcheck MDN article](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck).\n *\n * Enhanced spellchecking features of your browser and/or operating system may send input values to external parties.\n * Make sure it’s deactivated for fields with sensitive information to prevent\n * inadvertently sending data (such as user passwords) to third parties.\n */\n spellcheck?: boolean;\n}\n\nexport interface InputKeyEvents {\n /**\n * Called when the underlying native textarea emits a `keydown` event.\n * The event `detail` contains the `keyCode` and information\n * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).\n */\n onKeyDown?: CancelableEventHandler<InputProps.KeyDetail>;\n\n /**\n * Called when the underlying native textarea emits a `keyup` event.\n * The event `detail` contains the `keyCode` and information\n * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).\n */\n onKeyUp?: CancelableEventHandler<InputProps.KeyDetail>;\n}\n\nexport interface InputClearLabel {\n /**\n * Adds an `aria-label` to the clear button inside the search input.\n * @i18n\n */\n clearAriaLabel?: string;\n}\n\nexport interface InputProps\n extends BaseComponentProps,\n BaseInputProps,\n InputKeyEvents,\n InputAutoCorrect,\n InputAutoComplete,\n InputSpellcheck,\n InputClearLabel,\n FormFieldValidationControlProps {\n /**\n * Specifies the type of control to render.\n * Inputs with a `number` type use the native element behavior, which might\n * be slightly different across browsers.\n */\n type?: InputProps.Type;\n\n /**\n * Adds a hint to the browser about the type of data a user may enter into this field.\n * Some devices may render a different virtual keyboard depending on this value.\n * This value may not be supported by all browsers or devices.\n */\n inputMode?: InputProps.InputMode;\n\n /**\n * The step attribute is a number that specifies the granularity that the value\n * must adhere to or the keyword \"any\". It is valid for the numeric input types,\n * including the date, month, week, time, datetime-local, number and range types.\n */\n step?: InputProps.Step;\n\n /**\n * An object containing CSS properties to customize the input's visual appearance.\n * Refer to the [style](/components/input/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: InputProps.Style;\n\n /**\n * Use for content rendered before the editable value.\n */\n prefix?: ReactNode;\n\n /**\n * Use for content rendered after the editable value.\n */\n suffix?: ReactNode;\n}\n\nexport namespace InputProps {\n export type Type = 'text' | 'password' | 'search' | 'number' | 'email' | 'url';\n export type InputMode = 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n export type Step = number | 'any';\n\n export type ChangeDetail = BaseChangeDetail;\n export type KeyDetail = BaseKeyDetail;\n\n export interface Ref {\n /**\n * Sets input focus onto the UI control.\n */\n focus(): void;\n\n /**\n * Selects all text in the input control.\n */\n select(): void;\n }\n\n export interface Style {\n root?: {\n backgroundColor?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n borderColor?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n color?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n fontSize?: string;\n fontWeight?: string;\n paddingBlock?: string;\n paddingInline?: string;\n };\n placeholder?: {\n color?: string;\n fontSize?: string;\n fontStyle?: string;\n fontWeight?: string;\n };\n }\n}\n\nexport interface BaseChangeDetail {\n value: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/input/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ReactNode } from 'react';\n\nimport { BaseComponentProps } from '../types/base-component';\nimport { BaseKeyDetail, CancelableEventHandler, NonCancelableEventHandler } from '../types/events';\nimport { FormFieldValidationControlProps } from '../types/form-field';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../types/native-attributes';\n\nexport interface BaseInputProps {\n /**\n * Specifies the text entered into the form element.\n */\n value: string;\n\n /**\n * Specifies the name of the control used in HTML forms.\n */\n name?: string;\n\n /**\n * Specifies the placeholder text rendered when the value is an empty string.\n */\n placeholder?: string;\n\n /**\n * Specifies if the control is disabled, which prevents the\n * user from modifying the value and prevents the value from\n * being included in a form submission. A disabled control can't\n * receive focus.\n */\n disabled?: boolean;\n\n /**\n * Specifies if the control is read-only, which prevents the\n * user from modifying the value but includes it in a form\n * submission. A read-only control can receive focus.\n *\n * Don't use read-only inputs outside a form.\n */\n readOnly?: boolean;\n\n /**\n * Indicates whether the control should be focused as\n * soon as the page loads, which enables the user to\n * start typing without having to manually focus the control. Don't\n * use this option on pages where the control may be\n * scrolled out of the viewport.\n */\n autoFocus?: boolean;\n\n /**\n * Adds an `aria-label` to the native control.\n *\n * Use this if you don't have a visible label for this control.\n */\n ariaLabel?: string;\n\n /**\n * Specifies whether to add `aria-required` to the native control.\n */\n ariaRequired?: boolean;\n\n /**\n * Called when input focus is removed from the UI control.\n */\n onBlur?: NonCancelableEventHandler<null>;\n\n /**\n * Called when input focus is moved to the UI control.\n */\n onFocus?: NonCancelableEventHandler<null>;\n\n /**\n * Called whenever a user changes the input value (by typing or pasting).\n * The event `detail` contains the current value of the field.\n */\n onChange?: NonCancelableEventHandler<InputProps.ChangeDetail>;\n\n /**\n * Attributes to add to the native `input` element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeInputAttributes?: NativeAttributes<React.InputHTMLAttributes<HTMLInputElement>>;\n}\n\nexport interface InputAutoCorrect {\n /**\n * Specifies whether to disable browser autocorrect and related features.\n * If you set this to `true`, it disables any native browser capabilities\n * that automatically correct user input, such as `autocorrect` and\n * `autocapitalize`. If you don't set it, the behavior follows the default behavior\n * of the user's browser.\n */\n disableBrowserAutocorrect?: boolean;\n}\n\nexport interface InputAutoComplete {\n /**\n * Specifies whether to enable a browser's autocomplete functionality for this input.\n * In some cases it might be appropriate to disable autocomplete (for example, for security-sensitive fields).\n * To use it correctly, set the `name` property.\n *\n * You can either provide a boolean value to set the property to \"on\" or \"off\", or specify a string value\n * for the [autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute.\n */\n autoComplete?: boolean | string;\n}\n\nexport interface InputSpellcheck {\n /**\n * Specifies the value of the `spellcheck` attribute on the native control.\n * This value controls the native browser capability to check for spelling/grammar errors.\n * If not set, the browser default behavior is to perform spellchecking.\n * For more details, check the [spellcheck MDN article](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck).\n *\n * Enhanced spellchecking features of your browser and/or operating system may send input values to external parties.\n * Make sure it’s deactivated for fields with sensitive information to prevent\n * inadvertently sending data (such as user passwords) to third parties.\n */\n spellcheck?: boolean;\n}\n\nexport interface InputKeyEvents {\n /**\n * Called when the underlying native textarea emits a `keydown` event.\n * The event `detail` contains the `keyCode` and information\n * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).\n */\n onKeyDown?: CancelableEventHandler<InputProps.KeyDetail>;\n\n /**\n * Called when the underlying native textarea emits a `keyup` event.\n * The event `detail` contains the `keyCode` and information\n * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).\n */\n onKeyUp?: CancelableEventHandler<InputProps.KeyDetail>;\n}\n\nexport interface InputClearLabel {\n /**\n * Adds an `aria-label` to the clear button inside the search input.\n * @i18n\n */\n clearAriaLabel?: string;\n}\n\nexport interface InputProps\n extends BaseComponentProps,\n BaseInputProps,\n InputKeyEvents,\n InputAutoCorrect,\n InputAutoComplete,\n InputSpellcheck,\n InputClearLabel,\n FormFieldValidationControlProps {\n /**\n * Specifies the type of control to render.\n * Inputs with a `number` type use the native element behavior, which might\n * be slightly different across browsers.\n */\n type?: InputProps.Type;\n\n /**\n * Adds a hint to the browser about the type of data a user may enter into this field.\n * Some devices may render a different virtual keyboard depending on this value.\n * This value may not be supported by all browsers or devices.\n */\n inputMode?: InputProps.InputMode;\n\n /**\n * The step attribute is a number that specifies the granularity that the value\n * must adhere to or the keyword \"any\". It is valid for the numeric input types,\n * including the date, month, week, time, datetime-local, number and range types.\n */\n step?: InputProps.Step;\n\n /**\n * An object containing CSS properties to customize the input's visual appearance.\n * Refer to the [style](/components/input/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: InputProps.Style;\n\n /**\n * Adds a small label inline with the input for saving vertical space in the UI.\n *\n * Use this only when a visible label from a surrounding form field isn't present.\n */\n inlineLabelText?: string;\n\n /**\n * Use for content rendered before the editable value.\n */\n prefix?: ReactNode;\n\n /**\n * Use for content rendered after the editable value.\n */\n suffix?: ReactNode;\n}\n\nexport namespace InputProps {\n export type Type = 'text' | 'password' | 'search' | 'number' | 'email' | 'url';\n export type InputMode = 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n export type Step = number | 'any';\n\n export type ChangeDetail = BaseChangeDetail;\n export type KeyDetail = BaseKeyDetail;\n\n export interface Ref {\n /**\n * Sets input focus onto the UI control.\n */\n focus(): void;\n\n /**\n * Selects all text in the input control.\n */\n select(): void;\n }\n\n export interface Style {\n root?: {\n backgroundColor?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n borderColor?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n color?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n fontSize?: string;\n fontWeight?: string;\n paddingBlock?: string;\n paddingInline?: string;\n };\n placeholder?: {\n color?: string;\n fontSize?: string;\n fontStyle?: string;\n fontWeight?: string;\n };\n }\n}\n\nexport interface BaseChangeDetail {\n value: string;\n}\n"]}
|
|
@@ -21,7 +21,6 @@ export interface InternalInputProps extends BaseComponentProps, BaseInputProps,
|
|
|
21
21
|
__inheritFormFieldProps?: boolean;
|
|
22
22
|
__injectAnalyticsComponentMetadata?: boolean;
|
|
23
23
|
__skipNativeAttributesWarnings?: SkipWarnings;
|
|
24
|
-
__inlineLabelText?: string;
|
|
25
24
|
__fullWidth?: boolean;
|
|
26
25
|
}
|
|
27
26
|
declare const _default: React.ForwardRefExoticComponent<InternalInputProps & React.RefAttributes<HTMLInputElement>>;
|