@cloudscape-design/components-themeable 3.0.1382 → 3.0.1383
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 +5 -4
- package/lib/internal/scss/input/styles.scss +4 -0
- package/lib/internal/scss/internal/components/button-trigger/styles.scss +4 -0
- package/lib/internal/scss/internal/components/control-group/styles.scss +36 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +176 -175
- package/lib/internal/scss/internal/styles/forms/mixins.scss +43 -17
- package/lib/internal/scss/segmented-control/styles.scss +19 -4
- package/lib/internal/scss/side-navigation/styles.scss +13 -6
- 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/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 +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/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/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/style.d.ts +1 -15
- package/lib/internal/template/container/style.d.ts.map +1 -1
- package/lib/internal/template/container/style.js +6 -2
- package/lib/internal/template/container/style.js.map +1 -1
- package/lib/internal/template/container/styles.css.js +34 -34
- package/lib/internal/template/container/styles.scoped.css +87 -87
- package/lib/internal/template/container/styles.selectors.js +34 -34
- 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 +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
- package/lib/internal/template/expandable-section/interfaces.d.ts +4 -4
- package/lib/internal/template/expandable-section/interfaces.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/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +184 -184
- 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/internal.d.ts.map +1 -1
- package/lib/internal/template/input/internal.js +11 -4
- package/lib/internal/template/input/internal.js.map +1 -1
- package/lib/internal/template/input/styles.css.js +34 -29
- package/lib/internal/template/input/styles.scoped.css +158 -137
- package/lib/internal/template/input/styles.selectors.js +34 -29
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js +4 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
- package/lib/internal/template/internal/components/button-trigger/index.d.ts +2 -0
- 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/button-trigger/styles.css.js +19 -14
- package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +53 -33
- package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +19 -14
- package/lib/internal/template/internal/components/control-group/index.d.ts +7 -0
- package/lib/internal/template/internal/components/control-group/index.d.ts.map +1 -0
- package/lib/internal/template/internal/components/control-group/index.js +20 -0
- package/lib/internal/template/internal/components/control-group/index.js.map +1 -0
- package/lib/internal/template/internal/components/control-group/styles.css.js +9 -0
- package/lib/internal/template/internal/components/control-group/styles.scoped.css +54 -0
- package/lib/internal/template/internal/components/control-group/styles.selectors.js +10 -0
- 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 +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 +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 +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/context/control-group-context.d.ts +24 -0
- package/lib/internal/template/internal/context/control-group-context.d.ts.map +1 -0
- package/lib/internal/template/internal/context/control-group-context.js +22 -0
- package/lib/internal/template/internal/context/control-group-context.js.map +1 -0
- 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 +175 -174
- 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 +63 -63
- 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 +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/multiselect/internal.d.ts.map +1 -1
- package/lib/internal/template/multiselect/internal.js +12 -9
- package/lib/internal/template/multiselect/internal.js.map +1 -1
- 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 -109
- package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
- package/lib/internal/template/segmented-control/internal-segmented-control.d.ts +6 -1
- package/lib/internal/template/segmented-control/internal-segmented-control.d.ts.map +1 -1
- package/lib/internal/template/segmented-control/internal-segmented-control.js +3 -1
- package/lib/internal/template/segmented-control/internal-segmented-control.js.map +1 -1
- package/lib/internal/template/segmented-control/internal.d.ts.map +1 -1
- package/lib/internal/template/segmented-control/internal.js +7 -2
- package/lib/internal/template/segmented-control/internal.js.map +1 -1
- package/lib/internal/template/segmented-control/styles.css.js +21 -16
- package/lib/internal/template/segmented-control/styles.scoped.css +74 -46
- package/lib/internal/template/segmented-control/styles.selectors.js +21 -16
- package/lib/internal/template/select/internal.d.ts.map +1 -1
- package/lib/internal/template/select/internal.js +11 -8
- package/lib/internal/template/select/internal.js.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/select/parts/trigger.d.ts +2 -0
- package/lib/internal/template/select/parts/trigger.d.ts.map +1 -1
- package/lib/internal/template/select/parts/trigger.js +2 -2
- package/lib/internal/template/select/parts/trigger.js.map +1 -1
- package/lib/internal/template/side-navigation/styles.css.js +64 -64
- package/lib/internal/template/side-navigation/styles.scoped.css +119 -114
- 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/styles.css.js +37 -37
- package/lib/internal/template/table/styles.scoped.css +46 -46
- 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/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 -55
- 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 +22 -22
- 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 +46 -46
- package/lib/internal/template/token/styles.selectors.js +14 -14
- package/package.json +1 -1
|
@@ -6,21 +6,21 @@
|
|
|
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
|
-
.
|
|
9
|
+
.awsui_placeholder_dwuol_wsgh3_9:not(#\9) {
|
|
10
10
|
color: var(--color-text-input-placeholder-l6klmg, #687078);
|
|
11
11
|
font-style: italic;
|
|
12
12
|
-webkit-user-select: none;
|
|
13
13
|
user-select: none;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.awsui_placeholder_dwuol_wsgh3_9.awsui_disabled_dwuol_wsgh3_14:not(#\9) {
|
|
16
16
|
color: var(--color-text-input-placeholder-disabled-8cf69l, #687078);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.
|
|
19
|
+
.awsui_item_dwuol_wsgh3_18:not(#\9) {
|
|
20
20
|
display: flex;
|
|
21
21
|
align-items: center;
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.awsui_item_dwuol_wsgh3_18 > .awsui_checkbox_dwuol_wsgh3_22:not(#\9) {
|
|
24
24
|
position: relative;
|
|
25
25
|
min-block-size: var(--size-control-jpgj8e, 14px);
|
|
26
26
|
min-inline-size: var(--size-control-jpgj8e, 14px);
|
|
@@ -29,48 +29,48 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
29
29
|
margin-inline-end: var(--space-field-horizontal-anki5k, 8px);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.awsui_option-
|
|
32
|
+
.awsui_option-group_dwuol_wsgh3_31:not(#\9):not(:first-child) {
|
|
33
33
|
margin-block-start: calc(-1 * var(--border-item-width-pyfg4s, 1px));
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
36
|
+
.awsui_filter_dwuol_wsgh3_35:not(#\9) {
|
|
37
37
|
z-index: 4;
|
|
38
38
|
flex-shrink: 0;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
.awsui_trigger_dwuol_wsgh3_40:not(#\9) {
|
|
42
42
|
white-space: nowrap;
|
|
43
43
|
overflow: hidden;
|
|
44
44
|
text-overflow: ellipsis;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.awsui_layout-
|
|
47
|
+
.awsui_layout-strut_dwuol_wsgh3_46:not(#\9) {
|
|
48
48
|
inline-size: 100%;
|
|
49
49
|
position: relative;
|
|
50
50
|
transform: translate3d(0, 0, 0);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.awsui_list-
|
|
53
|
+
.awsui_list-bottom_dwuol_wsgh3_52:not(#\9) {
|
|
54
54
|
/* used in unit-tests */
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.awsui_selected-
|
|
57
|
+
.awsui_selected-icon_dwuol_wsgh3_56:not(#\9) {
|
|
58
58
|
color: var(--color-item-selected-2irl78, #0073bb);
|
|
59
59
|
padding-inline-start: var(--space-xs-m9b7jf, 8px);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.awsui_show-label-
|
|
62
|
+
.awsui_show-label-tag_dwuol_wsgh3_61 > .awsui_selected-icon_dwuol_wsgh3_56:not(#\9) {
|
|
63
63
|
padding-inline-start: var(--space-scaled-s-2crg2b, 12px);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.awsui_inline-token-
|
|
66
|
+
.awsui_inline-token-trigger_dwuol_wsgh3_65:not(#\9) {
|
|
67
67
|
display: flex;
|
|
68
68
|
flex-wrap: nowrap;
|
|
69
69
|
column-gap: var(--space-xxs-3o1yoq, 4px);
|
|
70
70
|
inline-size: 100%;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.awsui_inline-token-
|
|
73
|
+
.awsui_inline-token-list_dwuol_wsgh3_72:not(#\9) {
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-wrap: nowrap;
|
|
76
76
|
align-items: center;
|
|
@@ -80,30 +80,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
80
80
|
mask-image: linear-gradient(270deg, transparent, white 20px, white);
|
|
81
81
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
82
82
|
}
|
|
83
|
-
.awsui_inline-token-
|
|
83
|
+
.awsui_inline-token-list_dwuol_wsgh3_72:not(#\9):dir(rtl) {
|
|
84
84
|
mask-image: linear-gradient(-270deg, transparent, white 20px, white);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
.awsui_inline-token-hidden-
|
|
87
|
+
.awsui_inline-token-hidden-placeholder_dwuol_wsgh3_86:not(#\9) {
|
|
88
88
|
position: absolute !important;
|
|
89
89
|
inset-block-start: -9999px !important;
|
|
90
90
|
inset-inline-start: -9999px !important;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.awsui_inline-token-
|
|
93
|
+
.awsui_inline-token-counter_dwuol_wsgh3_92:not(#\9) {
|
|
94
94
|
white-space: nowrap;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.awsui_inline-label-trigger-
|
|
97
|
+
.awsui_inline-label-trigger-wrapper_dwuol_wsgh3_96:not(#\9) {
|
|
98
98
|
margin-block-start: -7px;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
.awsui_inline-label-
|
|
101
|
+
.awsui_inline-label-wrapper_dwuol_wsgh3_100:not(#\9) {
|
|
102
102
|
margin-block-start: calc(var(--space-scaled-xs-pajbd1, 8px) * -1);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
.awsui_inline-
|
|
106
|
-
background: linear-gradient(to bottom, var(--awsui-inline-label-background-color-
|
|
105
|
+
.awsui_inline-label_dwuol_wsgh3_96:not(#\9) {
|
|
106
|
+
background: linear-gradient(to bottom, var(--awsui-inline-label-background-color-ka4djm, var(--color-background-layout-main-y4565g, #f2f3f3)), var(--color-background-input-default-1u0v1p, #ffffff));
|
|
107
107
|
border-start-start-radius: 2px;
|
|
108
108
|
border-start-end-radius: 2px;
|
|
109
109
|
border-end-start-radius: 2px;
|
|
@@ -123,15 +123,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
123
123
|
max-inline-size: calc(100% - 2 * var(--space-field-horizontal-anki5k, 8px));
|
|
124
124
|
z-index: 1;
|
|
125
125
|
}
|
|
126
|
-
.awsui_inline-label-
|
|
127
|
-
background: linear-gradient(to bottom, var(--awsui-inline-label-background-color-
|
|
126
|
+
.awsui_inline-label-disabled_dwuol_wsgh3_125:not(#\9) {
|
|
127
|
+
background: linear-gradient(to bottom, var(--awsui-inline-label-background-color-ka4djm, var(--color-background-layout-main-y4565g, #f2f3f3)), var(--color-background-input-disabled-pyvhb1, #eaeded));
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.awsui_inline-label-inline-
|
|
130
|
+
.awsui_inline-label-inline-tokens_dwuol_wsgh3_129:not(#\9) {
|
|
131
131
|
padding-block-end: 0;
|
|
132
132
|
transform: translateY(-1.5px);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.awsui_disabled-reason-
|
|
135
|
+
.awsui_disabled-reason-tooltip_dwuol_wsgh3_134:not(#\9) {
|
|
136
136
|
/* used in test-utils or tests */
|
|
137
137
|
}
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"placeholder": "
|
|
6
|
-
"disabled": "
|
|
7
|
-
"item": "
|
|
8
|
-
"checkbox": "
|
|
9
|
-
"option-group": "awsui_option-
|
|
10
|
-
"filter": "
|
|
11
|
-
"trigger": "
|
|
12
|
-
"layout-strut": "awsui_layout-
|
|
13
|
-
"list-bottom": "awsui_list-
|
|
14
|
-
"selected-icon": "awsui_selected-
|
|
15
|
-
"show-label-tag": "awsui_show-label-
|
|
16
|
-
"inline-token-trigger": "awsui_inline-token-
|
|
17
|
-
"inline-token-list": "awsui_inline-token-
|
|
18
|
-
"inline-token-hidden-placeholder": "awsui_inline-token-hidden-
|
|
19
|
-
"inline-token-counter": "awsui_inline-token-
|
|
20
|
-
"inline-label-trigger-wrapper": "awsui_inline-label-trigger-
|
|
21
|
-
"inline-label-wrapper": "awsui_inline-label-
|
|
22
|
-
"inline-label": "awsui_inline-
|
|
23
|
-
"inline-label-disabled": "awsui_inline-label-
|
|
24
|
-
"inline-label-inline-tokens": "awsui_inline-label-inline-
|
|
25
|
-
"disabled-reason-tooltip": "awsui_disabled-reason-
|
|
5
|
+
"placeholder": "awsui_placeholder_dwuol_wsgh3_9",
|
|
6
|
+
"disabled": "awsui_disabled_dwuol_wsgh3_14",
|
|
7
|
+
"item": "awsui_item_dwuol_wsgh3_18",
|
|
8
|
+
"checkbox": "awsui_checkbox_dwuol_wsgh3_22",
|
|
9
|
+
"option-group": "awsui_option-group_dwuol_wsgh3_31",
|
|
10
|
+
"filter": "awsui_filter_dwuol_wsgh3_35",
|
|
11
|
+
"trigger": "awsui_trigger_dwuol_wsgh3_40",
|
|
12
|
+
"layout-strut": "awsui_layout-strut_dwuol_wsgh3_46",
|
|
13
|
+
"list-bottom": "awsui_list-bottom_dwuol_wsgh3_52",
|
|
14
|
+
"selected-icon": "awsui_selected-icon_dwuol_wsgh3_56",
|
|
15
|
+
"show-label-tag": "awsui_show-label-tag_dwuol_wsgh3_61",
|
|
16
|
+
"inline-token-trigger": "awsui_inline-token-trigger_dwuol_wsgh3_65",
|
|
17
|
+
"inline-token-list": "awsui_inline-token-list_dwuol_wsgh3_72",
|
|
18
|
+
"inline-token-hidden-placeholder": "awsui_inline-token-hidden-placeholder_dwuol_wsgh3_86",
|
|
19
|
+
"inline-token-counter": "awsui_inline-token-counter_dwuol_wsgh3_92",
|
|
20
|
+
"inline-label-trigger-wrapper": "awsui_inline-label-trigger-wrapper_dwuol_wsgh3_96",
|
|
21
|
+
"inline-label-wrapper": "awsui_inline-label-wrapper_dwuol_wsgh3_100",
|
|
22
|
+
"inline-label": "awsui_inline-label_dwuol_wsgh3_96",
|
|
23
|
+
"inline-label-disabled": "awsui_inline-label-disabled_dwuol_wsgh3_125",
|
|
24
|
+
"inline-label-inline-tokens": "awsui_inline-label-inline-tokens_dwuol_wsgh3_129",
|
|
25
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_dwuol_wsgh3_134"
|
|
26
26
|
};
|
|
27
27
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { GroupedControlPosition } from '../../internal/context/control-group-context';
|
|
2
3
|
import { MultiselectProps } from '../../multiselect/interfaces';
|
|
3
4
|
import { FormFieldValidationControlProps } from '../../types/form-field';
|
|
4
5
|
import { OptionDefinition } from '../../types/option';
|
|
@@ -16,6 +17,7 @@ export interface TriggerProps extends FormFieldValidationControlProps {
|
|
|
16
17
|
inFilteringToken?: 'root' | 'nested';
|
|
17
18
|
selectedOptions?: ReadonlyArray<OptionDefinition>;
|
|
18
19
|
renderOption?: SelectProps.SelectOptionItemRenderer;
|
|
20
|
+
groupedControlPosition?: GroupedControlPosition | null;
|
|
19
21
|
}
|
|
20
22
|
declare const Trigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
21
23
|
export default Trigger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../../../src/select/parts/trigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../../../src/select/parts/trigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AAGtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAIzD,MAAM,WAAW,YAAa,SAAQ,+BAA+B;IACnE,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,kBAAkB,CAAC;IACjC,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,gBAAgB,CAAC,cAAc,CAAC;IAC9E,gBAAgB,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACrC,eAAe,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAClD,YAAY,CAAC,EAAE,WAAW,CAAC,wBAAwB,CAAC;IACpD,sBAAsB,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;CACxD;AAED,QAAA,MAAM,OAAO,wFA6IZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -9,7 +9,7 @@ import { useVisualRefresh } from '../../internal/hooks/use-visual-mode';
|
|
|
9
9
|
import { joinStrings } from '../../internal/utils/strings';
|
|
10
10
|
import InternalToken from '../../token/internal';
|
|
11
11
|
import styles from './styles.css.js';
|
|
12
|
-
const Trigger = React.forwardRef(({ ariaLabelledby, ariaDescribedby, controlId, invalid, inlineLabelText, warning, triggerProps, selectedOption, selectedOptions, triggerVariant, inFilteringToken, isOpen, placeholder, disabled, readOnly, renderOption, }, ref) => {
|
|
12
|
+
const Trigger = React.forwardRef(({ ariaLabelledby, ariaDescribedby, controlId, invalid, inlineLabelText, warning, triggerProps, selectedOption, selectedOptions, triggerVariant, inFilteringToken, isOpen, placeholder, disabled, readOnly, renderOption, groupedControlPosition, }, ref) => {
|
|
13
13
|
const isVisualRefresh = useVisualRefresh();
|
|
14
14
|
const generatedId = useUniqueId();
|
|
15
15
|
const id = controlId !== null && controlId !== void 0 ? controlId : generatedId;
|
|
@@ -56,7 +56,7 @@ const Trigger = React.forwardRef(({ ariaLabelledby, ariaDescribedby, controlId,
|
|
|
56
56
|
triggerContent = (React.createElement("span", { id: triggerContentId, className: styles.trigger }, selectedOption.label || selectedOption.value));
|
|
57
57
|
}
|
|
58
58
|
const mergedRef = useMergeRefs(triggerProps.ref, ref);
|
|
59
|
-
const triggerButton = (React.createElement(ButtonTrigger, { ...triggerProps, id: id, ref: mergedRef, pressed: !!isOpen, disabled: disabled, readOnly: readOnly, invalid: invalid, warning: warning && !invalid, inFilteringToken: inFilteringToken, inlineTokens: triggerVariant === 'tokens', hasCustomContent: hasCustomContent, ariaDescribedby: ariaDescribedby, ariaLabelledby: ariaLabelledbyIds }, triggerContent));
|
|
59
|
+
const triggerButton = (React.createElement(ButtonTrigger, { ...triggerProps, id: id, ref: mergedRef, pressed: !!isOpen, disabled: disabled, readOnly: readOnly, invalid: invalid, warning: warning && !invalid, inFilteringToken: inFilteringToken, inlineTokens: triggerVariant === 'tokens', hasCustomContent: hasCustomContent, ariaDescribedby: ariaDescribedby, ariaLabelledby: ariaLabelledbyIds, groupedControlPosition: groupedControlPosition }, triggerContent));
|
|
60
60
|
return (React.createElement(React.Fragment, null, inlineLabelText ? (React.createElement("div", { className: styles['inline-label-wrapper'] },
|
|
61
61
|
React.createElement("label", { htmlFor: controlId, className: clsx(styles['inline-label'], disabled && styles['inline-label-disabled'], triggerVariant === 'tokens' && styles['inline-label-inline-tokens']) }, inlineLabelText),
|
|
62
62
|
React.createElement("div", { className: styles['inline-label-trigger-wrapper'] }, triggerButton))) : (React.createElement(React.Fragment, null, triggerButton))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../../src/select/parts/trigger.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE1F,OAAO,aAAa,MAAM,0CAA0C,CAAC;AACrE,OAAO,MAAM,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../../src/select/parts/trigger.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs, useUniqueId } from '@cloudscape-design/component-toolkit/internal';\n\nimport ButtonTrigger from '../../internal/components/button-trigger';\nimport Option from '../../internal/components/option';\nimport { GroupedControlPosition } from '../../internal/context/control-group-context';\nimport { useVisualRefresh } from '../../internal/hooks/use-visual-mode';\nimport { joinStrings } from '../../internal/utils/strings';\nimport { MultiselectProps } from '../../multiselect/interfaces';\nimport InternalToken from '../../token/internal';\nimport { FormFieldValidationControlProps } from '../../types/form-field';\nimport { OptionDefinition } from '../../types/option';\nimport { SelectProps } from '../interfaces';\nimport { SelectTriggerProps } from '../utils/use-select';\n\nimport styles from './styles.css.js';\n\nexport interface TriggerProps extends FormFieldValidationControlProps {\n placeholder: string | undefined;\n disabled: boolean | undefined;\n readOnly?: boolean;\n triggerProps: SelectTriggerProps;\n selectedOption: OptionDefinition | null;\n inlineLabelText?: string;\n isOpen?: boolean;\n triggerVariant?: SelectProps.TriggerVariant | MultiselectProps.TriggerVariant;\n inFilteringToken?: 'root' | 'nested';\n selectedOptions?: ReadonlyArray<OptionDefinition>;\n renderOption?: SelectProps.SelectOptionItemRenderer;\n groupedControlPosition?: GroupedControlPosition | null;\n}\n\nconst Trigger = React.forwardRef(\n (\n {\n ariaLabelledby,\n ariaDescribedby,\n controlId,\n invalid,\n inlineLabelText,\n warning,\n triggerProps,\n selectedOption,\n selectedOptions,\n triggerVariant,\n inFilteringToken,\n isOpen,\n placeholder,\n disabled,\n readOnly,\n renderOption,\n groupedControlPosition,\n }: TriggerProps,\n ref: React.Ref<HTMLButtonElement>\n ) => {\n const isVisualRefresh = useVisualRefresh();\n const generatedId = useUniqueId();\n const id = controlId ?? generatedId;\n const triggerContentId = useUniqueId('trigger-content-');\n\n let ariaLabelledbyIds = joinStrings(ariaLabelledby, triggerContentId);\n\n let triggerContent = null;\n let hasCustomContent = false;\n if (triggerVariant === 'tokens') {\n if (selectedOptions?.length) {\n triggerContent = (\n <span\n className={clsx(\n styles['inline-token-trigger'],\n disabled && styles['inline-token-trigger--disabled'],\n isVisualRefresh && styles['visual-refresh']\n )}\n >\n <span className={styles['inline-token-list']}>\n {selectedOptions.map(({ label }, i) => (\n <InternalToken key={i} label={label} variant=\"inline\" disabled={disabled} />\n ))}\n </span>\n <span className={styles['inline-token-counter']} id={triggerContentId}>\n <span className={styles['inline-token-hidden-placeholder']}>{placeholder}</span>\n <span>({selectedOptions.length})</span>\n </span>\n </span>\n );\n ariaLabelledbyIds = ariaLabelledby;\n } else {\n triggerContent = (\n <span className={clsx(styles.placeholder, styles.trigger, disabled && styles.disabled)} id={triggerContentId}>\n {placeholder}\n </span>\n );\n }\n } else if (!selectedOption) {\n triggerContent = (\n <span className={clsx(styles.placeholder, styles.trigger, disabled && styles.disabled)} id={triggerContentId}>\n {placeholder}\n </span>\n );\n } else if (triggerVariant === 'option') {\n const triggerCustomContent = renderOption?.({\n filterText: undefined,\n item: {\n type: 'trigger',\n option: selectedOption,\n },\n });\n if (triggerCustomContent) {\n hasCustomContent = true;\n triggerContent = (\n <Option\n customContent={triggerCustomContent}\n id={triggerContentId}\n option={{ ...selectedOption, disabled }}\n triggerVariant={true}\n />\n );\n } else {\n triggerContent = (\n <Option id={triggerContentId} option={{ ...selectedOption, disabled }} triggerVariant={true} />\n );\n }\n } else {\n triggerContent = (\n <span id={triggerContentId} className={styles.trigger}>\n {selectedOption.label || selectedOption.value}\n </span>\n );\n }\n\n const mergedRef = useMergeRefs(triggerProps.ref, ref);\n const triggerButton = (\n <ButtonTrigger\n {...triggerProps}\n id={id}\n ref={mergedRef}\n pressed={!!isOpen}\n disabled={disabled}\n readOnly={readOnly}\n invalid={invalid}\n warning={warning && !invalid}\n inFilteringToken={inFilteringToken}\n inlineTokens={triggerVariant === 'tokens'}\n hasCustomContent={hasCustomContent}\n ariaDescribedby={ariaDescribedby}\n ariaLabelledby={ariaLabelledbyIds}\n groupedControlPosition={groupedControlPosition}\n >\n {triggerContent}\n </ButtonTrigger>\n );\n return (\n <>\n {inlineLabelText ? (\n <div className={styles['inline-label-wrapper']}>\n <label\n htmlFor={controlId}\n className={clsx(\n styles['inline-label'],\n disabled && styles['inline-label-disabled'],\n triggerVariant === 'tokens' && styles['inline-label-inline-tokens']\n )}\n >\n {inlineLabelText}\n </label>\n <div className={styles['inline-label-trigger-wrapper']}>{triggerButton}</div>\n </div>\n ) : (\n <>{triggerButton}</>\n )}\n </>\n );\n }\n);\n\nexport default Trigger;\n"]}
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"with-toolbar": "awsui_with-
|
|
6
|
-
"header": "
|
|
7
|
-
"list--with-icons": "awsui_list--with-
|
|
8
|
-
"header-link": "awsui_header-
|
|
9
|
-
"header-link--has-logo": "awsui_header-link--has-
|
|
10
|
-
"header-link-text": "awsui_header-link-
|
|
11
|
-
"header-logo": "awsui_header-
|
|
12
|
-
"header-logo--stretched": "awsui_header-logo--
|
|
13
|
-
"items-control": "awsui_items-
|
|
14
|
-
"list-container": "awsui_list-
|
|
15
|
-
"divider-header": "awsui_divider-
|
|
16
|
-
"root--collapsed": "awsui_root--
|
|
17
|
-
"list": "
|
|
18
|
-
"list-variant-root": "awsui_list-variant-
|
|
19
|
-
"list-variant-root--first": "awsui_list-variant-root--
|
|
20
|
-
"list-variant-root--collapsed": "awsui_list-variant-root--
|
|
21
|
-
"list-variant-expandable-link-group": "awsui_list-variant-expandable-link-
|
|
22
|
-
"list-variant-expandable-link-group--collapsed": "awsui_list-variant-expandable-link-group--
|
|
23
|
-
"list-variant-section": "awsui_list-variant-
|
|
24
|
-
"list-variant-section--collapsed": "awsui_list-variant-section--
|
|
25
|
-
"list-variant-link-group": "awsui_list-variant-link-
|
|
26
|
-
"list-variant-link-group--collapsed": "awsui_list-variant-link-group--
|
|
27
|
-
"link-group-children": "awsui_link-group-
|
|
28
|
-
"link-group-children--collapsed": "awsui_link-group-children--
|
|
29
|
-
"link-group-children-inner": "awsui_link-group-children-
|
|
30
|
-
"link-group-children-inner--expanded": "awsui_link-group-children-inner--
|
|
31
|
-
"link-group-children-inner--settled": "awsui_link-group-children-inner--
|
|
32
|
-
"list-variant-section-group": "awsui_list-variant-section-
|
|
33
|
-
"list-variant-section-group--collapsed": "awsui_list-variant-section-group--
|
|
34
|
-
"list-item": "awsui_list-
|
|
35
|
-
"list-item--collapsed": "awsui_list-item--
|
|
36
|
-
"list-item--link-with-info": "awsui_list-item--link-with-
|
|
37
|
-
"list-item--group": "awsui_list-item--
|
|
38
|
-
"section": "
|
|
39
|
-
"section-group": "awsui_section-
|
|
40
|
-
"expandable-link-group": "awsui_expandable-link-
|
|
41
|
-
"section--no-ident": "awsui_section--no-
|
|
42
|
-
"section--expand-icon-end": "awsui_section--expand-icon-
|
|
43
|
-
"expandable-link-group--no-ident": "awsui_expandable-link-group--no-
|
|
44
|
-
"expandable-link-group--expand-icon-end": "awsui_expandable-link-group--expand-icon-
|
|
45
|
-
"section--collapsed": "awsui_section--
|
|
46
|
-
"expandable-link-group--collapsed": "awsui_expandable-link-group--
|
|
47
|
-
"expandable-link-group--active": "awsui_expandable-link-group--
|
|
48
|
-
"item-icon": "awsui_item-
|
|
49
|
-
"refresh": "
|
|
50
|
-
"section-header": "awsui_section-
|
|
51
|
-
"section-group-title": "awsui_section-group-
|
|
52
|
-
"section-group-title--collapsed": "awsui_section-group-title--
|
|
53
|
-
"link": "
|
|
54
|
-
"link-active": "awsui_link-
|
|
55
|
-
"link--collapsed": "awsui_link--
|
|
56
|
-
"header-link-active": "awsui_header-link-
|
|
57
|
-
"link-text-wrapper-content": "awsui_link-text-wrapper-
|
|
58
|
-
"link-text-wrapper": "awsui_link-text-
|
|
59
|
-
"link-text-wrapper--collapsed": "awsui_link-text-wrapper--
|
|
60
|
-
"label-text": "awsui_label-
|
|
61
|
-
"label-text--collapsed": "awsui_label-text--
|
|
62
|
-
"info": "
|
|
63
|
-
"item-icon--collapsed": "awsui_item-icon--
|
|
64
|
-
"external-icon": "awsui_external-
|
|
65
|
-
"divider": "
|
|
66
|
-
"divider-default": "awsui_divider-
|
|
67
|
-
"divider--collapsed": "awsui_divider--
|
|
4
|
+
"root": "awsui_root_l0dv0_8nwvw_10",
|
|
5
|
+
"with-toolbar": "awsui_with-toolbar_l0dv0_8nwvw_44",
|
|
6
|
+
"header": "awsui_header_l0dv0_8nwvw_48",
|
|
7
|
+
"list--with-icons": "awsui_list--with-icons_l0dv0_8nwvw_61",
|
|
8
|
+
"header-link": "awsui_header-link_l0dv0_8nwvw_65",
|
|
9
|
+
"header-link--has-logo": "awsui_header-link--has-logo_l0dv0_8nwvw_76",
|
|
10
|
+
"header-link-text": "awsui_header-link-text_l0dv0_8nwvw_76",
|
|
11
|
+
"header-logo": "awsui_header-logo_l0dv0_8nwvw_81",
|
|
12
|
+
"header-logo--stretched": "awsui_header-logo--stretched_l0dv0_8nwvw_87",
|
|
13
|
+
"items-control": "awsui_items-control_l0dv0_8nwvw_92",
|
|
14
|
+
"list-container": "awsui_list-container_l0dv0_8nwvw_97",
|
|
15
|
+
"divider-header": "awsui_divider-header_l0dv0_8nwvw_105",
|
|
16
|
+
"root--collapsed": "awsui_root--collapsed_l0dv0_8nwvw_109",
|
|
17
|
+
"list": "awsui_list_l0dv0_8nwvw_61",
|
|
18
|
+
"list-variant-root": "awsui_list-variant-root_l0dv0_8nwvw_122",
|
|
19
|
+
"list-variant-root--first": "awsui_list-variant-root--first_l0dv0_8nwvw_129",
|
|
20
|
+
"list-variant-root--collapsed": "awsui_list-variant-root--collapsed_l0dv0_8nwvw_132",
|
|
21
|
+
"list-variant-expandable-link-group": "awsui_list-variant-expandable-link-group_l0dv0_8nwvw_139",
|
|
22
|
+
"list-variant-expandable-link-group--collapsed": "awsui_list-variant-expandable-link-group--collapsed_l0dv0_8nwvw_145",
|
|
23
|
+
"list-variant-section": "awsui_list-variant-section_l0dv0_8nwvw_149",
|
|
24
|
+
"list-variant-section--collapsed": "awsui_list-variant-section--collapsed_l0dv0_8nwvw_152",
|
|
25
|
+
"list-variant-link-group": "awsui_list-variant-link-group_l0dv0_8nwvw_161",
|
|
26
|
+
"list-variant-link-group--collapsed": "awsui_list-variant-link-group--collapsed_l0dv0_8nwvw_164",
|
|
27
|
+
"link-group-children": "awsui_link-group-children_l0dv0_8nwvw_168",
|
|
28
|
+
"link-group-children--collapsed": "awsui_link-group-children--collapsed_l0dv0_8nwvw_172",
|
|
29
|
+
"link-group-children-inner": "awsui_link-group-children-inner_l0dv0_8nwvw_176",
|
|
30
|
+
"link-group-children-inner--expanded": "awsui_link-group-children-inner--expanded_l0dv0_8nwvw_182",
|
|
31
|
+
"link-group-children-inner--settled": "awsui_link-group-children-inner--settled_l0dv0_8nwvw_185",
|
|
32
|
+
"list-variant-section-group": "awsui_list-variant-section-group_l0dv0_8nwvw_189",
|
|
33
|
+
"list-variant-section-group--collapsed": "awsui_list-variant-section-group--collapsed_l0dv0_8nwvw_195",
|
|
34
|
+
"list-item": "awsui_list-item_l0dv0_8nwvw_199",
|
|
35
|
+
"list-item--collapsed": "awsui_list-item--collapsed_l0dv0_8nwvw_212",
|
|
36
|
+
"list-item--link-with-info": "awsui_list-item--link-with-info_l0dv0_8nwvw_218",
|
|
37
|
+
"list-item--group": "awsui_list-item--group_l0dv0_8nwvw_223",
|
|
38
|
+
"section": "awsui_section_l0dv0_8nwvw_223",
|
|
39
|
+
"section-group": "awsui_section-group_l0dv0_8nwvw_224",
|
|
40
|
+
"expandable-link-group": "awsui_expandable-link-group_l0dv0_8nwvw_229",
|
|
41
|
+
"section--no-ident": "awsui_section--no-ident_l0dv0_8nwvw_232",
|
|
42
|
+
"section--expand-icon-end": "awsui_section--expand-icon-end_l0dv0_8nwvw_232",
|
|
43
|
+
"expandable-link-group--no-ident": "awsui_expandable-link-group--no-ident_l0dv0_8nwvw_233",
|
|
44
|
+
"expandable-link-group--expand-icon-end": "awsui_expandable-link-group--expand-icon-end_l0dv0_8nwvw_234",
|
|
45
|
+
"section--collapsed": "awsui_section--collapsed_l0dv0_8nwvw_237",
|
|
46
|
+
"expandable-link-group--collapsed": "awsui_expandable-link-group--collapsed_l0dv0_8nwvw_238",
|
|
47
|
+
"expandable-link-group--active": "awsui_expandable-link-group--active_l0dv0_8nwvw_262",
|
|
48
|
+
"item-icon": "awsui_item-icon_l0dv0_8nwvw_266",
|
|
49
|
+
"refresh": "awsui_refresh_l0dv0_8nwvw_283",
|
|
50
|
+
"section-header": "awsui_section-header_l0dv0_8nwvw_304",
|
|
51
|
+
"section-group-title": "awsui_section-group-title_l0dv0_8nwvw_319",
|
|
52
|
+
"section-group-title--collapsed": "awsui_section-group-title--collapsed_l0dv0_8nwvw_327",
|
|
53
|
+
"link": "awsui_link_l0dv0_8nwvw_168",
|
|
54
|
+
"link-active": "awsui_link-active_l0dv0_8nwvw_359",
|
|
55
|
+
"link--collapsed": "awsui_link--collapsed_l0dv0_8nwvw_366",
|
|
56
|
+
"header-link-active": "awsui_header-link-active_l0dv0_8nwvw_434",
|
|
57
|
+
"link-text-wrapper-content": "awsui_link-text-wrapper-content_l0dv0_8nwvw_463",
|
|
58
|
+
"link-text-wrapper": "awsui_link-text-wrapper_l0dv0_8nwvw_463",
|
|
59
|
+
"link-text-wrapper--collapsed": "awsui_link-text-wrapper--collapsed_l0dv0_8nwvw_477",
|
|
60
|
+
"label-text": "awsui_label-text_l0dv0_8nwvw_482",
|
|
61
|
+
"label-text--collapsed": "awsui_label-text--collapsed_l0dv0_8nwvw_489",
|
|
62
|
+
"info": "awsui_info_l0dv0_8nwvw_495",
|
|
63
|
+
"item-icon--collapsed": "awsui_item-icon--collapsed_l0dv0_8nwvw_504",
|
|
64
|
+
"external-icon": "awsui_external-icon_l0dv0_8nwvw_508",
|
|
65
|
+
"divider": "awsui_divider_l0dv0_8nwvw_105",
|
|
66
|
+
"divider-default": "awsui_divider-default_l0dv0_8nwvw_516",
|
|
67
|
+
"divider--collapsed": "awsui_divider--collapsed_l0dv0_8nwvw_520"
|
|
68
68
|
};
|
|
69
69
|
|