@cloudscape-design/components 3.0.692 → 3.0.694
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/app-layout/visual-refresh-toolbar/drawer/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +7 -7
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +6 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +15 -11
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +16 -16
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +28 -28
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +16 -16
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +30 -44
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +6 -6
- package/button-dropdown/analytics-metadata/interfaces.d.ts +26 -0
- package/button-dropdown/analytics-metadata/interfaces.d.ts.map +1 -0
- package/button-dropdown/analytics-metadata/interfaces.js +4 -0
- package/button-dropdown/analytics-metadata/interfaces.js.map +1 -0
- package/button-dropdown/analytics-metadata/styles.css.js +8 -0
- package/button-dropdown/analytics-metadata/styles.scoped.css +9 -0
- package/button-dropdown/analytics-metadata/styles.selectors.js +9 -0
- package/button-dropdown/category-elements/category-element.d.ts +1 -1
- package/button-dropdown/category-elements/category-element.d.ts.map +1 -1
- package/button-dropdown/category-elements/category-element.js +2 -2
- package/button-dropdown/category-elements/category-element.js.map +1 -1
- package/button-dropdown/category-elements/expandable-category-element.d.ts +1 -1
- package/button-dropdown/category-elements/expandable-category-element.d.ts.map +1 -1
- package/button-dropdown/category-elements/expandable-category-element.js +14 -3
- package/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts.map +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.js +14 -3
- package/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
- package/button-dropdown/index.d.ts.map +1 -1
- package/button-dropdown/index.js +10 -1
- package/button-dropdown/index.js.map +1 -1
- package/button-dropdown/interfaces.d.ts +3 -0
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/button-dropdown/internal.d.ts.map +1 -1
- package/button-dropdown/internal.js +22 -6
- package/button-dropdown/internal.js.map +1 -1
- package/button-dropdown/item-element/index.d.ts +1 -1
- package/button-dropdown/item-element/index.d.ts.map +1 -1
- package/button-dropdown/item-element/index.js +15 -4
- package/button-dropdown/item-element/index.js.map +1 -1
- package/button-dropdown/items-list.d.ts +1 -1
- package/button-dropdown/items-list.d.ts.map +1 -1
- package/button-dropdown/items-list.js +4 -4
- package/button-dropdown/items-list.js.map +1 -1
- package/button-dropdown/styles.css.js +18 -15
- package/button-dropdown/styles.scoped.css +31 -22
- package/button-dropdown/styles.selectors.js +18 -15
- package/container/analytics-metadata/interfaces.d.ts +5 -0
- package/container/analytics-metadata/interfaces.d.ts.map +1 -0
- package/container/analytics-metadata/interfaces.js +4 -0
- package/container/analytics-metadata/interfaces.js.map +1 -0
- package/container/analytics-metadata/styles.css.js +6 -0
- package/container/analytics-metadata/styles.scoped.css +7 -0
- package/container/analytics-metadata/styles.selectors.js +7 -0
- package/container/index.d.ts.map +1 -1
- package/container/index.js +6 -1
- package/container/index.js.map +1 -1
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +4 -2
- package/container/internal.js.map +1 -1
- package/drawer/implementation.d.ts.map +1 -1
- package/drawer/implementation.js +3 -1
- package/drawer/implementation.js.map +1 -1
- package/drawer/styles.css.js +4 -3
- package/drawer/styles.scoped.css +16 -8
- package/drawer/styles.selectors.js +4 -3
- package/form/analytics-metadata/interfaces.d.ts +13 -0
- package/form/analytics-metadata/interfaces.d.ts.map +1 -0
- package/form/analytics-metadata/interfaces.js +4 -0
- package/form/analytics-metadata/interfaces.js.map +1 -0
- package/form/analytics-metadata/styles.css.js +6 -0
- package/form/analytics-metadata/styles.scoped.css +7 -0
- package/form/analytics-metadata/styles.selectors.js +7 -0
- package/form/index.d.ts.map +1 -1
- package/form/index.js +1 -1
- package/form/index.js.map +1 -1
- package/form/internal.d.ts +4 -2
- package/form/internal.d.ts.map +1 -1
- package/form/internal.js +13 -3
- package/form/internal.js.map +1 -1
- package/header/analytics-metadata/styles.css.js +6 -0
- package/header/analytics-metadata/styles.scoped.css +7 -0
- package/header/analytics-metadata/styles.selectors.js +7 -0
- package/header/internal.d.ts.map +1 -1
- package/header/internal.js +4 -2
- package/header/internal.js.map +1 -1
- package/help-panel/implementation.d.ts.map +1 -1
- package/help-panel/implementation.js +4 -2
- package/help-panel/implementation.js.map +1 -1
- package/help-panel/styles.css.js +5 -4
- package/help-panel/styles.scoped.css +74 -65
- package/help-panel/styles.selectors.js +5 -4
- package/internal/components/button-trigger/styles.css.js +11 -11
- package/internal/components/button-trigger/styles.scoped.css +52 -49
- package/internal/components/button-trigger/styles.selectors.js +11 -11
- package/internal/components/token-list/index.d.ts +1 -0
- package/internal/components/token-list/index.d.ts.map +1 -1
- package/internal/components/token-list/index.js.map +1 -1
- package/internal/components/tooltip/index.d.ts.map +1 -1
- package/internal/components/tooltip/index.js +1 -1
- package/internal/components/tooltip/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/popover/internal.d.ts +2 -1
- package/popover/internal.d.ts.map +1 -1
- package/popover/internal.js +1 -1
- package/popover/internal.js.map +1 -1
- package/popover/styles.css.js +52 -50
- package/popover/styles.scoped.css +75 -67
- package/popover/styles.selectors.js +52 -50
- package/property-filter/filtering-token/index.d.ts +25 -8
- package/property-filter/filtering-token/index.d.ts.map +1 -1
- package/property-filter/filtering-token/index.js +51 -11
- package/property-filter/filtering-token/index.js.map +1 -1
- package/property-filter/filtering-token/styles.css.js +18 -7
- package/property-filter/filtering-token/styles.scoped.css +100 -17
- package/property-filter/filtering-token/styles.selectors.js +18 -7
- package/property-filter/styles.css.js +31 -32
- package/property-filter/styles.scoped.css +33 -34
- package/property-filter/styles.selectors.js +31 -32
- package/property-filter/test-classes/styles.css.js +14 -9
- package/property-filter/test-classes/styles.scoped.css +29 -9
- package/property-filter/test-classes/styles.selectors.js +14 -9
- package/property-filter/token-editor.d.ts +5 -5
- package/property-filter/token-editor.d.ts.map +1 -1
- package/property-filter/token-editor.js +19 -25
- package/property-filter/token-editor.js.map +1 -1
- package/property-filter/token.d.ts.map +1 -1
- package/property-filter/token.js +15 -5
- package/property-filter/token.js.map +1 -1
- package/side-navigation/implementation.d.ts.map +1 -1
- package/side-navigation/implementation.js +3 -1
- package/side-navigation/implementation.js.map +1 -1
- package/side-navigation/styles.css.js +29 -28
- package/side-navigation/styles.scoped.css +47 -38
- package/side-navigation/styles.selectors.js +29 -28
- package/split-panel/implementation.d.ts.map +1 -1
- package/split-panel/implementation.js +3 -1
- package/split-panel/implementation.js.map +1 -1
- package/split-panel/side.d.ts.map +1 -1
- package/split-panel/side.js +4 -1
- package/split-panel/side.js.map +1 -1
- package/split-panel/styles.css.js +27 -27
- package/split-panel/styles.scoped.css +62 -44
- package/split-panel/styles.selectors.js +27 -27
- package/test-utils/dom/property-filter/index.d.ts +10 -0
- package/test-utils/dom/property-filter/index.js +25 -1
- package/test-utils/dom/property-filter/index.js.map +1 -1
- package/test-utils/selectors/property-filter/index.d.ts +10 -0
- package/test-utils/selectors/property-filter/index.js +25 -1
- package/test-utils/selectors/property-filter/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
|
@@ -1,20 +1,60 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
import React from 'react';
|
|
3
|
+
import React, { forwardRef, useImperativeHandle, useRef } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
+
import { useDensityMode } from '@cloudscape-design/component-toolkit/internal';
|
|
5
6
|
import InternalIcon from '../../icon/internal';
|
|
7
|
+
import InternalPopover from '../../popover/internal';
|
|
6
8
|
import InternalSelect from '../../select/internal';
|
|
7
9
|
import testUtilStyles from '../test-classes/styles.css.js';
|
|
8
10
|
import styles from './styles.css.js';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
const FilteringToken = forwardRef(({ tokens, showOperation, operation, groupOperation, andText, orText, groupAriaLabel, operationAriaLabel, groupEditAriaLabel, disabled = false, onChangeOperation, onChangeGroupOperation, onDismissToken, editorContent, editorHeader, editorDismissAriaLabel, editorExpandToViewport, onEditorOpen, hasGroups, }, ref) => {
|
|
12
|
+
const popoverRef = useRef(null);
|
|
13
|
+
const popoverProps = {
|
|
14
|
+
content: editorContent,
|
|
15
|
+
triggerType: 'text',
|
|
16
|
+
header: editorHeader,
|
|
17
|
+
size: 'large',
|
|
18
|
+
position: 'right',
|
|
19
|
+
dismissAriaLabel: editorDismissAriaLabel,
|
|
20
|
+
renderWithPortal: editorExpandToViewport,
|
|
21
|
+
__onOpen: onEditorOpen,
|
|
22
|
+
};
|
|
23
|
+
useImperativeHandle(ref, () => ({ closeEditor: () => { var _a; return (_a = popoverRef.current) === null || _a === void 0 ? void 0 : _a.dismissPopover(); } }));
|
|
24
|
+
return (React.createElement(TokenGroup, { ariaLabel: tokens.length === 1 ? tokens[0].ariaLabel : groupAriaLabel, operation: showOperation && (React.createElement(OperationSelector, { operation: operation, onChange: onChangeOperation, ariaLabel: operationAriaLabel, andText: andText, orText: orText, parent: true, disabled: disabled })), tokenAction: tokens.length === 1 ? (React.createElement(TokenDismissButton, { ariaLabel: tokens[0].dismissAriaLabel, onClick: () => onDismissToken(0), parent: true, disabled: disabled })) : (React.createElement(InternalPopover, Object.assign({ ref: popoverRef }, popoverProps, { triggerType: "filtering-token" }),
|
|
25
|
+
React.createElement(TokenEditButton, { ariaLabel: groupEditAriaLabel, disabled: disabled }))), parent: true, grouped: tokens.length > 1, disabled: disabled, hasGroups: hasGroups }, tokens.length === 1 ? (React.createElement(InternalPopover, Object.assign({ ref: popoverRef }, popoverProps), tokens[0].content)) : (React.createElement("ul", { className: styles.list }, tokens.map((token, index) => (React.createElement("li", { key: index },
|
|
26
|
+
React.createElement(TokenGroup, { ariaLabel: token.ariaLabel, operation: index !== 0 && (React.createElement(OperationSelector, { operation: groupOperation, onChange: onChangeGroupOperation, ariaLabel: operationAriaLabel, andText: andText, orText: orText, parent: false, disabled: disabled })), tokenAction: React.createElement(TokenDismissButton, { ariaLabel: token.dismissAriaLabel, onClick: () => onDismissToken(index), parent: false, disabled: disabled }), parent: false, grouped: false, disabled: disabled, hasGroups: false }, token.content))))))));
|
|
27
|
+
});
|
|
28
|
+
export default FilteringToken;
|
|
29
|
+
function TokenGroup({ ariaLabel, children, operation, tokenAction, parent, grouped, disabled, hasGroups, }) {
|
|
30
|
+
const groupRef = useRef(null);
|
|
31
|
+
const isCompactMode = useDensityMode(groupRef) === 'compact';
|
|
32
|
+
return (React.createElement("div", { ref: groupRef, className: clsx(parent
|
|
33
|
+
? clsx(styles.root, testUtilStyles['filtering-token'])
|
|
34
|
+
: clsx(styles['inner-root'], testUtilStyles['filtering-token-inner']), hasGroups && styles['has-groups'], isCompactMode && styles['compact-mode']), role: "group", "aria-label": ariaLabel },
|
|
35
|
+
operation,
|
|
36
|
+
React.createElement("div", { className: clsx(styles.token, !!operation && styles['show-operation'], grouped && styles.grouped, disabled && styles['token-disabled']), "aria-disabled": disabled },
|
|
37
|
+
React.createElement("div", { className: clsx(parent
|
|
38
|
+
? clsx(styles['token-content'], testUtilStyles['filtering-token-content'])
|
|
39
|
+
: clsx(styles['inner-token-content'], testUtilStyles['filtering-token-inner-content']), grouped && styles['token-content-grouped']) }, children),
|
|
40
|
+
tokenAction)));
|
|
41
|
+
}
|
|
42
|
+
function OperationSelector({ operation, onChange, ariaLabel, andText, orText, parent, disabled, }) {
|
|
43
|
+
return (React.createElement(InternalSelect, { __inFilteringToken: true, className: clsx(parent
|
|
44
|
+
? clsx(styles.select, testUtilStyles['filtering-token-select'])
|
|
45
|
+
: clsx(styles['inner-select'], testUtilStyles['filtering-token-inner-select'])), options: [
|
|
46
|
+
{ value: 'and', label: andText },
|
|
47
|
+
{ value: 'or', label: orText },
|
|
48
|
+
], selectedOption: { value: operation, label: operation === 'and' ? andText : orText }, onChange: e => onChange(e.detail.selectedOption.value), disabled: disabled, ariaLabel: ariaLabel }));
|
|
49
|
+
}
|
|
50
|
+
function TokenDismissButton({ ariaLabel, onClick, parent, disabled, }) {
|
|
51
|
+
return (React.createElement("button", { type: "button", className: clsx(parent
|
|
52
|
+
? clsx(styles['dismiss-button'], testUtilStyles['filtering-token-dismiss-button'])
|
|
53
|
+
: clsx(styles['inner-dismiss-button'], testUtilStyles['filtering-token-inner-dismiss-button'])), "aria-label": ariaLabel, onClick: onClick, disabled: disabled },
|
|
54
|
+
React.createElement(InternalIcon, { name: "close" })));
|
|
55
|
+
}
|
|
56
|
+
function TokenEditButton({ ariaLabel, disabled }) {
|
|
57
|
+
return (React.createElement("button", { type: "button", className: clsx(styles['edit-button'], testUtilStyles['filtering-token-edit-button']), "aria-label": ariaLabel, disabled: disabled },
|
|
58
|
+
React.createElement(InternalIcon, { name: "edit" })));
|
|
19
59
|
}
|
|
20
60
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/property-filter/filtering-token/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;A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,gBAAgB,CAAC,EAAE,QAAQ,IAAI,MAAM,CAAC,gBAAgB,CAAC,CAAC,mBAC/F,QAAQ;YAEvB,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,cAAc,CAAC,yBAAyB,CAAC,CAAC,IAAG,QAAQ,CAAO;YAC1G,gCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,cAAc,CAAC,gCAAgC,CAAC,CAAC,gBAC/E,gBAAgB,EAC5B,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,QAAQ;gBAElB,oBAAC,YAAY,IAAC,IAAI,EAAC,OAAO,GAAG,CACtB,CACL,CACF,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';\n\nimport InternalIcon from '../../icon/internal';\nimport InternalSelect from '../../select/internal';\n\nimport testUtilStyles from '../test-classes/styles.css.js';\nimport styles from './styles.css.js';\n\nexport namespace FilteringTokenProps {\n export type Operation = 'and' | 'or';\n}\n\nexport interface FilteringTokenProps {\n ariaLabel?: string;\n showOperation: boolean;\n operation: FilteringTokenProps.Operation;\n andText: string;\n orText: string;\n dismissAriaLabel?: string;\n operatorAriaLabel?: string;\n disabled?: boolean;\n\n children: React.ReactNode;\n\n onChange: (op: FilteringTokenProps.Operation) => void;\n onDismiss: () => void;\n}\n\nexport default function FilteringToken({\n ariaLabel,\n showOperation,\n operation,\n andText,\n orText,\n dismissAriaLabel,\n operatorAriaLabel,\n disabled,\n children,\n onChange,\n onDismiss,\n}: FilteringTokenProps) {\n return (\n <div className={clsx(styles.root, testUtilStyles['filtering-token'])} role=\"group\" aria-label={ariaLabel}>\n {showOperation && (\n <InternalSelect\n __inFilteringToken={true}\n className={clsx(styles.select, testUtilStyles['filtering-token-select'])}\n options={[\n { value: 'and', label: andText },\n { value: 'or', label: orText },\n ]}\n selectedOption={{ value: operation, label: operation === 'and' ? andText : orText }}\n onChange={e => onChange(e.detail.selectedOption.value as FilteringTokenProps.Operation)}\n disabled={disabled}\n ariaLabel={operatorAriaLabel}\n />\n )}\n <div\n className={clsx(styles.token, showOperation && styles['show-operation'], disabled && styles['token-disabled'])}\n aria-disabled={disabled}\n >\n <div className={clsx(styles['token-content'], testUtilStyles['filtering-token-content'])}>{children}</div>\n <button\n type=\"button\"\n className={clsx(styles['dismiss-button'], testUtilStyles['filtering-token-dismiss-button'])}\n aria-label={dismissAriaLabel}\n onClick={onDismiss}\n disabled={disabled}\n >\n <InternalIcon name=\"close\" />\n </button>\n </div>\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/property-filter/filtering-token/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAE/E,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,eAA6D,MAAM,wBAAwB,CAAC;AACnG,OAAO,cAAc,MAAM,uBAAuB,CAAC;AAEnD,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAsCrC,MAAM,cAAc,GAAG,UAAU,CAC/B,CACE,EACE,MAAM,EACN,aAAa,EACb,SAAS,EACT,cAAc,EACd,OAAO,EACP,MAAM,EACN,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,QAAQ,GAAG,KAAK,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,cAAc,EACd,aAAa,EACb,YAAY,EACZ,sBAAsB,EACtB,sBAAsB,EACtB,YAAY,EACZ,SA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O,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ;QAElB,oBAAC,YAAY,IAAC,IAAI,EAAC,OAAO,GAAG,CACtB,CACV,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAA6C;IACzF,OAAO,CACL,gCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,cAAc,CAAC,6BAA6B,CAAC,CAAC,gBACzE,SAAS,EACrB,QAAQ,EAAE,QAAQ;QAElB,oBAAC,YAAY,IAAC,IAAI,EAAC,MAAM,GAAG,CACrB,CACV,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { forwardRef, useImperativeHandle, useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { useDensityMode } from '@cloudscape-design/component-toolkit/internal';\n\nimport InternalIcon from '../../icon/internal';\nimport InternalPopover, { InternalPopoverProps, InternalPopoverRef } from '../../popover/internal';\nimport InternalSelect from '../../select/internal';\n\nimport testUtilStyles from '../test-classes/styles.css.js';\nimport styles from './styles.css.js';\n\nexport namespace FilteringTokenProps {\n export type Operation = 'and' | 'or';\n}\n\nexport interface FilteringTokenProps {\n tokens: TokenItem[];\n operation: FilteringTokenProps.Operation;\n groupOperation: FilteringTokenProps.Operation;\n showOperation: boolean;\n andText: string;\n orText: string;\n groupAriaLabel: string;\n operationAriaLabel: string;\n groupEditAriaLabel: string;\n disabled?: boolean;\n onChangeOperation: (operation: FilteringTokenProps.Operation) => void;\n onChangeGroupOperation: (operation: FilteringTokenProps.Operation) => void;\n onDismissToken: (tokenIndex: number) => void;\n editorContent: React.ReactNode;\n editorHeader: string;\n editorDismissAriaLabel: string;\n editorExpandToViewport: boolean;\n onEditorOpen?: () => void;\n hasGroups: boolean;\n}\n\nexport interface FilteringTokenRef {\n closeEditor(): void;\n}\n\ninterface TokenItem {\n content: React.ReactNode;\n ariaLabel: string;\n dismissAriaLabel: string;\n}\n\nconst FilteringToken = forwardRef(\n (\n {\n tokens,\n showOperation,\n operation,\n groupOperation,\n andText,\n orText,\n groupAriaLabel,\n operationAriaLabel,\n groupEditAriaLabel,\n disabled = false,\n onChangeOperation,\n onChangeGroupOperation,\n onDismissToken,\n editorContent,\n editorHeader,\n editorDismissAriaLabel,\n editorExpandToViewport,\n onEditorOpen,\n hasGroups,\n }: FilteringTokenProps,\n ref: React.Ref<FilteringTokenRef>\n ) => {\n const popoverRef = useRef<InternalPopoverRef>(null);\n const popoverProps: InternalPopoverProps = {\n content: editorContent,\n triggerType: 'text',\n header: editorHeader,\n size: 'large',\n position: 'right',\n dismissAriaLabel: editorDismissAriaLabel,\n renderWithPortal: editorExpandToViewport,\n __onOpen: onEditorOpen,\n };\n useImperativeHandle(ref, () => ({ closeEditor: () => popoverRef.current?.dismissPopover() }));\n\n return (\n <TokenGroup\n ariaLabel={tokens.length === 1 ? tokens[0].ariaLabel : groupAriaLabel}\n operation={\n showOperation && (\n <OperationSelector\n operation={operation}\n onChange={onChangeOperation}\n ariaLabel={operationAriaLabel}\n andText={andText}\n orText={orText}\n parent={true}\n disabled={disabled}\n />\n )\n }\n tokenAction={\n tokens.length === 1 ? (\n <TokenDismissButton\n ariaLabel={tokens[0].dismissAriaLabel}\n onClick={() => onDismissToken(0)}\n parent={true}\n disabled={disabled}\n />\n ) : (\n <InternalPopover ref={popoverRef} {...popoverProps} triggerType=\"filtering-token\">\n <TokenEditButton ariaLabel={groupEditAriaLabel} disabled={disabled} />\n </InternalPopover>\n )\n }\n parent={true}\n grouped={tokens.length > 1}\n disabled={disabled}\n hasGroups={hasGroups}\n >\n {tokens.length === 1 ? (\n <InternalPopover ref={popoverRef} {...popoverProps}>\n {tokens[0].content}\n </InternalPopover>\n ) : (\n <ul className={styles.list}>\n {tokens.map((token, index) => (\n <li key={index}>\n <TokenGroup\n ariaLabel={token.ariaLabel}\n operation={\n index !== 0 && (\n <OperationSelector\n operation={groupOperation}\n onChange={onChangeGroupOperation}\n ariaLabel={operationAriaLabel}\n andText={andText}\n orText={orText}\n parent={false}\n disabled={disabled}\n />\n )\n }\n tokenAction={\n <TokenDismissButton\n ariaLabel={token.dismissAriaLabel}\n onClick={() => onDismissToken(index)}\n parent={false}\n disabled={disabled}\n />\n }\n parent={false}\n grouped={false}\n disabled={disabled}\n hasGroups={false}\n >\n {token.content}\n </TokenGroup>\n </li>\n ))}\n </ul>\n )}\n </TokenGroup>\n );\n }\n);\n\nexport default FilteringToken;\n\nfunction TokenGroup({\n ariaLabel,\n children,\n operation,\n tokenAction,\n parent,\n grouped,\n disabled,\n hasGroups,\n}: {\n ariaLabel?: string;\n children: React.ReactNode;\n operation: React.ReactNode;\n tokenAction: React.ReactNode;\n parent: boolean;\n grouped: boolean;\n disabled: boolean;\n hasGroups: boolean;\n}) {\n const groupRef = useRef<HTMLDivElement>(null);\n const isCompactMode = useDensityMode(groupRef) === 'compact';\n return (\n <div\n ref={groupRef}\n className={clsx(\n parent\n ? clsx(styles.root, testUtilStyles['filtering-token'])\n : clsx(styles['inner-root'], testUtilStyles['filtering-token-inner']),\n hasGroups && styles['has-groups'],\n isCompactMode && styles['compact-mode']\n )}\n role=\"group\"\n aria-label={ariaLabel}\n >\n {operation}\n\n <div\n className={clsx(\n styles.token,\n !!operation && styles['show-operation'],\n grouped && styles.grouped,\n disabled && styles['token-disabled']\n )}\n aria-disabled={disabled}\n >\n <div\n className={clsx(\n parent\n ? clsx(styles['token-content'], testUtilStyles['filtering-token-content'])\n : clsx(styles['inner-token-content'], testUtilStyles['filtering-token-inner-content']),\n grouped && styles['token-content-grouped']\n )}\n >\n {children}\n </div>\n\n {tokenAction}\n </div>\n </div>\n );\n}\n\nfunction OperationSelector({\n operation,\n onChange,\n ariaLabel,\n andText,\n orText,\n parent,\n disabled,\n}: {\n operation: FilteringTokenProps.Operation;\n onChange: (operation: FilteringTokenProps.Operation) => void;\n andText: string;\n orText: string;\n ariaLabel: string;\n parent: boolean;\n disabled?: boolean;\n}) {\n return (\n <InternalSelect\n __inFilteringToken={true}\n className={clsx(\n parent\n ? clsx(styles.select, testUtilStyles['filtering-token-select'])\n : clsx(styles['inner-select'], testUtilStyles['filtering-token-inner-select'])\n )}\n options={[\n { value: 'and', label: andText },\n { value: 'or', label: orText },\n ]}\n selectedOption={{ value: operation, label: operation === 'and' ? andText : orText }}\n onChange={e => onChange(e.detail.selectedOption.value as FilteringTokenProps.Operation)}\n disabled={disabled}\n ariaLabel={ariaLabel}\n />\n );\n}\n\nfunction TokenDismissButton({\n ariaLabel,\n onClick,\n parent,\n disabled,\n}: {\n ariaLabel: string;\n onClick: () => void;\n parent: boolean;\n disabled?: boolean;\n}) {\n return (\n <button\n type=\"button\"\n className={clsx(\n parent\n ? clsx(styles['dismiss-button'], testUtilStyles['filtering-token-dismiss-button'])\n : clsx(styles['inner-dismiss-button'], testUtilStyles['filtering-token-inner-dismiss-button'])\n )}\n aria-label={ariaLabel}\n onClick={onClick}\n disabled={disabled}\n >\n <InternalIcon name=\"close\" />\n </button>\n );\n}\n\nfunction TokenEditButton({ ariaLabel, disabled }: { ariaLabel: string; disabled?: boolean }) {\n return (\n <button\n type=\"button\"\n className={clsx(styles['edit-button'], testUtilStyles['filtering-token-edit-button'])}\n aria-label={ariaLabel}\n disabled={disabled}\n >\n <InternalIcon name=\"edit\" />\n </button>\n );\n}\n"]}
|
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"token
|
|
9
|
-
"
|
|
10
|
-
"
|
|
4
|
+
"root": "awsui_root_19bso_2jqfz_101",
|
|
5
|
+
"inner-root": "awsui_inner-root_19bso_2jqfz_102",
|
|
6
|
+
"has-groups": "awsui_has-groups_19bso_2jqfz_138",
|
|
7
|
+
"compact-mode": "awsui_compact-mode_19bso_2jqfz_142",
|
|
8
|
+
"token": "awsui_token_19bso_2jqfz_147",
|
|
9
|
+
"inner-token": "awsui_inner-token_19bso_2jqfz_148",
|
|
10
|
+
"grouped": "awsui_grouped_19bso_2jqfz_161",
|
|
11
|
+
"list": "awsui_list_19bso_2jqfz_166",
|
|
12
|
+
"show-operation": "awsui_show-operation_19bso_2jqfz_177",
|
|
13
|
+
"select": "awsui_select_19bso_2jqfz_183",
|
|
14
|
+
"inner-select": "awsui_inner-select_19bso_2jqfz_184",
|
|
15
|
+
"token-content": "awsui_token-content_19bso_2jqfz_188",
|
|
16
|
+
"token-content-grouped": "awsui_token-content-grouped_19bso_2jqfz_194",
|
|
17
|
+
"inner-token-content": "awsui_inner-token-content_19bso_2jqfz_199",
|
|
18
|
+
"edit-button": "awsui_edit-button_19bso_2jqfz_204",
|
|
19
|
+
"dismiss-button": "awsui_dismiss-button_19bso_2jqfz_205",
|
|
20
|
+
"inner-dismiss-button": "awsui_inner-dismiss-button_19bso_2jqfz_206",
|
|
21
|
+
"token-disabled": "awsui_token-disabled_19bso_2jqfz_264"
|
|
11
22
|
};
|
|
12
23
|
|
|
@@ -98,13 +98,55 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
98
98
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
99
99
|
SPDX-License-Identifier: Apache-2.0
|
|
100
100
|
*/
|
|
101
|
-
.
|
|
101
|
+
.awsui_root_19bso_2jqfz_101:not(#\9),
|
|
102
|
+
.awsui_inner-root_19bso_2jqfz_102:not(#\9) {
|
|
103
|
+
border-collapse: separate;
|
|
104
|
+
border-spacing: 0;
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
caption-side: top;
|
|
107
|
+
cursor: auto;
|
|
108
|
+
direction: inherit;
|
|
109
|
+
empty-cells: show;
|
|
110
|
+
font-family: serif;
|
|
111
|
+
font-size: medium;
|
|
112
|
+
font-style: normal;
|
|
113
|
+
font-variant: normal;
|
|
114
|
+
font-weight: 400;
|
|
115
|
+
font-stretch: normal;
|
|
116
|
+
line-height: normal;
|
|
117
|
+
-webkit-hyphens: none;
|
|
118
|
+
hyphens: none;
|
|
119
|
+
letter-spacing: normal;
|
|
120
|
+
list-style: disc outside none;
|
|
121
|
+
tab-size: 8;
|
|
122
|
+
text-align: start;
|
|
123
|
+
text-indent: 0;
|
|
124
|
+
text-shadow: none;
|
|
125
|
+
text-transform: none;
|
|
126
|
+
visibility: visible;
|
|
127
|
+
white-space: normal;
|
|
128
|
+
word-spacing: normal;
|
|
129
|
+
font-size: var(--font-size-body-m-x4okxb, 14px);
|
|
130
|
+
line-height: var(--line-height-body-m-30ar75, 20px);
|
|
131
|
+
color: var(--color-text-body-default-at06ol, #000716);
|
|
132
|
+
font-weight: 400;
|
|
133
|
+
font-family: var(--font-family-base-dnvic8, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
134
|
+
-webkit-font-smoothing: auto;
|
|
135
|
+
-moz-osx-font-smoothing: auto;
|
|
102
136
|
display: flex;
|
|
103
137
|
align-content: stretch;
|
|
104
138
|
}
|
|
139
|
+
.awsui_root_19bso_2jqfz_101.awsui_has-groups_19bso_2jqfz_138:not(#\9),
|
|
140
|
+
.awsui_inner-root_19bso_2jqfz_102.awsui_has-groups_19bso_2jqfz_138:not(#\9) {
|
|
141
|
+
min-block-size: calc(2px + var(--size-vertical-input-v5iwwf, 32px));
|
|
142
|
+
}
|
|
143
|
+
.awsui_root_19bso_2jqfz_101.awsui_has-groups_19bso_2jqfz_138.awsui_compact-mode_19bso_2jqfz_142:not(#\9),
|
|
144
|
+
.awsui_inner-root_19bso_2jqfz_102.awsui_has-groups_19bso_2jqfz_138.awsui_compact-mode_19bso_2jqfz_142:not(#\9) {
|
|
145
|
+
min-block-size: calc(2px + 2 * var(--border-field-width-09w7vk, 2px) + var(--size-vertical-input-v5iwwf, 32px));
|
|
146
|
+
}
|
|
105
147
|
|
|
106
|
-
.
|
|
107
|
-
|
|
148
|
+
.awsui_token_19bso_2jqfz_147:not(#\9),
|
|
149
|
+
.awsui_inner-token_19bso_2jqfz_148:not(#\9) {
|
|
108
150
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-selected-k00wlz, #0972d3);
|
|
109
151
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-selected-k00wlz, #0972d3);
|
|
110
152
|
display: flex;
|
|
@@ -117,23 +159,52 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
117
159
|
color: var(--color-text-body-default-at06ol, #000716);
|
|
118
160
|
box-sizing: border-box;
|
|
119
161
|
}
|
|
162
|
+
.awsui_token_19bso_2jqfz_147.awsui_grouped_19bso_2jqfz_161:not(#\9),
|
|
163
|
+
.awsui_inner-token_19bso_2jqfz_148.awsui_grouped_19bso_2jqfz_161:not(#\9) {
|
|
164
|
+
justify-content: space-between;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.awsui_list_19bso_2jqfz_166:not(#\9) {
|
|
168
|
+
list-style: none;
|
|
169
|
+
margin-block: 0;
|
|
170
|
+
margin-inline: 0;
|
|
171
|
+
padding-block: 0;
|
|
172
|
+
padding-inline: 0;
|
|
173
|
+
display: flex;
|
|
174
|
+
flex-wrap: wrap;
|
|
175
|
+
gap: var(--space-xs-zb16t3, 8px);
|
|
176
|
+
}
|
|
120
177
|
|
|
121
|
-
.awsui_show-
|
|
178
|
+
.awsui_show-operation_19bso_2jqfz_177:not(#\9) {
|
|
122
179
|
border-inline-start: none;
|
|
123
180
|
border-start-start-radius: 0;
|
|
124
181
|
border-end-start-radius: 0;
|
|
125
182
|
}
|
|
126
183
|
|
|
127
|
-
.
|
|
184
|
+
.awsui_select_19bso_2jqfz_183:not(#\9),
|
|
185
|
+
.awsui_inner-select_19bso_2jqfz_184:not(#\9) {
|
|
128
186
|
/* used in test-utils */
|
|
129
187
|
}
|
|
130
188
|
|
|
131
|
-
.awsui_token-
|
|
189
|
+
.awsui_token-content_19bso_2jqfz_188:not(#\9) {
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
132
192
|
padding-block: var(--space-scaled-xxs-7597g1, 4px);
|
|
133
193
|
padding-inline: var(--space-field-horizontal-gg19kw, 12px);
|
|
134
194
|
}
|
|
195
|
+
.awsui_token-content-grouped_19bso_2jqfz_194:not(#\9) {
|
|
196
|
+
padding-block: 2px;
|
|
197
|
+
padding-inline: var(--space-field-horizontal-gg19kw, 12px);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.awsui_inner-token-content_19bso_2jqfz_199:not(#\9) {
|
|
201
|
+
padding-block: 1px;
|
|
202
|
+
padding-inline: var(--space-field-horizontal-gg19kw, 12px);
|
|
203
|
+
}
|
|
135
204
|
|
|
136
|
-
.
|
|
205
|
+
.awsui_edit-button_19bso_2jqfz_204:not(#\9),
|
|
206
|
+
.awsui_dismiss-button_19bso_2jqfz_205:not(#\9),
|
|
207
|
+
.awsui_inner-dismiss-button_19bso_2jqfz_206:not(#\9) {
|
|
137
208
|
inline-size: 30px;
|
|
138
209
|
margin-block: 0;
|
|
139
210
|
margin-inline: 0;
|
|
@@ -145,14 +216,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
145
216
|
background-color: transparent;
|
|
146
217
|
border-inline-start: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-selected-k00wlz, #0972d3);
|
|
147
218
|
}
|
|
148
|
-
body[data-awsui-focus-visible=true] .
|
|
219
|
+
body[data-awsui-focus-visible=true] .awsui_edit-button_19bso_2jqfz_204:not(#\9):focus,
|
|
220
|
+
body[data-awsui-focus-visible=true] .awsui_dismiss-button_19bso_2jqfz_205:not(#\9):focus,
|
|
221
|
+
body[data-awsui-focus-visible=true] .awsui_inner-dismiss-button_19bso_2jqfz_206:not(#\9):focus {
|
|
149
222
|
position: relative;
|
|
150
223
|
}
|
|
151
|
-
body[data-awsui-focus-visible=true] .
|
|
224
|
+
body[data-awsui-focus-visible=true] .awsui_edit-button_19bso_2jqfz_204:not(#\9):focus,
|
|
225
|
+
body[data-awsui-focus-visible=true] .awsui_dismiss-button_19bso_2jqfz_205:not(#\9):focus,
|
|
226
|
+
body[data-awsui-focus-visible=true] .awsui_inner-dismiss-button_19bso_2jqfz_206:not(#\9):focus {
|
|
152
227
|
outline: 2px dotted transparent;
|
|
153
228
|
outline-offset: calc(var(--space-filtering-token-dismiss-button-focus-outline-gutter-76gsim, -5px) - 1px);
|
|
154
229
|
}
|
|
155
|
-
body[data-awsui-focus-visible=true] .
|
|
230
|
+
body[data-awsui-focus-visible=true] .awsui_edit-button_19bso_2jqfz_204:not(#\9):focus::before,
|
|
231
|
+
body[data-awsui-focus-visible=true] .awsui_dismiss-button_19bso_2jqfz_205:not(#\9):focus::before,
|
|
232
|
+
body[data-awsui-focus-visible=true] .awsui_inner-dismiss-button_19bso_2jqfz_206:not(#\9):focus::before {
|
|
156
233
|
content: " ";
|
|
157
234
|
display: block;
|
|
158
235
|
position: absolute;
|
|
@@ -166,22 +243,28 @@ body[data-awsui-focus-visible=true] .awsui_dismiss-button_19bso_1g39x_136:not(#\
|
|
|
166
243
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
167
244
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
168
245
|
}
|
|
169
|
-
.
|
|
246
|
+
.awsui_edit-button_19bso_2jqfz_204:not(#\9):focus,
|
|
247
|
+
.awsui_dismiss-button_19bso_2jqfz_205:not(#\9):focus,
|
|
248
|
+
.awsui_inner-dismiss-button_19bso_2jqfz_206:not(#\9):focus {
|
|
170
249
|
outline: none;
|
|
171
250
|
text-decoration: none;
|
|
172
251
|
}
|
|
173
|
-
.
|
|
252
|
+
.awsui_edit-button_19bso_2jqfz_204:not(#\9):hover,
|
|
253
|
+
.awsui_dismiss-button_19bso_2jqfz_205:not(#\9):hover,
|
|
254
|
+
.awsui_inner-dismiss-button_19bso_2jqfz_206:not(#\9):hover {
|
|
174
255
|
cursor: pointer;
|
|
175
256
|
color: var(--color-text-interactive-hover-mj8add, #000716);
|
|
176
257
|
}
|
|
258
|
+
.awsui_edit-button_19bso_2jqfz_204:not(#\9):disabled,
|
|
259
|
+
.awsui_dismiss-button_19bso_2jqfz_205:not(#\9):disabled,
|
|
260
|
+
.awsui_inner-dismiss-button_19bso_2jqfz_206:not(#\9):disabled {
|
|
261
|
+
color: var(--color-text-interactive-disabled-z7a3t4, #9ba7b6);
|
|
262
|
+
border-color: var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
263
|
+
}
|
|
177
264
|
|
|
178
|
-
.awsui_token-
|
|
265
|
+
.awsui_token-disabled_19bso_2jqfz_264:not(#\9) {
|
|
179
266
|
border-color: var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
180
267
|
background-color: var(--color-background-container-content-4un1ap, #ffffff);
|
|
181
268
|
color: var(--color-text-disabled-f4c52h, #9ba7b6);
|
|
182
269
|
pointer-events: none;
|
|
183
|
-
}
|
|
184
|
-
.awsui_token-disabled_19bso_1g39x_178 > .awsui_dismiss-button_19bso_1g39x_136:not(#\9) {
|
|
185
|
-
color: var(--color-text-interactive-disabled-z7a3t4, #9ba7b6);
|
|
186
|
-
border-color: var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
187
270
|
}
|
|
@@ -2,12 +2,23 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"token
|
|
10
|
-
"
|
|
11
|
-
"
|
|
5
|
+
"root": "awsui_root_19bso_2jqfz_101",
|
|
6
|
+
"inner-root": "awsui_inner-root_19bso_2jqfz_102",
|
|
7
|
+
"has-groups": "awsui_has-groups_19bso_2jqfz_138",
|
|
8
|
+
"compact-mode": "awsui_compact-mode_19bso_2jqfz_142",
|
|
9
|
+
"token": "awsui_token_19bso_2jqfz_147",
|
|
10
|
+
"inner-token": "awsui_inner-token_19bso_2jqfz_148",
|
|
11
|
+
"grouped": "awsui_grouped_19bso_2jqfz_161",
|
|
12
|
+
"list": "awsui_list_19bso_2jqfz_166",
|
|
13
|
+
"show-operation": "awsui_show-operation_19bso_2jqfz_177",
|
|
14
|
+
"select": "awsui_select_19bso_2jqfz_183",
|
|
15
|
+
"inner-select": "awsui_inner-select_19bso_2jqfz_184",
|
|
16
|
+
"token-content": "awsui_token-content_19bso_2jqfz_188",
|
|
17
|
+
"token-content-grouped": "awsui_token-content-grouped_19bso_2jqfz_194",
|
|
18
|
+
"inner-token-content": "awsui_inner-token-content_19bso_2jqfz_199",
|
|
19
|
+
"edit-button": "awsui_edit-button_19bso_2jqfz_204",
|
|
20
|
+
"dismiss-button": "awsui_dismiss-button_19bso_2jqfz_205",
|
|
21
|
+
"inner-dismiss-button": "awsui_inner-dismiss-button_19bso_2jqfz_206",
|
|
22
|
+
"token-disabled": "awsui_token-disabled_19bso_2jqfz_264"
|
|
12
23
|
};
|
|
13
24
|
|
|
@@ -1,37 +1,36 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"search-field": "awsui_search-
|
|
6
|
-
"input-wrapper": "awsui_input-
|
|
7
|
-
"add-token": "awsui_add-
|
|
8
|
-
"tokens": "
|
|
9
|
-
"token-operator": "awsui_token-
|
|
10
|
-
"property-editor": "awsui_property-
|
|
11
|
-
"token-editor": "awsui_token-
|
|
12
|
-
"property-editor-form": "awsui_property-editor-
|
|
13
|
-
"token-editor-form": "awsui_token-editor-
|
|
14
|
-
"property-editor-field-property": "awsui_property-editor-field-
|
|
15
|
-
"token-editor-field-property": "awsui_token-editor-field-
|
|
16
|
-
"property-editor-field-operator": "awsui_property-editor-field-
|
|
17
|
-
"token-editor-field-operator": "awsui_token-editor-field-
|
|
18
|
-
"property-editor-field-value": "awsui_property-editor-field-
|
|
19
|
-
"token-editor-field-value": "awsui_token-editor-field-
|
|
20
|
-
"property-editor-cancel": "awsui_property-editor-
|
|
21
|
-
"token-editor-cancel": "awsui_token-editor-
|
|
22
|
-
"property-editor-submit": "awsui_property-editor-
|
|
23
|
-
"token-editor-submit": "awsui_token-editor-
|
|
24
|
-
"property-editor-actions": "awsui_property-editor-
|
|
25
|
-
"token-editor-actions": "awsui_token-editor-
|
|
26
|
-
"custom-content-wrapper": "awsui_custom-content-
|
|
27
|
-
"custom-control": "awsui_custom-
|
|
28
|
-
"input": "
|
|
29
|
-
"results": "
|
|
30
|
-
"token-trigger": "awsui_token-
|
|
31
|
-
"remove-all": "awsui_remove-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"constraint": "awsui_constraint_1wzqe_1ktx1_236"
|
|
4
|
+
"root": "awsui_root_1wzqe_1phcq_97",
|
|
5
|
+
"search-field": "awsui_search-field_1wzqe_1phcq_132",
|
|
6
|
+
"input-wrapper": "awsui_input-wrapper_1wzqe_1phcq_138",
|
|
7
|
+
"add-token": "awsui_add-token_1wzqe_1phcq_142",
|
|
8
|
+
"tokens": "awsui_tokens_1wzqe_1phcq_149",
|
|
9
|
+
"token-operator": "awsui_token-operator_1wzqe_1phcq_154",
|
|
10
|
+
"property-editor": "awsui_property-editor_1wzqe_1phcq_158",
|
|
11
|
+
"token-editor": "awsui_token-editor_1wzqe_1phcq_159",
|
|
12
|
+
"property-editor-form": "awsui_property-editor-form_1wzqe_1phcq_164",
|
|
13
|
+
"token-editor-form": "awsui_token-editor-form_1wzqe_1phcq_165",
|
|
14
|
+
"property-editor-field-property": "awsui_property-editor-field-property_1wzqe_1phcq_168",
|
|
15
|
+
"token-editor-field-property": "awsui_token-editor-field-property_1wzqe_1phcq_169",
|
|
16
|
+
"property-editor-field-operator": "awsui_property-editor-field-operator_1wzqe_1phcq_172",
|
|
17
|
+
"token-editor-field-operator": "awsui_token-editor-field-operator_1wzqe_1phcq_173",
|
|
18
|
+
"property-editor-field-value": "awsui_property-editor-field-value_1wzqe_1phcq_176",
|
|
19
|
+
"token-editor-field-value": "awsui_token-editor-field-value_1wzqe_1phcq_177",
|
|
20
|
+
"property-editor-cancel": "awsui_property-editor-cancel_1wzqe_1phcq_180",
|
|
21
|
+
"token-editor-cancel": "awsui_token-editor-cancel_1wzqe_1phcq_181",
|
|
22
|
+
"property-editor-submit": "awsui_property-editor-submit_1wzqe_1phcq_184",
|
|
23
|
+
"token-editor-submit": "awsui_token-editor-submit_1wzqe_1phcq_185",
|
|
24
|
+
"property-editor-actions": "awsui_property-editor-actions_1wzqe_1phcq_188",
|
|
25
|
+
"token-editor-actions": "awsui_token-editor-actions_1wzqe_1phcq_189",
|
|
26
|
+
"custom-content-wrapper": "awsui_custom-content-wrapper_1wzqe_1phcq_207",
|
|
27
|
+
"custom-control": "awsui_custom-control_1wzqe_1phcq_211",
|
|
28
|
+
"input": "awsui_input_1wzqe_1phcq_138",
|
|
29
|
+
"results": "awsui_results_1wzqe_1phcq_219",
|
|
30
|
+
"token-trigger": "awsui_token-trigger_1wzqe_1phcq_224",
|
|
31
|
+
"remove-all": "awsui_remove-all_1wzqe_1phcq_229",
|
|
32
|
+
"join-operation": "awsui_join-operation_1wzqe_1phcq_230",
|
|
33
|
+
"custom-filter-actions": "awsui_custom-filter-actions_1wzqe_1phcq_231",
|
|
34
|
+
"constraint": "awsui_constraint_1wzqe_1phcq_235"
|
|
36
35
|
};
|
|
37
36
|
|
|
@@ -94,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.
|
|
97
|
+
.awsui_root_1wzqe_1phcq_97:not(#\9) {
|
|
98
98
|
border-collapse: separate;
|
|
99
99
|
border-spacing: 0;
|
|
100
100
|
box-sizing: border-box;
|
|
@@ -130,112 +130,111 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
130
130
|
-moz-osx-font-smoothing: auto;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.awsui_search-
|
|
133
|
+
.awsui_search-field_1wzqe_1phcq_132:not(#\9) {
|
|
134
134
|
display: flex;
|
|
135
135
|
align-items: flex-end;
|
|
136
136
|
max-inline-size: calc(688px - 2 * var(--space-l-t419sm, 20px));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.awsui_input-
|
|
139
|
+
.awsui_input-wrapper_1wzqe_1phcq_138:not(#\9) {
|
|
140
140
|
flex-grow: 1;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.awsui_add-
|
|
143
|
+
.awsui_add-token_1wzqe_1phcq_142:not(#\9) {
|
|
144
144
|
border-inline-start: 1px solid var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
145
145
|
box-sizing: border-box;
|
|
146
146
|
margin-inline-start: var(--space-m-udix3p, 16px);
|
|
147
147
|
padding-inline-start: var(--space-m-udix3p, 16px);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.
|
|
150
|
+
.awsui_tokens_1wzqe_1phcq_149:not(#\9) {
|
|
151
151
|
margin-block: var(--space-xs-zb16t3, 8px);
|
|
152
152
|
margin-inline: 0;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.awsui_token-
|
|
155
|
+
.awsui_token-operator_1wzqe_1phcq_154:not(#\9) {
|
|
156
156
|
font-weight: bold;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.awsui_property-
|
|
160
|
-
.awsui_token-
|
|
159
|
+
.awsui_property-editor_1wzqe_1phcq_158:not(#\9),
|
|
160
|
+
.awsui_token-editor_1wzqe_1phcq_159:not(#\9) {
|
|
161
161
|
-webkit-user-select: text;
|
|
162
162
|
user-select: text;
|
|
163
163
|
margin-block: var(--space-xxs-p8yyaw, 4px);
|
|
164
164
|
margin-inline: var(--space-xxs-p8yyaw, 4px);
|
|
165
165
|
}
|
|
166
|
-
.awsui_property-editor-
|
|
167
|
-
.awsui_token-editor-
|
|
166
|
+
.awsui_property-editor-form_1wzqe_1phcq_164:not(#\9),
|
|
167
|
+
.awsui_token-editor-form_1wzqe_1phcq_165:not(#\9) {
|
|
168
168
|
margin-block-end: var(--space-scaled-l-0hpmd7, 20px);
|
|
169
169
|
}
|
|
170
|
-
.awsui_property-editor-field-
|
|
171
|
-
.awsui_token-editor-field-
|
|
170
|
+
.awsui_property-editor-field-property_1wzqe_1phcq_168:not(#\9),
|
|
171
|
+
.awsui_token-editor-field-property_1wzqe_1phcq_169:not(#\9) {
|
|
172
172
|
/* used in test-utils */
|
|
173
173
|
}
|
|
174
|
-
.awsui_property-editor-field-
|
|
175
|
-
.awsui_token-editor-field-
|
|
174
|
+
.awsui_property-editor-field-operator_1wzqe_1phcq_172:not(#\9),
|
|
175
|
+
.awsui_token-editor-field-operator_1wzqe_1phcq_173:not(#\9) {
|
|
176
176
|
margin-block-start: var(--space-scaled-l-0hpmd7, 20px);
|
|
177
177
|
}
|
|
178
|
-
.awsui_property-editor-field-
|
|
179
|
-
.awsui_token-editor-field-
|
|
178
|
+
.awsui_property-editor-field-value_1wzqe_1phcq_176:not(#\9),
|
|
179
|
+
.awsui_token-editor-field-value_1wzqe_1phcq_177:not(#\9) {
|
|
180
180
|
margin-block-start: var(--space-scaled-l-0hpmd7, 20px);
|
|
181
181
|
}
|
|
182
|
-
.awsui_property-editor-
|
|
183
|
-
.awsui_token-editor-
|
|
182
|
+
.awsui_property-editor-cancel_1wzqe_1phcq_180:not(#\9),
|
|
183
|
+
.awsui_token-editor-cancel_1wzqe_1phcq_181:not(#\9) {
|
|
184
184
|
margin-inline-end: var(--space-xs-zb16t3, 8px);
|
|
185
185
|
}
|
|
186
|
-
.awsui_property-editor-
|
|
187
|
-
.awsui_token-editor-
|
|
186
|
+
.awsui_property-editor-submit_1wzqe_1phcq_184:not(#\9),
|
|
187
|
+
.awsui_token-editor-submit_1wzqe_1phcq_185:not(#\9) {
|
|
188
188
|
/* used in test-utils */
|
|
189
189
|
}
|
|
190
|
-
.awsui_property-editor-
|
|
191
|
-
.awsui_token-editor-
|
|
190
|
+
.awsui_property-editor-actions_1wzqe_1phcq_188:not(#\9),
|
|
191
|
+
.awsui_token-editor-actions_1wzqe_1phcq_189:not(#\9) {
|
|
192
192
|
display: flex;
|
|
193
193
|
justify-content: flex-end;
|
|
194
194
|
padding-block-start: var(--space-s-34lx8l, 12px);
|
|
195
195
|
border-block-start: 1px solid var(--color-border-dropdown-item-default-k36ra7, #b6bec9);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
.awsui_token-editor-
|
|
198
|
+
.awsui_token-editor-actions_1wzqe_1phcq_189:not(#\9) {
|
|
199
199
|
padding-inline-end: calc(var(--space-m-udix3p, 16px) + var(--space-xxs-p8yyaw, 4px));
|
|
200
200
|
margin-inline: calc(-1 * var(--space-m-udix3p, 16px) + -1 * var(--space-xxs-p8yyaw, 4px));
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
.awsui_property-
|
|
203
|
+
.awsui_property-editor_1wzqe_1phcq_158:not(#\9) {
|
|
204
204
|
padding-block: var(--space-m-udix3p, 16px);
|
|
205
205
|
padding-inline: var(--space-m-udix3p, 16px);
|
|
206
206
|
overflow-y: auto;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
.awsui_custom-content-
|
|
209
|
+
.awsui_custom-content-wrapper_1wzqe_1phcq_207:not(#\9) {
|
|
210
210
|
display: contents;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.awsui_custom-
|
|
213
|
+
.awsui_custom-control_1wzqe_1phcq_211:not(#\9) {
|
|
214
214
|
margin-inline-end: var(--space-s-34lx8l, 12px);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
.
|
|
217
|
+
.awsui_input_1wzqe_1phcq_138:not(#\9) {
|
|
218
218
|
flex: 1;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
.
|
|
221
|
+
.awsui_results_1wzqe_1phcq_219:not(#\9) {
|
|
222
222
|
padding-block: calc(var(--space-scaled-xxs-7597g1, 4px) + var(--border-field-width-09w7vk, 2px));
|
|
223
223
|
padding-inline: 0;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
.awsui_token-
|
|
226
|
+
.awsui_token-trigger_1wzqe_1phcq_224:not(#\9) {
|
|
227
227
|
min-inline-size: 0;
|
|
228
228
|
word-break: break-word;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
.awsui_remove-
|
|
232
|
-
.
|
|
233
|
-
.
|
|
234
|
-
.awsui_custom-filter-actions_1wzqe_1ktx1_232:not(#\9) {
|
|
231
|
+
.awsui_remove-all_1wzqe_1phcq_229:not(#\9),
|
|
232
|
+
.awsui_join-operation_1wzqe_1phcq_230:not(#\9),
|
|
233
|
+
.awsui_custom-filter-actions_1wzqe_1phcq_231:not(#\9) {
|
|
235
234
|
/* used in test-utils */
|
|
236
235
|
}
|
|
237
236
|
|
|
238
|
-
.
|
|
237
|
+
.awsui_constraint_1wzqe_1phcq_235:not(#\9) {
|
|
239
238
|
padding-block-start: var(--space-xxs-p8yyaw, 4px);
|
|
240
239
|
color: var(--color-text-form-secondary-dxc248, #5f6b7a);
|
|
241
240
|
font-size: var(--font-size-body-s-asqx2i, 12px);
|