@cloudscape-design/components 3.0.730 → 3.0.731
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/app-layout/classic.js +1 -1
- package/app-layout/classic.js.map +1 -1
- package/app-layout/drawer/styles.css.js +13 -13
- package/app-layout/drawer/styles.scoped.css +22 -22
- package/app-layout/drawer/styles.selectors.js +13 -13
- package/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/app-layout/mobile-toolbar/styles.scoped.css +10 -10
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/app-layout/resize/styles.css.js +9 -0
- package/app-layout/resize/styles.scoped.css +179 -0
- package/app-layout/resize/styles.selectors.js +10 -0
- package/app-layout/styles.css.js +12 -16
- package/app-layout/styles.scoped.css +12 -43
- package/app-layout/styles.selectors.js +12 -16
- package/app-layout/utils/use-drawers.js +1 -1
- package/app-layout/utils/use-drawers.js.map +1 -1
- package/app-layout/utils/use-pointer-events.js +1 -1
- package/app-layout/utils/use-pointer-events.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.d.ts +2 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.js +2 -2
- package/app-layout/visual-refresh-toolbar/compute-layout.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/index.js +4 -4
- package/app-layout/visual-refresh-toolbar/drawer/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/use-resize.js +1 -0
- package/app-layout/visual-refresh-toolbar/drawer/use-resize.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/index.js +3 -3
- package/app-layout/visual-refresh-toolbar/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +6 -29
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -6
- package/app-layout/visual-refresh-toolbar/skeleton/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/skeleton/index.js +4 -3
- package/app-layout/visual-refresh-toolbar/skeleton/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +16 -16
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +45 -31
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +16 -16
- package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +13 -13
- package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +15 -16
- package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +13 -13
- package/expandable-section/analytics-metadata/interfaces.d.ts +17 -0
- package/expandable-section/analytics-metadata/interfaces.d.ts.map +1 -0
- package/expandable-section/analytics-metadata/interfaces.js +4 -0
- package/expandable-section/analytics-metadata/interfaces.js.map +1 -0
- package/expandable-section/analytics-metadata/styles.css.js +6 -0
- package/expandable-section/analytics-metadata/styles.scoped.css +7 -0
- package/expandable-section/analytics-metadata/styles.selectors.js +7 -0
- package/expandable-section/expandable-section-container.d.ts +2 -1
- package/expandable-section/expandable-section-container.d.ts.map +1 -1
- package/expandable-section/expandable-section-container.js +13 -3
- package/expandable-section/expandable-section-container.js.map +1 -1
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +19 -7
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/index.d.ts.map +1 -1
- package/expandable-section/index.js +1 -1
- package/expandable-section/index.js.map +1 -1
- package/expandable-section/internal.d.ts +2 -1
- package/expandable-section/internal.d.ts.map +1 -1
- package/expandable-section/internal.js +2 -2
- package/expandable-section/internal.js.map +1 -1
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +158 -158
- package/flashbar/styles.selectors.js +47 -47
- package/internal/base-component/styles.scoped.css +10 -5
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.js +1 -1
- package/internal/generated/theming/index.cjs +15 -15
- package/internal/generated/theming/index.js +15 -15
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/split-panel/bottom.d.ts +1 -4
- package/split-panel/bottom.d.ts.map +1 -1
- package/split-panel/bottom.js +5 -7
- package/split-panel/bottom.js.map +1 -1
- package/split-panel/implementation.d.ts.map +1 -1
- package/split-panel/implementation.js +5 -5
- package/split-panel/implementation.js.map +1 -1
- package/split-panel/side.d.ts.map +1 -1
- package/split-panel/side.js +5 -3
- package/split-panel/side.js.map +1 -1
- package/split-panel/styles.css.js +26 -27
- package/split-panel/styles.scoped.css +50 -215
- package/split-panel/styles.selectors.js +26 -27
- package/tabs/analytics-metadata/interfaces.d.ts +33 -0
- package/tabs/analytics-metadata/interfaces.d.ts.map +1 -0
- package/tabs/analytics-metadata/interfaces.js +4 -0
- package/tabs/analytics-metadata/interfaces.js.map +1 -0
- package/tabs/analytics-metadata/styles.css.js +9 -0
- package/tabs/analytics-metadata/styles.scoped.css +10 -0
- package/tabs/analytics-metadata/styles.selectors.js +10 -0
- package/tabs/index.d.ts.map +1 -1
- package/tabs/index.js +16 -2
- package/tabs/index.js.map +1 -1
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +36 -9
- package/tabs/tab-header-bar.js.map +1 -1
- package/wizard/styles.css.js +30 -30
- package/wizard/styles.scoped.css +59 -59
- package/wizard/styles.selectors.js +30 -30
|
@@ -2,52 +2,52 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"flash-with-motion": "awsui_flash-with-
|
|
6
|
-
"enter": "
|
|
7
|
-
"flash-body": "awsui_flash-
|
|
8
|
-
"flash-message": "awsui_flash-
|
|
9
|
-
"flash-header": "awsui_flash-
|
|
10
|
-
"flash-content": "awsui_flash-
|
|
11
|
-
"action-button-wrapper": "awsui_action-button-
|
|
12
|
-
"dismiss-button-wrapper": "awsui_dismiss-button-
|
|
13
|
-
"flash-icon": "awsui_flash-
|
|
14
|
-
"entering": "
|
|
15
|
-
"entered": "
|
|
16
|
-
"exiting": "
|
|
17
|
-
"stack": "
|
|
18
|
-
"animation-running": "awsui_animation-
|
|
19
|
-
"item": "
|
|
20
|
-
"flash-list-item": "awsui_flash-list-
|
|
21
|
-
"notification-bar": "awsui_notification-
|
|
22
|
-
"collapsed": "
|
|
23
|
-
"animation-ready": "awsui_animation-
|
|
24
|
-
"expanded-only": "awsui_expanded-
|
|
25
|
-
"expanded": "
|
|
26
|
-
"flash": "
|
|
27
|
-
"collapsible": "
|
|
28
|
-
"short-list": "awsui_short-
|
|
29
|
-
"visual-refresh": "awsui_visual-
|
|
30
|
-
"status": "
|
|
31
|
-
"header": "
|
|
32
|
-
"item-count": "awsui_item-
|
|
33
|
-
"button": "
|
|
34
|
-
"type-count": "awsui_type-
|
|
35
|
-
"count-number": "awsui_count-
|
|
36
|
-
"icon": "
|
|
37
|
-
"floating": "
|
|
38
|
-
"flashbar": "
|
|
39
|
-
"flash-refresh": "awsui_flash-
|
|
40
|
-
"flash-list": "awsui_flash-
|
|
41
|
-
"flash-focus-container": "awsui_flash-focus-
|
|
42
|
-
"flash-text": "awsui_flash-
|
|
43
|
-
"dismiss-button": "awsui_dismiss-
|
|
44
|
-
"breakpoint-default": "awsui_breakpoint-
|
|
45
|
-
"action-button": "awsui_action-
|
|
46
|
-
"action-slot": "awsui_action-
|
|
47
|
-
"flash-type-success": "awsui_flash-type-
|
|
48
|
-
"flash-type-error": "awsui_flash-type-
|
|
49
|
-
"flash-type-info": "awsui_flash-type-
|
|
50
|
-
"flash-type-in-progress": "awsui_flash-type-in-
|
|
51
|
-
"flash-type-warning": "awsui_flash-type-
|
|
5
|
+
"flash-with-motion": "awsui_flash-with-motion_1q84n_v26q8_153",
|
|
6
|
+
"enter": "awsui_enter_1q84n_v26q8_153",
|
|
7
|
+
"flash-body": "awsui_flash-body_1q84n_v26q8_167",
|
|
8
|
+
"flash-message": "awsui_flash-message_1q84n_v26q8_167",
|
|
9
|
+
"flash-header": "awsui_flash-header_1q84n_v26q8_167",
|
|
10
|
+
"flash-content": "awsui_flash-content_1q84n_v26q8_168",
|
|
11
|
+
"action-button-wrapper": "awsui_action-button-wrapper_1q84n_v26q8_169",
|
|
12
|
+
"dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_v26q8_170",
|
|
13
|
+
"flash-icon": "awsui_flash-icon_1q84n_v26q8_193",
|
|
14
|
+
"entering": "awsui_entering_1q84n_v26q8_206",
|
|
15
|
+
"entered": "awsui_entered_1q84n_v26q8_227",
|
|
16
|
+
"exiting": "awsui_exiting_1q84n_v26q8_332",
|
|
17
|
+
"stack": "awsui_stack_1q84n_v26q8_366",
|
|
18
|
+
"animation-running": "awsui_animation-running_1q84n_v26q8_366",
|
|
19
|
+
"item": "awsui_item_1q84n_v26q8_366",
|
|
20
|
+
"flash-list-item": "awsui_flash-list-item_1q84n_v26q8_367",
|
|
21
|
+
"notification-bar": "awsui_notification-bar_1q84n_v26q8_368",
|
|
22
|
+
"collapsed": "awsui_collapsed_1q84n_v26q8_388",
|
|
23
|
+
"animation-ready": "awsui_animation-ready_1q84n_v26q8_388",
|
|
24
|
+
"expanded-only": "awsui_expanded-only_1q84n_v26q8_388",
|
|
25
|
+
"expanded": "awsui_expanded_1q84n_v26q8_388",
|
|
26
|
+
"flash": "awsui_flash_1q84n_v26q8_153",
|
|
27
|
+
"collapsible": "awsui_collapsible_1q84n_v26q8_444",
|
|
28
|
+
"short-list": "awsui_short-list_1q84n_v26q8_450",
|
|
29
|
+
"visual-refresh": "awsui_visual-refresh_1q84n_v26q8_450",
|
|
30
|
+
"status": "awsui_status_1q84n_v26q8_597",
|
|
31
|
+
"header": "awsui_header_1q84n_v26q8_597",
|
|
32
|
+
"item-count": "awsui_item-count_1q84n_v26q8_598",
|
|
33
|
+
"button": "awsui_button_1q84n_v26q8_599",
|
|
34
|
+
"type-count": "awsui_type-count_1q84n_v26q8_632",
|
|
35
|
+
"count-number": "awsui_count-number_1q84n_v26q8_632",
|
|
36
|
+
"icon": "awsui_icon_1q84n_v26q8_666",
|
|
37
|
+
"floating": "awsui_floating_1q84n_v26q8_707",
|
|
38
|
+
"flashbar": "awsui_flashbar_1q84n_v26q8_711",
|
|
39
|
+
"flash-refresh": "awsui_flash-refresh_1q84n_v26q8_786",
|
|
40
|
+
"flash-list": "awsui_flash-list_1q84n_v26q8_367",
|
|
41
|
+
"flash-focus-container": "awsui_flash-focus-container_1q84n_v26q8_807",
|
|
42
|
+
"flash-text": "awsui_flash-text_1q84n_v26q8_837",
|
|
43
|
+
"dismiss-button": "awsui_dismiss-button_1q84n_v26q8_170",
|
|
44
|
+
"breakpoint-default": "awsui_breakpoint-default_1q84n_v26q8_879",
|
|
45
|
+
"action-button": "awsui_action-button_1q84n_v26q8_169",
|
|
46
|
+
"action-slot": "awsui_action-slot_1q84n_v26q8_889",
|
|
47
|
+
"flash-type-success": "awsui_flash-type-success_1q84n_v26q8_893",
|
|
48
|
+
"flash-type-error": "awsui_flash-type-error_1q84n_v26q8_897",
|
|
49
|
+
"flash-type-info": "awsui_flash-type-info_1q84n_v26q8_901",
|
|
50
|
+
"flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_v26q8_902",
|
|
51
|
+
"flash-type-warning": "awsui_flash-type-warning_1q84n_v26q8_906"
|
|
52
52
|
};
|
|
53
53
|
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
--color-border-dropdown-item-focused-5hbaf3:#414d5c;
|
|
282
282
|
--color-border-item-placeholder-h8j85e:#0972d3;
|
|
283
283
|
--color-border-item-selected-k00wlz:#0972d3;
|
|
284
|
-
--color-border-layout-
|
|
284
|
+
--color-border-layout-1zovx9:#b6bec9;
|
|
285
285
|
--color-border-notification-stack-bar-t3aws2:#232f3e;
|
|
286
286
|
--color-border-panel-header-lf0q4c:#b6bec9;
|
|
287
287
|
--color-border-popover-umqvld:#9ba7b6;
|
|
@@ -888,7 +888,7 @@
|
|
|
888
888
|
--color-border-dropdown-item-focused-5hbaf3:#d1d5db;
|
|
889
889
|
--color-border-item-placeholder-h8j85e:#539fe5;
|
|
890
890
|
--color-border-item-selected-k00wlz:#539fe5;
|
|
891
|
-
--color-border-layout-
|
|
891
|
+
--color-border-layout-1zovx9:#414d5c;
|
|
892
892
|
--color-border-panel-header-lf0q4c:#414d5c;
|
|
893
893
|
--color-border-popover-umqvld:#5f6b7a;
|
|
894
894
|
--color-border-segment-active-9ah16u:#d1d5db;
|
|
@@ -1190,7 +1190,7 @@
|
|
|
1190
1190
|
--color-border-dropdown-item-focused-5hbaf3:#d1d5db;
|
|
1191
1191
|
--color-border-item-placeholder-h8j85e:#539fe5;
|
|
1192
1192
|
--color-border-item-selected-k00wlz:#539fe5;
|
|
1193
|
-
--color-border-layout-
|
|
1193
|
+
--color-border-layout-1zovx9:#414d5c;
|
|
1194
1194
|
--color-border-panel-header-lf0q4c:#414d5c;
|
|
1195
1195
|
--color-border-popover-umqvld:#5f6b7a;
|
|
1196
1196
|
--color-border-segment-active-9ah16u:#d1d5db;
|
|
@@ -1390,7 +1390,7 @@
|
|
|
1390
1390
|
--color-border-dropdown-item-focused-5hbaf3:#d1d5db;
|
|
1391
1391
|
--color-border-item-placeholder-h8j85e:#539fe5;
|
|
1392
1392
|
--color-border-item-selected-k00wlz:#539fe5;
|
|
1393
|
-
--color-border-layout-
|
|
1393
|
+
--color-border-layout-1zovx9:#414d5c;
|
|
1394
1394
|
--color-border-panel-header-lf0q4c:#414d5c;
|
|
1395
1395
|
--color-border-popover-umqvld:#5f6b7a;
|
|
1396
1396
|
--color-border-segment-active-9ah16u:#d1d5db;
|
|
@@ -1528,6 +1528,7 @@
|
|
|
1528
1528
|
--color-border-dropdown-group-yakmix:#fbfbfb;
|
|
1529
1529
|
--color-border-dropdown-item-default-k36ra7:#fbfbfb;
|
|
1530
1530
|
--color-border-item-focused-b2ntyl:#fbfbfb;
|
|
1531
|
+
--color-border-layout-1zovx9:#fbfbfb;
|
|
1531
1532
|
--color-border-panel-header-lf0q4c:#fbfbfb;
|
|
1532
1533
|
--color-text-body-default-at06ol:#fbfbfb;
|
|
1533
1534
|
--color-text-button-normal-active-4it2mv:#ffffff;
|
|
@@ -1558,6 +1559,7 @@
|
|
|
1558
1559
|
--color-border-dropdown-group-yakmix:#000716;
|
|
1559
1560
|
--color-border-dropdown-item-default-k36ra7:#000716;
|
|
1560
1561
|
--color-border-item-focused-b2ntyl:#000716;
|
|
1562
|
+
--color-border-layout-1zovx9:#000716;
|
|
1561
1563
|
--color-border-panel-header-lf0q4c:#000716;
|
|
1562
1564
|
--color-text-button-normal-active-4it2mv:#000716;
|
|
1563
1565
|
--color-text-button-normal-default-mo7k6u:#414d5c;
|
|
@@ -1587,6 +1589,7 @@
|
|
|
1587
1589
|
--color-border-divider-panel-side-93n0qu:#414d5c;
|
|
1588
1590
|
--color-border-dropdown-group-yakmix:#414d5c;
|
|
1589
1591
|
--color-border-dropdown-item-default-k36ra7:#414d5c;
|
|
1592
|
+
--color-border-layout-1zovx9:#414d5c;
|
|
1590
1593
|
--color-border-panel-header-lf0q4c:#414d5c;
|
|
1591
1594
|
--color-text-button-normal-active-4it2mv:#000716;
|
|
1592
1595
|
--color-text-button-normal-default-mo7k6u:#414d5c;
|
|
@@ -1688,7 +1691,7 @@
|
|
|
1688
1691
|
--color-border-dropdown-item-focused-5hbaf3:#d1d5db;
|
|
1689
1692
|
--color-border-item-placeholder-h8j85e:#539fe5;
|
|
1690
1693
|
--color-border-item-selected-k00wlz:#539fe5;
|
|
1691
|
-
--color-border-layout-
|
|
1694
|
+
--color-border-layout-1zovx9:#d1d5db;
|
|
1692
1695
|
--color-border-panel-header-lf0q4c:#d1d5db;
|
|
1693
1696
|
--color-border-popover-umqvld:#5f6b7a;
|
|
1694
1697
|
--color-border-segment-active-9ah16u:#d1d5db;
|
|
@@ -1824,6 +1827,7 @@
|
|
|
1824
1827
|
--color-border-dropdown-group-yakmix:#d1d5db;
|
|
1825
1828
|
--color-border-dropdown-item-default-k36ra7:#d1d5db;
|
|
1826
1829
|
--color-border-item-focused-b2ntyl:#fbfbfb;
|
|
1830
|
+
--color-border-layout-1zovx9:#d1d5db;
|
|
1827
1831
|
--color-border-panel-header-lf0q4c:#d1d5db;
|
|
1828
1832
|
--color-text-button-normal-active-4it2mv:#ffffff;
|
|
1829
1833
|
--color-text-button-normal-default-mo7k6u:#d1d5db;
|
|
@@ -1848,6 +1852,7 @@
|
|
|
1848
1852
|
--color-border-dropdown-group-yakmix:#d1d5db;
|
|
1849
1853
|
--color-border-dropdown-item-default-k36ra7:#d1d5db;
|
|
1850
1854
|
--color-border-item-focused-b2ntyl:#fbfbfb;
|
|
1855
|
+
--color-border-layout-1zovx9:#d1d5db;
|
|
1851
1856
|
--color-border-panel-header-lf0q4c:#d1d5db;
|
|
1852
1857
|
--color-text-button-normal-active-4it2mv:#ffffff;
|
|
1853
1858
|
--color-text-button-normal-default-mo7k6u:#d1d5db;
|
package/internal/environment.js
CHANGED
|
@@ -334,7 +334,7 @@ export var colorBorderItemFocused = "var(--color-border-item-focused-b2ntyl, #09
|
|
|
334
334
|
export var colorBorderDropdownItemFocused = "var(--color-border-dropdown-item-focused-5hbaf3, #414d5c)";
|
|
335
335
|
export var colorBorderItemPlaceholder = "var(--color-border-item-placeholder-h8j85e, #0972d3)";
|
|
336
336
|
export var colorBorderItemSelected = "var(--color-border-item-selected-k00wlz, #0972d3)";
|
|
337
|
-
export var colorBorderLayout = "var(--color-border-layout-
|
|
337
|
+
export var colorBorderLayout = "var(--color-border-layout-1zovx9, #b6bec9)";
|
|
338
338
|
export var colorBorderNotificationStackBar = "var(--color-border-notification-stack-bar-t3aws2, #232f3e)";
|
|
339
339
|
export var colorBorderPanelHeader = "var(--color-border-panel-header-lf0q4c, #b6bec9)";
|
|
340
340
|
export var colorBorderPopover = "var(--color-border-popover-umqvld, #9ba7b6)";
|
|
@@ -1222,8 +1222,8 @@ module.exports.preset = {
|
|
|
1222
1222
|
"dark": "{colorBlue500}"
|
|
1223
1223
|
},
|
|
1224
1224
|
"colorBorderLayout": {
|
|
1225
|
-
"light": "{
|
|
1226
|
-
"dark": "{
|
|
1225
|
+
"light": "{colorBorderDividerDefault}",
|
|
1226
|
+
"dark": "{colorBorderDividerDefault}"
|
|
1227
1227
|
},
|
|
1228
1228
|
"colorBorderNotificationStackBar": {
|
|
1229
1229
|
"light": "{colorGrey700}",
|
|
@@ -3396,8 +3396,8 @@ module.exports.preset = {
|
|
|
3396
3396
|
"dark": "{colorBlue500}"
|
|
3397
3397
|
},
|
|
3398
3398
|
"colorBorderLayout": {
|
|
3399
|
-
"light": "{
|
|
3400
|
-
"dark": "{
|
|
3399
|
+
"light": "{colorBorderDividerDefault}",
|
|
3400
|
+
"dark": "{colorBorderDividerDefault}"
|
|
3401
3401
|
},
|
|
3402
3402
|
"colorBorderNotificationStackBar": {
|
|
3403
3403
|
"light": "{colorGrey700}",
|
|
@@ -4490,8 +4490,8 @@ module.exports.preset = {
|
|
|
4490
4490
|
"dark": "{colorBlue500}"
|
|
4491
4491
|
},
|
|
4492
4492
|
"colorBorderLayout": {
|
|
4493
|
-
"light": "{
|
|
4494
|
-
"dark": "{
|
|
4493
|
+
"light": "{colorBorderDividerDefault}",
|
|
4494
|
+
"dark": "{colorBorderDividerDefault}"
|
|
4495
4495
|
},
|
|
4496
4496
|
"colorBorderNotificationStackBar": {
|
|
4497
4497
|
"light": "{colorGrey700}",
|
|
@@ -5516,8 +5516,8 @@ module.exports.preset = {
|
|
|
5516
5516
|
"dark": "{colorBlue500}"
|
|
5517
5517
|
},
|
|
5518
5518
|
"colorBorderLayout": {
|
|
5519
|
-
"light": "{
|
|
5520
|
-
"dark": "{
|
|
5519
|
+
"light": "{colorBorderDividerDefault}",
|
|
5520
|
+
"dark": "{colorBorderDividerDefault}"
|
|
5521
5521
|
},
|
|
5522
5522
|
"colorBorderNotificationStackBar": {
|
|
5523
5523
|
"light": "{colorGrey700}",
|
|
@@ -6542,8 +6542,8 @@ module.exports.preset = {
|
|
|
6542
6542
|
"dark": "{colorBlue500}"
|
|
6543
6543
|
},
|
|
6544
6544
|
"colorBorderLayout": {
|
|
6545
|
-
"light": "{
|
|
6546
|
-
"dark": "{
|
|
6545
|
+
"light": "{colorBorderDividerDefault}",
|
|
6546
|
+
"dark": "{colorBorderDividerDefault}"
|
|
6547
6547
|
},
|
|
6548
6548
|
"colorBorderNotificationStackBar": {
|
|
6549
6549
|
"light": "{colorGrey700}",
|
|
@@ -7568,8 +7568,8 @@ module.exports.preset = {
|
|
|
7568
7568
|
"dark": "{colorBlue500}"
|
|
7569
7569
|
},
|
|
7570
7570
|
"colorBorderLayout": {
|
|
7571
|
-
"light": "{
|
|
7572
|
-
"dark": "{
|
|
7571
|
+
"light": "{colorBorderDividerDefault}",
|
|
7572
|
+
"dark": "{colorBorderDividerDefault}"
|
|
7573
7573
|
},
|
|
7574
7574
|
"colorBorderNotificationStackBar": {
|
|
7575
7575
|
"light": "{colorGrey700}",
|
|
@@ -8596,8 +8596,8 @@ module.exports.preset = {
|
|
|
8596
8596
|
"dark": "{colorBlue500}"
|
|
8597
8597
|
},
|
|
8598
8598
|
"colorBorderLayout": {
|
|
8599
|
-
"light": "{
|
|
8600
|
-
"dark": "{
|
|
8599
|
+
"light": "{colorBorderDividerDefault}",
|
|
8600
|
+
"dark": "{colorBorderDividerDefault}"
|
|
8601
8601
|
},
|
|
8602
8602
|
"colorBorderNotificationStackBar": {
|
|
8603
8603
|
"light": "{colorGrey700}",
|
|
@@ -11328,7 +11328,7 @@ module.exports.preset = {
|
|
|
11328
11328
|
"colorBorderDropdownItemFocused": "--color-border-dropdown-item-focused-5hbaf3",
|
|
11329
11329
|
"colorBorderItemPlaceholder": "--color-border-item-placeholder-h8j85e",
|
|
11330
11330
|
"colorBorderItemSelected": "--color-border-item-selected-k00wlz",
|
|
11331
|
-
"colorBorderLayout": "--color-border-layout-
|
|
11331
|
+
"colorBorderLayout": "--color-border-layout-1zovx9",
|
|
11332
11332
|
"colorBorderNotificationStackBar": "--color-border-notification-stack-bar-t3aws2",
|
|
11333
11333
|
"colorBorderPanelHeader": "--color-border-panel-header-lf0q4c",
|
|
11334
11334
|
"colorBorderPopover": "--color-border-popover-umqvld",
|
|
@@ -1222,8 +1222,8 @@ export var preset = {
|
|
|
1222
1222
|
"dark": "{colorBlue500}"
|
|
1223
1223
|
},
|
|
1224
1224
|
"colorBorderLayout": {
|
|
1225
|
-
"light": "{
|
|
1226
|
-
"dark": "{
|
|
1225
|
+
"light": "{colorBorderDividerDefault}",
|
|
1226
|
+
"dark": "{colorBorderDividerDefault}"
|
|
1227
1227
|
},
|
|
1228
1228
|
"colorBorderNotificationStackBar": {
|
|
1229
1229
|
"light": "{colorGrey700}",
|
|
@@ -3396,8 +3396,8 @@ export var preset = {
|
|
|
3396
3396
|
"dark": "{colorBlue500}"
|
|
3397
3397
|
},
|
|
3398
3398
|
"colorBorderLayout": {
|
|
3399
|
-
"light": "{
|
|
3400
|
-
"dark": "{
|
|
3399
|
+
"light": "{colorBorderDividerDefault}",
|
|
3400
|
+
"dark": "{colorBorderDividerDefault}"
|
|
3401
3401
|
},
|
|
3402
3402
|
"colorBorderNotificationStackBar": {
|
|
3403
3403
|
"light": "{colorGrey700}",
|
|
@@ -4490,8 +4490,8 @@ export var preset = {
|
|
|
4490
4490
|
"dark": "{colorBlue500}"
|
|
4491
4491
|
},
|
|
4492
4492
|
"colorBorderLayout": {
|
|
4493
|
-
"light": "{
|
|
4494
|
-
"dark": "{
|
|
4493
|
+
"light": "{colorBorderDividerDefault}",
|
|
4494
|
+
"dark": "{colorBorderDividerDefault}"
|
|
4495
4495
|
},
|
|
4496
4496
|
"colorBorderNotificationStackBar": {
|
|
4497
4497
|
"light": "{colorGrey700}",
|
|
@@ -5516,8 +5516,8 @@ export var preset = {
|
|
|
5516
5516
|
"dark": "{colorBlue500}"
|
|
5517
5517
|
},
|
|
5518
5518
|
"colorBorderLayout": {
|
|
5519
|
-
"light": "{
|
|
5520
|
-
"dark": "{
|
|
5519
|
+
"light": "{colorBorderDividerDefault}",
|
|
5520
|
+
"dark": "{colorBorderDividerDefault}"
|
|
5521
5521
|
},
|
|
5522
5522
|
"colorBorderNotificationStackBar": {
|
|
5523
5523
|
"light": "{colorGrey700}",
|
|
@@ -6542,8 +6542,8 @@ export var preset = {
|
|
|
6542
6542
|
"dark": "{colorBlue500}"
|
|
6543
6543
|
},
|
|
6544
6544
|
"colorBorderLayout": {
|
|
6545
|
-
"light": "{
|
|
6546
|
-
"dark": "{
|
|
6545
|
+
"light": "{colorBorderDividerDefault}",
|
|
6546
|
+
"dark": "{colorBorderDividerDefault}"
|
|
6547
6547
|
},
|
|
6548
6548
|
"colorBorderNotificationStackBar": {
|
|
6549
6549
|
"light": "{colorGrey700}",
|
|
@@ -7568,8 +7568,8 @@ export var preset = {
|
|
|
7568
7568
|
"dark": "{colorBlue500}"
|
|
7569
7569
|
},
|
|
7570
7570
|
"colorBorderLayout": {
|
|
7571
|
-
"light": "{
|
|
7572
|
-
"dark": "{
|
|
7571
|
+
"light": "{colorBorderDividerDefault}",
|
|
7572
|
+
"dark": "{colorBorderDividerDefault}"
|
|
7573
7573
|
},
|
|
7574
7574
|
"colorBorderNotificationStackBar": {
|
|
7575
7575
|
"light": "{colorGrey700}",
|
|
@@ -8596,8 +8596,8 @@ export var preset = {
|
|
|
8596
8596
|
"dark": "{colorBlue500}"
|
|
8597
8597
|
},
|
|
8598
8598
|
"colorBorderLayout": {
|
|
8599
|
-
"light": "{
|
|
8600
|
-
"dark": "{
|
|
8599
|
+
"light": "{colorBorderDividerDefault}",
|
|
8600
|
+
"dark": "{colorBorderDividerDefault}"
|
|
8601
8601
|
},
|
|
8602
8602
|
"colorBorderNotificationStackBar": {
|
|
8603
8603
|
"light": "{colorGrey700}",
|
|
@@ -11328,7 +11328,7 @@ export var preset = {
|
|
|
11328
11328
|
"colorBorderDropdownItemFocused": "--color-border-dropdown-item-focused-5hbaf3",
|
|
11329
11329
|
"colorBorderItemPlaceholder": "--color-border-item-placeholder-h8j85e",
|
|
11330
11330
|
"colorBorderItemSelected": "--color-border-item-selected-k00wlz",
|
|
11331
|
-
"colorBorderLayout": "--color-border-layout-
|
|
11331
|
+
"colorBorderLayout": "--color-border-layout-1zovx9",
|
|
11332
11332
|
"colorBorderNotificationStackBar": "--color-border-notification-stack-bar-t3aws2",
|
|
11333
11333
|
"colorBorderPanelHeader": "--color-border-panel-header-lf0q4c",
|
|
11334
11334
|
"colorBorderPopover": "--color-border-popover-umqvld",
|
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
package/split-panel/bottom.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TransitionStatus } from '../internal/components/transition';
|
|
3
2
|
import { SplitPanelContentProps } from './interfaces';
|
|
4
3
|
interface SplitPanelContentBottomProps extends SplitPanelContentProps {
|
|
5
|
-
state: TransitionStatus;
|
|
6
|
-
transitioningElementRef: React.Ref<any>;
|
|
7
4
|
appLayoutMaxWidth: React.CSSProperties | undefined;
|
|
8
5
|
}
|
|
9
|
-
export declare function SplitPanelContentBottom({ baseProps, isOpen,
|
|
6
|
+
export declare function SplitPanelContentBottom({ baseProps, isOpen, splitPanelRef, cappedSize, header, resizeHandle, children, appLayoutMaxWidth, panelHeaderId, onToggle, }: SplitPanelContentBottomProps): JSX.Element;
|
|
10
7
|
export {};
|
|
11
8
|
//# sourceMappingURL=bottom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottom.d.ts","sourceRoot":"","sources":["../../../src/split-panel/bottom.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"bottom.d.ts","sourceRoot":"","sources":["../../../src/split-panel/bottom.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4B,MAAM,OAAO,CAAC;AASjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAMtD,UAAU,4BAA6B,SAAQ,sBAAsB;IACnE,iBAAiB,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;CACpD;AAED,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,MAAM,EACN,aAAa,EACb,UAAU,EACV,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,aAAa,EACb,QAAQ,GACT,EAAE,4BAA4B,eA6D9B"}
|
package/split-panel/bottom.js
CHANGED
|
@@ -5,16 +5,15 @@ import clsx from 'clsx';
|
|
|
5
5
|
import { useResizeObserver } from '@cloudscape-design/component-toolkit/internal';
|
|
6
6
|
import { useAppLayoutToolbarEnabled } from '../app-layout/utils/feature-flags';
|
|
7
7
|
import { useSplitPanelContext } from '../internal/context/split-panel-context';
|
|
8
|
-
import { useMergeRefs } from '../internal/hooks/use-merge-refs';
|
|
9
8
|
import { useMobile } from '../internal/hooks/use-mobile';
|
|
10
9
|
import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
|
|
10
|
+
import sharedStyles from '../app-layout/resize/styles.css.js';
|
|
11
11
|
import styles from './styles.css.js';
|
|
12
12
|
import testUtilStyles from './test-classes/styles.css.js';
|
|
13
|
-
export function SplitPanelContentBottom({ baseProps, isOpen,
|
|
13
|
+
export function SplitPanelContentBottom({ baseProps, isOpen, splitPanelRef, cappedSize, header, resizeHandle, children, appLayoutMaxWidth, panelHeaderId, onToggle, }) {
|
|
14
14
|
const isRefresh = useVisualRefresh();
|
|
15
15
|
const isToolbar = useAppLayoutToolbarEnabled();
|
|
16
16
|
const { bottomOffset, leftOffset, rightOffset, disableContentPaddings, contentWrapperPaddings, reportHeaderHeight } = useSplitPanelContext();
|
|
17
|
-
const transitionContentBottomRef = useMergeRefs(splitPanelRef || null, transitioningElementRef);
|
|
18
17
|
const isMobile = useMobile();
|
|
19
18
|
const headerRef = useRef(null);
|
|
20
19
|
useResizeObserver(headerRef, entry => reportHeaderHeight(entry.borderBoxHeight));
|
|
@@ -28,20 +27,19 @@ export function SplitPanelContentBottom({ baseProps, isOpen, state, transitionin
|
|
|
28
27
|
[styles['pane-bottom-content-nav-padding']]: contentWrapperPaddings === null || contentWrapperPaddings === void 0 ? void 0 : contentWrapperPaddings.closedNav,
|
|
29
28
|
[styles['pane-bottom-content-tools-padding']]: contentWrapperPaddings === null || contentWrapperPaddings === void 0 ? void 0 : contentWrapperPaddings.closedTools,
|
|
30
29
|
});
|
|
31
|
-
return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(baseProps.className, styles.drawer, styles['position-bottom'], testUtilStyles.root, {
|
|
30
|
+
return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(baseProps.className, styles.drawer, styles['position-bottom'], testUtilStyles.root, sharedStyles['with-motion'], {
|
|
32
31
|
[testUtilStyles['open-position-bottom']]: isOpen,
|
|
33
32
|
[styles['drawer-closed']]: !isOpen,
|
|
34
33
|
[styles['drawer-mobile']]: isMobile,
|
|
35
34
|
[styles['drawer-disable-content-paddings']]: disableContentPaddings,
|
|
36
|
-
[styles.animating]: isRefresh && (state === 'entering' || state === 'exiting'),
|
|
37
35
|
[styles.refresh]: isRefresh,
|
|
38
36
|
[styles['with-toolbar']]: isToolbar,
|
|
39
37
|
}), onClick: () => !isOpen && onToggle(), style: {
|
|
40
38
|
insetBlockEnd: bottomOffset,
|
|
41
39
|
insetInlineStart: leftOffset,
|
|
42
40
|
insetInlineEnd: rightOffset,
|
|
43
|
-
blockSize: isOpen ? cappedSize : undefined,
|
|
44
|
-
}, ref:
|
|
41
|
+
blockSize: isOpen ? cappedSize : isToolbar ? '0px' : undefined,
|
|
42
|
+
}, ref: splitPanelRef }),
|
|
45
43
|
isOpen && React.createElement("div", { className: styles['slider-wrapper-bottom'] }, resizeHandle),
|
|
46
44
|
React.createElement("div", { className: styles['drawer-content-bottom'], "aria-labelledby": panelHeaderId, role: "region" },
|
|
47
45
|
React.createElement("div", { className: clsx(styles['pane-header-wrapper-bottom'], centeredMaxWidthClasses), ref: headerRef }, header),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottom.js","sourceRoot":"","sources":["../../../src/split-panel/bottom.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"bottom.js","sourceRoot":"","sources":["../../../src/split-panel/bottom.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { useResizeObserver } from '@cloudscape-design/component-toolkit/internal';\n\nimport { useAppLayoutToolbarEnabled } from '../app-layout/utils/feature-flags';\nimport { useSplitPanelContext } from '../internal/context/split-panel-context';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { SplitPanelContentProps } from './interfaces';\n\nimport sharedStyles from '../app-layout/resize/styles.css.js';\nimport styles from './styles.css.js';\nimport testUtilStyles from './test-classes/styles.css.js';\n\ninterface SplitPanelContentBottomProps extends SplitPanelContentProps {\n appLayoutMaxWidth: React.CSSProperties | undefined;\n}\n\nexport function SplitPanelContentBottom({\n baseProps,\n isOpen,\n splitPanelRef,\n cappedSize,\n header,\n resizeHandle,\n children,\n appLayoutMaxWidth,\n panelHeaderId,\n onToggle,\n}: SplitPanelContentBottomProps) {\n const isRefresh = useVisualRefresh();\n const isToolbar = useAppLayoutToolbarEnabled();\n const { bottomOffset, leftOffset, rightOffset, disableContentPaddings, contentWrapperPaddings, reportHeaderHeight } =\n useSplitPanelContext();\n const isMobile = useMobile();\n\n const headerRef = useRef<HTMLDivElement>(null);\n useResizeObserver(headerRef, entry => reportHeaderHeight(entry.borderBoxHeight));\n useEffect(() => {\n // report empty height when unmounting the panel\n return () => reportHeaderHeight(0);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const centeredMaxWidthClasses = clsx({\n [styles['pane-bottom-center-align']]: isRefresh,\n [styles['pane-bottom-content-nav-padding']]: contentWrapperPaddings?.closedNav,\n [styles['pane-bottom-content-tools-padding']]: contentWrapperPaddings?.closedTools,\n });\n\n return (\n <div\n {...baseProps}\n className={clsx(\n baseProps.className,\n styles.drawer,\n styles['position-bottom'],\n testUtilStyles.root,\n sharedStyles['with-motion'],\n {\n [testUtilStyles['open-position-bottom']]: isOpen,\n [styles['drawer-closed']]: !isOpen,\n [styles['drawer-mobile']]: isMobile,\n [styles['drawer-disable-content-paddings']]: disableContentPaddings,\n [styles.refresh]: isRefresh,\n [styles['with-toolbar']]: isToolbar,\n }\n )}\n onClick={() => !isOpen && onToggle()}\n style={{\n insetBlockEnd: bottomOffset,\n insetInlineStart: leftOffset,\n insetInlineEnd: rightOffset,\n blockSize: isOpen ? cappedSize : isToolbar ? '0px' : undefined,\n }}\n ref={splitPanelRef}\n >\n {isOpen && <div className={styles['slider-wrapper-bottom']}>{resizeHandle}</div>}\n <div className={styles['drawer-content-bottom']} aria-labelledby={panelHeaderId} role=\"region\">\n <div className={clsx(styles['pane-header-wrapper-bottom'], centeredMaxWidthClasses)} ref={headerRef}>\n {header}\n </div>\n <div className={clsx(styles['content-bottom'], centeredMaxWidthClasses)} aria-hidden={!isOpen}>\n <div className={clsx({ [styles['content-bottom-max-width']]: isRefresh })} style={appLayoutMaxWidth}>\n {children}\n </div>\n </div>\n </div>\n </div>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/split-panel/implementation.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAuD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/split-panel/implementation.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAiB5E,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B,eAAO,MAAM,wBAAwB,qFAgOpC,CAAC;AAEF,eAAO,MAAM,0BAA0B,mMAIZ,CAAC"}
|
|
@@ -9,7 +9,6 @@ import { usePointerEvents } from '../app-layout/utils/use-pointer-events';
|
|
|
9
9
|
import { InternalButton } from '../button/internal';
|
|
10
10
|
import { getBaseProps } from '../internal/base-component';
|
|
11
11
|
import PanelResizeHandle from '../internal/components/panel-resize-handle';
|
|
12
|
-
import { Transition } from '../internal/components/transition';
|
|
13
12
|
import { useSplitPanelContext } from '../internal/context/split-panel-context';
|
|
14
13
|
import { useMergeRefs } from '../internal/hooks/use-merge-refs';
|
|
15
14
|
import { useUniqueId } from '../internal/hooks/use-unique-id';
|
|
@@ -39,6 +38,7 @@ export const SplitPanelImplementation = React.forwardRef((_a, __internalRootRef)
|
|
|
39
38
|
panelRef: splitPanelRefObject,
|
|
40
39
|
handleRef: refs.slider,
|
|
41
40
|
onResize,
|
|
41
|
+
hasTransitions: true,
|
|
42
42
|
};
|
|
43
43
|
const onSliderPointerDown = usePointerEvents(sizeControlProps);
|
|
44
44
|
const onKeyDown = useKeyboardEvents(sizeControlProps);
|
|
@@ -93,12 +93,12 @@ export const SplitPanelImplementation = React.forwardRef((_a, __internalRootRef)
|
|
|
93
93
|
* is still needed for the early return to prevent execution
|
|
94
94
|
* of the following code.
|
|
95
95
|
*/
|
|
96
|
-
if (isRefresh && !isOpen && position === 'side') {
|
|
96
|
+
if (isRefresh && !isToolbar && !isOpen && position === 'side') {
|
|
97
97
|
return React.createElement(React.Fragment, null);
|
|
98
98
|
}
|
|
99
|
-
return (React.createElement(
|
|
99
|
+
return (React.createElement(React.Fragment, null,
|
|
100
100
|
position === 'side' && (React.createElement(SplitPanelContentSide, { style: contentStyle, resizeHandle: resizeHandle, baseProps: baseProps, isOpen: isOpen, splitPanelRef: mergedRef, cappedSize: size, onToggle: onToggle, openButtonAriaLabel: openButtonAriaLabel, toggleRef: refs.toggle, header: wrappedHeader, panelHeaderId: panelHeaderId }, children)),
|
|
101
|
-
position === 'bottom' && (React.createElement(SplitPanelContentBottom, { style: contentStyle, resizeHandle: resizeHandle, baseProps: baseProps, isOpen: isOpen, splitPanelRef: mergedRef, cappedSize: size, onToggle: onToggle, header: wrappedHeader, panelHeaderId: panelHeaderId,
|
|
101
|
+
position === 'bottom' && (React.createElement(SplitPanelContentBottom, { style: contentStyle, resizeHandle: resizeHandle, baseProps: baseProps, isOpen: isOpen, splitPanelRef: mergedRef, cappedSize: size, onToggle: onToggle, header: wrappedHeader, panelHeaderId: panelHeaderId, appLayoutMaxWidth: appLayoutMaxWidth }, children)),
|
|
102
102
|
isPreferencesOpen && (React.createElement(PreferencesModal, { visible: true, preferences: { position }, disabledSidePosition: position === 'bottom' && isForcedPosition, isRefresh: isRefresh, i18nStrings: {
|
|
103
103
|
header: i18nStrings.preferencesTitle,
|
|
104
104
|
confirm: i18nStrings.preferencesConfirm,
|
|
@@ -112,7 +112,7 @@ export const SplitPanelImplementation = React.forwardRef((_a, __internalRootRef)
|
|
|
112
112
|
setPreferencesOpen(false);
|
|
113
113
|
}, onDismiss: () => {
|
|
114
114
|
setPreferencesOpen(false);
|
|
115
|
-
} }))))
|
|
115
|
+
} }))));
|
|
116
116
|
});
|
|
117
117
|
export const createWidgetizedSplitPanel = createWidgetizedForwardRef(SplitPanelImplementation);
|
|
118
118
|
//# sourceMappingURL=implementation.js.map
|