@cloudscape-design/components 3.0.1400 → 3.0.1402
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/autosuggest/i18n-utils.d.ts +11 -0
- package/autosuggest/i18n-utils.d.ts.map +1 -0
- package/autosuggest/i18n-utils.js +15 -0
- package/autosuggest/i18n-utils.js.map +1 -0
- package/autosuggest/index.d.ts.map +1 -1
- package/autosuggest/index.js +3 -0
- package/autosuggest/index.js.map +1 -1
- package/autosuggest/interfaces.d.ts +94 -1
- package/autosuggest/interfaces.d.ts.map +1 -1
- package/autosuggest/interfaces.js.map +1 -1
- package/autosuggest/internal.d.ts.map +1 -1
- package/autosuggest/internal.js +21 -12
- package/autosuggest/internal.js.map +1 -1
- package/autosuggest/options-controller.d.ts +3 -1
- package/autosuggest/options-controller.d.ts.map +1 -1
- package/autosuggest/options-controller.js +3 -6
- package/autosuggest/options-controller.js.map +1 -1
- package/box/interfaces.d.ts +4 -1
- package/box/interfaces.d.ts.map +1 -1
- package/box/interfaces.js.map +1 -1
- package/box/styles.css.js +214 -220
- package/box/styles.scoped.css +259 -289
- package/box/styles.selectors.js +214 -220
- package/button/interfaces.d.ts +3 -1
- package/button/interfaces.d.ts.map +1 -1
- package/button/interfaces.js.map +1 -1
- package/button/internal.d.ts +2 -2
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +9 -1
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +24 -23
- package/button/styles.scoped.css +116 -70
- package/button/styles.selectors.js +24 -23
- package/button-dropdown/filter.d.ts +1 -1
- package/button-dropdown/filter.d.ts.map +1 -1
- package/button-dropdown/interfaces.d.ts +6 -3
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/button-group/interfaces.d.ts +22 -13
- package/button-group/interfaces.d.ts.map +1 -1
- package/button-group/interfaces.js.map +1 -1
- package/calendar/grid/index.js.map +1 -1
- package/calendar/interfaces.d.ts +3 -1
- package/calendar/interfaces.d.ts.map +1 -1
- package/calendar/interfaces.js.map +1 -1
- package/copy-to-clipboard/interfaces.d.ts +3 -1
- package/copy-to-clipboard/interfaces.d.ts.map +1 -1
- package/copy-to-clipboard/interfaces.js.map +1 -1
- package/date-range-picker/calendar/grids/grid-cell.d.ts +1 -1
- package/date-range-picker/calendar/grids/grid-cell.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/grid-cell.js.map +1 -1
- package/date-range-picker/interfaces.d.ts +3 -1
- package/date-range-picker/interfaces.d.ts.map +1 -1
- package/date-range-picker/interfaces.js.map +1 -1
- package/drawer/interfaces.d.ts +3 -1
- package/drawer/interfaces.d.ts.map +1 -1
- package/drawer/interfaces.js.map +1 -1
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.de.js +1 -1
- package/i18n/messages/all.de.json +1 -1
- package/i18n/messages/all.en-GB.js +1 -1
- package/i18n/messages/all.en-GB.json +1 -1
- package/i18n/messages/all.en.js +1 -1
- package/i18n/messages/all.en.json +1 -1
- package/i18n/messages/all.es.js +1 -1
- package/i18n/messages/all.es.json +1 -1
- package/i18n/messages/all.fr.js +1 -1
- package/i18n/messages/all.fr.json +1 -1
- package/i18n/messages/all.id.js +1 -1
- package/i18n/messages/all.id.json +1 -1
- package/i18n/messages/all.it.js +1 -1
- package/i18n/messages/all.it.json +1 -1
- package/i18n/messages/all.ja.js +1 -1
- package/i18n/messages/all.ja.json +1 -1
- package/i18n/messages/all.ko.js +1 -1
- package/i18n/messages/all.ko.json +1 -1
- package/i18n/messages/all.pt-BR.js +1 -1
- package/i18n/messages/all.pt-BR.json +1 -1
- package/i18n/messages/all.tr.js +1 -1
- package/i18n/messages/all.tr.json +1 -1
- package/i18n/messages/all.zh-CN.js +1 -1
- package/i18n/messages/all.zh-CN.json +1 -1
- package/i18n/messages/all.zh-TW.js +1 -1
- package/i18n/messages/all.zh-TW.json +1 -1
- package/i18n/messages-types.d.ts +13 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/input/internal.d.ts +1 -0
- package/input/internal.d.ts.map +1 -1
- package/input/internal.js +15 -19
- package/input/internal.js.map +1 -1
- package/input/styles.css.js +37 -36
- package/input/styles.scoped.css +180 -243
- package/input/styles.selectors.js +37 -36
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/base-theme/styles.scoped.css +0 -61
- package/internal/components/autosuggest-input/index.d.ts +5 -0
- package/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/internal/components/autosuggest-input/index.js +158 -12
- package/internal/components/autosuggest-input/index.js.map +1 -1
- package/internal/components/autosuggest-input/inline-tokens.d.ts +20 -0
- package/internal/components/autosuggest-input/inline-tokens.d.ts.map +1 -0
- package/internal/components/autosuggest-input/inline-tokens.js +95 -0
- package/internal/components/autosuggest-input/inline-tokens.js.map +1 -0
- package/internal/components/autosuggest-input/overflow-dropdown.d.ts +26 -0
- package/internal/components/autosuggest-input/overflow-dropdown.d.ts.map +1 -0
- package/internal/components/autosuggest-input/overflow-dropdown.js +94 -0
- package/internal/components/autosuggest-input/overflow-dropdown.js.map +1 -0
- package/internal/components/autosuggest-input/styles.css.js +27 -2
- package/internal/components/autosuggest-input/styles.scoped.css +195 -2
- package/internal/components/autosuggest-input/styles.selectors.js +27 -2
- package/internal/components/autosuggest-input/test-classes/styles.css.js +9 -0
- package/internal/components/autosuggest-input/test-classes/styles.scoped.css +19 -0
- package/internal/components/autosuggest-input/test-classes/styles.selectors.js +10 -0
- package/internal/components/autosuggest-input/use-token-overflow.d.ts +30 -0
- package/internal/components/autosuggest-input/use-token-overflow.d.ts.map +1 -0
- package/internal/components/autosuggest-input/use-token-overflow.js +63 -0
- package/internal/components/autosuggest-input/use-token-overflow.js.map +1 -0
- package/internal/components/button-trigger/index.d.ts +4 -1
- package/internal/components/button-trigger/index.d.ts.map +1 -1
- package/internal/components/button-trigger/index.js +5 -3
- package/internal/components/button-trigger/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +23 -21
- package/internal/components/button-trigger/styles.scoped.css +79 -36
- package/internal/components/button-trigger/styles.selectors.js +23 -21
- package/internal/components/control-group/grouped-control-styles.d.ts +2 -1
- package/internal/components/control-group/grouped-control-styles.d.ts.map +1 -1
- package/internal/components/control-group/grouped-control-styles.js +3 -2
- package/internal/components/control-group/grouped-control-styles.js.map +1 -1
- package/internal/components/control-group/index.d.ts +5 -10
- package/internal/components/control-group/index.d.ts.map +1 -1
- package/internal/components/control-group/index.js +16 -10
- package/internal/components/control-group/index.js.map +1 -1
- package/internal/components/control-group/interfaces.d.ts +42 -0
- package/internal/components/control-group/interfaces.d.ts.map +1 -0
- package/internal/components/control-group/interfaces.js +2 -0
- package/internal/components/control-group/interfaces.js.map +1 -0
- package/internal/components/control-group/styles.css.js +16 -11
- package/internal/components/control-group/styles.scoped.css +34 -14
- package/internal/components/control-group/styles.selectors.js +16 -11
- package/internal/components/control-group/test-classes/styles.css.js +8 -0
- package/internal/components/control-group/test-classes/styles.scoped.css +15 -0
- package/internal/components/control-group/test-classes/styles.selectors.js +9 -0
- package/internal/components/option/interfaces.d.ts +1 -1
- package/internal/components/option/interfaces.d.ts.map +1 -1
- package/internal/components/option/interfaces.js.map +1 -1
- package/internal/context/control-group-context.d.ts +5 -0
- package/internal/context/control-group-context.d.ts.map +1 -1
- package/internal/context/control-group-context.js +1 -0
- package/internal/context/control-group-context.js.map +1 -1
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/hooks/use-hidden-description/index.d.ts +2 -1
- package/internal/hooks/use-hidden-description/index.d.ts.map +1 -1
- package/internal/hooks/use-hidden-description/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
- package/segmented-control/interfaces.d.ts +2 -2
- package/segmented-control/interfaces.d.ts.map +1 -1
- package/segmented-control/interfaces.js.map +1 -1
- package/segmented-control/styles.css.js +27 -26
- package/segmented-control/styles.scoped.css +51 -47
- package/segmented-control/styles.selectors.js +27 -26
- package/select/interfaces.d.ts +1 -1
- package/select/interfaces.js.map +1 -1
- package/select/parts/filter.d.ts +1 -1
- package/select/parts/filter.d.ts.map +1 -1
- package/table/body-cell/disabled-inline-editor.d.ts +2 -1
- package/table/body-cell/disabled-inline-editor.d.ts.map +1 -1
- package/table/body-cell/disabled-inline-editor.js.map +1 -1
- package/table/interfaces.d.ts +5 -3
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/tabs/interfaces.d.ts +4 -2
- package/tabs/interfaces.d.ts.map +1 -1
- package/tabs/interfaces.js.map +1 -1
- package/test-utils/dom/autosuggest/index.d.ts +39 -0
- package/test-utils/dom/autosuggest/index.js +68 -16
- package/test-utils/dom/autosuggest/index.js.map +1 -1
- package/test-utils/dom/internal/control-group.d.ts +5 -0
- package/test-utils/dom/internal/control-group.js +9 -2
- package/test-utils/dom/internal/control-group.js.map +1 -1
- package/test-utils/selectors/autosuggest/index.d.ts +53 -0
- package/test-utils/selectors/autosuggest/index.js +84 -16
- package/test-utils/selectors/autosuggest/index.js.map +1 -1
- package/test-utils/selectors/internal/control-group.d.ts +5 -0
- package/test-utils/selectors/internal/control-group.js +9 -2
- package/test-utils/selectors/internal/control-group.js.map +1 -1
- package/toggle-button/interfaces.d.ts +3 -1
- package/toggle-button/interfaces.d.ts.map +1 -1
- package/toggle-button/interfaces.js.map +1 -1
- package/token/dismiss-button.d.ts.map +1 -1
- package/token/dismiss-button.js +6 -3
- package/token/dismiss-button.js.map +1 -1
- package/types/option.d.ts +1 -1
- package/types/option.d.ts.map +1 -1
- package/types/option.js.map +1 -1
|
@@ -14,7 +14,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
14
14
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
15
15
|
SPDX-License-Identifier: Apache-2.0
|
|
16
16
|
*/
|
|
17
|
-
.
|
|
17
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9) {
|
|
18
18
|
font-size: var(--font-size-body-m-tq5a14, 14px);
|
|
19
19
|
line-height: var(--line-height-body-m-5xw6xo, 20px);
|
|
20
20
|
word-wrap: break-word;
|
|
@@ -41,27 +41,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
41
41
|
border-block: none;
|
|
42
42
|
--awsui-style-focus-ring-box-shadow-ka4djm: 0 0 0 var(--awsui-style-focus-ring-border-width-ka4djm, 2px) var(--awsui-style-focus-ring-border-color-ka4djm, var(--color-border-item-focused-sewkzn, #006ce0));
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.awsui_segment_8cbea_1jvup_17.awsui_full-width_8cbea_1jvup_44:not(#\9) {
|
|
45
45
|
justify-content: center;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):not(.awsui_refresh_8cbea_1jvup_47) {
|
|
48
48
|
block-size: calc(100% - var(--space-static-xxs-vzto3j, 4px) - 2 * var(--border-width-field-2365x3, 1px));
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):focus {
|
|
51
51
|
outline: none;
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
.awsui_segment_8cbea_1jvup_17.awsui_disabled_8cbea_1jvup_53:not(#\9) {
|
|
54
54
|
background: var(--awsui-style-background-disabled-ka4djm, var(--color-background-segment-disabled-mjubn7, #ffffff));
|
|
55
55
|
color: var(--awsui-style-color-disabled-ka4djm, var(--color-text-interactive-disabled-tuxgxq, #b4b4bb));
|
|
56
56
|
}
|
|
57
|
-
body[data-awsui-focus-visible=true] .
|
|
57
|
+
body[data-awsui-focus-visible=true] .awsui_segment_8cbea_1jvup_17:not(#\9):focus {
|
|
58
58
|
position: relative;
|
|
59
59
|
}
|
|
60
|
-
body[data-awsui-focus-visible=true] .
|
|
60
|
+
body[data-awsui-focus-visible=true] .awsui_segment_8cbea_1jvup_17:not(#\9):focus {
|
|
61
61
|
outline: 2px dotted transparent;
|
|
62
62
|
outline-offset: calc(var(--space-segmented-control-focus-outline-gutter-sz9jgo, 6px) - 1px);
|
|
63
63
|
}
|
|
64
|
-
body[data-awsui-focus-visible=true] .
|
|
64
|
+
body[data-awsui-focus-visible=true] .awsui_segment_8cbea_1jvup_17:not(#\9):focus::before {
|
|
65
65
|
content: " ";
|
|
66
66
|
display: block;
|
|
67
67
|
position: absolute;
|
|
@@ -76,7 +76,7 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_hhwib_17:not(#\9):focus
|
|
|
76
76
|
box-shadow: var(--awsui-style-focus-ring-box-shadow-ka4djm);
|
|
77
77
|
z-index: 1;
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):not(:last-child)::after {
|
|
80
80
|
content: "";
|
|
81
81
|
position: absolute;
|
|
82
82
|
inset-inline-end: calc(-1 * (var(--space-static-xxs-vzto3j, 4px) + 1px));
|
|
@@ -86,54 +86,54 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_hhwib_17:not(#\9):focus
|
|
|
86
86
|
background: var(--color-border-segment-divider-mq01bu, #8c8c94);
|
|
87
87
|
z-index: 1;
|
|
88
88
|
}
|
|
89
|
-
.
|
|
89
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):not(.awsui_refresh_8cbea_1jvup_47):not(:last-child)::after {
|
|
90
90
|
inset-inline-end: calc(-1 * var(--space-static-xxs-vzto3j, 4px));
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):nth-child(1) {
|
|
93
93
|
grid-column: 1;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):nth-child(2) {
|
|
96
96
|
grid-column: 2;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):nth-child(3) {
|
|
99
99
|
grid-column: 3;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):nth-child(4) {
|
|
102
102
|
grid-column: 4;
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):nth-child(5) {
|
|
105
105
|
grid-column: 5;
|
|
106
106
|
}
|
|
107
|
-
.
|
|
107
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):nth-child(6) {
|
|
108
108
|
grid-column: 6;
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
.awsui_segment_8cbea_1jvup_17.awsui_selected_8cbea_1jvup_110:not(#\9) {
|
|
111
111
|
background: var(--awsui-style-background-active-ka4djm, var(--color-background-segment-active-ns5rt6, #006ce0));
|
|
112
112
|
color: var(--awsui-style-color-active-ka4djm, var(--color-text-segment-active-hbbf1h, #ffffff));
|
|
113
113
|
box-shadow: inset 0 0 0 var(--awsui-internal-style-segment-selected-border-width, 0) var(--color-border-segment-active-y8x5lr, #424650);
|
|
114
114
|
}
|
|
115
|
-
.
|
|
115
|
+
.awsui_segment_8cbea_1jvup_17:not(#\9):hover:not(.awsui_selected_8cbea_1jvup_110):not(.awsui_disabled_8cbea_1jvup_53):not(:focus) {
|
|
116
116
|
background: var(--awsui-style-background-hover-ka4djm, var(--color-background-segment-hover-el4hte, #f0fbff));
|
|
117
117
|
color: var(--awsui-style-color-hover-ka4djm, var(--color-text-segment-hover-qq2b2e, #002b66));
|
|
118
118
|
cursor: pointer;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.
|
|
121
|
+
.awsui_icon_8cbea_1jvup_121:not(#\9) {
|
|
122
122
|
/* used in test-utils */
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.awsui_with-
|
|
125
|
+
.awsui_with-text_8cbea_1jvup_125:not(#\9) {
|
|
126
126
|
position: relative;
|
|
127
127
|
inset-inline-start: calc(-1 * var(--space-xxs-3o1yoq, 4px));
|
|
128
128
|
margin-inline-end: var(--space-xxs-3o1yoq, 4px);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
.awsui_with-no-
|
|
131
|
+
.awsui_with-no-text_8cbea_1jvup_131:not(#\9) {
|
|
132
132
|
margin-inline: auto;
|
|
133
133
|
inset-inline: 0;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.
|
|
136
|
+
.awsui_root_8cbea_1jvup_136:not(#\9) {
|
|
137
137
|
border-collapse: separate;
|
|
138
138
|
border-spacing: 0;
|
|
139
139
|
box-sizing: border-box;
|
|
@@ -165,7 +165,7 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_hhwib_17:not(#\9):focus
|
|
|
165
165
|
-moz-osx-font-smoothing: auto;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.awsui_segment-
|
|
168
|
+
.awsui_segment-part_8cbea_1jvup_168:not(#\9) {
|
|
169
169
|
display: inline-grid;
|
|
170
170
|
border-inline: solid var(--border-width-field-2365x3, 1px) var(--color-border-segment-wrapper-ofstpm, #8c8c94);
|
|
171
171
|
border-block: solid var(--border-width-field-2365x3, 1px) var(--color-border-segment-wrapper-ofstpm, #8c8c94);
|
|
@@ -180,103 +180,107 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_hhwib_17:not(#\9):focus
|
|
|
180
180
|
padding-inline: calc(var(--space-static-xxs-vzto3j, 4px) - var(--border-width-field-2365x3, 1px));
|
|
181
181
|
gap: calc(var(--space-static-xxs-vzto3j, 4px) * 2 + 1px);
|
|
182
182
|
}
|
|
183
|
-
.awsui_segment-
|
|
183
|
+
.awsui_segment-part_8cbea_1jvup_168:not(#\9):not(.awsui_refresh_8cbea_1jvup_47) {
|
|
184
184
|
padding-inline: calc(var(--space-static-xxxs-opeihl, 2px) + var(--border-width-field-2365x3, 1px));
|
|
185
185
|
padding-block: 0;
|
|
186
186
|
gap: calc(var(--space-static-xxs-vzto3j, 4px) * 2 - 1px);
|
|
187
187
|
}
|
|
188
188
|
@media (max-width: 688px) {
|
|
189
|
-
.awsui_segment-
|
|
189
|
+
.awsui_segment-part_8cbea_1jvup_168:not(#\9):not(.awsui_grouped_8cbea_1jvup_189), .awsui_segment-part_8cbea_1jvup_168.awsui_grouped-only_8cbea_1jvup_189:not(#\9) {
|
|
190
190
|
display: none;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
.awsui_segment-
|
|
193
|
+
.awsui_segment-part_8cbea_1jvup_168.awsui_grouped_8cbea_1jvup_189.awsui_grouped-vertical_8cbea_1jvup_193:not(#\9) {
|
|
194
194
|
inline-size: 100%;
|
|
195
195
|
box-sizing: border-box;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
.
|
|
198
|
+
.awsui_grouped_8cbea_1jvup_189:not(#\9) {
|
|
199
199
|
border-start-start-radius: var(--border-radius-input-k1q34z, 8px);
|
|
200
200
|
border-start-end-radius: var(--border-radius-input-k1q34z, 8px);
|
|
201
201
|
border-end-start-radius: var(--border-radius-input-k1q34z, 8px);
|
|
202
202
|
border-end-end-radius: var(--border-radius-input-k1q34z, 8px);
|
|
203
203
|
}
|
|
204
|
-
.awsui_grouped-horizontal-
|
|
204
|
+
.awsui_grouped-horizontal-first_8cbea_1jvup_204:not(#\9) {
|
|
205
205
|
border-start-end-radius: 0;
|
|
206
206
|
border-end-end-radius: 0;
|
|
207
207
|
}
|
|
208
|
-
.awsui_grouped-horizontal-
|
|
208
|
+
.awsui_grouped-horizontal-middle_8cbea_1jvup_208:not(#\9) {
|
|
209
209
|
border-start-start-radius: 0;
|
|
210
210
|
border-start-end-radius: 0;
|
|
211
211
|
border-end-start-radius: 0;
|
|
212
212
|
border-end-end-radius: 0;
|
|
213
213
|
}
|
|
214
|
-
.awsui_grouped-horizontal-
|
|
214
|
+
.awsui_grouped-horizontal-last_8cbea_1jvup_214:not(#\9) {
|
|
215
215
|
border-start-start-radius: 0;
|
|
216
216
|
border-end-start-radius: 0;
|
|
217
217
|
}
|
|
218
|
-
.awsui_grouped-vertical-
|
|
218
|
+
.awsui_grouped-vertical-first_8cbea_1jvup_218:not(#\9) {
|
|
219
219
|
border-end-start-radius: 0;
|
|
220
220
|
border-end-end-radius: 0;
|
|
221
221
|
}
|
|
222
|
-
.awsui_grouped-vertical-
|
|
222
|
+
.awsui_grouped-vertical-middle_8cbea_1jvup_222:not(#\9) {
|
|
223
223
|
border-start-start-radius: 0;
|
|
224
224
|
border-start-end-radius: 0;
|
|
225
225
|
border-end-start-radius: 0;
|
|
226
226
|
border-end-end-radius: 0;
|
|
227
227
|
}
|
|
228
|
-
.awsui_grouped-vertical-
|
|
228
|
+
.awsui_grouped-vertical-last_8cbea_1jvup_228:not(#\9) {
|
|
229
229
|
border-start-start-radius: 0;
|
|
230
230
|
border-start-end-radius: 0;
|
|
231
231
|
}
|
|
232
|
-
.
|
|
232
|
+
.awsui_grouped-with-action_8cbea_1jvup_232:not(#\9) {
|
|
233
|
+
border-start-end-radius: 0;
|
|
234
|
+
border-end-end-radius: 0;
|
|
235
|
+
}
|
|
236
|
+
.awsui_grouped_8cbea_1jvup_189.awsui_grouped-horizontal-middle_8cbea_1jvup_208:not(#\9), .awsui_grouped_8cbea_1jvup_189.awsui_grouped-horizontal-last_8cbea_1jvup_214:not(#\9) {
|
|
233
237
|
border-inline-start: none;
|
|
234
238
|
}
|
|
235
239
|
|
|
236
|
-
.
|
|
240
|
+
.awsui_select_8cbea_1jvup_110:not(#\9) {
|
|
237
241
|
display: none;
|
|
238
242
|
}
|
|
239
243
|
@media (max-width: 688px) {
|
|
240
|
-
.
|
|
244
|
+
.awsui_select_8cbea_1jvup_110:not(#\9):not(.awsui_grouped_8cbea_1jvup_189), .awsui_select_8cbea_1jvup_110.awsui_grouped-only_8cbea_1jvup_189:not(#\9) {
|
|
241
245
|
display: block;
|
|
242
246
|
}
|
|
243
247
|
}
|
|
244
248
|
|
|
245
|
-
.awsui_segment-count-
|
|
249
|
+
.awsui_segment-count-2_8cbea_1jvup_249:not(#\9) {
|
|
246
250
|
grid-template-columns: repeat(2, auto);
|
|
247
251
|
}
|
|
248
|
-
.awsui_segment-count-
|
|
252
|
+
.awsui_segment-count-2_8cbea_1jvup_249.awsui_grouped_8cbea_1jvup_189.awsui_grouped-vertical_8cbea_1jvup_193:not(#\9) {
|
|
249
253
|
grid-template-columns: repeat(2, 1fr);
|
|
250
254
|
}
|
|
251
255
|
|
|
252
|
-
.awsui_segment-count-
|
|
256
|
+
.awsui_segment-count-3_8cbea_1jvup_256:not(#\9) {
|
|
253
257
|
grid-template-columns: repeat(3, auto);
|
|
254
258
|
}
|
|
255
|
-
.awsui_segment-count-
|
|
259
|
+
.awsui_segment-count-3_8cbea_1jvup_256.awsui_grouped_8cbea_1jvup_189.awsui_grouped-vertical_8cbea_1jvup_193:not(#\9) {
|
|
256
260
|
grid-template-columns: repeat(3, 1fr);
|
|
257
261
|
}
|
|
258
262
|
|
|
259
|
-
.awsui_segment-count-
|
|
263
|
+
.awsui_segment-count-4_8cbea_1jvup_263:not(#\9) {
|
|
260
264
|
grid-template-columns: repeat(4, auto);
|
|
261
265
|
}
|
|
262
|
-
.awsui_segment-count-
|
|
266
|
+
.awsui_segment-count-4_8cbea_1jvup_263.awsui_grouped_8cbea_1jvup_189.awsui_grouped-vertical_8cbea_1jvup_193:not(#\9) {
|
|
263
267
|
grid-template-columns: repeat(4, 1fr);
|
|
264
268
|
}
|
|
265
269
|
|
|
266
|
-
.awsui_segment-count-
|
|
270
|
+
.awsui_segment-count-5_8cbea_1jvup_270:not(#\9) {
|
|
267
271
|
grid-template-columns: repeat(5, auto);
|
|
268
272
|
}
|
|
269
|
-
.awsui_segment-count-
|
|
273
|
+
.awsui_segment-count-5_8cbea_1jvup_270.awsui_grouped_8cbea_1jvup_189.awsui_grouped-vertical_8cbea_1jvup_193:not(#\9) {
|
|
270
274
|
grid-template-columns: repeat(5, 1fr);
|
|
271
275
|
}
|
|
272
276
|
|
|
273
|
-
.awsui_segment-count-
|
|
277
|
+
.awsui_segment-count-6_8cbea_1jvup_277:not(#\9) {
|
|
274
278
|
grid-template-columns: repeat(6, auto);
|
|
275
279
|
}
|
|
276
|
-
.awsui_segment-count-
|
|
280
|
+
.awsui_segment-count-6_8cbea_1jvup_277.awsui_grouped_8cbea_1jvup_189.awsui_grouped-vertical_8cbea_1jvup_193:not(#\9) {
|
|
277
281
|
grid-template-columns: repeat(6, 1fr);
|
|
278
282
|
}
|
|
279
283
|
|
|
280
|
-
.awsui_disabled-reason-
|
|
284
|
+
.awsui_disabled-reason-tooltip_8cbea_1jvup_284:not(#\9) {
|
|
281
285
|
/* used in test-utils or tests */
|
|
282
286
|
}
|
|
@@ -2,31 +2,32 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"segment": "
|
|
6
|
-
"full-width": "awsui_full-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"disabled": "
|
|
9
|
-
"selected": "
|
|
10
|
-
"icon": "
|
|
11
|
-
"with-text": "awsui_with-
|
|
12
|
-
"with-no-text": "awsui_with-no-
|
|
13
|
-
"root": "
|
|
14
|
-
"segment-part": "awsui_segment-
|
|
15
|
-
"grouped": "
|
|
16
|
-
"grouped-only": "awsui_grouped-
|
|
17
|
-
"grouped-vertical": "awsui_grouped-
|
|
18
|
-
"grouped-horizontal-first": "awsui_grouped-horizontal-
|
|
19
|
-
"grouped-horizontal-middle": "awsui_grouped-horizontal-
|
|
20
|
-
"grouped-horizontal-last": "awsui_grouped-horizontal-
|
|
21
|
-
"grouped-vertical-first": "awsui_grouped-vertical-
|
|
22
|
-
"grouped-vertical-middle": "awsui_grouped-vertical-
|
|
23
|
-
"grouped-vertical-last": "awsui_grouped-vertical-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"segment-count-
|
|
27
|
-
"segment-count-
|
|
28
|
-
"segment-count-
|
|
29
|
-
"segment-count-
|
|
30
|
-
"
|
|
5
|
+
"segment": "awsui_segment_8cbea_1jvup_17",
|
|
6
|
+
"full-width": "awsui_full-width_8cbea_1jvup_44",
|
|
7
|
+
"refresh": "awsui_refresh_8cbea_1jvup_47",
|
|
8
|
+
"disabled": "awsui_disabled_8cbea_1jvup_53",
|
|
9
|
+
"selected": "awsui_selected_8cbea_1jvup_110",
|
|
10
|
+
"icon": "awsui_icon_8cbea_1jvup_121",
|
|
11
|
+
"with-text": "awsui_with-text_8cbea_1jvup_125",
|
|
12
|
+
"with-no-text": "awsui_with-no-text_8cbea_1jvup_131",
|
|
13
|
+
"root": "awsui_root_8cbea_1jvup_136",
|
|
14
|
+
"segment-part": "awsui_segment-part_8cbea_1jvup_168",
|
|
15
|
+
"grouped": "awsui_grouped_8cbea_1jvup_189",
|
|
16
|
+
"grouped-only": "awsui_grouped-only_8cbea_1jvup_189",
|
|
17
|
+
"grouped-vertical": "awsui_grouped-vertical_8cbea_1jvup_193",
|
|
18
|
+
"grouped-horizontal-first": "awsui_grouped-horizontal-first_8cbea_1jvup_204",
|
|
19
|
+
"grouped-horizontal-middle": "awsui_grouped-horizontal-middle_8cbea_1jvup_208",
|
|
20
|
+
"grouped-horizontal-last": "awsui_grouped-horizontal-last_8cbea_1jvup_214",
|
|
21
|
+
"grouped-vertical-first": "awsui_grouped-vertical-first_8cbea_1jvup_218",
|
|
22
|
+
"grouped-vertical-middle": "awsui_grouped-vertical-middle_8cbea_1jvup_222",
|
|
23
|
+
"grouped-vertical-last": "awsui_grouped-vertical-last_8cbea_1jvup_228",
|
|
24
|
+
"grouped-with-action": "awsui_grouped-with-action_8cbea_1jvup_232",
|
|
25
|
+
"select": "awsui_select_8cbea_1jvup_110",
|
|
26
|
+
"segment-count-2": "awsui_segment-count-2_8cbea_1jvup_249",
|
|
27
|
+
"segment-count-3": "awsui_segment-count-3_8cbea_1jvup_256",
|
|
28
|
+
"segment-count-4": "awsui_segment-count-4_8cbea_1jvup_263",
|
|
29
|
+
"segment-count-5": "awsui_segment-count-5_8cbea_1jvup_270",
|
|
30
|
+
"segment-count-6": "awsui_segment-count-6_8cbea_1jvup_277",
|
|
31
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_1jvup_284"
|
|
31
32
|
};
|
|
32
33
|
|
package/select/interfaces.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface BaseSelectProps extends BaseDropdownHostProps, BaseComponentPro
|
|
|
22
22
|
* - `lang` (string) - (Optional) The language of the option or group, provided as a BCP 47 language tag.
|
|
23
23
|
* - `description` (string) - (Optional) Further information about the option or group that appears below the label.
|
|
24
24
|
* - `disabled` (boolean) - (Optional) Determines whether the option or group is disabled.
|
|
25
|
-
* - `disabledReason` (
|
|
25
|
+
* - `disabledReason` (ReactNode) - (Optional) Displays tooltip near the item when disabled. Use to provide additional context. Do not place interactive elements like links or buttons.
|
|
26
26
|
* - `labelTag` (string) - (Optional) A label tag that provides additional guidance, shown next to the label.
|
|
27
27
|
* - `tags` [string[]] - (Optional) A list of tags giving further guidance about the option or group.
|
|
28
28
|
* - `filteringTags` [string[]] - (Optional) A list of additional tags used for automatic filtering.
|
package/select/interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/select/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { ReactNode } from 'react';\n\nimport { BaseDropdownHostProps, OptionsFilteringType, OptionsLoadItemsDetail } from '../dropdown/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\nimport { DropdownStatusProps } from '../types/dropdown-status';\nimport { NonCancelableEventHandler } from '../types/events';\nimport { FormFieldValidationControlProps } from '../types/form-field';\nimport { OptionDefinition, OptionGroup as OptionGroupDefinition } from '../types/option';\n\nexport interface BaseSelectProps\n extends BaseDropdownHostProps,\n BaseComponentProps,\n FormFieldValidationControlProps,\n DropdownStatusProps {\n /**\n * Specifies an array of options that are displayed to the user as a dropdown list.\n * The options can be grouped using `OptionGroup` objects.\n *\n * #### Option\n * - `value` (string) - The returned value of the option when selected.\n *\n * #### OptionGroup\n * - `value` (string) - Used to locate option group in test utils.\n * - `options` (Option[]) - (Optional) The options under this group.\n *\n * #### Shared Option and OptionGroup properties\n * - `label` (string) - (Optional) Option or group text displayed to the user.\n * - `lang` (string) - (Optional) The language of the option or group, provided as a BCP 47 language tag.\n * - `description` (string) - (Optional) Further information about the option or group that appears below the label.\n * - `disabled` (boolean) - (Optional) Determines whether the option or group is disabled.\n * - `disabledReason` (string) - (Optional) Displays tooltip near the item when disabled. Use to provide additional context.\n * - `labelTag` (string) - (Optional) A label tag that provides additional guidance, shown next to the label.\n * - `tags` [string[]] - (Optional) A list of tags giving further guidance about the option or group.\n * - `filteringTags` [string[]] - (Optional) A list of additional tags used for automatic filtering.\n * - `iconName` (string) - (Optional) Specifies the name of an [icon](/components/icon/) to display in the option or group.\n * - `iconAriaLabel` (string) - (Optional) Specifies alternate text for the icon. We recommend that you provide this for accessibility.\n * - `iconAlt` (string) - (Optional) **Deprecated**, replaced by \\`iconAriaLabel\\`. Specifies alternate text for a custom icon, for use with `iconUrl`.\n * - `iconUrl` (string) - (Optional) URL of a custom icon.\n * - `iconSvg` (ReactNode) - (Optional) Custom SVG icon. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n *\n * Note: Only one level of option nesting is supported.\n *\n * If you want to use the built-in filtering capabilities of this component, provide\n * a list of all valid options here and they will be automatically filtered based on the user's filtering input.\n *\n * Alternatively, you can listen to the `onChange` or `onLoadItems` event and set new options\n * on your own.\n **/\n options?: SelectProps.Options;\n\n /**\n * Determines how filtering is applied to the list of `options`:\n *\n * * `auto` - The component will automatically filter options based on user input.\n * * `manual` - You will set up `onChange` or `onLoadItems` event listeners and filter options on your side or request\n * them from server.\n *\n * By default the component will filter the provided `options` based on the value of the filtering input field.\n * Only options that have a `value`, `label`, `description` or `labelTag` that contains the input value as a substring\n * are displayed in the list of options.\n *\n * If you set this property to `manual`, this default filtering mechanism is disabled and all provided `options` are\n * displayed in the dropdown list. In that case make sure that you use the `onChange` or `onLoadItems` events in order\n * to set the `options` property to the options that are relevant for the user, given the filtering input value.\n *\n * Note: Manual filtering doesn't disable match highlighting.\n **/\n filteringType?: OptionsFilteringType;\n\n /**\n * Determines whether the whole select component is disabled.\n */\n disabled?: boolean;\n /**\n * Specifies the placeholder to display in the filtering input if filtering is enabled.\n */\n filteringPlaceholder?: string;\n\n /**\n * Specifies the text to display with the number of matches at the bottom of the dropdown menu while filtering.\n */\n filteringResultsText?: (matchesCount: number, totalCount: number) => string;\n /**\n * Adds an `aria-label` on the built-in filtering input if filtering is enabled.\n */\n filteringAriaLabel?: string;\n /**\n * Adds an `aria-label` to the clear button inside the search input.\n * @i18n\n */\n filteringClearAriaLabel?: string;\n /**\n * @deprecated Has no effect.\n */\n name?: string;\n /**\n * Specifies the hint text that's displayed in the field when no option has been selected.\n */\n placeholder?: string;\n /**\n * Specifies the ID for the trigger component. It uses an automatically generated ID by default.\n */\n controlId?: string;\n /**\n * Adds `aria-required` to the native input element.\n */\n ariaRequired?: boolean;\n /**\n * Adds `aria-label` to the select element.\n * Use this if you don't have a visible label for this control.\n */\n ariaLabel?: string;\n /**\n * Specifies the localized string that describes an option as being selected.\n * This is required to provide a good screen reader experience. For more information, see the\n * [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).\n * @i18n\n */\n selectedAriaLabel?: string;\n /**\n * Overrides the element that is announced to screen readers\n * when the highlighted option changes. By default, this announces\n * the option's name and properties, and its selected state if\n * the `selectedAriaLabel` property is defined.\n * The highlighted option is provided, and its group (if groups\n * are used and it differs from the group of the previously highlighted option).\n *\n * For more information, see the\n * [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).\n */\n renderHighlightedAriaLive?: SelectProps.ContainingOptionAndGroupString;\n /**\n * Displayed for `filteringType=\"auto\"` when there are no matches for the filtering.\n */\n noMatch?: React.ReactNode;\n /**\n * Called when input focus is removed from the UI control.\n */\n onBlur?: NonCancelableEventHandler;\n /**\n * Called when input focus is set onto the UI control.\n */\n onFocus?: NonCancelableEventHandler;\n\n /**\n * Specifies if the control is read-only, which prevents the\n * user from both modifying the value and opening the dropdown. A read-only control is still focusable.\n */\n readOnly?: boolean;\n\n /**\n * Renders content at the top of the dropdown, above the filter input (when filtering is enabled) and the\n * options list. Pinned (sticky) to the top and rendered in every state (empty, no-match, loading, error,\n * finished).\n */\n renderDropdownHeader?: SelectProps.DropdownContentRenderer;\n\n /**\n * Renders content at the bottom of the dropdown. The content is always sticky and never scrolls with the\n * options list. It is added below the built-in status region. Receives the current filtering state and a\n * callback to close the dropdown.\n */\n renderDropdownFooter?: SelectProps.DropdownContentRenderer;\n\n /**\n * Determines the ARIA role of the dropdown.\n *\n * - `auto` (default): the dropdown uses a listbox role, or a dialog role wrapping the listbox when built-in\n * filtering is enabled.\n * - `dialog`: the dropdown always uses a dialog role wrapping the listbox, even without built-in filtering. Use\n * this when you render interactive custom content and want assistive technologies to treat the dropdown as a dialog.\n */\n dropdownRole?: SelectProps.DropdownRole;\n\n /**\n * Adds `aria-describedby` to the dropdown's listbox/dialog content.\n */\n dropdownAriaDescribedby?: string;\n}\n\nexport interface SelectProps extends BaseSelectProps {\n /**\n * Adds a small label inline with the input for saving vertical space in the UI.\n * For use with collection select filters only.\n */\n inlineLabelText?: string;\n onLoadItems?: NonCancelableEventHandler<SelectProps.LoadItemsDetail>;\n /**\n * Adds `aria-labelledby` to the component. If you're using this component within a form field,\n * don't set this property because the form field component automatically sets it.\n *\n * Use this property if the component isn't using `inlineLabelText` and isn't surrounded by a form field, or you want to override the value\n * automatically set by the form field (for example, if you have two components within a single form field).\n *\n * To use it correctly, define an ID for the element you want to use as label and set the property to that ID.\n */\n ariaLabelledby?: string;\n /**\n * Defines the variant of the trigger. You can use a simple label or the entire option (`label | option`)\n */\n triggerVariant?: SelectProps.TriggerVariant;\n /**\n * Specifies the currently selected option.\n * If you want to clear the selection, use `null`.\n */\n selectedOption: SelectProps.Option | null;\n /**\n * Called when the user selects an option.\n * The event `detail` contains the current `selectedOption`.\n */\n onChange?: NonCancelableEventHandler<SelectProps.ChangeDetail>;\n\n /**\n * Automatically focuses the trigger when component is mounted.\n */\n autoFocus?: boolean;\n /**\n * Specifies a render function to render custom options in the dropdown menu or trigger.\n */\n renderOption?: SelectProps.SelectOptionItemRenderer;\n}\n\nexport namespace SelectProps {\n export type FilteringType = OptionsFilteringType;\n export type TriggerVariant = 'label' | 'option';\n\n /**\n * The argument passed to the dropdown render functions (`renderDropdownHeader`\n * and `renderDropdownFooter`).\n */\n export interface DropdownContentProps {\n filterText: string;\n\n closeDropdown: () => void;\n }\n\n export type DropdownRole = 'auto' | 'dialog';\n\n /**\n * A render function for custom dropdown content, used by `renderDropdownHeader` and `renderDropdownFooter`.\n * Receives the current filtering state and a callback to close the dropdown.\n */\n export type DropdownContentRenderer = (props: DropdownContentProps) => ReactNode | null;\n\n export type Option = OptionDefinition;\n export type OptionGroup = OptionGroupDefinition;\n export type Options = ReadonlyArray<Option | OptionGroup>;\n\n export interface SelectOptionItem {\n type: 'item';\n index: number;\n option: Option;\n highlighted: boolean;\n selected: boolean;\n disabled: boolean;\n parent: SelectOptionGroupItem | null;\n }\n export interface SelectOptionGroupItem {\n type: 'group';\n index: number;\n option: OptionGroup;\n disabled: boolean;\n }\n export interface SelectTriggerOptionItem {\n type: 'trigger';\n option: Option;\n }\n export type SelectItem = SelectOptionItem | SelectOptionGroupItem | SelectTriggerOptionItem;\n export type SelectOptionItemRenderer = (props: { item: SelectItem; filterText?: string }) => ReactNode | null;\n\n /* eslint-disable-next-line @typescript-eslint/no-empty-object-type --\n * Required to create a distinct named type for the documenter.\n **/\n export interface LoadItemsDetail extends OptionsLoadItemsDetail {}\n\n export interface ChangeDetail {\n selectedOption: Option;\n }\n\n export interface ContainingOptionAndGroupString {\n (option: Option, group?: OptionGroup): string;\n }\n\n export interface Ref {\n /**\n * Sets focus on the element without opening the dropdown or showing a visual focus indicator.\n */\n focus(): void;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/select/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { ReactNode } from 'react';\n\nimport { BaseDropdownHostProps, OptionsFilteringType, OptionsLoadItemsDetail } from '../dropdown/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\nimport { DropdownStatusProps } from '../types/dropdown-status';\nimport { NonCancelableEventHandler } from '../types/events';\nimport { FormFieldValidationControlProps } from '../types/form-field';\nimport { OptionDefinition, OptionGroup as OptionGroupDefinition } from '../types/option';\n\nexport interface BaseSelectProps\n extends BaseDropdownHostProps,\n BaseComponentProps,\n FormFieldValidationControlProps,\n DropdownStatusProps {\n /**\n * Specifies an array of options that are displayed to the user as a dropdown list.\n * The options can be grouped using `OptionGroup` objects.\n *\n * #### Option\n * - `value` (string) - The returned value of the option when selected.\n *\n * #### OptionGroup\n * - `value` (string) - Used to locate option group in test utils.\n * - `options` (Option[]) - (Optional) The options under this group.\n *\n * #### Shared Option and OptionGroup properties\n * - `label` (string) - (Optional) Option or group text displayed to the user.\n * - `lang` (string) - (Optional) The language of the option or group, provided as a BCP 47 language tag.\n * - `description` (string) - (Optional) Further information about the option or group that appears below the label.\n * - `disabled` (boolean) - (Optional) Determines whether the option or group is disabled.\n * - `disabledReason` (ReactNode) - (Optional) Displays tooltip near the item when disabled. Use to provide additional context. Do not place interactive elements like links or buttons.\n * - `labelTag` (string) - (Optional) A label tag that provides additional guidance, shown next to the label.\n * - `tags` [string[]] - (Optional) A list of tags giving further guidance about the option or group.\n * - `filteringTags` [string[]] - (Optional) A list of additional tags used for automatic filtering.\n * - `iconName` (string) - (Optional) Specifies the name of an [icon](/components/icon/) to display in the option or group.\n * - `iconAriaLabel` (string) - (Optional) Specifies alternate text for the icon. We recommend that you provide this for accessibility.\n * - `iconAlt` (string) - (Optional) **Deprecated**, replaced by \\`iconAriaLabel\\`. Specifies alternate text for a custom icon, for use with `iconUrl`.\n * - `iconUrl` (string) - (Optional) URL of a custom icon.\n * - `iconSvg` (ReactNode) - (Optional) Custom SVG icon. Equivalent to the `svg` slot of the [icon component](/components/icon/).\n *\n * Note: Only one level of option nesting is supported.\n *\n * If you want to use the built-in filtering capabilities of this component, provide\n * a list of all valid options here and they will be automatically filtered based on the user's filtering input.\n *\n * Alternatively, you can listen to the `onChange` or `onLoadItems` event and set new options\n * on your own.\n **/\n options?: SelectProps.Options;\n\n /**\n * Determines how filtering is applied to the list of `options`:\n *\n * * `auto` - The component will automatically filter options based on user input.\n * * `manual` - You will set up `onChange` or `onLoadItems` event listeners and filter options on your side or request\n * them from server.\n *\n * By default the component will filter the provided `options` based on the value of the filtering input field.\n * Only options that have a `value`, `label`, `description` or `labelTag` that contains the input value as a substring\n * are displayed in the list of options.\n *\n * If you set this property to `manual`, this default filtering mechanism is disabled and all provided `options` are\n * displayed in the dropdown list. In that case make sure that you use the `onChange` or `onLoadItems` events in order\n * to set the `options` property to the options that are relevant for the user, given the filtering input value.\n *\n * Note: Manual filtering doesn't disable match highlighting.\n **/\n filteringType?: OptionsFilteringType;\n\n /**\n * Determines whether the whole select component is disabled.\n */\n disabled?: boolean;\n /**\n * Specifies the placeholder to display in the filtering input if filtering is enabled.\n */\n filteringPlaceholder?: string;\n\n /**\n * Specifies the text to display with the number of matches at the bottom of the dropdown menu while filtering.\n */\n filteringResultsText?: (matchesCount: number, totalCount: number) => string;\n /**\n * Adds an `aria-label` on the built-in filtering input if filtering is enabled.\n */\n filteringAriaLabel?: string;\n /**\n * Adds an `aria-label` to the clear button inside the search input.\n * @i18n\n */\n filteringClearAriaLabel?: string;\n /**\n * @deprecated Has no effect.\n */\n name?: string;\n /**\n * Specifies the hint text that's displayed in the field when no option has been selected.\n */\n placeholder?: string;\n /**\n * Specifies the ID for the trigger component. It uses an automatically generated ID by default.\n */\n controlId?: string;\n /**\n * Adds `aria-required` to the native input element.\n */\n ariaRequired?: boolean;\n /**\n * Adds `aria-label` to the select element.\n * Use this if you don't have a visible label for this control.\n */\n ariaLabel?: string;\n /**\n * Specifies the localized string that describes an option as being selected.\n * This is required to provide a good screen reader experience. For more information, see the\n * [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).\n * @i18n\n */\n selectedAriaLabel?: string;\n /**\n * Overrides the element that is announced to screen readers\n * when the highlighted option changes. By default, this announces\n * the option's name and properties, and its selected state if\n * the `selectedAriaLabel` property is defined.\n * The highlighted option is provided, and its group (if groups\n * are used and it differs from the group of the previously highlighted option).\n *\n * For more information, see the\n * [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).\n */\n renderHighlightedAriaLive?: SelectProps.ContainingOptionAndGroupString;\n /**\n * Displayed for `filteringType=\"auto\"` when there are no matches for the filtering.\n */\n noMatch?: React.ReactNode;\n /**\n * Called when input focus is removed from the UI control.\n */\n onBlur?: NonCancelableEventHandler;\n /**\n * Called when input focus is set onto the UI control.\n */\n onFocus?: NonCancelableEventHandler;\n\n /**\n * Specifies if the control is read-only, which prevents the\n * user from both modifying the value and opening the dropdown. A read-only control is still focusable.\n */\n readOnly?: boolean;\n\n /**\n * Renders content at the top of the dropdown, above the filter input (when filtering is enabled) and the\n * options list. Pinned (sticky) to the top and rendered in every state (empty, no-match, loading, error,\n * finished).\n */\n renderDropdownHeader?: SelectProps.DropdownContentRenderer;\n\n /**\n * Renders content at the bottom of the dropdown. The content is always sticky and never scrolls with the\n * options list. It is added below the built-in status region. Receives the current filtering state and a\n * callback to close the dropdown.\n */\n renderDropdownFooter?: SelectProps.DropdownContentRenderer;\n\n /**\n * Determines the ARIA role of the dropdown.\n *\n * - `auto` (default): the dropdown uses a listbox role, or a dialog role wrapping the listbox when built-in\n * filtering is enabled.\n * - `dialog`: the dropdown always uses a dialog role wrapping the listbox, even without built-in filtering. Use\n * this when you render interactive custom content and want assistive technologies to treat the dropdown as a dialog.\n */\n dropdownRole?: SelectProps.DropdownRole;\n\n /**\n * Adds `aria-describedby` to the dropdown's listbox/dialog content.\n */\n dropdownAriaDescribedby?: string;\n}\n\nexport interface SelectProps extends BaseSelectProps {\n /**\n * Adds a small label inline with the input for saving vertical space in the UI.\n * For use with collection select filters only.\n */\n inlineLabelText?: string;\n onLoadItems?: NonCancelableEventHandler<SelectProps.LoadItemsDetail>;\n /**\n * Adds `aria-labelledby` to the component. If you're using this component within a form field,\n * don't set this property because the form field component automatically sets it.\n *\n * Use this property if the component isn't using `inlineLabelText` and isn't surrounded by a form field, or you want to override the value\n * automatically set by the form field (for example, if you have two components within a single form field).\n *\n * To use it correctly, define an ID for the element you want to use as label and set the property to that ID.\n */\n ariaLabelledby?: string;\n /**\n * Defines the variant of the trigger. You can use a simple label or the entire option (`label | option`)\n */\n triggerVariant?: SelectProps.TriggerVariant;\n /**\n * Specifies the currently selected option.\n * If you want to clear the selection, use `null`.\n */\n selectedOption: SelectProps.Option | null;\n /**\n * Called when the user selects an option.\n * The event `detail` contains the current `selectedOption`.\n */\n onChange?: NonCancelableEventHandler<SelectProps.ChangeDetail>;\n\n /**\n * Automatically focuses the trigger when component is mounted.\n */\n autoFocus?: boolean;\n /**\n * Specifies a render function to render custom options in the dropdown menu or trigger.\n */\n renderOption?: SelectProps.SelectOptionItemRenderer;\n}\n\nexport namespace SelectProps {\n export type FilteringType = OptionsFilteringType;\n export type TriggerVariant = 'label' | 'option';\n\n /**\n * The argument passed to the dropdown render functions (`renderDropdownHeader`\n * and `renderDropdownFooter`).\n */\n export interface DropdownContentProps {\n filterText: string;\n\n closeDropdown: () => void;\n }\n\n export type DropdownRole = 'auto' | 'dialog';\n\n /**\n * A render function for custom dropdown content, used by `renderDropdownHeader` and `renderDropdownFooter`.\n * Receives the current filtering state and a callback to close the dropdown.\n */\n export type DropdownContentRenderer = (props: DropdownContentProps) => ReactNode | null;\n\n export type Option = OptionDefinition;\n export type OptionGroup = OptionGroupDefinition;\n export type Options = ReadonlyArray<Option | OptionGroup>;\n\n export interface SelectOptionItem {\n type: 'item';\n index: number;\n option: Option;\n highlighted: boolean;\n selected: boolean;\n disabled: boolean;\n parent: SelectOptionGroupItem | null;\n }\n export interface SelectOptionGroupItem {\n type: 'group';\n index: number;\n option: OptionGroup;\n disabled: boolean;\n }\n export interface SelectTriggerOptionItem {\n type: 'trigger';\n option: Option;\n }\n export type SelectItem = SelectOptionItem | SelectOptionGroupItem | SelectTriggerOptionItem;\n export type SelectOptionItemRenderer = (props: { item: SelectItem; filterText?: string }) => ReactNode | null;\n\n /* eslint-disable-next-line @typescript-eslint/no-empty-object-type --\n * Required to create a distinct named type for the documenter.\n **/\n export interface LoadItemsDetail extends OptionsLoadItemsDetail {}\n\n export interface ChangeDetail {\n selectedOption: Option;\n }\n\n export interface ContainingOptionAndGroupString {\n (option: Option, group?: OptionGroup): string;\n }\n\n export interface Ref {\n /**\n * Sets focus on the element without opening the dropdown or showing a visual focus indicator.\n */\n focus(): void;\n }\n}\n"]}
|
package/select/parts/filter.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export interface FilterProps extends InternalInputProps {
|
|
|
5
5
|
ref?: React.Ref<HTMLInputElement>;
|
|
6
6
|
filteringType: SelectProps.FilteringType;
|
|
7
7
|
}
|
|
8
|
-
declare const Filter: React.ForwardRefExoticComponent<Pick<FilterProps, "style" | "disabled" | "className" | "id" | "name" | "type" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "placeholder" | "prefix" | "inputMode" | "autoFocus" | "value" | "autoComplete" | "readOnly" | "step" | "invalid" | "ariaLabel" | "ariaDescribedby" | "__internalRootRef" | "warning" | "ariaLabelledby" | "filteringType" | "__injectAnalyticsComponentMetadata" | "__skipNativeAttributesWarnings" | "ariaRequired" | "controlId" | "inlineLabelText" | "suffix" | "nativeInputAttributes" | "disableBrowserAutocorrect" | "spellcheck" | "clearAriaLabel" | "__startIcon" | "__startIconVariant" | "__onStartIconClick" | "__endIcon" | "__onEndIconClick" | "__noBorderRadius" | "__onDelayedInput" | "__onBlurWithDetail" | "__inheritFormFieldProps" | "__fullWidth"> & React.RefAttributes<HTMLInputElement>>;
|
|
8
|
+
declare const Filter: React.ForwardRefExoticComponent<Pick<FilterProps, "style" | "disabled" | "className" | "id" | "name" | "type" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "placeholder" | "prefix" | "inputMode" | "autoFocus" | "value" | "autoComplete" | "readOnly" | "step" | "invalid" | "ariaLabel" | "ariaDescribedby" | "__internalRootRef" | "warning" | "ariaLabelledby" | "filteringType" | "__injectAnalyticsComponentMetadata" | "__skipNativeAttributesWarnings" | "ariaRequired" | "controlId" | "inlineLabelText" | "suffix" | "nativeInputAttributes" | "disableBrowserAutocorrect" | "spellcheck" | "clearAriaLabel" | "__startIcon" | "__startIconVariant" | "__onStartIconClick" | "__endIcon" | "__onEndIconClick" | "__noBorderRadius" | "__noBorder" | "__onDelayedInput" | "__onBlurWithDetail" | "__inheritFormFieldProps" | "__fullWidth"> & React.RefAttributes<HTMLInputElement>>;
|
|
9
9
|
export default Filter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../../src/select/parts/filter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAsB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAClC,aAAa,EAAE,WAAW,CAAC,aAAa,CAAC;CAC1C;AAED,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../../src/select/parts/filter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAsB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAClC,aAAa,EAAE,WAAW,CAAC,aAAa,CAAC;CAC1C;AAED,QAAA,MAAM,MAAM,m3BA0BV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { TableBodyCellProps } from './index';
|
|
2
3
|
interface DisabledInlineEditorProps<ItemType> extends TableBodyCellProps<ItemType> {
|
|
3
|
-
editDisabledReason:
|
|
4
|
+
editDisabledReason: React.ReactNode;
|
|
4
5
|
}
|
|
5
6
|
export declare function DisabledInlineEditor<ItemType>({
|
|
6
7
|
item,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disabled-inline-editor.d.ts","sourceRoot":"","sources":["../../../../src/table/body-cell/disabled-inline-editor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"disabled-inline-editor.d.ts","sourceRoot":"","sources":["../../../../src/table/body-cell/disabled-inline-editor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AActC,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAK7C,UAAU,yBAAyB,CAAC,QAAQ,CAAE,SAAQ,kBAAkB,CAAC,QAAQ,CAAC;IAChF,kBAAkB,EAAE,KAAK,CAAC,SAAS,CAAC;CACrC;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,EAC7C,IAAI,EACJ,MAAM,EACN,UAAU,EACV,SAAS,EACT,WAAW,EACX,SAAS,EACT,kBAAkB,EAClB,GAAG,IAAI,EACR,EAAE,yBAAyB,CAAC,QAAQ,CAAC,eA+FrC"}
|
|
@@ -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,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAE3F,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,oBAAoB,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAuB,MAAM,cAAc,CAAC;AAEnE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAMrC,MAAM,UAAU,oBAAoB,CAAW,EAC7C,IAAI,EACJ,MAAM,EACN,UAAU,EACV,SAAS,EACT,WAAW,EACX,SAAS,EACT,kBAAkB,EAClB,GAAG,IAAI,EAC6B;;IACpC,MAAM,kBAAkB,GAAG,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC;IACpD,MAAM,YAAY,GAAG,YAAY,CAAC,GAAG,EAAE;QACrC,IAAI,SAAS,EAAE,CAAC;YACd,SAAS,CAAC,IAAI,CAAC,CAAC;QAClB,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,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Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { Portal } from '@cloudscape-design/component-toolkit/internal';\nimport { useSingleTabStopNavigation } from '@cloudscape-design/component-toolkit/internal';\n\nimport Icon from '../../icon/internal';\nimport useHiddenDescription from '../../internal/hooks/use-hidden-description';\nimport { usePortalModeClasses } from '../../internal/hooks/use-portal-mode-classes';\nimport InternalLiveRegion from '../../live-region/internal';\nimport Arrow from '../../popover/arrow';\nimport PopoverBody from '../../popover/body';\nimport PopoverContainer from '../../popover/container';\nimport { useClickAway } from './click-away';\nimport { TableBodyCellProps } from './index';\nimport { TableTdElement, TableTdElementProps } from './td-element';\n\nimport styles from './styles.css.js';\n\ninterface DisabledInlineEditorProps<ItemType> extends TableBodyCellProps<ItemType> {\n editDisabledReason:
|
|
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,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAE3F,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,oBAAoB,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,O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AO,EACjB,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC,oBAAC,KAAK,IAAC,QAAQ,EAAE,QAAQ,GAAI,EAChD,gBAAgB,EAAE,IAAI,EACtB,MAAM,EAAE,IAAI;wBAEZ,oBAAC,WAAW,IACV,aAAa,EAAE,KAAK,EACpB,gBAAgB,EAAE,SAAS,EAC3B,MAAM,EAAE,IAAI,EACZ,SAAS,EAAE,GAAG,EAAE,GAAE,CAAC,EACnB,eAAe,EAAC,MAAM;4BAEtB,oBAAC,kBAAkB,IAAC,OAAO,EAAC,MAAM,IAAE,kBAAkB,CAAsB,CAChE,CACG,CACd,CACA,CACJ,CACR,CACc,CAClB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { Portal } from '@cloudscape-design/component-toolkit/internal';\nimport { useSingleTabStopNavigation } from '@cloudscape-design/component-toolkit/internal';\n\nimport Icon from '../../icon/internal';\nimport useHiddenDescription from '../../internal/hooks/use-hidden-description';\nimport { usePortalModeClasses } from '../../internal/hooks/use-portal-mode-classes';\nimport InternalLiveRegion from '../../live-region/internal';\nimport Arrow from '../../popover/arrow';\nimport PopoverBody from '../../popover/body';\nimport PopoverContainer from '../../popover/container';\nimport { useClickAway } from './click-away';\nimport { TableBodyCellProps } from './index';\nimport { TableTdElement, TableTdElementProps } from './td-element';\n\nimport styles from './styles.css.js';\n\ninterface DisabledInlineEditorProps<ItemType> extends TableBodyCellProps<ItemType> {\n editDisabledReason: React.ReactNode;\n}\n\nexport function DisabledInlineEditor<ItemType>({\n item,\n column,\n ariaLabels,\n isEditing,\n onEditStart,\n onEditEnd,\n editDisabledReason,\n ...rest\n}: DisabledInlineEditorProps<ItemType>) {\n const isExpandableColumn = rest.level !== undefined;\n const clickAwayRef = useClickAway(() => {\n if (isEditing) {\n onEditEnd(true);\n }\n });\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 isEditing={isEditing}\n isEditingDisabled={true}\n onClick={!isEditing && !isExpandableColumn ? onClick : undefined}\n ref={!isExpandableColumn ? clickAwayRef : undefined}\n >\n {column.cell(item)}\n\n <div className={styles['body-cell-editor-wrapper']}>\n <div ref={isExpandableColumn ? clickAwayRef : undefined}>\n <button\n ref={buttonRef}\n tabIndex={tabIndex}\n className={clsx(\n styles['body-cell-editor'],\n styles['body-cell-editor-disabled'],\n isExpandableColumn && styles['body-cell-editor-focusable']\n )}\n onClick={!isEditing && isExpandableColumn ? onClick : undefined}\n aria-label={ariaLabels?.activateEditLabel?.(column, item)}\n aria-haspopup=\"dialog\"\n aria-disabled=\"true\"\n onKeyDown={handleEscape}\n {...targetProps}\n >\n <span className={styles['body-cell-editor-icon']}>\n <Icon name=\"lock-private\" variant=\"normal\" __internalRootRef={iconRef} />\n </span>\n {descriptionEl}\n </button>\n </div>\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={7000} // When used in portal we need z-index to be higher than modal's\n >\n <PopoverBody\n dismissButton={false}\n dismissAriaLabel={undefined}\n header={null}\n onDismiss={() => {}}\n overflowVisible=\"both\"\n >\n <InternalLiveRegion tagName=\"span\">{editDisabledReason}</InternalLiveRegion>\n </PopoverBody>\n </PopoverContainer>\n </span>\n </Portal>\n </span>\n )}\n </TableTdElement>\n );\n}\n"]}
|
package/table/interfaces.d.ts
CHANGED
|
@@ -106,8 +106,8 @@ export interface TableProps<T = any> extends BaseComponentProps {
|
|
|
106
106
|
* * `editConfig.errorIconAriaLabel` (string) - Specifies an ariaLabel for the error icon that is displayed when the validation fails.
|
|
107
107
|
* * `editConfig.editIconAriaLabel` (string) - Specifies an alternate text for the edit icon used in column header.
|
|
108
108
|
* * `editConfig.constraintText` (string) - Constraint text that is displayed below the edit control.
|
|
109
|
-
* * `editConfig.disabledReason` ((item) =>
|
|
110
|
-
* Return a
|
|
109
|
+
* * `editConfig.disabledReason` ((item) => ReactNode) - A function that determines whether inline edit for certain items is disabled, and provides a reason why. Do not place interactive elements like links or buttons.
|
|
110
|
+
* Return a reason from the function to disable inline edit. Return `undefined` (or no return) from the function to allow inline edit.
|
|
111
111
|
* * `editConfig.validation` ((item, value) => string) - A function that allows you to validate the value of the edit control.
|
|
112
112
|
* Return a string from the function to display an error message. Return `undefined` (or no return) from the function to indicate that the value is valid.
|
|
113
113
|
* * `editConfig.editingCell` ((item, cellContext) => ReactNode) - Determines the display of a cell's content when inline editing is active on a cell;
|
|
@@ -503,8 +503,10 @@ export declare namespace TableProps {
|
|
|
503
503
|
editingCell(item: T, ctx: TableProps.CellContext<any>): React.ReactNode;
|
|
504
504
|
/**
|
|
505
505
|
* Determines whether inline edit for certain items is disabled, and provides a reason why.
|
|
506
|
+
*
|
|
507
|
+
* Do not place interactive elements like links or buttons.
|
|
506
508
|
*/
|
|
507
|
-
disabledReason?: (item: T) =>
|
|
509
|
+
disabledReason?: (item: T) => React.ReactNode;
|
|
508
510
|
/**
|
|
509
511
|
* Disables the use of a `<form>` element to capture submissions inside the inline editor.
|
|
510
512
|
* If enabled, ensure that any text inputs in the editing cell submit the cell value when
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,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