@cloudscape-design/components-themeable 3.0.1382 → 3.0.1384
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/container/styles.scss +5 -4
- package/lib/internal/scss/input/styles.scss +4 -0
- package/lib/internal/scss/internal/components/button-trigger/styles.scss +4 -0
- package/lib/internal/scss/internal/components/control-group/styles.scss +53 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +176 -175
- package/lib/internal/scss/internal/styles/forms/mixins.scss +58 -17
- package/lib/internal/scss/modal/styles.scss +6 -0
- package/lib/internal/scss/prompt-input/styles.scss +4 -0
- package/lib/internal/scss/segmented-control/segment.scss +5 -0
- package/lib/internal/scss/segmented-control/styles.scss +29 -4
- package/lib/internal/scss/side-navigation/styles.scss +13 -6
- package/lib/internal/scss/steps/styles.scss +1 -1
- package/lib/internal/template/alert/styles.css.js +27 -27
- package/lib/internal/template/alert/styles.scoped.css +50 -50
- package/lib/internal/template/alert/styles.selectors.js +27 -27
- package/lib/internal/template/annotation-context/annotation/styles.css.js +13 -13
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +21 -21
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +13 -13
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +13 -13
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -68
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
- package/lib/internal/template/attribute-editor/styles.css.js +15 -15
- package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
- package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
- package/lib/internal/template/button/styles.css.js +23 -23
- package/lib/internal/template/button/styles.scoped.css +261 -261
- package/lib/internal/template/button/styles.selectors.js +23 -23
- package/lib/internal/template/button-dropdown/item-element/styles.css.js +21 -21
- package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +37 -37
- package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +21 -21
- package/lib/internal/template/cards/styles.css.js +39 -39
- package/lib/internal/template/cards/styles.scoped.css +41 -41
- package/lib/internal/template/cards/styles.selectors.js +39 -39
- package/lib/internal/template/checkbox/styles.css.js +3 -3
- package/lib/internal/template/checkbox/styles.scoped.css +10 -10
- package/lib/internal/template/checkbox/styles.selectors.js +3 -3
- package/lib/internal/template/container/style.d.ts +1 -15
- package/lib/internal/template/container/style.d.ts.map +1 -1
- package/lib/internal/template/container/style.js +6 -2
- package/lib/internal/template/container/style.js.map +1 -1
- package/lib/internal/template/container/styles.css.js +34 -34
- package/lib/internal/template/container/styles.scoped.css +87 -87
- package/lib/internal/template/container/styles.selectors.js +34 -34
- package/lib/internal/template/content-layout/styles.css.js +14 -14
- package/lib/internal/template/content-layout/styles.scoped.css +27 -27
- package/lib/internal/template/content-layout/styles.selectors.js +14 -14
- package/lib/internal/template/dropdown/styles.css.js +20 -20
- package/lib/internal/template/dropdown/styles.scoped.css +49 -49
- package/lib/internal/template/dropdown/styles.selectors.js +20 -20
- package/lib/internal/template/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
- package/lib/internal/template/expandable-section/interfaces.d.ts +4 -4
- package/lib/internal/template/expandable-section/interfaces.js.map +1 -1
- package/lib/internal/template/file-token-group/styles.css.js +23 -23
- package/lib/internal/template/file-token-group/styles.scoped.css +36 -36
- package/lib/internal/template/file-token-group/styles.selectors.js +23 -23
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +184 -184
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/help-panel/styles.css.js +6 -6
- package/lib/internal/template/help-panel/styles.scoped.css +72 -72
- package/lib/internal/template/help-panel/styles.selectors.js +6 -6
- package/lib/internal/template/input/internal.d.ts.map +1 -1
- package/lib/internal/template/input/internal.js +10 -4
- package/lib/internal/template/input/internal.js.map +1 -1
- package/lib/internal/template/input/styles.css.js +36 -29
- package/lib/internal/template/input/styles.scoped.css +168 -137
- package/lib/internal/template/input/styles.selectors.js +36 -29
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js +4 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
- package/lib/internal/template/internal/components/button-trigger/index.d.ts +2 -0
- package/lib/internal/template/internal/components/button-trigger/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/button-trigger/index.js +3 -2
- package/lib/internal/template/internal/components/button-trigger/index.js.map +1 -1
- package/lib/internal/template/internal/components/button-trigger/styles.css.js +21 -14
- package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +63 -33
- package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +21 -14
- package/lib/internal/template/internal/components/control-group/grouped-control-styles.d.ts +10 -0
- package/lib/internal/template/internal/components/control-group/grouped-control-styles.d.ts.map +1 -0
- package/lib/internal/template/internal/components/control-group/grouped-control-styles.js +14 -0
- package/lib/internal/template/internal/components/control-group/grouped-control-styles.js.map +1 -0
- package/lib/internal/template/internal/components/control-group/index.d.ts +9 -0
- package/lib/internal/template/internal/components/control-group/index.d.ts.map +1 -0
- package/lib/internal/template/internal/components/control-group/index.js +20 -0
- package/lib/internal/template/internal/components/control-group/index.js.map +1 -0
- package/lib/internal/template/internal/components/control-group/styles.css.js +13 -0
- package/lib/internal/template/internal/components/control-group/styles.scoped.css +63 -0
- package/lib/internal/template/internal/components/control-group/styles.selectors.js +14 -0
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +30 -30
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
- package/lib/internal/template/internal/components/focus-lock/index.d.ts +6 -0
- package/lib/internal/template/internal/components/focus-lock/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/focus-lock/index.js +8 -3
- package/lib/internal/template/internal/components/focus-lock/index.js.map +1 -1
- package/lib/internal/template/internal/components/option/styles.css.js +17 -17
- package/lib/internal/template/internal/components/option/styles.scoped.css +31 -31
- package/lib/internal/template/internal/components/option/styles.selectors.js +17 -17
- package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
- package/lib/internal/template/internal/components/radio-button/styles.scoped.css +17 -17
- package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/selectable-item/styles.css.js +22 -22
- package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +57 -57
- package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +22 -22
- package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
- package/lib/internal/template/internal/context/control-group-context.d.ts +30 -0
- package/lib/internal/template/internal/context/control-group-context.d.ts.map +1 -0
- package/lib/internal/template/internal/context/control-group-context.js +24 -0
- package/lib/internal/template/internal/context/control-group-context.js.map +1 -0
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +1 -0
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.js +175 -174
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- package/lib/internal/template/item-card/styles.css.js +14 -14
- package/lib/internal/template/item-card/styles.scoped.css +63 -63
- package/lib/internal/template/item-card/styles.selectors.js +14 -14
- package/lib/internal/template/link/styles.css.js +21 -21
- package/lib/internal/template/link/styles.scoped.css +104 -104
- package/lib/internal/template/link/styles.selectors.js +21 -21
- package/lib/internal/template/modal/index.d.ts +1 -1
- package/lib/internal/template/modal/index.d.ts.map +1 -1
- package/lib/internal/template/modal/index.js +6 -5
- package/lib/internal/template/modal/index.js.map +1 -1
- package/lib/internal/template/modal/interfaces.d.ts +7 -0
- package/lib/internal/template/modal/interfaces.d.ts.map +1 -1
- package/lib/internal/template/modal/interfaces.js.map +1 -1
- package/lib/internal/template/modal/internal.js +23 -6
- package/lib/internal/template/modal/internal.js.map +1 -1
- package/lib/internal/template/modal/styles.css.js +32 -31
- package/lib/internal/template/modal/styles.scoped.css +51 -48
- package/lib/internal/template/modal/styles.selectors.js +32 -31
- package/lib/internal/template/multiselect/internal.d.ts.map +1 -1
- package/lib/internal/template/multiselect/internal.js +17 -10
- package/lib/internal/template/multiselect/internal.js.map +1 -1
- package/lib/internal/template/progress-bar/styles.css.js +19 -19
- package/lib/internal/template/progress-bar/styles.scoped.css +58 -58
- package/lib/internal/template/progress-bar/styles.selectors.js +19 -19
- package/lib/internal/template/prompt-input/styles.css.js +26 -26
- package/lib/internal/template/prompt-input/styles.scoped.css +109 -109
- package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
- package/lib/internal/template/segmented-control/internal-segmented-control.d.ts +6 -1
- package/lib/internal/template/segmented-control/internal-segmented-control.d.ts.map +1 -1
- package/lib/internal/template/segmented-control/internal-segmented-control.js +8 -3
- package/lib/internal/template/segmented-control/internal-segmented-control.js.map +1 -1
- package/lib/internal/template/segmented-control/internal.d.ts.map +1 -1
- package/lib/internal/template/segmented-control/internal.js +5 -2
- package/lib/internal/template/segmented-control/internal.js.map +1 -1
- package/lib/internal/template/segmented-control/segment.d.ts +1 -0
- package/lib/internal/template/segmented-control/segment.d.ts.map +1 -1
- package/lib/internal/template/segmented-control/segment.js +2 -2
- package/lib/internal/template/segmented-control/segment.js.map +1 -1
- package/lib/internal/template/segmented-control/styles.css.js +26 -16
- package/lib/internal/template/segmented-control/styles.scoped.css +106 -46
- package/lib/internal/template/segmented-control/styles.selectors.js +26 -16
- package/lib/internal/template/select/internal.d.ts.map +1 -1
- package/lib/internal/template/select/internal.js +11 -8
- package/lib/internal/template/select/internal.js.map +1 -1
- package/lib/internal/template/select/parts/styles.css.js +21 -21
- package/lib/internal/template/select/parts/styles.scoped.css +24 -24
- package/lib/internal/template/select/parts/styles.selectors.js +21 -21
- package/lib/internal/template/select/parts/trigger.d.ts +2 -0
- package/lib/internal/template/select/parts/trigger.d.ts.map +1 -1
- package/lib/internal/template/select/parts/trigger.js +2 -2
- package/lib/internal/template/select/parts/trigger.js.map +1 -1
- package/lib/internal/template/side-navigation/styles.css.js +64 -64
- package/lib/internal/template/side-navigation/styles.scoped.css +119 -114
- package/lib/internal/template/side-navigation/styles.selectors.js +64 -64
- package/lib/internal/template/slider/styles.css.js +26 -26
- package/lib/internal/template/slider/styles.scoped.css +165 -165
- package/lib/internal/template/slider/styles.selectors.js +26 -26
- package/lib/internal/template/spinner/styles.css.js +14 -14
- package/lib/internal/template/spinner/styles.scoped.css +40 -40
- package/lib/internal/template/spinner/styles.selectors.js +14 -14
- package/lib/internal/template/steps/styles.css.js +17 -17
- package/lib/internal/template/steps/styles.scoped.css +35 -35
- package/lib/internal/template/steps/styles.selectors.js +17 -17
- package/lib/internal/template/table/styles.css.js +37 -37
- package/lib/internal/template/table/styles.scoped.css +46 -46
- package/lib/internal/template/table/styles.selectors.js +37 -37
- package/lib/internal/template/tabs/styles.css.js +30 -30
- package/lib/internal/template/tabs/styles.scoped.css +76 -76
- package/lib/internal/template/tabs/styles.selectors.js +30 -30
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
- 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 +66 -66
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/textarea/styles.css.js +9 -9
- package/lib/internal/template/textarea/styles.scoped.css +51 -55
- package/lib/internal/template/textarea/styles.selectors.js +9 -9
- package/lib/internal/template/toggle/styles.css.js +10 -10
- package/lib/internal/template/toggle/styles.scoped.css +22 -22
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/lib/internal/template/token/styles.css.js +14 -14
- package/lib/internal/template/token/styles.scoped.css +46 -46
- package/lib/internal/template/token/styles.selectors.js +14 -14
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
7
7
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
8
8
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
9
|
-
.
|
|
9
|
+
.awsui_root_p8a6i_1nnzh_9:not(#\9) {
|
|
10
10
|
border-collapse: separate;
|
|
11
11
|
border-spacing: 0;
|
|
12
12
|
box-sizing: border-box;
|
|
@@ -38,17 +38,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
38
38
|
-moz-osx-font-smoothing: auto;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
42
|
-
--awsui-inline-label-background-color-
|
|
41
|
+
.awsui_header_p8a6i_1nnzh_41:not(#\9):not(.awsui_header-variant-full-page_p8a6i_1nnzh_41) {
|
|
42
|
+
--awsui-inline-label-background-color-ka4djm: var(--color-background-container-header-irktp5, #fafafa);
|
|
43
43
|
}
|
|
44
|
-
.awsui_header-variant-full-
|
|
44
|
+
.awsui_header-variant-full-page_p8a6i_1nnzh_41.awsui_header-refresh_p8a6i_1nnzh_44:not(#\9) {
|
|
45
45
|
padding-block-start: 0;
|
|
46
46
|
padding-inline-start: 0;
|
|
47
47
|
padding-inline-end: 0;
|
|
48
48
|
padding-block-end: calc(var(--space-container-header-bottom-9elagw, 12px) + var(--space-table-header-tools-full-page-bottom-g1a6as, 4px));
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.awsui_list_p8a6i_1nnzh_51:not(#\9) {
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-wrap: wrap;
|
|
54
54
|
box-sizing: border-box;
|
|
@@ -59,68 +59,68 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
59
59
|
margin-inline-start: calc(var(--space-grid-gutter-2qs4vj, 20px) * -1);
|
|
60
60
|
margin-inline-end: 0;
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-1_p8a6i_1nnzh_62 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
63
63
|
inline-size: 100%;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-2_p8a6i_1nnzh_65 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
66
66
|
inline-size: 50%;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-3_p8a6i_1nnzh_68 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
69
69
|
inline-size: 33.3333333333%;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-4_p8a6i_1nnzh_71 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
72
72
|
inline-size: 25%;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-5_p8a6i_1nnzh_74 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
75
75
|
inline-size: 20%;
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-6_p8a6i_1nnzh_77 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
78
78
|
inline-size: 16.6666666667%;
|
|
79
79
|
}
|
|
80
|
-
.
|
|
80
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-7_p8a6i_1nnzh_80 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
81
81
|
inline-size: 14.2857142857%;
|
|
82
82
|
}
|
|
83
|
-
.
|
|
83
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-8_p8a6i_1nnzh_83 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
84
84
|
inline-size: 12.5%;
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-9_p8a6i_1nnzh_86 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
87
87
|
inline-size: 11.1111111111%;
|
|
88
88
|
}
|
|
89
|
-
.
|
|
89
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-10_p8a6i_1nnzh_89 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
90
90
|
inline-size: 10%;
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-11_p8a6i_1nnzh_92 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
93
93
|
inline-size: 9.0909090909%;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-12_p8a6i_1nnzh_95 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
96
96
|
inline-size: 8.3333333333%;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-13_p8a6i_1nnzh_98 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
99
99
|
inline-size: 7.6923076923%;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-14_p8a6i_1nnzh_101 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
102
102
|
inline-size: 7.1428571429%;
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-15_p8a6i_1nnzh_104 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
105
105
|
inline-size: 6.6666666667%;
|
|
106
106
|
}
|
|
107
|
-
.
|
|
107
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-16_p8a6i_1nnzh_107 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
108
108
|
inline-size: 6.25%;
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-17_p8a6i_1nnzh_110 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
111
111
|
inline-size: 5.8823529412%;
|
|
112
112
|
}
|
|
113
|
-
.
|
|
113
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-18_p8a6i_1nnzh_113 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
114
114
|
inline-size: 5.5555555556%;
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-19_p8a6i_1nnzh_116 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
117
117
|
inline-size: 5.2631578947%;
|
|
118
118
|
}
|
|
119
|
-
.
|
|
119
|
+
.awsui_list_p8a6i_1nnzh_51.awsui_list-grid-20_p8a6i_1nnzh_119 > .awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
120
120
|
inline-size: 5%;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.awsui_selection-
|
|
123
|
+
.awsui_selection-control_p8a6i_1nnzh_123:not(#\9) {
|
|
124
124
|
position: absolute;
|
|
125
125
|
box-sizing: border-box;
|
|
126
126
|
inline-size: calc(var(--size-control-jpgj8e, 14px) + 2 * var(--space-card-horizontal-default-2sdf3l, 20px));
|
|
@@ -130,22 +130,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
130
130
|
padding-inline: var(--space-card-horizontal-default-2sdf3l, 20px);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.
|
|
134
|
-
.
|
|
133
|
+
.awsui_loading_p8a6i_1nnzh_133:not(#\9),
|
|
134
|
+
.awsui_empty_p8a6i_1nnzh_134:not(#\9) {
|
|
135
135
|
overflow: hidden;
|
|
136
136
|
text-align: center;
|
|
137
137
|
color: var(--color-text-empty-y81uqw, #687078);
|
|
138
138
|
margin-block-end: var(--space-scaled-l-33ruz6, 20px);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.awsui_has-
|
|
141
|
+
.awsui_has-header_p8a6i_1nnzh_141:not(#\9) {
|
|
142
142
|
margin-block-start: var(--space-grid-gutter-2qs4vj, 20px);
|
|
143
143
|
}
|
|
144
|
-
.awsui_has-
|
|
144
|
+
.awsui_has-header_p8a6i_1nnzh_141.awsui_refresh_p8a6i_1nnzh_144.awsui_header-variant-full-page_p8a6i_1nnzh_41:not(#\9) {
|
|
145
145
|
margin-block-start: var(--space-scaled-s-2crg2b, 12px);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.
|
|
148
|
+
.awsui_card_p8a6i_1nnzh_62:not(#\9) {
|
|
149
149
|
overflow-wrap: break-word;
|
|
150
150
|
word-wrap: break-word;
|
|
151
151
|
box-sizing: border-box;
|
|
@@ -157,7 +157,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
157
157
|
padding-inline-end: 0;
|
|
158
158
|
list-style: none;
|
|
159
159
|
}
|
|
160
|
-
.awsui_card-
|
|
160
|
+
.awsui_card-header_p8a6i_1nnzh_160:not(#\9) {
|
|
161
161
|
font-family: var(--font-family-heading-f20kh9, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
162
162
|
font-size: var(--font-size-heading-m-cqvsuv, 18px);
|
|
163
163
|
line-height: var(--line-height-heading-m-d6lkzb, 22px);
|
|
@@ -166,42 +166,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
166
166
|
-webkit-font-smoothing: var(--font-smoothing-webkit-dpz0hr, auto);
|
|
167
167
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-kjlydy, auto);
|
|
168
168
|
}
|
|
169
|
-
.awsui_card-header-
|
|
169
|
+
.awsui_card-header-inner_p8a6i_1nnzh_169:not(#\9) {
|
|
170
170
|
/* used in test-utils */
|
|
171
171
|
}
|
|
172
|
-
.awsui_card-header-inner-
|
|
172
|
+
.awsui_card-header-inner-selectable_p8a6i_1nnzh_172:not(#\9) {
|
|
173
173
|
inline-size: 90%;
|
|
174
174
|
}
|
|
175
|
-
.awsui_card-
|
|
175
|
+
.awsui_card-selected_p8a6i_1nnzh_175:not(#\9) {
|
|
176
176
|
/* Used in test utils */
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.
|
|
179
|
+
.awsui_section_p8a6i_1nnzh_179:not(#\9) {
|
|
180
180
|
display: inline-block;
|
|
181
181
|
box-sizing: border-box;
|
|
182
182
|
padding-block-end: var(--space-scaled-xs-pajbd1, 8px);
|
|
183
183
|
padding-inline: 0;
|
|
184
184
|
vertical-align: top;
|
|
185
185
|
}
|
|
186
|
-
.awsui_section-
|
|
186
|
+
.awsui_section-header_p8a6i_1nnzh_186:not(#\9) {
|
|
187
187
|
font-size: var(--font-size-body-m-tq5a14, 14px);
|
|
188
188
|
line-height: var(--line-height-body-m-5xw6xo, 22px);
|
|
189
189
|
font-weight: var(--font-display-label-weight-tz6zkz, 400);
|
|
190
190
|
color: var(--color-text-label-g80qnu, #545b64);
|
|
191
191
|
}
|
|
192
|
-
.awsui_section-
|
|
192
|
+
.awsui_section-content_p8a6i_1nnzh_192:not(#\9) {
|
|
193
193
|
/* used in test-utils */
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.
|
|
196
|
+
.awsui_section_p8a6i_1nnzh_179:not(#\9):not(:first-child) {
|
|
197
197
|
padding-block-start: var(--space-xs-m9b7jf, 8px);
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.
|
|
200
|
+
.awsui_section_p8a6i_1nnzh_179:not(#\9):last-child {
|
|
201
201
|
padding-block-end: 0;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
.awsui_footer-
|
|
204
|
+
.awsui_footer-pagination_p8a6i_1nnzh_204:not(#\9) {
|
|
205
205
|
display: flex;
|
|
206
206
|
justify-content: flex-end;
|
|
207
207
|
}
|
|
@@ -2,44 +2,44 @@
|
|
|
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
|
-
"header": "
|
|
7
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
8
|
-
"header-refresh": "awsui_header-
|
|
9
|
-
"list": "
|
|
10
|
-
"list-grid-1": "awsui_list-grid-
|
|
11
|
-
"card": "
|
|
12
|
-
"list-grid-2": "awsui_list-grid-
|
|
13
|
-
"list-grid-3": "awsui_list-grid-
|
|
14
|
-
"list-grid-4": "awsui_list-grid-
|
|
15
|
-
"list-grid-5": "awsui_list-grid-
|
|
16
|
-
"list-grid-6": "awsui_list-grid-
|
|
17
|
-
"list-grid-7": "awsui_list-grid-
|
|
18
|
-
"list-grid-8": "awsui_list-grid-
|
|
19
|
-
"list-grid-9": "awsui_list-grid-
|
|
20
|
-
"list-grid-10": "awsui_list-grid-
|
|
21
|
-
"list-grid-11": "awsui_list-grid-
|
|
22
|
-
"list-grid-12": "awsui_list-grid-
|
|
23
|
-
"list-grid-13": "awsui_list-grid-
|
|
24
|
-
"list-grid-14": "awsui_list-grid-
|
|
25
|
-
"list-grid-15": "awsui_list-grid-
|
|
26
|
-
"list-grid-16": "awsui_list-grid-
|
|
27
|
-
"list-grid-17": "awsui_list-grid-
|
|
28
|
-
"list-grid-18": "awsui_list-grid-
|
|
29
|
-
"list-grid-19": "awsui_list-grid-
|
|
30
|
-
"list-grid-20": "awsui_list-grid-
|
|
31
|
-
"selection-control": "awsui_selection-
|
|
32
|
-
"loading": "
|
|
33
|
-
"empty": "
|
|
34
|
-
"has-header": "awsui_has-
|
|
35
|
-
"refresh": "
|
|
36
|
-
"card-header": "awsui_card-
|
|
37
|
-
"card-header-inner": "awsui_card-header-
|
|
38
|
-
"card-header-inner-selectable": "awsui_card-header-inner-
|
|
39
|
-
"card-selected": "awsui_card-
|
|
40
|
-
"section": "
|
|
41
|
-
"section-header": "awsui_section-
|
|
42
|
-
"section-content": "awsui_section-
|
|
43
|
-
"footer-pagination": "awsui_footer-
|
|
5
|
+
"root": "awsui_root_p8a6i_1nnzh_9",
|
|
6
|
+
"header": "awsui_header_p8a6i_1nnzh_41",
|
|
7
|
+
"header-variant-full-page": "awsui_header-variant-full-page_p8a6i_1nnzh_41",
|
|
8
|
+
"header-refresh": "awsui_header-refresh_p8a6i_1nnzh_44",
|
|
9
|
+
"list": "awsui_list_p8a6i_1nnzh_51",
|
|
10
|
+
"list-grid-1": "awsui_list-grid-1_p8a6i_1nnzh_62",
|
|
11
|
+
"card": "awsui_card_p8a6i_1nnzh_62",
|
|
12
|
+
"list-grid-2": "awsui_list-grid-2_p8a6i_1nnzh_65",
|
|
13
|
+
"list-grid-3": "awsui_list-grid-3_p8a6i_1nnzh_68",
|
|
14
|
+
"list-grid-4": "awsui_list-grid-4_p8a6i_1nnzh_71",
|
|
15
|
+
"list-grid-5": "awsui_list-grid-5_p8a6i_1nnzh_74",
|
|
16
|
+
"list-grid-6": "awsui_list-grid-6_p8a6i_1nnzh_77",
|
|
17
|
+
"list-grid-7": "awsui_list-grid-7_p8a6i_1nnzh_80",
|
|
18
|
+
"list-grid-8": "awsui_list-grid-8_p8a6i_1nnzh_83",
|
|
19
|
+
"list-grid-9": "awsui_list-grid-9_p8a6i_1nnzh_86",
|
|
20
|
+
"list-grid-10": "awsui_list-grid-10_p8a6i_1nnzh_89",
|
|
21
|
+
"list-grid-11": "awsui_list-grid-11_p8a6i_1nnzh_92",
|
|
22
|
+
"list-grid-12": "awsui_list-grid-12_p8a6i_1nnzh_95",
|
|
23
|
+
"list-grid-13": "awsui_list-grid-13_p8a6i_1nnzh_98",
|
|
24
|
+
"list-grid-14": "awsui_list-grid-14_p8a6i_1nnzh_101",
|
|
25
|
+
"list-grid-15": "awsui_list-grid-15_p8a6i_1nnzh_104",
|
|
26
|
+
"list-grid-16": "awsui_list-grid-16_p8a6i_1nnzh_107",
|
|
27
|
+
"list-grid-17": "awsui_list-grid-17_p8a6i_1nnzh_110",
|
|
28
|
+
"list-grid-18": "awsui_list-grid-18_p8a6i_1nnzh_113",
|
|
29
|
+
"list-grid-19": "awsui_list-grid-19_p8a6i_1nnzh_116",
|
|
30
|
+
"list-grid-20": "awsui_list-grid-20_p8a6i_1nnzh_119",
|
|
31
|
+
"selection-control": "awsui_selection-control_p8a6i_1nnzh_123",
|
|
32
|
+
"loading": "awsui_loading_p8a6i_1nnzh_133",
|
|
33
|
+
"empty": "awsui_empty_p8a6i_1nnzh_134",
|
|
34
|
+
"has-header": "awsui_has-header_p8a6i_1nnzh_141",
|
|
35
|
+
"refresh": "awsui_refresh_p8a6i_1nnzh_144",
|
|
36
|
+
"card-header": "awsui_card-header_p8a6i_1nnzh_160",
|
|
37
|
+
"card-header-inner": "awsui_card-header-inner_p8a6i_1nnzh_169",
|
|
38
|
+
"card-header-inner-selectable": "awsui_card-header-inner-selectable_p8a6i_1nnzh_172",
|
|
39
|
+
"card-selected": "awsui_card-selected_p8a6i_1nnzh_175",
|
|
40
|
+
"section": "awsui_section_p8a6i_1nnzh_179",
|
|
41
|
+
"section-header": "awsui_section-header_p8a6i_1nnzh_186",
|
|
42
|
+
"section-content": "awsui_section-content_p8a6i_1nnzh_192",
|
|
43
|
+
"footer-pagination": "awsui_footer-pagination_p8a6i_1nnzh_204"
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"checkbox-control": "awsui_checkbox-
|
|
6
|
-
"outline": "
|
|
4
|
+
"root": "awsui_root_k2y2q_1aoom_44",
|
|
5
|
+
"checkbox-control": "awsui_checkbox-control_k2y2q_1aoom_77",
|
|
6
|
+
"outline": "awsui_outline_k2y2q_1aoom_93"
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -41,7 +41,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
41
41
|
/* awsui:style-api-slot name=control tokens=color, background-color, border-color, focus-ring-color, focus-ring-width, focus-ring-radius, focus-ring-gutter-block, focus-ring-gutter-inline */
|
|
42
42
|
/* awsui:style-api-slot name=label tokens=color */
|
|
43
43
|
/* awsui:style-api-slot name=description tokens=color */
|
|
44
|
-
.
|
|
44
|
+
.awsui_root_k2y2q_1aoom_44.awsui_root_k2y2q_1aoom_44:not(#\9) {
|
|
45
45
|
border-collapse: separate;
|
|
46
46
|
border-spacing: 0;
|
|
47
47
|
box-sizing: border-box;
|
|
@@ -74,7 +74,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
74
74
|
display: flex;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.awsui_checkbox-
|
|
77
|
+
.awsui_checkbox-control_k2y2q_1aoom_77:not(#\9) {
|
|
78
78
|
--awsui-internal-style-color: var(--awsui-style-color);
|
|
79
79
|
--awsui-internal-style-background-color: var(--awsui-style-background-color);
|
|
80
80
|
--awsui-internal-style-border-color: var(--awsui-style-border-color);
|
|
@@ -90,14 +90,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
inline-size: var(--size-control-jpgj8e, 14px);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.
|
|
93
|
+
.awsui_outline_k2y2q_1aoom_93:not(#\9) {
|
|
94
94
|
position: relative;
|
|
95
95
|
}
|
|
96
|
-
.
|
|
96
|
+
.awsui_outline_k2y2q_1aoom_93:not(#\9) {
|
|
97
97
|
outline: 2px dotted transparent;
|
|
98
98
|
outline-offset: calc(var(--awsui-internal-style-focus-ring-gutter-inline, 2px) - 1px);
|
|
99
99
|
}
|
|
100
|
-
.
|
|
100
|
+
.awsui_outline_k2y2q_1aoom_93:not(#\9)::before {
|
|
101
101
|
content: " ";
|
|
102
102
|
display: block;
|
|
103
103
|
position: absolute;
|
|
@@ -105,9 +105,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
105
105
|
inset-block-start: calc(-1 * var(--awsui-internal-style-focus-ring-gutter-block, 2px));
|
|
106
106
|
inline-size: calc(100% + var(--awsui-internal-style-focus-ring-gutter-inline, 2px) + var(--awsui-internal-style-focus-ring-gutter-inline, 2px));
|
|
107
107
|
block-size: calc(100% + var(--awsui-internal-style-focus-ring-gutter-block, 2px) + var(--awsui-internal-style-focus-ring-gutter-block, 2px));
|
|
108
|
-
border-start-start-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-
|
|
109
|
-
border-start-end-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-
|
|
110
|
-
border-end-start-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-
|
|
111
|
-
border-end-end-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-
|
|
112
|
-
box-shadow: 0 0 0 var(--awsui-internal-style-focus-ring-width, var(--awsui-style-focus-ring-border-width-
|
|
108
|
+
border-start-start-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-ka4djm, var(--border-radius-control-default-focus-ring-akwhsf, 2px)));
|
|
109
|
+
border-start-end-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-ka4djm, var(--border-radius-control-default-focus-ring-akwhsf, 2px)));
|
|
110
|
+
border-end-start-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-ka4djm, var(--border-radius-control-default-focus-ring-akwhsf, 2px)));
|
|
111
|
+
border-end-end-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-ka4djm, var(--border-radius-control-default-focus-ring-akwhsf, 2px)));
|
|
112
|
+
box-shadow: 0 0 0 var(--awsui-internal-style-focus-ring-width, var(--awsui-style-focus-ring-border-width-ka4djm, 2px)) var(--awsui-internal-style-focus-ring-color, var(--awsui-style-focus-ring-border-color-ka4djm, var(--color-border-item-focused-sewkzn, #0073bb)));
|
|
113
113
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
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
|
-
"checkbox-control": "awsui_checkbox-
|
|
7
|
-
"outline": "
|
|
5
|
+
"root": "awsui_root_k2y2q_1aoom_44",
|
|
6
|
+
"checkbox-control": "awsui_checkbox-control_k2y2q_1aoom_77",
|
|
7
|
+
"outline": "awsui_outline_k2y2q_1aoom_93"
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import { ContainerProps } from './interfaces';
|
|
2
|
-
export declare function getRootStyles(style: ContainerProps.Style | undefined): {
|
|
3
|
-
background?: undefined;
|
|
4
|
-
borderColor?: undefined;
|
|
5
|
-
borderRadius?: undefined;
|
|
6
|
-
borderWidth?: undefined;
|
|
7
|
-
boxShadow?: undefined;
|
|
8
|
-
color?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
background: string | undefined;
|
|
11
|
-
borderColor: string | undefined;
|
|
12
|
-
borderRadius: string | undefined;
|
|
13
|
-
borderWidth: string | undefined;
|
|
14
|
-
boxShadow: string | undefined;
|
|
15
|
-
color: string | undefined;
|
|
16
|
-
};
|
|
2
|
+
export declare function getRootStyles(style: ContainerProps.Style | undefined): {};
|
|
17
3
|
export declare function getContentStyles(style: ContainerProps.Style | undefined): {
|
|
18
4
|
paddingBlock?: undefined;
|
|
19
5
|
paddingInline?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/container/style.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/container/style.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,wBAAgB,aAAa,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,GAAG,SAAS,MAepE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,GAAG,SAAS;;;;;;EASvE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,GAAG,SAAS,MAYtE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,GAAG,SAAS;;;;;;;;;;EAWtE;AAED,wBAAgB,cAAc,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,CAAC,KAAK,GAAG,SAAS,MAU5F"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { SYSTEM } from '../internal/environment';
|
|
4
|
+
import customCssProps from '../internal/generated/custom-css-properties';
|
|
4
5
|
export function getRootStyles(style) {
|
|
5
6
|
var _a, _b, _c, _d, _e, _f;
|
|
6
7
|
if (SYSTEM !== 'core') {
|
|
@@ -9,7 +10,9 @@ export function getRootStyles(style) {
|
|
|
9
10
|
return {
|
|
10
11
|
background: (_a = style === null || style === void 0 ? void 0 : style.root) === null || _a === void 0 ? void 0 : _a.background,
|
|
11
12
|
borderColor: (_b = style === null || style === void 0 ? void 0 : style.root) === null || _b === void 0 ? void 0 : _b.borderColor,
|
|
12
|
-
|
|
13
|
+
// Set as a custom property, not inline `border-radius`, so stacked containers can still
|
|
14
|
+
// flatten their adjacent corners in CSS.
|
|
15
|
+
...(((_c = style === null || style === void 0 ? void 0 : style.root) === null || _c === void 0 ? void 0 : _c.borderRadius) && { [customCssProps.containerStyleBorderRadius]: style.root.borderRadius }),
|
|
13
16
|
borderWidth: (_d = style === null || style === void 0 ? void 0 : style.root) === null || _d === void 0 ? void 0 : _d.borderWidth,
|
|
14
17
|
boxShadow: (_e = style === null || style === void 0 ? void 0 : style.root) === null || _e === void 0 ? void 0 : _e.boxShadow,
|
|
15
18
|
color: (_f = style === null || style === void 0 ? void 0 : style.root) === null || _f === void 0 ? void 0 : _f.color,
|
|
@@ -32,7 +35,8 @@ export function getHeaderStyles(style) {
|
|
|
32
35
|
}
|
|
33
36
|
return {
|
|
34
37
|
...(((_a = style === null || style === void 0 ? void 0 : style.root) === null || _a === void 0 ? void 0 : _a.background) && { background: 'transparent' }), // Fix for AWSUI-61442
|
|
35
|
-
|
|
38
|
+
// Same as the root: use a custom property so stacked headers can still flatten corners in CSS.
|
|
39
|
+
...(((_b = style === null || style === void 0 ? void 0 : style.root) === null || _b === void 0 ? void 0 : _b.borderRadius) && { [customCssProps.containerStyleBorderRadius]: style.root.borderRadius }),
|
|
36
40
|
paddingBlock: (_c = style === null || style === void 0 ? void 0 : style.header) === null || _c === void 0 ? void 0 : _c.paddingBlock,
|
|
37
41
|
paddingInline: (_d = style === null || style === void 0 ? void 0 : style.header) === null || _d === void 0 ? void 0 : _d.paddingInline,
|
|
38
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../src/container/style.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../src/container/style.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 { SYSTEM } from '../internal/environment';\nimport customCssProps from '../internal/generated/custom-css-properties';\nimport { ContainerProps } from './interfaces';\n\nexport function getRootStyles(style: ContainerProps.Style | undefined) {\n if (SYSTEM !== 'core') {\n return {};\n }\n\n return {\n background: style?.root?.background,\n borderColor: style?.root?.borderColor,\n // Set as a custom property, not inline `border-radius`, so stacked containers can still\n // flatten their adjacent corners in CSS.\n ...(style?.root?.borderRadius && { [customCssProps.containerStyleBorderRadius]: style.root.borderRadius }),\n borderWidth: style?.root?.borderWidth,\n boxShadow: style?.root?.boxShadow,\n color: style?.root?.color,\n };\n}\n\nexport function getContentStyles(style: ContainerProps.Style | undefined) {\n if (SYSTEM !== 'core') {\n return {};\n }\n\n return {\n paddingBlock: style?.content?.paddingBlock,\n paddingInline: style?.content?.paddingInline,\n };\n}\n\nexport function getHeaderStyles(style: ContainerProps.Style | undefined) {\n if (SYSTEM !== 'core') {\n return {};\n }\n\n return {\n ...(style?.root?.background && { background: 'transparent' }), // Fix for AWSUI-61442\n // Same as the root: use a custom property so stacked headers can still flatten corners in CSS.\n ...(style?.root?.borderRadius && { [customCssProps.containerStyleBorderRadius]: style.root.borderRadius }),\n paddingBlock: style?.header?.paddingBlock,\n paddingInline: style?.header?.paddingInline,\n };\n}\n\nexport function getFooterStyles(style: ContainerProps.Style | undefined) {\n if (SYSTEM !== 'core') {\n return {};\n }\n\n return {\n borderColor: style?.footer?.divider?.borderColor,\n borderWidth: style?.footer?.divider?.borderWidth,\n paddingBlock: style?.footer?.root?.paddingBlock,\n paddingInline: style?.footer?.root?.paddingInline,\n };\n}\n\nexport function getMediaStyles(mediaPosition: string, style: ContainerProps.Style | undefined) {\n if (SYSTEM !== 'core') {\n return {};\n }\n\n return {\n borderRadius: style?.root?.borderRadius,\n ...(mediaPosition === 'top' && { borderEndStartRadius: '0px', borderEndEndRadius: '0px' }),\n ...(mediaPosition === 'side' && { borderStartEndRadius: '0px', borderEndEndRadius: '0px' }),\n };\n}\n"]}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"fit-height": "awsui_fit-
|
|
6
|
-
"with-side-media": "awsui_with-side-
|
|
7
|
-
"variant-default": "awsui_variant-
|
|
8
|
-
"variant-stacked": "awsui_variant-
|
|
9
|
-
"refresh": "
|
|
10
|
-
"sticky-enabled": "awsui_sticky-
|
|
11
|
-
"with-stuck-sticky-header-at-bottom": "awsui_with-stuck-sticky-header-at-
|
|
12
|
-
"focus-ring": "awsui_focus-
|
|
13
|
-
"with-top-media": "awsui_with-top-
|
|
14
|
-
"content-wrapper": "awsui_content-
|
|
15
|
-
"content-wrapper-fit-height": "awsui_content-wrapper-fit-
|
|
16
|
-
"media": "
|
|
17
|
-
"media-top": "awsui_media-
|
|
18
|
-
"media-side": "awsui_media-
|
|
19
|
-
"header": "
|
|
20
|
-
"header-full-page": "awsui_header-full-
|
|
21
|
-
"header-variant-embedded": "awsui_header-variant-
|
|
22
|
-
"header-sticky-enabled": "awsui_header-sticky-
|
|
23
|
-
"header-with-media": "awsui_header-with-
|
|
24
|
-
"header-sticky-disabled": "awsui_header-sticky-
|
|
25
|
-
"header-stuck": "awsui_header-
|
|
26
|
-
"header-variant-cards": "awsui_header-variant-
|
|
27
|
-
"header-dynamic-height": "awsui_header-dynamic-
|
|
28
|
-
"with-paddings": "awsui_with-
|
|
29
|
-
"with-hidden-content": "awsui_with-hidden-
|
|
30
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
31
|
-
"header-cover": "awsui_header-
|
|
32
|
-
"content": "
|
|
33
|
-
"content-fit-height": "awsui_content-fit-
|
|
34
|
-
"content-inner": "awsui_content-
|
|
35
|
-
"with-header": "awsui_with-
|
|
36
|
-
"footer": "
|
|
37
|
-
"with-divider": "awsui_with-
|
|
4
|
+
"root": "awsui_root_14iqq_8gwpa_13",
|
|
5
|
+
"fit-height": "awsui_fit-height_14iqq_8gwpa_46",
|
|
6
|
+
"with-side-media": "awsui_with-side-media_14iqq_8gwpa_51",
|
|
7
|
+
"variant-default": "awsui_variant-default_14iqq_8gwpa_54",
|
|
8
|
+
"variant-stacked": "awsui_variant-stacked_14iqq_8gwpa_54",
|
|
9
|
+
"refresh": "awsui_refresh_14iqq_8gwpa_63",
|
|
10
|
+
"sticky-enabled": "awsui_sticky-enabled_14iqq_8gwpa_113",
|
|
11
|
+
"with-stuck-sticky-header-at-bottom": "awsui_with-stuck-sticky-header-at-bottom_14iqq_8gwpa_119",
|
|
12
|
+
"focus-ring": "awsui_focus-ring_14iqq_8gwpa_126",
|
|
13
|
+
"with-top-media": "awsui_with-top-media_14iqq_8gwpa_150",
|
|
14
|
+
"content-wrapper": "awsui_content-wrapper_14iqq_8gwpa_155",
|
|
15
|
+
"content-wrapper-fit-height": "awsui_content-wrapper-fit-height_14iqq_8gwpa_160",
|
|
16
|
+
"media": "awsui_media_14iqq_8gwpa_167",
|
|
17
|
+
"media-top": "awsui_media-top_14iqq_8gwpa_185",
|
|
18
|
+
"media-side": "awsui_media-side_14iqq_8gwpa_190",
|
|
19
|
+
"header": "awsui_header_14iqq_8gwpa_196",
|
|
20
|
+
"header-full-page": "awsui_header-full-page_14iqq_8gwpa_201",
|
|
21
|
+
"header-variant-embedded": "awsui_header-variant-embedded_14iqq_8gwpa_204",
|
|
22
|
+
"header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_8gwpa_204",
|
|
23
|
+
"header-with-media": "awsui_header-with-media_14iqq_8gwpa_207",
|
|
24
|
+
"header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_8gwpa_213",
|
|
25
|
+
"header-stuck": "awsui_header-stuck_14iqq_8gwpa_223",
|
|
26
|
+
"header-variant-cards": "awsui_header-variant-cards_14iqq_8gwpa_233",
|
|
27
|
+
"header-dynamic-height": "awsui_header-dynamic-height_14iqq_8gwpa_236",
|
|
28
|
+
"with-paddings": "awsui_with-paddings_14iqq_8gwpa_242",
|
|
29
|
+
"with-hidden-content": "awsui_with-hidden-content_14iqq_8gwpa_251",
|
|
30
|
+
"header-variant-full-page": "awsui_header-variant-full-page_14iqq_8gwpa_309",
|
|
31
|
+
"header-cover": "awsui_header-cover_14iqq_8gwpa_312",
|
|
32
|
+
"content": "awsui_content_14iqq_8gwpa_155",
|
|
33
|
+
"content-fit-height": "awsui_content-fit-height_14iqq_8gwpa_340",
|
|
34
|
+
"content-inner": "awsui_content-inner_14iqq_8gwpa_346",
|
|
35
|
+
"with-header": "awsui_with-header_14iqq_8gwpa_353",
|
|
36
|
+
"footer": "awsui_footer_14iqq_8gwpa_357",
|
|
37
|
+
"with-divider": "awsui_with-divider_14iqq_8gwpa_361"
|
|
38
38
|
};
|
|
39
39
|
|