@cloudscape-design/components-themeable 3.0.363 → 3.0.365
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/alert/styles.scss +41 -10
- package/lib/internal/scss/breadcrumb-group/item/styles.scss +1 -1
- package/lib/internal/scss/internal/styles/links.scss +2 -0
- package/lib/internal/scss/link/constants.scss +7 -6
- package/lib/internal/template/alert/index.d.ts +3 -2
- package/lib/internal/template/alert/index.d.ts.map +1 -1
- package/lib/internal/template/alert/index.js +4 -3
- package/lib/internal/template/alert/index.js.map +1 -1
- package/lib/internal/template/alert/interfaces.d.ts +6 -0
- package/lib/internal/template/alert/interfaces.d.ts.map +1 -1
- package/lib/internal/template/alert/interfaces.js.map +1 -1
- package/lib/internal/template/alert/internal.d.ts +5 -5
- package/lib/internal/template/alert/internal.d.ts.map +1 -1
- package/lib/internal/template/alert/internal.js +22 -14
- package/lib/internal/template/alert/internal.js.map +1 -1
- package/lib/internal/template/alert/styles.css.js +24 -19
- package/lib/internal/template/alert/styles.scoped.css +72 -35
- package/lib/internal/template/alert/styles.selectors.js +24 -19
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +30 -30
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/visual-refresh/background.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/background.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/background.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/context.d.ts +2 -1
- package/lib/internal/template/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/context.js +9 -11
- package/lib/internal/template/app-layout/visual-refresh/context.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/layout.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/layout.js +3 -11
- package/lib/internal/template/app-layout/visual-refresh/layout.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/use-background-overlap.d.ts +16 -0
- package/lib/internal/template/app-layout/visual-refresh/use-background-overlap.d.ts.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh/use-background-overlap.js +41 -0
- package/lib/internal/template/app-layout/visual-refresh/use-background-overlap.js.map +1 -0
- package/lib/internal/template/attribute-editor/styles.css.js +14 -14
- package/lib/internal/template/attribute-editor/styles.scoped.css +30 -31
- package/lib/internal/template/attribute-editor/styles.selectors.js +14 -14
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +9 -9
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +21 -21
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +9 -9
- package/lib/internal/template/button/styles.css.js +20 -20
- package/lib/internal/template/button/styles.scoped.css +152 -152
- package/lib/internal/template/button/styles.selectors.js +20 -20
- package/lib/internal/template/cards/index.d.ts.map +1 -1
- package/lib/internal/template/cards/index.js +9 -7
- package/lib/internal/template/cards/index.js.map +1 -1
- package/lib/internal/template/help-panel/index.d.ts.map +1 -1
- package/lib/internal/template/help-panel/index.js +3 -1
- package/lib/internal/template/help-panel/index.js.map +1 -1
- package/lib/internal/template/help-panel/styles.css.js +4 -4
- package/lib/internal/template/help-panel/styles.scoped.css +71 -72
- package/lib/internal/template/help-panel/styles.selectors.js +4 -4
- package/lib/internal/template/internal/base-component/styles.scoped.css +11 -26
- package/lib/internal/template/internal/components/token-list/styles.css.js +9 -9
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +22 -22
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +9 -9
- package/lib/internal/template/internal/context/link-default-variant-context.d.ts +6 -0
- package/lib/internal/template/internal/context/link-default-variant-context.d.ts.map +1 -0
- package/lib/internal/template/internal/context/link-default-variant-context.js +7 -0
- package/lib/internal/template/internal/context/link-default-variant-context.js.map +1 -0
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/lib/internal/template/internal/generated/theming/index.cjs +0 -40
- package/lib/internal/template/internal/generated/theming/index.js +0 -40
- package/lib/internal/template/internal/hooks/container-queries/use-resize-observer.d.ts.map +1 -1
- package/lib/internal/template/internal/hooks/container-queries/use-resize-observer.js +1 -9
- package/lib/internal/template/internal/hooks/container-queries/use-resize-observer.js.map +1 -1
- package/lib/internal/template/internal/hooks/container-queries/utils.d.ts +4 -0
- package/lib/internal/template/internal/hooks/container-queries/utils.d.ts.map +1 -0
- package/lib/internal/template/internal/hooks/container-queries/utils.js +10 -0
- package/lib/internal/template/internal/hooks/container-queries/utils.js.map +1 -0
- package/lib/internal/template/internal/hooks/use-dynamic-overlap/index.d.ts +1 -1
- package/lib/internal/template/internal/hooks/use-dynamic-overlap/index.d.ts.map +1 -1
- package/lib/internal/template/internal/hooks/use-dynamic-overlap/index.js +11 -5
- package/lib/internal/template/internal/hooks/use-dynamic-overlap/index.js.map +1 -1
- package/lib/internal/template/link/index.d.ts.map +1 -1
- package/lib/internal/template/link/index.js +2 -2
- package/lib/internal/template/link/index.js.map +1 -1
- package/lib/internal/template/link/interfaces.d.ts +7 -0
- package/lib/internal/template/link/interfaces.d.ts.map +1 -1
- package/lib/internal/template/link/interfaces.js.map +1 -1
- package/lib/internal/template/link/internal.d.ts.map +1 -1
- package/lib/internal/template/link/internal.js +4 -1
- package/lib/internal/template/link/internal.js.map +1 -1
- package/lib/internal/template/link/styles.css.js +20 -20
- package/lib/internal/template/link/styles.scoped.css +91 -90
- package/lib/internal/template/link/styles.selectors.js +20 -20
- package/lib/internal/template/popover/internal.d.ts.map +1 -1
- package/lib/internal/template/popover/internal.js +3 -1
- package/lib/internal/template/popover/internal.js.map +1 -1
- package/lib/internal/template/table/internal.d.ts.map +1 -1
- package/lib/internal/template/table/internal.js +58 -56
- package/lib/internal/template/table/internal.js.map +1 -1
- package/lib/internal/template/table/sticky-columns/index.d.ts +2 -1
- package/lib/internal/template/table/sticky-columns/index.d.ts.map +1 -1
- package/lib/internal/template/table/sticky-columns/index.js +1 -1
- package/lib/internal/template/table/sticky-columns/index.js.map +1 -1
- package/lib/internal/template/table/sticky-columns/interfaces.d.ts +31 -0
- package/lib/internal/template/table/sticky-columns/interfaces.d.ts.map +1 -0
- package/lib/internal/template/table/sticky-columns/interfaces.js +4 -0
- package/lib/internal/template/table/sticky-columns/interfaces.js.map +1 -0
- package/lib/internal/template/table/sticky-columns/use-sticky-columns.d.ts +1 -25
- package/lib/internal/template/table/sticky-columns/use-sticky-columns.d.ts.map +1 -1
- package/lib/internal/template/table/sticky-columns/use-sticky-columns.js +18 -51
- package/lib/internal/template/table/sticky-columns/use-sticky-columns.js.map +1 -1
- package/lib/internal/template/table/sticky-columns/utils.d.ts +5 -0
- package/lib/internal/template/table/sticky-columns/utils.d.ts.map +1 -0
- package/lib/internal/template/table/sticky-columns/utils.js +42 -0
- package/lib/internal/template/table/sticky-columns/utils.js.map +1 -0
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +12 -12
- package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
- package/lib/internal/template/text-content/styles.css.js +1 -1
- package/lib/internal/template/text-content/styles.scoped.css +72 -74
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/congratulation-screen.js +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/congratulation-screen.js.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-list/index.js +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-list/index.js.map +1 -1
- package/lib/internal/template/wizard/wizard-navigation.js +1 -1
- package/lib/internal/template/wizard/wizard-navigation.js.map +1 -1
- package/package.json +1 -1
|
@@ -342,11 +342,10 @@
|
|
|
342
342
|
--color-text-layout-toggle-hover-e0w6nb:#0073bb;
|
|
343
343
|
--color-text-layout-toggle-selected-ake356:#ffffff;
|
|
344
344
|
--color-text-link-default-mwf535:#0073bb;
|
|
345
|
-
--color-text-link-hover-
|
|
345
|
+
--color-text-link-hover-162q5i:#0a4a74;
|
|
346
346
|
--color-text-link-inverted-hover-o7al0p:#fafafa;
|
|
347
347
|
--color-text-link-button-underline-iqcwn3:currentColor;
|
|
348
348
|
--color-text-link-button-underline-hover-djlslb:currentColor;
|
|
349
|
-
--color-text-link-primary-underline-s1455o:transparent;
|
|
350
349
|
--color-text-notification-default-dvlvko:#fafafa;
|
|
351
350
|
--color-text-notification-stack-bar-bsqo5f:#ffffff;
|
|
352
351
|
--color-text-notification-yellow-myqoj7:#16191f;
|
|
@@ -409,9 +408,6 @@
|
|
|
409
408
|
--font-box-value-large-weight-ucloqu:300;
|
|
410
409
|
--font-link-button-letter-spacing-qcov8t:normal;
|
|
411
410
|
--font-link-button-weight-y3fyce:400;
|
|
412
|
-
--font-link-primary-decoration-g53302:none;
|
|
413
|
-
--font-link-primary-letter-spacing-hw4lx1:0.005em;
|
|
414
|
-
--font-link-primary-weight-szvmmz:700;
|
|
415
411
|
--font-panel-header-line-height-931u7u:22px;
|
|
416
412
|
--font-panel-header-size-f10ema:18px;
|
|
417
413
|
--font-smoothing-webkit-r8w2d6:auto;
|
|
@@ -918,7 +914,7 @@
|
|
|
918
914
|
--color-text-layout-toggle-hover-e0w6nb:#00a1c9;
|
|
919
915
|
--color-text-layout-toggle-selected-ake356:#16191f;
|
|
920
916
|
--color-text-link-default-mwf535:#44b9d6;
|
|
921
|
-
--color-text-link-hover-
|
|
917
|
+
--color-text-link-hover-162q5i:#99cbe4;
|
|
922
918
|
--color-text-pagination-page-number-active-disabled-l5chrv:#d5dbdb;
|
|
923
919
|
--color-text-pagination-page-number-default-5jcpb4:#d5dbdb;
|
|
924
920
|
--color-text-segment-active-8msqh1:#1a2029;
|
|
@@ -1200,7 +1196,7 @@
|
|
|
1200
1196
|
--color-text-layout-toggle-hover-e0w6nb:#00a1c9;
|
|
1201
1197
|
--color-text-layout-toggle-selected-ake356:#16191f;
|
|
1202
1198
|
--color-text-link-default-mwf535:#44b9d6;
|
|
1203
|
-
--color-text-link-hover-
|
|
1199
|
+
--color-text-link-hover-162q5i:#99cbe4;
|
|
1204
1200
|
--color-text-pagination-page-number-active-disabled-l5chrv:#d5dbdb;
|
|
1205
1201
|
--color-text-pagination-page-number-default-5jcpb4:#d5dbdb;
|
|
1206
1202
|
--color-text-segment-active-8msqh1:#1a2029;
|
|
@@ -1452,11 +1448,10 @@
|
|
|
1452
1448
|
--color-text-layout-toggle-erkomn:#ffffff;
|
|
1453
1449
|
--color-text-layout-toggle-hover-e0w6nb:#0972d3;
|
|
1454
1450
|
--color-text-link-default-mwf535:#0972d3;
|
|
1455
|
-
--color-text-link-hover-
|
|
1451
|
+
--color-text-link-hover-162q5i:#033160;
|
|
1456
1452
|
--color-text-link-inverted-hover-o7al0p:#ffffff;
|
|
1457
1453
|
--color-text-link-button-underline-iqcwn3:transparent;
|
|
1458
1454
|
--color-text-link-button-underline-hover-djlslb:transparent;
|
|
1459
|
-
--color-text-link-primary-underline-s1455o:#0972d3;
|
|
1460
1455
|
--color-text-notification-default-dvlvko:#fbfbfb;
|
|
1461
1456
|
--color-text-notification-yellow-myqoj7:#000716;
|
|
1462
1457
|
--color-text-pagination-page-number-active-disabled-l5chrv:#9ba7b6;
|
|
@@ -1506,9 +1501,6 @@
|
|
|
1506
1501
|
--font-box-value-large-weight-ucloqu:700;
|
|
1507
1502
|
--font-link-button-letter-spacing-qcov8t:0.005em;
|
|
1508
1503
|
--font-link-button-weight-y3fyce:700;
|
|
1509
|
-
--font-link-primary-decoration-g53302:underline;
|
|
1510
|
-
--font-link-primary-letter-spacing-hw4lx1:"inherit";
|
|
1511
|
-
--font-link-primary-weight-szvmmz:"inherit";
|
|
1512
1504
|
--font-smoothing-webkit-r8w2d6:antialiased;
|
|
1513
1505
|
--font-smoothing-moz-osx-ypl7oc:grayscale;
|
|
1514
1506
|
--font-tabs-disabled-weight-1p0jc1:700;
|
|
@@ -1788,8 +1780,7 @@
|
|
|
1788
1780
|
--color-text-layout-toggle-hover-e0w6nb:#539fe5;
|
|
1789
1781
|
--color-text-layout-toggle-selected-ake356:#000716;
|
|
1790
1782
|
--color-text-link-default-mwf535:#539fe5;
|
|
1791
|
-
--color-text-link-hover-
|
|
1792
|
-
--color-text-link-primary-underline-s1455o:#539fe5;
|
|
1783
|
+
--color-text-link-hover-162q5i:#89bdee;
|
|
1793
1784
|
--color-text-pagination-page-number-active-disabled-l5chrv:#5f6b7a;
|
|
1794
1785
|
--color-text-pagination-page-number-default-5jcpb4:#9ba7b6;
|
|
1795
1786
|
--color-text-segment-active-8msqh1:#000716;
|
|
@@ -2047,8 +2038,7 @@
|
|
|
2047
2038
|
--color-text-layout-toggle-hover-e0w6nb:#539fe5;
|
|
2048
2039
|
--color-text-layout-toggle-selected-ake356:#000716;
|
|
2049
2040
|
--color-text-link-default-mwf535:#539fe5;
|
|
2050
|
-
--color-text-link-hover-
|
|
2051
|
-
--color-text-link-primary-underline-s1455o:#539fe5;
|
|
2041
|
+
--color-text-link-hover-162q5i:#89bdee;
|
|
2052
2042
|
--color-text-pagination-page-number-active-disabled-l5chrv:#5f6b7a;
|
|
2053
2043
|
--color-text-pagination-page-number-default-5jcpb4:#9ba7b6;
|
|
2054
2044
|
--color-text-segment-active-8msqh1:#000716;
|
|
@@ -2228,8 +2218,7 @@
|
|
|
2228
2218
|
--color-text-layout-toggle-hover-e0w6nb:#539fe5;
|
|
2229
2219
|
--color-text-layout-toggle-selected-ake356:#000716;
|
|
2230
2220
|
--color-text-link-default-mwf535:#539fe5;
|
|
2231
|
-
--color-text-link-hover-
|
|
2232
|
-
--color-text-link-primary-underline-s1455o:#539fe5;
|
|
2221
|
+
--color-text-link-hover-162q5i:#89bdee;
|
|
2233
2222
|
--color-text-pagination-page-number-active-disabled-l5chrv:#5f6b7a;
|
|
2234
2223
|
--color-text-pagination-page-number-default-5jcpb4:#9ba7b6;
|
|
2235
2224
|
--color-text-segment-active-8msqh1:#000716;
|
|
@@ -2411,8 +2400,7 @@
|
|
|
2411
2400
|
--color-text-layout-toggle-hover-e0w6nb:#539fe5;
|
|
2412
2401
|
--color-text-layout-toggle-selected-ake356:#000716;
|
|
2413
2402
|
--color-text-link-default-mwf535:#539fe5;
|
|
2414
|
-
--color-text-link-hover-
|
|
2415
|
-
--color-text-link-primary-underline-s1455o:#539fe5;
|
|
2403
|
+
--color-text-link-hover-162q5i:#89bdee;
|
|
2416
2404
|
--color-text-pagination-page-number-active-disabled-l5chrv:#5f6b7a;
|
|
2417
2405
|
--color-text-pagination-page-number-default-5jcpb4:#9ba7b6;
|
|
2418
2406
|
--color-text-segment-active-8msqh1:#000716;
|
|
@@ -2607,8 +2595,7 @@
|
|
|
2607
2595
|
--color-text-layout-toggle-hover-e0w6nb:#539fe5;
|
|
2608
2596
|
--color-text-layout-toggle-selected-ake356:#000716;
|
|
2609
2597
|
--color-text-link-default-mwf535:#539fe5;
|
|
2610
|
-
--color-text-link-hover-
|
|
2611
|
-
--color-text-link-primary-underline-s1455o:#539fe5;
|
|
2598
|
+
--color-text-link-hover-162q5i:#89bdee;
|
|
2612
2599
|
--color-text-pagination-page-number-active-disabled-l5chrv:#5f6b7a;
|
|
2613
2600
|
--color-text-pagination-page-number-default-5jcpb4:#9ba7b6;
|
|
2614
2601
|
--color-text-segment-active-8msqh1:#000716;
|
|
@@ -2964,8 +2951,7 @@
|
|
|
2964
2951
|
--color-text-layout-toggle-hover-e0w6nb:#539fe5;
|
|
2965
2952
|
--color-text-layout-toggle-selected-ake356:#000716;
|
|
2966
2953
|
--color-text-link-default-mwf535:#539fe5;
|
|
2967
|
-
--color-text-link-hover-
|
|
2968
|
-
--color-text-link-primary-underline-s1455o:#539fe5;
|
|
2954
|
+
--color-text-link-hover-162q5i:#89bdee;
|
|
2969
2955
|
--color-text-pagination-page-number-active-disabled-l5chrv:#5f6b7a;
|
|
2970
2956
|
--color-text-pagination-page-number-default-5jcpb4:#9ba7b6;
|
|
2971
2957
|
--color-text-segment-active-8msqh1:#000716;
|
|
@@ -3147,8 +3133,7 @@
|
|
|
3147
3133
|
--color-text-layout-toggle-hover-e0w6nb:#539fe5;
|
|
3148
3134
|
--color-text-layout-toggle-selected-ake356:#000716;
|
|
3149
3135
|
--color-text-link-default-mwf535:#539fe5;
|
|
3150
|
-
--color-text-link-hover-
|
|
3151
|
-
--color-text-link-primary-underline-s1455o:#539fe5;
|
|
3136
|
+
--color-text-link-hover-162q5i:#89bdee;
|
|
3152
3137
|
--color-text-pagination-page-number-active-disabled-l5chrv:#5f6b7a;
|
|
3153
3138
|
--color-text-pagination-page-number-default-5jcpb4:#9ba7b6;
|
|
3154
3139
|
--color-text-segment-active-8msqh1:#000716;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"horizontal": "
|
|
6
|
-
"vertical": "
|
|
7
|
-
"list": "
|
|
8
|
-
"list-item": "awsui_list-
|
|
9
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
10
|
-
"toggle": "
|
|
11
|
-
"description": "
|
|
12
|
-
"separator": "
|
|
4
|
+
"root": "awsui_root_gfwv3_1a243_93",
|
|
5
|
+
"horizontal": "awsui_horizontal_gfwv3_1a243_98",
|
|
6
|
+
"vertical": "awsui_vertical_gfwv3_1a243_102",
|
|
7
|
+
"list": "awsui_list_gfwv3_1a243_106",
|
|
8
|
+
"list-item": "awsui_list-item_gfwv3_1a243_124",
|
|
9
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_1a243_129",
|
|
10
|
+
"toggle": "awsui_toggle_gfwv3_1a243_129",
|
|
11
|
+
"description": "awsui_description_gfwv3_1a243_197",
|
|
12
|
+
"separator": "awsui_separator_gfwv3_1a243_201"
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -90,49 +90,49 @@ 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_root_gfwv3_1a243_93:not(#\9) {
|
|
94
94
|
display: flex;
|
|
95
95
|
flex-wrap: wrap;
|
|
96
96
|
gap: var(--space-scaled-xs-1lhnod, 8px);
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.awsui_root_gfwv3_1a243_93.awsui_horizontal_gfwv3_1a243_98:not(#\9) {
|
|
99
99
|
gap: var(--space-xs-e7dyai, 8px);
|
|
100
100
|
flex-direction: row;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.awsui_root_gfwv3_1a243_93.awsui_vertical_gfwv3_1a243_102:not(#\9) {
|
|
103
103
|
flex-direction: column;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.
|
|
106
|
+
.awsui_list_gfwv3_1a243_106:not(#\9) {
|
|
107
107
|
display: contents;
|
|
108
108
|
list-style: none;
|
|
109
109
|
padding: 0;
|
|
110
110
|
margin: 0;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
.awsui_list_gfwv3_1a243_106.awsui_horizontal_gfwv3_1a243_98:not(#\9), .awsui_list_gfwv3_1a243_106.awsui_vertical_gfwv3_1a243_102:not(#\9) {
|
|
113
113
|
display: flex;
|
|
114
114
|
flex-wrap: wrap;
|
|
115
115
|
gap: var(--space-xs-e7dyai, 8px);
|
|
116
116
|
}
|
|
117
|
-
.
|
|
117
|
+
.awsui_list_gfwv3_1a243_106.awsui_horizontal_gfwv3_1a243_98:not(#\9) {
|
|
118
118
|
flex-direction: row;
|
|
119
119
|
}
|
|
120
|
-
.
|
|
120
|
+
.awsui_list_gfwv3_1a243_106.awsui_vertical_gfwv3_1a243_102:not(#\9) {
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.awsui_list-
|
|
124
|
+
.awsui_list-item_gfwv3_1a243_124:not(#\9) {
|
|
125
125
|
padding: 0;
|
|
126
126
|
margin: 0;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.awsui_toggle-container-
|
|
129
|
+
.awsui_toggle-container-inline_gfwv3_1a243_129:not(#\9) {
|
|
130
130
|
padding-left: var(--space-xs-e7dyai, 8px);
|
|
131
131
|
display: flex;
|
|
132
132
|
align-items: center;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.
|
|
135
|
+
.awsui_toggle_gfwv3_1a243_129:not(#\9) {
|
|
136
136
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
137
137
|
border-collapse: separate;
|
|
138
138
|
border-spacing: 0;
|
|
@@ -187,46 +187,46 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
187
187
|
margin-left: -1px;
|
|
188
188
|
}
|
|
189
189
|
@media (prefers-reduced-motion: reduce) {
|
|
190
|
-
.
|
|
190
|
+
.awsui_toggle_gfwv3_1a243_129:not(#\9) {
|
|
191
191
|
animation: none;
|
|
192
192
|
transition: none;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
.awsui-motion-disabled .
|
|
195
|
+
.awsui-motion-disabled .awsui_toggle_gfwv3_1a243_129:not(#\9), .awsui-mode-entering .awsui_toggle_gfwv3_1a243_129:not(#\9) {
|
|
196
196
|
animation: none;
|
|
197
197
|
transition: none;
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
.awsui_toggle_gfwv3_1a243_129:not(#\9):hover {
|
|
200
200
|
cursor: pointer;
|
|
201
|
-
color: var(--color-text-link-hover-
|
|
201
|
+
color: var(--color-text-link-hover-162q5i, #0a4a74);
|
|
202
202
|
}
|
|
203
|
-
.
|
|
203
|
+
.awsui_toggle_gfwv3_1a243_129:not(#\9):focus {
|
|
204
204
|
outline: none;
|
|
205
205
|
}
|
|
206
|
-
.
|
|
207
|
-
color: var(--color-text-link-hover-
|
|
206
|
+
.awsui_toggle_gfwv3_1a243_129:not(#\9):active {
|
|
207
|
+
color: var(--color-text-link-hover-162q5i, #0a4a74);
|
|
208
208
|
}
|
|
209
|
-
.
|
|
209
|
+
.awsui_toggle_gfwv3_1a243_129:not(#\9):active, .awsui_toggle_gfwv3_1a243_129:not(#\9):focus, .awsui_toggle_gfwv3_1a243_129:not(#\9):hover {
|
|
210
210
|
text-decoration: underline;
|
|
211
211
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
212
212
|
text-decoration-color: currentColor;
|
|
213
213
|
}
|
|
214
|
-
.
|
|
214
|
+
.awsui_toggle_gfwv3_1a243_129:not(#\9):active, .awsui_toggle_gfwv3_1a243_129:not(#\9):focus, .awsui_toggle_gfwv3_1a243_129:not(#\9):hover {
|
|
215
215
|
text-decoration: none;
|
|
216
216
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
217
217
|
text-decoration-color: transparent;
|
|
218
218
|
}
|
|
219
|
-
body[data-awsui-focus-visible=true] .
|
|
219
|
+
body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_1a243_129:not(#\9):focus {
|
|
220
220
|
outline: 2px dotted transparent;
|
|
221
221
|
border: var(--border-field-width-diib1p, 1px) solid var(--color-border-item-focused-gjqsnp, #0073bb);
|
|
222
222
|
border-radius: var(--border-radius-control-default-focus-ring-awoa2s, 2px);
|
|
223
223
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-tkpu58, 1px) var(--color-border-item-focused-gjqsnp, #0073bb);
|
|
224
224
|
}
|
|
225
|
-
.
|
|
225
|
+
.awsui_toggle_gfwv3_1a243_129 > .awsui_description_gfwv3_1a243_197:not(#\9) {
|
|
226
226
|
margin-left: var(--space-xxs-1wmjb0, 4px);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
.
|
|
229
|
+
.awsui_separator_gfwv3_1a243_201:not(#\9) {
|
|
230
230
|
margin: 0px var(--space-scaled-m-wu03sm, 16px);
|
|
231
231
|
width: var(--border-divider-section-width-uu4597, 1px);
|
|
232
232
|
background-color: var(--color-border-divider-default-z9h069, #eaeded);
|
|
@@ -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
|
-
"root": "
|
|
6
|
-
"horizontal": "
|
|
7
|
-
"vertical": "
|
|
8
|
-
"list": "
|
|
9
|
-
"list-item": "awsui_list-
|
|
10
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
11
|
-
"toggle": "
|
|
12
|
-
"description": "
|
|
13
|
-
"separator": "
|
|
5
|
+
"root": "awsui_root_gfwv3_1a243_93",
|
|
6
|
+
"horizontal": "awsui_horizontal_gfwv3_1a243_98",
|
|
7
|
+
"vertical": "awsui_vertical_gfwv3_1a243_102",
|
|
8
|
+
"list": "awsui_list_gfwv3_1a243_106",
|
|
9
|
+
"list-item": "awsui_list-item_gfwv3_1a243_124",
|
|
10
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_1a243_129",
|
|
11
|
+
"toggle": "awsui_toggle_gfwv3_1a243_129",
|
|
12
|
+
"description": "awsui_description_gfwv3_1a243_197",
|
|
13
|
+
"separator": "awsui_separator_gfwv3_1a243_201"
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-default-variant-context.d.ts","sourceRoot":"lib/default/","sources":["internal/context/link-default-variant-context.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,eAAO,MAAM,yBAAyB;oBAAmC,UAAU,OAAO;EAExF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { createContext } from 'react';
|
|
4
|
+
export const LinkDefaultVariantContext = createContext({
|
|
5
|
+
defaultVariant: 'secondary',
|
|
6
|
+
});
|
|
7
|
+
//# sourceMappingURL=link-default-variant-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-default-variant-context.js","sourceRoot":"lib/default/","sources":["internal/context/link-default-variant-context.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAwC;IAC5F,cAAc,EAAE,WAAW;CAC5B,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { createContext } from 'react';\nimport { LinkProps } from '../../link/interfaces';\n\nexport const LinkDefaultVariantContext = createContext<{ defaultVariant: LinkProps.Variant }>({\n defaultVariant: 'secondary',\n});\n"]}
|
|
@@ -1541,10 +1541,6 @@ module.exports.preset = {
|
|
|
1541
1541
|
"light": "transparent",
|
|
1542
1542
|
"dark": "transparent"
|
|
1543
1543
|
},
|
|
1544
|
-
"colorTextLinkPrimaryUnderline": {
|
|
1545
|
-
"light": "{colorTextLinkDefault}",
|
|
1546
|
-
"dark": "{colorTextLinkDefault}"
|
|
1547
|
-
},
|
|
1548
1544
|
"colorTextNotificationDefault": {
|
|
1549
1545
|
"light": "{colorGrey100}",
|
|
1550
1546
|
"dark": "{colorGrey100}"
|
|
@@ -1676,9 +1672,6 @@ module.exports.preset = {
|
|
|
1676
1672
|
"fontBoxValueLargeWeight": "700",
|
|
1677
1673
|
"fontLinkButtonLetterSpacing": "{fontButtonLetterSpacing}",
|
|
1678
1674
|
"fontLinkButtonWeight": "{fontButtonWeight}",
|
|
1679
|
-
"fontLinkPrimaryDecoration": "underline",
|
|
1680
|
-
"fontLinkPrimaryLetterSpacing": "\"inherit\"",
|
|
1681
|
-
"fontLinkPrimaryWeight": "\"inherit\"",
|
|
1682
1675
|
"fontPanelHeaderLineHeight": "{fontHeadingMLineHeight}",
|
|
1683
1676
|
"fontPanelHeaderSize": "{fontHeadingMSize}",
|
|
1684
1677
|
"fontSmoothingWebkit": "antialiased",
|
|
@@ -3562,10 +3555,6 @@ module.exports.preset = {
|
|
|
3562
3555
|
"light": "transparent",
|
|
3563
3556
|
"dark": "transparent"
|
|
3564
3557
|
},
|
|
3565
|
-
"colorTextLinkPrimaryUnderline": {
|
|
3566
|
-
"light": "{colorTextLinkDefault}",
|
|
3567
|
-
"dark": "{colorTextLinkDefault}"
|
|
3568
|
-
},
|
|
3569
3558
|
"colorTextNotificationDefault": {
|
|
3570
3559
|
"light": "{colorGrey100}",
|
|
3571
3560
|
"dark": "{colorGrey100}"
|
|
@@ -4568,10 +4557,6 @@ module.exports.preset = {
|
|
|
4568
4557
|
"light": "transparent",
|
|
4569
4558
|
"dark": "transparent"
|
|
4570
4559
|
},
|
|
4571
|
-
"colorTextLinkPrimaryUnderline": {
|
|
4572
|
-
"light": "{colorTextLinkDefault}",
|
|
4573
|
-
"dark": "{colorTextLinkDefault}"
|
|
4574
|
-
},
|
|
4575
4560
|
"colorTextNotificationDefault": {
|
|
4576
4561
|
"light": "{colorGrey100}",
|
|
4577
4562
|
"dark": "{colorGrey100}"
|
|
@@ -5506,10 +5491,6 @@ module.exports.preset = {
|
|
|
5506
5491
|
"light": "transparent",
|
|
5507
5492
|
"dark": "transparent"
|
|
5508
5493
|
},
|
|
5509
|
-
"colorTextLinkPrimaryUnderline": {
|
|
5510
|
-
"light": "{colorTextLinkDefault}",
|
|
5511
|
-
"dark": "{colorTextLinkDefault}"
|
|
5512
|
-
},
|
|
5513
5494
|
"colorTextNotificationDefault": {
|
|
5514
5495
|
"light": "{colorGrey100}",
|
|
5515
5496
|
"dark": "{colorGrey100}"
|
|
@@ -6444,10 +6425,6 @@ module.exports.preset = {
|
|
|
6444
6425
|
"light": "transparent",
|
|
6445
6426
|
"dark": "transparent"
|
|
6446
6427
|
},
|
|
6447
|
-
"colorTextLinkPrimaryUnderline": {
|
|
6448
|
-
"light": "{colorTextLinkDefault}",
|
|
6449
|
-
"dark": "{colorTextLinkDefault}"
|
|
6450
|
-
},
|
|
6451
6428
|
"colorTextNotificationDefault": {
|
|
6452
6429
|
"light": "{colorTextNotificationYellow}",
|
|
6453
6430
|
"dark": "{colorTextNotificationYellow}"
|
|
@@ -7382,10 +7359,6 @@ module.exports.preset = {
|
|
|
7382
7359
|
"light": "transparent",
|
|
7383
7360
|
"dark": "transparent"
|
|
7384
7361
|
},
|
|
7385
|
-
"colorTextLinkPrimaryUnderline": {
|
|
7386
|
-
"light": "{colorTextLinkDefault}",
|
|
7387
|
-
"dark": "{colorTextLinkDefault}"
|
|
7388
|
-
},
|
|
7389
7362
|
"colorTextNotificationDefault": {
|
|
7390
7363
|
"light": "{colorGrey100}",
|
|
7391
7364
|
"dark": "{colorGrey100}"
|
|
@@ -8320,10 +8293,6 @@ module.exports.preset = {
|
|
|
8320
8293
|
"light": "transparent",
|
|
8321
8294
|
"dark": "transparent"
|
|
8322
8295
|
},
|
|
8323
|
-
"colorTextLinkPrimaryUnderline": {
|
|
8324
|
-
"light": "{colorTextLinkDefault}",
|
|
8325
|
-
"dark": "{colorTextLinkDefault}"
|
|
8326
|
-
},
|
|
8327
8296
|
"colorTextNotificationDefault": {
|
|
8328
8297
|
"light": "{colorGrey100}",
|
|
8329
8298
|
"dark": "{colorGrey100}"
|
|
@@ -8783,7 +8752,6 @@ module.exports.preset = {
|
|
|
8783
8752
|
"colorTextLinkInvertedHover": "color",
|
|
8784
8753
|
"colorTextLinkButtonUnderline": "color",
|
|
8785
8754
|
"colorTextLinkButtonUnderlineHover": "color",
|
|
8786
|
-
"colorTextLinkPrimaryUnderline": "color",
|
|
8787
8755
|
"colorTextNotificationDefault": "color",
|
|
8788
8756
|
"colorTextNotificationStackBar": "color",
|
|
8789
8757
|
"colorTextNotificationYellow": "color",
|
|
@@ -9870,7 +9838,6 @@ module.exports.preset = {
|
|
|
9870
9838
|
"colorTextLinkInvertedHover": "color-text-link-inverted-hover",
|
|
9871
9839
|
"colorTextLinkButtonUnderline": "color-text-link-button-underline",
|
|
9872
9840
|
"colorTextLinkButtonUnderlineHover": "color-text-link-button-underline-hover",
|
|
9873
|
-
"colorTextLinkPrimaryUnderline": "color-text-link-primary-underline",
|
|
9874
9841
|
"colorTextNotificationDefault": "color-text-notification-default",
|
|
9875
9842
|
"colorTextNotificationStackBar": "color-text-notification-stack-bar",
|
|
9876
9843
|
"colorTextNotificationYellow": "color-text-notification-yellow",
|
|
@@ -9933,9 +9900,6 @@ module.exports.preset = {
|
|
|
9933
9900
|
"fontBoxValueLargeWeight": "font-box-value-large-weight",
|
|
9934
9901
|
"fontLinkButtonLetterSpacing": "font-link-button-letter-spacing",
|
|
9935
9902
|
"fontLinkButtonWeight": "font-link-button-weight",
|
|
9936
|
-
"fontLinkPrimaryDecoration": "font-link-primary-decoration",
|
|
9937
|
-
"fontLinkPrimaryLetterSpacing": "font-link-primary-letter-spacing",
|
|
9938
|
-
"fontLinkPrimaryWeight": "font-link-primary-weight",
|
|
9939
9903
|
"fontPanelHeaderLineHeight": "font-panel-header-line-height",
|
|
9940
9904
|
"fontPanelHeaderSize": "font-panel-header-size",
|
|
9941
9905
|
"fontSmoothingWebkit": "font-smoothing-webkit",
|
|
@@ -10553,7 +10517,6 @@ module.exports.preset = {
|
|
|
10553
10517
|
"colorTextLinkInvertedHover": "--color-text-link-inverted-hover-09cw7h",
|
|
10554
10518
|
"colorTextLinkButtonUnderline": "--color-text-link-button-underline-ik5r9i",
|
|
10555
10519
|
"colorTextLinkButtonUnderlineHover": "--color-text-link-button-underline-hover-gyir88",
|
|
10556
|
-
"colorTextLinkPrimaryUnderline": "--color-text-link-primary-underline-gvxbge",
|
|
10557
10520
|
"colorTextNotificationDefault": "--color-text-notification-default-rdawv9",
|
|
10558
10521
|
"colorTextNotificationStackBar": "--color-text-notification-stack-bar-jc9tvx",
|
|
10559
10522
|
"colorTextNotificationYellow": "--color-text-notification-yellow-p027cz",
|
|
@@ -10616,9 +10579,6 @@ module.exports.preset = {
|
|
|
10616
10579
|
"fontBoxValueLargeWeight": "--font-box-value-large-weight-onoq9k",
|
|
10617
10580
|
"fontLinkButtonLetterSpacing": "--font-link-button-letter-spacing-yi9f0l",
|
|
10618
10581
|
"fontLinkButtonWeight": "--font-link-button-weight-jephf1",
|
|
10619
|
-
"fontLinkPrimaryDecoration": "--font-link-primary-decoration-cp88s8",
|
|
10620
|
-
"fontLinkPrimaryLetterSpacing": "--font-link-primary-letter-spacing-uqaf5f",
|
|
10621
|
-
"fontLinkPrimaryWeight": "--font-link-primary-weight-k726vk",
|
|
10622
10582
|
"fontPanelHeaderLineHeight": "--font-panel-header-line-height-kxi4u2",
|
|
10623
10583
|
"fontPanelHeaderSize": "--font-panel-header-size-edjz3l",
|
|
10624
10584
|
"fontSmoothingWebkit": "--font-smoothing-webkit-m8nc84",
|
|
@@ -1541,10 +1541,6 @@ export var preset = {
|
|
|
1541
1541
|
"light": "transparent",
|
|
1542
1542
|
"dark": "transparent"
|
|
1543
1543
|
},
|
|
1544
|
-
"colorTextLinkPrimaryUnderline": {
|
|
1545
|
-
"light": "{colorTextLinkDefault}",
|
|
1546
|
-
"dark": "{colorTextLinkDefault}"
|
|
1547
|
-
},
|
|
1548
1544
|
"colorTextNotificationDefault": {
|
|
1549
1545
|
"light": "{colorGrey100}",
|
|
1550
1546
|
"dark": "{colorGrey100}"
|
|
@@ -1676,9 +1672,6 @@ export var preset = {
|
|
|
1676
1672
|
"fontBoxValueLargeWeight": "700",
|
|
1677
1673
|
"fontLinkButtonLetterSpacing": "{fontButtonLetterSpacing}",
|
|
1678
1674
|
"fontLinkButtonWeight": "{fontButtonWeight}",
|
|
1679
|
-
"fontLinkPrimaryDecoration": "underline",
|
|
1680
|
-
"fontLinkPrimaryLetterSpacing": "\"inherit\"",
|
|
1681
|
-
"fontLinkPrimaryWeight": "\"inherit\"",
|
|
1682
1675
|
"fontPanelHeaderLineHeight": "{fontHeadingMLineHeight}",
|
|
1683
1676
|
"fontPanelHeaderSize": "{fontHeadingMSize}",
|
|
1684
1677
|
"fontSmoothingWebkit": "antialiased",
|
|
@@ -3562,10 +3555,6 @@ export var preset = {
|
|
|
3562
3555
|
"light": "transparent",
|
|
3563
3556
|
"dark": "transparent"
|
|
3564
3557
|
},
|
|
3565
|
-
"colorTextLinkPrimaryUnderline": {
|
|
3566
|
-
"light": "{colorTextLinkDefault}",
|
|
3567
|
-
"dark": "{colorTextLinkDefault}"
|
|
3568
|
-
},
|
|
3569
3558
|
"colorTextNotificationDefault": {
|
|
3570
3559
|
"light": "{colorGrey100}",
|
|
3571
3560
|
"dark": "{colorGrey100}"
|
|
@@ -4568,10 +4557,6 @@ export var preset = {
|
|
|
4568
4557
|
"light": "transparent",
|
|
4569
4558
|
"dark": "transparent"
|
|
4570
4559
|
},
|
|
4571
|
-
"colorTextLinkPrimaryUnderline": {
|
|
4572
|
-
"light": "{colorTextLinkDefault}",
|
|
4573
|
-
"dark": "{colorTextLinkDefault}"
|
|
4574
|
-
},
|
|
4575
4560
|
"colorTextNotificationDefault": {
|
|
4576
4561
|
"light": "{colorGrey100}",
|
|
4577
4562
|
"dark": "{colorGrey100}"
|
|
@@ -5506,10 +5491,6 @@ export var preset = {
|
|
|
5506
5491
|
"light": "transparent",
|
|
5507
5492
|
"dark": "transparent"
|
|
5508
5493
|
},
|
|
5509
|
-
"colorTextLinkPrimaryUnderline": {
|
|
5510
|
-
"light": "{colorTextLinkDefault}",
|
|
5511
|
-
"dark": "{colorTextLinkDefault}"
|
|
5512
|
-
},
|
|
5513
5494
|
"colorTextNotificationDefault": {
|
|
5514
5495
|
"light": "{colorGrey100}",
|
|
5515
5496
|
"dark": "{colorGrey100}"
|
|
@@ -6444,10 +6425,6 @@ export var preset = {
|
|
|
6444
6425
|
"light": "transparent",
|
|
6445
6426
|
"dark": "transparent"
|
|
6446
6427
|
},
|
|
6447
|
-
"colorTextLinkPrimaryUnderline": {
|
|
6448
|
-
"light": "{colorTextLinkDefault}",
|
|
6449
|
-
"dark": "{colorTextLinkDefault}"
|
|
6450
|
-
},
|
|
6451
6428
|
"colorTextNotificationDefault": {
|
|
6452
6429
|
"light": "{colorTextNotificationYellow}",
|
|
6453
6430
|
"dark": "{colorTextNotificationYellow}"
|
|
@@ -7382,10 +7359,6 @@ export var preset = {
|
|
|
7382
7359
|
"light": "transparent",
|
|
7383
7360
|
"dark": "transparent"
|
|
7384
7361
|
},
|
|
7385
|
-
"colorTextLinkPrimaryUnderline": {
|
|
7386
|
-
"light": "{colorTextLinkDefault}",
|
|
7387
|
-
"dark": "{colorTextLinkDefault}"
|
|
7388
|
-
},
|
|
7389
7362
|
"colorTextNotificationDefault": {
|
|
7390
7363
|
"light": "{colorGrey100}",
|
|
7391
7364
|
"dark": "{colorGrey100}"
|
|
@@ -8320,10 +8293,6 @@ export var preset = {
|
|
|
8320
8293
|
"light": "transparent",
|
|
8321
8294
|
"dark": "transparent"
|
|
8322
8295
|
},
|
|
8323
|
-
"colorTextLinkPrimaryUnderline": {
|
|
8324
|
-
"light": "{colorTextLinkDefault}",
|
|
8325
|
-
"dark": "{colorTextLinkDefault}"
|
|
8326
|
-
},
|
|
8327
8296
|
"colorTextNotificationDefault": {
|
|
8328
8297
|
"light": "{colorGrey100}",
|
|
8329
8298
|
"dark": "{colorGrey100}"
|
|
@@ -8783,7 +8752,6 @@ export var preset = {
|
|
|
8783
8752
|
"colorTextLinkInvertedHover": "color",
|
|
8784
8753
|
"colorTextLinkButtonUnderline": "color",
|
|
8785
8754
|
"colorTextLinkButtonUnderlineHover": "color",
|
|
8786
|
-
"colorTextLinkPrimaryUnderline": "color",
|
|
8787
8755
|
"colorTextNotificationDefault": "color",
|
|
8788
8756
|
"colorTextNotificationStackBar": "color",
|
|
8789
8757
|
"colorTextNotificationYellow": "color",
|
|
@@ -9870,7 +9838,6 @@ export var preset = {
|
|
|
9870
9838
|
"colorTextLinkInvertedHover": "color-text-link-inverted-hover",
|
|
9871
9839
|
"colorTextLinkButtonUnderline": "color-text-link-button-underline",
|
|
9872
9840
|
"colorTextLinkButtonUnderlineHover": "color-text-link-button-underline-hover",
|
|
9873
|
-
"colorTextLinkPrimaryUnderline": "color-text-link-primary-underline",
|
|
9874
9841
|
"colorTextNotificationDefault": "color-text-notification-default",
|
|
9875
9842
|
"colorTextNotificationStackBar": "color-text-notification-stack-bar",
|
|
9876
9843
|
"colorTextNotificationYellow": "color-text-notification-yellow",
|
|
@@ -9933,9 +9900,6 @@ export var preset = {
|
|
|
9933
9900
|
"fontBoxValueLargeWeight": "font-box-value-large-weight",
|
|
9934
9901
|
"fontLinkButtonLetterSpacing": "font-link-button-letter-spacing",
|
|
9935
9902
|
"fontLinkButtonWeight": "font-link-button-weight",
|
|
9936
|
-
"fontLinkPrimaryDecoration": "font-link-primary-decoration",
|
|
9937
|
-
"fontLinkPrimaryLetterSpacing": "font-link-primary-letter-spacing",
|
|
9938
|
-
"fontLinkPrimaryWeight": "font-link-primary-weight",
|
|
9939
9903
|
"fontPanelHeaderLineHeight": "font-panel-header-line-height",
|
|
9940
9904
|
"fontPanelHeaderSize": "font-panel-header-size",
|
|
9941
9905
|
"fontSmoothingWebkit": "font-smoothing-webkit",
|
|
@@ -10553,7 +10517,6 @@ export var preset = {
|
|
|
10553
10517
|
"colorTextLinkInvertedHover": "--color-text-link-inverted-hover-09cw7h",
|
|
10554
10518
|
"colorTextLinkButtonUnderline": "--color-text-link-button-underline-ik5r9i",
|
|
10555
10519
|
"colorTextLinkButtonUnderlineHover": "--color-text-link-button-underline-hover-gyir88",
|
|
10556
|
-
"colorTextLinkPrimaryUnderline": "--color-text-link-primary-underline-gvxbge",
|
|
10557
10520
|
"colorTextNotificationDefault": "--color-text-notification-default-rdawv9",
|
|
10558
10521
|
"colorTextNotificationStackBar": "--color-text-notification-stack-bar-jc9tvx",
|
|
10559
10522
|
"colorTextNotificationYellow": "--color-text-notification-yellow-p027cz",
|
|
@@ -10616,9 +10579,6 @@ export var preset = {
|
|
|
10616
10579
|
"fontBoxValueLargeWeight": "--font-box-value-large-weight-onoq9k",
|
|
10617
10580
|
"fontLinkButtonLetterSpacing": "--font-link-button-letter-spacing-yi9f0l",
|
|
10618
10581
|
"fontLinkButtonWeight": "--font-link-button-weight-jephf1",
|
|
10619
|
-
"fontLinkPrimaryDecoration": "--font-link-primary-decoration-cp88s8",
|
|
10620
|
-
"fontLinkPrimaryLetterSpacing": "--font-link-primary-letter-spacing-uqaf5f",
|
|
10621
|
-
"fontLinkPrimaryWeight": "--font-link-primary-weight-k726vk",
|
|
10622
10582
|
"fontPanelHeaderLineHeight": "--font-panel-header-line-height-kxi4u2",
|
|
10623
10583
|
"fontPanelHeaderSize": "--font-panel-header-size-edjz3l",
|
|
10624
10584
|
"fontSmoothingWebkit": "--font-smoothing-webkit-m8nc84",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-resize-observer.d.ts","sourceRoot":"lib/default/","sources":["internal/hooks/container-queries/use-resize-observer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-resize-observer.d.ts","sourceRoot":"lib/default/","sources":["internal/hooks/container-queries/use-resize-observer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAG3E,KAAK,gBAAgB,GAAG,CAAC,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;AAE1E;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,gBAAgB,EAAE,SAAS,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,QAmC9G"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { ResizeObserver, ResizeObserverEntry } from '@juggle/resize-observer';
|
|
4
4
|
import { useEffect, useLayoutEffect } from 'react';
|
|
5
5
|
import { useStableEventHandler } from '../use-stable-event-handler';
|
|
6
|
+
import { convertResizeObserverEntry } from './utils';
|
|
6
7
|
/**
|
|
7
8
|
* Attaches resize-observer to the referenced element.
|
|
8
9
|
*
|
|
@@ -50,13 +51,4 @@ export function useResizeObserver(elementRef, onObserve) {
|
|
|
50
51
|
}
|
|
51
52
|
}, [elementRef, stableOnObserve]);
|
|
52
53
|
}
|
|
53
|
-
function convertResizeObserverEntry(entry) {
|
|
54
|
-
return {
|
|
55
|
-
target: entry.target,
|
|
56
|
-
contentBoxWidth: entry.contentBoxSize[0].inlineSize,
|
|
57
|
-
contentBoxHeight: entry.contentBoxSize[0].blockSize,
|
|
58
|
-
borderBoxWidth: entry.borderBoxSize[0].inlineSize,
|
|
59
|
-
borderBoxHeight: entry.borderBoxSize[0].blockSize,
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
54
|
//# sourceMappingURL=use-resize-observer.js.map
|