@cloudscape-design/components 3.0.609 → 3.0.611
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/alert/index.d.ts.map +1 -1
- package/alert/index.js +5 -1
- package/alert/index.js.map +1 -1
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +33 -29
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/index.d.ts.map +1 -1
- package/app-layout/index.js +16 -12
- package/app-layout/index.js.map +1 -1
- package/button-dropdown/category-elements/styles.css.js +14 -14
- package/button-dropdown/category-elements/styles.scoped.css +25 -22
- package/button-dropdown/category-elements/styles.selectors.js +14 -14
- package/container/index.d.ts.map +1 -1
- package/container/index.js +1 -1
- package/container/index.js.map +1 -1
- package/flashbar/flash.d.ts.map +1 -1
- package/flashbar/flash.js +8 -2
- package/flashbar/flash.js.map +1 -1
- package/form/index.js +2 -2
- package/form/index.js.map +1 -1
- package/internal/analytics/components/analytics-funnel.d.ts +4 -4
- package/internal/analytics/components/analytics-funnel.d.ts.map +1 -1
- package/internal/analytics/components/analytics-funnel.js +9 -9
- package/internal/analytics/components/analytics-funnel.js.map +1 -1
- package/internal/analytics/context/analytics-context.d.ts +2 -2
- package/internal/analytics/context/analytics-context.d.ts.map +1 -1
- package/internal/analytics/context/analytics-context.js.map +1 -1
- package/internal/analytics/hooks/use-funnel.d.ts +1 -1
- package/internal/analytics/hooks/use-funnel.js +3 -3
- package/internal/analytics/hooks/use-funnel.js.map +1 -1
- package/internal/analytics/interfaces.d.ts +13 -7
- package/internal/analytics/interfaces.d.ts.map +1 -1
- package/internal/analytics/interfaces.js.map +1 -1
- package/internal/components/chart-popover/index.d.ts +1 -1
- package/internal/components/chart-popover/index.d.ts.map +1 -1
- package/internal/components/chart-popover/index.js.map +1 -1
- package/internal/components/dropdown/dropdown-fit-handler.d.ts +12 -12
- package/internal/components/dropdown/dropdown-fit-handler.d.ts.map +1 -1
- package/internal/components/dropdown/dropdown-fit-handler.js +103 -83
- package/internal/components/dropdown/dropdown-fit-handler.js.map +1 -1
- package/internal/components/dropdown/index.d.ts.map +1 -1
- package/internal/components/dropdown/index.js +30 -29
- package/internal/components/dropdown/index.js.map +1 -1
- package/internal/components/tooltip/index.d.ts +1 -1
- package/internal/components/tooltip/index.d.ts.map +1 -1
- package/internal/components/tooltip/index.js.map +1 -1
- package/internal/direction.d.ts +14 -0
- package/internal/direction.d.ts.map +1 -1
- package/internal/direction.js +25 -0
- package/internal/direction.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/theming/index.cjs +14 -14
- package/internal/generated/theming/index.js +14 -14
- package/internal/hooks/use-performance-marks.js +2 -2
- package/internal/hooks/use-performance-marks.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/scrollable-containers.d.ts +5 -5
- package/internal/utils/scrollable-containers.d.ts.map +1 -1
- package/internal/utils/scrollable-containers.js +19 -19
- package/internal/utils/scrollable-containers.js.map +1 -1
- package/package.json +1 -1
- package/popover/container.d.ts +1 -1
- package/popover/container.d.ts.map +1 -1
- package/popover/container.js.map +1 -1
- package/popover/interfaces.d.ts +4 -4
- package/popover/interfaces.d.ts.map +1 -1
- package/popover/interfaces.js.map +1 -1
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +76 -64
- package/popover/styles.selectors.js +50 -50
- package/popover/use-popover-position.d.ts +1 -1
- package/popover/use-popover-position.d.ts.map +1 -1
- package/popover/use-popover-position.js +32 -29
- package/popover/use-popover-position.js.map +1 -1
- package/popover/utils/positions.d.ts +2 -2
- package/popover/utils/positions.d.ts.map +1 -1
- package/popover/utils/positions.js +74 -74
- package/popover/utils/positions.js.map +1 -1
- package/wizard/index.js +1 -1
- package/wizard/index.js.map +1 -1
- package/wizard/wizard-form.js +1 -1
- package/wizard/wizard-form.js.map +1 -1
package/alert/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/alert/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/alert/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ1C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,QAAA,MAAM,KAAK,mFAyDV,CAAC;AAGF,eAAe,KAAK,CAAC"}
|
package/alert/index.js
CHANGED
|
@@ -8,11 +8,13 @@ import useBaseComponent from '../internal/hooks/use-base-component';
|
|
|
8
8
|
import { FunnelMetrics } from '../internal/analytics';
|
|
9
9
|
import { useFunnel, useFunnelStep, useFunnelSubStep } from '../internal/analytics/hooks/use-funnel';
|
|
10
10
|
import { getNameFromSelector, getSubStepAllSelector } from '../internal/analytics/selectors';
|
|
11
|
+
import { getAnalyticsMetadataProps } from '../internal/base-component';
|
|
11
12
|
const Alert = React.forwardRef((_a, ref) => {
|
|
12
13
|
var { type = 'info', visible = true } = _a, props = __rest(_a, ["type", "visible"]);
|
|
14
|
+
const analyticsMetadata = getAnalyticsMetadataProps(props);
|
|
13
15
|
const baseComponentProps = useBaseComponent('Alert', {
|
|
14
16
|
props: { type, visible, dismissible: props.dismissible },
|
|
15
|
-
});
|
|
17
|
+
}, analyticsMetadata);
|
|
16
18
|
const { funnelInteractionId, submissionAttempt, funnelState, errorCount } = useFunnel();
|
|
17
19
|
const { stepNumber, stepNameSelector } = useFunnelStep();
|
|
18
20
|
const { subStepSelector, subStepNameSelector } = useFunnelSubStep();
|
|
@@ -35,6 +37,8 @@ const Alert = React.forwardRef((_a, ref) => {
|
|
|
35
37
|
stepName,
|
|
36
38
|
stepNameSelector,
|
|
37
39
|
subStepAllSelector: getSubStepAllSelector(),
|
|
40
|
+
instanceIdentifier: analyticsMetadata === null || analyticsMetadata === void 0 ? void 0 : analyticsMetadata.instanceIdentifier,
|
|
41
|
+
errorContext: analyticsMetadata === null || analyticsMetadata === void 0 ? void 0 : analyticsMetadata.errorContext,
|
|
38
42
|
});
|
|
39
43
|
}
|
|
40
44
|
else {
|
package/alert/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/alert/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,aAAa,MAAM,YAAY,CAAC;AACvC,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/alert/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,aAAa,MAAM,YAAY,CAAC;AACvC,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,C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AC,kBAAkB,CAAC;wBAC/B,mBAAmB;wBACnB,eAAe;wBACf,WAAW;wBACX,mBAAmB;wBACnB,UAAU;wBACV,QAAQ;wBACR,gBAAgB;wBAChB,kBAAkB,EAAE,qBAAqB,EAAE;wBAC3C,kBAAkB,EAAE,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,kBAAkB;wBACzD,YAAY,EAAE,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,YAAY;qBAC9C,CAAC,CAAC;iBACJ;qBAAM;oBACL,aAAa,CAAC,WAAW,CAAC;wBACxB,mBAAmB;qBACpB,CAAC,CAAC;iBACJ;aACF;YAED,OAAO,GAAG,EAAE;gBACV,uDAAuD;gBACvD,UAAU,CAAC,OAAO,EAAE,CAAC;YACvB,CAAC,CAAC;SACH;QAED,uDAAuD;IACzD,CAAC,EAAE,CAAC,mBAAmB,EAAE,OAAO,EAAE,iBAAiB,EAAE,UAAU,CAAC,CAAC,CAAC;IAElE,OAAO,oBAAC,aAAa,kBAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,IAAM,KAAK,EAAM,kBAAkB,IAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AACtG,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACjC,eAAe,KAAK,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect } from 'react';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { AlertProps } from './interfaces';\nimport InternalAlert from './internal';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { FunnelMetrics } from '../internal/analytics';\nimport { useFunnel, useFunnelStep, useFunnelSubStep } from '../internal/analytics/hooks/use-funnel';\nimport { getNameFromSelector, getSubStepAllSelector } from '../internal/analytics/selectors';\nimport { BasePropsWithAnalyticsMetadata, getAnalyticsMetadataProps } from '../internal/base-component';\n\nexport { AlertProps };\n\nconst Alert = React.forwardRef(\n ({ type = 'info', visible = true, ...props }: AlertProps, ref: React.Ref<AlertProps.Ref>) => {\n const analyticsMetadata = getAnalyticsMetadataProps(props as BasePropsWithAnalyticsMetadata);\n const baseComponentProps = useBaseComponent<HTMLDivElement>(\n 'Alert',\n {\n props: { type, visible, dismissible: props.dismissible },\n },\n analyticsMetadata\n );\n\n const { funnelInteractionId, submissionAttempt, funnelState, errorCount } = useFunnel();\n const { stepNumber, stepNameSelector } = useFunnelStep();\n const { subStepSelector, subStepNameSelector } = useFunnelSubStep();\n\n useEffect(() => {\n if (funnelInteractionId && visible && type === 'error' && funnelState.current !== 'complete') {\n const stepName = getNameFromSelector(stepNameSelector);\n const subStepName = getNameFromSelector(subStepNameSelector);\n\n errorCount.current++;\n\n // We don't want to report an error if it is hidden, e.g. inside an Expandable Section.\n const errorIsVisible = (baseComponentProps.__internalRootRef.current?.getBoundingClientRect()?.width ?? 0) > 0;\n\n if (errorIsVisible) {\n if (subStepSelector) {\n FunnelMetrics.funnelSubStepError({\n funnelInteractionId,\n subStepSelector,\n subStepName,\n subStepNameSelector,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n instanceIdentifier: analyticsMetadata?.instanceIdentifier,\n errorContext: analyticsMetadata?.errorContext,\n });\n } else {\n FunnelMetrics.funnelError({\n funnelInteractionId,\n });\n }\n }\n\n return () => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n errorCount.current--;\n };\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [funnelInteractionId, visible, submissionAttempt, errorCount]);\n\n return <InternalAlert type={type} visible={visible} {...props} {...baseComponentProps} ref={ref} />;\n }\n);\n\napplyDisplayName(Alert, 'Alert');\nexport default Alert;\n"]}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"arrow": "
|
|
5
|
-
"arrow-outer": "awsui_arrow-
|
|
6
|
-
"arrow-inner": "awsui_arrow-
|
|
7
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
8
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
10
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
12
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
14
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
15
|
-
"annotation": "
|
|
16
|
-
"next-button": "awsui_next-
|
|
17
|
-
"previous-button": "awsui_previous-
|
|
18
|
-
"finish-button": "awsui_finish-
|
|
19
|
-
"header": "
|
|
20
|
-
"step-counter-content": "awsui_step-counter-
|
|
21
|
-
"content": "
|
|
22
|
-
"description": "
|
|
23
|
-
"actionBar": "
|
|
24
|
-
"stepCounter": "
|
|
25
|
-
"divider": "
|
|
26
|
-
"hotspot": "
|
|
27
|
-
"icon": "
|
|
4
|
+
"arrow": "awsui_arrow_1hpp3_10w1c_99",
|
|
5
|
+
"arrow-outer": "awsui_arrow-outer_1hpp3_10w1c_103",
|
|
6
|
+
"arrow-inner": "awsui_arrow-inner_1hpp3_10w1c_103",
|
|
7
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_10w1c_144",
|
|
8
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_10w1c_144",
|
|
9
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_10w1c_147",
|
|
10
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_10w1c_147",
|
|
11
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_10w1c_150",
|
|
12
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_10w1c_150",
|
|
13
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_10w1c_153",
|
|
14
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_10w1c_153",
|
|
15
|
+
"annotation": "awsui_annotation_1hpp3_10w1c_161",
|
|
16
|
+
"next-button": "awsui_next-button_1hpp3_10w1c_162",
|
|
17
|
+
"previous-button": "awsui_previous-button_1hpp3_10w1c_163",
|
|
18
|
+
"finish-button": "awsui_finish-button_1hpp3_10w1c_164",
|
|
19
|
+
"header": "awsui_header_1hpp3_10w1c_165",
|
|
20
|
+
"step-counter-content": "awsui_step-counter-content_1hpp3_10w1c_166",
|
|
21
|
+
"content": "awsui_content_1hpp3_10w1c_167",
|
|
22
|
+
"description": "awsui_description_1hpp3_10w1c_171",
|
|
23
|
+
"actionBar": "awsui_actionBar_1hpp3_10w1c_176",
|
|
24
|
+
"stepCounter": "awsui_stepCounter_1hpp3_10w1c_183",
|
|
25
|
+
"divider": "awsui_divider_1hpp3_10w1c_187",
|
|
26
|
+
"hotspot": "awsui_hotspot_1hpp3_10w1c_191",
|
|
27
|
+
"icon": "awsui_icon_1hpp3_10w1c_258"
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -96,11 +96,11 @@ 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_arrow_1hpp3_10w1c_99:not(#\9) {
|
|
100
100
|
inline-size: 20px;
|
|
101
101
|
block-size: 10px;
|
|
102
102
|
}
|
|
103
|
-
.awsui_arrow-
|
|
103
|
+
.awsui_arrow-outer_1hpp3_10w1c_103:not(#\9), .awsui_arrow-inner_1hpp3_10w1c_103:not(#\9) {
|
|
104
104
|
position: absolute;
|
|
105
105
|
overflow: hidden;
|
|
106
106
|
inline-size: 20px;
|
|
@@ -108,7 +108,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
108
108
|
inset-block-start: 0;
|
|
109
109
|
inset-inline-start: 0;
|
|
110
110
|
}
|
|
111
|
-
.awsui_arrow-
|
|
111
|
+
.awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after, .awsui_arrow-inner_1hpp3_10w1c_103:not(#\9)::after {
|
|
112
112
|
content: "";
|
|
113
113
|
box-sizing: border-box;
|
|
114
114
|
display: inline-block;
|
|
@@ -124,29 +124,33 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
124
124
|
transform: rotate(45deg);
|
|
125
125
|
transform-origin: 0 100%;
|
|
126
126
|
}
|
|
127
|
-
.awsui_arrow-
|
|
127
|
+
.awsui_arrow-outer_1hpp3_10w1c_103:not(#\9):dir(rtl)::after, .awsui_arrow-inner_1hpp3_10w1c_103:not(#\9):dir(rtl)::after {
|
|
128
|
+
transform: rotate(-45deg);
|
|
129
|
+
transform-origin: 100% 100%;
|
|
130
|
+
}
|
|
131
|
+
.awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after {
|
|
128
132
|
background-color: var(--color-border-status-info-8upc6f, #0972d3);
|
|
129
133
|
}
|
|
130
|
-
.awsui_arrow-
|
|
134
|
+
.awsui_arrow-inner_1hpp3_10w1c_103:not(#\9) {
|
|
131
135
|
inset-block-start: 2px;
|
|
132
136
|
}
|
|
133
|
-
.awsui_arrow-
|
|
137
|
+
.awsui_arrow-inner_1hpp3_10w1c_103:not(#\9)::after {
|
|
134
138
|
border-start-start-radius: 1px;
|
|
135
139
|
border-start-end-radius: 0;
|
|
136
140
|
border-end-start-radius: 0;
|
|
137
141
|
border-end-end-radius: 0;
|
|
138
142
|
background-color: var(--color-background-status-info-mvnbre, #f2f8fd);
|
|
139
143
|
}
|
|
140
|
-
.awsui_arrow-position-right-
|
|
144
|
+
.awsui_arrow-position-right-top_1hpp3_10w1c_144 > .awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_10w1c_144 > .awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after {
|
|
141
145
|
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-8jp634, rgba(0, 7, 22, 0.12));
|
|
142
146
|
}
|
|
143
|
-
.awsui_arrow-position-left-
|
|
147
|
+
.awsui_arrow-position-left-top_1hpp3_10w1c_147 > .awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_10w1c_147 > .awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after {
|
|
144
148
|
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-8jp634, rgba(0, 7, 22, 0.12));
|
|
145
149
|
}
|
|
146
|
-
.awsui_arrow-position-top-
|
|
150
|
+
.awsui_arrow-position-top-center_1hpp3_10w1c_150 > .awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_10w1c_150 > .awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after {
|
|
147
151
|
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-8jp634, rgba(0, 7, 22, 0.12));
|
|
148
152
|
}
|
|
149
|
-
.awsui_arrow-position-bottom-
|
|
153
|
+
.awsui_arrow-position-bottom-center_1hpp3_10w1c_153 > .awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_10w1c_153 > .awsui_arrow-outer_1hpp3_10w1c_103:not(#\9)::after {
|
|
150
154
|
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-8jp634, rgba(0, 7, 22, 0.12));
|
|
151
155
|
}
|
|
152
156
|
|
|
@@ -154,37 +158,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
154
158
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
155
159
|
SPDX-License-Identifier: Apache-2.0
|
|
156
160
|
*/
|
|
157
|
-
.
|
|
158
|
-
.awsui_next-
|
|
159
|
-
.awsui_previous-
|
|
160
|
-
.awsui_finish-
|
|
161
|
-
.
|
|
162
|
-
.awsui_step-counter-
|
|
163
|
-
.
|
|
161
|
+
.awsui_annotation_1hpp3_10w1c_161:not(#\9),
|
|
162
|
+
.awsui_next-button_1hpp3_10w1c_162:not(#\9),
|
|
163
|
+
.awsui_previous-button_1hpp3_10w1c_163:not(#\9),
|
|
164
|
+
.awsui_finish-button_1hpp3_10w1c_164:not(#\9),
|
|
165
|
+
.awsui_header_1hpp3_10w1c_165:not(#\9),
|
|
166
|
+
.awsui_step-counter-content_1hpp3_10w1c_166:not(#\9),
|
|
167
|
+
.awsui_content_1hpp3_10w1c_167:not(#\9) {
|
|
164
168
|
/* used in test-utils */
|
|
165
169
|
}
|
|
166
170
|
|
|
167
|
-
.
|
|
171
|
+
.awsui_description_1hpp3_10w1c_171:not(#\9) {
|
|
168
172
|
overflow: hidden;
|
|
169
173
|
margin-block-start: var(--space-xxs-p8yyaw, 4px);
|
|
170
174
|
}
|
|
171
175
|
|
|
172
|
-
.
|
|
176
|
+
.awsui_actionBar_1hpp3_10w1c_176:not(#\9) {
|
|
173
177
|
display: flex;
|
|
174
178
|
justify-content: space-between;
|
|
175
179
|
align-items: center;
|
|
176
180
|
position: relative;
|
|
177
181
|
}
|
|
178
182
|
|
|
179
|
-
.
|
|
183
|
+
.awsui_stepCounter_1hpp3_10w1c_183:not(#\9) {
|
|
180
184
|
margin-inline-end: 20px;
|
|
181
185
|
}
|
|
182
186
|
|
|
183
|
-
.
|
|
187
|
+
.awsui_divider_1hpp3_10w1c_187:not(#\9) {
|
|
184
188
|
border-block-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
185
189
|
}
|
|
186
190
|
|
|
187
|
-
.
|
|
191
|
+
.awsui_hotspot_1hpp3_10w1c_191:not(#\9) {
|
|
188
192
|
border-collapse: separate;
|
|
189
193
|
border-spacing: 0;
|
|
190
194
|
box-sizing: border-box;
|
|
@@ -228,17 +232,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
228
232
|
inline-size: 16px;
|
|
229
233
|
block-size: 16px;
|
|
230
234
|
}
|
|
231
|
-
.
|
|
235
|
+
.awsui_hotspot_1hpp3_10w1c_191:not(#\9):focus {
|
|
232
236
|
outline: none;
|
|
233
237
|
}
|
|
234
|
-
body[data-awsui-focus-visible=true] .
|
|
238
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_10w1c_191:not(#\9):focus {
|
|
235
239
|
position: relative;
|
|
236
240
|
}
|
|
237
|
-
body[data-awsui-focus-visible=true] .
|
|
241
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_10w1c_191:not(#\9):focus {
|
|
238
242
|
outline: 2px dotted transparent;
|
|
239
243
|
outline-offset: calc(2px - 1px);
|
|
240
244
|
}
|
|
241
|
-
body[data-awsui-focus-visible=true] .
|
|
245
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_10w1c_191:not(#\9):focus::before {
|
|
242
246
|
content: " ";
|
|
243
247
|
display: block;
|
|
244
248
|
position: absolute;
|
|
@@ -252,13 +256,13 @@ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_8n93s_187:not(#\9):focu
|
|
|
252
256
|
border-end-end-radius: var(--border-radius-control-circular-focus-ring-w07mub, 4px);
|
|
253
257
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
254
258
|
}
|
|
255
|
-
.
|
|
259
|
+
.awsui_hotspot_1hpp3_10w1c_191 > .awsui_icon_1hpp3_10w1c_258:not(#\9) {
|
|
256
260
|
position: relative;
|
|
257
261
|
stroke: var(--color-text-link-default-latg1a, #0972d3);
|
|
258
262
|
}
|
|
259
|
-
.
|
|
263
|
+
.awsui_hotspot_1hpp3_10w1c_191:not(#\9):hover > .awsui_icon_1hpp3_10w1c_258 {
|
|
260
264
|
stroke: var(--color-text-link-hover-8j6p14, #033160);
|
|
261
265
|
}
|
|
262
|
-
.
|
|
266
|
+
.awsui_hotspot_1hpp3_10w1c_191:not(#\9):active > .awsui_icon_1hpp3_10w1c_258 {
|
|
263
267
|
stroke: var(--color-text-link-default-latg1a, #0972d3);
|
|
264
268
|
}
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"arrow": "
|
|
6
|
-
"arrow-outer": "awsui_arrow-
|
|
7
|
-
"arrow-inner": "awsui_arrow-
|
|
8
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
10
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
12
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
14
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
15
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
16
|
-
"annotation": "
|
|
17
|
-
"next-button": "awsui_next-
|
|
18
|
-
"previous-button": "awsui_previous-
|
|
19
|
-
"finish-button": "awsui_finish-
|
|
20
|
-
"header": "
|
|
21
|
-
"step-counter-content": "awsui_step-counter-
|
|
22
|
-
"content": "
|
|
23
|
-
"description": "
|
|
24
|
-
"actionBar": "
|
|
25
|
-
"stepCounter": "
|
|
26
|
-
"divider": "
|
|
27
|
-
"hotspot": "
|
|
28
|
-
"icon": "
|
|
5
|
+
"arrow": "awsui_arrow_1hpp3_10w1c_99",
|
|
6
|
+
"arrow-outer": "awsui_arrow-outer_1hpp3_10w1c_103",
|
|
7
|
+
"arrow-inner": "awsui_arrow-inner_1hpp3_10w1c_103",
|
|
8
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_10w1c_144",
|
|
9
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_10w1c_144",
|
|
10
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_10w1c_147",
|
|
11
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_10w1c_147",
|
|
12
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_10w1c_150",
|
|
13
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_10w1c_150",
|
|
14
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_10w1c_153",
|
|
15
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_10w1c_153",
|
|
16
|
+
"annotation": "awsui_annotation_1hpp3_10w1c_161",
|
|
17
|
+
"next-button": "awsui_next-button_1hpp3_10w1c_162",
|
|
18
|
+
"previous-button": "awsui_previous-button_1hpp3_10w1c_163",
|
|
19
|
+
"finish-button": "awsui_finish-button_1hpp3_10w1c_164",
|
|
20
|
+
"header": "awsui_header_1hpp3_10w1c_165",
|
|
21
|
+
"step-counter-content": "awsui_step-counter-content_1hpp3_10w1c_166",
|
|
22
|
+
"content": "awsui_content_1hpp3_10w1c_167",
|
|
23
|
+
"description": "awsui_description_1hpp3_10w1c_171",
|
|
24
|
+
"actionBar": "awsui_actionBar_1hpp3_10w1c_176",
|
|
25
|
+
"stepCounter": "awsui_stepCounter_1hpp3_10w1c_183",
|
|
26
|
+
"divider": "awsui_divider_1hpp3_10w1c_187",
|
|
27
|
+
"hotspot": "awsui_hotspot_1hpp3_10w1c_191",
|
|
28
|
+
"icon": "awsui_icon_1hpp3_10w1c_258"
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app-layout/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAY9C,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app-layout/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAY9C,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,QAAA,MAAM,SAAS,2FAmGd,CAAC;AAGF,eAAe,SAAS,CAAC"}
|
package/app-layout/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import { warnOnce } from '@cloudscape-design/component-toolkit/internal';
|
|
|
16
16
|
import { useAppLayoutPlacement } from './utils/use-app-layout-placement';
|
|
17
17
|
import { useMergeRefs } from '../internal/hooks/use-merge-refs';
|
|
18
18
|
const AppLayout = React.forwardRef((_a, ref) => {
|
|
19
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
19
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
20
|
var { contentType = 'default', headerSelector = '#b #h', footerSelector = '#b #f', navigationWidth = 280, toolsWidth = 290, maxContentWidth, minContentWidth, navigationOpen: controlledNavigationOpen, onNavigationChange: controlledOnNavigationChange } = _a, rest = __rest(_a, ["contentType", "headerSelector", "footerSelector", "navigationWidth", "toolsWidth", "maxContentWidth", "minContentWidth", "navigationOpen", "onNavigationChange"]);
|
|
21
21
|
if (isDevelopment) {
|
|
22
22
|
if (rest.toolsOpen && rest.toolsHide) {
|
|
@@ -37,23 +37,27 @@ const AppLayout = React.forwardRef((_a, ref) => {
|
|
|
37
37
|
stickyNotifications: rest.stickyNotifications,
|
|
38
38
|
disableContentHeaderOverlap: rest.disableContentHeaderOverlap,
|
|
39
39
|
},
|
|
40
|
+
metadata: {
|
|
41
|
+
drawersCount: (_c = (_b = rest.drawers) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : null,
|
|
42
|
+
hasContentHeader: !!rest.contentHeader,
|
|
43
|
+
},
|
|
40
44
|
});
|
|
41
45
|
const isRefresh = useVisualRefresh();
|
|
42
46
|
const isMobile = useMobile();
|
|
43
47
|
const i18n = useInternalI18n('app-layout');
|
|
44
48
|
const ariaLabels = {
|
|
45
|
-
navigation: i18n('ariaLabels.navigation', (
|
|
46
|
-
navigationClose: i18n('ariaLabels.navigationClose', (
|
|
47
|
-
navigationToggle: i18n('ariaLabels.navigationToggle', (
|
|
48
|
-
notifications: i18n('ariaLabels.notifications', (
|
|
49
|
-
tools: i18n('ariaLabels.tools', (
|
|
50
|
-
toolsClose: i18n('ariaLabels.toolsClose', (
|
|
51
|
-
toolsToggle: i18n('ariaLabels.toolsToggle', (
|
|
52
|
-
drawers: i18n('ariaLabels.drawers', (
|
|
53
|
-
drawersOverflow: i18n('ariaLabels.drawersOverflow', (
|
|
54
|
-
drawersOverflowWithBadge: i18n('ariaLabels.drawersOverflowWithBadge', (
|
|
49
|
+
navigation: i18n('ariaLabels.navigation', (_d = rest.ariaLabels) === null || _d === void 0 ? void 0 : _d.navigation),
|
|
50
|
+
navigationClose: i18n('ariaLabels.navigationClose', (_e = rest.ariaLabels) === null || _e === void 0 ? void 0 : _e.navigationClose),
|
|
51
|
+
navigationToggle: i18n('ariaLabels.navigationToggle', (_f = rest.ariaLabels) === null || _f === void 0 ? void 0 : _f.navigationToggle),
|
|
52
|
+
notifications: i18n('ariaLabels.notifications', (_g = rest.ariaLabels) === null || _g === void 0 ? void 0 : _g.notifications),
|
|
53
|
+
tools: i18n('ariaLabels.tools', (_h = rest.ariaLabels) === null || _h === void 0 ? void 0 : _h.tools),
|
|
54
|
+
toolsClose: i18n('ariaLabels.toolsClose', (_j = rest.ariaLabels) === null || _j === void 0 ? void 0 : _j.toolsClose),
|
|
55
|
+
toolsToggle: i18n('ariaLabels.toolsToggle', (_k = rest.ariaLabels) === null || _k === void 0 ? void 0 : _k.toolsToggle),
|
|
56
|
+
drawers: i18n('ariaLabels.drawers', (_l = rest.ariaLabels) === null || _l === void 0 ? void 0 : _l.drawers),
|
|
57
|
+
drawersOverflow: i18n('ariaLabels.drawersOverflow', (_m = rest.ariaLabels) === null || _m === void 0 ? void 0 : _m.drawersOverflow),
|
|
58
|
+
drawersOverflowWithBadge: i18n('ariaLabels.drawersOverflowWithBadge', (_o = rest.ariaLabels) === null || _o === void 0 ? void 0 : _o.drawersOverflowWithBadge),
|
|
55
59
|
};
|
|
56
|
-
const
|
|
60
|
+
const _p = applyDefaults(contentType, { maxContentWidth, minContentWidth }, isRefresh), { navigationOpen: defaultNavigationOpen } = _p, restDefaults = __rest(_p, ["navigationOpen"]);
|
|
57
61
|
const [navigationOpen = false, setNavigationOpen] = useControllable(controlledNavigationOpen, controlledOnNavigationChange, isMobile ? false : defaultNavigationOpen, { componentName: 'AppLayout', controlledProp: 'navigationOpen', changeHandler: 'onNavigationChange' });
|
|
58
62
|
const onNavigationChange = (event) => {
|
|
59
63
|
setNavigationOpen(event.detail.open);
|
package/app-layout/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app-layout/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MA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AAE,cAAc,EAAE,qBAAqB,OAI5C,EAJiD,YAAY,cAAxD,kBAA0D,CAI/D,CAAC;IAEF,MAAM,CAAC,cAAc,GAAG,KAAK,EAAE,iBAAiB,CAAC,GAAG,eAAe,CACjE,wBAAwB,EACxB,4BAA4B,EAC5B,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,qBAAqB,EACxC,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,oBAAoB,EAAE,CACtG,CAAC;IACF,MAAM,kBAAkB,GAAG,CAAC,KAA4D,EAAE,EAAE;QAC1F,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACrC,4BAA4B,aAA5B,4BAA4B,uBAA5B,4BAA4B,CAAG,KAAK,CAAC,CAAC;IACxC,CAAC,CAAC;IAEF,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,qBAAqB,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;IAEnF,wDAAwD;IACxD,MAAM,KAAK,+CACT,WAAW;QACX,eAAe;QACf,UAAU;QACV,cAAc;QACd,kBAAkB,IACf,YAAY,GACZ,IAAI,KACP,UAAU;QACV,SAAS,GACV,CAAC;IAEF,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAErC,OAAO,CACL,2CAAK,GAAG,EAAE,YAAY,CAAC,iBAAiB,EAAE,OAAO,CAAC,IAAM,SAAS;QAC/D,oBAAC,iBAAiB,kBAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,CACtC,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AACzC,eAAe,SAAS,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { useInternalI18n } from '../i18n/context';\nimport { getBaseProps } from '../internal/base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { AppLayoutProps } from './interfaces';\nimport { AppLayoutInternal } from './internal';\nimport { applyDefaults } from './defaults';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { useControllable } from '../internal/hooks/use-controllable';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { NonCancelableCustomEvent } from '../internal/events';\nimport { isDevelopment } from '../internal/is-development';\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\nimport { useAppLayoutPlacement } from './utils/use-app-layout-placement';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\n\nexport { AppLayoutProps };\n\nconst AppLayout = React.forwardRef(\n (\n {\n contentType = 'default',\n headerSelector = '#b #h',\n footerSelector = '#b #f',\n navigationWidth = 280,\n toolsWidth = 290,\n maxContentWidth,\n minContentWidth,\n navigationOpen: controlledNavigationOpen,\n onNavigationChange: controlledOnNavigationChange,\n ...rest\n }: AppLayoutProps,\n ref: React.Ref<AppLayoutProps.Ref>\n ) => {\n if (isDevelopment) {\n if (rest.toolsOpen && rest.toolsHide) {\n warnOnce(\n 'AppLayout',\n `You have enabled both the \\`toolsOpen\\` prop and the \\`toolsHide\\` prop. This is not supported. Set \\`toolsOpen\\` to \\`false\\` when you set \\`toolsHide\\` to \\`true\\`.`\n );\n }\n }\n const { __internalRootRef } = useBaseComponent<HTMLDivElement>('AppLayout', {\n props: {\n contentType,\n disableContentPaddings: rest.disableContentPaddings,\n disableBodyScroll: rest.disableBodyScroll,\n navigationWidth,\n navigationHide: rest.navigationHide,\n toolsHide: rest.toolsHide,\n toolsWidth,\n maxContentWidth,\n minContentWidth,\n stickyNotifications: rest.stickyNotifications,\n disableContentHeaderOverlap: rest.disableContentHeaderOverlap,\n },\n });\n const isRefresh = useVisualRefresh();\n const isMobile = useMobile();\n\n const i18n = useInternalI18n('app-layout');\n const ariaLabels = {\n navigation: i18n('ariaLabels.navigation', rest.ariaLabels?.navigation),\n navigationClose: i18n('ariaLabels.navigationClose', rest.ariaLabels?.navigationClose),\n navigationToggle: i18n('ariaLabels.navigationToggle', rest.ariaLabels?.navigationToggle),\n notifications: i18n('ariaLabels.notifications', rest.ariaLabels?.notifications),\n tools: i18n('ariaLabels.tools', rest.ariaLabels?.tools),\n toolsClose: i18n('ariaLabels.toolsClose', rest.ariaLabels?.toolsClose),\n toolsToggle: i18n('ariaLabels.toolsToggle', rest.ariaLabels?.toolsToggle),\n drawers: i18n('ariaLabels.drawers', rest.ariaLabels?.drawers),\n drawersOverflow: i18n('ariaLabels.drawersOverflow', rest.ariaLabels?.drawersOverflow),\n drawersOverflowWithBadge: i18n('ariaLabels.drawersOverflowWithBadge', rest.ariaLabels?.drawersOverflowWithBadge),\n };\n const { navigationOpen: defaultNavigationOpen, ...restDefaults } = applyDefaults(\n contentType,\n { maxContentWidth, minContentWidth },\n isRefresh\n );\n\n const [navigationOpen = false, setNavigationOpen] = useControllable(\n controlledNavigationOpen,\n controlledOnNavigationChange,\n isMobile ? false : defaultNavigationOpen,\n { componentName: 'AppLayout', controlledProp: 'navigationOpen', changeHandler: 'onNavigationChange' }\n );\n const onNavigationChange = (event: NonCancelableCustomEvent<AppLayoutProps.ChangeDetail>) => {\n setNavigationOpen(event.detail.open);\n controlledOnNavigationChange?.(event);\n };\n\n const [rootRef, placement] = useAppLayoutPlacement(headerSelector, footerSelector);\n\n // This re-builds the props including the default values\n const props = {\n contentType,\n navigationWidth,\n toolsWidth,\n navigationOpen,\n onNavigationChange,\n ...restDefaults,\n ...rest,\n ariaLabels,\n placement,\n };\n\n const baseProps = getBaseProps(rest);\n\n return (\n <div ref={useMergeRefs(__internalRootRef, rootRef)} {...baseProps}>\n <AppLayoutInternal ref={ref} {...props} />\n </div>\n );\n }\n);\n\napplyDisplayName(AppLayout, 'AppLayout');\nexport default AppLayout;\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app-lay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V,SAAS,GACV,CAAC;IAEF,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAErC,OAAO,CACL,2CAAK,GAAG,EAAE,YAAY,CAAC,iBAAiB,EAAE,OAAO,CAAC,IAAM,SAAS;QAC/D,oBAAC,iBAAiB,kBAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,CACtC,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AACzC,eAAe,SAAS,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { useInternalI18n } from '../i18n/context';\nimport { getBaseProps } from '../internal/base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { AppLayoutProps } from './interfaces';\nimport { AppLayoutInternal } from './internal';\nimport { applyDefaults } from './defaults';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { useControllable } from '../internal/hooks/use-controllable';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { NonCancelableCustomEvent } from '../internal/events';\nimport { isDevelopment } from '../internal/is-development';\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\nimport { useAppLayoutPlacement } from './utils/use-app-layout-placement';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\n\nexport { AppLayoutProps };\n\nconst AppLayout = React.forwardRef(\n (\n {\n contentType = 'default',\n headerSelector = '#b #h',\n footerSelector = '#b #f',\n navigationWidth = 280,\n toolsWidth = 290,\n maxContentWidth,\n minContentWidth,\n navigationOpen: controlledNavigationOpen,\n onNavigationChange: controlledOnNavigationChange,\n ...rest\n }: AppLayoutProps,\n ref: React.Ref<AppLayoutProps.Ref>\n ) => {\n if (isDevelopment) {\n if (rest.toolsOpen && rest.toolsHide) {\n warnOnce(\n 'AppLayout',\n `You have enabled both the \\`toolsOpen\\` prop and the \\`toolsHide\\` prop. This is not supported. Set \\`toolsOpen\\` to \\`false\\` when you set \\`toolsHide\\` to \\`true\\`.`\n );\n }\n }\n const { __internalRootRef } = useBaseComponent<HTMLDivElement>('AppLayout', {\n props: {\n contentType,\n disableContentPaddings: rest.disableContentPaddings,\n disableBodyScroll: rest.disableBodyScroll,\n navigationWidth,\n navigationHide: rest.navigationHide,\n toolsHide: rest.toolsHide,\n toolsWidth,\n maxContentWidth,\n minContentWidth,\n stickyNotifications: rest.stickyNotifications,\n disableContentHeaderOverlap: rest.disableContentHeaderOverlap,\n },\n metadata: {\n drawersCount: rest.drawers?.length ?? null,\n hasContentHeader: !!rest.contentHeader,\n },\n });\n const isRefresh = useVisualRefresh();\n const isMobile = useMobile();\n\n const i18n = useInternalI18n('app-layout');\n const ariaLabels = {\n navigation: i18n('ariaLabels.navigation', rest.ariaLabels?.navigation),\n navigationClose: i18n('ariaLabels.navigationClose', rest.ariaLabels?.navigationClose),\n navigationToggle: i18n('ariaLabels.navigationToggle', rest.ariaLabels?.navigationToggle),\n notifications: i18n('ariaLabels.notifications', rest.ariaLabels?.notifications),\n tools: i18n('ariaLabels.tools', rest.ariaLabels?.tools),\n toolsClose: i18n('ariaLabels.toolsClose', rest.ariaLabels?.toolsClose),\n toolsToggle: i18n('ariaLabels.toolsToggle', rest.ariaLabels?.toolsToggle),\n drawers: i18n('ariaLabels.drawers', rest.ariaLabels?.drawers),\n drawersOverflow: i18n('ariaLabels.drawersOverflow', rest.ariaLabels?.drawersOverflow),\n drawersOverflowWithBadge: i18n('ariaLabels.drawersOverflowWithBadge', rest.ariaLabels?.drawersOverflowWithBadge),\n };\n const { navigationOpen: defaultNavigationOpen, ...restDefaults } = applyDefaults(\n contentType,\n { maxContentWidth, minContentWidth },\n isRefresh\n );\n\n const [navigationOpen = false, setNavigationOpen] = useControllable(\n controlledNavigationOpen,\n controlledOnNavigationChange,\n isMobile ? false : defaultNavigationOpen,\n { componentName: 'AppLayout', controlledProp: 'navigationOpen', changeHandler: 'onNavigationChange' }\n );\n const onNavigationChange = (event: NonCancelableCustomEvent<AppLayoutProps.ChangeDetail>) => {\n setNavigationOpen(event.detail.open);\n controlledOnNavigationChange?.(event);\n };\n\n const [rootRef, placement] = useAppLayoutPlacement(headerSelector, footerSelector);\n\n // This re-builds the props including the default values\n const props = {\n contentType,\n navigationWidth,\n toolsWidth,\n navigationOpen,\n onNavigationChange,\n ...restDefaults,\n ...rest,\n ariaLabels,\n placement,\n };\n\n const baseProps = getBaseProps(rest);\n\n return (\n <div ref={useMergeRefs(__internalRootRef, rootRef)} {...baseProps}>\n <AppLayoutInternal ref={ref} {...props} />\n </div>\n );\n }\n);\n\napplyDisplayName(AppLayout, 'AppLayout');\nexport default AppLayout;\n"]}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"header": "
|
|
5
|
-
"disabled": "
|
|
6
|
-
"expandable-header": "awsui_expandable-
|
|
7
|
-
"rolled-down": "awsui_rolled-
|
|
8
|
-
"highlighted": "
|
|
9
|
-
"is-focused": "awsui_is-
|
|
10
|
-
"category": "
|
|
11
|
-
"expandable": "
|
|
12
|
-
"variant-navigation": "awsui_variant-
|
|
13
|
-
"expand-icon": "awsui_expand-
|
|
14
|
-
"expand-icon-up": "awsui_expand-icon-
|
|
15
|
-
"expand-icon-right": "awsui_expand-icon-
|
|
16
|
-
"items-list-container": "awsui_items-list-
|
|
17
|
-
"in-dropdown": "awsui_in-
|
|
4
|
+
"header": "awsui_header_16mm3_w5lmn_99",
|
|
5
|
+
"disabled": "awsui_disabled_16mm3_w5lmn_116",
|
|
6
|
+
"expandable-header": "awsui_expandable-header_16mm3_w5lmn_120",
|
|
7
|
+
"rolled-down": "awsui_rolled-down_16mm3_w5lmn_131",
|
|
8
|
+
"highlighted": "awsui_highlighted_16mm3_w5lmn_134",
|
|
9
|
+
"is-focused": "awsui_is-focused_16mm3_w5lmn_152",
|
|
10
|
+
"category": "awsui_category_16mm3_w5lmn_157",
|
|
11
|
+
"expandable": "awsui_expandable_16mm3_w5lmn_120",
|
|
12
|
+
"variant-navigation": "awsui_variant-navigation_16mm3_w5lmn_172",
|
|
13
|
+
"expand-icon": "awsui_expand-icon_16mm3_w5lmn_179",
|
|
14
|
+
"expand-icon-up": "awsui_expand-icon-up_16mm3_w5lmn_186",
|
|
15
|
+
"expand-icon-right": "awsui_expand-icon-right_16mm3_w5lmn_189",
|
|
16
|
+
"items-list-container": "awsui_items-list-container_16mm3_w5lmn_206",
|
|
17
|
+
"in-dropdown": "awsui_in-dropdown_16mm3_w5lmn_215"
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -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_header_16mm3_w5lmn_99:not(#\9) {
|
|
100
100
|
position: relative;
|
|
101
101
|
margin-block: 0;
|
|
102
102
|
margin-inline: 0;
|
|
@@ -113,25 +113,25 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
113
113
|
padding-inline: calc(var(--space-button-horizontal-8jxzea, 20px) + var(--border-item-width-yel47s, 2px));
|
|
114
114
|
z-index: 1;
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
.awsui_header_16mm3_w5lmn_99.awsui_disabled_16mm3_w5lmn_116:not(#\9) {
|
|
117
117
|
color: var(--color-text-dropdown-item-disabled-6oq3n6, #9ba7b6);
|
|
118
118
|
cursor: default;
|
|
119
119
|
}
|
|
120
|
-
.
|
|
120
|
+
.awsui_header_16mm3_w5lmn_99.awsui_expandable-header_16mm3_w5lmn_120:not(#\9) {
|
|
121
121
|
border-block-start-color: var(--color-border-dropdown-group-yakmix, #b6bec9);
|
|
122
122
|
border-block-end-color: var(--color-border-dropdown-group-yakmix, #b6bec9);
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
}
|
|
125
|
-
.
|
|
125
|
+
.awsui_header_16mm3_w5lmn_99.awsui_expandable-header_16mm3_w5lmn_120.awsui_disabled_16mm3_w5lmn_116:not(#\9) {
|
|
126
126
|
cursor: default;
|
|
127
127
|
}
|
|
128
|
-
.
|
|
128
|
+
.awsui_header_16mm3_w5lmn_99.awsui_expandable-header_16mm3_w5lmn_120:not(#\9):focus {
|
|
129
129
|
outline: none;
|
|
130
130
|
}
|
|
131
|
-
.
|
|
131
|
+
.awsui_header_16mm3_w5lmn_99.awsui_expandable-header_16mm3_w5lmn_120.awsui_rolled-down_16mm3_w5lmn_131:not(#\9) {
|
|
132
132
|
border-block-end-color: transparent;
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
.awsui_header_16mm3_w5lmn_99.awsui_expandable-header_16mm3_w5lmn_120.awsui_highlighted_16mm3_w5lmn_134:not(#\9) {
|
|
135
135
|
background-color: var(--color-background-dropdown-item-hover-swsulg, #f4f4f4);
|
|
136
136
|
color: var(--color-text-dropdown-item-highlighted-a51hdb, #000716);
|
|
137
137
|
padding-block: var(--space-xxs-p8yyaw, 4px);
|
|
@@ -144,63 +144,66 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
144
144
|
border-end-end-radius: var(--border-radius-item-05df9h, 8px);
|
|
145
145
|
z-index: 2;
|
|
146
146
|
}
|
|
147
|
-
.
|
|
147
|
+
.awsui_header_16mm3_w5lmn_99.awsui_expandable-header_16mm3_w5lmn_120.awsui_highlighted_16mm3_w5lmn_134.awsui_disabled_16mm3_w5lmn_116:not(#\9) {
|
|
148
148
|
background-color: var(--color-background-dropdown-item-dimmed-dlm6wk, transparent);
|
|
149
149
|
border-color: var(--color-border-dropdown-item-dimmed-hover-xdu0hf, #7d8998);
|
|
150
150
|
color: var(--color-text-dropdown-item-dimmed-f2joj8, #9ba7b6);
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
.awsui_header_16mm3_w5lmn_99.awsui_expandable-header_16mm3_w5lmn_120.awsui_highlighted_16mm3_w5lmn_134.awsui_is-focused_16mm3_w5lmn_152:not(#\9) {
|
|
153
153
|
border-color: var(--color-border-dropdown-item-focused-5hbaf3, #414d5c);
|
|
154
154
|
box-shadow: inset 0 0 0 var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.
|
|
157
|
+
.awsui_category_16mm3_w5lmn_157:not(#\9) {
|
|
158
158
|
list-style: none;
|
|
159
159
|
margin-block-start: calc(-1 * var(--border-divider-list-width-27y3k5, 1px));
|
|
160
160
|
padding-block: 0;
|
|
161
161
|
padding-inline: 0;
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
.awsui_category_16mm3_w5lmn_157:not(#\9):first-child {
|
|
164
164
|
margin-block-start: 0;
|
|
165
165
|
}
|
|
166
|
-
.
|
|
166
|
+
.awsui_category_16mm3_w5lmn_157.awsui_expandable_16mm3_w5lmn_120:not(#\9) {
|
|
167
167
|
border-block-start: 0;
|
|
168
168
|
}
|
|
169
|
-
.
|
|
169
|
+
.awsui_category_16mm3_w5lmn_157:not(#\9):last-child {
|
|
170
170
|
border-block-end: none;
|
|
171
171
|
}
|
|
172
|
-
.
|
|
172
|
+
.awsui_category_16mm3_w5lmn_157.awsui_variant-navigation_16mm3_w5lmn_172:not(#\9) {
|
|
173
173
|
padding-block-start: var(--space-xxs-p8yyaw, 4px);
|
|
174
174
|
}
|
|
175
|
-
.
|
|
175
|
+
.awsui_category_16mm3_w5lmn_157.awsui_variant-navigation_16mm3_w5lmn_172.awsui_expandable_16mm3_w5lmn_120:not(#\9) {
|
|
176
176
|
padding-block-start: 0;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.awsui_expand-
|
|
179
|
+
.awsui_expand-icon_16mm3_w5lmn_179:not(#\9) {
|
|
180
180
|
position: relative;
|
|
181
181
|
inset-inline-start: var(--space-s-34lx8l, 12px);
|
|
182
182
|
inline-size: var(--space-m-udix3p, 16px);
|
|
183
183
|
display: inline-block;
|
|
184
184
|
transition: transform var(--motion-duration-rotate-180-dpvl4m, 135ms) var(--motion-easing-rotate-180-e270ko, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
185
185
|
}
|
|
186
|
-
.awsui_expand-icon-
|
|
186
|
+
.awsui_expand-icon-up_16mm3_w5lmn_186:not(#\9) {
|
|
187
187
|
transform: rotate(-180deg);
|
|
188
188
|
}
|
|
189
|
-
.awsui_expand-icon-
|
|
189
|
+
.awsui_expand-icon-right_16mm3_w5lmn_189:not(#\9) {
|
|
190
190
|
transform: rotate(-90deg);
|
|
191
191
|
}
|
|
192
|
+
.awsui_expand-icon-right_16mm3_w5lmn_189:not(#\9):dir(rtl) {
|
|
193
|
+
transform: rotate(90deg);
|
|
194
|
+
}
|
|
192
195
|
@media (prefers-reduced-motion: reduce) {
|
|
193
|
-
.awsui_expand-
|
|
196
|
+
.awsui_expand-icon_16mm3_w5lmn_179:not(#\9) {
|
|
194
197
|
animation: none;
|
|
195
198
|
transition: none;
|
|
196
199
|
}
|
|
197
200
|
}
|
|
198
|
-
.awsui-motion-disabled .awsui_expand-
|
|
201
|
+
.awsui-motion-disabled .awsui_expand-icon_16mm3_w5lmn_179:not(#\9), .awsui-mode-entering .awsui_expand-icon_16mm3_w5lmn_179:not(#\9) {
|
|
199
202
|
animation: none;
|
|
200
203
|
transition: none;
|
|
201
204
|
}
|
|
202
205
|
|
|
203
|
-
.awsui_items-list-
|
|
206
|
+
.awsui_items-list-container_16mm3_w5lmn_206:not(#\9) {
|
|
204
207
|
padding-block: 0;
|
|
205
208
|
padding-inline: 0;
|
|
206
209
|
margin-block-start: -1px;
|
|
@@ -209,6 +212,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
209
212
|
overflow-y: auto;
|
|
210
213
|
}
|
|
211
214
|
|
|
212
|
-
.awsui_in-
|
|
215
|
+
.awsui_in-dropdown_16mm3_w5lmn_215:not(#\9) {
|
|
213
216
|
margin-block-end: -1px;
|
|
214
217
|
}
|