@cloudscape-design/components-themeable 3.0.1403 → 3.0.1404
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/header/styles.scss +2 -2
- package/lib/internal/scss/internal/components/selectable-item/styles.scss +6 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/option-list/styles.scss +11 -0
- package/lib/internal/scss/option-list/test-classes/styles.scss +9 -0
- package/lib/internal/scss/table-root/styles.scss +29 -0
- package/lib/internal/template/expandable-section/expandable-section-header.js +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
- package/lib/internal/template/header/interfaces.d.ts +4 -0
- package/lib/internal/template/header/interfaces.d.ts.map +1 -1
- package/lib/internal/template/header/interfaces.js.map +1 -1
- package/lib/internal/template/header/internal.d.ts +1 -6
- package/lib/internal/template/header/internal.d.ts.map +1 -1
- package/lib/internal/template/header/internal.js +2 -2
- package/lib/internal/template/header/internal.js.map +1 -1
- package/lib/internal/template/header/styles.css.js +36 -36
- package/lib/internal/template/header/styles.scoped.css +55 -55
- package/lib/internal/template/header/styles.selectors.js +36 -36
- package/lib/internal/template/i18n/messages/all.all.js +1 -1
- package/lib/internal/template/i18n/messages/all.all.json +1 -1
- package/lib/internal/template/i18n/messages/all.de.js +1 -1
- package/lib/internal/template/i18n/messages/all.de.json +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.js +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.json +1 -1
- package/lib/internal/template/i18n/messages/all.en.js +1 -1
- package/lib/internal/template/i18n/messages/all.en.json +1 -1
- package/lib/internal/template/i18n/messages/all.es.js +1 -1
- package/lib/internal/template/i18n/messages/all.es.json +1 -1
- package/lib/internal/template/i18n/messages/all.fr.js +1 -1
- package/lib/internal/template/i18n/messages/all.fr.json +1 -1
- package/lib/internal/template/i18n/messages/all.id.js +1 -1
- package/lib/internal/template/i18n/messages/all.id.json +1 -1
- package/lib/internal/template/i18n/messages/all.it.js +1 -1
- package/lib/internal/template/i18n/messages/all.it.json +1 -1
- package/lib/internal/template/i18n/messages/all.ja.js +1 -1
- package/lib/internal/template/i18n/messages/all.ja.json +1 -1
- package/lib/internal/template/i18n/messages/all.ko.js +1 -1
- package/lib/internal/template/i18n/messages/all.ko.json +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.js +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.json +1 -1
- package/lib/internal/template/i18n/messages/all.tr.js +1 -1
- package/lib/internal/template/i18n/messages/all.tr.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.json +1 -1
- package/lib/internal/template/i18n/messages-types.d.ts +3 -0
- package/lib/internal/template/i18n/messages-types.d.ts.map +1 -1
- package/lib/internal/template/i18n/messages-types.js.map +1 -1
- package/lib/internal/template/index.d.ts +1 -0
- package/lib/internal/template/index.d.ts.map +1 -1
- package/lib/internal/template/index.js +1 -0
- package/lib/internal/template/index.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/focus-lock/utils.d.ts +2 -0
- package/lib/internal/template/internal/components/focus-lock/utils.d.ts.map +1 -1
- package/lib/internal/template/internal/components/focus-lock/utils.js +5 -1
- package/lib/internal/template/internal/components/focus-lock/utils.js.map +1 -1
- package/lib/internal/template/internal/components/listbox/parts/item.d.ts +2 -0
- package/lib/internal/template/internal/components/listbox/parts/item.d.ts.map +1 -1
- package/lib/internal/template/internal/components/listbox/parts/item.js +3 -3
- package/lib/internal/template/internal/components/listbox/parts/item.js.map +1 -1
- package/lib/internal/template/internal/components/listbox/parts/plain-list.d.ts +6 -0
- package/lib/internal/template/internal/components/listbox/parts/plain-list.d.ts.map +1 -1
- package/lib/internal/template/internal/components/listbox/parts/plain-list.js +5 -4
- package/lib/internal/template/internal/components/listbox/parts/plain-list.js.map +1 -1
- package/lib/internal/template/internal/components/listbox/parts/scroll-to-index.d.ts +8 -0
- package/lib/internal/template/internal/components/listbox/parts/scroll-to-index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/listbox/parts/scroll-to-index.js +16 -0
- package/lib/internal/template/internal/components/listbox/parts/scroll-to-index.js.map +1 -1
- package/lib/internal/template/internal/components/listbox/use-listbox.d.ts +2 -2
- package/lib/internal/template/internal/components/listbox/use-listbox.d.ts.map +1 -1
- package/lib/internal/template/internal/components/listbox/use-listbox.js.map +1 -1
- package/lib/internal/template/internal/components/options-list/index.d.ts +4 -1
- package/lib/internal/template/internal/components/options-list/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/options-list/index.js +1 -1
- package/lib/internal/template/internal/components/options-list/index.js.map +1 -1
- package/lib/internal/template/internal/components/options-list/utils/use-keyboard.d.ts +2 -1
- package/lib/internal/template/internal/components/options-list/utils/use-keyboard.d.ts.map +1 -1
- package/lib/internal/template/internal/components/options-list/utils/use-keyboard.js +4 -2
- package/lib/internal/template/internal/components/options-list/utils/use-keyboard.js.map +1 -1
- package/lib/internal/template/internal/components/selectable-item/index.d.ts +1 -0
- package/lib/internal/template/internal/components/selectable-item/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/selectable-item/index.js +2 -1
- package/lib/internal/template/internal/components/selectable-item/index.js.map +1 -1
- package/lib/internal/template/internal/components/selectable-item/interfaces.d.ts +1 -0
- package/lib/internal/template/internal/components/selectable-item/interfaces.d.ts.map +1 -1
- package/lib/internal/template/internal/components/selectable-item/interfaces.js.map +1 -1
- package/lib/internal/template/internal/components/selectable-item/styles.css.js +23 -22
- package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +52 -49
- package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +23 -22
- package/lib/internal/template/internal/components/sticky-header/use-untabbable-descendants.d.ts +3 -0
- package/lib/internal/template/internal/components/sticky-header/use-untabbable-descendants.d.ts.map +1 -0
- package/lib/internal/template/internal/components/sticky-header/use-untabbable-descendants.js +16 -0
- package/lib/internal/template/internal/components/sticky-header/use-untabbable-descendants.js.map +1 -0
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/multiselect/use-multiselect.d.ts +1 -1
- package/lib/internal/template/option-list/index.d.ts +6 -0
- package/lib/internal/template/option-list/index.d.ts.map +1 -0
- package/lib/internal/template/option-list/index.js +21 -0
- package/lib/internal/template/option-list/index.js.map +1 -0
- package/lib/internal/template/option-list/interfaces.d.ts +132 -0
- package/lib/internal/template/option-list/interfaces.d.ts.map +1 -0
- package/lib/internal/template/option-list/interfaces.js +2 -0
- package/lib/internal/template/option-list/interfaces.js.map +1 -0
- package/lib/internal/template/option-list/internal.d.ts +6 -0
- package/lib/internal/template/option-list/internal.d.ts.map +1 -0
- package/lib/internal/template/option-list/internal.js +138 -0
- package/lib/internal/template/option-list/internal.js.map +1 -0
- package/lib/internal/template/option-list/styles.css.js +6 -0
- package/lib/internal/template/option-list/styles.scoped.css +40 -0
- package/lib/internal/template/option-list/styles.selectors.js +7 -0
- package/lib/internal/template/option-list/test-classes/styles.css.js +8 -0
- package/lib/internal/template/option-list/test-classes/styles.scoped.css +9 -0
- package/lib/internal/template/option-list/test-classes/styles.selectors.js +9 -0
- package/lib/internal/template/option-list/use-option-list.d.ts +30 -0
- package/lib/internal/template/option-list/use-option-list.d.ts.map +1 -0
- package/lib/internal/template/option-list/use-option-list.js +69 -0
- package/lib/internal/template/option-list/use-option-list.js.map +1 -0
- package/lib/internal/template/package.json +3 -0
- package/lib/internal/template/table-root/index.js +1 -1
- package/lib/internal/template/table-root/index.js.map +1 -1
- package/lib/internal/template/table-root/interfaces.d.ts +15 -1
- package/lib/internal/template/table-root/interfaces.d.ts.map +1 -1
- package/lib/internal/template/table-root/interfaces.js.map +1 -1
- package/lib/internal/template/table-root/internal.d.ts +1 -1
- package/lib/internal/template/table-root/internal.d.ts.map +1 -1
- package/lib/internal/template/table-root/internal.js +23 -11
- package/lib/internal/template/table-root/internal.js.map +1 -1
- package/lib/internal/template/table-root/sticky-header-slot.d.ts +15 -0
- package/lib/internal/template/table-root/sticky-header-slot.d.ts.map +1 -0
- package/lib/internal/template/table-root/sticky-header-slot.js +13 -0
- package/lib/internal/template/table-root/sticky-header-slot.js.map +1 -0
- package/lib/internal/template/table-root/styles.css.js +10 -5
- package/lib/internal/template/table-root/styles.scoped.css +52 -7
- package/lib/internal/template/table-root/styles.selectors.js +10 -5
- package/lib/internal/template/table-root/use-sticky-header.d.ts +28 -0
- package/lib/internal/template/table-root/use-sticky-header.d.ts.map +1 -0
- package/lib/internal/template/table-root/use-sticky-header.js +141 -0
- package/lib/internal/template/table-root/use-sticky-header.js.map +1 -0
- package/lib/internal/template/test-utils/dom/header/index.d.ts +1 -0
- package/lib/internal/template/test-utils/dom/header/index.js +3 -0
- package/lib/internal/template/test-utils/dom/header/index.js.map +1 -1
- package/lib/internal/template/test-utils/dom/index.d.ts +28 -0
- package/lib/internal/template/test-utils/dom/index.js +21 -2
- package/lib/internal/template/test-utils/dom/index.js.map +1 -1
- package/lib/internal/template/test-utils/dom/option-list/index.d.ts +69 -0
- package/lib/internal/template/test-utils/dom/option-list/index.js +132 -0
- package/lib/internal/template/test-utils/dom/option-list/index.js.map +1 -0
- package/lib/internal/template/test-utils/selectors/header/index.d.ts +1 -0
- package/lib/internal/template/test-utils/selectors/header/index.js +3 -0
- package/lib/internal/template/test-utils/selectors/header/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/index.d.ts +18 -0
- package/lib/internal/template/test-utils/selectors/index.js +16 -2
- package/lib/internal/template/test-utils/selectors/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/option-list/index.d.ts +66 -0
- package/lib/internal/template/test-utils/selectors/option-list/index.js +108 -0
- package/lib/internal/template/test-utils/selectors/option-list/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
7
7
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
8
8
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
9
|
-
.awsui_selectable-
|
|
9
|
+
.awsui_selectable-item_15o6u_rrai1_9:not(#\9) {
|
|
10
10
|
font-size: var(--font-size-body-m-tq5a14, 14px);
|
|
11
11
|
line-height: var(--line-height-body-m-5xw6xo, 22px);
|
|
12
12
|
color: var(--color-text-body-default-b2us04, #16191f);
|
|
@@ -25,43 +25,43 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
25
25
|
overflow: hidden;
|
|
26
26
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded), inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded);
|
|
27
27
|
}
|
|
28
|
-
.awsui_selectable-
|
|
28
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_parent_15o6u_rrai1_28.awsui_interactiveGroups_15o6u_rrai1_28:not(#\9):not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28) {
|
|
29
29
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded), inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded);
|
|
30
30
|
}
|
|
31
|
-
.awsui_selectable-
|
|
31
|
+
.awsui_selectable-item_15o6u_rrai1_9 > .awsui_selectable-item-content_15o6u_rrai1_31:not(#\9) {
|
|
32
32
|
padding-block: var(--space-option-padding-vertical-hggcse, 4px);
|
|
33
33
|
padding-inline: var(--space-field-horizontal-anki5k, 8px);
|
|
34
34
|
}
|
|
35
|
-
.awsui_selectable-
|
|
35
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_pad-bottom_15o6u_rrai1_35:not(#\9) {
|
|
36
36
|
padding-block-end: var(--border-item-width-pyfg4s, 1px);
|
|
37
37
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded);
|
|
38
38
|
}
|
|
39
|
-
.awsui_selectable-
|
|
39
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_pad-bottom_15o6u_rrai1_35 > .awsui_selectable-item-content_15o6u_rrai1_31:not(#\9) {
|
|
40
40
|
padding-block-end: calc(var(--space-option-padding-vertical-hggcse, 4px) + var(--space-xxxs-3ulqs3, 2px));
|
|
41
41
|
}
|
|
42
|
-
.awsui_selectable-
|
|
42
|
+
.awsui_selectable-item_15o6u_rrai1_9:not(#\9):not(:first-child), .awsui_selectable-item_15o6u_rrai1_9.awsui_virtual_15o6u_rrai1_42:not(#\9) {
|
|
43
43
|
margin-block-start: calc(-1 * var(--border-item-width-pyfg4s, 1px));
|
|
44
44
|
}
|
|
45
|
-
.awsui_selectable-
|
|
45
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_has-background_15o6u_rrai1_45:not(#\9) {
|
|
46
46
|
background-color: var(--awsui-option-background-highlighted-8i8exb, var(--color-background-dropdown-item-hover-pvfsrg, #f2f3f3));
|
|
47
47
|
}
|
|
48
|
-
.awsui_selectable-
|
|
48
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_child_15o6u_rrai1_48:not(#\9) {
|
|
49
49
|
padding-inline-start: var(--border-item-width-pyfg4s, 1px);
|
|
50
50
|
}
|
|
51
|
-
.awsui_selectable-
|
|
51
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_child_15o6u_rrai1_48 > .awsui_selectable-item-content_15o6u_rrai1_31:not(#\9) {
|
|
52
52
|
padding-inline-start: var(--space-xxl-xj5vu7, 32px);
|
|
53
53
|
}
|
|
54
|
-
.awsui_selectable-
|
|
54
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_disabled_15o6u_rrai1_54 > .awsui_selectable-item-content_15o6u_rrai1_31:not(#\9) {
|
|
55
55
|
color: var(--awsui-option-color-disabled-8i8exb, var(--color-text-dropdown-item-disabled-2udtn0, #aab7b8));
|
|
56
56
|
}
|
|
57
|
-
.awsui_selectable-
|
|
57
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_highlighted_15o6u_rrai1_28:not(#\9), .awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28:not(#\9) {
|
|
58
58
|
color: var(--awsui-option-color-highlighted-8i8exb, var(--color-text-dropdown-item-highlighted-dikwgu, #16191f));
|
|
59
59
|
border-start-start-radius: var(--border-radius-item-mitz8h, 0px);
|
|
60
60
|
border-start-end-radius: var(--border-radius-item-mitz8h, 0px);
|
|
61
61
|
border-end-start-radius: var(--border-radius-item-mitz8h, 0px);
|
|
62
62
|
border-end-end-radius: var(--border-radius-item-mitz8h, 0px);
|
|
63
63
|
}
|
|
64
|
-
.awsui_selectable-
|
|
64
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_highlighted_15o6u_rrai1_28:not(#\9) {
|
|
65
65
|
z-index: 3;
|
|
66
66
|
background-color: var(--awsui-option-background-highlighted-8i8exb, var(--color-background-dropdown-item-hover-pvfsrg, #f2f3f3));
|
|
67
67
|
box-shadow: inset 0 0 0 var(--border-width-item-selected-l41fek, 1px) var(--color-border-dropdown-item-hover-y2b7z1, #879596);
|
|
@@ -70,124 +70,127 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
70
70
|
border-end-start-radius: var(--border-radius-dropdown-azs8zp, 0px);
|
|
71
71
|
border-end-end-radius: var(--border-radius-dropdown-azs8zp, 0px);
|
|
72
72
|
}
|
|
73
|
-
.awsui_selectable-
|
|
73
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_highlighted_15o6u_rrai1_28.awsui_is-keyboard_15o6u_rrai1_73:not(#\9) {
|
|
74
74
|
box-shadow: inset 0 0 0 var(--border-width-item-selected-l41fek, 1px) var(--color-border-dropdown-item-focused-y1x3ts, #0073bb);
|
|
75
75
|
}
|
|
76
|
-
.awsui_selectable-
|
|
76
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_highlighted_15o6u_rrai1_28.awsui_disabled_15o6u_rrai1_54:not(#\9) {
|
|
77
77
|
box-shadow: inset 0 0 0 var(--border-width-item-selected-l41fek, 1px) var(--color-border-dropdown-item-dimmed-hover-54pdcr, #879596);
|
|
78
78
|
background-color: var(--color-background-dropdown-item-dimmed-vz24i5, transparent);
|
|
79
79
|
}
|
|
80
|
-
.awsui_selectable-
|
|
80
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_highlighted_15o6u_rrai1_28.awsui_disabled_15o6u_rrai1_54 > .awsui_selectable-item-content_15o6u_rrai1_31:not(#\9) {
|
|
81
81
|
color: var(--color-text-dropdown-item-dimmed-asp9ue, #aab7b8);
|
|
82
82
|
}
|
|
83
|
-
.awsui_selectable-
|
|
83
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_highlighted_15o6u_rrai1_28:not(#\9):not(.awsui_visual-refresh_15o6u_rrai1_83).awsui_is-keyboard_15o6u_rrai1_73 {
|
|
84
84
|
box-shadow: inset 0 0 0 var(--border-control-focus-ring-shadow-spread-iijyo6, 1px) var(--color-border-item-focused-sewkzn, #0073bb);
|
|
85
85
|
}
|
|
86
|
-
.awsui_selectable-
|
|
86
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28:not(#\9) {
|
|
87
87
|
z-index: 2;
|
|
88
88
|
background-color: var(--awsui-option-background-selected-8i8exb, var(--color-background-dropdown-item-selected-jwgsiw, #f1faff));
|
|
89
89
|
box-shadow: inset 0 0 0 var(--border-width-item-selected-l41fek, 1px) var(--color-border-dropdown-item-selected-y1kt81, #eaeded);
|
|
90
90
|
}
|
|
91
|
-
.awsui_selectable-
|
|
91
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28.awsui_highlighted_15o6u_rrai1_28:not(#\9) {
|
|
92
92
|
box-shadow: inset 0 0 0 var(--border-width-item-selected-l41fek, 1px) var(--color-border-dropdown-item-selected-y1kt81, #eaeded), inset 0 0 0 calc(2 * var(--border-width-item-selected-l41fek, 1px)) var(--color-border-dropdown-item-hover-y2b7z1, #879596);
|
|
93
93
|
}
|
|
94
|
-
.awsui_selectable-
|
|
94
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28.awsui_highlighted_15o6u_rrai1_28.awsui_is-keyboard_15o6u_rrai1_73:not(#\9) {
|
|
95
95
|
box-shadow: inset 0 0 0 var(--border-width-item-selected-l41fek, 1px) var(--color-border-dropdown-item-selected-y1kt81, #eaeded), inset 0 0 0 calc(2 * var(--border-width-item-selected-l41fek, 1px)) var(--color-border-dropdown-item-focused-y1x3ts, #0073bb);
|
|
96
96
|
}
|
|
97
|
-
.awsui_selectable-
|
|
97
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28.awsui_next-item-selected_15o6u_rrai1_97:not(#\9) {
|
|
98
98
|
border-end-start-radius: 0;
|
|
99
99
|
border-end-end-radius: 0;
|
|
100
100
|
}
|
|
101
|
-
.awsui_selectable-
|
|
101
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28.awsui_highlighted_15o6u_rrai1_28:not(#\9):not(.awsui_visual-refresh_15o6u_rrai1_83) {
|
|
102
102
|
box-shadow: inset 0 0 0 var(--border-width-item-selected-l41fek, 1px) var(--color-border-dropdown-item-hover-y2b7z1, #879596);
|
|
103
103
|
}
|
|
104
|
-
.awsui_selectable-
|
|
104
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28.awsui_highlighted_15o6u_rrai1_28:not(#\9):not(.awsui_visual-refresh_15o6u_rrai1_83).awsui_is-keyboard_15o6u_rrai1_73 {
|
|
105
105
|
box-shadow: inset 0 0 0 var(--border-width-item-selected-l41fek, 1px) var(--color-border-dropdown-item-focused-y1x3ts, #0073bb);
|
|
106
106
|
}
|
|
107
|
-
.awsui_selectable-
|
|
107
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28 + .awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28:not(#\9), .awsui_selectable-item_15o6u_rrai1_9.awsui_selected_15o6u_rrai1_28.awsui_previous-item-selected_15o6u_rrai1_107:not(#\9) {
|
|
108
108
|
border-start-start-radius: 0;
|
|
109
109
|
border-start-end-radius: 0;
|
|
110
110
|
}
|
|
111
|
-
.awsui_selectable-
|
|
111
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_parent_15o6u_rrai1_28:not(#\9):not(.awsui_disabled_15o6u_rrai1_54) > .awsui_selectable-item-content_15o6u_rrai1_31 {
|
|
112
112
|
color: var(--awsui-option-group-label-color-8i8exb, var(--color-text-dropdown-group-label-gquzok, #545b64));
|
|
113
113
|
}
|
|
114
|
-
.awsui_selectable-
|
|
114
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_parent_15o6u_rrai1_28:not(#\9):not(.awsui_interactiveGroups_15o6u_rrai1_28) {
|
|
115
115
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-border-dropdown-group-y5droz, #eaeded), inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded);
|
|
116
116
|
padding-block: 0;
|
|
117
117
|
padding-inline: 0;
|
|
118
118
|
}
|
|
119
|
-
.awsui_selectable-
|
|
119
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_parent_15o6u_rrai1_28:not(#\9):not(.awsui_interactiveGroups_15o6u_rrai1_28):not(:has(> .awsui_selectable-item-content_15o6u_rrai1_31)) {
|
|
120
120
|
padding-block: var(--border-item-width-pyfg4s, 1px);
|
|
121
121
|
padding-inline: var(--border-item-width-pyfg4s, 1px);
|
|
122
122
|
}
|
|
123
|
-
.awsui_selectable-
|
|
123
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_parent_15o6u_rrai1_28:not(#\9):not(.awsui_interactiveGroups_15o6u_rrai1_28) > .awsui_selectable-item-content_15o6u_rrai1_31 {
|
|
124
124
|
padding-block: var(--space-xs-m9b7jf, 8px);
|
|
125
125
|
padding-inline: var(--space-xs-m9b7jf, 8px);
|
|
126
126
|
font-weight: var(--font-weight-bold-xpar9m, 700);
|
|
127
127
|
}
|
|
128
|
-
.awsui_selectable-
|
|
128
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_parent_15o6u_rrai1_28.awsui_interactiveGroups_15o6u_rrai1_28 > .awsui_selectable-item-content_15o6u_rrai1_31:not(#\9) {
|
|
129
129
|
padding-block: var(--space-xs-m9b7jf, 8px);
|
|
130
130
|
padding-inline: var(--space-field-horizontal-anki5k, 8px);
|
|
131
131
|
font-weight: var(--font-weight-bold-xpar9m, 700);
|
|
132
132
|
}
|
|
133
|
-
.awsui_selectable-
|
|
133
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_parent_15o6u_rrai1_28.awsui_interactiveGroups_15o6u_rrai1_28.awsui_highlighted_15o6u_rrai1_28 > .awsui_selectable-item-content_15o6u_rrai1_31:not(#\9) {
|
|
134
134
|
color: var(--color-text-dropdown-item-highlighted-dikwgu, #16191f);
|
|
135
135
|
}
|
|
136
|
-
.awsui_selectable-
|
|
136
|
+
.awsui_selectable-item_15o6u_rrai1_9:not(#\9):not(.awsui_disabled_15o6u_rrai1_54):not(.awsui_parent_15o6u_rrai1_28), .awsui_selectable-item_15o6u_rrai1_9.awsui_interactiveGroups_15o6u_rrai1_28:not(#\9):not(.awsui_disabled_15o6u_rrai1_54) {
|
|
137
137
|
cursor: pointer;
|
|
138
138
|
}
|
|
139
|
-
.awsui_selectable-
|
|
139
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139 + .awsui_selectable-item_15o6u_rrai1_9:not(#\9):not(.awsui_sticky_15o6u_rrai1_139):not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28) {
|
|
140
140
|
box-shadow: inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded);
|
|
141
141
|
}
|
|
142
|
-
.awsui_selectable-
|
|
142
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_hide-top-divider_15o6u_rrai1_142:not(#\9):not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28):not(.awsui_sticky_15o6u_rrai1_139) {
|
|
143
|
+
box-shadow: inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded);
|
|
144
|
+
}
|
|
145
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139:not(#\9) {
|
|
143
146
|
position: sticky;
|
|
144
147
|
inset-block-start: 0;
|
|
145
148
|
margin-block-end: var(--border-item-width-pyfg4s, 1px);
|
|
146
149
|
z-index: 4;
|
|
147
150
|
padding-inline: var(--border-item-width-pyfg4s, 1px);
|
|
148
151
|
}
|
|
149
|
-
.awsui_selectable-
|
|
152
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139.awsui_highlighted_15o6u_rrai1_28:not(#\9), .awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139.awsui_selected_15o6u_rrai1_28:not(#\9) {
|
|
150
153
|
padding-inline: var(--border-item-width-pyfg4s, 1px);
|
|
151
154
|
}
|
|
152
|
-
.awsui_selectable-
|
|
155
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139 > .awsui_selectable-item-content_15o6u_rrai1_31:not(#\9) {
|
|
153
156
|
padding-inline: var(--space-field-horizontal-anki5k, 8px);
|
|
154
157
|
}
|
|
155
|
-
.awsui_selectable-
|
|
158
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139:not(#\9):not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28) {
|
|
156
159
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded), inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded), inset var(--border-width-popover-snsxri, 1px) 0 0 0 var(--color-border-dropdown-container-zmsfa8, transparent);
|
|
157
160
|
}
|
|
158
|
-
.awsui_selectable-
|
|
161
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139:not(#\9):not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28):not(.awsui_with-scrollbar_15o6u_rrai1_161) {
|
|
159
162
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded), inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded), inset var(--border-width-popover-snsxri, 1px) 0 0 0 var(--color-border-dropdown-container-zmsfa8, transparent), inset calc(-1 * var(--border-width-popover-snsxri, 1px)) 0 0 0 var(--color-border-dropdown-container-zmsfa8, transparent);
|
|
160
163
|
}
|
|
161
|
-
.awsui_selectable-
|
|
164
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139:not(#\9):not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28):not(.awsui_after-header_15o6u_rrai1_164) {
|
|
162
165
|
border-start-start-radius: var(--border-radius-item-mitz8h, 0px);
|
|
163
166
|
}
|
|
164
|
-
.awsui_selectable-
|
|
167
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139:not(#\9):not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28):not(.awsui_after-header_15o6u_rrai1_164):not(.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139:not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28):not(.awsui_after-header_15o6u_rrai1_164).awsui_with-scrollbar_15o6u_rrai1_161) {
|
|
165
168
|
border-start-end-radius: var(--border-radius-item-mitz8h, 0px);
|
|
166
169
|
}
|
|
167
|
-
.awsui_selectable-
|
|
170
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139:not(#\9):not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28).awsui_after-header_15o6u_rrai1_164 {
|
|
168
171
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-background-dropdown-item-default-x5ga9w, #ffffff), inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded), inset var(--border-width-popover-snsxri, 1px) 0 0 0 var(--color-border-dropdown-container-zmsfa8, transparent);
|
|
169
172
|
}
|
|
170
|
-
.awsui_selectable-
|
|
173
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139:not(#\9):not(.awsui_highlighted_15o6u_rrai1_28):not(.awsui_selected_15o6u_rrai1_28).awsui_after-header_15o6u_rrai1_164:not(.awsui_with-scrollbar_15o6u_rrai1_161) {
|
|
171
174
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-background-dropdown-item-default-x5ga9w, #ffffff), inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded), inset var(--border-width-popover-snsxri, 1px) 0 0 0 var(--color-border-dropdown-container-zmsfa8, transparent), inset calc(-1 * var(--border-width-popover-snsxri, 1px)) 0 0 0 var(--color-border-dropdown-container-zmsfa8, transparent);
|
|
172
175
|
}
|
|
173
|
-
.awsui_selectable-
|
|
176
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139.awsui_disabled_15o6u_rrai1_54.awsui_highlighted_15o6u_rrai1_28:not(#\9), .awsui_selectable-item_15o6u_rrai1_9.awsui_sticky_15o6u_rrai1_139.awsui_disabled_15o6u_rrai1_54.awsui_selected_15o6u_rrai1_28:not(#\9) {
|
|
174
177
|
box-shadow: none;
|
|
175
178
|
}
|
|
176
|
-
.awsui_selectable-
|
|
179
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_virtual_15o6u_rrai1_42:not(#\9) {
|
|
177
180
|
position: absolute;
|
|
178
181
|
inset-block-start: var(--border-dropdown-virtual-offset-width-a5kgm3, 0px);
|
|
179
182
|
inset-inline-start: 0;
|
|
180
183
|
inline-size: 100%;
|
|
181
184
|
box-sizing: border-box;
|
|
182
185
|
}
|
|
183
|
-
.awsui_selectable-
|
|
186
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_virtual_15o6u_rrai1_42:not(#\9):first-of-type:not(.awsui_selected_15o6u_rrai1_28, .awsui_highlighted_15o6u_rrai1_28) {
|
|
184
187
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-border-dropdown-item-top-vxgkn8, #eaeded), inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded);
|
|
185
188
|
}
|
|
186
|
-
.awsui_selectable-
|
|
189
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_virtual_15o6u_rrai1_42.awsui_parent_15o6u_rrai1_28:not(#\9):not(.awsui_interactiveGroups_15o6u_rrai1_28) {
|
|
187
190
|
box-shadow: inset 0 var(--border-divider-list-width-2qbfmz, 1px) 0 0 var(--color-border-dropdown-group-y5droz, #eaeded), inset 0 calc(-1 * var(--border-divider-list-width-2qbfmz, 1px)) 0 0 var(--color-border-dropdown-item-default-j9osbc, #eaeded);
|
|
188
191
|
}
|
|
189
192
|
|
|
190
|
-
.awsui_measure-
|
|
193
|
+
.awsui_measure-strut_15o6u_rrai1_193:not(#\9) {
|
|
191
194
|
position: absolute;
|
|
192
195
|
pointer-events: none;
|
|
193
196
|
block-size: 100%;
|
|
@@ -195,20 +198,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
195
198
|
inset-block-start: 0;
|
|
196
199
|
inset-inline-start: 0;
|
|
197
200
|
}
|
|
198
|
-
.awsui_selectable-
|
|
201
|
+
.awsui_selectable-item_15o6u_rrai1_9.awsui_virtual_15o6u_rrai1_42 > .awsui_measure-strut_15o6u_rrai1_193:not(#\9) {
|
|
199
202
|
block-size: calc(100% - var(--border-width-item-selected-l41fek, 1px));
|
|
200
203
|
}
|
|
201
204
|
|
|
202
|
-
.awsui_screenreader-
|
|
205
|
+
.awsui_screenreader-content_15o6u_rrai1_205:not(#\9) {
|
|
203
206
|
position: absolute !important;
|
|
204
207
|
inset-block-start: -9999px !important;
|
|
205
208
|
inset-inline-start: -9999px !important;
|
|
206
209
|
}
|
|
207
210
|
|
|
208
|
-
.awsui_option-
|
|
211
|
+
.awsui_option-content_15o6u_rrai1_211:not(#\9) {
|
|
209
212
|
/* used in test-utils */
|
|
210
213
|
}
|
|
211
214
|
|
|
212
|
-
.awsui_select-
|
|
215
|
+
.awsui_select-all_15o6u_rrai1_215:not(#\9) {
|
|
213
216
|
/* used in test-utils */
|
|
214
217
|
}
|
|
@@ -2,27 +2,28 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"selectable-item": "awsui_selectable-
|
|
6
|
-
"parent": "
|
|
7
|
-
"interactiveGroups": "
|
|
8
|
-
"highlighted": "
|
|
9
|
-
"selected": "
|
|
10
|
-
"selectable-item-content": "awsui_selectable-item-
|
|
11
|
-
"pad-bottom": "awsui_pad-
|
|
12
|
-
"virtual": "
|
|
13
|
-
"has-background": "awsui_has-
|
|
14
|
-
"child": "
|
|
15
|
-
"disabled": "
|
|
16
|
-
"is-keyboard": "awsui_is-
|
|
17
|
-
"visual-refresh": "awsui_visual-
|
|
18
|
-
"next-item-selected": "awsui_next-item-
|
|
19
|
-
"previous-item-selected": "awsui_previous-item-
|
|
20
|
-
"sticky": "
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
5
|
+
"selectable-item": "awsui_selectable-item_15o6u_rrai1_9",
|
|
6
|
+
"parent": "awsui_parent_15o6u_rrai1_28",
|
|
7
|
+
"interactiveGroups": "awsui_interactiveGroups_15o6u_rrai1_28",
|
|
8
|
+
"highlighted": "awsui_highlighted_15o6u_rrai1_28",
|
|
9
|
+
"selected": "awsui_selected_15o6u_rrai1_28",
|
|
10
|
+
"selectable-item-content": "awsui_selectable-item-content_15o6u_rrai1_31",
|
|
11
|
+
"pad-bottom": "awsui_pad-bottom_15o6u_rrai1_35",
|
|
12
|
+
"virtual": "awsui_virtual_15o6u_rrai1_42",
|
|
13
|
+
"has-background": "awsui_has-background_15o6u_rrai1_45",
|
|
14
|
+
"child": "awsui_child_15o6u_rrai1_48",
|
|
15
|
+
"disabled": "awsui_disabled_15o6u_rrai1_54",
|
|
16
|
+
"is-keyboard": "awsui_is-keyboard_15o6u_rrai1_73",
|
|
17
|
+
"visual-refresh": "awsui_visual-refresh_15o6u_rrai1_83",
|
|
18
|
+
"next-item-selected": "awsui_next-item-selected_15o6u_rrai1_97",
|
|
19
|
+
"previous-item-selected": "awsui_previous-item-selected_15o6u_rrai1_107",
|
|
20
|
+
"sticky": "awsui_sticky_15o6u_rrai1_139",
|
|
21
|
+
"hide-top-divider": "awsui_hide-top-divider_15o6u_rrai1_142",
|
|
22
|
+
"with-scrollbar": "awsui_with-scrollbar_15o6u_rrai1_161",
|
|
23
|
+
"after-header": "awsui_after-header_15o6u_rrai1_164",
|
|
24
|
+
"measure-strut": "awsui_measure-strut_15o6u_rrai1_193",
|
|
25
|
+
"screenreader-content": "awsui_screenreader-content_15o6u_rrai1_205",
|
|
26
|
+
"option-content": "awsui_option-content_15o6u_rrai1_211",
|
|
27
|
+
"select-all": "awsui_select-all_15o6u_rrai1_215"
|
|
27
28
|
};
|
|
28
29
|
|
package/lib/internal/template/internal/components/sticky-header/use-untabbable-descendants.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-untabbable-descendants.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/sticky-header/use-untabbable-descendants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAmB,MAAM,OAAO,CAAC;AAMnD,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,SAAS,CAAC,WAAW,CAAC,QAQ5E"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { useLayoutEffect } from 'react';
|
|
4
|
+
import { getAllFocusableCandidates } from '../focus-lock/utils';
|
|
5
|
+
// Takes a sticky header copy's controls, including hidden ones, out of the tab order but leaves them clickable.
|
|
6
|
+
// `inert` would also stop clicks, letting them fall through to whatever is underneath.
|
|
7
|
+
export function useUntabbableDescendants(containerRef) {
|
|
8
|
+
useLayoutEffect(() => {
|
|
9
|
+
if (containerRef.current) {
|
|
10
|
+
for (const element of getAllFocusableCandidates(containerRef.current)) {
|
|
11
|
+
element.tabIndex = -1;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=use-untabbable-descendants.js.map
|
package/lib/internal/template/internal/components/sticky-header/use-untabbable-descendants.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-untabbable-descendants.js","sourceRoot":"","sources":["../../../../../src/internal/components/sticky-header/use-untabbable-descendants.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAa,eAAe,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,gHAAgH;AAChH,uFAAuF;AACvF,MAAM,UAAU,wBAAwB,CAAC,YAAoC;IAC3E,eAAe,CAAC,GAAG,EAAE;QACnB,IAAI,YAAY,CAAC,OAAO,EAAE,CAAC;YACzB,KAAK,MAAM,OAAO,IAAI,yBAAyB,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;gBACtE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;YACxB,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { RefObject, useLayoutEffect } from 'react';\n\nimport { getAllFocusableCandidates } from '../focus-lock/utils';\n\n// Takes a sticky header copy's controls, including hidden ones, out of the tab order but leaves them clickable.\n// `inert` would also stop clicks, letting them fall through to whatever is underneath.\nexport function useUntabbableDescendants(containerRef: RefObject<HTMLElement>) {\n useLayoutEffect(() => {\n if (containerRef.current) {\n for (const element of getAllFocusableCandidates(containerRef.current)) {\n element.tabIndex = -1;\n }\n }\n });\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export var PACKAGE_SOURCE = "components";
|
|
2
|
-
export var PACKAGE_VERSION = "3.0.0 (
|
|
3
|
-
export var GIT_SHA = "
|
|
2
|
+
export var PACKAGE_VERSION = "3.0.0 (95f7f6a7)";
|
|
3
|
+
export var GIT_SHA = "95f7f6a7";
|
|
4
4
|
export var THEME = "open-source-visual-refresh";
|
|
5
5
|
export var SYSTEM = "core";
|
|
6
6
|
export var ALWAYS_VISUAL_REFRESH = true;
|
|
@@ -45,7 +45,7 @@ export declare function useMultiselect({ options, filteringType, filteringResult
|
|
|
45
45
|
ariaLabel?: string | undefined;
|
|
46
46
|
nativeAttributes?: Record<string, any> | undefined;
|
|
47
47
|
tagOverride?: "div" | "ul" | undefined;
|
|
48
|
-
statusType
|
|
48
|
+
statusType?: DropdownStatusProps.StatusType | undefined;
|
|
49
49
|
ariaRequired?: boolean | undefined;
|
|
50
50
|
decreaseBlockMargin?: boolean | undefined;
|
|
51
51
|
stickyItemBlockSize?: number | null | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OptionListProps } from './interfaces';
|
|
3
|
+
export { OptionListProps };
|
|
4
|
+
declare const OptionList: React.ForwardRefExoticComponent<OptionListProps & React.RefAttributes<OptionListProps.Ref>>;
|
|
5
|
+
export default OptionList;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/option-list/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B,QAAA,MAAM,UAAU,6FASd,CAAC;AAGH,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
'use client';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import useBaseComponent from '../internal/hooks/use-base-component';
|
|
6
|
+
import { applyDisplayName } from '../internal/utils/apply-display-name';
|
|
7
|
+
import { getExternalProps } from '../internal/utils/external-props';
|
|
8
|
+
import InternalOptionList from './internal';
|
|
9
|
+
const OptionList = React.forwardRef((props, ref) => {
|
|
10
|
+
const baseComponentProps = useBaseComponent('OptionList', {
|
|
11
|
+
props: { selectionType: props.selectionType },
|
|
12
|
+
metadata: {
|
|
13
|
+
optionsCount: props.options.length,
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
const externalProps = getExternalProps(props);
|
|
17
|
+
return React.createElement(InternalOptionList, { ...externalProps, ...baseComponentProps, ref: ref });
|
|
18
|
+
});
|
|
19
|
+
applyDisplayName(OptionList, 'OptionList');
|
|
20
|
+
export default OptionList;
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/option-list/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,kBAAkB,MAAM,YAAY,CAAC;AAI5C,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAsB,EAAE,GAAmC,EAAE,EAAE;IAClG,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,YAAY,EAAE;QACxD,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,CAAC,aAAa,EAAE;QAC7C,QAAQ,EAAE;YACR,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM;SACnC;KACF,CAAC,CAAC;IACH,MAAM,aAAa,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC9C,OAAO,oBAAC,kBAAkB,OAAK,aAAa,KAAM,kBAAkB,EAAE,GAAG,EAAE,GAAG,GAAI,CAAC;AACrF,CAAC,CAAC,CAAC;AAEH,gBAAgB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;AAC3C,eAAe,UAAU,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { getExternalProps } from '../internal/utils/external-props';\nimport { OptionListProps } from './interfaces';\nimport InternalOptionList from './internal';\n\nexport { OptionListProps };\n\nconst OptionList = React.forwardRef((props: OptionListProps, ref: React.Ref<OptionListProps.Ref>) => {\n const baseComponentProps = useBaseComponent('OptionList', {\n props: { selectionType: props.selectionType },\n metadata: {\n optionsCount: props.options.length,\n },\n });\n const externalProps = getExternalProps(props);\n return <InternalOptionList {...externalProps} {...baseComponentProps} ref={ref} />;\n});\n\napplyDisplayName(OptionList, 'OptionList');\nexport default OptionList;\n"]}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseComponentProps } from '../types/base-component';
|
|
3
|
+
import { NonCancelableEventHandler } from '../types/events';
|
|
4
|
+
export interface OptionListProps extends BaseComponentProps {
|
|
5
|
+
/**
|
|
6
|
+
* Specifies an array of options that are displayed as a list.
|
|
7
|
+
* You can group options into one level of option groups.
|
|
8
|
+
*
|
|
9
|
+
* #### Option
|
|
10
|
+
* - `value` (string) - The returned value of the option when selected. Must be unique.
|
|
11
|
+
* - `label` (string) - (Optional) Option text displayed to the user.
|
|
12
|
+
* - `lang` (string) - (Optional) The language of the option, provided as a BCP 47 language tag.
|
|
13
|
+
* - `description` (string) - (Optional) Further information about the option that appears below the label.
|
|
14
|
+
* - `disabled` (boolean) - (Optional) Determines whether the option is disabled. Users can't select or deselect a disabled option.
|
|
15
|
+
* - `disabledReason` (ReactNode) - (Optional) Displays a tooltip near the item when disabled. Use to provide additional context.
|
|
16
|
+
* - `labelTag` (string) - (Optional) A label tag that provides additional guidance, shown next to the label.
|
|
17
|
+
* - `tags` [string[]] - (Optional) A list of tags giving further guidance about the option.
|
|
18
|
+
* - `icon` (ReactNode) - (Optional) An icon displayed in the option, such as an [icon component](/components/icon/).
|
|
19
|
+
*
|
|
20
|
+
* #### OptionGroup
|
|
21
|
+
* - `value` (string) - Identifies the option group. Must be unique among the groups.
|
|
22
|
+
* - `label` (string) - Option group text displayed to the user.
|
|
23
|
+
* - `disabled` (boolean) - (Optional) Determines whether the option group is disabled. Disables every option in the group.
|
|
24
|
+
* - `options` (Option[]) - The options in the group.
|
|
25
|
+
*
|
|
26
|
+
* Options are the selection target. Do not render interactive elements such as buttons or links inside them.
|
|
27
|
+
*/
|
|
28
|
+
options: OptionListProps.Options;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies whether the user can select one option (`single`) or several (`multi`).
|
|
31
|
+
* Multi selection shows a checkbox next to each option.
|
|
32
|
+
*/
|
|
33
|
+
selectionType: OptionListProps.SelectionType;
|
|
34
|
+
/**
|
|
35
|
+
* The selected options. Options are matched by `value`. In single selection, only the first option of the array is used.
|
|
36
|
+
* If you don't provide this property, the component manages its selection internally.
|
|
37
|
+
*/
|
|
38
|
+
selectedOptions?: ReadonlyArray<OptionListProps.Option>;
|
|
39
|
+
/**
|
|
40
|
+
* Called when the user selects or deselects an option.
|
|
41
|
+
* The event `detail` contains the new `selectedOptions`.
|
|
42
|
+
*/
|
|
43
|
+
onChange?: NonCancelableEventHandler<OptionListProps.ChangeDetail>;
|
|
44
|
+
/**
|
|
45
|
+
* Adds `aria-label` to the list. Use this when there is no visible label.
|
|
46
|
+
*/
|
|
47
|
+
ariaLabel?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Adds `aria-labelledby` to the list. Use this to reference the visible label of the list.
|
|
50
|
+
*/
|
|
51
|
+
ariaLabelledby?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Adds `aria-describedby` to the list.
|
|
54
|
+
*/
|
|
55
|
+
ariaDescribedby?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies a render function to render custom options.
|
|
58
|
+
*/
|
|
59
|
+
renderOption?: OptionListProps.OptionItemRenderer;
|
|
60
|
+
/**
|
|
61
|
+
* Overrides the element that is announced to screen readers
|
|
62
|
+
* when the highlighted option changes. By default, this announces
|
|
63
|
+
* the option's name and properties, and its selected state if
|
|
64
|
+
* the `selectedAriaLabel` property is defined.
|
|
65
|
+
* The highlighted option is provided, and its group (if groups
|
|
66
|
+
* are used and it differs from the group of the previously highlighted option).
|
|
67
|
+
* In multi selection, when a group header is highlighted, the group is provided as the option.
|
|
68
|
+
*
|
|
69
|
+
* For more information, see the
|
|
70
|
+
* [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).
|
|
71
|
+
*/
|
|
72
|
+
renderHighlightedAriaLive?: OptionListProps.ContainingOptionAndGroupString;
|
|
73
|
+
/**
|
|
74
|
+
* An object containing all the necessary localized strings required by the component.
|
|
75
|
+
* * `selectedAriaLabel` - Announced with the highlighted option when it is selected.
|
|
76
|
+
* @i18n
|
|
77
|
+
*/
|
|
78
|
+
i18nStrings?: OptionListProps.I18nStrings;
|
|
79
|
+
}
|
|
80
|
+
export declare namespace OptionListProps {
|
|
81
|
+
type SelectionType = 'single' | 'multi';
|
|
82
|
+
interface Option {
|
|
83
|
+
value: string;
|
|
84
|
+
label?: string;
|
|
85
|
+
lang?: string;
|
|
86
|
+
description?: string;
|
|
87
|
+
disabled?: boolean;
|
|
88
|
+
disabledReason?: React.ReactNode;
|
|
89
|
+
labelTag?: string;
|
|
90
|
+
tags?: ReadonlyArray<string>;
|
|
91
|
+
icon?: React.ReactNode;
|
|
92
|
+
}
|
|
93
|
+
interface OptionGroup extends Option {
|
|
94
|
+
options: ReadonlyArray<Option>;
|
|
95
|
+
}
|
|
96
|
+
type Options = ReadonlyArray<Option | OptionGroup>;
|
|
97
|
+
interface OptionItem {
|
|
98
|
+
type: 'item';
|
|
99
|
+
index: number;
|
|
100
|
+
option: Option;
|
|
101
|
+
selected: boolean;
|
|
102
|
+
highlighted: boolean;
|
|
103
|
+
disabled: boolean;
|
|
104
|
+
parent: OptionGroupItem | null;
|
|
105
|
+
}
|
|
106
|
+
interface OptionGroupItem {
|
|
107
|
+
type: 'group';
|
|
108
|
+
index: number;
|
|
109
|
+
option: OptionGroup;
|
|
110
|
+
disabled: boolean;
|
|
111
|
+
selected?: boolean;
|
|
112
|
+
indeterminate?: boolean;
|
|
113
|
+
highlighted?: boolean;
|
|
114
|
+
}
|
|
115
|
+
type Item = OptionItem | OptionGroupItem;
|
|
116
|
+
type OptionItemRenderer = (props: {
|
|
117
|
+
item: Item;
|
|
118
|
+
}) => React.ReactNode | null;
|
|
119
|
+
interface ContainingOptionAndGroupString {
|
|
120
|
+
(option: Option | OptionGroup, group?: OptionGroup): string;
|
|
121
|
+
}
|
|
122
|
+
interface ChangeDetail {
|
|
123
|
+
selectedOptions: ReadonlyArray<Option>;
|
|
124
|
+
}
|
|
125
|
+
interface I18nStrings {
|
|
126
|
+
selectedAriaLabel?: string;
|
|
127
|
+
}
|
|
128
|
+
interface Ref {
|
|
129
|
+
focus(): void;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/option-list/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,MAAM,WAAW,eAAgB,SAAQ,kBAAkB;IACzD;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,OAAO,EAAE,eAAe,CAAC,OAAO,CAAC;IAEjC;;;OAGG;IACH,aAAa,EAAE,eAAe,CAAC,aAAa,CAAC;IAE7C;;;OAGG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IAExD;;;OAGG;IACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;IAEnE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,YAAY,CAAC,EAAE,eAAe,CAAC,kBAAkB,CAAC;IAElD;;;;;;;;;;;OAWG;IACH,yBAAyB,CAAC,EAAE,eAAe,CAAC,8BAA8B,CAAC;IAE3E;;;;OAIG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC;CAC3C;AAED,yBAAiB,eAAe,CAAC;IAC/B,KAAY,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAC;IAE/C,UAAiB,MAAM;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KACxB;IAED,UAAiB,WAAY,SAAQ,MAAM;QACzC,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;KAChC;IAED,KAAY,OAAO,GAAG,aAAa,CAAC,MAAM,GAAG,WAAW,CAAC,CAAC;IAE1D,UAAiB,UAAU;QACzB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,OAAO,CAAC;QAClB,WAAW,EAAE,OAAO,CAAC;QACrB,QAAQ,EAAE,OAAO,CAAC;QAClB,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;KAChC;IAED,UAAiB,eAAe;QAC9B,IAAI,EAAE,OAAO,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,WAAW,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC;QAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB;IAED,KAAY,IAAI,GAAG,UAAU,GAAG,eAAe,CAAC;IAEhD,KAAY,kBAAkB,GAAG,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAEnF,UAAiB,8BAA8B;QAC7C,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,EAAE,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;KAC7D;IAED,UAAiB,YAAY;QAC3B,eAAe,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;KACxC;IAED,UAAiB,WAAW;QAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B;IAED,UAAiB,GAAG;QAClB,KAAK,IAAI,IAAI,CAAC;KACf;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/option-list/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../types/base-component';\nimport { NonCancelableEventHandler } from '../types/events';\n\nexport interface OptionListProps extends BaseComponentProps {\n /**\n * Specifies an array of options that are displayed as a list.\n * You can group options into one level of option groups.\n *\n * #### Option\n * - `value` (string) - The returned value of the option when selected. Must be unique.\n * - `label` (string) - (Optional) Option text displayed to the user.\n * - `lang` (string) - (Optional) The language of the option, provided as a BCP 47 language tag.\n * - `description` (string) - (Optional) Further information about the option that appears below the label.\n * - `disabled` (boolean) - (Optional) Determines whether the option is disabled. Users can't select or deselect a disabled option.\n * - `disabledReason` (ReactNode) - (Optional) Displays a 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.\n * - `icon` (ReactNode) - (Optional) An icon displayed in the option, such as an [icon component](/components/icon/).\n *\n * #### OptionGroup\n * - `value` (string) - Identifies the option group. Must be unique among the groups.\n * - `label` (string) - Option group text displayed to the user.\n * - `disabled` (boolean) - (Optional) Determines whether the option group is disabled. Disables every option in the group.\n * - `options` (Option[]) - The options in the group.\n *\n * Options are the selection target. Do not render interactive elements such as buttons or links inside them.\n */\n options: OptionListProps.Options;\n\n /**\n * Specifies whether the user can select one option (`single`) or several (`multi`).\n * Multi selection shows a checkbox next to each option.\n */\n selectionType: OptionListProps.SelectionType;\n\n /**\n * The selected options. Options are matched by `value`. In single selection, only the first option of the array is used.\n * If you don't provide this property, the component manages its selection internally.\n */\n selectedOptions?: ReadonlyArray<OptionListProps.Option>;\n\n /**\n * Called when the user selects or deselects an option.\n * The event `detail` contains the new `selectedOptions`.\n */\n onChange?: NonCancelableEventHandler<OptionListProps.ChangeDetail>;\n\n /**\n * Adds `aria-label` to the list. Use this when there is no visible label.\n */\n ariaLabel?: string;\n\n /**\n * Adds `aria-labelledby` to the list. Use this to reference the visible label of the list.\n */\n ariaLabelledby?: string;\n\n /**\n * Adds `aria-describedby` to the list.\n */\n ariaDescribedby?: string;\n\n /**\n * Specifies a render function to render custom options.\n */\n renderOption?: OptionListProps.OptionItemRenderer;\n\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 * In multi selection, when a group header is highlighted, the group is provided as the option.\n *\n * For more information, see the\n * [accessibility guidelines](/components/select/?tabId=usage#accessibility-guidelines).\n */\n renderHighlightedAriaLive?: OptionListProps.ContainingOptionAndGroupString;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * * `selectedAriaLabel` - Announced with the highlighted option when it is selected.\n * @i18n\n */\n i18nStrings?: OptionListProps.I18nStrings;\n}\n\nexport namespace OptionListProps {\n export type SelectionType = 'single' | 'multi';\n\n export interface Option {\n value: string;\n label?: string;\n lang?: string;\n description?: string;\n disabled?: boolean;\n disabledReason?: React.ReactNode;\n labelTag?: string;\n tags?: ReadonlyArray<string>;\n icon?: React.ReactNode;\n }\n\n export interface OptionGroup extends Option {\n options: ReadonlyArray<Option>;\n }\n\n export type Options = ReadonlyArray<Option | OptionGroup>;\n\n export interface OptionItem {\n type: 'item';\n index: number;\n option: Option;\n selected: boolean;\n highlighted: boolean;\n disabled: boolean;\n parent: OptionGroupItem | null;\n }\n\n export interface OptionGroupItem {\n type: 'group';\n index: number;\n option: OptionGroup;\n disabled: boolean;\n selected?: boolean;\n indeterminate?: boolean;\n highlighted?: boolean;\n }\n\n export type Item = OptionItem | OptionGroupItem;\n\n export type OptionItemRenderer = (props: { item: Item }) => React.ReactNode | null;\n\n export interface ContainingOptionAndGroupString {\n (option: Option | OptionGroup, group?: OptionGroup): string;\n }\n\n export interface ChangeDetail {\n selectedOptions: ReadonlyArray<Option>;\n }\n\n export interface I18nStrings {\n selectedAriaLabel?: string;\n }\n\n export interface Ref {\n focus(): void;\n }\n}\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
|
|
3
|
+
import { OptionListProps } from './interfaces';
|
|
4
|
+
declare const InternalOptionList: React.ForwardRefExoticComponent<OptionListProps & InternalBaseComponentProps & React.RefAttributes<OptionListProps.Ref>>;
|
|
5
|
+
export default InternalOptionList;
|
|
6
|
+
//# sourceMappingURL=internal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/option-list/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAgBpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAyD/C,QAAA,MAAM,kBAAkB,0HAoJvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|