@cloudscape-design/components 3.0.512 → 3.0.514
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/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/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/manifest.json +1 -1
- package/package.json +1 -1
- package/popover/arrow.d.ts.map +1 -1
- package/popover/arrow.js +7 -3
- package/popover/arrow.js.map +1 -1
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +66 -63
- package/popover/styles.selectors.js +50 -50
- package/select/index.d.ts.map +1 -1
- package/select/index.js +1 -4
- package/select/index.js.map +1 -1
package/button/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { applyDisplayName } from '../internal/utils/apply-display-name';
|
|
|
8
8
|
import useBaseComponent from '../internal/hooks/use-base-component';
|
|
9
9
|
const Button = React.forwardRef((_a, ref) => {
|
|
10
10
|
var { children, iconName, iconAlign = 'left', iconUrl, iconSvg, iconAlt, variant = 'normal', loading = false, loadingText, disabled = false, wrapText = true, href, target, rel, download, formAction = 'submit', ariaLabel, ariaDescribedby, onClick, onFollow, ariaExpanded, ariaControls, fullWidth, form } = _a, props = __rest(_a, ["children", "iconName", "iconAlign", "iconUrl", "iconSvg", "iconAlt", "variant", "loading", "loadingText", "disabled", "wrapText", "href", "target", "rel", "download", "formAction", "ariaLabel", "ariaDescribedby", "onClick", "onFollow", "ariaExpanded", "ariaControls", "fullWidth", "form"]);
|
|
11
|
-
const baseComponentProps = useBaseComponent('Button'
|
|
11
|
+
const baseComponentProps = useBaseComponent('Button');
|
|
12
12
|
const baseProps = getBaseProps(props);
|
|
13
13
|
return (React.createElement(InternalButton, Object.assign({}, baseProps, baseComponentProps, { ref: ref, iconName: iconName, iconAlign: iconAlign, iconUrl: iconUrl, iconSvg: iconSvg, iconAlt: iconAlt, variant: variant, loading: loading, loadingText: loadingText, disabled: disabled, wrapText: wrapText, href: href, target: target, rel: rel, download: download, formAction: formAction, ariaLabel: ariaLabel, ariaDescribedby: ariaDescribedby, onClick: onClick, onFollow: onFollow, ariaExpanded: ariaExpanded, ariaControls: ariaControls, fullWidth: fullWidth, form: form }), children));
|
|
14
14
|
});
|
package/button/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["button/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AAIpE,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC7B,CACE,EA0Bc,EACd,GAA+B,EAC/B,EAAE;QA5BF,EACE,QAAQ,EACR,QAAQ,EACR,SAAS,GAAG,MAAM,EAClB,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,GAAG,QAAQ,EAClB,OAAO,GAAG,KAAK,EACf,WAAW,EACX,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,IAAI,EACf,IAAI,EACJ,MAAM,EACN,GAAG,EACH,QAAQ,EACR,UAAU,GAAG,QAAQ,EACrB,SAAS,EACT,eAAe,EACf,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,IAAI,OAEQ,EADT,KAAK,cAzBV,kSA0BC,CADS;IAIV,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["button/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AAIpE,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC7B,CACE,EA0Bc,EACd,GAA+B,EAC/B,EAAE;QA5BF,EACE,QAAQ,EACR,QAAQ,EACR,SAAS,GAAG,MAAM,EAClB,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,GAAG,QAAQ,EAClB,OAAO,GAAG,KAAK,EACf,WAAW,EACX,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,IAAI,EACf,IAAI,EACJ,MAAM,EACN,GAAG,EACH,QAAQ,EACR,UAAU,GAAG,QAAQ,EACrB,SAAS,EACT,eAAe,EACf,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,IAAI,OAEQ,EADT,KAAK,cAzBV,kSA0BC,CADS;IAIV,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACtD,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACtC,OAAO,CACL,oBAAC,cAAc,oBACT,SAAS,EACT,kBAAkB,IACtB,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,KAET,QAAQ,CACM,CAClB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AACnC,eAAe,MAAM,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { getBaseProps } from '../internal/base-component';\nimport { ButtonProps } from './interfaces';\nimport { InternalButton } from './internal';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport useBaseComponent from '../internal/hooks/use-base-component';\n\nexport { ButtonProps };\n\nconst Button = React.forwardRef(\n (\n {\n children,\n iconName,\n iconAlign = 'left',\n iconUrl,\n iconSvg,\n iconAlt,\n variant = 'normal',\n loading = false,\n loadingText,\n disabled = false,\n wrapText = true,\n href,\n target,\n rel,\n download,\n formAction = 'submit',\n ariaLabel,\n ariaDescribedby,\n onClick,\n onFollow,\n ariaExpanded,\n ariaControls,\n fullWidth,\n form,\n ...props\n }: ButtonProps,\n ref: React.Ref<ButtonProps.Ref>\n ) => {\n const baseComponentProps = useBaseComponent('Button');\n const baseProps = getBaseProps(props);\n return (\n <InternalButton\n {...baseProps}\n {...baseComponentProps}\n ref={ref}\n iconName={iconName}\n iconAlign={iconAlign}\n iconUrl={iconUrl}\n iconSvg={iconSvg}\n iconAlt={iconAlt}\n variant={variant}\n loading={loading}\n loadingText={loadingText}\n disabled={disabled}\n wrapText={wrapText}\n href={href}\n target={target}\n rel={rel}\n download={download}\n formAction={formAction}\n ariaLabel={ariaLabel}\n ariaDescribedby={ariaDescribedby}\n onClick={onClick}\n onFollow={onFollow}\n ariaExpanded={ariaExpanded}\n ariaControls={ariaControls}\n fullWidth={fullWidth}\n form={form}\n >\n {children}\n </InternalButton>\n );\n }\n);\n\napplyDisplayName(Button, 'Button');\nexport default Button;\n"]}
|
package/internal/environment.js
CHANGED
|
@@ -7,7 +7,7 @@ export interface InternalBaseComponentProps<T = any> {
|
|
|
7
7
|
* attached to the (internal) component's root DOM node. The hook takes care of attaching the metadata to this
|
|
8
8
|
* root DOM node and emits the telemetry for this component.
|
|
9
9
|
*/
|
|
10
|
-
export default function useBaseComponent<T = any>(componentName: string
|
|
10
|
+
export default function useBaseComponent<T = any>(componentName: string): {
|
|
11
11
|
__internalRootRef: import("react").RefObject<T>;
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAMzC,MAAM,WAAW,0BAA0B,CAAC,CAAC,GAAG,GAAG;IACjD,iBAAiB,CAAC,EAAE,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CACvD;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,GAAG,GAAG,EAAE,aAAa,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAMzC,MAAM,WAAW,0BAA0B,CAAC,CAAC,GAAG,GAAG;IACjD,iBAAiB,CAAC,EAAE,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CACvD;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,GAAG,GAAG,EAAE,aAAa,EAAE,MAAM;;EAKtE"}
|
|
@@ -7,10 +7,10 @@ import useFocusVisible from '../focus-visible';
|
|
|
7
7
|
* attached to the (internal) component's root DOM node. The hook takes care of attaching the metadata to this
|
|
8
8
|
* root DOM node and emits the telemetry for this component.
|
|
9
9
|
*/
|
|
10
|
-
export default function useBaseComponent(componentName
|
|
10
|
+
export default function useBaseComponent(componentName) {
|
|
11
11
|
useTelemetry(componentName);
|
|
12
12
|
useFocusVisible();
|
|
13
|
-
const elementRef = useComponentMetadata(componentName, PACKAGE_VERSION
|
|
13
|
+
const elementRef = useComponentMetadata(componentName, PACKAGE_VERSION);
|
|
14
14
|
return { __internalRootRef: elementRef };
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAM/C;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAU,aAAqB
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAM/C;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAU,aAAqB;IACrE,YAAY,CAAC,aAAa,CAAC,CAAC;IAC5B,eAAe,EAAE,CAAC;IAClB,MAAM,UAAU,GAAG,oBAAoB,CAAI,aAAa,EAAE,eAAe,CAAC,CAAC;IAC3E,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAC3C,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { MutableRefObject } from 'react';\nimport { useComponentMetadata } from '@cloudscape-design/component-toolkit/internal';\nimport { useTelemetry } from '../use-telemetry';\nimport { PACKAGE_VERSION } from '../../environment';\nimport useFocusVisible from '../focus-visible';\n\nexport interface InternalBaseComponentProps<T = any> {\n __internalRootRef?: MutableRefObject<T | null> | null;\n}\n\n/**\n * This hook is used for components which are exported to customers. The returned __internalRootRef needs to be\n * attached to the (internal) component's root DOM node. The hook takes care of attaching the metadata to this\n * root DOM node and emits the telemetry for this component.\n */\nexport default function useBaseComponent<T = any>(componentName: string) {\n useTelemetry(componentName);\n useFocusVisible();\n const elementRef = useComponentMetadata<T>(componentName, PACKAGE_VERSION);\n return { __internalRootRef: elementRef };\n}\n"]}
|
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@cloudscape-design/components","main":"./index.js","exports":{".":"./index.js","./package.json":"./package.json","./theming":"./theming/index.js","./test-utils/dom":"./test-utils/dom/index.js","./test-utils/selectors":"./test-utils/selectors/index.js","./interfaces":"./interfaces.js","./contexts/form-field":"./contexts/form-field.js","./alert":"./alert/index.js","./anchor-navigation":"./anchor-navigation/index.js","./annotation-context":"./annotation-context/index.js","./app-layout":"./app-layout/index.js","./area-chart":"./area-chart/index.js","./attribute-editor":"./attribute-editor/index.js","./autosuggest":"./autosuggest/index.js","./badge":"./badge/index.js","./bar-chart":"./bar-chart/index.js","./box":"./box/index.js","./breadcrumb-group":"./breadcrumb-group/index.js","./button":"./button/index.js","./button-dropdown":"./button-dropdown/index.js","./calendar":"./calendar/index.js","./cards":"./cards/index.js","./checkbox":"./checkbox/index.js","./code-editor":"./code-editor/index.js","./collection-preferences":"./collection-preferences/index.js","./column-layout":"./column-layout/index.js","./container":"./container/index.js","./content-layout":"./content-layout/index.js","./copy-to-clipboard":"./copy-to-clipboard/index.js","./date-input":"./date-input/index.js","./date-picker":"./date-picker/index.js","./date-range-picker":"./date-range-picker/index.js","./drawer":"./drawer/index.js","./expandable-section":"./expandable-section/index.js","./file-upload":"./file-upload/index.js","./flashbar":"./flashbar/index.js","./form":"./form/index.js","./form-field":"./form-field/index.js","./grid":"./grid/index.js","./header":"./header/index.js","./help-panel":"./help-panel/index.js","./hotspot":"./hotspot/index.js","./icon":"./icon/index.js","./input":"./input/index.js","./line-chart":"./line-chart/index.js","./link":"./link/index.js","./mixed-line-bar-chart":"./mixed-line-bar-chart/index.js","./modal":"./modal/index.js","./multiselect":"./multiselect/index.js","./pagination":"./pagination/index.js","./pie-chart":"./pie-chart/index.js","./popover":"./popover/index.js","./progress-bar":"./progress-bar/index.js","./property-filter":"./property-filter/index.js","./radio-group":"./radio-group/index.js","./s3-resource-selector":"./s3-resource-selector/index.js","./segmented-control":"./segmented-control/index.js","./select":"./select/index.js","./side-navigation":"./side-navigation/index.js","./space-between":"./space-between/index.js","./spinner":"./spinner/index.js","./split-panel":"./split-panel/index.js","./status-indicator":"./status-indicator/index.js","./table":"./table/index.js","./tabs":"./tabs/index.js","./tag-editor":"./tag-editor/index.js","./text-content":"./text-content/index.js","./text-filter":"./text-filter/index.js","./textarea":"./textarea/index.js","./tiles":"./tiles/index.js","./time-input":"./time-input/index.js","./toggle":"./toggle/index.js","./token-group":"./token-group/index.js","./top-navigation":"./top-navigation/index.js","./tutorial-panel":"./tutorial-panel/index.js","./wizard":"./wizard/index.js","./top-navigation/1.0-beta":"./top-navigation/1.0-beta/index.js","./i18n":"./i18n/index.js","./i18n/messages/all.all":"./i18n/messages/all.all.js","./i18n/messages/all.all.json":"./i18n/messages/all.all.json","./i18n/messages/all.de":"./i18n/messages/all.de.js","./i18n/messages/all.de.json":"./i18n/messages/all.de.json","./i18n/messages/all.en-GB":"./i18n/messages/all.en-GB.js","./i18n/messages/all.en-GB.json":"./i18n/messages/all.en-GB.json","./i18n/messages/all.en":"./i18n/messages/all.en.js","./i18n/messages/all.en.json":"./i18n/messages/all.en.json","./i18n/messages/all.es":"./i18n/messages/all.es.js","./i18n/messages/all.es.json":"./i18n/messages/all.es.json","./i18n/messages/all.fr":"./i18n/messages/all.fr.js","./i18n/messages/all.fr.json":"./i18n/messages/all.fr.json","./i18n/messages/all.id":"./i18n/messages/all.id.js","./i18n/messages/all.id.json":"./i18n/messages/all.id.json","./i18n/messages/all.it":"./i18n/messages/all.it.js","./i18n/messages/all.it.json":"./i18n/messages/all.it.json","./i18n/messages/all.ja":"./i18n/messages/all.ja.js","./i18n/messages/all.ja.json":"./i18n/messages/all.ja.json","./i18n/messages/all.ko":"./i18n/messages/all.ko.js","./i18n/messages/all.ko.json":"./i18n/messages/all.ko.json","./i18n/messages/all.pt-BR":"./i18n/messages/all.pt-BR.js","./i18n/messages/all.pt-BR.json":"./i18n/messages/all.pt-BR.json","./i18n/messages/all.th":"./i18n/messages/all.th.js","./i18n/messages/all.th.json":"./i18n/messages/all.th.json","./i18n/messages/all.tr":"./i18n/messages/all.tr.js","./i18n/messages/all.tr.json":"./i18n/messages/all.tr.json","./i18n/messages/all.zh-CN":"./i18n/messages/all.zh-CN.js","./i18n/messages/all.zh-CN.json":"./i18n/messages/all.zh-CN.json","./i18n/messages/all.zh-TW":"./i18n/messages/all.zh-TW.js","./i18n/messages/all.zh-TW.json":"./i18n/messages/all.zh-TW.json"},"sideEffects":["*.css","./internal/base-component/index.js","./internal/base-component/styles.css.js"],"version":"3.0.
|
|
1
|
+
{"name":"@cloudscape-design/components","main":"./index.js","exports":{".":"./index.js","./package.json":"./package.json","./theming":"./theming/index.js","./test-utils/dom":"./test-utils/dom/index.js","./test-utils/selectors":"./test-utils/selectors/index.js","./interfaces":"./interfaces.js","./contexts/form-field":"./contexts/form-field.js","./alert":"./alert/index.js","./anchor-navigation":"./anchor-navigation/index.js","./annotation-context":"./annotation-context/index.js","./app-layout":"./app-layout/index.js","./area-chart":"./area-chart/index.js","./attribute-editor":"./attribute-editor/index.js","./autosuggest":"./autosuggest/index.js","./badge":"./badge/index.js","./bar-chart":"./bar-chart/index.js","./box":"./box/index.js","./breadcrumb-group":"./breadcrumb-group/index.js","./button":"./button/index.js","./button-dropdown":"./button-dropdown/index.js","./calendar":"./calendar/index.js","./cards":"./cards/index.js","./checkbox":"./checkbox/index.js","./code-editor":"./code-editor/index.js","./collection-preferences":"./collection-preferences/index.js","./column-layout":"./column-layout/index.js","./container":"./container/index.js","./content-layout":"./content-layout/index.js","./copy-to-clipboard":"./copy-to-clipboard/index.js","./date-input":"./date-input/index.js","./date-picker":"./date-picker/index.js","./date-range-picker":"./date-range-picker/index.js","./drawer":"./drawer/index.js","./expandable-section":"./expandable-section/index.js","./file-upload":"./file-upload/index.js","./flashbar":"./flashbar/index.js","./form":"./form/index.js","./form-field":"./form-field/index.js","./grid":"./grid/index.js","./header":"./header/index.js","./help-panel":"./help-panel/index.js","./hotspot":"./hotspot/index.js","./icon":"./icon/index.js","./input":"./input/index.js","./line-chart":"./line-chart/index.js","./link":"./link/index.js","./mixed-line-bar-chart":"./mixed-line-bar-chart/index.js","./modal":"./modal/index.js","./multiselect":"./multiselect/index.js","./pagination":"./pagination/index.js","./pie-chart":"./pie-chart/index.js","./popover":"./popover/index.js","./progress-bar":"./progress-bar/index.js","./property-filter":"./property-filter/index.js","./radio-group":"./radio-group/index.js","./s3-resource-selector":"./s3-resource-selector/index.js","./segmented-control":"./segmented-control/index.js","./select":"./select/index.js","./side-navigation":"./side-navigation/index.js","./space-between":"./space-between/index.js","./spinner":"./spinner/index.js","./split-panel":"./split-panel/index.js","./status-indicator":"./status-indicator/index.js","./table":"./table/index.js","./tabs":"./tabs/index.js","./tag-editor":"./tag-editor/index.js","./text-content":"./text-content/index.js","./text-filter":"./text-filter/index.js","./textarea":"./textarea/index.js","./tiles":"./tiles/index.js","./time-input":"./time-input/index.js","./toggle":"./toggle/index.js","./token-group":"./token-group/index.js","./top-navigation":"./top-navigation/index.js","./tutorial-panel":"./tutorial-panel/index.js","./wizard":"./wizard/index.js","./top-navigation/1.0-beta":"./top-navigation/1.0-beta/index.js","./i18n":"./i18n/index.js","./i18n/messages/all.all":"./i18n/messages/all.all.js","./i18n/messages/all.all.json":"./i18n/messages/all.all.json","./i18n/messages/all.de":"./i18n/messages/all.de.js","./i18n/messages/all.de.json":"./i18n/messages/all.de.json","./i18n/messages/all.en-GB":"./i18n/messages/all.en-GB.js","./i18n/messages/all.en-GB.json":"./i18n/messages/all.en-GB.json","./i18n/messages/all.en":"./i18n/messages/all.en.js","./i18n/messages/all.en.json":"./i18n/messages/all.en.json","./i18n/messages/all.es":"./i18n/messages/all.es.js","./i18n/messages/all.es.json":"./i18n/messages/all.es.json","./i18n/messages/all.fr":"./i18n/messages/all.fr.js","./i18n/messages/all.fr.json":"./i18n/messages/all.fr.json","./i18n/messages/all.id":"./i18n/messages/all.id.js","./i18n/messages/all.id.json":"./i18n/messages/all.id.json","./i18n/messages/all.it":"./i18n/messages/all.it.js","./i18n/messages/all.it.json":"./i18n/messages/all.it.json","./i18n/messages/all.ja":"./i18n/messages/all.ja.js","./i18n/messages/all.ja.json":"./i18n/messages/all.ja.json","./i18n/messages/all.ko":"./i18n/messages/all.ko.js","./i18n/messages/all.ko.json":"./i18n/messages/all.ko.json","./i18n/messages/all.pt-BR":"./i18n/messages/all.pt-BR.js","./i18n/messages/all.pt-BR.json":"./i18n/messages/all.pt-BR.json","./i18n/messages/all.th":"./i18n/messages/all.th.js","./i18n/messages/all.th.json":"./i18n/messages/all.th.json","./i18n/messages/all.tr":"./i18n/messages/all.tr.js","./i18n/messages/all.tr.json":"./i18n/messages/all.tr.json","./i18n/messages/all.zh-CN":"./i18n/messages/all.zh-CN.js","./i18n/messages/all.zh-CN.json":"./i18n/messages/all.zh-CN.json","./i18n/messages/all.zh-TW":"./i18n/messages/all.zh-TW.js","./i18n/messages/all.zh-TW.json":"./i18n/messages/all.zh-TW.json"},"sideEffects":["*.css","./internal/base-component/index.js","./internal/base-component/styles.css.js"],"version":"3.0.514","repository":{"type":"git","url":"https://github.com/cloudscape-design/components.git"},"homepage":"https://cloudscape.design","dependencies":{"@cloudscape-design/collection-hooks":"^1.0.0","@cloudscape-design/component-toolkit":"^1.0.0-beta","@cloudscape-design/test-utils-core":"^1.0.0","@cloudscape-design/theming-runtime":"^1.0.0","@dnd-kit/core":"^6.0.8","@dnd-kit/sortable":"^7.0.2","@dnd-kit/utilities":"^3.2.1","@juggle/resize-observer":"^3.3.1","ace-builds":"^1.23.0","balanced-match":"^1.0.2","clsx":"^1.1.0","d3-shape":"^1.3.7","date-fns":"^2.25.0","intl-messageformat":"^10.3.1","mnth":"^2.0.0","react-keyed-flatten-children":"^1.3.0","react-transition-group":"^4.4.2","react-virtual":"^2.8.2","tslib":"^2.4.0","weekstart":"^1.1.0"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"license":"Apache-2.0"}
|
package/popover/arrow.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow.d.ts","sourceRoot":"lib/default/","sources":["popover/arrow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"arrow.d.ts","sourceRoot":"lib/default/","sources":["popover/arrow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACnC;;AAaD,wBAAiC"}
|
package/popover/arrow.js
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import styles from './styles.css.js';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
|
|
7
|
+
const Arrow = (props) => {
|
|
8
|
+
const isVisualRefresh = useVisualRefresh();
|
|
9
|
+
return (React.createElement("div", { className: clsx(styles.arrow, props.position && styles[`arrow-position-${props.position}`]) },
|
|
10
|
+
React.createElement("div", { className: styles['arrow-outer'] }),
|
|
11
|
+
React.createElement("div", { className: clsx(styles['arrow-inner'], isVisualRefresh && styles.refresh) })));
|
|
12
|
+
};
|
|
9
13
|
export default React.memo(Arrow);
|
|
10
14
|
//# sourceMappingURL=arrow.js.map
|
package/popover/arrow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow.js","sourceRoot":"lib/default/","sources":["popover/arrow.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,MAAM,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"arrow.js","sourceRoot":"lib/default/","sources":["popover/arrow.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAMrE,MAAM,KAAK,GAAG,CAAC,KAAiB,EAAE,EAAE;IAClC,MAAM,eAAe,GAAG,gBAAgB,EAAE,CAAC;IAE3C,OAAO,CACL,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,QAAQ,IAAI,MAAM,CAAC,kBAAkB,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC9F,6BAAK,SAAS,EAAE,MAAM,CAAC,aAAa,CAAC,GAAI;QACzC,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,eAAe,IAAI,MAAM,CAAC,OAAO,CAAC,GAAI,CAC9E,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport styles from './styles.css.js';\nimport { InternalPosition } from './interfaces';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\n\nexport interface ArrowProps {\n position: InternalPosition | null;\n}\n\nconst Arrow = (props: ArrowProps) => {\n const isVisualRefresh = useVisualRefresh();\n\n return (\n <div className={clsx(styles.arrow, props.position && styles[`arrow-position-${props.position}`])}>\n <div className={styles['arrow-outer']} />\n <div className={clsx(styles['arrow-inner'], isVisualRefresh && styles.refresh)} />\n </div>\n );\n};\n\nexport default React.memo(Arrow);\n"]}
|
package/popover/styles.css.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
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
|
-
"
|
|
8
|
-
"arrow-position-right-
|
|
9
|
-
"arrow-position-
|
|
10
|
-
"arrow-position-left-
|
|
11
|
-
"arrow-position-
|
|
12
|
-
"arrow-position-top-
|
|
13
|
-
"arrow-position-top-
|
|
14
|
-
"arrow-position-top-
|
|
15
|
-
"arrow-position-
|
|
16
|
-
"arrow-position-bottom-
|
|
17
|
-
"arrow-position-bottom-
|
|
18
|
-
"arrow-position-bottom-
|
|
19
|
-
"
|
|
20
|
-
"body
|
|
21
|
-
"
|
|
22
|
-
"dismiss": "
|
|
23
|
-
"dismiss
|
|
24
|
-
"
|
|
25
|
-
"header": "
|
|
26
|
-
"
|
|
27
|
-
"content
|
|
28
|
-
"
|
|
29
|
-
"container
|
|
30
|
-
"container-body
|
|
31
|
-
"container-body-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"container-body-size-
|
|
35
|
-
"container-
|
|
36
|
-
"container-arrow
|
|
37
|
-
"container-arrow-position-right-
|
|
38
|
-
"container-arrow-position-
|
|
39
|
-
"container-arrow-position-left-
|
|
40
|
-
"container-arrow-position-
|
|
41
|
-
"container-arrow-position-top-
|
|
42
|
-
"container-arrow-position-top-
|
|
43
|
-
"container-arrow-position-top-
|
|
44
|
-
"container-arrow-position-
|
|
45
|
-
"container-arrow-position-bottom-
|
|
46
|
-
"container-arrow-position-bottom-
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"root": "
|
|
50
|
-
"trigger": "
|
|
51
|
-
"trigger-type-text": "awsui_trigger-type-
|
|
52
|
-
"trigger-inner-text": "awsui_trigger-inner-
|
|
53
|
-
"popover-content": "awsui_popover-
|
|
4
|
+
"arrow": "awsui_arrow_xjuzf_le2x1_185",
|
|
5
|
+
"arrow-outer": "awsui_arrow-outer_xjuzf_le2x1_189",
|
|
6
|
+
"arrow-inner": "awsui_arrow-inner_xjuzf_le2x1_189",
|
|
7
|
+
"refresh": "awsui_refresh_xjuzf_le2x1_216",
|
|
8
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_le2x1_223",
|
|
9
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_le2x1_223",
|
|
10
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_le2x1_226",
|
|
11
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_le2x1_226",
|
|
12
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_le2x1_229",
|
|
13
|
+
"arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_le2x1_229",
|
|
14
|
+
"arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_le2x1_229",
|
|
15
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_le2x1_229",
|
|
16
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_le2x1_232",
|
|
17
|
+
"arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_le2x1_232",
|
|
18
|
+
"arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_le2x1_232",
|
|
19
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_le2x1_232",
|
|
20
|
+
"body": "awsui_body_xjuzf_le2x1_328",
|
|
21
|
+
"body-overflow-visible": "awsui_body-overflow-visible_xjuzf_le2x1_366",
|
|
22
|
+
"has-dismiss": "awsui_has-dismiss_xjuzf_le2x1_370",
|
|
23
|
+
"dismiss": "awsui_dismiss_xjuzf_le2x1_375",
|
|
24
|
+
"dismiss-control": "awsui_dismiss-control_xjuzf_le2x1_382",
|
|
25
|
+
"header-row": "awsui_header-row_xjuzf_le2x1_386",
|
|
26
|
+
"header": "awsui_header_xjuzf_le2x1_386",
|
|
27
|
+
"content": "awsui_content_xjuzf_le2x1_412",
|
|
28
|
+
"content-overflow-visible": "awsui_content-overflow-visible_xjuzf_le2x1_420",
|
|
29
|
+
"container": "awsui_container_xjuzf_le2x1_516",
|
|
30
|
+
"container-body": "awsui_container-body_xjuzf_le2x1_524",
|
|
31
|
+
"container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_le2x1_563",
|
|
32
|
+
"container-body-size-small": "awsui_container-body-size-small_xjuzf_le2x1_568",
|
|
33
|
+
"fixed-width": "awsui_fixed-width_xjuzf_le2x1_571",
|
|
34
|
+
"container-body-size-medium": "awsui_container-body-size-medium_xjuzf_le2x1_575",
|
|
35
|
+
"container-body-size-large": "awsui_container-body-size-large_xjuzf_le2x1_582",
|
|
36
|
+
"container-arrow": "awsui_container-arrow_xjuzf_le2x1_594",
|
|
37
|
+
"container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_le2x1_598",
|
|
38
|
+
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_le2x1_598",
|
|
39
|
+
"container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_le2x1_610",
|
|
40
|
+
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_le2x1_610",
|
|
41
|
+
"container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_le2x1_622",
|
|
42
|
+
"container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_le2x1_622",
|
|
43
|
+
"container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_le2x1_622",
|
|
44
|
+
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_le2x1_622",
|
|
45
|
+
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_le2x1_638",
|
|
46
|
+
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_le2x1_642",
|
|
47
|
+
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_le2x1_646",
|
|
48
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_le2x1_1",
|
|
49
|
+
"root": "awsui_root_xjuzf_le2x1_786",
|
|
50
|
+
"trigger": "awsui_trigger_xjuzf_le2x1_822",
|
|
51
|
+
"trigger-type-text": "awsui_trigger-type-text_xjuzf_le2x1_829",
|
|
52
|
+
"trigger-inner-text": "awsui_trigger-inner-text_xjuzf_le2x1_858",
|
|
53
|
+
"popover-content": "awsui_popover-content_xjuzf_le2x1_862"
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -182,11 +182,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
182
182
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
183
183
|
SPDX-License-Identifier: Apache-2.0
|
|
184
184
|
*/
|
|
185
|
-
.
|
|
185
|
+
.awsui_arrow_xjuzf_le2x1_185:not(#\9) {
|
|
186
186
|
width: 20px;
|
|
187
187
|
height: 10px;
|
|
188
188
|
}
|
|
189
|
-
.awsui_arrow-
|
|
189
|
+
.awsui_arrow-outer_xjuzf_le2x1_189:not(#\9), .awsui_arrow-inner_xjuzf_le2x1_189:not(#\9) {
|
|
190
190
|
position: absolute;
|
|
191
191
|
overflow: hidden;
|
|
192
192
|
width: 20px;
|
|
@@ -194,7 +194,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
194
194
|
top: 0;
|
|
195
195
|
left: 0;
|
|
196
196
|
}
|
|
197
|
-
.awsui_arrow-
|
|
197
|
+
.awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after, .awsui_arrow-inner_xjuzf_le2x1_189:not(#\9)::after {
|
|
198
198
|
content: "";
|
|
199
199
|
box-sizing: border-box;
|
|
200
200
|
display: inline-block;
|
|
@@ -207,26 +207,29 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
207
207
|
transform: rotate(45deg);
|
|
208
208
|
transform-origin: 0 100%;
|
|
209
209
|
}
|
|
210
|
-
.awsui_arrow-
|
|
210
|
+
.awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after {
|
|
211
211
|
background-color: var(--color-border-popover-umqvld, #9ba7b6);
|
|
212
212
|
}
|
|
213
|
-
.awsui_arrow-
|
|
213
|
+
.awsui_arrow-inner_xjuzf_le2x1_189:not(#\9) {
|
|
214
214
|
top: 2px;
|
|
215
215
|
}
|
|
216
|
-
.awsui_arrow-
|
|
216
|
+
.awsui_arrow-inner_xjuzf_le2x1_189.awsui_refresh_xjuzf_le2x1_216:not(#\9) {
|
|
217
|
+
top: 3px;
|
|
218
|
+
}
|
|
219
|
+
.awsui_arrow-inner_xjuzf_le2x1_189:not(#\9)::after {
|
|
217
220
|
border-radius: 1px 0 0 0;
|
|
218
221
|
background-color: var(--color-background-popover-szburm, #ffffff);
|
|
219
222
|
}
|
|
220
|
-
.awsui_arrow-position-right-
|
|
223
|
+
.awsui_arrow-position-right-top_xjuzf_le2x1_223 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after, .awsui_arrow-position-right-bottom_xjuzf_le2x1_223 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after {
|
|
221
224
|
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-8jp634, rgba(0, 7, 22, 0.12));
|
|
222
225
|
}
|
|
223
|
-
.awsui_arrow-position-left-
|
|
226
|
+
.awsui_arrow-position-left-top_xjuzf_le2x1_226 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after, .awsui_arrow-position-left-bottom_xjuzf_le2x1_226 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after {
|
|
224
227
|
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-8jp634, rgba(0, 7, 22, 0.12));
|
|
225
228
|
}
|
|
226
|
-
.awsui_arrow-position-top-
|
|
229
|
+
.awsui_arrow-position-top-center_xjuzf_le2x1_229 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after, .awsui_arrow-position-top-right_xjuzf_le2x1_229 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after, .awsui_arrow-position-top-left_xjuzf_le2x1_229 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after, .awsui_arrow-position-top-responsive_xjuzf_le2x1_229 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after {
|
|
227
230
|
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-8jp634, rgba(0, 7, 22, 0.12));
|
|
228
231
|
}
|
|
229
|
-
.awsui_arrow-position-bottom-
|
|
232
|
+
.awsui_arrow-position-bottom-center_xjuzf_le2x1_232 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after, .awsui_arrow-position-bottom-right_xjuzf_le2x1_232 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after, .awsui_arrow-position-bottom-left_xjuzf_le2x1_232 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after, .awsui_arrow-position-bottom-responsive_xjuzf_le2x1_232 > .awsui_arrow-outer_xjuzf_le2x1_189:not(#\9)::after {
|
|
230
233
|
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-8jp634, rgba(0, 7, 22, 0.12));
|
|
231
234
|
}
|
|
232
235
|
|
|
@@ -322,7 +325,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
322
325
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
323
326
|
SPDX-License-Identifier: Apache-2.0
|
|
324
327
|
*/
|
|
325
|
-
.
|
|
328
|
+
.awsui_body_xjuzf_le2x1_328:not(#\9) {
|
|
326
329
|
border-collapse: separate;
|
|
327
330
|
border-spacing: 0;
|
|
328
331
|
box-sizing: border-box;
|
|
@@ -361,31 +364,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
361
364
|
overflow: hidden;
|
|
362
365
|
padding: var(--space-s-34lx8l, 12px) var(--space-m-udix3p, 16px);
|
|
363
366
|
}
|
|
364
|
-
.awsui_body-overflow-
|
|
367
|
+
.awsui_body-overflow-visible_xjuzf_le2x1_366:not(#\9) {
|
|
365
368
|
overflow: visible;
|
|
366
369
|
}
|
|
367
370
|
|
|
368
|
-
.awsui_has-
|
|
371
|
+
.awsui_has-dismiss_xjuzf_le2x1_370:not(#\9) {
|
|
369
372
|
display: flex;
|
|
370
373
|
align-items: baseline;
|
|
371
374
|
}
|
|
372
375
|
|
|
373
|
-
.
|
|
376
|
+
.awsui_dismiss_xjuzf_le2x1_375:not(#\9) {
|
|
374
377
|
margin: calc(-1 * (var(--space-scaled-xxs-7597g1, 4px) + var(--border-field-width-09w7vk, 2px))) calc(-1 * (var(--space-xxs-p8yyaw, 4px) + var(--border-field-width-09w7vk, 2px)));
|
|
375
378
|
margin-left: 0;
|
|
376
379
|
flex: 0 0 auto;
|
|
377
380
|
order: 1;
|
|
378
381
|
}
|
|
379
382
|
|
|
380
|
-
.awsui_dismiss-
|
|
383
|
+
.awsui_dismiss-control_xjuzf_le2x1_382:not(#\9) {
|
|
381
384
|
/* used in test-utils */
|
|
382
385
|
}
|
|
383
386
|
|
|
384
|
-
.awsui_header-
|
|
387
|
+
.awsui_header-row_xjuzf_le2x1_386:not(#\9) {
|
|
385
388
|
margin-bottom: var(--space-xs-zb16t3, 8px);
|
|
386
389
|
}
|
|
387
390
|
|
|
388
|
-
.
|
|
391
|
+
.awsui_header_xjuzf_le2x1_386:not(#\9) {
|
|
389
392
|
word-wrap: break-word;
|
|
390
393
|
max-width: 100%;
|
|
391
394
|
overflow: hidden;
|
|
@@ -398,7 +401,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
398
401
|
/* stylelint-disable selector-max-type */
|
|
399
402
|
/* stylelint-enable selector-max-type */
|
|
400
403
|
}
|
|
401
|
-
.
|
|
404
|
+
.awsui_header_xjuzf_le2x1_386 > h2:not(#\9) {
|
|
402
405
|
font-size: var(--font-size-heading-xs-wo4hpf, 14px);
|
|
403
406
|
line-height: var(--line-height-heading-xs-aeleja, 18px);
|
|
404
407
|
font-weight: var(--font-weight-heading-xs-l7rqme, 700);
|
|
@@ -407,7 +410,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
407
410
|
display: inline;
|
|
408
411
|
}
|
|
409
412
|
|
|
410
|
-
.
|
|
413
|
+
.awsui_content_xjuzf_le2x1_412:not(#\9) {
|
|
411
414
|
word-wrap: break-word;
|
|
412
415
|
max-width: 100%;
|
|
413
416
|
overflow: hidden;
|
|
@@ -415,7 +418,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
415
418
|
flex: 1 1 auto;
|
|
416
419
|
min-width: 0;
|
|
417
420
|
}
|
|
418
|
-
.awsui_content-overflow-
|
|
421
|
+
.awsui_content-overflow-visible_xjuzf_le2x1_420:not(#\9) {
|
|
419
422
|
overflow: visible;
|
|
420
423
|
}
|
|
421
424
|
|
|
@@ -511,7 +514,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
511
514
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
512
515
|
SPDX-License-Identifier: Apache-2.0
|
|
513
516
|
*/
|
|
514
|
-
.
|
|
517
|
+
.awsui_container_xjuzf_le2x1_516:not(#\9) {
|
|
515
518
|
display: inline-block;
|
|
516
519
|
position: fixed;
|
|
517
520
|
top: -9999px;
|
|
@@ -519,7 +522,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
519
522
|
z-index: 2000;
|
|
520
523
|
}
|
|
521
524
|
|
|
522
|
-
.awsui_container-
|
|
525
|
+
.awsui_container-body_xjuzf_le2x1_524:not(#\9) {
|
|
523
526
|
border-collapse: separate;
|
|
524
527
|
border-spacing: 0;
|
|
525
528
|
box-sizing: border-box;
|
|
@@ -559,90 +562,90 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
559
562
|
border: var(--border-field-width-09w7vk, 2px) solid var(--color-border-popover-umqvld, #9ba7b6);
|
|
560
563
|
}
|
|
561
564
|
|
|
562
|
-
.awsui_container-body-variant-
|
|
565
|
+
.awsui_container-body-variant-annotation_xjuzf_le2x1_563:not(#\9) {
|
|
563
566
|
background-color: var(--color-background-status-info-mvnbre, #f2f8fd);
|
|
564
567
|
border-color: var(--color-border-status-info-8upc6f, #0972d3);
|
|
565
568
|
}
|
|
566
569
|
|
|
567
|
-
.awsui_container-body-size-
|
|
570
|
+
.awsui_container-body-size-small_xjuzf_le2x1_568:not(#\9) {
|
|
568
571
|
max-width: 210px;
|
|
569
572
|
}
|
|
570
|
-
.awsui_container-body-size-
|
|
573
|
+
.awsui_container-body-size-small_xjuzf_le2x1_568.awsui_fixed-width_xjuzf_le2x1_571:not(#\9) {
|
|
571
574
|
width: 210px;
|
|
572
575
|
}
|
|
573
576
|
|
|
574
|
-
.awsui_container-body-size-
|
|
577
|
+
.awsui_container-body-size-medium_xjuzf_le2x1_575:not(#\9) {
|
|
575
578
|
max-width: 310px;
|
|
576
579
|
}
|
|
577
|
-
.awsui_container-body-size-
|
|
580
|
+
.awsui_container-body-size-medium_xjuzf_le2x1_575.awsui_fixed-width_xjuzf_le2x1_571:not(#\9) {
|
|
578
581
|
width: 310px;
|
|
579
582
|
}
|
|
580
583
|
|
|
581
|
-
.awsui_container-body-size-
|
|
584
|
+
.awsui_container-body-size-large_xjuzf_le2x1_582:not(#\9) {
|
|
582
585
|
max-width: 480px;
|
|
583
586
|
}
|
|
584
587
|
@media (max-width: 480px) {
|
|
585
|
-
.awsui_container-body-size-
|
|
588
|
+
.awsui_container-body-size-large_xjuzf_le2x1_582:not(#\9) {
|
|
586
589
|
max-width: 310px;
|
|
587
590
|
}
|
|
588
591
|
}
|
|
589
|
-
.awsui_container-body-size-
|
|
592
|
+
.awsui_container-body-size-large_xjuzf_le2x1_582.awsui_fixed-width_xjuzf_le2x1_571:not(#\9) {
|
|
590
593
|
width: 480px;
|
|
591
594
|
}
|
|
592
595
|
|
|
593
|
-
.awsui_container-
|
|
596
|
+
.awsui_container-arrow_xjuzf_le2x1_594:not(#\9) {
|
|
594
597
|
position: absolute;
|
|
595
598
|
display: inline-block;
|
|
596
599
|
}
|
|
597
|
-
.awsui_container-arrow-position-right-
|
|
600
|
+
.awsui_container-arrow-position-right-top_xjuzf_le2x1_598:not(#\9), .awsui_container-arrow-position-right-bottom_xjuzf_le2x1_598:not(#\9) {
|
|
598
601
|
transform: rotate(-90deg);
|
|
599
602
|
transform-origin: 0 100%;
|
|
600
603
|
}
|
|
601
|
-
.awsui_container-arrow-position-right-
|
|
604
|
+
.awsui_container-arrow-position-right-top_xjuzf_le2x1_598:not(#\9) {
|
|
602
605
|
top: calc(12px + 10px);
|
|
603
606
|
left: 0;
|
|
604
607
|
}
|
|
605
|
-
.awsui_container-arrow-position-right-
|
|
608
|
+
.awsui_container-arrow-position-right-bottom_xjuzf_le2x1_598:not(#\9) {
|
|
606
609
|
bottom: 12px;
|
|
607
610
|
left: 0;
|
|
608
611
|
}
|
|
609
|
-
.awsui_container-arrow-position-left-
|
|
612
|
+
.awsui_container-arrow-position-left-top_xjuzf_le2x1_610:not(#\9), .awsui_container-arrow-position-left-bottom_xjuzf_le2x1_610:not(#\9) {
|
|
610
613
|
transform: rotate(90deg);
|
|
611
614
|
transform-origin: 100% 100%;
|
|
612
615
|
}
|
|
613
|
-
.awsui_container-arrow-position-left-
|
|
616
|
+
.awsui_container-arrow-position-left-top_xjuzf_le2x1_610:not(#\9) {
|
|
614
617
|
top: calc(12px + 10px);
|
|
615
618
|
right: 0;
|
|
616
619
|
}
|
|
617
|
-
.awsui_container-arrow-position-left-
|
|
620
|
+
.awsui_container-arrow-position-left-bottom_xjuzf_le2x1_610:not(#\9) {
|
|
618
621
|
bottom: 12px;
|
|
619
622
|
right: 0;
|
|
620
623
|
}
|
|
621
|
-
.awsui_container-arrow-position-top-
|
|
624
|
+
.awsui_container-arrow-position-top-center_xjuzf_le2x1_622:not(#\9), .awsui_container-arrow-position-top-right_xjuzf_le2x1_622:not(#\9), .awsui_container-arrow-position-top-left_xjuzf_le2x1_622:not(#\9), .awsui_container-arrow-position-top-responsive_xjuzf_le2x1_622:not(#\9) {
|
|
622
625
|
transform: rotate(180deg);
|
|
623
626
|
transform-origin: 50% 50%;
|
|
624
627
|
}
|
|
625
|
-
.awsui_container-arrow-position-top-
|
|
628
|
+
.awsui_container-arrow-position-top-center_xjuzf_le2x1_622:not(#\9) {
|
|
626
629
|
bottom: -10px;
|
|
627
630
|
left: calc(50% - 10px);
|
|
628
631
|
}
|
|
629
|
-
.awsui_container-arrow-position-top-
|
|
632
|
+
.awsui_container-arrow-position-top-right_xjuzf_le2x1_622:not(#\9) {
|
|
630
633
|
bottom: -10px;
|
|
631
634
|
left: 12px;
|
|
632
635
|
}
|
|
633
|
-
.awsui_container-arrow-position-top-
|
|
636
|
+
.awsui_container-arrow-position-top-left_xjuzf_le2x1_622:not(#\9) {
|
|
634
637
|
bottom: -10px;
|
|
635
638
|
left: calc(100% - 20px - 12px);
|
|
636
639
|
}
|
|
637
|
-
.awsui_container-arrow-position-bottom-
|
|
640
|
+
.awsui_container-arrow-position-bottom-center_xjuzf_le2x1_638:not(#\9) {
|
|
638
641
|
top: -10px;
|
|
639
642
|
left: calc(50% - 10px);
|
|
640
643
|
}
|
|
641
|
-
.awsui_container-arrow-position-bottom-
|
|
644
|
+
.awsui_container-arrow-position-bottom-right_xjuzf_le2x1_642:not(#\9) {
|
|
642
645
|
top: -10px;
|
|
643
646
|
left: 12px;
|
|
644
647
|
}
|
|
645
|
-
.awsui_container-arrow-position-bottom-
|
|
648
|
+
.awsui_container-arrow-position-bottom-left_xjuzf_le2x1_646:not(#\9) {
|
|
646
649
|
top: -10px;
|
|
647
650
|
left: calc(100% - 20px - 12px);
|
|
648
651
|
}
|
|
@@ -739,10 +742,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
739
742
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
740
743
|
SPDX-License-Identifier: Apache-2.0
|
|
741
744
|
*/
|
|
742
|
-
.
|
|
743
|
-
animation: awsui_awsui-motion-fade-
|
|
745
|
+
.awsui_container_xjuzf_le2x1_516:not(#\9) {
|
|
746
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_le2x1_1 var(--motion-duration-show-paced-q2lo2h, 180ms) var(--motion-easing-show-paced-ne2o0s, ease-out);
|
|
744
747
|
}
|
|
745
|
-
@keyframes awsui_awsui-motion-fade-
|
|
748
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_le2x1_1 {
|
|
746
749
|
from {
|
|
747
750
|
opacity: 0.2;
|
|
748
751
|
}
|
|
@@ -751,19 +754,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
751
754
|
}
|
|
752
755
|
}
|
|
753
756
|
@media (prefers-reduced-motion: reduce) {
|
|
754
|
-
.
|
|
757
|
+
.awsui_container_xjuzf_le2x1_516:not(#\9) {
|
|
755
758
|
animation: none;
|
|
756
759
|
transition: none;
|
|
757
760
|
}
|
|
758
761
|
}
|
|
759
|
-
.awsui-motion-disabled .
|
|
762
|
+
.awsui-motion-disabled .awsui_container_xjuzf_le2x1_516:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_le2x1_516:not(#\9) {
|
|
760
763
|
animation: none;
|
|
761
764
|
transition: none;
|
|
762
765
|
}
|
|
763
|
-
.
|
|
764
|
-
animation: awsui_awsui-motion-fade-
|
|
766
|
+
.awsui_container_xjuzf_le2x1_516.awsui_refresh_xjuzf_le2x1_216:not(#\9) {
|
|
767
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_le2x1_1 var(--motion-duration-refresh-only-fast-4jn2d7, 115ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
|
|
765
768
|
}
|
|
766
|
-
@keyframes awsui_awsui-motion-fade-
|
|
769
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_le2x1_1 {
|
|
767
770
|
from {
|
|
768
771
|
opacity: 0.2;
|
|
769
772
|
}
|
|
@@ -772,17 +775,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
772
775
|
}
|
|
773
776
|
}
|
|
774
777
|
@media (prefers-reduced-motion: reduce) {
|
|
775
|
-
.
|
|
778
|
+
.awsui_container_xjuzf_le2x1_516.awsui_refresh_xjuzf_le2x1_216:not(#\9) {
|
|
776
779
|
animation: none;
|
|
777
780
|
transition: none;
|
|
778
781
|
}
|
|
779
782
|
}
|
|
780
|
-
.awsui-motion-disabled .
|
|
783
|
+
.awsui-motion-disabled .awsui_container_xjuzf_le2x1_516.awsui_refresh_xjuzf_le2x1_216:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_le2x1_516.awsui_refresh_xjuzf_le2x1_216:not(#\9) {
|
|
781
784
|
animation: none;
|
|
782
785
|
transition: none;
|
|
783
786
|
}
|
|
784
787
|
|
|
785
|
-
.
|
|
788
|
+
.awsui_root_xjuzf_le2x1_786:not(#\9) {
|
|
786
789
|
border-collapse: separate;
|
|
787
790
|
border-spacing: 0;
|
|
788
791
|
box-sizing: border-box;
|
|
@@ -819,14 +822,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
819
822
|
color: inherit;
|
|
820
823
|
}
|
|
821
824
|
|
|
822
|
-
.
|
|
825
|
+
.awsui_trigger_xjuzf_le2x1_822:not(#\9) {
|
|
823
826
|
display: inline-block;
|
|
824
827
|
max-width: 100%;
|
|
825
828
|
color: inherit;
|
|
826
829
|
text-align: inherit;
|
|
827
830
|
}
|
|
828
831
|
|
|
829
|
-
.awsui_trigger-type-
|
|
832
|
+
.awsui_trigger-type-text_xjuzf_le2x1_829:not(#\9) {
|
|
830
833
|
border: 0;
|
|
831
834
|
margin: 0;
|
|
832
835
|
padding: 0;
|
|
@@ -834,17 +837,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
834
837
|
cursor: pointer;
|
|
835
838
|
border-bottom: var(--border-divider-list-width-27y3k5, 1px) dashed currentColor;
|
|
836
839
|
}
|
|
837
|
-
.awsui_trigger-type-
|
|
840
|
+
.awsui_trigger-type-text_xjuzf_le2x1_829:not(#\9):focus {
|
|
838
841
|
outline: none;
|
|
839
842
|
}
|
|
840
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
843
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_le2x1_829:not(#\9):focus {
|
|
841
844
|
position: relative;
|
|
842
845
|
}
|
|
843
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
846
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_le2x1_829:not(#\9):focus {
|
|
844
847
|
outline: 2px dotted transparent;
|
|
845
848
|
outline-offset: calc(1px - 1px);
|
|
846
849
|
}
|
|
847
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
850
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_le2x1_829:not(#\9):focus::before {
|
|
848
851
|
content: " ";
|
|
849
852
|
display: block;
|
|
850
853
|
position: absolute;
|
|
@@ -855,10 +858,10 @@ body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_4we5x_826:not
|
|
|
855
858
|
border-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
856
859
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
857
860
|
}
|
|
858
|
-
.awsui_trigger-type-
|
|
861
|
+
.awsui_trigger-type-text_xjuzf_le2x1_829 > .awsui_trigger-inner-text_xjuzf_le2x1_858:not(#\9) {
|
|
859
862
|
position: relative;
|
|
860
863
|
}
|
|
861
864
|
|
|
862
|
-
.awsui_popover-
|
|
865
|
+
.awsui_popover-content_xjuzf_le2x1_862:not(#\9) {
|
|
863
866
|
display: inline;
|
|
864
867
|
}
|
|
@@ -2,55 +2,55 @@
|
|
|
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
|
-
"
|
|
9
|
-
"arrow-position-right-
|
|
10
|
-
"arrow-position-
|
|
11
|
-
"arrow-position-left-
|
|
12
|
-
"arrow-position-
|
|
13
|
-
"arrow-position-top-
|
|
14
|
-
"arrow-position-top-
|
|
15
|
-
"arrow-position-top-
|
|
16
|
-
"arrow-position-
|
|
17
|
-
"arrow-position-bottom-
|
|
18
|
-
"arrow-position-bottom-
|
|
19
|
-
"arrow-position-bottom-
|
|
20
|
-
"
|
|
21
|
-
"body
|
|
22
|
-
"
|
|
23
|
-
"dismiss": "
|
|
24
|
-
"dismiss
|
|
25
|
-
"
|
|
26
|
-
"header": "
|
|
27
|
-
"
|
|
28
|
-
"content
|
|
29
|
-
"
|
|
30
|
-
"container
|
|
31
|
-
"container-body
|
|
32
|
-
"container-body-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"container-body-size-
|
|
36
|
-
"container-
|
|
37
|
-
"container-arrow
|
|
38
|
-
"container-arrow-position-right-
|
|
39
|
-
"container-arrow-position-
|
|
40
|
-
"container-arrow-position-left-
|
|
41
|
-
"container-arrow-position-
|
|
42
|
-
"container-arrow-position-top-
|
|
43
|
-
"container-arrow-position-top-
|
|
44
|
-
"container-arrow-position-top-
|
|
45
|
-
"container-arrow-position-
|
|
46
|
-
"container-arrow-position-bottom-
|
|
47
|
-
"container-arrow-position-bottom-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"root": "
|
|
51
|
-
"trigger": "
|
|
52
|
-
"trigger-type-text": "awsui_trigger-type-
|
|
53
|
-
"trigger-inner-text": "awsui_trigger-inner-
|
|
54
|
-
"popover-content": "awsui_popover-
|
|
5
|
+
"arrow": "awsui_arrow_xjuzf_le2x1_185",
|
|
6
|
+
"arrow-outer": "awsui_arrow-outer_xjuzf_le2x1_189",
|
|
7
|
+
"arrow-inner": "awsui_arrow-inner_xjuzf_le2x1_189",
|
|
8
|
+
"refresh": "awsui_refresh_xjuzf_le2x1_216",
|
|
9
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_le2x1_223",
|
|
10
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_le2x1_223",
|
|
11
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_le2x1_226",
|
|
12
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_le2x1_226",
|
|
13
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_le2x1_229",
|
|
14
|
+
"arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_le2x1_229",
|
|
15
|
+
"arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_le2x1_229",
|
|
16
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_le2x1_229",
|
|
17
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_le2x1_232",
|
|
18
|
+
"arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_le2x1_232",
|
|
19
|
+
"arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_le2x1_232",
|
|
20
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_le2x1_232",
|
|
21
|
+
"body": "awsui_body_xjuzf_le2x1_328",
|
|
22
|
+
"body-overflow-visible": "awsui_body-overflow-visible_xjuzf_le2x1_366",
|
|
23
|
+
"has-dismiss": "awsui_has-dismiss_xjuzf_le2x1_370",
|
|
24
|
+
"dismiss": "awsui_dismiss_xjuzf_le2x1_375",
|
|
25
|
+
"dismiss-control": "awsui_dismiss-control_xjuzf_le2x1_382",
|
|
26
|
+
"header-row": "awsui_header-row_xjuzf_le2x1_386",
|
|
27
|
+
"header": "awsui_header_xjuzf_le2x1_386",
|
|
28
|
+
"content": "awsui_content_xjuzf_le2x1_412",
|
|
29
|
+
"content-overflow-visible": "awsui_content-overflow-visible_xjuzf_le2x1_420",
|
|
30
|
+
"container": "awsui_container_xjuzf_le2x1_516",
|
|
31
|
+
"container-body": "awsui_container-body_xjuzf_le2x1_524",
|
|
32
|
+
"container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_le2x1_563",
|
|
33
|
+
"container-body-size-small": "awsui_container-body-size-small_xjuzf_le2x1_568",
|
|
34
|
+
"fixed-width": "awsui_fixed-width_xjuzf_le2x1_571",
|
|
35
|
+
"container-body-size-medium": "awsui_container-body-size-medium_xjuzf_le2x1_575",
|
|
36
|
+
"container-body-size-large": "awsui_container-body-size-large_xjuzf_le2x1_582",
|
|
37
|
+
"container-arrow": "awsui_container-arrow_xjuzf_le2x1_594",
|
|
38
|
+
"container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_le2x1_598",
|
|
39
|
+
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_le2x1_598",
|
|
40
|
+
"container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_le2x1_610",
|
|
41
|
+
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_le2x1_610",
|
|
42
|
+
"container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_le2x1_622",
|
|
43
|
+
"container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_le2x1_622",
|
|
44
|
+
"container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_le2x1_622",
|
|
45
|
+
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_le2x1_622",
|
|
46
|
+
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_le2x1_638",
|
|
47
|
+
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_le2x1_642",
|
|
48
|
+
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_le2x1_646",
|
|
49
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_le2x1_1",
|
|
50
|
+
"root": "awsui_root_xjuzf_le2x1_786",
|
|
51
|
+
"trigger": "awsui_trigger_xjuzf_le2x1_822",
|
|
52
|
+
"trigger-type-text": "awsui_trigger-type-text_xjuzf_le2x1_829",
|
|
53
|
+
"trigger-inner-text": "awsui_trigger-inner-text_xjuzf_le2x1_858",
|
|
54
|
+
"popover-content": "awsui_popover-content_xjuzf_le2x1_862"
|
|
55
55
|
};
|
|
56
56
|
|
package/select/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["select/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["select/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,QAAA,MAAM,MAAM,qFAyBX,CAAC;AAGF,eAAe,MAAM,CAAC"}
|
package/select/index.js
CHANGED
|
@@ -8,10 +8,7 @@ import useBaseComponent from '../internal/hooks/use-base-component';
|
|
|
8
8
|
import { getExternalProps } from '../internal/utils/external-props';
|
|
9
9
|
const Select = React.forwardRef((_a, ref) => {
|
|
10
10
|
var { options = [], filteringType = 'none', statusType = 'finished', triggerVariant = 'label' } = _a, restProps = __rest(_a, ["options", "filteringType", "statusType", "triggerVariant"]);
|
|
11
|
-
const baseComponentProps = useBaseComponent('Select'
|
|
12
|
-
placeholder: restProps.placeholder,
|
|
13
|
-
disabled: restProps.disabled,
|
|
14
|
-
});
|
|
11
|
+
const baseComponentProps = useBaseComponent('Select');
|
|
15
12
|
const externalProps = getExternalProps(restProps);
|
|
16
13
|
return (React.createElement(InternalSelect, Object.assign({ options: options, filteringType: filteringType, statusType: statusType, triggerVariant: triggerVariant }, externalProps, baseComponentProps, { ref: ref })));
|
|
17
14
|
});
|
package/select/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["select/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpE,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC7B,CACE,EAMc,EACd,GAA+B,EAC/B,EAAE;QARF,EACE,OAAO,GAAG,EAAE,EACZ,aAAa,GAAG,MAAM,EACtB,UAAU,GAAG,UAAU,EACvB,cAAc,GAAG,OAAO,OAEZ,EADT,SAAS,cALd,4DAMC,CADa;IAId,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["select/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpE,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC7B,CACE,EAMc,EACd,GAA+B,EAC/B,EAAE;QARF,EACE,OAAO,GAAG,EAAE,EACZ,aAAa,GAAG,MAAM,EACtB,UAAU,GAAG,UAAU,EACvB,cAAc,GAAG,OAAO,OAEZ,EADT,SAAS,cALd,4DAMC,CADa;IAId,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACtD,MAAM,aAAa,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAClD,OAAO,CACL,oBAAC,cAAc,kBACb,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,IAC1B,aAAa,EACb,kBAAkB,IACtB,GAAG,EAAE,GAAG,IACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AACnC,eAAe,MAAM,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { SelectProps } from './interfaces';\nimport InternalSelect from './internal';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { getExternalProps } from '../internal/utils/external-props';\n\nexport { SelectProps };\n\nconst Select = React.forwardRef(\n (\n {\n options = [],\n filteringType = 'none',\n statusType = 'finished',\n triggerVariant = 'label',\n ...restProps\n }: SelectProps,\n ref: React.Ref<SelectProps.Ref>\n ) => {\n const baseComponentProps = useBaseComponent('Select');\n const externalProps = getExternalProps(restProps);\n return (\n <InternalSelect\n options={options}\n filteringType={filteringType}\n statusType={statusType}\n triggerVariant={triggerVariant}\n {...externalProps}\n {...baseComponentProps}\n ref={ref}\n />\n );\n }\n);\n\napplyDisplayName(Select, 'Select');\nexport default Select;\n"]}
|