@cloudscape-design/components-themeable 3.0.644 → 3.0.646
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/header/styles.scss +0 -10
- package/lib/internal/scss/slider/mixins.scss +18 -0
- package/lib/internal/scss/slider/styles.scss +45 -0
- package/lib/internal/scss/split-panel/styles.scss +2 -0
- package/lib/internal/template/breadcrumb-group/implementation.d.ts +8 -0
- package/lib/internal/template/breadcrumb-group/implementation.d.ts.map +1 -0
- package/lib/internal/template/breadcrumb-group/implementation.js +71 -0
- package/lib/internal/template/breadcrumb-group/implementation.js.map +1 -0
- package/lib/internal/template/breadcrumb-group/index.js +1 -1
- package/lib/internal/template/breadcrumb-group/index.js.map +1 -1
- package/lib/internal/template/breadcrumb-group/internal.d.ts +1 -11
- package/lib/internal/template/breadcrumb-group/internal.d.ts.map +1 -1
- package/lib/internal/template/breadcrumb-group/internal.js +2 -70
- package/lib/internal/template/breadcrumb-group/internal.js.map +1 -1
- package/lib/internal/template/breadcrumb-group/item/item.js +1 -1
- package/lib/internal/template/breadcrumb-group/item/item.js.map +1 -1
- package/lib/internal/template/breadcrumb-group/utils.d.ts +7 -0
- package/lib/internal/template/breadcrumb-group/utils.d.ts.map +1 -0
- package/lib/internal/template/breadcrumb-group/utils.js +6 -0
- package/lib/internal/template/breadcrumb-group/utils.js.map +1 -0
- package/lib/internal/template/drawer/implementation.d.ts +7 -0
- package/lib/internal/template/drawer/implementation.d.ts.map +1 -0
- package/lib/internal/template/drawer/implementation.js +24 -0
- package/lib/internal/template/drawer/implementation.js.map +1 -0
- package/lib/internal/template/drawer/index.d.ts +1 -1
- package/lib/internal/template/drawer/index.d.ts.map +1 -1
- package/lib/internal/template/drawer/index.js +4 -18
- package/lib/internal/template/drawer/index.js.map +1 -1
- package/lib/internal/template/drawer/internal.d.ts +2 -0
- package/lib/internal/template/drawer/internal.d.ts.map +1 -0
- package/lib/internal/template/drawer/internal.js +5 -0
- package/lib/internal/template/drawer/internal.js.map +1 -0
- package/lib/internal/template/header/styles.css.js +35 -35
- package/lib/internal/template/header/styles.scoped.css +51 -59
- package/lib/internal/template/header/styles.selectors.js +35 -35
- package/lib/internal/template/help-panel/implementation.d.ts +7 -0
- package/lib/internal/template/help-panel/implementation.d.ts.map +1 -0
- package/lib/internal/template/help-panel/implementation.js +27 -0
- package/lib/internal/template/help-panel/implementation.js.map +1 -0
- package/lib/internal/template/help-panel/index.d.ts +1 -1
- package/lib/internal/template/help-panel/index.d.ts.map +1 -1
- package/lib/internal/template/help-panel/index.js +4 -21
- package/lib/internal/template/help-panel/index.js.map +1 -1
- package/lib/internal/template/help-panel/internal.d.ts +2 -0
- package/lib/internal/template/help-panel/internal.d.ts.map +1 -0
- package/lib/internal/template/help-panel/internal.js +5 -0
- package/lib/internal/template/help-panel/internal.js.map +1 -0
- package/lib/internal/template/input/internal.d.ts.map +1 -1
- package/lib/internal/template/input/internal.js +1 -1
- package/lib/internal/template/input/internal.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +10 -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/styles/tokens.d.ts +1 -0
- package/lib/internal/template/internal/generated/styles/tokens.js +1 -0
- package/lib/internal/template/internal/generated/theming/index.cjs +31 -0
- package/lib/internal/template/internal/generated/theming/index.js +31 -0
- package/lib/internal/template/internal/widgets/index.d.ts +4 -0
- package/lib/internal/template/internal/widgets/index.d.ts.map +1 -0
- package/lib/internal/template/internal/widgets/index.js +28 -0
- package/lib/internal/template/internal/widgets/index.js.map +1 -0
- package/lib/internal/template/s3-resource-selector/s3-modal/index.js +2 -2
- package/lib/internal/template/s3-resource-selector/s3-modal/index.js.map +1 -1
- package/lib/internal/template/side-navigation/implementation.d.ts +7 -0
- package/lib/internal/template/side-navigation/implementation.d.ts.map +1 -0
- package/lib/internal/template/side-navigation/implementation.js +36 -0
- package/lib/internal/template/side-navigation/implementation.js.map +1 -0
- package/lib/internal/template/side-navigation/index.d.ts +1 -1
- package/lib/internal/template/side-navigation/index.d.ts.map +1 -1
- package/lib/internal/template/side-navigation/index.js +5 -29
- package/lib/internal/template/side-navigation/index.js.map +1 -1
- package/lib/internal/template/side-navigation/internal.d.ts +1 -17
- package/lib/internal/template/side-navigation/internal.d.ts.map +1 -1
- package/lib/internal/template/side-navigation/internal.js +2 -182
- package/lib/internal/template/side-navigation/internal.js.map +1 -1
- package/lib/internal/template/side-navigation/parts.d.ts +18 -0
- package/lib/internal/template/side-navigation/parts.d.ts.map +1 -0
- package/lib/internal/template/side-navigation/parts.js +185 -0
- package/lib/internal/template/side-navigation/parts.js.map +1 -0
- package/lib/internal/template/slider/internal.d.ts.map +1 -1
- package/lib/internal/template/slider/internal.js +6 -2
- package/lib/internal/template/slider/internal.js.map +1 -1
- package/lib/internal/template/slider/styles.css.js +25 -23
- package/lib/internal/template/slider/styles.scoped.css +95 -52
- package/lib/internal/template/slider/styles.selectors.js +25 -23
- package/lib/internal/template/slider/tick-marks.d.ts +1 -0
- package/lib/internal/template/slider/tick-marks.d.ts.map +1 -1
- package/lib/internal/template/slider/tick-marks.js +4 -1
- package/lib/internal/template/slider/tick-marks.js.map +1 -1
- package/lib/internal/template/split-panel/implementation.d.ts +1 -0
- package/lib/internal/template/split-panel/implementation.d.ts.map +1 -1
- package/lib/internal/template/split-panel/implementation.js +2 -0
- package/lib/internal/template/split-panel/implementation.js.map +1 -1
- package/lib/internal/template/split-panel/styles.css.js +57 -57
- package/lib/internal/template/split-panel/styles.scoped.css +78 -77
- package/lib/internal/template/split-panel/styles.selectors.js +57 -57
- package/lib/internal/template/split-panel/widget.d.ts +1 -5
- package/lib/internal/template/split-panel/widget.d.ts.map +1 -1
- package/lib/internal/template/split-panel/widget.js +1 -13
- package/lib/internal/template/split-panel/widget.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/drawer/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,CAAC,MAAM,cAAc,GAAG,sBAAsB,EAAE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { createWidgetizedDrawer } from './implementation';\n\nexport const InternalDrawer = createWidgetizedDrawer();\n"]}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"root-with-toolbar": "awsui_root-with-
|
|
6
|
-
"refresh": "
|
|
7
|
-
"root-no-actions": "awsui_root-no-
|
|
8
|
-
"root-variant-h2": "awsui_root-variant-
|
|
9
|
-
"root-variant-h3": "awsui_root-variant-
|
|
10
|
-
"root-has-description": "awsui_root-has-
|
|
11
|
-
"root-variant-h1": "awsui_root-variant-
|
|
12
|
-
"main": "
|
|
13
|
-
"no-wrap": "awsui_no-
|
|
14
|
-
"main-variant-h1": "awsui_main-variant-
|
|
15
|
-
"actions": "
|
|
16
|
-
"actions-centered": "awsui_actions-
|
|
17
|
-
"actions-variant-h1": "awsui_actions-variant-
|
|
18
|
-
"actions-variant-h2": "awsui_actions-variant-
|
|
19
|
-
"actions-variant-h3": "awsui_actions-variant-
|
|
20
|
-
"title": "
|
|
21
|
-
"title-variant-h1": "awsui_title-variant-
|
|
22
|
-
"title-variant-h2": "awsui_title-variant-
|
|
23
|
-
"title-variant-h3": "awsui_title-variant-
|
|
24
|
-
"virtual-space": "awsui_virtual-
|
|
25
|
-
"info": "
|
|
26
|
-
"description": "
|
|
27
|
-
"description-variant-h1": "awsui_description-variant-
|
|
28
|
-
"description-variant-h2": "awsui_description-variant-
|
|
29
|
-
"description-variant-h3": "awsui_description-variant-
|
|
30
|
-
"heading": "
|
|
31
|
-
"heading-variant-h1": "awsui_heading-variant-
|
|
32
|
-
"heading-variant-h2": "awsui_heading-variant-
|
|
33
|
-
"heading-variant-h3": "awsui_heading-variant-
|
|
34
|
-
"heading-text": "awsui_heading-
|
|
35
|
-
"heading-text-variant-h1": "awsui_heading-text-variant-
|
|
36
|
-
"heading-text-variant-h2": "awsui_heading-text-variant-
|
|
37
|
-
"heading-text-variant-h3": "awsui_heading-text-variant-
|
|
38
|
-
"counter": "
|
|
4
|
+
"root": "awsui_root_2qdw9_mpcu3_99",
|
|
5
|
+
"root-with-toolbar": "awsui_root-with-toolbar_2qdw9_mpcu3_138",
|
|
6
|
+
"refresh": "awsui_refresh_2qdw9_mpcu3_141",
|
|
7
|
+
"root-no-actions": "awsui_root-no-actions_2qdw9_mpcu3_141",
|
|
8
|
+
"root-variant-h2": "awsui_root-variant-h2_2qdw9_mpcu3_144",
|
|
9
|
+
"root-variant-h3": "awsui_root-variant-h3_2qdw9_mpcu3_144",
|
|
10
|
+
"root-has-description": "awsui_root-has-description_2qdw9_mpcu3_144",
|
|
11
|
+
"root-variant-h1": "awsui_root-variant-h1_2qdw9_mpcu3_153",
|
|
12
|
+
"main": "awsui_main_2qdw9_mpcu3_163",
|
|
13
|
+
"no-wrap": "awsui_no-wrap_2qdw9_mpcu3_173",
|
|
14
|
+
"main-variant-h1": "awsui_main-variant-h1_2qdw9_mpcu3_179",
|
|
15
|
+
"actions": "awsui_actions_2qdw9_mpcu3_187",
|
|
16
|
+
"actions-centered": "awsui_actions-centered_2qdw9_mpcu3_192",
|
|
17
|
+
"actions-variant-h1": "awsui_actions-variant-h1_2qdw9_mpcu3_195",
|
|
18
|
+
"actions-variant-h2": "awsui_actions-variant-h2_2qdw9_mpcu3_199",
|
|
19
|
+
"actions-variant-h3": "awsui_actions-variant-h3_2qdw9_mpcu3_203",
|
|
20
|
+
"title": "awsui_title_2qdw9_mpcu3_219",
|
|
21
|
+
"title-variant-h1": "awsui_title-variant-h1_2qdw9_mpcu3_224",
|
|
22
|
+
"title-variant-h2": "awsui_title-variant-h2_2qdw9_mpcu3_231",
|
|
23
|
+
"title-variant-h3": "awsui_title-variant-h3_2qdw9_mpcu3_237",
|
|
24
|
+
"virtual-space": "awsui_virtual-space_2qdw9_mpcu3_258",
|
|
25
|
+
"info": "awsui_info_2qdw9_mpcu3_264",
|
|
26
|
+
"description": "awsui_description_2qdw9_mpcu3_268",
|
|
27
|
+
"description-variant-h1": "awsui_description-variant-h1_2qdw9_mpcu3_275",
|
|
28
|
+
"description-variant-h2": "awsui_description-variant-h2_2qdw9_mpcu3_279",
|
|
29
|
+
"description-variant-h3": "awsui_description-variant-h3_2qdw9_mpcu3_286",
|
|
30
|
+
"heading": "awsui_heading_2qdw9_mpcu3_295",
|
|
31
|
+
"heading-variant-h1": "awsui_heading-variant-h1_2qdw9_mpcu3_306",
|
|
32
|
+
"heading-variant-h2": "awsui_heading-variant-h2_2qdw9_mpcu3_311",
|
|
33
|
+
"heading-variant-h3": "awsui_heading-variant-h3_2qdw9_mpcu3_316",
|
|
34
|
+
"heading-text": "awsui_heading-text_2qdw9_mpcu3_322",
|
|
35
|
+
"heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_mpcu3_325",
|
|
36
|
+
"heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_mpcu3_333",
|
|
37
|
+
"heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_mpcu3_341",
|
|
38
|
+
"counter": "awsui_counter_2qdw9_mpcu3_350"
|
|
39
39
|
};
|
|
40
40
|
|
|
@@ -96,7 +96,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
96
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
97
|
SPDX-License-Identifier: Apache-2.0
|
|
98
98
|
*/
|
|
99
|
-
.
|
|
99
|
+
.awsui_root_2qdw9_mpcu3_99:not(#\9) {
|
|
100
100
|
border-collapse: separate;
|
|
101
101
|
border-spacing: 0;
|
|
102
102
|
box-sizing: border-box;
|
|
@@ -136,32 +136,32 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
136
136
|
flex-wrap: wrap;
|
|
137
137
|
justify-content: space-between;
|
|
138
138
|
}
|
|
139
|
-
.awsui_root-with-
|
|
139
|
+
.awsui_root-with-toolbar_2qdw9_mpcu3_138:not(#\9) {
|
|
140
140
|
padding-block-start: var(--space-scaled-s-9q8n2q, 12px);
|
|
141
141
|
}
|
|
142
|
-
.
|
|
142
|
+
.awsui_root_2qdw9_mpcu3_99.awsui_refresh_2qdw9_mpcu3_141:not(#\9), .awsui_root_2qdw9_mpcu3_99:not(#\9):not(.awsui_root-no-actions_2qdw9_mpcu3_141) {
|
|
143
143
|
row-gap: var(--space-scaled-xxs-t7ij38, 4px);
|
|
144
144
|
}
|
|
145
|
-
.awsui_root-no-
|
|
145
|
+
.awsui_root-no-actions_2qdw9_mpcu3_141.awsui_root-variant-h2_2qdw9_mpcu3_144:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141), .awsui_root-no-actions_2qdw9_mpcu3_141.awsui_root-variant-h3_2qdw9_mpcu3_144:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141), .awsui_root-has-description_2qdw9_mpcu3_144.awsui_root-variant-h2_2qdw9_mpcu3_144:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141), .awsui_root-has-description_2qdw9_mpcu3_144.awsui_root-variant-h3_2qdw9_mpcu3_144:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
146
146
|
padding-block-end: var(--space-scaled-xxs-t7ij38, 4px);
|
|
147
147
|
}
|
|
148
|
-
.awsui_root-no-
|
|
148
|
+
.awsui_root-no-actions_2qdw9_mpcu3_141:not(#\9):not(.awsui_root-has-description_2qdw9_mpcu3_144):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
149
149
|
padding-block-end: calc(var(--space-scaled-xs-x91h81, 8px) + var(--space-xxxs-z28114, 2px));
|
|
150
150
|
}
|
|
151
|
-
.awsui_root-no-
|
|
151
|
+
.awsui_root-no-actions_2qdw9_mpcu3_141.awsui_refresh_2qdw9_mpcu3_141.awsui_root-variant-h2_2qdw9_mpcu3_144:not(#\9), .awsui_root-no-actions_2qdw9_mpcu3_141.awsui_refresh_2qdw9_mpcu3_141.awsui_root-variant-h3_2qdw9_mpcu3_144:not(#\9) {
|
|
152
152
|
row-gap: var(--space-scaled-xxxs-f7yq15, 2px);
|
|
153
153
|
}
|
|
154
|
-
.
|
|
154
|
+
.awsui_root_2qdw9_mpcu3_99.awsui_root-variant-h1_2qdw9_mpcu3_153:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
155
155
|
row-gap: var(--space-scaled-xxs-t7ij38, 4px);
|
|
156
156
|
}
|
|
157
|
-
.awsui_root-no-
|
|
157
|
+
.awsui_root-no-actions_2qdw9_mpcu3_141:not(#\9):not(.awsui_root-has-description_2qdw9_mpcu3_144).awsui_refresh_2qdw9_mpcu3_141.awsui_root-variant-h3_2qdw9_mpcu3_144 {
|
|
158
158
|
padding-block-end: var(--space-scaled-xs-x91h81, 8px);
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
.awsui_root_2qdw9_mpcu3_99.awsui_root-variant-h1_2qdw9_mpcu3_153.awsui_root-has-description_2qdw9_mpcu3_144:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
161
161
|
padding-block-end: var(--space-scaled-2x-xxs-r5f1ts, 4px);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
.
|
|
164
|
+
.awsui_main_2qdw9_mpcu3_163:not(#\9) {
|
|
165
165
|
word-wrap: break-word;
|
|
166
166
|
max-inline-size: 100%;
|
|
167
167
|
display: flex;
|
|
@@ -171,167 +171,159 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
171
171
|
column-gap: var(--space-xs-xf5ch3, 8px);
|
|
172
172
|
row-gap: calc(var(--space-scaled-xxs-t7ij38, 4px) + var(--space-scaled-xxxs-f7yq15, 2px));
|
|
173
173
|
}
|
|
174
|
-
.
|
|
174
|
+
.awsui_main_2qdw9_mpcu3_163.awsui_no-wrap_2qdw9_mpcu3_173:not(#\9) {
|
|
175
175
|
flex-wrap: nowrap;
|
|
176
176
|
}
|
|
177
|
-
.
|
|
177
|
+
.awsui_main_2qdw9_mpcu3_163.awsui_refresh_2qdw9_mpcu3_141:not(#\9) {
|
|
178
178
|
row-gap: var(--space-xxs-9rrxti, 4px);
|
|
179
179
|
}
|
|
180
|
-
.awsui_main-variant-
|
|
180
|
+
.awsui_main-variant-h1_2qdw9_mpcu3_179:not(#\9) {
|
|
181
181
|
row-gap: var(--space-scaled-2x-xxs-r5f1ts, 4px);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
.awsui_root-has-
|
|
184
|
+
.awsui_root-has-description_2qdw9_mpcu3_144 > .awsui_main_2qdw9_mpcu3_163:not(#\9) {
|
|
185
185
|
row-gap: var(--space-scaled-2x-xxs-r5f1ts, 4px);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.
|
|
188
|
+
.awsui_actions_2qdw9_mpcu3_187:not(#\9) {
|
|
189
189
|
display: flex;
|
|
190
190
|
align-items: flex-start;
|
|
191
191
|
min-block-size: var(--size-vertical-input-ubbp77, 32px);
|
|
192
192
|
}
|
|
193
|
-
.awsui_actions-
|
|
193
|
+
.awsui_actions-centered_2qdw9_mpcu3_192:not(#\9) {
|
|
194
194
|
align-items: center;
|
|
195
195
|
}
|
|
196
|
-
.awsui_actions-variant-
|
|
196
|
+
.awsui_actions-variant-h1_2qdw9_mpcu3_195.awsui_refresh_2qdw9_mpcu3_141:not(#\9) {
|
|
197
197
|
padding-block: calc((var(--line-height-heading-xl-v9hsvt, 36px) - var(--size-vertical-input-ubbp77, 32px)) / 2);
|
|
198
198
|
padding-inline: 0;
|
|
199
199
|
}
|
|
200
|
-
.awsui_actions-variant-
|
|
200
|
+
.awsui_actions-variant-h2_2qdw9_mpcu3_199.awsui_refresh_2qdw9_mpcu3_141:not(#\9) {
|
|
201
201
|
padding-block: calc((var(--line-height-heading-l-vog8w7, 22px) - var(--size-vertical-input-ubbp77, 32px)) / 2);
|
|
202
202
|
padding-inline: 0;
|
|
203
203
|
}
|
|
204
|
-
.awsui_actions-variant-
|
|
204
|
+
.awsui_actions-variant-h3_2qdw9_mpcu3_203.awsui_refresh_2qdw9_mpcu3_141:not(#\9) {
|
|
205
205
|
padding-block: calc((var(--line-height-heading-m-6mmwjh, 22px) - var(--size-vertical-input-ubbp77, 32px)) / 2);
|
|
206
206
|
padding-inline: 0;
|
|
207
207
|
}
|
|
208
|
-
.awsui_actions-variant-
|
|
208
|
+
.awsui_actions-variant-h1_2qdw9_mpcu3_195:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
209
209
|
padding-block: var(--space-scaled-xs-x91h81, 8px);
|
|
210
210
|
padding-inline: 0;
|
|
211
211
|
}
|
|
212
|
-
.awsui_actions-variant-
|
|
212
|
+
.awsui_actions-variant-h2_2qdw9_mpcu3_199:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141), .awsui_actions-variant-h3_2qdw9_mpcu3_203:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
213
213
|
padding-block: var(--space-scaled-xxs-t7ij38, 4px);
|
|
214
214
|
padding-inline: 0;
|
|
215
215
|
}
|
|
216
|
-
.awsui_root-has-
|
|
216
|
+
.awsui_root-has-description_2qdw9_mpcu3_144 > .awsui_main_2qdw9_mpcu3_163 > .awsui_actions_2qdw9_mpcu3_187:not(#\9) {
|
|
217
217
|
padding-block-end: 0;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.
|
|
220
|
+
.awsui_title_2qdw9_mpcu3_219:not(#\9) {
|
|
221
221
|
min-inline-size: 0;
|
|
222
222
|
word-break: break-word;
|
|
223
223
|
color: var(--color-text-heading-default-tsgvby, #16191f);
|
|
224
224
|
}
|
|
225
|
-
.awsui_title-variant-
|
|
225
|
+
.awsui_title-variant-h1_2qdw9_mpcu3_224:not(#\9) {
|
|
226
226
|
font-size: var(--font-size-heading-xl-k9a0qt, 28px);
|
|
227
227
|
padding-block-start: var(--space-scaled-2x-xxs-r5f1ts, 4px);
|
|
228
228
|
}
|
|
229
|
-
.awsui_title-variant-
|
|
229
|
+
.awsui_title-variant-h1_2qdw9_mpcu3_224.awsui_refresh_2qdw9_mpcu3_141:not(#\9) {
|
|
230
230
|
padding-block-start: calc((var(--size-vertical-input-ubbp77, 32px) - var(--line-height-heading-xl-v9hsvt, 36px)) / 2);
|
|
231
231
|
}
|
|
232
|
-
.awsui_title-variant-
|
|
232
|
+
.awsui_title-variant-h2_2qdw9_mpcu3_231:not(#\9) {
|
|
233
233
|
font-size: var(--font-size-heading-l-l21r86, 18px);
|
|
234
234
|
}
|
|
235
|
-
.awsui_title-variant-
|
|
235
|
+
.awsui_title-variant-h2_2qdw9_mpcu3_231.awsui_refresh_2qdw9_mpcu3_141:not(#\9) {
|
|
236
236
|
padding-block-start: calc((var(--size-vertical-input-ubbp77, 32px) - var(--line-height-heading-l-vog8w7, 22px)) / 2);
|
|
237
237
|
}
|
|
238
|
-
.awsui_title-variant-
|
|
238
|
+
.awsui_title-variant-h3_2qdw9_mpcu3_237:not(#\9) {
|
|
239
239
|
font-size: var(--font-size-heading-m-io97me, 18px);
|
|
240
240
|
}
|
|
241
|
-
.awsui_title-variant-
|
|
241
|
+
.awsui_title-variant-h3_2qdw9_mpcu3_237.awsui_refresh_2qdw9_mpcu3_141:not(#\9) {
|
|
242
242
|
padding-block-start: calc((var(--size-vertical-input-ubbp77, 32px) - var(--line-height-heading-m-6mmwjh, 22px)) / 2);
|
|
243
243
|
}
|
|
244
|
-
.awsui_title-variant-
|
|
244
|
+
.awsui_title-variant-h2_2qdw9_mpcu3_231:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141), .awsui_title-variant-h3_2qdw9_mpcu3_237:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
245
245
|
padding-block-start: var(--space-scaled-xs-x91h81, 8px);
|
|
246
246
|
}
|
|
247
|
-
.awsui_no-
|
|
247
|
+
.awsui_no-wrap_2qdw9_mpcu3_173 > .awsui_title_2qdw9_mpcu3_219:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
248
248
|
padding-block-end: calc(var(--space-scaled-xxs-t7ij38, 4px) + var(--space-scaled-xxxs-f7yq15, 2px));
|
|
249
249
|
}
|
|
250
|
-
.awsui_title_2qdw9_nvdrc_219:not(#\9):dir(rtl) {
|
|
251
|
-
align-items: center;
|
|
252
|
-
display: inline-flex;
|
|
253
|
-
}
|
|
254
250
|
|
|
255
|
-
.awsui_root-no-
|
|
251
|
+
.awsui_root-no-actions_2qdw9_mpcu3_141.awsui_root-has-description_2qdw9_mpcu3_144 > .awsui_main_2qdw9_mpcu3_163 > :not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141).awsui_title-variant-h2_2qdw9_mpcu3_231, .awsui_root-no-actions_2qdw9_mpcu3_141.awsui_root-has-description_2qdw9_mpcu3_144 > .awsui_main_2qdw9_mpcu3_163 > :not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141).awsui_title-variant-h3_2qdw9_mpcu3_237 {
|
|
256
252
|
padding-block-end: var(--space-scaled-xxs-t7ij38, 4px);
|
|
257
253
|
}
|
|
258
254
|
|
|
259
|
-
.awsui_root-variant-
|
|
255
|
+
.awsui_root-variant-h1_2qdw9_mpcu3_153.awsui_root-no-actions_2qdw9_mpcu3_141:not(#\9):not(.awsui_root-has-description_2qdw9_mpcu3_144):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
260
256
|
padding-block-end: var(--space-scaled-2x-xxs-r5f1ts, 4px);
|
|
261
257
|
}
|
|
262
258
|
|
|
263
|
-
.awsui_virtual-
|
|
259
|
+
.awsui_virtual-space_2qdw9_mpcu3_258:not(#\9) {
|
|
264
260
|
position: absolute !important;
|
|
265
261
|
inset-block-start: -9999px !important;
|
|
266
262
|
inset-inline-start: -9999px !important;
|
|
267
263
|
}
|
|
268
264
|
|
|
269
|
-
.
|
|
265
|
+
.awsui_info_2qdw9_mpcu3_264:not(#\9) {
|
|
270
266
|
padding-inline-end: var(--space-s-2025hl, 12px);
|
|
271
267
|
}
|
|
272
268
|
|
|
273
|
-
.
|
|
269
|
+
.awsui_description_2qdw9_mpcu3_268:not(#\9) {
|
|
274
270
|
margin-block: 0;
|
|
275
271
|
margin-inline: 0;
|
|
276
272
|
padding-block: 0;
|
|
277
273
|
padding-inline: 0;
|
|
278
274
|
color: var(--color-text-heading-secondary-b83go1, #545b64);
|
|
279
275
|
}
|
|
280
|
-
.awsui_description-variant-
|
|
276
|
+
.awsui_description-variant-h1_2qdw9_mpcu3_275:not(#\9) {
|
|
281
277
|
font-size: var(--font-size-body-m-pa3mqb, 14px);
|
|
282
278
|
line-height: var(--line-height-body-m-2zx78l, 22px);
|
|
283
279
|
}
|
|
284
|
-
.awsui_description-variant-
|
|
280
|
+
.awsui_description-variant-h2_2qdw9_mpcu3_279:not(#\9) {
|
|
285
281
|
font-size: var(--font-header-h2-description-size-zfw7u2, 12px);
|
|
286
282
|
line-height: var(--font-header-h2-description-line-height-trwmd4, 16px);
|
|
287
283
|
}
|
|
288
|
-
.awsui_description-variant-
|
|
284
|
+
.awsui_description-variant-h2_2qdw9_mpcu3_279:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
289
285
|
padding-block-end: var(--space-scaled-xxs-t7ij38, 4px);
|
|
290
286
|
}
|
|
291
|
-
.awsui_description-variant-
|
|
287
|
+
.awsui_description-variant-h3_2qdw9_mpcu3_286:not(#\9) {
|
|
292
288
|
font-size: var(--font-size-body-s-533prh, 12px);
|
|
293
289
|
line-height: var(--line-height-body-s-n0pazd, 16px);
|
|
294
290
|
letter-spacing: var(--letter-spacing-body-s-nkvets, normal);
|
|
295
291
|
}
|
|
296
|
-
.awsui_description-variant-
|
|
292
|
+
.awsui_description-variant-h3_2qdw9_mpcu3_286:not(#\9):not(.awsui_refresh_2qdw9_mpcu3_141) {
|
|
297
293
|
padding-block-end: var(--space-scaled-xxs-t7ij38, 4px);
|
|
298
294
|
}
|
|
299
295
|
|
|
300
|
-
.
|
|
296
|
+
.awsui_heading_2qdw9_mpcu3_295:not(#\9) {
|
|
301
297
|
margin-block: 0;
|
|
302
298
|
margin-inline: 0;
|
|
303
299
|
display: inline;
|
|
304
300
|
font-size: inherit;
|
|
305
301
|
margin-inline-end: var(--space-xs-xf5ch3, 8px);
|
|
306
302
|
}
|
|
307
|
-
.
|
|
303
|
+
.awsui_heading_2qdw9_mpcu3_295:not(#\9):only-child {
|
|
308
304
|
margin-block: 0;
|
|
309
305
|
margin-inline: 0;
|
|
310
306
|
}
|
|
311
|
-
.awsui_heading-variant-
|
|
307
|
+
.awsui_heading-variant-h1_2qdw9_mpcu3_306:not(#\9) {
|
|
312
308
|
font-size: var(--font-size-heading-xl-k9a0qt, 28px);
|
|
313
309
|
line-height: var(--line-height-heading-xl-v9hsvt, 36px);
|
|
314
310
|
letter-spacing: var(--letter-spacing-heading-xl-87t96e, normal);
|
|
315
311
|
}
|
|
316
|
-
.awsui_heading-variant-
|
|
312
|
+
.awsui_heading-variant-h2_2qdw9_mpcu3_311:not(#\9) {
|
|
317
313
|
font-size: var(--font-size-heading-l-l21r86, 18px);
|
|
318
314
|
line-height: var(--line-height-heading-l-vog8w7, 22px);
|
|
319
315
|
letter-spacing: var(--letter-spacing-heading-l-bejyzw, normal);
|
|
320
316
|
}
|
|
321
|
-
.awsui_heading-variant-
|
|
317
|
+
.awsui_heading-variant-h3_2qdw9_mpcu3_316:not(#\9) {
|
|
322
318
|
font-size: var(--font-size-heading-m-io97me, 18px);
|
|
323
319
|
line-height: var(--line-height-heading-m-6mmwjh, 22px);
|
|
324
320
|
letter-spacing: var(--letter-spacing-heading-m-kfwhdw, normal);
|
|
325
321
|
}
|
|
326
|
-
.awsui_heading_2qdw9_nvdrc_299:not(#\9):dir(rtl) {
|
|
327
|
-
display: inline-flex;
|
|
328
|
-
gap: var(--space-scaled-xxs-t7ij38, 4px);
|
|
329
|
-
}
|
|
330
322
|
|
|
331
|
-
.awsui_heading-
|
|
323
|
+
.awsui_heading-text_2qdw9_mpcu3_322:not(#\9) {
|
|
332
324
|
/* used in test-utils */
|
|
333
325
|
}
|
|
334
|
-
.awsui_heading-text-variant-
|
|
326
|
+
.awsui_heading-text-variant-h1_2qdw9_mpcu3_325:not(#\9) {
|
|
335
327
|
font-size: var(--font-size-heading-xl-k9a0qt, 28px);
|
|
336
328
|
line-height: var(--line-height-heading-xl-v9hsvt, 36px);
|
|
337
329
|
letter-spacing: var(--letter-spacing-heading-xl-87t96e, normal);
|
|
@@ -339,7 +331,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
339
331
|
-webkit-font-smoothing: var(--font-smoothing-webkit-8fiijr, auto);
|
|
340
332
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-fw8n0n, auto);
|
|
341
333
|
}
|
|
342
|
-
.awsui_heading-text-variant-
|
|
334
|
+
.awsui_heading-text-variant-h2_2qdw9_mpcu3_333:not(#\9) {
|
|
343
335
|
font-size: var(--font-size-heading-l-l21r86, 18px);
|
|
344
336
|
line-height: var(--line-height-heading-l-vog8w7, 22px);
|
|
345
337
|
letter-spacing: var(--letter-spacing-heading-l-bejyzw, normal);
|
|
@@ -347,7 +339,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
347
339
|
-webkit-font-smoothing: var(--font-smoothing-webkit-8fiijr, auto);
|
|
348
340
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-fw8n0n, auto);
|
|
349
341
|
}
|
|
350
|
-
.awsui_heading-text-variant-
|
|
342
|
+
.awsui_heading-text-variant-h3_2qdw9_mpcu3_341:not(#\9) {
|
|
351
343
|
font-size: var(--font-size-heading-m-io97me, 18px);
|
|
352
344
|
line-height: var(--line-height-heading-m-6mmwjh, 22px);
|
|
353
345
|
letter-spacing: var(--letter-spacing-heading-m-kfwhdw, normal);
|
|
@@ -356,7 +348,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
356
348
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-fw8n0n, auto);
|
|
357
349
|
}
|
|
358
350
|
|
|
359
|
-
.
|
|
351
|
+
.awsui_counter_2qdw9_mpcu3_350:not(#\9) {
|
|
360
352
|
color: var(--color-text-counter-f3a2pb, #687078);
|
|
361
353
|
font-weight: 400;
|
|
362
354
|
}
|
|
@@ -2,40 +2,40 @@
|
|
|
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
|
-
"root-with-toolbar": "awsui_root-with-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"root-no-actions": "awsui_root-no-
|
|
9
|
-
"root-variant-h2": "awsui_root-variant-
|
|
10
|
-
"root-variant-h3": "awsui_root-variant-
|
|
11
|
-
"root-has-description": "awsui_root-has-
|
|
12
|
-
"root-variant-h1": "awsui_root-variant-
|
|
13
|
-
"main": "
|
|
14
|
-
"no-wrap": "awsui_no-
|
|
15
|
-
"main-variant-h1": "awsui_main-variant-
|
|
16
|
-
"actions": "
|
|
17
|
-
"actions-centered": "awsui_actions-
|
|
18
|
-
"actions-variant-h1": "awsui_actions-variant-
|
|
19
|
-
"actions-variant-h2": "awsui_actions-variant-
|
|
20
|
-
"actions-variant-h3": "awsui_actions-variant-
|
|
21
|
-
"title": "
|
|
22
|
-
"title-variant-h1": "awsui_title-variant-
|
|
23
|
-
"title-variant-h2": "awsui_title-variant-
|
|
24
|
-
"title-variant-h3": "awsui_title-variant-
|
|
25
|
-
"virtual-space": "awsui_virtual-
|
|
26
|
-
"info": "
|
|
27
|
-
"description": "
|
|
28
|
-
"description-variant-h1": "awsui_description-variant-
|
|
29
|
-
"description-variant-h2": "awsui_description-variant-
|
|
30
|
-
"description-variant-h3": "awsui_description-variant-
|
|
31
|
-
"heading": "
|
|
32
|
-
"heading-variant-h1": "awsui_heading-variant-
|
|
33
|
-
"heading-variant-h2": "awsui_heading-variant-
|
|
34
|
-
"heading-variant-h3": "awsui_heading-variant-
|
|
35
|
-
"heading-text": "awsui_heading-
|
|
36
|
-
"heading-text-variant-h1": "awsui_heading-text-variant-
|
|
37
|
-
"heading-text-variant-h2": "awsui_heading-text-variant-
|
|
38
|
-
"heading-text-variant-h3": "awsui_heading-text-variant-
|
|
39
|
-
"counter": "
|
|
5
|
+
"root": "awsui_root_2qdw9_mpcu3_99",
|
|
6
|
+
"root-with-toolbar": "awsui_root-with-toolbar_2qdw9_mpcu3_138",
|
|
7
|
+
"refresh": "awsui_refresh_2qdw9_mpcu3_141",
|
|
8
|
+
"root-no-actions": "awsui_root-no-actions_2qdw9_mpcu3_141",
|
|
9
|
+
"root-variant-h2": "awsui_root-variant-h2_2qdw9_mpcu3_144",
|
|
10
|
+
"root-variant-h3": "awsui_root-variant-h3_2qdw9_mpcu3_144",
|
|
11
|
+
"root-has-description": "awsui_root-has-description_2qdw9_mpcu3_144",
|
|
12
|
+
"root-variant-h1": "awsui_root-variant-h1_2qdw9_mpcu3_153",
|
|
13
|
+
"main": "awsui_main_2qdw9_mpcu3_163",
|
|
14
|
+
"no-wrap": "awsui_no-wrap_2qdw9_mpcu3_173",
|
|
15
|
+
"main-variant-h1": "awsui_main-variant-h1_2qdw9_mpcu3_179",
|
|
16
|
+
"actions": "awsui_actions_2qdw9_mpcu3_187",
|
|
17
|
+
"actions-centered": "awsui_actions-centered_2qdw9_mpcu3_192",
|
|
18
|
+
"actions-variant-h1": "awsui_actions-variant-h1_2qdw9_mpcu3_195",
|
|
19
|
+
"actions-variant-h2": "awsui_actions-variant-h2_2qdw9_mpcu3_199",
|
|
20
|
+
"actions-variant-h3": "awsui_actions-variant-h3_2qdw9_mpcu3_203",
|
|
21
|
+
"title": "awsui_title_2qdw9_mpcu3_219",
|
|
22
|
+
"title-variant-h1": "awsui_title-variant-h1_2qdw9_mpcu3_224",
|
|
23
|
+
"title-variant-h2": "awsui_title-variant-h2_2qdw9_mpcu3_231",
|
|
24
|
+
"title-variant-h3": "awsui_title-variant-h3_2qdw9_mpcu3_237",
|
|
25
|
+
"virtual-space": "awsui_virtual-space_2qdw9_mpcu3_258",
|
|
26
|
+
"info": "awsui_info_2qdw9_mpcu3_264",
|
|
27
|
+
"description": "awsui_description_2qdw9_mpcu3_268",
|
|
28
|
+
"description-variant-h1": "awsui_description-variant-h1_2qdw9_mpcu3_275",
|
|
29
|
+
"description-variant-h2": "awsui_description-variant-h2_2qdw9_mpcu3_279",
|
|
30
|
+
"description-variant-h3": "awsui_description-variant-h3_2qdw9_mpcu3_286",
|
|
31
|
+
"heading": "awsui_heading_2qdw9_mpcu3_295",
|
|
32
|
+
"heading-variant-h1": "awsui_heading-variant-h1_2qdw9_mpcu3_306",
|
|
33
|
+
"heading-variant-h2": "awsui_heading-variant-h2_2qdw9_mpcu3_311",
|
|
34
|
+
"heading-variant-h3": "awsui_heading-variant-h3_2qdw9_mpcu3_316",
|
|
35
|
+
"heading-text": "awsui_heading-text_2qdw9_mpcu3_322",
|
|
36
|
+
"heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_mpcu3_325",
|
|
37
|
+
"heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_mpcu3_333",
|
|
38
|
+
"heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_mpcu3_341",
|
|
39
|
+
"counter": "awsui_counter_2qdw9_mpcu3_350"
|
|
40
40
|
};
|
|
41
41
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
|
|
3
|
+
import { HelpPanelProps } from './interfaces';
|
|
4
|
+
export type HelpPanelInternalProps = HelpPanelProps & InternalBaseComponentProps;
|
|
5
|
+
export declare function HelpPanelImplementation({ header, footer, children, loading, loadingText, __internalRootRef, ...restProps }: HelpPanelInternalProps): JSX.Element;
|
|
6
|
+
export declare const createWidgetizedHelpPanel: (Loader?: typeof HelpPanelImplementation | undefined) => typeof HelpPanelImplementation;
|
|
7
|
+
//# sourceMappingURL=implementation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/help-panel/implementation.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM9C,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG,0BAA0B,CAAC;AAEjF,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,GAAG,SAAS,EACb,EAAE,sBAAsB,eAsBxB;AAED,eAAO,MAAM,yBAAyB,yFAAqD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { getBaseProps } from '../internal/base-component';
|
|
7
|
+
import InternalStatusIndicator from '../status-indicator/internal';
|
|
8
|
+
import styles from './styles.css.js';
|
|
9
|
+
import LiveRegion from '../internal/components/live-region';
|
|
10
|
+
import { useInternalI18n } from '../i18n/context';
|
|
11
|
+
import { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';
|
|
12
|
+
import { createWidgetizedComponent } from '../internal/widgets';
|
|
13
|
+
export function HelpPanelImplementation(_a) {
|
|
14
|
+
var { header, footer, children, loading, loadingText, __internalRootRef } = _a, restProps = __rest(_a, ["header", "footer", "children", "loading", "loadingText", "__internalRootRef"]);
|
|
15
|
+
const baseProps = getBaseProps(restProps);
|
|
16
|
+
const i18n = useInternalI18n('help-panel');
|
|
17
|
+
const containerProps = Object.assign(Object.assign({}, baseProps), { className: clsx(baseProps.className, styles['help-panel']) });
|
|
18
|
+
return loading ? (React.createElement("div", Object.assign({}, containerProps, { ref: __internalRootRef }),
|
|
19
|
+
React.createElement(InternalStatusIndicator, { type: "loading" },
|
|
20
|
+
React.createElement(LiveRegion, { visible: true }, i18n('loadingText', loadingText))))) : (React.createElement("div", Object.assign({}, containerProps, { ref: __internalRootRef }),
|
|
21
|
+
header && React.createElement("div", { className: clsx(styles.header) }, header),
|
|
22
|
+
React.createElement(LinkDefaultVariantContext.Provider, { value: { defaultVariant: 'primary' } },
|
|
23
|
+
React.createElement("div", { className: clsx(styles.content) }, children)),
|
|
24
|
+
footer && React.createElement("div", { className: styles.footer }, footer)));
|
|
25
|
+
}
|
|
26
|
+
export const createWidgetizedHelpPanel = createWidgetizedComponent(HelpPanelImplementation);
|
|
27
|
+
//# sourceMappingURL=implementation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"implementation.js","sourceRoot":"","sources":["../../../src/help-panel/implementation.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,uBAAuB,MAAM,8BAA8B,CAAC;AACnE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAC7F,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAIhE,MAAM,UAAU,uBAAuB,CAAC,EAQf;QARe,EACtC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAO,EACP,WAAW,EACX,iBAAiB,OAEM,EADpB,SAAS,cAP0B,+EAQvC,CADa;IAEZ,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IAC1C,MAAM,IAAI,GAAG,eAAe,CAAC,YAAY,CAAC,CAAC;IAC3C,MAAM,cAAc,mCACf,SAAS,KACZ,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC,GAC3D,CAAC;IACF,OAAO,OAAO,CAAC,CAAC,CAAC,CACf,6CAAS,cAAc,IAAE,GAAG,EAAE,iBAAiB;QAC7C,oBAAC,uBAAuB,IAAC,IAAI,EAAC,SAAS;YACrC,oBAAC,UAAU,IAAC,OAAO,EAAE,IAAI,IAAG,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,CAAc,CAClD,CACtB,CACP,CAAC,CAAC,CAAC,CACF,6CAAS,cAAc,IAAE,GAAG,EAAE,iBAAiB;QAC5C,MAAM,IAAI,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAG,MAAM,CAAO;QAC9D,oBAAC,yBAAyB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE;YACtE,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,IAAG,QAAQ,CAAO,CACnB;QACpC,MAAM,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,IAAG,MAAM,CAAO,CACpD,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG,yBAAyB,CAAC,uBAAuB,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React from 'react';\nimport { getBaseProps } from '../internal/base-component';\nimport InternalStatusIndicator from '../status-indicator/internal';\nimport styles from './styles.css.js';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { HelpPanelProps } from './interfaces';\nimport LiveRegion from '../internal/components/live-region';\nimport { useInternalI18n } from '../i18n/context';\nimport { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';\nimport { createWidgetizedComponent } from '../internal/widgets';\n\nexport type HelpPanelInternalProps = HelpPanelProps & InternalBaseComponentProps;\n\nexport function HelpPanelImplementation({\n header,\n footer,\n children,\n loading,\n loadingText,\n __internalRootRef,\n ...restProps\n}: HelpPanelInternalProps) {\n const baseProps = getBaseProps(restProps);\n const i18n = useInternalI18n('help-panel');\n const containerProps = {\n ...baseProps,\n className: clsx(baseProps.className, styles['help-panel']),\n };\n return loading ? (\n <div {...containerProps} ref={__internalRootRef}>\n <InternalStatusIndicator type=\"loading\">\n <LiveRegion visible={true}>{i18n('loadingText', loadingText)}</LiveRegion>\n </InternalStatusIndicator>\n </div>\n ) : (\n <div {...containerProps} ref={__internalRootRef}>\n {header && <div className={clsx(styles.header)}>{header}</div>}\n <LinkDefaultVariantContext.Provider value={{ defaultVariant: 'primary' }}>\n <div className={clsx(styles.content)}>{children}</div>\n </LinkDefaultVariantContext.Provider>\n {footer && <div className={styles.footer}>{footer}</div>}\n </div>\n );\n}\n\nexport const createWidgetizedHelpPanel = createWidgetizedComponent(HelpPanelImplementation);\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HelpPanelProps } from './interfaces';
|
|
3
3
|
export { HelpPanelProps };
|
|
4
|
-
export default function HelpPanel(
|
|
4
|
+
export default function HelpPanel(props: HelpPanelProps): JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/help-panel/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/help-panel/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,cAAc,eAGtD"}
|
|
@@ -1,29 +1,12 @@
|
|
|
1
|
-
import { __rest } from "tslib";
|
|
2
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
import clsx from 'clsx';
|
|
5
3
|
import React from 'react';
|
|
6
|
-
import { getBaseProps } from '../internal/base-component';
|
|
7
|
-
import InternalStatusIndicator from '../status-indicator/internal';
|
|
8
|
-
import styles from './styles.css.js';
|
|
9
4
|
import { applyDisplayName } from '../internal/utils/apply-display-name';
|
|
10
5
|
import useBaseComponent from '../internal/hooks/use-base-component';
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var { header, footer, children, loading, loadingText } = _a, restProps = __rest(_a, ["header", "footer", "children", "loading", "loadingText"]);
|
|
16
|
-
const { __internalRootRef } = useBaseComponent('HelpPanel');
|
|
17
|
-
const baseProps = getBaseProps(restProps);
|
|
18
|
-
const i18n = useInternalI18n('help-panel');
|
|
19
|
-
const containerProps = Object.assign(Object.assign({}, baseProps), { className: clsx(baseProps.className, styles['help-panel']) });
|
|
20
|
-
return loading ? (React.createElement("div", Object.assign({}, containerProps, { ref: __internalRootRef }),
|
|
21
|
-
React.createElement(InternalStatusIndicator, { type: "loading" },
|
|
22
|
-
React.createElement(LiveRegion, { visible: true }, i18n('loadingText', loadingText))))) : (React.createElement("div", Object.assign({}, containerProps, { ref: __internalRootRef }),
|
|
23
|
-
header && React.createElement("div", { className: clsx(styles.header) }, header),
|
|
24
|
-
React.createElement(LinkDefaultVariantContext.Provider, { value: { defaultVariant: 'primary' } },
|
|
25
|
-
React.createElement("div", { className: clsx(styles.content) }, children)),
|
|
26
|
-
footer && React.createElement("div", { className: styles.footer }, footer)));
|
|
6
|
+
import { InternalHelpPanel } from './internal';
|
|
7
|
+
export default function HelpPanel(props) {
|
|
8
|
+
const internalProps = useBaseComponent('HelpPanel');
|
|
9
|
+
return React.createElement(InternalHelpPanel, Object.assign({}, props, internalProps));
|
|
27
10
|
}
|
|
28
11
|
applyDisplayName(HelpPanel, 'HelpPanel');
|
|
29
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/help-panel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/help-panel/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAI/C,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAqB;IACrD,MAAM,aAAa,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACpD,OAAO,oBAAC,iBAAiB,oBAAK,KAAK,EAAM,aAAa,EAAI,CAAC;AAC7D,CAAC;AAED,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { HelpPanelProps } from './interfaces';\nimport { InternalHelpPanel } from './internal';\n\nexport { HelpPanelProps };\n\nexport default function HelpPanel(props: HelpPanelProps) {\n const internalProps = useBaseComponent('HelpPanel');\n return <InternalHelpPanel {...props} {...internalProps} />;\n}\n\napplyDisplayName(HelpPanel, 'HelpPanel');\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/help-panel/internal.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,2DAA8B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { createWidgetizedHelpPanel } from './implementation';
|
|
4
|
+
export const InternalHelpPanel = createWidgetizedHelpPanel();
|
|
5
|
+
//# sourceMappingURL=internal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/help-panel/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,MAAM,CAAC,MAAM,iBAAiB,GAAG,yBAAyB,EAAE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { createWidgetizedHelpPanel } from './implementation';\n\nexport const InternalHelpPanel = createWidgetizedHelpPanel();\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/input/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,OAAO,EAA6C,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC1G,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EAAgB,MAAM,4BAA4B,CAAC;AAG9E,OAAO,EAAE,+BAA+B,EAAuB,MAAM,wCAAwC,CAAC;AAC9G,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIlF,MAAM,WAAW,kBACf,SAAQ,kBAAkB,EACxB,cAAc,EACd,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,EACxB,gBAAgB,EAChB,+BAA+B,EAC/B,0BAA0B;IAC5B,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC;IAC3C,UAAU,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAC/B,iBAAiB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACzC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAE/B,WAAW,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAEhC,kBAAkB,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IACjE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,gBAAgB,CAAC,EAAE,yBAAyB,CAAC,gBAAgB,CAAC,CAAC;IAC/D,kBAAkB,CAAC,EAAE,yBAAyB,CAAC;QAAE,aAAa,EAAE,IAAI,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IAE/E,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;;
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/input/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,OAAO,EAA6C,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC1G,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EAAgB,MAAM,4BAA4B,CAAC;AAG9E,OAAO,EAAE,+BAA+B,EAAuB,MAAM,wCAAwC,CAAC;AAC9G,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIlF,MAAM,WAAW,kBACf,SAAQ,kBAAkB,EACxB,cAAc,EACd,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,EACxB,gBAAgB,EAChB,+BAA+B,EAC/B,0BAA0B;IAC5B,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC;IAC3C,UAAU,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAC/B,iBAAiB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACzC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAE/B,WAAW,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAEhC,kBAAkB,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IACjE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,gBAAgB,CAAC,EAAE,yBAAyB,CAAC,gBAAgB,CAAC,CAAC;IAC/D,kBAAkB,CAAC,EAAE,yBAAyB,CAAC;QAAE,aAAa,EAAE,IAAI,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IAE/E,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;;AAsKD,wBAA+C"}
|
|
@@ -74,7 +74,7 @@ function InternalInput(_a, ref) {
|
|
|
74
74
|
if (attributes.type === 'visualSearch') {
|
|
75
75
|
attributes.type = 'text';
|
|
76
76
|
}
|
|
77
|
-
return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(baseProps.className, styles['input-container']), ref: __internalRootRef }),
|
|
77
|
+
return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(baseProps.className, styles['input-container']), ref: __internalRootRef, dir: type === 'email' ? 'ltr' : undefined }),
|
|
78
78
|
__leftIcon && (React.createElement("span", { onClick: __onLeftIconClick, className: styles['input-icon-left'] },
|
|
79
79
|
React.createElement(InternalIcon, { name: __leftIcon, variant: disabled || readOnly ? 'disabled' : __leftIconVariant }))),
|
|
80
80
|
React.createElement("input", Object.assign({ ref: mergedRef }, attributes)),
|