@cloudscape-design/components 3.0.244 → 3.0.246
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/annotation-context/annotation/annotation-trigger.d.ts.map +1 -1
- package/annotation-context/annotation/annotation-trigger.js +1 -3
- package/annotation-context/annotation/annotation-trigger.js.map +1 -1
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +29 -29
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/visual-refresh/styles.css.js +61 -61
- package/app-layout/visual-refresh/styles.scoped.css +151 -151
- package/app-layout/visual-refresh/styles.selectors.js +61 -61
- package/app-layout/visual-refresh/trigger-button.d.ts.map +1 -1
- package/app-layout/visual-refresh/trigger-button.js +2 -4
- package/app-layout/visual-refresh/trigger-button.js.map +1 -1
- package/breadcrumb-group/item/item.d.ts.map +1 -1
- package/breadcrumb-group/item/item.js +2 -5
- package/breadcrumb-group/item/item.js.map +1 -1
- package/breadcrumb-group/item/styles.css.js +9 -9
- package/breadcrumb-group/item/styles.scoped.css +17 -17
- package/breadcrumb-group/item/styles.selectors.js +9 -9
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +2 -3
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +19 -18
- package/button/styles.scoped.css +136 -136
- package/button/styles.selectors.js +19 -18
- package/calendar/grid/index.d.ts.map +1 -1
- package/calendar/grid/index.js +2 -4
- package/calendar/grid/index.js.map +1 -1
- package/calendar/styles.css.js +18 -18
- package/calendar/styles.scoped.css +38 -38
- package/calendar/styles.selectors.js +18 -18
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +109 -109
- package/code-editor/styles.selectors.js +32 -32
- package/code-editor/tab-button.d.ts.map +1 -1
- package/code-editor/tab-button.js +2 -4
- package/code-editor/tab-button.js.map +1 -1
- package/date-picker/index.d.ts.map +1 -1
- package/date-picker/index.js +1 -3
- package/date-picker/index.js.map +1 -1
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +9 -9
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/grid.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/grid.js +1 -3
- package/date-range-picker/calendar/grids/grid.js.map +1 -1
- package/date-range-picker/calendar/grids/index.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/index.js +1 -3
- package/date-range-picker/calendar/grids/index.js.map +1 -1
- package/date-range-picker/calendar/grids/styles.css.js +25 -25
- package/date-range-picker/calendar/grids/styles.scoped.css +42 -42
- package/date-range-picker/calendar/grids/styles.selectors.js +25 -25
- package/date-range-picker/dropdown.d.ts.map +1 -1
- package/date-range-picker/dropdown.js +1 -3
- package/date-range-picker/dropdown.js.map +1 -1
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +45 -45
- package/date-range-picker/styles.selectors.js +38 -38
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +8 -11
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/styles.css.js +23 -23
- package/expandable-section/styles.scoped.css +44 -44
- package/expandable-section/styles.selectors.js +23 -23
- package/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/flashbar/collapsible-flashbar.js +1 -3
- package/flashbar/collapsible-flashbar.js.map +1 -1
- package/flashbar/flash.d.ts.map +1 -1
- package/flashbar/flash.js +1 -3
- package/flashbar/flash.js.map +1 -1
- package/flashbar/styles.css.js +45 -45
- package/flashbar/styles.scoped.css +144 -144
- package/flashbar/styles.selectors.js +45 -45
- package/internal/components/abstract-switch/index.d.ts.map +1 -1
- package/internal/components/abstract-switch/index.js +8 -4
- package/internal/components/abstract-switch/index.js.map +1 -1
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +19 -19
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/index.d.ts.map +1 -1
- package/internal/components/button-trigger/index.js +1 -3
- package/internal/components/button-trigger/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +9 -9
- package/internal/components/button-trigger/styles.scoped.css +23 -23
- package/internal/components/button-trigger/styles.selectors.js +9 -9
- package/internal/components/chart-legend/index.d.ts.map +1 -1
- package/internal/components/chart-legend/index.js +2 -4
- package/internal/components/chart-legend/index.js.map +1 -1
- package/internal/components/chart-legend/styles.css.js +6 -6
- package/internal/components/chart-legend/styles.scoped.css +15 -15
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/chart-plot/focus-outline.d.ts.map +1 -1
- package/internal/components/chart-plot/focus-outline.js +25 -3
- package/internal/components/chart-plot/focus-outline.js.map +1 -1
- package/internal/components/filtering-token/index.d.ts +2 -1
- package/internal/components/filtering-token/index.d.ts.map +1 -1
- package/internal/components/filtering-token/index.js +3 -5
- package/internal/components/filtering-token/index.js.map +1 -1
- package/internal/components/filtering-token/styles.css.js +7 -7
- package/internal/components/filtering-token/styles.scoped.css +13 -13
- package/internal/components/filtering-token/styles.selectors.js +7 -7
- package/internal/components/menu-dropdown/index.d.ts.map +1 -1
- package/internal/components/menu-dropdown/index.js +2 -4
- package/internal/components/menu-dropdown/index.js.map +1 -1
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +13 -13
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/options-list/utils/use-keyboard.d.ts +0 -2
- package/internal/components/options-list/utils/use-keyboard.d.ts.map +1 -1
- package/internal/components/options-list/utils/use-keyboard.js +2 -3
- package/internal/components/options-list/utils/use-keyboard.js.map +1 -1
- package/internal/components/token-list/index.d.ts +1 -1
- package/internal/components/token-list/index.d.ts.map +1 -1
- package/internal/components/token-list/index.js +3 -3
- package/internal/components/token-list/index.js.map +1 -1
- package/internal/components/token-list/interfaces.d.ts +0 -1
- package/internal/components/token-list/interfaces.d.ts.map +1 -1
- package/internal/components/token-list/interfaces.js.map +1 -1
- package/internal/components/token-list/styles.css.js +9 -9
- package/internal/components/token-list/styles.scoped.css +20 -20
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/components/token-list/token-focus-controller.js +1 -1
- package/internal/components/token-list/token-focus-controller.js.map +1 -1
- package/internal/components/token-list/token-limit-toggle.d.ts.map +1 -1
- package/internal/components/token-list/token-limit-toggle.js +1 -3
- package/internal/components/token-list/token-limit-toggle.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/hooks/focus-visible/index.d.ts +2 -5
- package/internal/hooks/focus-visible/index.d.ts.map +1 -1
- package/internal/hooks/focus-visible/index.js +42 -22
- package/internal/hooks/focus-visible/index.js.map +1 -1
- package/internal/hooks/use-base-component/index.d.ts.map +1 -1
- package/internal/hooks/use-base-component/index.js +2 -0
- package/internal/hooks/use-base-component/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/link/internal.d.ts.map +1 -1
- package/link/internal.js +1 -3
- package/link/internal.js.map +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +71 -71
- package/link/styles.selectors.js +20 -20
- package/package.json +1 -1
- package/pagination/internal.d.ts.map +1 -1
- package/pagination/internal.js +1 -3
- package/pagination/internal.js.map +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +23 -23
- package/pagination/styles.selectors.js +9 -9
- package/popover/internal.d.ts.map +1 -1
- package/popover/internal.js +1 -3
- package/popover/internal.js.map +1 -1
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +63 -63
- package/popover/styles.selectors.js +50 -50
- package/property-filter/index.d.ts.map +1 -1
- package/property-filter/index.js +2 -2
- package/property-filter/index.js.map +1 -1
- package/property-filter/token.d.ts.map +1 -1
- package/property-filter/token.js +1 -1
- package/property-filter/token.js.map +1 -1
- package/segmented-control/segment.d.ts.map +1 -1
- package/segmented-control/segment.js +1 -3
- package/segmented-control/segment.js.map +1 -1
- package/segmented-control/styles.css.js +14 -14
- package/segmented-control/styles.scoped.css +33 -33
- package/segmented-control/styles.selectors.js +14 -14
- package/select/utils/use-select.d.ts.map +1 -1
- package/select/utils/use-select.js +0 -3
- package/select/utils/use-select.js.map +1 -1
- package/side-navigation/internal.d.ts.map +1 -1
- package/side-navigation/internal.js +2 -5
- package/side-navigation/internal.js.map +1 -1
- package/side-navigation/styles.css.js +27 -27
- package/side-navigation/styles.scoped.css +37 -37
- package/side-navigation/styles.selectors.js +27 -27
- package/split-panel/index.d.ts.map +1 -1
- package/split-panel/index.js +1 -3
- package/split-panel/index.js.map +1 -1
- package/split-panel/styles.css.js +59 -59
- package/split-panel/styles.scoped.css +81 -81
- package/split-panel/styles.selectors.js +59 -59
- package/table/body-cell/index.d.ts.map +1 -1
- package/table/body-cell/index.js +3 -3
- package/table/body-cell/index.js.map +1 -1
- package/table/body-cell/styles.css.js +18 -18
- package/table/body-cell/styles.scoped.css +57 -55
- package/table/body-cell/styles.selectors.js +18 -18
- package/table/header-cell/index.d.ts.map +1 -1
- package/table/header-cell/index.js +11 -9
- package/table/header-cell/index.js.map +1 -1
- package/table/header-cell/styles.css.js +19 -19
- package/table/header-cell/styles.scoped.css +32 -32
- package/table/header-cell/styles.selectors.js +19 -19
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +1 -3
- package/table/internal.js.map +1 -1
- package/table/resizer/styles.css.js +6 -6
- package/table/resizer/styles.scoped.css +11 -11
- package/table/resizer/styles.selectors.js +6 -6
- package/table/styles.css.js +33 -33
- package/table/styles.scoped.css +41 -41
- package/table/styles.selectors.js +33 -33
- package/tabs/index.d.ts.map +1 -1
- package/tabs/index.js +8 -3
- package/tabs/index.js.map +1 -1
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +38 -38
- package/tabs/styles.selectors.js +21 -21
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +9 -3
- package/tabs/tab-header-bar.js.map +1 -1
- package/tag-editor/internal.d.ts.map +1 -1
- package/tag-editor/internal.js +2 -4
- package/tag-editor/internal.js.map +1 -1
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +10 -10
- package/tag-editor/styles.selectors.js +3 -3
- package/token-group/dismiss-button.d.ts.map +1 -1
- package/token-group/dismiss-button.js +1 -3
- package/token-group/dismiss-button.js.map +1 -1
- package/token-group/internal.js +2 -2
- package/token-group/internal.js.map +1 -1
- package/token-group/styles.css.js +5 -5
- package/token-group/styles.scoped.css +12 -12
- package/token-group/styles.selectors.js +5 -5
- package/token-group/token.d.ts +3 -5
- package/token-group/token.d.ts.map +1 -1
- package/token-group/token.js +2 -2
- package/token-group/token.js.map +1 -1
- package/top-navigation/1.0-beta/internal.d.ts.map +1 -1
- package/top-navigation/1.0-beta/internal.js +1 -3
- package/top-navigation/1.0-beta/internal.js.map +1 -1
- package/top-navigation/1.0-beta/styles.css.js +25 -25
- package/top-navigation/1.0-beta/styles.scoped.css +42 -42
- package/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/top-navigation/interfaces.d.ts +4 -0
- package/top-navigation/interfaces.d.ts.map +1 -1
- package/top-navigation/interfaces.js.map +1 -1
- package/top-navigation/internal.d.ts.map +1 -1
- package/top-navigation/internal.js +1 -3
- package/top-navigation/internal.js.map +1 -1
- package/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
- package/top-navigation/parts/overflow-menu/menu-item.js +9 -13
- package/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
- package/top-navigation/parts/utility.d.ts.map +1 -1
- package/top-navigation/parts/utility.js +2 -1
- package/top-navigation/parts/utility.js.map +1 -1
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +66 -66
- package/top-navigation/styles.selectors.js +47 -47
- package/tutorial-panel/components/tutorial-list/index.d.ts.map +1 -1
- package/tutorial-panel/components/tutorial-list/index.js +1 -3
- package/tutorial-panel/components/tutorial-list/index.js.map +1 -1
- package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +27 -27
- package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/wizard/styles.css.js +32 -32
- package/wizard/styles.scoped.css +63 -63
- package/wizard/styles.selectors.js +32 -32
- package/wizard/wizard-form.d.ts.map +1 -1
- package/wizard/wizard-form.js +1 -3
- package/wizard/wizard-form.js.map +1 -1
|
@@ -2,66 +2,66 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"appbar": "
|
|
6
|
-
"appbar-nav": "awsui_appbar-
|
|
7
|
-
"breadcrumbs": "
|
|
8
|
-
"appbar-tools": "awsui_appbar-
|
|
9
|
-
"has-breadcrumbs": "awsui_has-
|
|
10
|
-
"has-notifications-content": "awsui_has-notifications-
|
|
11
|
-
"has-header": "awsui_has-
|
|
12
|
-
"has-dynamic-overlap-height": "awsui_has-dynamic-overlap-
|
|
13
|
-
"content-type-wizard": "awsui_content-type-
|
|
14
|
-
"content-type-cards": "awsui_content-type-
|
|
15
|
-
"content-type-table": "awsui_content-type-
|
|
16
|
-
"has-sticky-background": "awsui_has-sticky-
|
|
17
|
-
"background": "
|
|
18
|
-
"notifications-appbar-header": "awsui_notifications-appbar-
|
|
19
|
-
"sticky-notifications": "awsui_sticky-
|
|
20
|
-
"overlap": "
|
|
21
|
-
"content": "
|
|
22
|
-
"layout": "
|
|
23
|
-
"has-max-content-width": "awsui_has-max-content-
|
|
24
|
-
"content-type-dashboard": "awsui_content-type-
|
|
25
|
-
"is-overlap-disabled": "awsui_is-overlap-
|
|
26
|
-
"disable-body-scroll": "awsui_disable-body-
|
|
27
|
-
"has-sticky-notifications": "awsui_has-sticky-
|
|
28
|
-
"has-split-panel": "awsui_has-split-
|
|
29
|
-
"split-panel-position-bottom": "awsui_split-panel-position-
|
|
30
|
-
"has-content-gap-left": "awsui_has-content-gap-
|
|
31
|
-
"has-content-gap-right": "awsui_has-content-gap-
|
|
32
|
-
"block-body-scroll": "awsui_block-body-
|
|
33
|
-
"container": "
|
|
34
|
-
"disable-content-paddings": "awsui_disable-content-
|
|
35
|
-
"is-navigation-open": "awsui_is-navigation-
|
|
36
|
-
"is-tools-open": "awsui_is-tools-
|
|
37
|
-
"is-split-panel-open": "awsui_is-split-panel-
|
|
38
|
-
"split-panel-position-side": "awsui_split-panel-position-
|
|
39
|
-
"content-type-default": "awsui_content-type-
|
|
40
|
-
"content-type-form": "awsui_content-type-
|
|
41
|
-
"unfocusable": "
|
|
42
|
-
"navigation-container": "awsui_navigation-
|
|
43
|
-
"show-navigation": "awsui_show-
|
|
44
|
-
"animating": "
|
|
45
|
-
"showButtons": "
|
|
46
|
-
"navigation": "
|
|
47
|
-
"openNavigation": "
|
|
48
|
-
"animated-content": "awsui_animated-
|
|
49
|
-
"hide-navigation": "awsui_hide-
|
|
50
|
-
"notifications": "
|
|
51
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
52
|
-
"position-bottom": "awsui_position-
|
|
53
|
-
"openSplitPanelBottom": "
|
|
54
|
-
"split-panel-side": "awsui_split-panel-
|
|
55
|
-
"position-side": "awsui_position-
|
|
56
|
-
"openSplitPanelSide": "
|
|
57
|
-
"tools-container": "awsui_tools-
|
|
58
|
-
"tools": "
|
|
59
|
-
"openTools": "
|
|
60
|
-
"has-tools-form-persistence": "awsui_has-tools-form-
|
|
61
|
-
"hide-tools": "awsui_hide-
|
|
62
|
-
"show-tools": "awsui_show-
|
|
63
|
-
"has-tools-form": "awsui_has-tools-
|
|
64
|
-
"trigger": "
|
|
65
|
-
"selected": "
|
|
5
|
+
"appbar": "awsui_appbar_hyvsj_10sxp_93",
|
|
6
|
+
"appbar-nav": "awsui_appbar-nav_hyvsj_10sxp_117",
|
|
7
|
+
"breadcrumbs": "awsui_breadcrumbs_hyvsj_10sxp_121",
|
|
8
|
+
"appbar-tools": "awsui_appbar-tools_hyvsj_10sxp_125",
|
|
9
|
+
"has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_10sxp_166",
|
|
10
|
+
"has-notifications-content": "awsui_has-notifications-content_hyvsj_10sxp_173",
|
|
11
|
+
"has-header": "awsui_has-header_hyvsj_10sxp_179",
|
|
12
|
+
"has-dynamic-overlap-height": "awsui_has-dynamic-overlap-height_hyvsj_10sxp_179",
|
|
13
|
+
"content-type-wizard": "awsui_content-type-wizard_hyvsj_10sxp_180",
|
|
14
|
+
"content-type-cards": "awsui_content-type-cards_hyvsj_10sxp_183",
|
|
15
|
+
"content-type-table": "awsui_content-type-table_hyvsj_10sxp_184",
|
|
16
|
+
"has-sticky-background": "awsui_has-sticky-background_hyvsj_10sxp_187",
|
|
17
|
+
"background": "awsui_background_hyvsj_10sxp_221",
|
|
18
|
+
"notifications-appbar-header": "awsui_notifications-appbar-header_hyvsj_10sxp_224",
|
|
19
|
+
"sticky-notifications": "awsui_sticky-notifications_hyvsj_10sxp_237",
|
|
20
|
+
"overlap": "awsui_overlap_hyvsj_10sxp_243",
|
|
21
|
+
"content": "awsui_content_hyvsj_10sxp_180",
|
|
22
|
+
"layout": "awsui_layout_hyvsj_10sxp_335",
|
|
23
|
+
"has-max-content-width": "awsui_has-max-content-width_hyvsj_10sxp_418",
|
|
24
|
+
"content-type-dashboard": "awsui_content-type-dashboard_hyvsj_10sxp_433",
|
|
25
|
+
"is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_10sxp_460",
|
|
26
|
+
"disable-body-scroll": "awsui_disable-body-scroll_hyvsj_10sxp_463",
|
|
27
|
+
"has-sticky-notifications": "awsui_has-sticky-notifications_hyvsj_10sxp_467",
|
|
28
|
+
"has-split-panel": "awsui_has-split-panel_hyvsj_10sxp_481",
|
|
29
|
+
"split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_10sxp_481",
|
|
30
|
+
"has-content-gap-left": "awsui_has-content-gap-left_hyvsj_10sxp_493",
|
|
31
|
+
"has-content-gap-right": "awsui_has-content-gap-right_hyvsj_10sxp_496",
|
|
32
|
+
"block-body-scroll": "awsui_block-body-scroll_hyvsj_10sxp_511",
|
|
33
|
+
"container": "awsui_container_hyvsj_10sxp_519",
|
|
34
|
+
"disable-content-paddings": "awsui_disable-content-paddings_hyvsj_10sxp_545",
|
|
35
|
+
"is-navigation-open": "awsui_is-navigation-open_hyvsj_10sxp_550",
|
|
36
|
+
"is-tools-open": "awsui_is-tools-open_hyvsj_10sxp_553",
|
|
37
|
+
"is-split-panel-open": "awsui_is-split-panel-open_hyvsj_10sxp_553",
|
|
38
|
+
"split-panel-position-side": "awsui_split-panel-position-side_hyvsj_10sxp_553",
|
|
39
|
+
"content-type-default": "awsui_content-type-default_hyvsj_10sxp_573",
|
|
40
|
+
"content-type-form": "awsui_content-type-form_hyvsj_10sxp_573",
|
|
41
|
+
"unfocusable": "awsui_unfocusable_hyvsj_10sxp_614",
|
|
42
|
+
"navigation-container": "awsui_navigation-container_hyvsj_10sxp_624",
|
|
43
|
+
"show-navigation": "awsui_show-navigation_hyvsj_10sxp_659",
|
|
44
|
+
"animating": "awsui_animating_hyvsj_10sxp_681",
|
|
45
|
+
"showButtons": "awsui_showButtons_hyvsj_10sxp_1",
|
|
46
|
+
"navigation": "awsui_navigation_hyvsj_10sxp_624",
|
|
47
|
+
"openNavigation": "awsui_openNavigation_hyvsj_10sxp_1",
|
|
48
|
+
"animated-content": "awsui_animated-content_hyvsj_10sxp_742",
|
|
49
|
+
"hide-navigation": "awsui_hide-navigation_hyvsj_10sxp_751",
|
|
50
|
+
"notifications": "awsui_notifications_hyvsj_10sxp_224",
|
|
51
|
+
"split-panel-bottom": "awsui_split-panel-bottom_hyvsj_10sxp_818",
|
|
52
|
+
"position-bottom": "awsui_position-bottom_hyvsj_10sxp_864",
|
|
53
|
+
"openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_10sxp_1",
|
|
54
|
+
"split-panel-side": "awsui_split-panel-side_hyvsj_10sxp_893",
|
|
55
|
+
"position-side": "awsui_position-side_hyvsj_10sxp_921",
|
|
56
|
+
"openSplitPanelSide": "awsui_openSplitPanelSide_hyvsj_10sxp_1",
|
|
57
|
+
"tools-container": "awsui_tools-container_hyvsj_10sxp_958",
|
|
58
|
+
"tools": "awsui_tools_hyvsj_10sxp_958",
|
|
59
|
+
"openTools": "awsui_openTools_hyvsj_10sxp_1",
|
|
60
|
+
"has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_10sxp_1043",
|
|
61
|
+
"hide-tools": "awsui_hide-tools_hyvsj_10sxp_1053",
|
|
62
|
+
"show-tools": "awsui_show-tools_hyvsj_10sxp_1065",
|
|
63
|
+
"has-tools-form": "awsui_has-tools-form_hyvsj_10sxp_1043",
|
|
64
|
+
"trigger": "awsui_trigger_hyvsj_10sxp_1132",
|
|
65
|
+
"selected": "awsui_selected_hyvsj_10sxp_1171"
|
|
66
66
|
};
|
|
67
67
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-button.d.ts","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/trigger-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"trigger-button.d.ts","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/trigger-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,UAAU,kBAAkB;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC;IACzB,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;AA2BD,wBAA+C"}
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
-
import useFocusVisible from '../../internal/hooks/focus-visible';
|
|
6
5
|
import Icon from '../../icon/internal';
|
|
7
6
|
import styles from './styles.css.js';
|
|
8
7
|
function TriggerButton({ ariaLabel, iconName, onClick, selected = false, className }, ref) {
|
|
9
|
-
|
|
10
|
-
return (React.createElement("button", Object.assign({ "aria-label": ariaLabel, "aria-expanded": false, "aria-haspopup": true, className: clsx(styles.trigger, {
|
|
8
|
+
return (React.createElement("button", { "aria-label": ariaLabel, "aria-expanded": false, "aria-haspopup": true, className: clsx(styles.trigger, {
|
|
11
9
|
[styles.selected]: selected,
|
|
12
|
-
}, className), onClick: onClick, type: "button", ref: ref },
|
|
10
|
+
}, className), onClick: onClick, type: "button", ref: ref },
|
|
13
11
|
React.createElement(Icon, { name: iconName })));
|
|
14
12
|
}
|
|
15
13
|
export default React.forwardRef(TriggerButton);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-button.js","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/trigger-button.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"trigger-button.js","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/trigger-button.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAYrC,SAAS,aAAa,CACpB,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAE,SAAS,EAAsB,EACjF,GAA+B;IAE/B,OAAO,CACL,8CACc,SAAS,mBACN,KAAK,mBACL,IAAI,EACnB,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,OAAO,EACd;YACE,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,QAAQ;SAC5B,EACD,SAAS,CACV,EACD,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,QAAQ,EACb,GAAG,EAAE,GAAmC;QAExC,oBAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,GAAI,CACjB,CACV,CAAC;AACJ,CAAC;AAED,eAAe,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport Icon from '../../icon/internal';\nimport styles from './styles.css.js';\nimport { ButtonProps } from '../../button/interfaces';\nimport { IconProps } from '../../icon/interfaces';\n\ninterface TriggerButtonProps {\n ariaLabel?: string;\n iconName: IconProps.Name;\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n selected?: boolean;\n className?: string;\n}\n\nfunction TriggerButton(\n { ariaLabel, iconName, onClick, selected = false, className }: TriggerButtonProps,\n ref: React.Ref<ButtonProps.Ref>\n) {\n return (\n <button\n aria-label={ariaLabel}\n aria-expanded={false}\n aria-haspopup={true}\n className={clsx(\n styles.trigger,\n {\n [styles.selected]: selected,\n },\n className\n )}\n onClick={onClick}\n type=\"button\"\n ref={ref as React.Ref<HTMLButtonElement>}\n >\n <Icon name={iconName} />\n </button>\n );\n}\n\nexport default React.forwardRef(TriggerButton);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"lib/default/","sources":["breadcrumb-group/item/item.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"lib/default/","sources":["breadcrumb-group/item/item.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAyH1E,wBAAgB,cAAc,CAAC,CAAC,SAAS,oBAAoB,CAAC,IAAI,EAAE,EAClE,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,WAAW,EACX,MAAc,EACd,YAAoB,GACrB,EAAE,mBAAmB,CAAC,CAAC,CAAC,eAwCxB"}
|
|
@@ -5,7 +5,6 @@ import React, { useEffect, useRef, useState } from 'react';
|
|
|
5
5
|
import InternalIcon from '../../icon/internal';
|
|
6
6
|
import styles from './styles.css.js';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
|
-
import useFocusVisible from '../../internal/hooks/focus-visible';
|
|
9
8
|
import { fireCancelableEvent, isPlainLeftClick } from '../../internal/events';
|
|
10
9
|
import { getEventDetail } from '../internal';
|
|
11
10
|
import { Transition } from '../../internal/components/transition';
|
|
@@ -15,7 +14,6 @@ import Portal from '../../internal/components/portal';
|
|
|
15
14
|
import popoverStyles from '../../popover/styles.css.js';
|
|
16
15
|
const BreadcrumbItemWithPopover = (_a) => {
|
|
17
16
|
var { item, isLast, anchorAttributes } = _a, itemAttributes = __rest(_a, ["item", "isLast", "anchorAttributes"]);
|
|
18
|
-
const focusVisible = useFocusVisible();
|
|
19
17
|
const [showPopover, setShowPopover] = useState(false);
|
|
20
18
|
const textRef = useRef(null);
|
|
21
19
|
const virtualTextRef = useRef(null);
|
|
@@ -54,7 +52,7 @@ const BreadcrumbItemWithPopover = (_a) => {
|
|
|
54
52
|
isTruncated(textRef, virtualTextRef) && setShowPopover(true);
|
|
55
53
|
}, onBlur: () => setShowPopover(false), onMouseEnter: () => {
|
|
56
54
|
isTruncated(textRef, virtualTextRef) && setShowPopover(true);
|
|
57
|
-
}, onMouseLeave: () => setShowPopover(false), anchorAttributes:
|
|
55
|
+
}, onMouseLeave: () => setShowPopover(false), anchorAttributes: anchorAttributes }),
|
|
58
56
|
React.createElement("span", { className: styles.text, ref: textRef }, item.text),
|
|
59
57
|
React.createElement("span", { className: styles['virtual-item'], ref: virtualTextRef }, item.text)),
|
|
60
58
|
showPopover && popoverContent));
|
|
@@ -64,7 +62,6 @@ const Item = (_a) => {
|
|
|
64
62
|
return isLast ? (React.createElement("span", Object.assign({}, itemAttributes), children)) : (React.createElement("a", Object.assign({}, itemAttributes, anchorAttributes), children));
|
|
65
63
|
};
|
|
66
64
|
export function BreadcrumbItem({ item, onClick, onFollow, isDisplayed, isLast = false, isCompressed = false, }) {
|
|
67
|
-
const focusVisible = useFocusVisible();
|
|
68
65
|
const preventDefault = (event) => event.preventDefault();
|
|
69
66
|
const onClickHandler = (event) => {
|
|
70
67
|
if (isPlainLeftClick(event)) {
|
|
@@ -81,7 +78,7 @@ export function BreadcrumbItem({ item, onClick, onFollow, isDisplayed, isLast =
|
|
|
81
78
|
};
|
|
82
79
|
return (React.createElement(React.Fragment, null,
|
|
83
80
|
React.createElement("div", { className: clsx(styles.breadcrumb, isLast && styles.last) },
|
|
84
|
-
isDisplayed && isCompressed ? (React.createElement(BreadcrumbItemWithPopover, Object.assign({ item: item, isLast: isLast, anchorAttributes: anchorAttributes }, itemAttributes))) : (React.createElement(Item, Object.assign({ isLast: isLast, anchorAttributes:
|
|
81
|
+
isDisplayed && isCompressed ? (React.createElement(BreadcrumbItemWithPopover, Object.assign({ item: item, isLast: isLast, anchorAttributes: anchorAttributes }, itemAttributes))) : (React.createElement(Item, Object.assign({ isLast: isLast, anchorAttributes: anchorAttributes }, itemAttributes),
|
|
85
82
|
React.createElement("span", { className: styles.text }, item.text))),
|
|
86
83
|
!isLast ? (React.createElement("span", { className: styles.icon },
|
|
87
84
|
React.createElement(InternalIcon, { name: "angle-right" }))) : null)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","sourceRoot":"lib/default/","sources":["breadcrumb-group/item/item.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAA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,CAAC,IAAI,CAAQ,CAC3C,CACR;YACA,CAAC,MAAM,CAAC,CAAC,CAAC,CACT,8BAAM,SAAS,EAAE,MAAM,CAAC,IAAI;gBAC1B,oBAAC,YAAY,IAAC,IAAI,EAAC,aAAa,GAAG,CAC9B,CACR,CAAC,CAAC,CAAC,IAAI,CACJ,CACL,CACJ,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\nimport { BreadcrumbGroupProps, BreadcrumbItemProps } from '../interfaces';\nimport InternalIcon from '../../icon/internal';\nimport styles from './styles.css.js';\nimport clsx from 'clsx';\nimport useFocusVisible from '../../internal/hooks/focus-visible';\nimport { fireCancelableEvent, isPlainLeftClick } from '../../internal/events';\nimport { getEventDetail } from '../internal';\nimport { Transition } from '../../internal/components/transition';\nimport PopoverContainer from '../../popover/container';\nimport PopoverBody from '../../popover/body';\nimport Portal from '../../internal/components/portal';\nimport popoverStyles from '../../popover/styles.css.js';\n\ntype BreadcrumbItemWithPopoverProps<T extends BreadcrumbGroupProps.Item> = React.HTMLAttributes<HTMLElement> & {\n item: T;\n isLast: boolean;\n anchorAttributes: React.AnchorHTMLAttributes<HTMLAnchorElement>;\n};\n\nconst BreadcrumbItemWithPopover = <T extends BreadcrumbGroupProps.Item>({\n item,\n isLast,\n anchorAttributes,\n ...itemAttributes\n}: BreadcrumbItemWithPopoverProps<T>) => {\n const focusVisible = useFocusVisible();\n const [showPopover, setShowPopover] = useState(false);\n const textRef = useRef<HTMLElement>(null);\n const virtualTextRef = useRef<HTMLElement>(null);\n\n const isTruncated = (textRef: React.RefObject<HTMLElement>, virtualTextRef: React.RefObject<HTMLElement>) => {\n if (!textRef || !virtualTextRef || !textRef.current || !virtualTextRef.current) {\n return false;\n }\n const virtualTextWidth = virtualTextRef.current.getBoundingClientRect().width;\n const textWidth = textRef.current.getBoundingClientRect().width;\n if (virtualTextWidth > textWidth) {\n return true;\n }\n return false;\n };\n\n const popoverContent = (\n <Portal>\n <div className={styles['item-popover']}>\n <Transition in={true}>\n {() => (\n <PopoverContainer\n trackRef={textRef}\n size=\"small\"\n fixedWidth={false}\n position=\"bottom\"\n arrow={position => (\n <div className={clsx(popoverStyles.arrow, popoverStyles[`arrow-position-${position}`])}>\n <div className={popoverStyles['arrow-outer']} />\n <div className={popoverStyles['arrow-inner']} />\n </div>\n )}\n >\n <PopoverBody dismissButton={false} dismissAriaLabel={undefined} onDismiss={() => {}} header={undefined}>\n {item.text}\n </PopoverBody>\n </PopoverContainer>\n )}\n </Transition>\n </div>\n </Portal>\n );\n\n useEffect(() => {\n const onKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n setShowPopover(false);\n }\n };\n if (showPopover) {\n document.addEventListener('keydown', onKeyDown);\n }\n return () => {\n document.removeEventListener('keydown', onKeyDown);\n };\n }, [showPopover]);\n\n return (\n <>\n <Item\n isLast={isLast}\n {...itemAttributes}\n onFocus={() => {\n isTruncated(textRef, virtualTextRef) && setShowPopover(true);\n }}\n onBlur={() => setShowPopover(false)}\n onMouseEnter={() => {\n isTruncated(textRef, virtualTextRef) && setShowPopover(true);\n }}\n onMouseLeave={() => setShowPopover(false)}\n anchorAttributes={{ ...focusVisible, ...anchorAttributes }}\n >\n <span className={styles.text} ref={textRef}>\n {item.text}\n </span>\n <span className={styles['virtual-item']} ref={virtualTextRef}>\n {item.text}\n </span>\n </Item>\n {showPopover && popoverContent}\n </>\n );\n};\n\ntype ItemProps = React.HTMLAttributes<HTMLElement> & {\n anchorAttributes: React.AnchorHTMLAttributes<HTMLAnchorElement>;\n isLast: boolean;\n};\nconst Item = ({ anchorAttributes, children, isLast, ...itemAttributes }: ItemProps) =>\n isLast ? (\n <span {...itemAttributes}>{children}</span>\n ) : (\n <a {...itemAttributes} {...anchorAttributes}>\n {children}\n </a>\n );\n\nexport function BreadcrumbItem<T extends BreadcrumbGroupProps.Item>({\n item,\n onClick,\n onFollow,\n isDisplayed,\n isLast = false,\n isCompressed = false,\n}: BreadcrumbItemProps<T>) {\n const focusVisible = useFocusVisible();\n const preventDefault = (event: React.MouseEvent) => event.preventDefault();\n const onClickHandler = (event: React.MouseEvent) => {\n if (isPlainLeftClick(event)) {\n fireCancelableEvent(onFollow, getEventDetail(item), event);\n }\n fireCancelableEvent(onClick, getEventDetail(item), event);\n };\n\n const itemAttributes: React.HTMLAttributes<HTMLElement> = {\n className: clsx(styles.anchor, { [styles.compressed]: isCompressed }),\n };\n const anchorAttributes: React.AnchorHTMLAttributes<HTMLAnchorElement> = {\n href: item.href || '#',\n onClick: isLast ? preventDefault : onClickHandler,\n };\n\n return (\n <>\n <div className={clsx(styles.breadcrumb, isLast && styles.last)}>\n {isDisplayed && isCompressed ? (\n <BreadcrumbItemWithPopover\n item={item}\n isLast={isLast}\n anchorAttributes={anchorAttributes}\n {...itemAttributes}\n />\n ) : (\n <Item isLast={isLast} anchorAttributes={{ ...anchorAttributes, ...focusVisible }} {...itemAttributes}>\n <span className={styles.text}>{item.text}</span>\n </Item>\n )}\n {!isLast ? (\n <span className={styles.icon}>\n <InternalIcon name=\"angle-right\" />\n </span>\n ) : null}\n </div>\n </>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"item.js","sourceRoot":"lib/default/","sources":["breadcrumb-group/item/item.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE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C,CAAC;IAEF,MAAM,cAAc,GAAsC;QACxD,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,YAAY,EAAE,CAAC;KACtE,CAAC;IACF,MAAM,gBAAgB,GAAkD;QACtE,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,GAAG;QACtB,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc;KAClD,CAAC;IAEF,OAAO,CACL;QACE,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,CAAC;YAC3D,WAAW,IAAI,YAAY,CAAC,CAAC,CAAC,CAC7B,oBAAC,yBAAyB,kBACxB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,gBAAgB,IAC9B,cAAc,EAClB,CACH,CAAC,CAAC,CAAC,CACF,oBAAC,IAAI,kBAAC,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,IAAM,cAAc;gBAC1E,8BAAM,SAAS,EAAE,MAAM,CAAC,IAAI,IAAG,IAAI,CAAC,IAAI,CAAQ,CAC3C,CACR;YACA,CAAC,MAAM,CAAC,CAAC,CAAC,CACT,8BAAM,SAAS,EAAE,MAAM,CAAC,IAAI;gBAC1B,oBAAC,YAAY,IAAC,IAAI,EAAC,aAAa,GAAG,CAC9B,CACR,CAAC,CAAC,CAAC,IAAI,CACJ,CACL,CACJ,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\nimport { BreadcrumbGroupProps, BreadcrumbItemProps } from '../interfaces';\nimport InternalIcon from '../../icon/internal';\nimport styles from './styles.css.js';\nimport clsx from 'clsx';\nimport { fireCancelableEvent, isPlainLeftClick } from '../../internal/events';\nimport { getEventDetail } from '../internal';\nimport { Transition } from '../../internal/components/transition';\nimport PopoverContainer from '../../popover/container';\nimport PopoverBody from '../../popover/body';\nimport Portal from '../../internal/components/portal';\nimport popoverStyles from '../../popover/styles.css.js';\n\ntype BreadcrumbItemWithPopoverProps<T extends BreadcrumbGroupProps.Item> = React.HTMLAttributes<HTMLElement> & {\n item: T;\n isLast: boolean;\n anchorAttributes: React.AnchorHTMLAttributes<HTMLAnchorElement>;\n};\n\nconst BreadcrumbItemWithPopover = <T extends BreadcrumbGroupProps.Item>({\n item,\n isLast,\n anchorAttributes,\n ...itemAttributes\n}: BreadcrumbItemWithPopoverProps<T>) => {\n const [showPopover, setShowPopover] = useState(false);\n const textRef = useRef<HTMLElement>(null);\n const virtualTextRef = useRef<HTMLElement>(null);\n\n const isTruncated = (textRef: React.RefObject<HTMLElement>, virtualTextRef: React.RefObject<HTMLElement>) => {\n if (!textRef || !virtualTextRef || !textRef.current || !virtualTextRef.current) {\n return false;\n }\n const virtualTextWidth = virtualTextRef.current.getBoundingClientRect().width;\n const textWidth = textRef.current.getBoundingClientRect().width;\n if (virtualTextWidth > textWidth) {\n return true;\n }\n return false;\n };\n\n const popoverContent = (\n <Portal>\n <div className={styles['item-popover']}>\n <Transition in={true}>\n {() => (\n <PopoverContainer\n trackRef={textRef}\n size=\"small\"\n fixedWidth={false}\n position=\"bottom\"\n arrow={position => (\n <div className={clsx(popoverStyles.arrow, popoverStyles[`arrow-position-${position}`])}>\n <div className={popoverStyles['arrow-outer']} />\n <div className={popoverStyles['arrow-inner']} />\n </div>\n )}\n >\n <PopoverBody dismissButton={false} dismissAriaLabel={undefined} onDismiss={() => {}} header={undefined}>\n {item.text}\n </PopoverBody>\n </PopoverContainer>\n )}\n </Transition>\n </div>\n </Portal>\n );\n\n useEffect(() => {\n const onKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n setShowPopover(false);\n }\n };\n if (showPopover) {\n document.addEventListener('keydown', onKeyDown);\n }\n return () => {\n document.removeEventListener('keydown', onKeyDown);\n };\n }, [showPopover]);\n\n return (\n <>\n <Item\n isLast={isLast}\n {...itemAttributes}\n onFocus={() => {\n isTruncated(textRef, virtualTextRef) && setShowPopover(true);\n }}\n onBlur={() => setShowPopover(false)}\n onMouseEnter={() => {\n isTruncated(textRef, virtualTextRef) && setShowPopover(true);\n }}\n onMouseLeave={() => setShowPopover(false)}\n anchorAttributes={anchorAttributes}\n >\n <span className={styles.text} ref={textRef}>\n {item.text}\n </span>\n <span className={styles['virtual-item']} ref={virtualTextRef}>\n {item.text}\n </span>\n </Item>\n {showPopover && popoverContent}\n </>\n );\n};\n\ntype ItemProps = React.HTMLAttributes<HTMLElement> & {\n anchorAttributes: React.AnchorHTMLAttributes<HTMLAnchorElement>;\n isLast: boolean;\n};\nconst Item = ({ anchorAttributes, children, isLast, ...itemAttributes }: ItemProps) =>\n isLast ? (\n <span {...itemAttributes}>{children}</span>\n ) : (\n <a {...itemAttributes} {...anchorAttributes}>\n {children}\n </a>\n );\n\nexport function BreadcrumbItem<T extends BreadcrumbGroupProps.Item>({\n item,\n onClick,\n onFollow,\n isDisplayed,\n isLast = false,\n isCompressed = false,\n}: BreadcrumbItemProps<T>) {\n const preventDefault = (event: React.MouseEvent) => event.preventDefault();\n const onClickHandler = (event: React.MouseEvent) => {\n if (isPlainLeftClick(event)) {\n fireCancelableEvent(onFollow, getEventDetail(item), event);\n }\n fireCancelableEvent(onClick, getEventDetail(item), event);\n };\n\n const itemAttributes: React.HTMLAttributes<HTMLElement> = {\n className: clsx(styles.anchor, { [styles.compressed]: isCompressed }),\n };\n const anchorAttributes: React.AnchorHTMLAttributes<HTMLAnchorElement> = {\n href: item.href || '#',\n onClick: isLast ? preventDefault : onClickHandler,\n };\n\n return (\n <>\n <div className={clsx(styles.breadcrumb, isLast && styles.last)}>\n {isDisplayed && isCompressed ? (\n <BreadcrumbItemWithPopover\n item={item}\n isLast={isLast}\n anchorAttributes={anchorAttributes}\n {...itemAttributes}\n />\n ) : (\n <Item isLast={isLast} anchorAttributes={anchorAttributes} {...itemAttributes}>\n <span className={styles.text}>{item.text}</span>\n </Item>\n )}\n {!isLast ? (\n <span className={styles.icon}>\n <InternalIcon name=\"angle-right\" />\n </span>\n ) : null}\n </div>\n </>\n );\n}\n"]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"link": "
|
|
5
|
-
"breadcrumb": "
|
|
6
|
-
"icon": "
|
|
7
|
-
"anchor": "
|
|
8
|
-
"last": "
|
|
9
|
-
"compressed": "
|
|
10
|
-
"text": "
|
|
11
|
-
"virtual-item": "awsui_virtual-
|
|
12
|
-
"item-popover": "awsui_item-
|
|
4
|
+
"link": "awsui_link_1kosq_1a5si_93",
|
|
5
|
+
"breadcrumb": "awsui_breadcrumb_1kosq_1a5si_97",
|
|
6
|
+
"icon": "awsui_icon_1kosq_1a5si_100",
|
|
7
|
+
"anchor": "awsui_anchor_1kosq_1a5si_104",
|
|
8
|
+
"last": "awsui_last_1kosq_1a5si_147",
|
|
9
|
+
"compressed": "awsui_compressed_1kosq_1a5si_157",
|
|
10
|
+
"text": "awsui_text_1kosq_1a5si_161",
|
|
11
|
+
"virtual-item": "awsui_virtual-item_1kosq_1a5si_168",
|
|
12
|
+
"item-popover": "awsui_item-popover_1kosq_1a5si_175"
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -90,18 +90,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.
|
|
93
|
+
.awsui_link_1kosq_1a5si_93:not(#\9):after {
|
|
94
94
|
display: none;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.
|
|
97
|
+
.awsui_breadcrumb_1kosq_1a5si_97:not(#\9) {
|
|
98
98
|
display: flex;
|
|
99
99
|
}
|
|
100
|
-
.
|
|
100
|
+
.awsui_breadcrumb_1kosq_1a5si_97 > .awsui_icon_1kosq_1a5si_100:not(#\9) {
|
|
101
101
|
margin: 0 var(--space-xs-rsr2qu, 8px);
|
|
102
102
|
color: var(--color-text-breadcrumb-icon-mlugp6, #7d8998);
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9) {
|
|
105
105
|
color: var(--color-text-link-default-5f186r, #0972d3);
|
|
106
106
|
font-weight: inherit;
|
|
107
107
|
letter-spacing: normal;
|
|
@@ -114,31 +114,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
114
114
|
transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
|
|
115
115
|
}
|
|
116
116
|
@media (prefers-reduced-motion: reduce) {
|
|
117
|
-
.
|
|
117
|
+
.awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9) {
|
|
118
118
|
animation: none;
|
|
119
119
|
transition: none;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
.awsui-motion-disabled .
|
|
122
|
+
.awsui-motion-disabled .awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9), .awsui-mode-entering .awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9) {
|
|
123
123
|
animation: none;
|
|
124
124
|
transition: none;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9):hover {
|
|
127
127
|
cursor: pointer;
|
|
128
128
|
color: var(--color-text-link-hover-kololx, #033160);
|
|
129
129
|
}
|
|
130
|
-
.
|
|
130
|
+
.awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9):focus {
|
|
131
131
|
outline: none;
|
|
132
132
|
}
|
|
133
|
-
.
|
|
133
|
+
.awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9):active {
|
|
134
134
|
color: var(--color-text-link-hover-kololx, #033160);
|
|
135
135
|
}
|
|
136
|
-
.
|
|
136
|
+
.awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9):active, .awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9):focus, .awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9):hover {
|
|
137
137
|
text-decoration: underline;
|
|
138
138
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
139
139
|
text-decoration-color: currentColor;
|
|
140
140
|
}
|
|
141
|
-
|
|
141
|
+
body[data-awsui-focus-visible=true] .awsui_breadcrumb_1kosq_1a5si_97 > .awsui_anchor_1kosq_1a5si_104:not(#\9):focus {
|
|
142
142
|
outline: thin dotted;
|
|
143
143
|
outline: var(--border-link-focus-ring-outline-k2wccv, 0);
|
|
144
144
|
outline-offset: 2px;
|
|
@@ -146,34 +146,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
146
146
|
border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
|
|
147
147
|
box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-nv4ahb, 2px) var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
148
148
|
}
|
|
149
|
-
.
|
|
149
|
+
.awsui_breadcrumb_1kosq_1a5si_97.awsui_last_1kosq_1a5si_147 > .awsui_icon_1kosq_1a5si_100:not(#\9) {
|
|
150
150
|
display: none;
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
.awsui_breadcrumb_1kosq_1a5si_97.awsui_last_1kosq_1a5si_147 > .awsui_anchor_1kosq_1a5si_104:not(#\9) {
|
|
153
153
|
color: var(--color-text-breadcrumb-current-mum16s, #5f6b7a);
|
|
154
154
|
font-weight: 700;
|
|
155
155
|
text-decoration: none;
|
|
156
156
|
cursor: default;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.
|
|
159
|
+
.awsui_compressed_1kosq_1a5si_157:not(#\9) {
|
|
160
160
|
min-width: 0;
|
|
161
161
|
overflow: hidden;
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
.awsui_compressed_1kosq_1a5si_157 > .awsui_text_1kosq_1a5si_161:not(#\9) {
|
|
164
164
|
overflow: hidden;
|
|
165
165
|
text-overflow: ellipsis;
|
|
166
166
|
white-space: nowrap;
|
|
167
167
|
display: block;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
.awsui_virtual-
|
|
170
|
+
.awsui_virtual-item_1kosq_1a5si_168:not(#\9) {
|
|
171
171
|
position: absolute !important;
|
|
172
172
|
top: -9999px !important;
|
|
173
173
|
left: -9999px !important;
|
|
174
174
|
visibility: hidden;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
.awsui_item-
|
|
177
|
+
.awsui_item-popover_1kosq_1a5si_175:not(#\9) {
|
|
178
178
|
/* used in tests */
|
|
179
179
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"link": "
|
|
6
|
-
"breadcrumb": "
|
|
7
|
-
"icon": "
|
|
8
|
-
"anchor": "
|
|
9
|
-
"last": "
|
|
10
|
-
"compressed": "
|
|
11
|
-
"text": "
|
|
12
|
-
"virtual-item": "awsui_virtual-
|
|
13
|
-
"item-popover": "awsui_item-
|
|
5
|
+
"link": "awsui_link_1kosq_1a5si_93",
|
|
6
|
+
"breadcrumb": "awsui_breadcrumb_1kosq_1a5si_97",
|
|
7
|
+
"icon": "awsui_icon_1kosq_1a5si_100",
|
|
8
|
+
"anchor": "awsui_anchor_1kosq_1a5si_104",
|
|
9
|
+
"last": "awsui_last_1kosq_1a5si_147",
|
|
10
|
+
"compressed": "awsui_compressed_1kosq_1a5si_157",
|
|
11
|
+
"text": "awsui_text_1kosq_1a5si_161",
|
|
12
|
+
"virtual-item": "awsui_virtual-item_1kosq_1a5si_168",
|
|
13
|
+
"item-popover": "awsui_item-popover_1kosq_1a5si_175"
|
|
14
14
|
};
|
|
15
15
|
|
package/button/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"lib/default/","sources":["button/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"lib/default/","sources":["button/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAalF,eAAO,MAAM,cAAc;cAPf,WAAW,CAAC,SAAS,CAAC,GAAG,eAAe,GAAG,kBAAkB,GAAG,cAAc,GAAG,eAAe;;;;;sEAwI3G,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
package/button/internal.js
CHANGED
|
@@ -4,7 +4,6 @@ import { __rest } from "tslib";
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import React, { useCallback, useRef } from 'react';
|
|
6
6
|
import { fireCancelableEvent, isPlainLeftClick } from '../internal/events';
|
|
7
|
-
import useFocusVisible from '../internal/hooks/focus-visible';
|
|
8
7
|
import useForwardFocus from '../internal/hooks/forward-focus';
|
|
9
8
|
import styles from './styles.css.js';
|
|
10
9
|
import { LeftIcon, RightIcon } from './icon-helper';
|
|
@@ -14,7 +13,6 @@ import LiveRegion from '../internal/components/live-region';
|
|
|
14
13
|
export const InternalButton = React.forwardRef((_a, ref) => {
|
|
15
14
|
var { children, iconName, __iconClass, onClick, onFollow, iconAlign = 'left', iconUrl, iconSvg, iconAlt, variant = 'normal', loading = false, loadingText, disabled = false, wrapText = true, href, target, rel, download, formAction = 'submit', ariaLabel, ariaExpanded, __hideFocusOutline = false, __nativeAttributes, __internalRootRef = null, __activated = false } = _a, props = __rest(_a, ["children", "iconName", "__iconClass", "onClick", "onFollow", "iconAlign", "iconUrl", "iconSvg", "iconAlt", "variant", "loading", "loadingText", "disabled", "wrapText", "href", "target", "rel", "download", "formAction", "ariaLabel", "ariaExpanded", "__hideFocusOutline", "__nativeAttributes", "__internalRootRef", "__activated"]);
|
|
16
15
|
checkSafeUrl('Button', href);
|
|
17
|
-
const focusVisible = useFocusVisible();
|
|
18
16
|
const isAnchor = Boolean(href);
|
|
19
17
|
const isNotInteractive = loading || disabled;
|
|
20
18
|
const shouldHaveContent = children && ['icon', 'inline-icon', 'flashbar-icon', 'modal-dismiss'].indexOf(variant) === -1;
|
|
@@ -35,8 +33,9 @@ export const InternalButton = React.forwardRef((_a, ref) => {
|
|
|
35
33
|
[styles['button-no-wrap']]: !wrapText,
|
|
36
34
|
[styles['button-no-text']]: !shouldHaveContent,
|
|
37
35
|
[styles['is-activated']]: __activated,
|
|
36
|
+
[styles['hide-focus-outline']]: __hideFocusOutline,
|
|
38
37
|
});
|
|
39
|
-
const buttonProps = Object.assign(Object.assign(Object.assign(
|
|
38
|
+
const buttonProps = Object.assign(Object.assign(Object.assign({}, props), __nativeAttributes), {
|
|
40
39
|
// https://github.com/microsoft/TypeScript/issues/36659
|
|
41
40
|
ref: useMergeRefs(buttonRef, __internalRootRef), 'aria-label': ariaLabel, 'aria-expanded': ariaExpanded, className: buttonClass, onClick: handleClick });
|
|
42
41
|
const iconProps = {
|
package/button/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"lib/default/","sources":["button/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,eAAe,MAAM,iCAAiC,CAAC;AAC9D,OAAO,
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"lib/default/","sources":["button/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,eAAe,MAAM,iCAAiC,CAAC;AAC9D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAmB,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAGrE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAU5D,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAC5C,CACE,EA2BsB,EACtB,GAA+B,EAC/B,EAAE;QA7BF,EACE,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,OAAO,EACP,QAAQ,EACR,SAAS,GAAG,MAAM,EAClB,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,GAAG,QAAQ,EAClB,OAAO,GAAG,KAAK,EACf,WAAW,EACX,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,IAAI,EACf,IAAI,EACJ,MAAM,EACN,GAAG,EACH,QAAQ,EACR,UA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AI,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC,EACrE,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,mBAC5B,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAClD,QAAQ,EAAE,QAAQ,KAEjB,aAAa,CACZ;YACH,OAAO,IAAI,WAAW,IAAI,oBAAC,UAAU,QAAE,WAAW,CAAc,CAChE,CACJ,CAAC;KACH;IACD,OAAO,CACL;QACE,gDACM,WAAW,IACf,IAAI,EAAE,UAAU,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,EACjD,QAAQ,EAAE,QAAQ,mBACH,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,KAErD,aAAa,CACP;QACR,OAAO,IAAI,WAAW,IAAI,oBAAC,UAAU,QAAE,WAAW,CAAc,CAChE,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React, { useCallback, useRef } from 'react';\nimport { fireCancelableEvent, isPlainLeftClick } from '../internal/events';\nimport useForwardFocus from '../internal/hooks/forward-focus';\nimport styles from './styles.css.js';\nimport { ButtonIconProps, LeftIcon, RightIcon } from './icon-helper';\nimport { ButtonProps } from './interfaces';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { checkSafeUrl } from '../internal/utils/check-safe-url';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport LiveRegion from '../internal/components/live-region';\n\ntype InternalButtonProps = Omit<ButtonProps, 'variant'> & {\n variant?: ButtonProps['variant'] | 'flashbar-icon' | 'breadcrumb-group' | 'menu-trigger' | 'modal-dismiss';\n __nativeAttributes?: Record<string, any>;\n __iconClass?: string;\n __activated?: boolean;\n __hideFocusOutline?: boolean;\n} & InternalBaseComponentProps;\n\nexport const InternalButton = React.forwardRef(\n (\n {\n children,\n iconName,\n __iconClass,\n onClick,\n onFollow,\n iconAlign = 'left',\n iconUrl,\n iconSvg,\n iconAlt,\n variant = 'normal',\n loading = false,\n loadingText,\n disabled = false,\n wrapText = true,\n href,\n target,\n rel,\n download,\n formAction = 'submit',\n ariaLabel,\n ariaExpanded,\n __hideFocusOutline = false,\n __nativeAttributes,\n __internalRootRef = null,\n __activated = false,\n ...props\n }: InternalButtonProps,\n ref: React.Ref<ButtonProps.Ref>\n ) => {\n checkSafeUrl('Button', href);\n const isAnchor = Boolean(href);\n const isNotInteractive = loading || disabled;\n const shouldHaveContent =\n children && ['icon', 'inline-icon', 'flashbar-icon', 'modal-dismiss'].indexOf(variant) === -1;\n\n const buttonRef = useRef<HTMLElement>(null);\n useForwardFocus(ref, buttonRef);\n\n const handleClick = useCallback(\n (event: React.MouseEvent) => {\n if (isNotInteractive) {\n return event.preventDefault();\n }\n\n if (isAnchor && isPlainLeftClick(event)) {\n fireCancelableEvent(onFollow, null, event);\n }\n\n const { altKey, button, ctrlKey, metaKey, shiftKey } = event;\n fireCancelableEvent(onClick, { altKey, button, ctrlKey, metaKey, shiftKey }, event);\n },\n [isAnchor, isNotInteractive, onClick, onFollow]\n );\n\n const buttonClass = clsx(props.className, styles.button, styles[`variant-${variant}`], {\n [styles.disabled]: isNotInteractive,\n [styles['button-no-wrap']]: !wrapText,\n [styles['button-no-text']]: !shouldHaveContent,\n [styles['is-activated']]: __activated,\n [styles['hide-focus-outline']]: __hideFocusOutline,\n });\n\n const buttonProps = {\n ...props,\n ...__nativeAttributes,\n // https://github.com/microsoft/TypeScript/issues/36659\n ref: useMergeRefs(buttonRef as any, __internalRootRef),\n 'aria-label': ariaLabel,\n 'aria-expanded': ariaExpanded,\n className: buttonClass,\n onClick: handleClick,\n } as const;\n const iconProps: ButtonIconProps = {\n loading,\n iconName,\n iconAlign,\n iconUrl,\n iconSvg,\n iconAlt,\n variant,\n iconClass: __iconClass,\n iconSize: variant === 'modal-dismiss' ? 'medium' : 'normal',\n };\n const buttonContent = (\n <>\n <LeftIcon {...iconProps} />\n {shouldHaveContent && <span className={styles.content}>{children}</span>}\n <RightIcon {...iconProps} />\n </>\n );\n\n if (isAnchor) {\n return (\n // https://github.com/yannickcr/eslint-plugin-react/issues/2962\n // eslint-disable-next-line react/jsx-no-target-blank\n <>\n <a\n {...buttonProps}\n href={href}\n target={target}\n // security recommendation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target\n rel={rel ?? (target === '_blank' ? 'noopener noreferrer' : undefined)}\n tabIndex={isNotInteractive ? -1 : undefined}\n aria-disabled={isNotInteractive ? true : undefined}\n download={download}\n >\n {buttonContent}\n </a>\n {loading && loadingText && <LiveRegion>{loadingText}</LiveRegion>}\n </>\n );\n }\n return (\n <>\n <button\n {...buttonProps}\n type={formAction === 'none' ? 'button' : 'submit'}\n disabled={disabled}\n aria-disabled={loading && !disabled ? true : undefined}\n >\n {buttonContent}\n </button>\n {loading && loadingText && <LiveRegion>{loadingText}</LiveRegion>}\n </>\n );\n }\n);\n\nexport default InternalButton;\n"]}
|
package/button/styles.css.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"content": "
|
|
5
|
-
"button": "
|
|
6
|
-
"variant-normal": "awsui_variant-
|
|
7
|
-
"is-activated": "awsui_is-
|
|
8
|
-
"
|
|
9
|
-
"variant-
|
|
10
|
-
"variant-
|
|
11
|
-
"variant-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"variant-
|
|
15
|
-
"variant-
|
|
16
|
-
"variant-
|
|
17
|
-
"
|
|
18
|
-
"button-no-
|
|
19
|
-
"
|
|
20
|
-
"icon-
|
|
21
|
-
"icon": "
|
|
4
|
+
"content": "awsui_content_vjswe_1himx_97",
|
|
5
|
+
"button": "awsui_button_vjswe_1himx_101",
|
|
6
|
+
"variant-normal": "awsui_variant-normal_vjswe_1himx_126",
|
|
7
|
+
"is-activated": "awsui_is-activated_vjswe_1himx_139",
|
|
8
|
+
"hide-focus-outline": "awsui_hide-focus-outline_vjswe_1himx_148",
|
|
9
|
+
"variant-icon": "awsui_variant-icon_vjswe_1himx_166",
|
|
10
|
+
"variant-modal-dismiss": "awsui_variant-modal-dismiss_vjswe_1himx_166",
|
|
11
|
+
"variant-flashbar-icon": "awsui_variant-flashbar-icon_vjswe_1himx_166",
|
|
12
|
+
"variant-inline-icon": "awsui_variant-inline-icon_vjswe_1himx_184",
|
|
13
|
+
"disabled": "awsui_disabled_vjswe_1himx_202",
|
|
14
|
+
"variant-primary": "awsui_variant-primary_vjswe_1himx_210",
|
|
15
|
+
"variant-link": "awsui_variant-link_vjswe_1himx_294",
|
|
16
|
+
"variant-breadcrumb-group": "awsui_variant-breadcrumb-group_vjswe_1himx_714",
|
|
17
|
+
"variant-menu-trigger": "awsui_variant-menu-trigger_vjswe_1himx_801",
|
|
18
|
+
"button-no-text": "awsui_button-no-text_vjswe_1himx_885",
|
|
19
|
+
"button-no-wrap": "awsui_button-no-wrap_vjswe_1himx_889",
|
|
20
|
+
"icon-left": "awsui_icon-left_vjswe_1himx_905",
|
|
21
|
+
"icon-right": "awsui_icon-right_vjswe_1himx_910",
|
|
22
|
+
"icon": "awsui_icon_vjswe_1himx_905"
|
|
22
23
|
};
|
|
23
24
|
|