@cloudscape-design/components 3.0.196 → 3.0.197
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/autosuggest/autosuggest-option.d.ts.map +1 -1
- package/autosuggest/autosuggest-option.js +3 -0
- package/autosuggest/autosuggest-option.js.map +1 -1
- package/flashbar/styles.css.js +43 -43
- package/flashbar/styles.scoped.css +136 -136
- package/flashbar/styles.selectors.js +43 -43
- package/internal/environment.js +1 -1
- package/internal/generated/styles/tokens.d.ts +1 -0
- package/internal/generated/styles/tokens.js +1 -0
- package/internal/generated/theming/index.cjs +2 -0
- package/internal/generated/theming/index.cjs.d.ts +5 -0
- package/internal/generated/theming/index.d.ts +5 -0
- package/internal/generated/theming/index.js +2 -0
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/property-filter/styles.css.js +33 -33
- package/property-filter/styles.scoped.css +36 -36
- package/property-filter/styles.selectors.js +33 -33
- package/table/styles.css.js +33 -33
- package/table/styles.scoped.css +49 -40
- package/table/styles.selectors.js +33 -33
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autosuggest-option.d.ts","sourceRoot":"","sources":["../../../src/autosuggest/autosuggest-option.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAgB,MAAM,4BAA4B,CAAC;AAI9E,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,gEAAgE,CAAC;AAE/F,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,eAAe,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;;
|
|
1
|
+
{"version":3,"file":"autosuggest-option.d.ts","sourceRoot":"","sources":["../../../src/autosuggest/autosuggest-option.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAgB,MAAM,4BAA4B,CAAC;AAI9E,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,gEAAgE,CAAC;AAE/F,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,eAAe,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;;AAwED,wBAA+D"}
|
|
@@ -17,6 +17,9 @@ var AutosuggestOption = function (_a, ref) {
|
|
|
17
17
|
var optionContent;
|
|
18
18
|
if (useEntered) {
|
|
19
19
|
optionContent = enteredTextLabel(option.value || '');
|
|
20
|
+
// we don't want fancy generated content for screenreader for the "Use..." option,
|
|
21
|
+
// just the visible text is fine
|
|
22
|
+
screenReaderContent = undefined;
|
|
20
23
|
}
|
|
21
24
|
else if (isParent) {
|
|
22
25
|
optionContent = option.label;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autosuggest-option.js","sourceRoot":"","sources":["../../../src/autosuggest/autosuggest-option.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,eAAe,MAAM,+BAA+B,CAAC;AAC5D,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAsB,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAE9F,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAkBrC,IAAM,iBAAiB,GAAG,UACxB,EAayB,EACzB,GAA8B;IAb5B,IAAA,wBAAqB,EAArB,gBAAgB,mBAAG,EAAE,KAAA,EACrB,aAAa,mBAAA,EACb,MAAM,YAAA,EACN,WAAW,iBAAA,EACX,aAAa,mBAAA,EACb,gBAAgB,sBAAA,EAChB,eAAe,qBAAA,EACf,SAAS,eAAA,EACT,mBAAmB,yBAAA,EACnB,WAAW,iBAAA,EACX,YAAY,kBAAA,EACT,IAAI,cAZT,yLAaC,CADQ;IAIT,IAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACrC,IAAM,UAAU,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,CAAC,IAAI,KAAK,aAAa,CAAC;IACrE,IAAM,QAAQ,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,CAAC;IAC9D,IAAM,OAAO,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,CAAC;IACtD,IAAA,KAA6C,oBAAoB,CAAC,MAAM,CAAC,IAAI,EAAE,EAA7E,YAAY,kBAAA,EAAE,YAAY,kBAAA,EAAE,UAAU,gBAAu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com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport OptionComponent from '../internal/components/option';\nimport SelectableItem from '../internal/components/selectable-item';\nimport { BaseComponentProps, getBaseProps } from '../internal/base-component';\nimport { getTestOptionIndexes } from '../internal/components/options-list/utils/test-indexes';\n\nimport styles from './styles.css.js';\nimport { AutosuggestItem } from './interfaces';\nimport { HighlightType } from '../internal/components/options-list/utils/use-highlight-option';\n\nexport interface AutosuggestOptionProps extends BaseComponentProps {\n nativeAttributes?: Record<string, any>;\n highlightText: string;\n option: AutosuggestItem;\n highlighted: boolean;\n highlightType: HighlightType;\n enteredTextLabel: (value: string) => string;\n virtualPosition?: number;\n padBottom?: boolean;\n screenReaderContent?: string;\n ariaSetsize?: number;\n ariaPosinset?: number;\n}\n\nconst AutosuggestOption = (\n {\n nativeAttributes = {},\n highlightText,\n option,\n highlighted,\n highlightType,\n enteredTextLabel,\n virtualPosition,\n padBottom,\n screenReaderContent,\n ariaSetsize,\n ariaPosinset,\n ...rest\n }: AutosuggestOptionProps,\n ref: React.Ref<HTMLDivElement>\n) => {\n const baseProps = getBaseProps(rest);\n const useEntered = 'type' in option && option.type === 'use-entered';\n const isParent = 'type' in option && option.type === 'parent';\n const isChild = 'type' in option && option.type === 'child';\n const { throughIndex, inGroupIndex, groupIndex } = getTestOptionIndexes(option) || {};\n\n let optionContent;\n if (useEntered) {\n optionContent = enteredTextLabel(option.value || '');\n // we don't want fancy generated content for screenreader for the \"Use...\" option,\n // just the visible text is fine\n screenReaderContent = undefined;\n } else if (isParent) {\n optionContent = option.label;\n } else {\n const a11yProperties: AutosuggestOptionProps['nativeAttributes'] = {};\n if (nativeAttributes['aria-label']) {\n a11yProperties['aria-label'] = nativeAttributes['aria-label'];\n }\n\n optionContent = (\n <div {...a11yProperties}>\n <OptionComponent option={option} highlightedOption={highlighted} highlightText={highlightText} />\n </div>\n );\n }\n\n return (\n <SelectableItem\n {...baseProps}\n className={styles.option}\n ariaSelected={highlighted}\n highlighted={highlighted}\n disabled={option.disabled}\n hasBackground={useEntered}\n isParent={isParent}\n isChild={isChild}\n virtualPosition={virtualPosition}\n data-test-index={throughIndex}\n data-in-group-index={inGroupIndex}\n data-group-index={groupIndex}\n ref={ref}\n padBottom={padBottom}\n screenReaderContent={screenReaderContent}\n ariaSetsize={ariaSetsize}\n ariaPosinset={ariaPosinset}\n highlightType={highlightType}\n >\n {optionContent}\n </SelectableItem>\n );\n};\n\nexport default React.memo(React.forwardRef(AutosuggestOption));\n"]}
|
package/flashbar/styles.css.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"flash-with-motion": "awsui_flash-with-
|
|
5
|
-
"enter": "
|
|
6
|
-
"flash-body": "awsui_flash-
|
|
7
|
-
"flash-message": "awsui_flash-
|
|
8
|
-
"flash-header": "awsui_flash-
|
|
9
|
-
"flash-content": "awsui_flash-
|
|
10
|
-
"action-button-wrapper": "awsui_action-button-
|
|
11
|
-
"dismiss-button-wrapper": "awsui_dismiss-button-
|
|
12
|
-
"flash-icon": "awsui_flash-
|
|
13
|
-
"entering": "
|
|
14
|
-
"entered": "
|
|
15
|
-
"exiting": "
|
|
16
|
-
"stack": "
|
|
17
|
-
"animation-running": "awsui_animation-
|
|
18
|
-
"item": "
|
|
19
|
-
"flash-list-item": "awsui_flash-list-
|
|
20
|
-
"notification-bar": "awsui_notification-
|
|
21
|
-
"collapsed": "
|
|
22
|
-
"animation-ready": "awsui_animation-
|
|
23
|
-
"expanded-only": "awsui_expanded-
|
|
24
|
-
"expanded": "
|
|
25
|
-
"flash": "
|
|
26
|
-
"status": "
|
|
27
|
-
"header": "
|
|
28
|
-
"item-count": "awsui_item-
|
|
29
|
-
"button": "
|
|
30
|
-
"type-count": "awsui_type-
|
|
31
|
-
"count-number": "awsui_count-
|
|
32
|
-
"visual-refresh": "awsui_visual-
|
|
33
|
-
"icon": "
|
|
34
|
-
"floating": "
|
|
35
|
-
"flashbar": "
|
|
36
|
-
"flash-refresh": "awsui_flash-
|
|
37
|
-
"flash-list": "awsui_flash-
|
|
38
|
-
"flash-focus-container": "awsui_flash-focus-
|
|
39
|
-
"flash-text": "awsui_flash-
|
|
40
|
-
"dismiss-button": "awsui_dismiss-
|
|
41
|
-
"breakpoint-default": "awsui_breakpoint-
|
|
42
|
-
"action-button": "awsui_action-
|
|
43
|
-
"flash-type-success": "awsui_flash-type-
|
|
44
|
-
"flash-type-error": "awsui_flash-type-
|
|
45
|
-
"flash-type-warning": "awsui_flash-type-
|
|
46
|
-
"flash-type-info": "awsui_flash-type-
|
|
4
|
+
"flash-with-motion": "awsui_flash-with-motion_1q84n_1ypsl_93",
|
|
5
|
+
"enter": "awsui_enter_1q84n_1ypsl_93",
|
|
6
|
+
"flash-body": "awsui_flash-body_1q84n_1ypsl_107",
|
|
7
|
+
"flash-message": "awsui_flash-message_1q84n_1ypsl_107",
|
|
8
|
+
"flash-header": "awsui_flash-header_1q84n_1ypsl_107",
|
|
9
|
+
"flash-content": "awsui_flash-content_1q84n_1ypsl_108",
|
|
10
|
+
"action-button-wrapper": "awsui_action-button-wrapper_1q84n_1ypsl_109",
|
|
11
|
+
"dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_1ypsl_110",
|
|
12
|
+
"flash-icon": "awsui_flash-icon_1q84n_1ypsl_133",
|
|
13
|
+
"entering": "awsui_entering_1q84n_1ypsl_146",
|
|
14
|
+
"entered": "awsui_entered_1q84n_1ypsl_167",
|
|
15
|
+
"exiting": "awsui_exiting_1q84n_1ypsl_272",
|
|
16
|
+
"stack": "awsui_stack_1q84n_1ypsl_294",
|
|
17
|
+
"animation-running": "awsui_animation-running_1q84n_1ypsl_294",
|
|
18
|
+
"item": "awsui_item_1q84n_1ypsl_294",
|
|
19
|
+
"flash-list-item": "awsui_flash-list-item_1q84n_1ypsl_295",
|
|
20
|
+
"notification-bar": "awsui_notification-bar_1q84n_1ypsl_296",
|
|
21
|
+
"collapsed": "awsui_collapsed_1q84n_1ypsl_316",
|
|
22
|
+
"animation-ready": "awsui_animation-ready_1q84n_1ypsl_316",
|
|
23
|
+
"expanded-only": "awsui_expanded-only_1q84n_1ypsl_316",
|
|
24
|
+
"expanded": "awsui_expanded_1q84n_1ypsl_316",
|
|
25
|
+
"flash": "awsui_flash_1q84n_1ypsl_93",
|
|
26
|
+
"status": "awsui_status_1q84n_1ypsl_403",
|
|
27
|
+
"header": "awsui_header_1q84n_1ypsl_403",
|
|
28
|
+
"item-count": "awsui_item-count_1q84n_1ypsl_404",
|
|
29
|
+
"button": "awsui_button_1q84n_1ypsl_405",
|
|
30
|
+
"type-count": "awsui_type-count_1q84n_1ypsl_430",
|
|
31
|
+
"count-number": "awsui_count-number_1q84n_1ypsl_430",
|
|
32
|
+
"visual-refresh": "awsui_visual-refresh_1q84n_1ypsl_443",
|
|
33
|
+
"icon": "awsui_icon_1q84n_1ypsl_493",
|
|
34
|
+
"floating": "awsui_floating_1q84n_1ypsl_531",
|
|
35
|
+
"flashbar": "awsui_flashbar_1q84n_1ypsl_539",
|
|
36
|
+
"flash-refresh": "awsui_flash-refresh_1q84n_1ypsl_581",
|
|
37
|
+
"flash-list": "awsui_flash-list_1q84n_1ypsl_295",
|
|
38
|
+
"flash-focus-container": "awsui_flash-focus-container_1q84n_1ypsl_600",
|
|
39
|
+
"flash-text": "awsui_flash-text_1q84n_1ypsl_627",
|
|
40
|
+
"dismiss-button": "awsui_dismiss-button_1q84n_1ypsl_110",
|
|
41
|
+
"breakpoint-default": "awsui_breakpoint-default_1q84n_1ypsl_668",
|
|
42
|
+
"action-button": "awsui_action-button_1q84n_1ypsl_109",
|
|
43
|
+
"flash-type-success": "awsui_flash-type-success_1q84n_1ypsl_681",
|
|
44
|
+
"flash-type-error": "awsui_flash-type-error_1q84n_1ypsl_685",
|
|
45
|
+
"flash-type-warning": "awsui_flash-type-warning_1q84n_1ypsl_689",
|
|
46
|
+
"flash-type-info": "awsui_flash-type-info_1q84n_1ypsl_693"
|
|
47
47
|
};
|
|
48
48
|
|