@cloudscape-design/components 3.0.351 → 3.0.353
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 +3 -2
- package/alert/index.d.ts.map +1 -1
- package/alert/index.js +4 -3
- package/alert/index.js.map +1 -1
- package/alert/interfaces.d.ts +6 -0
- package/alert/interfaces.d.ts.map +1 -1
- package/alert/interfaces.js.map +1 -1
- package/alert/internal.d.ts +5 -5
- package/alert/internal.d.ts.map +1 -1
- package/alert/internal.js +16 -10
- package/alert/internal.js.map +1 -1
- package/alert/styles.css.js +24 -19
- package/alert/styles.scoped.css +72 -35
- package/alert/styles.selectors.js +24 -19
- package/app-layout/visual-refresh/background.d.ts.map +1 -1
- package/app-layout/visual-refresh/background.js +2 -2
- package/app-layout/visual-refresh/background.js.map +1 -1
- package/app-layout/visual-refresh/context.d.ts +2 -1
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +9 -11
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh/layout.d.ts.map +1 -1
- package/app-layout/visual-refresh/layout.js +3 -11
- package/app-layout/visual-refresh/layout.js.map +1 -1
- package/app-layout/visual-refresh/use-background-overlap.d.ts +16 -0
- package/app-layout/visual-refresh/use-background-overlap.d.ts.map +1 -0
- package/app-layout/visual-refresh/use-background-overlap.js +41 -0
- package/app-layout/visual-refresh/use-background-overlap.js.map +1 -0
- package/button/index.js +1 -1
- package/button/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/hooks/container-queries/use-resize-observer.d.ts.map +1 -1
- package/internal/hooks/container-queries/use-resize-observer.js +1 -9
- package/internal/hooks/container-queries/use-resize-observer.js.map +1 -1
- package/internal/hooks/container-queries/utils.d.ts +4 -0
- package/internal/hooks/container-queries/utils.d.ts.map +1 -0
- package/internal/hooks/container-queries/utils.js +10 -0
- package/internal/hooks/container-queries/utils.js.map +1 -0
- package/internal/hooks/use-base-component/index.d.ts +1 -1
- package/internal/hooks/use-base-component/index.d.ts.map +1 -1
- package/internal/hooks/use-base-component/index.js +2 -2
- package/internal/hooks/use-base-component/index.js.map +1 -1
- package/internal/hooks/use-dynamic-overlap/index.d.ts +1 -1
- package/internal/hooks/use-dynamic-overlap/index.d.ts.map +1 -1
- package/internal/hooks/use-dynamic-overlap/index.js +11 -5
- package/internal/hooks/use-dynamic-overlap/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/select/index.d.ts.map +1 -1
- package/select/index.js +4 -1
- package/select/index.js.map +1 -1
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +12 -40
- package/table/internal.js.map +1 -1
- package/table/sticky-columns/index.d.ts +2 -1
- package/table/sticky-columns/index.d.ts.map +1 -1
- package/table/sticky-columns/index.js +1 -1
- package/table/sticky-columns/index.js.map +1 -1
- package/table/sticky-columns/interfaces.d.ts +31 -0
- package/table/sticky-columns/interfaces.d.ts.map +1 -0
- package/table/sticky-columns/interfaces.js +4 -0
- package/table/sticky-columns/interfaces.js.map +1 -0
- package/table/sticky-columns/use-sticky-columns.d.ts +1 -25
- package/table/sticky-columns/use-sticky-columns.d.ts.map +1 -1
- package/table/sticky-columns/use-sticky-columns.js +18 -51
- package/table/sticky-columns/use-sticky-columns.js.map +1 -1
- package/table/sticky-columns/utils.d.ts +5 -0
- package/table/sticky-columns/utils.d.ts.map +1 -0
- package/table/sticky-columns/utils.js +42 -0
- package/table/sticky-columns/utils.js.map +1 -0
- package/table/use-cell-editing.d.ts +21 -0
- package/table/use-cell-editing.d.ts.map +1 -0
- package/table/use-cell-editing.js +47 -0
- package/table/use-cell-editing.js.map +1 -0
package/alert/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { AlertProps } from './interfaces';
|
|
3
3
|
export { AlertProps };
|
|
4
|
-
|
|
4
|
+
declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<AlertProps.Ref>>;
|
|
5
|
+
export default Alert;
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
package/alert/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["alert/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["alert/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO1C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,QAAA,MAAM,KAAK,mFA2CV,CAAC;AAGF,eAAe,KAAK,CAAC"}
|
package/alert/index.js
CHANGED
|
@@ -8,7 +8,7 @@ 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
|
-
|
|
11
|
+
const Alert = React.forwardRef((_a, ref) => {
|
|
12
12
|
var { type = 'info', visible = true } = _a, props = __rest(_a, ["type", "visible"]);
|
|
13
13
|
const baseComponentProps = useBaseComponent('Alert');
|
|
14
14
|
const { funnelInteractionId, submissionAttempt, funnelState, errorCount } = useFunnel();
|
|
@@ -43,7 +43,8 @@ export default function Alert(_a) {
|
|
|
43
43
|
}
|
|
44
44
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
45
45
|
}, [funnelInteractionId, visible, submissionAttempt, errorCount]);
|
|
46
|
-
return React.createElement(InternalAlert, Object.assign({ type: type, visible: visible }, props, baseComponentProps));
|
|
47
|
-
}
|
|
46
|
+
return React.createElement(InternalAlert, Object.assign({ type: type, visible: visible }, props, baseComponentProps, { ref: ref }));
|
|
47
|
+
});
|
|
48
48
|
applyDisplayName(Alert, 'Alert');
|
|
49
|
+
export default Alert;
|
|
49
50
|
//# sourceMappingURL=index.js.map
|
package/alert/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["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;AAI7F,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["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;AAI7F,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAC5B,CAAC,EAAuD,EAAE,GAA8B,EAAE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AAE,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';\n\nexport { AlertProps };\n\nconst Alert = React.forwardRef(\n ({ type = 'info', visible = true, ...props }: AlertProps, ref: React.Ref<AlertProps.Ref>) => {\n const baseComponentProps = useBaseComponent('Alert');\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 if (subStepSelector) {\n FunnelMetrics.funnelSubStepError({\n funnelInteractionId,\n subStepSelector,\n subStepName,\n subStepNameSelector,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n });\n } else {\n FunnelMetrics.funnelError({\n funnelInteractionId,\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"]}
|
package/alert/interfaces.d.ts
CHANGED
|
@@ -3,6 +3,12 @@ import { BaseComponentProps } from '../internal/base-component';
|
|
|
3
3
|
import { NonCancelableEventHandler } from '../internal/events';
|
|
4
4
|
export declare namespace AlertProps {
|
|
5
5
|
type Type = 'success' | 'error' | 'warning' | 'info';
|
|
6
|
+
interface Ref {
|
|
7
|
+
/**
|
|
8
|
+
* Sets focus on the alert content.
|
|
9
|
+
*/
|
|
10
|
+
focus(): void;
|
|
11
|
+
}
|
|
6
12
|
}
|
|
7
13
|
export interface AlertProps extends BaseComponentProps {
|
|
8
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["alert/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,yBAAiB,UAAU,CAAC;IAC1B,KAAY,IAAI,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["alert/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,yBAAiB,UAAU,CAAC;IAC1B,KAAY,IAAI,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAE5D,UAAiB,GAAG;QAClB;;WAEG;QACH,KAAK,IAAI,IAAI,CAAC;KACf;CACF;AAED,MAAM,WAAW,UAAW,SAAQ,kBAAkB;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC;IAEvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,yBAAyB,CAAC;CAC3C"}
|
package/alert/interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["alert/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport namespace AlertProps {\n export type Type = 'success' | 'error' | 'warning' | 'info';\n}\n\nexport interface AlertProps extends BaseComponentProps {\n /**\n * Specifies the type of message you want to display.\n */\n type?: AlertProps.Type;\n\n /**\n * Provides a text alternative for the icon.\n */\n statusIconAriaLabel?: string;\n\n /**\n * Determines whether the alert is displayed.\n * @deprecated Use conditional rendering in your code instead of this prop.\n */\n visible?: boolean;\n /**\n * Adds a close button to the alert when set to `true`.\n * An `onDismiss` event is fired when a user clicks the button.\n */\n dismissible?: boolean;\n /**\n * Adds an aria-label to the dismiss button.\n * @i18n\n */\n dismissAriaLabel?: string;\n /**\n * Primary text displayed in the element.\n */\n children?: React.ReactNode;\n /**\n * Heading text.\n */\n header?: React.ReactNode;\n /**\n * Displays an action button next to the message area when set.\n * An `onButtonClick` event is fired when the user clicks it.\n * @deprecated Replaced by `action`.\n */\n buttonText?: React.ReactNode;\n /**\n * Specifies an action for the alert message.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add a button.\n */\n action?: React.ReactNode;\n /**\n * Fired when the user clicks the close icon that is displayed\n * when the `dismissible` property is set to `true`.\n */\n onDismiss?: NonCancelableEventHandler;\n /**\n * Fired when the user clicks the action button.\n * **Deprecated** Replaced by `action`.\n */\n onButtonClick?: NonCancelableEventHandler;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["alert/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport namespace AlertProps {\n export type Type = 'success' | 'error' | 'warning' | 'info';\n\n export interface Ref {\n /**\n * Sets focus on the alert content.\n */\n focus(): void;\n }\n}\n\nexport interface AlertProps extends BaseComponentProps {\n /**\n * Specifies the type of message you want to display.\n */\n type?: AlertProps.Type;\n\n /**\n * Provides a text alternative for the icon.\n */\n statusIconAriaLabel?: string;\n\n /**\n * Determines whether the alert is displayed.\n * @deprecated Use conditional rendering in your code instead of this prop.\n */\n visible?: boolean;\n /**\n * Adds a close button to the alert when set to `true`.\n * An `onDismiss` event is fired when a user clicks the button.\n */\n dismissible?: boolean;\n /**\n * Adds an aria-label to the dismiss button.\n * @i18n\n */\n dismissAriaLabel?: string;\n /**\n * Primary text displayed in the element.\n */\n children?: React.ReactNode;\n /**\n * Heading text.\n */\n header?: React.ReactNode;\n /**\n * Displays an action button next to the message area when set.\n * An `onButtonClick` event is fired when the user clicks it.\n * @deprecated Replaced by `action`.\n */\n buttonText?: React.ReactNode;\n /**\n * Specifies an action for the alert message.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add a button.\n */\n action?: React.ReactNode;\n /**\n * Fired when the user clicks the close icon that is displayed\n * when the `dismissible` property is set to `true`.\n */\n onDismiss?: NonCancelableEventHandler;\n /**\n * Fired when the user clicks the action button.\n * **Deprecated** Replaced by `action`.\n */\n onButtonClick?: NonCancelableEventHandler;\n}\n"]}
|
package/alert/internal.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { AlertProps } from './interfaces';
|
|
3
3
|
import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
|
|
4
|
-
|
|
5
|
-
type
|
|
6
|
-
|
|
7
|
-
export
|
|
4
|
+
declare const InternalAlert: React.ForwardRefExoticComponent<AlertProps & {
|
|
5
|
+
type: AlertProps.Type;
|
|
6
|
+
} & InternalBaseComponentProps & React.RefAttributes<AlertProps.Ref>>;
|
|
7
|
+
export default InternalAlert;
|
|
8
8
|
//# sourceMappingURL=internal.d.ts.map
|
package/alert/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"lib/default/","sources":["alert/internal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"lib/default/","sources":["alert/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAYtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAelF,QAAA,MAAM,aAAa;;qEA4FlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/alert/internal.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
2
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
import React from 'react';
|
|
4
|
+
import React, { useRef } from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { InternalButton } from '../button/internal';
|
|
7
7
|
import InternalIcon from '../icon/internal';
|
|
@@ -11,6 +11,7 @@ import styles from './styles.css.js';
|
|
|
11
11
|
import { fireNonCancelableEvent } from '../internal/events';
|
|
12
12
|
import { useContainerBreakpoints } from '../internal/hooks/container-queries';
|
|
13
13
|
import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
|
|
14
|
+
import useForwardFocus from '../internal/hooks/forward-focus';
|
|
14
15
|
import { useMergeRefs } from '../internal/hooks/use-merge-refs';
|
|
15
16
|
import { useInternalI18n } from '../i18n/context';
|
|
16
17
|
import { DATA_ATTR_ANALYTICS_ALERT } from '../internal/analytics/selectors';
|
|
@@ -20,10 +21,12 @@ const typeToIcon = {
|
|
|
20
21
|
success: 'status-positive',
|
|
21
22
|
info: 'status-info',
|
|
22
23
|
};
|
|
23
|
-
|
|
24
|
+
const InternalAlert = React.forwardRef((_a, ref) => {
|
|
24
25
|
var { type, statusIconAriaLabel, visible = true, dismissible, dismissAriaLabel, children, header, buttonText, action, onDismiss, onButtonClick, __internalRootRef = null } = _a, rest = __rest(_a, ["type", "statusIconAriaLabel", "visible", "dismissible", "dismissAriaLabel", "children", "header", "buttonText", "action", "onDismiss", "onButtonClick", "__internalRootRef"]);
|
|
25
26
|
const baseProps = getBaseProps(rest);
|
|
26
27
|
const i18n = useInternalI18n('alert');
|
|
28
|
+
const focusRef = useRef(null);
|
|
29
|
+
useForwardFocus(ref, focusRef);
|
|
27
30
|
const [breakpoint, breakpointRef] = useContainerBreakpoints(['xs']);
|
|
28
31
|
const mergedRef = useMergeRefs(breakpointRef, __internalRootRef);
|
|
29
32
|
const isRefresh = useVisualRefresh();
|
|
@@ -35,15 +38,18 @@ export default function InternalAlert(_a) {
|
|
|
35
38
|
};
|
|
36
39
|
return (React.createElement("div", Object.assign({}, baseProps, analyticsAttributes, { "aria-hidden": !visible, className: clsx(styles.root, { [styles.hidden]: !visible }, baseProps.className, styles[`breakpoint-${breakpoint}`]), ref: mergedRef }),
|
|
37
40
|
React.createElement(VisualContext, { contextName: "alert" },
|
|
38
|
-
React.createElement("div", { className: clsx(styles.alert, styles[`type-${type}`]) },
|
|
39
|
-
React.createElement("div", { className:
|
|
40
|
-
React.createElement(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
React.createElement("div", { className: clsx(styles.alert, styles[`type-${type}`], styles[`icon-size-${size}`]) },
|
|
42
|
+
React.createElement("div", { className: styles['alert-mobile-block'] },
|
|
43
|
+
React.createElement("div", { className: styles['alert-focus-wrapper'], tabIndex: -1, ref: focusRef },
|
|
44
|
+
React.createElement("div", { className: clsx(styles.icon, styles.text), role: "img", "aria-label": statusIconAriaLabel },
|
|
45
|
+
React.createElement(InternalIcon, { name: typeToIcon[type], size: size })),
|
|
46
|
+
React.createElement("div", { className: styles.body },
|
|
47
|
+
React.createElement("div", { className: clsx(styles.message, styles.text) },
|
|
48
|
+
header && React.createElement("div", { className: styles.header }, header),
|
|
49
|
+
React.createElement("div", { className: styles.content }, children)))),
|
|
45
50
|
hasAction && React.createElement("div", { className: styles.action }, actionButton)),
|
|
46
51
|
dismissible && (React.createElement("div", { className: styles.dismiss },
|
|
47
52
|
React.createElement(InternalButton, { className: styles['dismiss-button'], variant: "icon", iconName: "close", formAction: "none", ariaLabel: i18n('dismissAriaLabel', dismissAriaLabel), onClick: () => fireNonCancelableEvent(onDismiss) })))))));
|
|
48
|
-
}
|
|
53
|
+
});
|
|
54
|
+
export default InternalAlert;
|
|
49
55
|
//# sourceMappingURL=internal.js.map
|
package/alert/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"lib/default/","sources":["alert/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"lib/default/","sources":["alert/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,aAAa,MAAM,uCAAuC,CAAC;AAClE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,eAAe,MAAM,iCAAiC,CAAC;AAG9D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAE5E,MAAM,UAAU,GAA+C;IAC7D,KAAK,EAAE,iBAAiB;IACxB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,iBAAiB;IAC1B,IAAI,EAAE,aAAa;CACpB,CAAC;AAIF,MAAM,aAAa,GAAG,KAAK,CAAC,UAAU,CACpC,CACE,EAcqB,EACrB,GAA8B,EAC9B,EAAE;QAhBF,EACE,IAAI,EACJ,mBAAmB,EACnB,OAAO,GAAG,IAAI,EACd,WAAW,EACX,gBAAgB,EAChB,QAAQ,EACR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AAS,EAAE,IAAI,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,EACrD,OAAO,EAAE,GAAG,EAAE,CAAC,sBAAsB,CAAC,SAAS,CAAC,GAChD,CACE,CACP,CACG,CACQ,CACZ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\nimport { InternalButton } from '../button/internal';\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\nimport { getBaseProps } from '../internal/base-component';\nimport VisualContext from '../internal/components/visual-context';\nimport styles from './styles.css.js';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport useForwardFocus from '../internal/hooks/forward-focus';\nimport { AlertProps } from './interfaces';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { SomeRequired } from '../internal/types';\nimport { useInternalI18n } from '../i18n/context';\nimport { DATA_ATTR_ANALYTICS_ALERT } from '../internal/analytics/selectors';\n\nconst typeToIcon: Record<AlertProps.Type, IconProps['name']> = {\n error: 'status-negative',\n warning: 'status-warning',\n success: 'status-positive',\n info: 'status-info',\n};\n\ntype InternalAlertProps = SomeRequired<AlertProps, 'type'> & InternalBaseComponentProps;\n\nconst InternalAlert = React.forwardRef(\n (\n {\n type,\n statusIconAriaLabel,\n visible = true,\n dismissible,\n dismissAriaLabel,\n children,\n header,\n buttonText,\n action,\n onDismiss,\n onButtonClick,\n __internalRootRef = null,\n ...rest\n }: InternalAlertProps,\n ref: React.Ref<AlertProps.Ref>\n ) => {\n const baseProps = getBaseProps(rest);\n const i18n = useInternalI18n('alert');\n\n const focusRef = useRef<HTMLDivElement>(null);\n useForwardFocus(ref, focusRef);\n\n const [breakpoint, breakpointRef] = useContainerBreakpoints(['xs']);\n const mergedRef = useMergeRefs(breakpointRef, __internalRootRef);\n\n const isRefresh = useVisualRefresh();\n const size = isRefresh ? 'normal' : header && children ? 'big' : 'normal';\n\n const actionButton = action || (\n <InternalButton\n className={styles['action-button']}\n onClick={() => fireNonCancelableEvent(onButtonClick)}\n formAction=\"none\"\n >\n {buttonText}\n </InternalButton>\n );\n\n const hasAction = Boolean(action || buttonText);\n const analyticsAttributes = {\n [DATA_ATTR_ANALYTICS_ALERT]: type,\n };\n\n return (\n <div\n {...baseProps}\n {...analyticsAttributes}\n aria-hidden={!visible}\n className={clsx(\n styles.root,\n { [styles.hidden]: !visible },\n baseProps.className,\n styles[`breakpoint-${breakpoint}`]\n )}\n ref={mergedRef}\n >\n <VisualContext contextName=\"alert\">\n <div className={clsx(styles.alert, styles[`type-${type}`], styles[`icon-size-${size}`])}>\n <div className={styles['alert-mobile-block']}>\n <div className={styles['alert-focus-wrapper']} tabIndex={-1} ref={focusRef}>\n <div className={clsx(styles.icon, styles.text)} role=\"img\" aria-label={statusIconAriaLabel}>\n <InternalIcon name={typeToIcon[type]} size={size} />\n </div>\n <div className={styles.body}>\n <div className={clsx(styles.message, styles.text)}>\n {header && <div className={styles.header}>{header}</div>}\n <div className={styles.content}>{children}</div>\n </div>\n </div>\n </div>\n {hasAction && <div className={styles.action}>{actionButton}</div>}\n </div>\n {dismissible && (\n <div className={styles.dismiss}>\n <InternalButton\n className={styles['dismiss-button']}\n variant=\"icon\"\n iconName=\"close\"\n formAction=\"none\"\n ariaLabel={i18n('dismissAriaLabel', dismissAriaLabel)}\n onClick={() => fireNonCancelableEvent(onDismiss)}\n />\n </div>\n )}\n </div>\n </VisualContext>\n </div>\n );\n }\n);\n\nexport default InternalAlert;\n"]}
|
package/alert/styles.css.js
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"alert": "
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"root": "
|
|
7
|
-
"hidden": "
|
|
8
|
-
"body": "
|
|
9
|
-
"header": "
|
|
10
|
-
"action": "
|
|
11
|
-
"action-button": "awsui_action-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
4
|
+
"alert": "awsui_alert_mx3cw_1kx9t_93",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_1kx9t_1",
|
|
6
|
+
"root": "awsui_root_mx3cw_1kx9t_119",
|
|
7
|
+
"hidden": "awsui_hidden_mx3cw_1kx9t_135",
|
|
8
|
+
"body": "awsui_body_mx3cw_1kx9t_161",
|
|
9
|
+
"header": "awsui_header_mx3cw_1kx9t_167",
|
|
10
|
+
"action": "awsui_action_mx3cw_1kx9t_171",
|
|
11
|
+
"action-button": "awsui_action-button_mx3cw_1kx9t_176",
|
|
12
|
+
"alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_1kx9t_180",
|
|
13
|
+
"alert-mobile-block": "awsui_alert-mobile-block_mx3cw_1kx9t_206",
|
|
14
|
+
"text": "awsui_text_mx3cw_1kx9t_211",
|
|
15
|
+
"icon": "awsui_icon_mx3cw_1kx9t_215",
|
|
16
|
+
"message": "awsui_message_mx3cw_1kx9t_218",
|
|
17
|
+
"breakpoint-default": "awsui_breakpoint-default_mx3cw_1kx9t_223",
|
|
18
|
+
"icon-size-medium": "awsui_icon-size-medium_mx3cw_1kx9t_229",
|
|
19
|
+
"icon-size-big": "awsui_icon-size-big_mx3cw_1kx9t_232",
|
|
20
|
+
"icon-size-normal": "awsui_icon-size-normal_mx3cw_1kx9t_235",
|
|
21
|
+
"content": "awsui_content_mx3cw_1kx9t_245",
|
|
22
|
+
"dismiss": "awsui_dismiss_mx3cw_1kx9t_249",
|
|
23
|
+
"dismiss-button": "awsui_dismiss-button_mx3cw_1kx9t_255",
|
|
24
|
+
"type-error": "awsui_type-error_mx3cw_1kx9t_263",
|
|
25
|
+
"type-warning": "awsui_type-warning_mx3cw_1kx9t_271",
|
|
26
|
+
"type-success": "awsui_type-success_mx3cw_1kx9t_279",
|
|
27
|
+
"type-info": "awsui_type-info_mx3cw_1kx9t_287"
|
|
23
28
|
};
|
|
24
29
|
|
package/alert/styles.scoped.css
CHANGED
|
@@ -90,10 +90,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.
|
|
94
|
-
animation: awsui_awsui-motion-fade-
|
|
93
|
+
.awsui_alert_mx3cw_1kx9t_93:not(#\9) {
|
|
94
|
+
animation: awsui_awsui-motion-fade-in_mx3cw_1kx9t_1 var(--motion-duration-show-paced-q2lo2h, 180ms) var(--motion-easing-show-paced-ne2o0s, ease-out);
|
|
95
95
|
}
|
|
96
|
-
@keyframes awsui_awsui-motion-fade-
|
|
96
|
+
@keyframes awsui_awsui-motion-fade-in_mx3cw_1kx9t_1 {
|
|
97
97
|
from {
|
|
98
98
|
opacity: 0.2;
|
|
99
99
|
}
|
|
@@ -102,12 +102,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
@media (prefers-reduced-motion: reduce) {
|
|
105
|
-
.
|
|
105
|
+
.awsui_alert_mx3cw_1kx9t_93:not(#\9) {
|
|
106
106
|
animation: none;
|
|
107
107
|
transition: none;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
.awsui-motion-disabled .
|
|
110
|
+
.awsui-motion-disabled .awsui_alert_mx3cw_1kx9t_93:not(#\9), .awsui-mode-entering .awsui_alert_mx3cw_1kx9t_93:not(#\9) {
|
|
111
111
|
animation: none;
|
|
112
112
|
transition: none;
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
116
116
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
117
117
|
SPDX-License-Identifier: Apache-2.0
|
|
118
118
|
*/
|
|
119
|
-
.
|
|
119
|
+
.awsui_root_mx3cw_1kx9t_119:not(#\9) {
|
|
120
120
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
121
121
|
border-collapse: separate;
|
|
122
122
|
border-spacing: 0;
|
|
@@ -158,11 +158,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
158
158
|
overflow: hidden;
|
|
159
159
|
display: block;
|
|
160
160
|
}
|
|
161
|
-
.
|
|
161
|
+
.awsui_root_mx3cw_1kx9t_119.awsui_hidden_mx3cw_1kx9t_135:not(#\9) {
|
|
162
162
|
display: none;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.
|
|
165
|
+
.awsui_alert_mx3cw_1kx9t_93:not(#\9) {
|
|
166
166
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
167
167
|
border-collapse: separate;
|
|
168
168
|
border-spacing: 0;
|
|
@@ -203,106 +203,143 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
203
203
|
display: flex;
|
|
204
204
|
justify-content: flex-start;
|
|
205
205
|
align-items: flex-start;
|
|
206
|
+
grid-template-columns: auto auto 1fr;
|
|
206
207
|
border-radius: var(--border-radius-alert-mdtrse, 12px);
|
|
207
208
|
border: var(--border-field-width-09w7vk, 2px) solid;
|
|
208
209
|
padding: var(--space-alert-vertical-l6cc71, 8px) var(--space-alert-horizontal-eyt1xx, 16px);
|
|
209
210
|
background-color: var(--color-background-container-content-4un1ap, #ffffff);
|
|
210
211
|
}
|
|
211
212
|
|
|
212
|
-
.
|
|
213
|
+
.awsui_body_mx3cw_1kx9t_161:not(#\9) {
|
|
213
214
|
display: flex;
|
|
214
215
|
flex: 1 1 0%;
|
|
215
216
|
min-width: 0;
|
|
216
217
|
}
|
|
217
218
|
|
|
218
|
-
.
|
|
219
|
+
.awsui_header_mx3cw_1kx9t_167:not(#\9) {
|
|
219
220
|
font-weight: 700;
|
|
220
221
|
}
|
|
221
222
|
|
|
222
|
-
.
|
|
223
|
+
.awsui_action_mx3cw_1kx9t_171:not(#\9) {
|
|
223
224
|
white-space: nowrap;
|
|
224
|
-
margin-left: var(--space-
|
|
225
|
+
margin-left: var(--space-alert-action-left-ea9czk, 12px);
|
|
225
226
|
}
|
|
226
227
|
|
|
227
|
-
.awsui_action-
|
|
228
|
+
.awsui_action-button_mx3cw_1kx9t_176:not(#\9) {
|
|
228
229
|
/* used in test-utils */
|
|
229
230
|
}
|
|
230
231
|
|
|
231
|
-
.
|
|
232
|
+
.awsui_alert-focus-wrapper_mx3cw_1kx9t_180:not(#\9) {
|
|
233
|
+
display: flex;
|
|
234
|
+
flex: 1 1 0%;
|
|
235
|
+
}
|
|
236
|
+
.awsui_alert-focus-wrapper_mx3cw_1kx9t_180:not(#\9):focus {
|
|
237
|
+
outline: none;
|
|
238
|
+
}
|
|
239
|
+
body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_1kx9t_180:not(#\9):focus {
|
|
240
|
+
position: relative;
|
|
241
|
+
}
|
|
242
|
+
body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_1kx9t_180:not(#\9):focus {
|
|
243
|
+
outline: 2px dotted transparent;
|
|
244
|
+
outline-offset: calc(var(--space-button-focus-outline-gutter-cqfd0c, 4px) - 1px);
|
|
245
|
+
}
|
|
246
|
+
body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_1kx9t_180:not(#\9):focus::before {
|
|
247
|
+
content: " ";
|
|
248
|
+
display: block;
|
|
249
|
+
position: absolute;
|
|
250
|
+
left: calc(-1 * var(--space-button-focus-outline-gutter-cqfd0c, 4px));
|
|
251
|
+
top: calc(-1 * var(--space-button-focus-outline-gutter-cqfd0c, 4px));
|
|
252
|
+
width: calc(100% + 2 * var(--space-button-focus-outline-gutter-cqfd0c, 4px));
|
|
253
|
+
height: calc(100% + 2 * var(--space-button-focus-outline-gutter-cqfd0c, 4px));
|
|
254
|
+
border-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
255
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.awsui_alert-mobile-block_mx3cw_1kx9t_206:not(#\9) {
|
|
259
|
+
display: flex;
|
|
260
|
+
flex: 1 1 0%;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.awsui_text_mx3cw_1kx9t_211:not(#\9) {
|
|
232
264
|
padding: var(--border-field-width-09w7vk, 2px) 0;
|
|
233
265
|
margin: var(--space-scaled-xxs-7597g1, 4px) var(--space-xxs-p8yyaw, 4px);
|
|
234
266
|
}
|
|
235
|
-
.
|
|
267
|
+
.awsui_text_mx3cw_1kx9t_211.awsui_icon_mx3cw_1kx9t_215:not(#\9) {
|
|
236
268
|
margin-left: 0;
|
|
237
269
|
}
|
|
238
|
-
.
|
|
270
|
+
.awsui_text_mx3cw_1kx9t_211.awsui_message_mx3cw_1kx9t_218:not(#\9) {
|
|
239
271
|
margin-right: var(--space-alert-message-right-knlb6u, 4px);
|
|
240
272
|
}
|
|
241
|
-
.awsui_text_mx3cw_1sjtq_179.awsui_message_mx3cw_1sjtq_186 + .awsui_action_mx3cw_1sjtq_170:not(#\9) {
|
|
242
|
-
margin-left: var(--space-alert-action-left-ea9czk, 12px);
|
|
243
|
-
}
|
|
244
273
|
|
|
245
274
|
/* stylelint-disable selector-max-type */
|
|
246
|
-
.
|
|
275
|
+
.awsui_root_mx3cw_1kx9t_119.awsui_breakpoint-default_mx3cw_1kx9t_223 > div > .awsui_alert_mx3cw_1kx9t_93 > .awsui_alert-mobile-block_mx3cw_1kx9t_206:not(#\9) {
|
|
247
276
|
display: block;
|
|
248
277
|
}
|
|
249
|
-
.
|
|
250
|
-
margin-left: var(--space-xxs-p8yyaw, 4px);
|
|
278
|
+
.awsui_root_mx3cw_1kx9t_119.awsui_breakpoint-default_mx3cw_1kx9t_223 > div > .awsui_alert_mx3cw_1kx9t_93 > .awsui_alert-mobile-block_mx3cw_1kx9t_206 > .awsui_action_mx3cw_1kx9t_171:not(#\9) {
|
|
251
279
|
margin-bottom: var(--space-xxs-p8yyaw, 4px);
|
|
252
280
|
}
|
|
281
|
+
.awsui_root_mx3cw_1kx9t_119.awsui_breakpoint-default_mx3cw_1kx9t_223 > div > .awsui_alert_mx3cw_1kx9t_93.awsui_icon-size-medium_mx3cw_1kx9t_229 > .awsui_alert-mobile-block_mx3cw_1kx9t_206 > .awsui_action_mx3cw_1kx9t_171:not(#\9) {
|
|
282
|
+
margin-left: calc(var(--size-icon-medium-y9xuoq, 20px) + var(--space-xs-zb16t3, 8px));
|
|
283
|
+
}
|
|
284
|
+
.awsui_root_mx3cw_1kx9t_119.awsui_breakpoint-default_mx3cw_1kx9t_223 > div > .awsui_alert_mx3cw_1kx9t_93.awsui_icon-size-big_mx3cw_1kx9t_232 > .awsui_alert-mobile-block_mx3cw_1kx9t_206 > .awsui_action_mx3cw_1kx9t_171:not(#\9) {
|
|
285
|
+
margin-left: calc(var(--size-icon-big-zkdryd, 32px) + var(--space-xs-zb16t3, 8px));
|
|
286
|
+
}
|
|
287
|
+
.awsui_root_mx3cw_1kx9t_119.awsui_breakpoint-default_mx3cw_1kx9t_223 > div > .awsui_alert_mx3cw_1kx9t_93.awsui_icon-size-normal_mx3cw_1kx9t_235 > .awsui_alert-mobile-block_mx3cw_1kx9t_206 > .awsui_action_mx3cw_1kx9t_171:not(#\9) {
|
|
288
|
+
margin-left: calc(var(--size-icon-normal-0m1722, 16px) + var(--space-xs-zb16t3, 8px));
|
|
289
|
+
}
|
|
253
290
|
|
|
254
291
|
/* stylelint-enable selector-max-type */
|
|
255
|
-
.
|
|
292
|
+
.awsui_message_mx3cw_1kx9t_218:not(#\9) {
|
|
256
293
|
flex: 1 1 0%;
|
|
257
294
|
min-width: 0;
|
|
258
295
|
}
|
|
259
296
|
|
|
260
|
-
.
|
|
297
|
+
.awsui_content_mx3cw_1kx9t_245:not(#\9) {
|
|
261
298
|
/* used in test-utils */
|
|
262
299
|
}
|
|
263
300
|
|
|
264
|
-
.
|
|
301
|
+
.awsui_dismiss_mx3cw_1kx9t_249:not(#\9) {
|
|
265
302
|
flex: 0 0 auto;
|
|
266
303
|
margin-right: calc(-1 * var(--space-xxs-p8yyaw, 4px));
|
|
267
304
|
margin-left: var(--space-s-34lx8l, 12px);
|
|
268
305
|
}
|
|
269
306
|
|
|
270
|
-
.awsui_dismiss-
|
|
307
|
+
.awsui_dismiss-button_mx3cw_1kx9t_255:not(#\9) {
|
|
271
308
|
/* used in test-utils */
|
|
272
309
|
}
|
|
273
310
|
|
|
274
|
-
.
|
|
311
|
+
.awsui_icon_mx3cw_1kx9t_215:not(#\9) {
|
|
275
312
|
flex: 0 0 auto;
|
|
276
313
|
}
|
|
277
314
|
|
|
278
|
-
.awsui_type-
|
|
315
|
+
.awsui_type-error_mx3cw_1kx9t_263:not(#\9) {
|
|
279
316
|
border-color: var(--color-border-status-error-dj6icm, #d91515);
|
|
280
317
|
background-color: var(--color-background-status-error-pbprvn, #fff7f7);
|
|
281
318
|
}
|
|
282
|
-
.awsui_type-
|
|
319
|
+
.awsui_type-error_mx3cw_1kx9t_263 > .awsui_alert-mobile-block_mx3cw_1kx9t_206 > .awsui_alert-focus-wrapper_mx3cw_1kx9t_180 > .awsui_icon_mx3cw_1kx9t_215:not(#\9) {
|
|
283
320
|
color: var(--color-text-status-error-wdvepn, #d91515);
|
|
284
321
|
}
|
|
285
322
|
|
|
286
|
-
.awsui_type-
|
|
323
|
+
.awsui_type-warning_mx3cw_1kx9t_271:not(#\9) {
|
|
287
324
|
border-color: var(--color-border-status-warning-52glov, #8d6605);
|
|
288
325
|
background-color: var(--color-background-status-warning-oor4hw, #fffce9);
|
|
289
326
|
}
|
|
290
|
-
.awsui_type-
|
|
327
|
+
.awsui_type-warning_mx3cw_1kx9t_271 > .awsui_alert-mobile-block_mx3cw_1kx9t_206 > .awsui_alert-focus-wrapper_mx3cw_1kx9t_180 > .awsui_icon_mx3cw_1kx9t_215:not(#\9) {
|
|
291
328
|
color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
292
329
|
}
|
|
293
330
|
|
|
294
|
-
.awsui_type-
|
|
331
|
+
.awsui_type-success_mx3cw_1kx9t_279:not(#\9) {
|
|
295
332
|
border-color: var(--color-border-status-success-wmgb40, #037f0c);
|
|
296
333
|
background-color: var(--color-background-status-success-jp14wa, #f2fcf3);
|
|
297
334
|
}
|
|
298
|
-
.awsui_type-
|
|
335
|
+
.awsui_type-success_mx3cw_1kx9t_279 > .awsui_alert-mobile-block_mx3cw_1kx9t_206 > .awsui_alert-focus-wrapper_mx3cw_1kx9t_180 > .awsui_icon_mx3cw_1kx9t_215:not(#\9) {
|
|
299
336
|
color: var(--color-text-status-success-bpiyjm, #037f0c);
|
|
300
337
|
}
|
|
301
338
|
|
|
302
|
-
.awsui_type-
|
|
339
|
+
.awsui_type-info_mx3cw_1kx9t_287:not(#\9) {
|
|
303
340
|
border-color: var(--color-border-status-info-8upc6f, #0972d3);
|
|
304
341
|
background-color: var(--color-background-status-info-mvnbre, #f2f8fd);
|
|
305
342
|
}
|
|
306
|
-
.awsui_type-
|
|
343
|
+
.awsui_type-info_mx3cw_1kx9t_287 > .awsui_alert-mobile-block_mx3cw_1kx9t_206 > .awsui_alert-focus-wrapper_mx3cw_1kx9t_180 > .awsui_icon_mx3cw_1kx9t_215:not(#\9) {
|
|
307
344
|
color: var(--color-text-status-info-ahz8zp, #0972d3);
|
|
308
345
|
}
|
|
@@ -2,24 +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
|
-
"alert": "
|
|
6
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
7
|
-
"root": "
|
|
8
|
-
"hidden": "
|
|
9
|
-
"body": "
|
|
10
|
-
"header": "
|
|
11
|
-
"action": "
|
|
12
|
-
"action-button": "awsui_action-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
5
|
+
"alert": "awsui_alert_mx3cw_1kx9t_93",
|
|
6
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_1kx9t_1",
|
|
7
|
+
"root": "awsui_root_mx3cw_1kx9t_119",
|
|
8
|
+
"hidden": "awsui_hidden_mx3cw_1kx9t_135",
|
|
9
|
+
"body": "awsui_body_mx3cw_1kx9t_161",
|
|
10
|
+
"header": "awsui_header_mx3cw_1kx9t_167",
|
|
11
|
+
"action": "awsui_action_mx3cw_1kx9t_171",
|
|
12
|
+
"action-button": "awsui_action-button_mx3cw_1kx9t_176",
|
|
13
|
+
"alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_1kx9t_180",
|
|
14
|
+
"alert-mobile-block": "awsui_alert-mobile-block_mx3cw_1kx9t_206",
|
|
15
|
+
"text": "awsui_text_mx3cw_1kx9t_211",
|
|
16
|
+
"icon": "awsui_icon_mx3cw_1kx9t_215",
|
|
17
|
+
"message": "awsui_message_mx3cw_1kx9t_218",
|
|
18
|
+
"breakpoint-default": "awsui_breakpoint-default_mx3cw_1kx9t_223",
|
|
19
|
+
"icon-size-medium": "awsui_icon-size-medium_mx3cw_1kx9t_229",
|
|
20
|
+
"icon-size-big": "awsui_icon-size-big_mx3cw_1kx9t_232",
|
|
21
|
+
"icon-size-normal": "awsui_icon-size-normal_mx3cw_1kx9t_235",
|
|
22
|
+
"content": "awsui_content_mx3cw_1kx9t_245",
|
|
23
|
+
"dismiss": "awsui_dismiss_mx3cw_1kx9t_249",
|
|
24
|
+
"dismiss-button": "awsui_dismiss-button_mx3cw_1kx9t_255",
|
|
25
|
+
"type-error": "awsui_type-error_mx3cw_1kx9t_263",
|
|
26
|
+
"type-warning": "awsui_type-warning_mx3cw_1kx9t_271",
|
|
27
|
+
"type-success": "awsui_type-success_mx3cw_1kx9t_279",
|
|
28
|
+
"type-info": "awsui_type-info_mx3cw_1kx9t_287"
|
|
24
29
|
};
|
|
25
30
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background.d.ts","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/background.tsx"],"names":[],"mappings":";AAOA,MAAM,CAAC,OAAO,UAAU,UAAU,
|
|
1
|
+
{"version":3,"file":"background.d.ts","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/background.tsx"],"names":[],"mappings":";AAOA,MAAM,CAAC,OAAO,UAAU,UAAU,uBA2BjC"}
|
|
@@ -5,8 +5,8 @@ import clsx from 'clsx';
|
|
|
5
5
|
import { useAppLayoutInternals } from './context';
|
|
6
6
|
import styles from './styles.css.js';
|
|
7
7
|
export default function Background() {
|
|
8
|
-
const { breadcrumbs,
|
|
9
|
-
if (!hasNotificationsContent && (!breadcrumbs || isMobile) && !
|
|
8
|
+
const { breadcrumbs, hasBackgroundOverlap, hasNotificationsContent, hasStickyBackground, isMobile, stickyNotifications, } = useAppLayoutInternals();
|
|
9
|
+
if (!hasNotificationsContent && (!breadcrumbs || isMobile) && !hasBackgroundOverlap) {
|
|
10
10
|
return null;
|
|
11
11
|
}
|
|
12
12
|
return (React.createElement("div", { className: clsx(styles.background, 'awsui-context-content-header') },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background.js","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/background.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,UAAU;IAChC,MAAM,EACJ,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"background.js","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/background.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,UAAU;IAChC,MAAM,EACJ,WAAW,EACX,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,QAAQ,EACR,mBAAmB,GACpB,GAAG,qBAAqB,EAAE,CAAC;IAE5B,IAAI,CAAC,uBAAuB,IAAI,CAAC,CAAC,WAAW,IAAI,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE;QACnF,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,8BAA8B,CAAC;QACrE,6BAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC,GAAI;QAEjD,CAAC,QAAQ,IAAI,mBAAmB,IAAI,CACnC,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE;gBAC3C,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,EAAE,mBAAmB;aAC1D,CAAC,GACF,CACH,CACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport { useAppLayoutInternals } from './context';\nimport styles from './styles.css.js';\n\nexport default function Background() {\n const {\n breadcrumbs,\n hasBackgroundOverlap,\n hasNotificationsContent,\n hasStickyBackground,\n isMobile,\n stickyNotifications,\n } = useAppLayoutInternals();\n\n if (!hasNotificationsContent && (!breadcrumbs || isMobile) && !hasBackgroundOverlap) {\n return null;\n }\n\n return (\n <div className={clsx(styles.background, 'awsui-context-content-header')}>\n <div className={styles['scrolling-background']} />\n\n {!isMobile && hasStickyBackground && (\n <div\n className={clsx(styles['sticky-background'], {\n [styles['has-sticky-notifications']]: stickyNotifications,\n })}\n />\n )}\n </div>\n );\n}\n"]}
|
|
@@ -14,7 +14,6 @@ interface AppLayoutInternals extends AppLayoutProps {
|
|
|
14
14
|
drawerRef: React.Ref<HTMLElement>;
|
|
15
15
|
resizeHandle: React.ReactElement;
|
|
16
16
|
drawersTriggerCount: number;
|
|
17
|
-
dynamicOverlapHeight: number;
|
|
18
17
|
handleDrawersClick: (activeDrawerId: string | null, skipFocusControl?: boolean) => void;
|
|
19
18
|
handleSplitPanelClick: () => void;
|
|
20
19
|
handleNavigationClick: (isOpen: boolean) => void;
|
|
@@ -23,11 +22,13 @@ interface AppLayoutInternals extends AppLayoutProps {
|
|
|
23
22
|
size: number;
|
|
24
23
|
}) => void;
|
|
25
24
|
handleToolsClick: (value: boolean, skipFocusControl?: boolean) => void;
|
|
25
|
+
hasBackgroundOverlap: boolean;
|
|
26
26
|
hasDefaultToolsWidth: boolean;
|
|
27
27
|
hasDrawerViewportOverlay: boolean;
|
|
28
28
|
hasNotificationsContent: boolean;
|
|
29
29
|
hasOpenDrawer?: boolean;
|
|
30
30
|
hasStickyBackground: boolean;
|
|
31
|
+
isBackgroundOverlapDisabled: boolean;
|
|
31
32
|
isMobile: boolean;
|
|
32
33
|
isNavigationOpen: boolean;
|
|
33
34
|
isSplitPanelForcedPosition: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/context.tsx"],"names":[],"mappings":"AAEA,OAAO,KASN,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,gBAAgB,EAAmB,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAyB,MAAM,mCAAmC,CAAC;AAKlG,OAAO,EAAE,0BAA0B,EAA6B,MAAM,wCAAwC,CAAC;AAC/G,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAGvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"lib/default/","sources":["app-layout/visual-refresh/context.tsx"],"names":[],"mappings":"AAEA,OAAO,KASN,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,gBAAgB,EAAmB,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAyB,MAAM,mCAAmC,CAAC;AAKlG,OAAO,EAAE,0BAA0B,EAA6B,MAAM,wCAAwC,CAAC;AAC/G,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAGvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAO3D,UAAU,kBAAmB,SAAQ,cAAc;IACjD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IACzC,WAAW,EAAE,sBAAsB,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE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