@cloudscape-design/components 3.0.680 → 3.0.682
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/button/index.d.ts.map +1 -1
- package/button/index.js +2 -2
- package/button/index.js.map +1 -1
- package/button/interfaces.d.ts +6 -0
- package/button/interfaces.d.ts.map +1 -1
- package/button/interfaces.js.map +1 -1
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +15 -4
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +20 -19
- package/button/styles.scoped.css +161 -167
- package/button/styles.selectors.js +20 -19
- package/button/test-classes/styles.css.js +6 -0
- package/button/test-classes/styles.scoped.css +7 -0
- package/button/test-classes/styles.selectors.js +7 -0
- package/button-dropdown/category-elements/expandable-category-element.js +1 -1
- package/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.js +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
- package/button-dropdown/index.d.ts.map +1 -1
- package/button-dropdown/index.js +2 -2
- package/button-dropdown/index.js.map +1 -1
- package/button-dropdown/interfaces.d.ts +7 -0
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/button-dropdown/internal.d.ts.map +1 -1
- package/button-dropdown/internal.js +4 -2
- package/button-dropdown/internal.js.map +1 -1
- package/button-dropdown/item-element/index.js +1 -1
- package/button-dropdown/item-element/index.js.map +1 -1
- package/calendar/grid/index.d.ts +3 -1
- package/calendar/grid/index.d.ts.map +1 -1
- package/calendar/grid/index.js +26 -6
- package/calendar/grid/index.js.map +1 -1
- package/calendar/grid/use-calendar-grid-keyboard-navigation.d.ts +2 -1
- package/calendar/grid/use-calendar-grid-keyboard-navigation.d.ts.map +1 -1
- package/calendar/grid/use-calendar-grid-keyboard-navigation.js +8 -5
- package/calendar/grid/use-calendar-grid-keyboard-navigation.js.map +1 -1
- package/calendar/interfaces.d.ts +9 -0
- package/calendar/interfaces.d.ts.map +1 -1
- package/calendar/interfaces.js.map +1 -1
- package/calendar/internal.d.ts +1 -1
- package/calendar/internal.d.ts.map +1 -1
- package/calendar/internal.js +7 -5
- package/calendar/internal.js.map +1 -1
- package/calendar/styles.css.js +21 -20
- package/calendar/styles.scoped.css +46 -42
- package/calendar/styles.selectors.js +21 -20
- package/calendar/utils/navigation.d.ts +10 -10
- package/calendar/utils/navigation.d.ts.map +1 -1
- package/calendar/utils/navigation.js +29 -29
- package/calendar/utils/navigation.js.map +1 -1
- package/column-layout/flexible-column-layout/index.d.ts +2 -2
- package/column-layout/flexible-column-layout/index.d.ts.map +1 -1
- package/column-layout/flexible-column-layout/index.js +3 -2
- package/column-layout/flexible-column-layout/index.js.map +1 -1
- package/column-layout/flexible-column-layout/styles.css.js +5 -5
- package/column-layout/flexible-column-layout/styles.scoped.css +99 -4
- package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
- package/column-layout/grid-column-layout.d.ts +2 -2
- package/column-layout/grid-column-layout.d.ts.map +1 -1
- package/column-layout/grid-column-layout.js +2 -2
- package/column-layout/grid-column-layout.js.map +1 -1
- package/column-layout/interfaces.d.ts +4 -0
- package/column-layout/interfaces.d.ts.map +1 -1
- package/column-layout/interfaces.js.map +1 -1
- package/column-layout/internal.d.ts +1 -1
- package/column-layout/internal.d.ts.map +1 -1
- package/column-layout/internal.js +2 -2
- package/column-layout/internal.js.map +1 -1
- package/date-picker/index.d.ts.map +1 -1
- package/date-picker/index.js +2 -2
- package/date-picker/index.js.map +1 -1
- package/date-range-picker/calendar/grids/grid.d.ts +2 -1
- package/date-range-picker/calendar/grids/grid.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/grid.js +55 -7
- package/date-range-picker/calendar/grids/grid.js.map +1 -1
- package/date-range-picker/calendar/grids/index.d.ts +2 -1
- package/date-range-picker/calendar/grids/index.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/index.js +20 -12
- package/date-range-picker/calendar/grids/index.js.map +1 -1
- package/date-range-picker/calendar/grids/styles.css.js +28 -27
- package/date-range-picker/calendar/grids/styles.scoped.css +46 -42
- package/date-range-picker/calendar/grids/styles.selectors.js +28 -27
- package/date-range-picker/calendar/index.d.ts +2 -1
- package/date-range-picker/calendar/index.d.ts.map +1 -1
- package/date-range-picker/calendar/index.js +2 -2
- package/date-range-picker/calendar/index.js.map +1 -1
- package/date-range-picker/dropdown.d.ts +2 -2
- package/date-range-picker/dropdown.d.ts.map +1 -1
- package/date-range-picker/dropdown.js +2 -2
- package/date-range-picker/dropdown.js.map +1 -1
- package/date-range-picker/index.d.ts.map +1 -1
- package/date-range-picker/index.js +2 -2
- package/date-range-picker/index.js.map +1 -1
- package/date-range-picker/interfaces.d.ts +9 -0
- package/date-range-picker/interfaces.d.ts.map +1 -1
- package/date-range-picker/interfaces.js.map +1 -1
- package/grid/internal.d.ts +4 -0
- package/grid/internal.d.ts.map +1 -1
- package/grid/internal.js +3 -2
- package/grid/internal.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/internal/base-component/styles.scoped.css +12 -10
- package/internal/components/option/interfaces.d.ts +2 -0
- package/internal/components/option/interfaces.d.ts.map +1 -1
- package/internal/components/option/interfaces.js.map +1 -1
- package/internal/components/selectable-item/index.d.ts +1 -0
- package/internal/components/selectable-item/index.d.ts.map +1 -1
- package/internal/components/selectable-item/index.js +3 -0
- package/internal/components/selectable-item/index.js.map +1 -1
- package/internal/components/tooltip/index.d.ts +3 -1
- package/internal/components/tooltip/index.d.ts.map +1 -1
- package/internal/components/tooltip/index.js +3 -3
- package/internal/components/tooltip/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.d.ts +2 -0
- package/internal/generated/styles/tokens.js +4 -2
- package/internal/generated/theming/index.cjs +78 -12
- package/internal/generated/theming/index.cjs.d.ts +16 -0
- package/internal/generated/theming/index.d.ts +16 -0
- package/internal/generated/theming/index.js +78 -12
- package/{button-dropdown/utils/use-hidden-description.d.ts → internal/hooks/use-hidden-description/index.d.ts} +2 -1
- package/internal/hooks/use-hidden-description/index.d.ts.map +1 -0
- package/{button-dropdown/utils/use-hidden-description.js → internal/hooks/use-hidden-description/index.js} +3 -2
- package/internal/hooks/use-hidden-description/index.js.map +1 -0
- package/internal/manifest.json +1 -1
- package/key-value-pairs/index.d.ts +5 -0
- package/key-value-pairs/index.d.ts.map +1 -0
- package/key-value-pairs/index.js +18 -0
- package/key-value-pairs/index.js.map +1 -0
- package/key-value-pairs/interfaces.d.ts +42 -0
- package/key-value-pairs/interfaces.d.ts.map +1 -0
- package/key-value-pairs/interfaces.js +2 -0
- package/key-value-pairs/interfaces.js.map +1 -0
- package/key-value-pairs/internal.d.ts +5 -0
- package/key-value-pairs/internal.d.ts.map +1 -0
- package/key-value-pairs/internal.js +41 -0
- package/key-value-pairs/internal.js.map +1 -0
- package/key-value-pairs/styles.css.js +13 -0
- package/key-value-pairs/styles.scoped.css +210 -0
- package/key-value-pairs/styles.selectors.js +14 -0
- package/package.json +2 -1
- package/segmented-control/interfaces.d.ts +2 -0
- package/segmented-control/interfaces.d.ts.map +1 -1
- package/segmented-control/interfaces.js.map +1 -1
- package/segmented-control/internal-segmented-control.d.ts.map +1 -1
- package/segmented-control/internal-segmented-control.js +11 -8
- package/segmented-control/internal-segmented-control.js.map +1 -1
- package/segmented-control/segment.d.ts.map +1 -1
- package/segmented-control/segment.js +14 -4
- package/segmented-control/segment.js.map +1 -1
- package/segmented-control/styles.css.js +15 -14
- package/segmented-control/styles.scoped.css +37 -33
- package/segmented-control/styles.selectors.js +15 -14
- package/select/interfaces.d.ts +1 -0
- package/select/interfaces.d.ts.map +1 -1
- package/select/interfaces.js.map +1 -1
- package/select/parts/filter.d.ts +1 -1
- package/select/parts/item.d.ts.map +1 -1
- package/select/parts/item.js +13 -3
- package/select/parts/item.js.map +1 -1
- package/select/parts/multiselect-item.d.ts.map +1 -1
- package/select/parts/multiselect-item.js +15 -3
- package/select/parts/multiselect-item.js.map +1 -1
- package/select/parts/styles.css.js +17 -16
- package/select/parts/styles.scoped.css +21 -17
- package/select/parts/styles.selectors.js +17 -16
- package/split-panel/icons/styles.css.js +22 -22
- package/split-panel/icons/styles.scoped.css +25 -25
- package/split-panel/icons/styles.selectors.js +22 -22
- package/table/body-cell/disabled-inline-editor.js +1 -1
- package/table/body-cell/disabled-inline-editor.js.map +1 -1
- package/tabs/interfaces.d.ts +5 -0
- package/tabs/interfaces.d.ts.map +1 -1
- package/tabs/interfaces.js.map +1 -1
- package/tabs/styles.css.js +28 -25
- package/tabs/styles.scoped.css +60 -49
- package/tabs/styles.selectors.js +28 -25
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +38 -14
- package/tabs/tab-header-bar.js.map +1 -1
- package/test-utils/dom/button/index.d.ts +1 -0
- package/test-utils/dom/button/index.js +6 -2
- package/test-utils/dom/button/index.js.map +1 -1
- package/test-utils/dom/button-dropdown/index.d.ts +2 -1
- package/test-utils/dom/button-dropdown/index.js +5 -1
- package/test-utils/dom/button-dropdown/index.js.map +1 -1
- package/test-utils/dom/calendar/index.d.ts +4 -1
- package/test-utils/dom/calendar/index.js +8 -1
- package/test-utils/dom/calendar/index.js.map +1 -1
- package/test-utils/dom/date-range-picker/index.d.ts +4 -1
- package/test-utils/dom/date-range-picker/index.js +8 -2
- package/test-utils/dom/date-range-picker/index.js.map +1 -1
- package/test-utils/dom/index.d.ts +3 -0
- package/test-utils/dom/index.js +10 -2
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/internal/dropdown-host.js.map +1 -1
- package/test-utils/dom/internal/option.d.ts +1 -0
- package/test-utils/dom/internal/option.js +4 -0
- package/test-utils/dom/internal/option.js.map +1 -1
- package/test-utils/dom/key-value-pairs/index.d.ts +14 -0
- package/test-utils/dom/key-value-pairs/index.js +38 -0
- package/test-utils/dom/key-value-pairs/index.js.map +1 -0
- package/test-utils/dom/segmented-control/index.d.ts +9 -0
- package/test-utils/dom/segmented-control/index.js +15 -0
- package/test-utils/dom/segmented-control/index.js.map +1 -1
- package/test-utils/dom/tabs/index.d.ts +9 -2
- package/test-utils/dom/tabs/index.js +15 -2
- package/test-utils/dom/tabs/index.js.map +1 -1
- package/test-utils/selectors/button/index.d.ts +1 -0
- package/test-utils/selectors/button/index.js +6 -2
- package/test-utils/selectors/button/index.js.map +1 -1
- package/test-utils/selectors/button-dropdown/index.d.ts +2 -1
- package/test-utils/selectors/button-dropdown/index.js +5 -1
- package/test-utils/selectors/button-dropdown/index.js.map +1 -1
- package/test-utils/selectors/calendar/index.d.ts +4 -1
- package/test-utils/selectors/calendar/index.js +8 -1
- package/test-utils/selectors/calendar/index.js.map +1 -1
- package/test-utils/selectors/date-range-picker/index.d.ts +4 -1
- package/test-utils/selectors/date-range-picker/index.js +8 -2
- package/test-utils/selectors/date-range-picker/index.js.map +1 -1
- package/test-utils/selectors/index.d.ts +3 -0
- package/test-utils/selectors/index.js +10 -2
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/internal/dropdown-host.js.map +1 -1
- package/test-utils/selectors/internal/option.d.ts +1 -0
- package/test-utils/selectors/internal/option.js +4 -0
- package/test-utils/selectors/internal/option.js.map +1 -1
- package/test-utils/selectors/key-value-pairs/index.d.ts +14 -0
- package/test-utils/selectors/key-value-pairs/index.js +38 -0
- package/test-utils/selectors/key-value-pairs/index.js.map +1 -0
- package/test-utils/selectors/segmented-control/index.d.ts +9 -0
- package/test-utils/selectors/segmented-control/index.js +15 -0
- package/test-utils/selectors/segmented-control/index.js.map +1 -1
- package/test-utils/selectors/tabs/index.d.ts +9 -2
- package/test-utils/selectors/tabs/index.js +15 -2
- package/test-utils/selectors/tabs/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/button-dropdown/utils/use-hidden-description.d.ts.map +0 -1
- package/button-dropdown/utils/use-hidden-description.js.map +0 -1
|
@@ -94,16 +94,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.
|
|
97
|
+
.awsui_placeholder_dwuol_1bifm_97:not(#\9) {
|
|
98
98
|
color: var(--color-text-input-placeholder-mx1ygd, #5f6b7a);
|
|
99
99
|
font-style: italic;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
.awsui_item_dwuol_1bifm_102:not(#\9) {
|
|
103
103
|
display: flex;
|
|
104
104
|
align-items: center;
|
|
105
105
|
}
|
|
106
|
-
.
|
|
106
|
+
.awsui_item_dwuol_1bifm_102 > .awsui_checkbox_dwuol_1bifm_106:not(#\9) {
|
|
107
107
|
position: relative;
|
|
108
108
|
min-block-size: var(--size-control-28i7hr, 16px);
|
|
109
109
|
min-inline-size: var(--size-control-28i7hr, 16px);
|
|
@@ -112,43 +112,43 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
112
112
|
margin-inline-end: var(--space-field-horizontal-gg19kw, 12px);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.
|
|
115
|
+
.awsui_filter_dwuol_1bifm_115:not(#\9) {
|
|
116
116
|
z-index: 4;
|
|
117
117
|
flex-shrink: 0;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
.awsui_trigger_dwuol_1bifm_120:not(#\9) {
|
|
121
121
|
white-space: nowrap;
|
|
122
122
|
overflow: hidden;
|
|
123
123
|
text-overflow: ellipsis;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.awsui_layout-
|
|
126
|
+
.awsui_layout-strut_dwuol_1bifm_126:not(#\9) {
|
|
127
127
|
inline-size: 100%;
|
|
128
128
|
position: relative;
|
|
129
129
|
transform: translate3d(0, 0, 0);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.awsui_list-
|
|
132
|
+
.awsui_list-bottom_dwuol_1bifm_132:not(#\9) {
|
|
133
133
|
/* used in unit-tests */
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.awsui_selected-
|
|
136
|
+
.awsui_selected-icon_dwuol_1bifm_136:not(#\9) {
|
|
137
137
|
color: var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.awsui_show-label-
|
|
140
|
+
.awsui_show-label-tag_dwuol_1bifm_140 > .awsui_selected-icon_dwuol_1bifm_136:not(#\9) {
|
|
141
141
|
padding-inline-start: var(--space-scaled-s-aqzyko, 12px);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.awsui_inline-token-
|
|
144
|
+
.awsui_inline-token-trigger_dwuol_1bifm_144:not(#\9) {
|
|
145
145
|
display: flex;
|
|
146
146
|
flex-wrap: nowrap;
|
|
147
147
|
column-gap: var(--space-xxs-p8yyaw, 4px);
|
|
148
148
|
inline-size: 100%;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
.awsui_inline-token-
|
|
151
|
+
.awsui_inline-token-list_dwuol_1bifm_151:not(#\9) {
|
|
152
152
|
display: flex;
|
|
153
153
|
flex-wrap: nowrap;
|
|
154
154
|
align-items: center;
|
|
@@ -159,11 +159,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
159
159
|
mask-image: linear-gradient(270deg, transparent, white 20px, white);
|
|
160
160
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
161
161
|
}
|
|
162
|
-
.awsui_inline-token-
|
|
162
|
+
.awsui_inline-token-list_dwuol_1bifm_151:not(#\9):dir(rtl) {
|
|
163
163
|
-webkit-mask-image: linear-gradient(-270deg, transparent, white 20px, white);
|
|
164
164
|
mask-image: linear-gradient(-270deg, transparent, white 20px, white);
|
|
165
165
|
}
|
|
166
|
-
.awsui_inline-token-
|
|
166
|
+
.awsui_inline-token-list_dwuol_1bifm_151 > .awsui_inline-token_dwuol_1bifm_144:not(#\9) {
|
|
167
167
|
display: flex;
|
|
168
168
|
align-items: center;
|
|
169
169
|
min-inline-size: max-content;
|
|
@@ -180,25 +180,29 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
180
180
|
color: var(--color-text-body-default-at06ol, #000716);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.awsui_visual-
|
|
183
|
+
.awsui_visual-refresh_dwuol_1bifm_181 > .awsui_inline-token-list_dwuol_1bifm_151 > .awsui_inline-token_dwuol_1bifm_144:not(#\9) {
|
|
184
184
|
border-start-start-radius: var(--border-radius-badge-0z09dt, 4px);
|
|
185
185
|
border-start-end-radius: var(--border-radius-badge-0z09dt, 4px);
|
|
186
186
|
border-end-start-radius: var(--border-radius-badge-0z09dt, 4px);
|
|
187
187
|
border-end-end-radius: var(--border-radius-badge-0z09dt, 4px);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
.awsui_inline-token-hidden-
|
|
190
|
+
.awsui_inline-token-hidden-placeholder_dwuol_1bifm_188:not(#\9) {
|
|
191
191
|
position: absolute !important;
|
|
192
192
|
inset-block-start: -9999px !important;
|
|
193
193
|
inset-inline-start: -9999px !important;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.awsui_inline-token-
|
|
196
|
+
.awsui_inline-token-counter_dwuol_1bifm_194:not(#\9) {
|
|
197
197
|
white-space: nowrap;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.awsui_inline-token-trigger--
|
|
200
|
+
.awsui_inline-token-trigger--disabled_dwuol_1bifm_198 > .awsui_inline-token-list_dwuol_1bifm_151 > .awsui_inline-token_dwuol_1bifm_144:not(#\9) {
|
|
201
201
|
border-color: var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
202
202
|
background-color: var(--color-background-container-content-4un1ap, #ffffff);
|
|
203
203
|
color: var(--color-text-disabled-f4c52h, #9ba7b6);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.awsui_disabled-reason-tooltip_dwuol_1bifm_204:not(#\9) {
|
|
207
|
+
/* used in test-utils or tests */
|
|
204
208
|
}
|
|
@@ -2,21 +2,22 @@
|
|
|
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
|
-
"item": "
|
|
7
|
-
"checkbox": "
|
|
8
|
-
"filter": "
|
|
9
|
-
"trigger": "
|
|
10
|
-
"layout-strut": "awsui_layout-
|
|
11
|
-
"list-bottom": "awsui_list-
|
|
12
|
-
"selected-icon": "awsui_selected-
|
|
13
|
-
"show-label-tag": "awsui_show-label-
|
|
14
|
-
"inline-token-trigger": "awsui_inline-token-
|
|
15
|
-
"inline-token-list": "awsui_inline-token-
|
|
16
|
-
"inline-token": "awsui_inline-
|
|
17
|
-
"visual-refresh": "awsui_visual-
|
|
18
|
-
"inline-token-hidden-placeholder": "awsui_inline-token-hidden-
|
|
19
|
-
"inline-token-counter": "awsui_inline-token-
|
|
20
|
-
"inline-token-trigger--disabled": "awsui_inline-token-trigger--
|
|
5
|
+
"placeholder": "awsui_placeholder_dwuol_1bifm_97",
|
|
6
|
+
"item": "awsui_item_dwuol_1bifm_102",
|
|
7
|
+
"checkbox": "awsui_checkbox_dwuol_1bifm_106",
|
|
8
|
+
"filter": "awsui_filter_dwuol_1bifm_115",
|
|
9
|
+
"trigger": "awsui_trigger_dwuol_1bifm_120",
|
|
10
|
+
"layout-strut": "awsui_layout-strut_dwuol_1bifm_126",
|
|
11
|
+
"list-bottom": "awsui_list-bottom_dwuol_1bifm_132",
|
|
12
|
+
"selected-icon": "awsui_selected-icon_dwuol_1bifm_136",
|
|
13
|
+
"show-label-tag": "awsui_show-label-tag_dwuol_1bifm_140",
|
|
14
|
+
"inline-token-trigger": "awsui_inline-token-trigger_dwuol_1bifm_144",
|
|
15
|
+
"inline-token-list": "awsui_inline-token-list_dwuol_1bifm_151",
|
|
16
|
+
"inline-token": "awsui_inline-token_dwuol_1bifm_144",
|
|
17
|
+
"visual-refresh": "awsui_visual-refresh_dwuol_1bifm_181",
|
|
18
|
+
"inline-token-hidden-placeholder": "awsui_inline-token-hidden-placeholder_dwuol_1bifm_188",
|
|
19
|
+
"inline-token-counter": "awsui_inline-token-counter_dwuol_1bifm_194",
|
|
20
|
+
"inline-token-trigger--disabled": "awsui_inline-token-trigger--disabled_dwuol_1bifm_198",
|
|
21
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_dwuol_1bifm_204"
|
|
21
22
|
};
|
|
22
23
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"preference-icon--svg": "awsui_preference-icon--
|
|
5
|
-
"preference-icon--layout-border": "awsui_preference-icon--layout-
|
|
6
|
-
"preference-icon--layout-background": "awsui_preference-icon--layout-
|
|
7
|
-
"preference-icon--layout-header": "awsui_preference-icon--layout-
|
|
8
|
-
"preference-icon--border": "awsui_preference-icon--
|
|
9
|
-
"preference-icon--primary-button": "awsui_preference-icon--primary-
|
|
10
|
-
"preference-icon--secondary": "awsui_preference-icon--
|
|
11
|
-
"preference-icon--disabled-element": "awsui_preference-icon--disabled-
|
|
12
|
-
"preference-icon--separator": "awsui_preference-icon--
|
|
13
|
-
"preference-icon--focus-text": "awsui_preference-icon--focus-
|
|
14
|
-
"preference-icon-refresh--svg": "awsui_preference-icon-refresh--
|
|
15
|
-
"preference-icon-refresh--layout-top": "awsui_preference-icon-refresh--layout-
|
|
16
|
-
"preference-icon-refresh--layout-main": "awsui_preference-icon-refresh--layout-
|
|
17
|
-
"preference-icon-refresh--primary": "awsui_preference-icon-refresh--
|
|
18
|
-
"preference-icon-refresh--disabled": "awsui_preference-icon-refresh--
|
|
19
|
-
"preference-icon-refresh--column-header": "awsui_preference-icon-refresh--column-
|
|
20
|
-
"preference-icon-refresh--window": "awsui_preference-icon-refresh--
|
|
21
|
-
"preference-icon-refresh--secondary": "awsui_preference-icon-refresh--
|
|
22
|
-
"preference-icon-refresh--default": "awsui_preference-icon-refresh--
|
|
23
|
-
"preference-icon-refresh--separator": "awsui_preference-icon-refresh--
|
|
24
|
-
"preference-icon-refresh--input-default": "awsui_preference-icon-refresh--input-
|
|
25
|
-
"preference-icon-refresh--heading": "awsui_preference-icon-refresh--
|
|
4
|
+
"preference-icon--svg": "awsui_preference-icon--svg_d4xxm_1022u_97",
|
|
5
|
+
"preference-icon--layout-border": "awsui_preference-icon--layout-border_d4xxm_1022u_103",
|
|
6
|
+
"preference-icon--layout-background": "awsui_preference-icon--layout-background_d4xxm_1022u_107",
|
|
7
|
+
"preference-icon--layout-header": "awsui_preference-icon--layout-header_d4xxm_1022u_110",
|
|
8
|
+
"preference-icon--border": "awsui_preference-icon--border_d4xxm_1022u_113",
|
|
9
|
+
"preference-icon--primary-button": "awsui_preference-icon--primary-button_d4xxm_1022u_117",
|
|
10
|
+
"preference-icon--secondary": "awsui_preference-icon--secondary_d4xxm_1022u_120",
|
|
11
|
+
"preference-icon--disabled-element": "awsui_preference-icon--disabled-element_d4xxm_1022u_123",
|
|
12
|
+
"preference-icon--separator": "awsui_preference-icon--separator_d4xxm_1022u_126",
|
|
13
|
+
"preference-icon--focus-text": "awsui_preference-icon--focus-text_d4xxm_1022u_129",
|
|
14
|
+
"preference-icon-refresh--svg": "awsui_preference-icon-refresh--svg_d4xxm_1022u_133",
|
|
15
|
+
"preference-icon-refresh--layout-top": "awsui_preference-icon-refresh--layout-top_d4xxm_1022u_139",
|
|
16
|
+
"preference-icon-refresh--layout-main": "awsui_preference-icon-refresh--layout-main_d4xxm_1022u_142",
|
|
17
|
+
"preference-icon-refresh--primary": "awsui_preference-icon-refresh--primary_d4xxm_1022u_145",
|
|
18
|
+
"preference-icon-refresh--disabled": "awsui_preference-icon-refresh--disabled_d4xxm_1022u_148",
|
|
19
|
+
"preference-icon-refresh--column-header": "awsui_preference-icon-refresh--column-header_d4xxm_1022u_151",
|
|
20
|
+
"preference-icon-refresh--window": "awsui_preference-icon-refresh--window_d4xxm_1022u_154",
|
|
21
|
+
"preference-icon-refresh--secondary": "awsui_preference-icon-refresh--secondary_d4xxm_1022u_158",
|
|
22
|
+
"preference-icon-refresh--default": "awsui_preference-icon-refresh--default_d4xxm_1022u_161",
|
|
23
|
+
"preference-icon-refresh--separator": "awsui_preference-icon-refresh--separator_d4xxm_1022u_164",
|
|
24
|
+
"preference-icon-refresh--input-default": "awsui_preference-icon-refresh--input-default_d4xxm_1022u_167",
|
|
25
|
+
"preference-icon-refresh--heading": "awsui_preference-icon-refresh--heading_d4xxm_1022u_170"
|
|
26
26
|
};
|
|
27
27
|
|
|
@@ -94,79 +94,79 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.awsui_preference-icon--
|
|
97
|
+
.awsui_preference-icon--svg_d4xxm_1022u_97:not(#\9) {
|
|
98
98
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
99
99
|
}
|
|
100
|
-
.awsui_preference-icon--
|
|
100
|
+
.awsui_preference-icon--svg_d4xxm_1022u_97:not(#\9):dir(rtl) {
|
|
101
101
|
transform: scaleX(-1);
|
|
102
102
|
}
|
|
103
|
-
.awsui_preference-icon--layout-
|
|
103
|
+
.awsui_preference-icon--layout-border_d4xxm_1022u_103:not(#\9) {
|
|
104
104
|
stroke: var(--color-background-home-header-2rudu7, #000716);
|
|
105
105
|
fill: var(--color-background-container-content-4un1ap, #ffffff);
|
|
106
106
|
}
|
|
107
|
-
.awsui_preference-icon--layout-
|
|
107
|
+
.awsui_preference-icon--layout-background_d4xxm_1022u_107:not(#\9) {
|
|
108
108
|
fill: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
109
109
|
}
|
|
110
|
-
.awsui_preference-icon--layout-
|
|
110
|
+
.awsui_preference-icon--layout-header_d4xxm_1022u_110:not(#\9) {
|
|
111
111
|
fill: var(--color-background-home-header-2rudu7, #000716);
|
|
112
112
|
}
|
|
113
|
-
.awsui_preference-icon--
|
|
113
|
+
.awsui_preference-icon--border_d4xxm_1022u_113:not(#\9) {
|
|
114
114
|
stroke: var(--color-text-group-label-jpw8sm, #414d5c);
|
|
115
115
|
fill: var(--color-background-container-content-4un1ap, #ffffff);
|
|
116
116
|
}
|
|
117
|
-
.awsui_preference-icon--primary-
|
|
117
|
+
.awsui_preference-icon--primary-button_d4xxm_1022u_117:not(#\9) {
|
|
118
118
|
fill: var(--color-background-button-primary-default-jrg2xu, #0972d3);
|
|
119
119
|
}
|
|
120
|
-
.awsui_preference-icon--
|
|
120
|
+
.awsui_preference-icon--secondary_d4xxm_1022u_120:not(#\9) {
|
|
121
121
|
fill: var(--color-text-group-label-jpw8sm, #414d5c);
|
|
122
122
|
}
|
|
123
|
-
.awsui_preference-icon--disabled-
|
|
123
|
+
.awsui_preference-icon--disabled-element_d4xxm_1022u_123:not(#\9) {
|
|
124
124
|
fill: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
125
125
|
}
|
|
126
|
-
.awsui_preference-icon--
|
|
126
|
+
.awsui_preference-icon--separator_d4xxm_1022u_126:not(#\9) {
|
|
127
127
|
stroke: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
128
128
|
}
|
|
129
|
-
.awsui_preference-icon--focus-
|
|
129
|
+
.awsui_preference-icon--focus-text_d4xxm_1022u_129:not(#\9) {
|
|
130
130
|
fill: var(--color-text-interactive-default-lnx6lk, #414d5c);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.awsui_preference-icon-refresh--
|
|
133
|
+
.awsui_preference-icon-refresh--svg_d4xxm_1022u_133:not(#\9) {
|
|
134
134
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
135
135
|
}
|
|
136
|
-
.awsui_preference-icon-refresh--
|
|
136
|
+
.awsui_preference-icon-refresh--svg_d4xxm_1022u_133:not(#\9):dir(rtl) {
|
|
137
137
|
transform: scaleX(-1);
|
|
138
138
|
}
|
|
139
|
-
.awsui_preference-icon-refresh--layout-
|
|
140
|
-
fill: var(--color-background-button-primary-disabled-
|
|
139
|
+
.awsui_preference-icon-refresh--layout-top_d4xxm_1022u_139:not(#\9) {
|
|
140
|
+
fill: var(--color-background-button-primary-disabled-yblour, #e9ebed);
|
|
141
141
|
}
|
|
142
|
-
.awsui_preference-icon-refresh--layout-
|
|
142
|
+
.awsui_preference-icon-refresh--layout-main_d4xxm_1022u_142:not(#\9) {
|
|
143
143
|
fill: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
144
144
|
}
|
|
145
|
-
.awsui_preference-icon-refresh--
|
|
145
|
+
.awsui_preference-icon-refresh--primary_d4xxm_1022u_145:not(#\9) {
|
|
146
146
|
fill: var(--color-background-button-primary-default-jrg2xu, #0972d3);
|
|
147
147
|
}
|
|
148
|
-
.awsui_preference-icon-refresh--
|
|
148
|
+
.awsui_preference-icon-refresh--disabled_d4xxm_1022u_148:not(#\9) {
|
|
149
149
|
fill: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
150
150
|
}
|
|
151
|
-
.awsui_preference-icon-refresh--column-
|
|
151
|
+
.awsui_preference-icon-refresh--column-header_d4xxm_1022u_151:not(#\9) {
|
|
152
152
|
fill: var(--color-text-input-disabled-f8pjm5, #9ba7b6);
|
|
153
153
|
}
|
|
154
|
-
.awsui_preference-icon-refresh--
|
|
154
|
+
.awsui_preference-icon-refresh--window_d4xxm_1022u_154:not(#\9) {
|
|
155
155
|
stroke: var(--color-background-home-header-2rudu7, #000716);
|
|
156
156
|
fill: var(--color-background-container-content-4un1ap, #ffffff);
|
|
157
157
|
}
|
|
158
|
-
.awsui_preference-icon-refresh--
|
|
158
|
+
.awsui_preference-icon-refresh--secondary_d4xxm_1022u_158:not(#\9) {
|
|
159
159
|
fill: var(--color-text-body-secondary-w9jvno, #414d5c);
|
|
160
160
|
}
|
|
161
|
-
.awsui_preference-icon-refresh--
|
|
161
|
+
.awsui_preference-icon-refresh--default_d4xxm_1022u_161:not(#\9) {
|
|
162
162
|
fill: var(--color-text-body-default-at06ol, #000716);
|
|
163
163
|
}
|
|
164
|
-
.awsui_preference-icon-refresh--
|
|
164
|
+
.awsui_preference-icon-refresh--separator_d4xxm_1022u_164:not(#\9) {
|
|
165
165
|
stroke: var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
166
166
|
}
|
|
167
|
-
.awsui_preference-icon-refresh--input-
|
|
167
|
+
.awsui_preference-icon-refresh--input-default_d4xxm_1022u_167:not(#\9) {
|
|
168
168
|
fill: var(--color-border-input-default-1zl7hq, #7d8998);
|
|
169
169
|
}
|
|
170
|
-
.awsui_preference-icon-refresh--
|
|
170
|
+
.awsui_preference-icon-refresh--heading_d4xxm_1022u_170:not(#\9) {
|
|
171
171
|
fill: var(--color-text-heading-default-lstrpn, #000716);
|
|
172
172
|
}
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"preference-icon--svg": "awsui_preference-icon--
|
|
6
|
-
"preference-icon--layout-border": "awsui_preference-icon--layout-
|
|
7
|
-
"preference-icon--layout-background": "awsui_preference-icon--layout-
|
|
8
|
-
"preference-icon--layout-header": "awsui_preference-icon--layout-
|
|
9
|
-
"preference-icon--border": "awsui_preference-icon--
|
|
10
|
-
"preference-icon--primary-button": "awsui_preference-icon--primary-
|
|
11
|
-
"preference-icon--secondary": "awsui_preference-icon--
|
|
12
|
-
"preference-icon--disabled-element": "awsui_preference-icon--disabled-
|
|
13
|
-
"preference-icon--separator": "awsui_preference-icon--
|
|
14
|
-
"preference-icon--focus-text": "awsui_preference-icon--focus-
|
|
15
|
-
"preference-icon-refresh--svg": "awsui_preference-icon-refresh--
|
|
16
|
-
"preference-icon-refresh--layout-top": "awsui_preference-icon-refresh--layout-
|
|
17
|
-
"preference-icon-refresh--layout-main": "awsui_preference-icon-refresh--layout-
|
|
18
|
-
"preference-icon-refresh--primary": "awsui_preference-icon-refresh--
|
|
19
|
-
"preference-icon-refresh--disabled": "awsui_preference-icon-refresh--
|
|
20
|
-
"preference-icon-refresh--column-header": "awsui_preference-icon-refresh--column-
|
|
21
|
-
"preference-icon-refresh--window": "awsui_preference-icon-refresh--
|
|
22
|
-
"preference-icon-refresh--secondary": "awsui_preference-icon-refresh--
|
|
23
|
-
"preference-icon-refresh--default": "awsui_preference-icon-refresh--
|
|
24
|
-
"preference-icon-refresh--separator": "awsui_preference-icon-refresh--
|
|
25
|
-
"preference-icon-refresh--input-default": "awsui_preference-icon-refresh--input-
|
|
26
|
-
"preference-icon-refresh--heading": "awsui_preference-icon-refresh--
|
|
5
|
+
"preference-icon--svg": "awsui_preference-icon--svg_d4xxm_1022u_97",
|
|
6
|
+
"preference-icon--layout-border": "awsui_preference-icon--layout-border_d4xxm_1022u_103",
|
|
7
|
+
"preference-icon--layout-background": "awsui_preference-icon--layout-background_d4xxm_1022u_107",
|
|
8
|
+
"preference-icon--layout-header": "awsui_preference-icon--layout-header_d4xxm_1022u_110",
|
|
9
|
+
"preference-icon--border": "awsui_preference-icon--border_d4xxm_1022u_113",
|
|
10
|
+
"preference-icon--primary-button": "awsui_preference-icon--primary-button_d4xxm_1022u_117",
|
|
11
|
+
"preference-icon--secondary": "awsui_preference-icon--secondary_d4xxm_1022u_120",
|
|
12
|
+
"preference-icon--disabled-element": "awsui_preference-icon--disabled-element_d4xxm_1022u_123",
|
|
13
|
+
"preference-icon--separator": "awsui_preference-icon--separator_d4xxm_1022u_126",
|
|
14
|
+
"preference-icon--focus-text": "awsui_preference-icon--focus-text_d4xxm_1022u_129",
|
|
15
|
+
"preference-icon-refresh--svg": "awsui_preference-icon-refresh--svg_d4xxm_1022u_133",
|
|
16
|
+
"preference-icon-refresh--layout-top": "awsui_preference-icon-refresh--layout-top_d4xxm_1022u_139",
|
|
17
|
+
"preference-icon-refresh--layout-main": "awsui_preference-icon-refresh--layout-main_d4xxm_1022u_142",
|
|
18
|
+
"preference-icon-refresh--primary": "awsui_preference-icon-refresh--primary_d4xxm_1022u_145",
|
|
19
|
+
"preference-icon-refresh--disabled": "awsui_preference-icon-refresh--disabled_d4xxm_1022u_148",
|
|
20
|
+
"preference-icon-refresh--column-header": "awsui_preference-icon-refresh--column-header_d4xxm_1022u_151",
|
|
21
|
+
"preference-icon-refresh--window": "awsui_preference-icon-refresh--window_d4xxm_1022u_154",
|
|
22
|
+
"preference-icon-refresh--secondary": "awsui_preference-icon-refresh--secondary_d4xxm_1022u_158",
|
|
23
|
+
"preference-icon-refresh--default": "awsui_preference-icon-refresh--default_d4xxm_1022u_161",
|
|
24
|
+
"preference-icon-refresh--separator": "awsui_preference-icon-refresh--separator_d4xxm_1022u_164",
|
|
25
|
+
"preference-icon-refresh--input-default": "awsui_preference-icon-refresh--input-default_d4xxm_1022u_167",
|
|
26
|
+
"preference-icon-refresh--heading": "awsui_preference-icon-refresh--heading_d4xxm_1022u_170"
|
|
27
27
|
};
|
|
28
28
|
|
|
@@ -3,7 +3,7 @@ import { __rest } from "tslib";
|
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
import React, { useRef, useState } from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import useHiddenDescription from '../../
|
|
6
|
+
import useHiddenDescription from '../../internal/hooks/use-hidden-description';
|
|
7
7
|
import Icon from '../../icon/internal';
|
|
8
8
|
import PopoverContainer from '../../popover/container';
|
|
9
9
|
import PopoverBody from '../../popover/body';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disabled-inline-editor.js","sourceRoot":"","sources":["../../../../src/table/body-cell/disabled-inline-editor.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,oBAAoB,MAAM,
|
|
1
|
+
{"version":3,"file":"disabled-inline-editor.js","sourceRoot":"","sources":["../../../../src/table/body-cell/disabled-inline-editor.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, { useRef, useState } from 'react';\nimport clsx from 'clsx';\nimport useHiddenDescription from '../../internal/hooks/use-hidden-description';\nimport Icon from '../../icon/internal';\nimport PopoverContainer from '../../popover/container';\nimport PopoverBody from '../../popover/body';\nimport Portal from '../../internal/components/portal';\nimport { usePortalModeClasses } from '../../internal/hooks/use-portal-mode-classes';\nimport Arrow from '../../popover/arrow';\nimport { useClickAway } from './click-away';\nimport { TableTdElement, TableTdElementProps } from './td-element';\nimport { TableBodyCellProps } from './index';\nimport styles from './styles.css.js';\nimport { useSingleTabStopNavigation } from '../../internal/context/single-tab-stop-navigation-context';\n\ninterface DisabledInlineEditorProps<ItemType> extends TableBodyCellProps<ItemType> {\n editDisabledReason: string;\n}\n\nexport function DisabledInlineEditor<ItemType>({\n className,\n item,\n column,\n ariaLabels,\n isEditing,\n onEditStart,\n onEditEnd,\n editDisabledReason,\n isVisualRefresh,\n interactiveCell = true,\n resizableColumns = false,\n ...rest\n}: DisabledInlineEditorProps<ItemType>) {\n const clickAwayRef = useClickAway(() => {\n if (isEditing) {\n onEditEnd(true);\n }\n });\n\n const [hasHover, setHasHover] = useState(false);\n const [hasFocus, setHasFocus] = useState(false);\n // When a cell is both expandable and editable the icon is always shown.\n const showIcon = hasHover || hasFocus || isEditing || !interactiveCell;\n\n const iconRef = useRef(null);\n const buttonRef = useRef<HTMLButtonElement>(null);\n const portalRef = useRef<HTMLSpanElement>(null);\n\n function handleEscape(event: React.KeyboardEvent): void {\n if (event.key === 'Escape') {\n onEditEnd(true);\n }\n }\n\n const onClick = () => {\n onEditStart();\n buttonRef.current?.focus();\n };\n\n const { targetProps, descriptionEl } = useHiddenDescription(editDisabledReason);\n const portalClasses = usePortalModeClasses(portalRef);\n\n const { tabIndex } = useSingleTabStopNavigation(buttonRef);\n\n return (\n <TableTdElement\n {...rest}\n nativeAttributes={\n { 'data-inline-editing-active': isEditing.toString() } as TableTdElementProps['nativeAttributes']\n }\n className={clsx(\n className,\n styles['body-cell-editable'],\n interactiveCell && styles['body-cell-interactive'],\n resizableColumns && styles['resizable-columns'],\n isEditing && styles['body-cell-edit-disabled-popover'],\n isVisualRefresh && styles['is-visual-refresh']\n )}\n onClick={interactiveCell && !isEditing ? onClick : undefined}\n onMouseEnter={() => setHasHover(true)}\n onMouseLeave={() => setHasHover(false)}\n ref={clickAwayRef}\n >\n {column.cell(item)}\n\n <div className={styles['body-cell-editor-wrapper']}>\n <button\n ref={buttonRef}\n tabIndex={tabIndex}\n className={clsx(styles['body-cell-editor'], styles['body-cell-editor-disabled'])}\n aria-label={ariaLabels?.activateEditLabel?.(column, item)}\n aria-haspopup=\"dialog\"\n aria-disabled=\"true\"\n onClick={!interactiveCell && !isEditing ? onClick : undefined}\n onFocus={() => setHasFocus(true)}\n onBlur={() => setHasFocus(false)}\n onKeyDown={handleEscape}\n {...targetProps}\n >\n {showIcon && <Icon name=\"lock-private\" variant=\"normal\" __internalRootRef={iconRef} />}\n {descriptionEl}\n </button>\n </div>\n\n {isEditing && (\n <span ref={portalRef}>\n <Portal>\n <span className={portalClasses}>\n <PopoverContainer\n size=\"medium\"\n fixedWidth={false}\n position=\"top\"\n trackRef={iconRef}\n arrow={position => <Arrow position={position} />}\n renderWithPortal={true}\n zIndex={2000}\n >\n <PopoverBody\n dismissButton={false}\n dismissAriaLabel={undefined}\n header={null}\n onDismiss={() => {}}\n overflowVisible=\"both\"\n >\n <span aria-live=\"polite\">{editDisabledReason}</span>\n </PopoverBody>\n </PopoverContainer>\n </span>\n </Portal>\n </span>\n )}\n </TableTdElement>\n );\n}\n"]}
|
package/tabs/interfaces.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface TabsProps extends BaseComponentProps {
|
|
|
10
10
|
* - `label` (ReactNode) - Tab label shown in the UI.
|
|
11
11
|
* - `content` (ReactNode) - (Optional) Tab content to render in the container.
|
|
12
12
|
* - `disabled` (boolean) - (Optional) Specifies if this tab is disabled.
|
|
13
|
+
* - `disabledReason` (string) - (Optional) Displays tooltip near the tab when disabled. Use to provide additional context.
|
|
13
14
|
* - `dismissible` (boolean) - (Optional) Determines whether the tab includes a dismiss icon button. By default, the dismiss button is not included.
|
|
14
15
|
* - `dismissLabel` (boolean) - (Optional) Specifies an aria-label for the dismiss icon button.
|
|
15
16
|
* - `dismissDisabled` (boolean) - (Optional) Determines whether the dismiss button is disabled.
|
|
@@ -88,6 +89,10 @@ export declare namespace TabsProps {
|
|
|
88
89
|
* Whether this tab is disabled.
|
|
89
90
|
*/
|
|
90
91
|
disabled?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Provides a reason why this tab is disabled.
|
|
94
|
+
*/
|
|
95
|
+
disabledReason?: string;
|
|
91
96
|
/**
|
|
92
97
|
* (Optional) Determines whether the tab includes a dismiss icon button. By default, the dismiss button is not included.
|
|
93
98
|
* When a user clicks on this button the onDismiss handler is called.
|
package/tabs/interfaces.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/tabs/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,MAAM,WAAW,SAAU,SAAQ,kBAAkB;IACnD
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/tabs/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,MAAM,WAAW,SAAU,SAAQ,kBAAkB;IACnD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAEnC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;IAE7D;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC;IACpC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AACD,yBAAiB,SAAS,CAAC;IACzB,KAAY,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IAE1D,UAAiB,GAAG;QAClB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QACX;;WAEG;QACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB;;WAEG;QACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB;;WAEG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB;;;WAGG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB;;WAEG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B;;;;WAIG;QACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB;;WAEG;QACH,SAAS,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;QACnC;;;;;;WAMG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;IAED,UAAiB,YAAY;QAC3B;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QACpB;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB;IAED,UAAiB,WAAW;QAC1B;;WAEG;QACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B;;WAEG;QACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B;;;WAGG;QACH,kCAAkC,CAAC,EAAE,MAAM,CAAC;KAC7C;CACF"}
|
package/tabs/interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/tabs/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\nimport { ButtonProps } from '../button/interfaces';\n\nexport interface TabsProps extends BaseComponentProps {\n /**\n * Specifies the tabs to display. Each tab object has the following properties:\n *\n * - `id` (string) - The tab identifier. This value needs to be passed to the Tabs component as `activeTabId` to select this tab.\n * - `label` (ReactNode) - Tab label shown in the UI.\n * - `content` (ReactNode) - (Optional) Tab content to render in the container.\n * - `disabled` (boolean) - (Optional) Specifies if this tab is disabled.\n * - `dismissible` (boolean) - (Optional) Determines whether the tab includes a dismiss icon button. By default, the dismiss button is not included.\n * - `dismissLabel` (boolean) - (Optional) Specifies an aria-label for the dismiss icon button.\n * - `dismissDisabled` (boolean) - (Optional) Determines whether the dismiss button is disabled.\n * - `action` (ReactNode) - (Optional) Action for the tab, rendered next to its corresponding label.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add\n * an icon button or icon button dropdown.\n * - `onDismiss` (ButtonProps['onClick']) - (Optional) Called when a user clicks on the dismiss button.\n * - `href` (string) - (Optional) You can use this parameter to change the default `href` of the internal tab anchor. The\n * `click` event default behavior is prevented, unless the user clicks the tab with a key modifier (that is, CTRL,\n * ALT, SHIFT, META). This enables the user to open new browser tabs with an initially selected component tab,\n * if your application routing can handle such deep links. You can manually update routing on the current page\n * using the `activeTabHref` property of the `change` event's detail.\n */\n tabs: ReadonlyArray<TabsProps.Tab>;\n\n /**\n * The possible visual variants of tabs are the following:\n * * `default` - Use in any context.\n * * `container` - Use this variant to have the tabs displayed within a container header.\n * * `stacked` - Use this variant directly adjacent to other stacked containers (such as a container, table).\n * @visualrefresh `stacked` variant\n */\n variant?: TabsProps.Variant;\n\n /**\n * Called whenever the user selects a different tab.\n * The event's `detail` contains the new `activeTabId`.\n */\n onChange?: NonCancelableEventHandler<TabsProps.ChangeDetail>;\n\n /**\n * The `id` of the currently active tab.\n * * If you don't set this property, the component activates the first tab and switches tabs automatically when a tab header is clicked (that is, uncontrolled behavior).\n * * If you explicitly set this property, you must set define an `onChange` handler to update the property when a tab header is clicked (that is, controlled behavior).\n */\n activeTabId?: string;\n\n /**\n * Provides an `aria-label` to the tab container.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets the `aria-labelledby` property on the tab container.\n * If there's a visible label element that you can reference, use this instead of `ariaLabel`.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * Determines whether the tab content has padding. If `true`, removes the default padding from the tab content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * @i18n\n */\n i18nStrings?: TabsProps.I18nStrings;\n /**\n * Enabling this property makes the tab content fit to the available height.\n * If the tab content is too short, it will stretch. If the tab content is too long, a vertical scrollbar will be shown.\n */\n fitHeight?: boolean;\n}\nexport namespace TabsProps {\n export type Variant = 'default' | 'container' | 'stacked';\n\n export interface Tab {\n /**\n * The tab id. This value will be need to be passed to the Tabs component as `activeTabId` to select this tab.\n */\n id: string;\n /**\n * Tab label shown in the UI.\n */\n label: React.ReactNode;\n /**\n * Tab content to render in the container.\n */\n content?: React.ReactNode;\n /**\n * Whether this tab is disabled.\n */\n disabled?: boolean;\n /**\n * (Optional) Determines whether the tab includes a dismiss icon button. By default, the dismiss button is not included.\n * When a user clicks on this button the onDismiss handler is called.\n */\n dismissible?: boolean;\n /**\n * (Optional) Specifies an aria-label for the dismiss icon button.\n */\n dismissLabel?: string;\n /**\n * (Optional) Determines whether the dismiss button is disabled.\n */\n dismissDisabled?: boolean;\n /**\n * (Optional) Action for the tab, rendered next to its corresponding label.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add\n * an icon button or icon button dropdown.\n */\n action?: React.ReactNode;\n /**\n * (event => void) Called when a user clicks on the dismiss button.\n */\n onDismiss?: ButtonProps['onClick'];\n /**\n * You can use this parameter to change the default `href` of the internal tab anchor. The\n * `click` event default behavior is prevented, unless the user clicks the tab with a key modifier (CTRL,\n * ALT, SHIFT, META). This allows to open new browser tabs with an initially selected component tab,\n * when the routing can handle such deep links. You can manually update routing on the current page\n * using the `activeTabHref` property of the `change` event's detail.\n */\n href?: string;\n }\n\n export interface ChangeDetail {\n /**\n * The ID of the clicked tab.\n */\n activeTabId: string;\n /**\n * The `href` attribute of the clicked tab, if defined.\n */\n activeTabHref?: string;\n }\n\n export interface I18nStrings {\n /**\n * ARIA label for the scroll left button that appears when the tab header is wider than the container.\n */\n scrollLeftAriaLabel?: string;\n /**\n * ARIA label for the scroll right button that appears when the tab header is wider than the container.\n */\n scrollRightAriaLabel?: string;\n /**\n * ARIA role description for the Tabs component when an action or dismissible prop is in use. This is used\n * with role=\"application\" to provide further information on the purpose of this component\n */\n tabsWithActionsAriaRoleDescription?: string;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/tabs/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\nimport { ButtonProps } from '../button/interfaces';\n\nexport interface TabsProps extends BaseComponentProps {\n /**\n * Specifies the tabs to display. Each tab object has the following properties:\n *\n * - `id` (string) - The tab identifier. This value needs to be passed to the Tabs component as `activeTabId` to select this tab.\n * - `label` (ReactNode) - Tab label shown in the UI.\n * - `content` (ReactNode) - (Optional) Tab content to render in the container.\n * - `disabled` (boolean) - (Optional) Specifies if this tab is disabled.\n * - `disabledReason` (string) - (Optional) Displays tooltip near the tab when disabled. Use to provide additional context.\n * - `dismissible` (boolean) - (Optional) Determines whether the tab includes a dismiss icon button. By default, the dismiss button is not included.\n * - `dismissLabel` (boolean) - (Optional) Specifies an aria-label for the dismiss icon button.\n * - `dismissDisabled` (boolean) - (Optional) Determines whether the dismiss button is disabled.\n * - `action` (ReactNode) - (Optional) Action for the tab, rendered next to its corresponding label.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add\n * an icon button or icon button dropdown.\n * - `onDismiss` (ButtonProps['onClick']) - (Optional) Called when a user clicks on the dismiss button.\n * - `href` (string) - (Optional) You can use this parameter to change the default `href` of the internal tab anchor. The\n * `click` event default behavior is prevented, unless the user clicks the tab with a key modifier (that is, CTRL,\n * ALT, SHIFT, META). This enables the user to open new browser tabs with an initially selected component tab,\n * if your application routing can handle such deep links. You can manually update routing on the current page\n * using the `activeTabHref` property of the `change` event's detail.\n */\n tabs: ReadonlyArray<TabsProps.Tab>;\n\n /**\n * The possible visual variants of tabs are the following:\n * * `default` - Use in any context.\n * * `container` - Use this variant to have the tabs displayed within a container header.\n * * `stacked` - Use this variant directly adjacent to other stacked containers (such as a container, table).\n * @visualrefresh `stacked` variant\n */\n variant?: TabsProps.Variant;\n\n /**\n * Called whenever the user selects a different tab.\n * The event's `detail` contains the new `activeTabId`.\n */\n onChange?: NonCancelableEventHandler<TabsProps.ChangeDetail>;\n\n /**\n * The `id` of the currently active tab.\n * * If you don't set this property, the component activates the first tab and switches tabs automatically when a tab header is clicked (that is, uncontrolled behavior).\n * * If you explicitly set this property, you must set define an `onChange` handler to update the property when a tab header is clicked (that is, controlled behavior).\n */\n activeTabId?: string;\n\n /**\n * Provides an `aria-label` to the tab container.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets the `aria-labelledby` property on the tab container.\n * If there's a visible label element that you can reference, use this instead of `ariaLabel`.\n * Don't use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * Determines whether the tab content has padding. If `true`, removes the default padding from the tab content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * @i18n\n */\n i18nStrings?: TabsProps.I18nStrings;\n /**\n * Enabling this property makes the tab content fit to the available height.\n * If the tab content is too short, it will stretch. If the tab content is too long, a vertical scrollbar will be shown.\n */\n fitHeight?: boolean;\n}\nexport namespace TabsProps {\n export type Variant = 'default' | 'container' | 'stacked';\n\n export interface Tab {\n /**\n * The tab id. This value will be need to be passed to the Tabs component as `activeTabId` to select this tab.\n */\n id: string;\n /**\n * Tab label shown in the UI.\n */\n label: React.ReactNode;\n /**\n * Tab content to render in the container.\n */\n content?: React.ReactNode;\n /**\n * Whether this tab is disabled.\n */\n disabled?: boolean;\n /**\n * Provides a reason why this tab is disabled.\n */\n disabledReason?: string;\n /**\n * (Optional) Determines whether the tab includes a dismiss icon button. By default, the dismiss button is not included.\n * When a user clicks on this button the onDismiss handler is called.\n */\n dismissible?: boolean;\n /**\n * (Optional) Specifies an aria-label for the dismiss icon button.\n */\n dismissLabel?: string;\n /**\n * (Optional) Determines whether the dismiss button is disabled.\n */\n dismissDisabled?: boolean;\n /**\n * (Optional) Action for the tab, rendered next to its corresponding label.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add\n * an icon button or icon button dropdown.\n */\n action?: React.ReactNode;\n /**\n * (event => void) Called when a user clicks on the dismiss button.\n */\n onDismiss?: ButtonProps['onClick'];\n /**\n * You can use this parameter to change the default `href` of the internal tab anchor. The\n * `click` event default behavior is prevented, unless the user clicks the tab with a key modifier (CTRL,\n * ALT, SHIFT, META). This allows to open new browser tabs with an initially selected component tab,\n * when the routing can handle such deep links. You can manually update routing on the current page\n * using the `activeTabHref` property of the `change` event's detail.\n */\n href?: string;\n }\n\n export interface ChangeDetail {\n /**\n * The ID of the clicked tab.\n */\n activeTabId: string;\n /**\n * The `href` attribute of the clicked tab, if defined.\n */\n activeTabHref?: string;\n }\n\n export interface I18nStrings {\n /**\n * ARIA label for the scroll left button that appears when the tab header is wider than the container.\n */\n scrollLeftAriaLabel?: string;\n /**\n * ARIA label for the scroll right button that appears when the tab header is wider than the container.\n */\n scrollRightAriaLabel?: string;\n /**\n * ARIA role description for the Tabs component when an action or dismissible prop is in use. This is used\n * with role=\"application\" to provide further information on the purpose of this component\n */\n tabsWithActionsAriaRoleDescription?: string;\n }\n}\n"]}
|
package/tabs/styles.css.js
CHANGED
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"tabs-header": "awsui_tabs-
|
|
5
|
-
"tabs-header-list": "awsui_tabs-header-
|
|
6
|
-
"pagination-button": "awsui_pagination-
|
|
7
|
-
"pagination-button-left": "awsui_pagination-button-
|
|
8
|
-
"pagination-button-left-scrollable": "awsui_pagination-button-left-
|
|
9
|
-
"pagination-button-right": "awsui_pagination-button-
|
|
10
|
-
"pagination-button-right-scrollable": "awsui_pagination-button-right-
|
|
11
|
-
"tabs-tab": "awsui_tabs-
|
|
12
|
-
"tabs-tab-label": "awsui_tabs-tab-
|
|
13
|
-
"tabs-tab-dismiss": "awsui_tabs-tab-
|
|
14
|
-
"tabs-tab-action": "awsui_tabs-tab-
|
|
15
|
-
"tabs-tab-header-container": "awsui_tabs-tab-header-
|
|
16
|
-
"refresh": "
|
|
17
|
-
"tabs-tab-disabled": "awsui_tabs-tab-
|
|
18
|
-
"tabs-tab-link": "awsui_tabs-tab-
|
|
19
|
-
"tabs-tab-active": "awsui_tabs-tab-
|
|
20
|
-
"tabs-header-with-divider": "awsui_tabs-header-with-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"tabs
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"tabs-content-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
4
|
+
"tabs-header": "awsui_tabs-header_14rmt_1piyt_194",
|
|
5
|
+
"tabs-header-list": "awsui_tabs-header-list_14rmt_1piyt_202",
|
|
6
|
+
"pagination-button": "awsui_pagination-button_14rmt_1piyt_219",
|
|
7
|
+
"pagination-button-left": "awsui_pagination-button-left_14rmt_1piyt_226",
|
|
8
|
+
"pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_1piyt_229",
|
|
9
|
+
"pagination-button-right": "awsui_pagination-button-right_14rmt_1piyt_233",
|
|
10
|
+
"pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_1piyt_236",
|
|
11
|
+
"tabs-tab": "awsui_tabs-tab_14rmt_1piyt_241",
|
|
12
|
+
"tabs-tab-label": "awsui_tabs-tab-label_14rmt_1piyt_250",
|
|
13
|
+
"tabs-tab-dismiss": "awsui_tabs-tab-dismiss_14rmt_1piyt_261",
|
|
14
|
+
"tabs-tab-action": "awsui_tabs-tab-action_14rmt_1piyt_262",
|
|
15
|
+
"tabs-tab-header-container": "awsui_tabs-tab-header-container_14rmt_1piyt_266",
|
|
16
|
+
"refresh": "awsui_refresh_14rmt_1piyt_281",
|
|
17
|
+
"tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_1piyt_285",
|
|
18
|
+
"tabs-tab-link": "awsui_tabs-tab-link_14rmt_1piyt_327",
|
|
19
|
+
"tabs-tab-active": "awsui_tabs-tab-active_14rmt_1piyt_403",
|
|
20
|
+
"tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_1piyt_410",
|
|
21
|
+
"tabs-tab-focusable": "awsui_tabs-tab-focusable_14rmt_1piyt_414",
|
|
22
|
+
"root": "awsui_root_14rmt_1piyt_418",
|
|
23
|
+
"tabs": "awsui_tabs_14rmt_1piyt_194",
|
|
24
|
+
"tabs-content": "awsui_tabs-content_14rmt_1piyt_459",
|
|
25
|
+
"fit-height": "awsui_fit-height_14rmt_1piyt_463",
|
|
26
|
+
"tabs-content-active": "awsui_tabs-content-active_14rmt_1piyt_469",
|
|
27
|
+
"tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_1piyt_483",
|
|
28
|
+
"with-paddings": "awsui_with-paddings_14rmt_1piyt_483",
|
|
29
|
+
"tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_1piyt_494",
|
|
30
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_14rmt_1piyt_505",
|
|
31
|
+
"tabs-tab-focused": "awsui_tabs-tab-focused_14rmt_1piyt_509"
|
|
29
32
|
};
|
|
30
33
|
|