@cloudscape-design/components-themeable 3.0.59 → 3.0.61

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.
Files changed (59) hide show
  1. package/lib/internal/scss/calendar/styles.scss +34 -14
  2. package/lib/internal/scss/date-range-picker/calendar/grids/day/styles.scss +5 -5
  3. package/lib/internal/scss/date-range-picker/styles.scss +5 -10
  4. package/lib/internal/scss/property-filter/styles.scss +3 -29
  5. package/lib/internal/template/attribute-editor/styles.scoped.css +4 -1
  6. package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
  7. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +18 -16
  8. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
  9. package/lib/internal/template/breadcrumb-group/styles.css.js +6 -6
  10. package/lib/internal/template/breadcrumb-group/styles.scoped.css +12 -12
  11. package/lib/internal/template/breadcrumb-group/styles.selectors.js +6 -6
  12. package/lib/internal/template/calendar/grid/day/index.d.ts +2 -2
  13. package/lib/internal/template/calendar/grid/day/index.d.ts.map +1 -1
  14. package/lib/internal/template/calendar/grid/day/index.js +5 -4
  15. package/lib/internal/template/calendar/grid/day/index.js.map +1 -1
  16. package/lib/internal/template/calendar/grid/index.d.ts.map +1 -1
  17. package/lib/internal/template/calendar/grid/index.js.map +1 -1
  18. package/lib/internal/template/calendar/styles.css.js +20 -20
  19. package/lib/internal/template/calendar/styles.scoped.css +69 -41
  20. package/lib/internal/template/calendar/styles.selectors.js +20 -20
  21. package/lib/internal/template/date-input/internal.js +1 -1
  22. package/lib/internal/template/date-input/internal.js.map +1 -1
  23. package/lib/internal/template/date-range-picker/calendar/grids/day/styles.css.js +21 -21
  24. package/lib/internal/template/date-range-picker/calendar/grids/day/styles.scoped.css +41 -41
  25. package/lib/internal/template/date-range-picker/calendar/grids/day/styles.selectors.js +21 -21
  26. package/lib/internal/template/date-range-picker/calendar/index.js +23 -27
  27. package/lib/internal/template/date-range-picker/calendar/index.js.map +1 -1
  28. package/lib/internal/template/date-range-picker/styles.css.js +40 -41
  29. package/lib/internal/template/date-range-picker/styles.scoped.css +52 -53
  30. package/lib/internal/template/date-range-picker/styles.selectors.js +40 -41
  31. package/lib/internal/template/flashbar/flash.d.ts.map +1 -1
  32. package/lib/internal/template/flashbar/flash.js +2 -2
  33. package/lib/internal/template/flashbar/flash.js.map +1 -1
  34. package/lib/internal/template/flashbar/interfaces.d.ts +2 -0
  35. package/lib/internal/template/flashbar/interfaces.d.ts.map +1 -1
  36. package/lib/internal/template/flashbar/interfaces.js.map +1 -1
  37. package/lib/internal/template/help-panel/styles.scoped.css +2 -0
  38. package/lib/internal/template/input/internal.js +1 -1
  39. package/lib/internal/template/input/internal.js.map +1 -1
  40. package/lib/internal/template/internal/base-component/styles.scoped.css +7 -25
  41. package/lib/internal/template/internal/environment.js +1 -1
  42. package/lib/internal/template/link/styles.scoped.css +18 -1
  43. package/lib/internal/template/property-filter/interfaces.d.ts +1 -5
  44. package/lib/internal/template/property-filter/interfaces.d.ts.map +1 -1
  45. package/lib/internal/template/property-filter/interfaces.js.map +1 -1
  46. package/lib/internal/template/property-filter/styles.css.js +25 -30
  47. package/lib/internal/template/property-filter/styles.scoped.css +28 -56
  48. package/lib/internal/template/property-filter/styles.selectors.js +25 -30
  49. package/lib/internal/template/property-filter/token-editor.d.ts.map +1 -1
  50. package/lib/internal/template/property-filter/token-editor.js +13 -28
  51. package/lib/internal/template/property-filter/token-editor.js.map +1 -1
  52. package/lib/internal/template/property-filter/token.d.ts.map +1 -1
  53. package/lib/internal/template/property-filter/token.js.map +1 -1
  54. package/lib/internal/template/tag-editor/styles.scoped.css +2 -0
  55. package/lib/internal/template/text-content/styles.scoped.css +6 -1
  56. package/lib/internal/template/textarea/index.js +1 -1
  57. package/lib/internal/template/textarea/index.js.map +1 -1
  58. package/lib/internal/template/token-group/styles.scoped.css +2 -0
  59. package/package.json +1 -1
@@ -2,46 +2,45 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "calendar": "awsui_calendar_mgja0_17ogm_93",
6
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_mgja0_17ogm_1",
7
- "root": "awsui_root_mgja0_17ogm_120",
8
- "trigger-wrapper": "awsui_trigger-wrapper_mgja0_17ogm_132",
9
- "trigger-flexbox": "awsui_trigger-flexbox_mgja0_17ogm_136",
10
- "one-grid": "awsui_one-grid_mgja0_17ogm_144",
11
- "calendar-header": "awsui_calendar-header_mgja0_17ogm_147",
12
- "calendar-header-months-wrapper": "awsui_calendar-header-months-wrapper_mgja0_17ogm_153",
13
- "calendar-header-month": "awsui_calendar-header-month_mgja0_17ogm_153",
14
- "calendar-next-month-btn": "awsui_calendar-next-month-btn_mgja0_17ogm_173",
15
- "calendar-prev-month-btn": "awsui_calendar-prev-month-btn_mgja0_17ogm_176",
16
- "calendar-day-names": "awsui_calendar-day-names_mgja0_17ogm_179",
17
- "calendar-day-name": "awsui_calendar-day-name_mgja0_17ogm_179",
18
- "calendar-week": "awsui_calendar-week_mgja0_17ogm_194",
19
- "first-grid": "awsui_first-grid_mgja0_17ogm_199",
20
- "second-grid": "awsui_second-grid_mgja0_17ogm_200",
21
- "grid": "awsui_grid_mgja0_17ogm_204",
22
- "date-and-time-wrapper": "awsui_date-and-time-wrapper_mgja0_17ogm_208",
23
- "date-and-time-wrapper__date": "awsui_date-and-time-wrapper__date_mgja0_17ogm_212",
24
- "date-and-time-wrapper__time": "awsui_date-and-time-wrapper__time_mgja0_17ogm_215",
25
- "date-and-time-constrainttext": "awsui_date-and-time-constrainttext_mgja0_17ogm_219",
26
- "footer": "awsui_footer_mgja0_17ogm_226",
27
- "has-clear-button": "awsui_has-clear-button_mgja0_17ogm_233",
28
- "footer-button-wrapper": "awsui_footer-button-wrapper_mgja0_17ogm_240",
29
- "icon-wrapper": "awsui_icon-wrapper_mgja0_17ogm_244",
30
- "label": "awsui_label_mgja0_17ogm_249",
31
- "label-enabled": "awsui_label-enabled_mgja0_17ogm_254",
32
- "label-text": "awsui_label-text_mgja0_17ogm_258",
33
- "mode-switch": "awsui_mode-switch_mgja0_17ogm_263",
34
- "dropdown": "awsui_dropdown_mgja0_17ogm_267",
35
- "dropdown-content": "awsui_dropdown-content_mgja0_17ogm_283",
36
- "start-date-input": "awsui_start-date-input_mgja0_17ogm_292",
37
- "start-time-input": "awsui_start-time-input_mgja0_17ogm_293",
38
- "end-date-input": "awsui_end-date-input_mgja0_17ogm_294",
39
- "end-time-input": "awsui_end-time-input_mgja0_17ogm_295",
40
- "validation-section": "awsui_validation-section_mgja0_17ogm_299",
41
- "validation-error": "awsui_validation-error_mgja0_17ogm_303",
42
- "clear-button": "awsui_clear-button_mgja0_17ogm_307",
43
- "apply-button": "awsui_apply-button_mgja0_17ogm_311",
44
- "cancel-button": "awsui_cancel-button_mgja0_17ogm_315",
45
- "calendar-aria-live": "awsui_calendar-aria-live_mgja0_17ogm_319"
5
+ "calendar": "awsui_calendar_mgja0_1cij6_93",
6
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_mgja0_1cij6_1",
7
+ "root": "awsui_root_mgja0_1cij6_120",
8
+ "trigger-wrapper": "awsui_trigger-wrapper_mgja0_1cij6_132",
9
+ "trigger-flexbox": "awsui_trigger-flexbox_mgja0_1cij6_136",
10
+ "one-grid": "awsui_one-grid_mgja0_1cij6_144",
11
+ "calendar-header": "awsui_calendar-header_mgja0_1cij6_147",
12
+ "calendar-header-months-wrapper": "awsui_calendar-header-months-wrapper_mgja0_1cij6_153",
13
+ "calendar-header-month": "awsui_calendar-header-month_mgja0_1cij6_153",
14
+ "calendar-next-month-btn": "awsui_calendar-next-month-btn_mgja0_1cij6_173",
15
+ "calendar-prev-month-btn": "awsui_calendar-prev-month-btn_mgja0_1cij6_176",
16
+ "calendar-day-names": "awsui_calendar-day-names_mgja0_1cij6_179",
17
+ "calendar-day-name": "awsui_calendar-day-name_mgja0_1cij6_179",
18
+ "calendar-week": "awsui_calendar-week_mgja0_1cij6_194",
19
+ "first-grid": "awsui_first-grid_mgja0_1cij6_199",
20
+ "second-grid": "awsui_second-grid_mgja0_1cij6_200",
21
+ "grid": "awsui_grid_mgja0_1cij6_204",
22
+ "date-and-time-wrapper": "awsui_date-and-time-wrapper_mgja0_1cij6_208",
23
+ "date-only": "awsui_date-only_mgja0_1cij6_212",
24
+ "date-and-time-constrainttext": "awsui_date-and-time-constrainttext_mgja0_1cij6_218",
25
+ "footer": "awsui_footer_mgja0_1cij6_225",
26
+ "has-clear-button": "awsui_has-clear-button_mgja0_1cij6_232",
27
+ "footer-button-wrapper": "awsui_footer-button-wrapper_mgja0_1cij6_239",
28
+ "icon-wrapper": "awsui_icon-wrapper_mgja0_1cij6_243",
29
+ "label": "awsui_label_mgja0_1cij6_248",
30
+ "label-enabled": "awsui_label-enabled_mgja0_1cij6_253",
31
+ "label-text": "awsui_label-text_mgja0_1cij6_257",
32
+ "mode-switch": "awsui_mode-switch_mgja0_1cij6_262",
33
+ "dropdown": "awsui_dropdown_mgja0_1cij6_266",
34
+ "dropdown-content": "awsui_dropdown-content_mgja0_1cij6_282",
35
+ "start-date-input": "awsui_start-date-input_mgja0_1cij6_291",
36
+ "start-time-input": "awsui_start-time-input_mgja0_1cij6_292",
37
+ "end-date-input": "awsui_end-date-input_mgja0_1cij6_293",
38
+ "end-time-input": "awsui_end-time-input_mgja0_1cij6_294",
39
+ "validation-section": "awsui_validation-section_mgja0_1cij6_298",
40
+ "validation-error": "awsui_validation-error_mgja0_1cij6_302",
41
+ "clear-button": "awsui_clear-button_mgja0_1cij6_306",
42
+ "apply-button": "awsui_apply-button_mgja0_1cij6_310",
43
+ "cancel-button": "awsui_cancel-button_mgja0_1cij6_314",
44
+ "calendar-aria-live": "awsui_calendar-aria-live_mgja0_1cij6_318"
46
45
  };
47
46
 
@@ -1 +1 @@
1
- {"version":3,"file":"flash.d.ts","sourceRoot":"","sources":["../../../src/flashbar/flash.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AA6C1B,UAAU,KAAM,SAAQ,aAAa,CAAC,iBAAiB;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,KAAK,8EAyEjB,CAAC"}
1
+ {"version":3,"file":"flash.d.ts","sourceRoot":"","sources":["../../../src/flashbar/flash.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AA6C1B,UAAU,KAAM,SAAQ,aAAa,CAAC,iBAAiB;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,KAAK,8EA4EjB,CAAC"}
@@ -21,7 +21,7 @@ function dismissButton(dismissLabel, onDismiss) {
21
21
  }
22
22
  export var Flash = React.forwardRef(function (_a, ref) {
23
23
  var _b;
24
- var header = _a.header, content = _a.content, dismissible = _a.dismissible, dismissLabel = _a.dismissLabel, loading = _a.loading, action = _a.action, buttonText = _a.buttonText, onButtonClick = _a.onButtonClick, onDismiss = _a.onDismiss, className = _a.className, transitionState = _a.transitionState, _c = _a.type, type = _c === void 0 ? 'info' : _c;
24
+ var header = _a.header, content = _a.content, dismissible = _a.dismissible, dismissLabel = _a.dismissLabel, statusIconAriaLabel = _a.statusIconAriaLabel, loading = _a.loading, action = _a.action, buttonText = _a.buttonText, onButtonClick = _a.onButtonClick, onDismiss = _a.onDismiss, className = _a.className, transitionState = _a.transitionState, _c = _a.type, type = _c === void 0 ? 'info' : _c;
25
25
  if (isDevelopment) {
26
26
  if (buttonText && !onButtonClick) {
27
27
  warnOnce('Flashbar', "You provided a `buttonText` prop without an `onButtonClick` handler. This will render a non-interactive action button.");
@@ -43,7 +43,7 @@ export var Flash = React.forwardRef(function (_a, ref) {
43
43
  _b[styles.exiting] = transitionState === 'exiting',
44
44
  _b[styles.exited] = transitionState === 'exited',
45
45
  _b) : '') },
46
- React.createElement("div", { className: clsx(styles['flash-icon'], styles['flash-text']) }, icon),
46
+ React.createElement("div", { className: clsx(styles['flash-icon'], styles['flash-text']), role: "img", "aria-label": statusIconAriaLabel }, icon),
47
47
  React.createElement("div", { className: styles['flash-body'] },
48
48
  React.createElement("div", { className: clsx(styles['flash-message'], styles['flash-text']) },
49
49
  React.createElement("div", { className: styles['flash-header'] }, header),
@@ -1 +1 @@
1
- {"version":3,"file":"flash.js","sourceRoot":"","sources":["../../../src/flashbar/flash.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,MAAM,qBAAqB,CAAC;AAClD,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,IAAM,UAAU,GAAG;IACjB,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,iBAAiB;CAChB,CAAC;AAEX,SAAS,YAAY,CACnB,UAAyD,EACzD,aAA+D;IAE/D,OAAO,CACL,oBAAC,cAAc,IAAC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,EAAE,UAAU,EAAC,MAAM,IAC1F,UAAU,CACI,CAClB,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CACpB,YAA6D,EAC7D,SAAuD;IAEvD,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC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AM,CAAC,KAAK,EACZ,MAAM,CAAC,qBAAc,aAAa,CAAE,CAAC,EACrC,SAAS,EACT,eAAe;YACb,CAAC;gBACG,GAAC,MAAM,CAAC,KAAK,IAAG,eAAe,KAAK,OAAO;gBAC3C,GAAC,MAAM,CAAC,QAAQ,IAAG,eAAe,KAAK,UAAU;gBACjD,GAAC,MAAM,CAAC,OAAO,IAAG,eAAe,KAAK,SAAS;gBAC/C,GAAC,MAAM,CAAC,IAAI,IAAG,eAAe,KAAK,MAAM;gBACzC,GAAC,MAAM,CAAC,OAAO,IAAG,eAAe,KAAK,SAAS;gBAC/C,GAAC,MAAM,CAAC,MAAM,IAAG,eAAe,KAAK,QAAQ;oBAEjD,CAAC,CAAC,EAAE,CACP;QAED,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC,IAAG,IAAI,CAAO;QAC9E,6BAAK,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC;YAClC,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC;gBACjE,6BAAK,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,IAAG,MAAM,CAAO;gBACtD,6BAAK,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,IAAG,OAAO,CAAO,CACpD;YACL,MAAM,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,uBAAuB,CAAC,IAAG,MAAM,CAAO,CACtE;QACL,WAAW,IAAI,aAAa,CAAC,YAAY,EAAE,SAAS,CAAC,CAClD,CACP,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { FlashbarProps } from './interfaces';\nimport React from 'react';\nimport InternalSpinner from '../spinner/internal';\nimport InternalIcon from '../icon/internal';\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport { InternalButton } from '../button/internal';\nimport { warnOnce } from '../internal/logging';\nimport { isDevelopment } from '../internal/is-development';\n\nconst ICON_TYPES = {\n success: 'status-positive',\n warning: 'status-warning',\n info: 'status-info',\n error: 'status-negative',\n} as const;\n\nfunction actionButton(\n buttonText: FlashbarProps.MessageDefinition['buttonText'],\n onButtonClick: FlashbarProps.MessageDefinition['onButtonClick']\n) {\n return (\n <InternalButton onClick={onButtonClick} className={styles['action-button']} formAction=\"none\">\n {buttonText}\n </InternalButton>\n );\n}\n\nfunction dismissButton(\n dismissLabel: FlashbarProps.MessageDefinition['dismissLabel'],\n onDismiss: FlashbarProps.MessageDefinition['onDismiss']\n) {\n return (\n <div className={styles['dismiss-button-wrapper']}>\n <InternalButton\n onClick={onDismiss}\n className={styles['dismiss-button']}\n variant=\"flashbar-icon\"\n iconName=\"close\"\n formAction=\"none\"\n ariaLabel={dismissLabel}\n />\n </div>\n );\n}\n\ninterface Flash extends FlashbarProps.MessageDefinition {\n className: string;\n transitionState?: string;\n}\n\nexport const Flash = React.forwardRef(\n (\n {\n header,\n content,\n dismissible,\n dismissLabel,\n loading,\n action,\n buttonText,\n onButtonClick,\n onDismiss,\n className,\n transitionState,\n type = 'info',\n }: Flash,\n ref: React.Ref<HTMLDivElement>\n ) => {\n if (isDevelopment) {\n if (buttonText && !onButtonClick) {\n warnOnce(\n 'Flashbar',\n `You provided a \\`buttonText\\` prop without an \\`onButtonClick\\` handler. This will render a non-interactive action button.`\n );\n }\n\n if (dismissible && !onDismiss) {\n warnOnce(\n 'Flashbar',\n `You have set the \\`dismissible\\` prop without an \\`onDismiss\\` handler. This will render a non-interactive dismiss button.`\n );\n }\n }\n\n const button = action || (buttonText && actionButton(buttonText, onButtonClick));\n\n const iconType = ICON_TYPES[type];\n\n const icon = loading ? <InternalSpinner /> : <InternalIcon name={iconType} />;\n\n const effectiveType = loading ? 'info' : type;\n\n return (\n <div\n ref={ref}\n className={clsx(\n styles.flash,\n styles[`flash-type-${effectiveType}`],\n className,\n transitionState\n ? {\n [styles.enter]: transitionState === 'enter',\n [styles.entering]: transitionState === 'entering',\n [styles.entered]: transitionState === 'entered',\n [styles.exit]: transitionState === 'exit',\n [styles.exiting]: transitionState === 'exiting',\n [styles.exited]: transitionState === 'exited',\n }\n : ''\n )}\n >\n <div className={clsx(styles['flash-icon'], styles['flash-text'])}>{icon}</div>\n <div className={styles['flash-body']}>\n <div className={clsx(styles['flash-message'], styles['flash-text'])}>\n <div className={styles['flash-header']}>{header}</div>\n <div className={styles['flash-content']}>{content}</div>\n </div>\n {button && <div className={styles['action-button-wrapper']}>{button}</div>}\n </div>\n {dismissible && dismissButton(dismissLabel, onDismiss)}\n </div>\n );\n }\n);\n"]}
1
+ {"version":3,"file":"flash.js","sourceRoot":"","sources":["../../../src/flashbar/flash.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,MAAM,qBAAqB,CAAC;AAClD,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,IAAM,UAAU,GAAG;IACjB,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,iBAAiB;CAChB,CAAC;AAEX,SAAS,YAAY,CACnB,UAAyD,EACzD,aAA+D;IAE/D,OAAO,CACL,oBAAC,cAAc,IAAC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,EAAE,UAAU,EAAC,MAAM,IAC1F,UAAU,CACI,CAClB,CAAC;AACJ,CAAC;AAED,SAAS,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.\n// SPDX-License-Identifier: Apache-2.0\nimport { FlashbarProps } from './interfaces';\nimport React from 'react';\nimport InternalSpinner from '../spinner/internal';\nimport InternalIcon from '../icon/internal';\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport { InternalButton } from '../button/internal';\nimport { warnOnce } from '../internal/logging';\nimport { isDevelopment } from '../internal/is-development';\n\nconst ICON_TYPES = {\n success: 'status-positive',\n warning: 'status-warning',\n info: 'status-info',\n error: 'status-negative',\n} as const;\n\nfunction actionButton(\n buttonText: FlashbarProps.MessageDefinition['buttonText'],\n onButtonClick: FlashbarProps.MessageDefinition['onButtonClick']\n) {\n return (\n <InternalButton onClick={onButtonClick} className={styles['action-button']} formAction=\"none\">\n {buttonText}\n </InternalButton>\n );\n}\n\nfunction dismissButton(\n dismissLabel: FlashbarProps.MessageDefinition['dismissLabel'],\n onDismiss: FlashbarProps.MessageDefinition['onDismiss']\n) {\n return (\n <div className={styles['dismiss-button-wrapper']}>\n <InternalButton\n onClick={onDismiss}\n className={styles['dismiss-button']}\n variant=\"flashbar-icon\"\n iconName=\"close\"\n formAction=\"none\"\n ariaLabel={dismissLabel}\n />\n </div>\n );\n}\n\ninterface Flash extends FlashbarProps.MessageDefinition {\n className: string;\n transitionState?: string;\n}\n\nexport const Flash = React.forwardRef(\n (\n {\n header,\n content,\n dismissible,\n dismissLabel,\n statusIconAriaLabel,\n loading,\n action,\n buttonText,\n onButtonClick,\n onDismiss,\n className,\n transitionState,\n type = 'info',\n }: Flash,\n ref: React.Ref<HTMLDivElement>\n ) => {\n if (isDevelopment) {\n if (buttonText && !onButtonClick) {\n warnOnce(\n 'Flashbar',\n `You provided a \\`buttonText\\` prop without an \\`onButtonClick\\` handler. This will render a non-interactive action button.`\n );\n }\n\n if (dismissible && !onDismiss) {\n warnOnce(\n 'Flashbar',\n `You have set the \\`dismissible\\` prop without an \\`onDismiss\\` handler. This will render a non-interactive dismiss button.`\n );\n }\n }\n\n const button = action || (buttonText && actionButton(buttonText, onButtonClick));\n\n const iconType = ICON_TYPES[type];\n\n const icon = loading ? <InternalSpinner /> : <InternalIcon name={iconType} />;\n\n const effectiveType = loading ? 'info' : type;\n\n return (\n <div\n ref={ref}\n className={clsx(\n styles.flash,\n styles[`flash-type-${effectiveType}`],\n className,\n transitionState\n ? {\n [styles.enter]: transitionState === 'enter',\n [styles.entering]: transitionState === 'entering',\n [styles.entered]: transitionState === 'entered',\n [styles.exit]: transitionState === 'exit',\n [styles.exiting]: transitionState === 'exiting',\n [styles.exited]: transitionState === 'exited',\n }\n : ''\n )}\n >\n <div className={clsx(styles['flash-icon'], styles['flash-text'])} role=\"img\" aria-label={statusIconAriaLabel}>\n {icon}\n </div>\n <div className={styles['flash-body']}>\n <div className={clsx(styles['flash-message'], styles['flash-text'])}>\n <div className={styles['flash-header']}>{header}</div>\n <div className={styles['flash-content']}>{content}</div>\n </div>\n {button && <div className={styles['action-button-wrapper']}>{button}</div>}\n </div>\n {dismissible && dismissButton(dismissLabel, onDismiss)}\n </div>\n );\n }\n);\n"]}
@@ -7,6 +7,7 @@ export declare namespace FlashbarProps {
7
7
  content?: React.ReactNode;
8
8
  dismissible?: boolean;
9
9
  dismissLabel?: string;
10
+ statusIconAriaLabel?: string;
10
11
  loading?: boolean;
11
12
  type?: FlashbarProps.Type;
12
13
  action?: React.ReactNode;
@@ -30,6 +31,7 @@ export interface FlashbarProps extends BaseComponentProps {
30
31
  * * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.
31
32
  * When a user clicks on this button the `onDismiss` handler is called.
32
33
  * * `dismissLabel` (string) - Specifies an `aria-label` for to the dismiss icon button for improved accessibility.
34
+ * * `statusIconAriaLabel` (string) - Specifies an `aria-label` for to the status icon for improved accessibility.
33
35
  * * `action` (ReactNode) - Specifies an action for the flash message. Although it is technically possible to insert any content,
34
36
  * our UX guidelines only allow you to add a button.
35
37
  * * `buttonText` (string) - Specifies that an action button should be displayed, with the specified text.
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/flashbar/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,yBAAiB,aAAa,CAAC;IAC7B,UAAiB,iBAAiB;QAChC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,IAAI,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC;QAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;QACrC,aAAa,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;QACvC,SAAS,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;KACpC;IAED,KAAY,IAAI,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;CAC7D;AAED,MAAM,WAAW,aAAc,SAAQ,kBAAkB;IACvD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,KAAK,EAAE,aAAa,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;CACvD"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/flashbar/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,yBAAiB,aAAa,CAAC;IAC7B,UAAiB,iBAAiB;QAChC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,IAAI,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC;QAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;QACrC,aAAa,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;QACvC,SAAS,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;KACpC;IAED,KAAY,IAAI,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;CAC7D;AAED,MAAM,WAAW,aAAc,SAAQ,kBAAkB;IACvD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,KAAK,EAAE,aAAa,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;CACvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/flashbar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport React from 'react';\nimport { ButtonProps } from '../button/interfaces';\n\nexport namespace FlashbarProps {\n export interface MessageDefinition {\n header?: React.ReactNode;\n content?: React.ReactNode;\n dismissible?: boolean;\n dismissLabel?: string;\n loading?: boolean;\n type?: FlashbarProps.Type;\n action?: React.ReactNode;\n id?: string;\n buttonText?: ButtonProps['children'];\n onButtonClick?: ButtonProps['onClick'];\n onDismiss?: ButtonProps['onClick'];\n }\n\n export type Type = 'success' | 'warning' | 'info' | 'error';\n}\n\nexport interface FlashbarProps extends BaseComponentProps {\n /**\n * Specifies flash messages that appear in the same order that they are listed.\n * The value is an array of flash message definition objects.\n *\n * A flash message object contains the following properties:\n * * `header` (ReactNode) - Specifies the heading text.\n * * `content` (ReactNode) - Specifies the primary text displayed in the flash element.\n * * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info`. The default is `info`.\n * * `loading` (boolean) - Replaces the status icon with a spinner and forces the type to `info`.\n * * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.\n * When a user clicks on this button the `onDismiss` handler is called.\n * * `dismissLabel` (string) - Specifies an `aria-label` for to the dismiss icon button for improved accessibility.\n * * `action` (ReactNode) - Specifies an action for the flash message. Although it is technically possible to insert any content,\n * our UX guidelines only allow you to add a button.\n * * `buttonText` (string) - Specifies that an action button should be displayed, with the specified text.\n * When a user clicks on this button the `onButtonClick` handler is called. If the `action` property is set, this property is ignored.\n * **Deprecated**, replaced by `action`.\n * * `onButtonClick` (event => void) - Called when a user clicks on the action button. This is not called if you create a custom button\n * using the `action` property. **Deprecated**, replaced by `action`.\n * * `id` (string) - Specifies a unique flash message identifier. This property is used in two ways:\n * 1. As a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering.\n * 2. To identify which flash message will be removed from the DOM when it is dismissed, to animate it out.\n * @visualrefresh `id` property\n */\n items: ReadonlyArray<FlashbarProps.MessageDefinition>;\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/flashbar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport React from 'react';\nimport { ButtonProps } from '../button/interfaces';\n\nexport namespace FlashbarProps {\n export interface MessageDefinition {\n header?: React.ReactNode;\n content?: React.ReactNode;\n dismissible?: boolean;\n dismissLabel?: string;\n statusIconAriaLabel?: string;\n loading?: boolean;\n type?: FlashbarProps.Type;\n action?: React.ReactNode;\n id?: string;\n buttonText?: ButtonProps['children'];\n onButtonClick?: ButtonProps['onClick'];\n onDismiss?: ButtonProps['onClick'];\n }\n\n export type Type = 'success' | 'warning' | 'info' | 'error';\n}\n\nexport interface FlashbarProps extends BaseComponentProps {\n /**\n * Specifies flash messages that appear in the same order that they are listed.\n * The value is an array of flash message definition objects.\n *\n * A flash message object contains the following properties:\n * * `header` (ReactNode) - Specifies the heading text.\n * * `content` (ReactNode) - Specifies the primary text displayed in the flash element.\n * * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info`. The default is `info`.\n * * `loading` (boolean) - Replaces the status icon with a spinner and forces the type to `info`.\n * * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.\n * When a user clicks on this button the `onDismiss` handler is called.\n * * `dismissLabel` (string) - Specifies an `aria-label` for to the dismiss icon button for improved accessibility.\n * * `statusIconAriaLabel` (string) - Specifies an `aria-label` for to the status icon for improved accessibility.\n * * `action` (ReactNode) - Specifies an action for the flash message. Although it is technically possible to insert any content,\n * our UX guidelines only allow you to add a button.\n * * `buttonText` (string) - Specifies that an action button should be displayed, with the specified text.\n * When a user clicks on this button the `onButtonClick` handler is called. If the `action` property is set, this property is ignored.\n * **Deprecated**, replaced by `action`.\n * * `onButtonClick` (event => void) - Called when a user clicks on the action button. This is not called if you create a custom button\n * using the `action` property. **Deprecated**, replaced by `action`.\n * * `id` (string) - Specifies a unique flash message identifier. This property is used in two ways:\n * 1. As a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering.\n * 2. To identify which flash message will be removed from the DOM when it is dismissed, to animate it out.\n * @visualrefresh `id` property\n */\n items: ReadonlyArray<FlashbarProps.MessageDefinition>;\n}\n"]}
@@ -245,7 +245,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
245
245
  text-decoration: none;
246
246
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
247
247
  text-decoration-color: transparent;
248
+ transition-property: color, -webkit-text-decoration;
248
249
  transition-property: color, text-decoration;
250
+ transition-property: color, text-decoration, -webkit-text-decoration;
249
251
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
250
252
  }
251
253
  @media (prefers-reduced-motion: reduce) {
@@ -54,7 +54,7 @@ function InternalInput(_a, ref) {
54
54
  return (React.createElement("div", __assign({}, baseProps, { className: clsx(baseProps.className, styles['input-container']), ref: __internalRootRef }),
55
55
  __leftIcon && (React.createElement("span", { onClick: __onLeftIconClick, className: iconClassName('left', !!__onLeftIconClick) },
56
56
  React.createElement(InternalIcon, { name: __leftIcon, variant: disabled ? 'disabled' : __leftIconVariant }))),
57
- React.createElement("input", __assign({ spellCheck: false, ref: mergedRef }, attributes)),
57
+ React.createElement("input", __assign({ ref: mergedRef }, attributes, { spellCheck: false })),
58
58
  __rightIcon && (React.createElement("span", { onClick: __onRightIconClick, onMouseDown: preventMouseDown, className: iconClassName('right', !!__onRightIconClick) },
59
59
  React.createElement(InternalIcon, { name: __rightIcon, variant: disabled ? 'disabled' : __rightIconVariant })))));
60
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/input/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAA0B,MAAM,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EAEjB,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAsB,YAAY,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Ae,CAAC,GAAG,MAAM,CAAC;KACtC;IACD,IAAI,OAAO,EAAE;QACX,UAAU,CAAC,cAAc,CAAC,GAAG,MAAM,CAAC;KACrC;IAED,IAAM,SAAS,GAAG,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAE9C,OAAO,CACL,wCAAS,SAAS,IAAE,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC,EAAE,GAAG,EAAE,iBAAiB;QACxG,UAAU,IAAI,CACb,8BAAM,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,iBAAiB,CAAC;YACrF,oBAAC,YAAY,IAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,iBAAiB,GAAI,CACjF,CACR;QACD,wCAAO,UAAU,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,IAAM,UAAU,EAAI;QAC3D,WAAW,IAAI,CACd,8BACE,OAAO,EAAE,kBAAkB,EAC3B,WAAW,EAAE,gBAAgB,EAC7B,SAAS,EAAE,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,kBAAkB,CAAC;YAEvD,oBAAC,YAAY,IAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,kBAAkB,GAAI,CACnF,CACR,CACG,CACP,CAAC;AACJ,CAAC;AAED,eAAe,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { MouseEventHandler, Ref, useRef } from 'react';\nimport clsx from 'clsx';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\nimport styles from './styles.css.js';\nimport {\n fireNonCancelableEvent,\n fireKeyboardEvent,\n NonCancelableEventHandler,\n getBlurEventRelatedTarget,\n} from '../internal/events';\nimport { InputProps, BaseInputProps, BaseChangeDetail } from './interfaces';\nimport { BaseComponentProps, getBaseProps } from '../internal/base-component';\nimport { useSearchProps, convertAutoComplete } from './utils';\nimport { useDebounceCallback } from '../internal/hooks/use-debounce-callback';\nimport { FormFieldValidationControlProps } from '../internal/context/form-field-context';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\n\nexport interface InternalInputProps\n extends BaseComponentProps,\n BaseInputProps,\n InputProps,\n FormFieldValidationControlProps,\n InternalBaseComponentProps {\n __leftIcon?: IconProps['name'];\n __leftIconVariant?: IconProps['variant'];\n __onLeftIconClick?: () => void;\n\n __rightIcon?: IconProps['name'];\n __rightIconVariant?: IconProps['variant'];\n __onRightIconClick?: () => void;\n\n __nativeAttributes?: Record<string, any>;\n __noBorderRadius?: boolean;\n\n __onDelayedInput?: NonCancelableEventHandler<BaseChangeDetail>;\n __onBlurWithDetail?: NonCancelableEventHandler<{ relatedTarget: Node | null }>;\n}\n\nconst iconClassName = (position: string, hasHandler: boolean) =>\n clsx(styles['input-icon'], styles[`input-icon-${position}`], { [styles['input-icon-hoverable']]: hasHandler });\nconst preventMouseDown: MouseEventHandler = e => e.preventDefault();\n\nfunction InternalInput(\n {\n type = 'text',\n step,\n inputMode,\n autoComplete = true,\n ariaLabel,\n ariaLabelledby,\n ariaDescribedby,\n name,\n value,\n controlId,\n placeholder,\n autoFocus,\n disabled,\n readOnly,\n disableBrowserAutocorrect,\n __noBorderRadius,\n\n __leftIcon,\n __leftIconVariant = 'subtle',\n __onLeftIconClick,\n\n invalid,\n ariaRequired,\n\n __rightIcon,\n __rightIconVariant = 'normal',\n __onRightIconClick,\n\n onKeyDown,\n onKeyUp,\n onChange,\n __onDelayedInput,\n __onBlurWithDetail,\n onBlur,\n onFocus,\n __nativeAttributes,\n __internalRootRef,\n ...rest\n }: InternalInputProps,\n ref: Ref<HTMLInputElement>\n) {\n const baseProps = getBaseProps(rest);\n const fireDelayedInput = useDebounceCallback((value: string) => fireNonCancelableEvent(__onDelayedInput, { value }));\n\n const handleChange = (value: string) => {\n fireDelayedInput(value);\n fireNonCancelableEvent(onChange, { value });\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n const searchProps = useSearchProps(type, disabled, readOnly, value, inputRef, handleChange);\n __leftIcon = __leftIcon ?? searchProps.__leftIcon;\n __rightIcon = __rightIcon ?? searchProps.__rightIcon;\n __onRightIconClick = __onRightIconClick ?? searchProps.__onRightIconClick;\n\n const attributes: React.InputHTMLAttributes<HTMLInputElement> = {\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby,\n 'aria-describedby': ariaDescribedby,\n name,\n placeholder,\n autoFocus,\n id: controlId,\n className: clsx(\n styles.input,\n type && styles[`input-type-${type}`],\n __rightIcon && styles['input-has-icon-right'],\n __leftIcon && styles['input-has-icon-left'],\n __noBorderRadius && styles['input-has-no-border-radius'],\n {\n [styles['input-readonly']]: readOnly,\n [styles['input-invalid']]: invalid,\n }\n ),\n autoComplete: convertAutoComplete(autoComplete),\n disabled,\n readOnly,\n type,\n step,\n inputMode,\n onKeyDown: onKeyDown && (event => fireKeyboardEvent(onKeyDown, event)),\n onKeyUp: onKeyUp && (event => fireKeyboardEvent(onKeyUp, event)),\n // We set a default value on the component in order to force it into the controlled mode.\n value: value ?? '',\n onChange: onChange && (event => handleChange(event.target.value)),\n onBlur: e => {\n onBlur && fireNonCancelableEvent(onBlur);\n __onBlurWithDetail &&\n fireNonCancelableEvent(__onBlurWithDetail, { relatedTarget: getBlurEventRelatedTarget(e.nativeEvent) });\n },\n onFocus: onFocus && (() => fireNonCancelableEvent(onFocus)),\n ...__nativeAttributes,\n };\n\n if (disableBrowserAutocorrect) {\n attributes.autoCorrect = 'off';\n attributes.autoCapitalize = 'off';\n }\n\n // ensure aria properties are string literal \"true\"\n if (ariaRequired) {\n attributes['aria-required'] = 'true';\n }\n if (invalid) {\n attributes['aria-invalid'] = 'true';\n }\n\n const mergedRef = useMergeRefs(ref, inputRef);\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles['input-container'])} ref={__internalRootRef}>\n {__leftIcon && (\n <span onClick={__onLeftIconClick} className={iconClassName('left', !!__onLeftIconClick)}>\n <InternalIcon name={__leftIcon} variant={disabled ? 'disabled' : __leftIconVariant} />\n </span>\n )}\n <input spellCheck={false} ref={mergedRef} {...attributes} />\n {__rightIcon && (\n <span\n onClick={__onRightIconClick}\n onMouseDown={preventMouseDown}\n className={iconClassName('right', !!__onRightIconClick)}\n >\n <InternalIcon name={__rightIcon} variant={disabled ? 'disabled' : __rightIconVariant} />\n </span>\n )}\n </div>\n );\n}\n\nexport default React.forwardRef(InternalInput);\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/input/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAA0B,MAAM,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EAEjB,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAsB,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAyB9E,IAAM,aAAa,GAAG,UAAC,QAAgB,EAAE,UAAmB;;IAC1D,OAAA,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,qBAAc,QAAQ,CAAE,CAA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AC,EAAE,GAAG,EAAE,iBAAiB;QACxG,UAAU,IAAI,CACb,8BAAM,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,iBAAiB,CAAC;YACrF,oBAAC,YAAY,IAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,iBAAiB,GAAI,CACjF,CACR;QACD,wCAAO,GAAG,EAAE,SAAS,IAAM,UAAU,IAAE,UAAU,EAAE,KAAK,IAAI;QAC3D,WAAW,IAAI,CACd,8BACE,OAAO,EAAE,kBAAkB,EAC3B,WAAW,EAAE,gBAAgB,EAC7B,SAAS,EAAE,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,kBAAkB,CAAC;YAEvD,oBAAC,YAAY,IAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,kBAAkB,GAAI,CACnF,CACR,CACG,CACP,CAAC;AACJ,CAAC;AAED,eAAe,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { MouseEventHandler, Ref, useRef } from 'react';\nimport clsx from 'clsx';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\nimport styles from './styles.css.js';\nimport {\n fireNonCancelableEvent,\n fireKeyboardEvent,\n NonCancelableEventHandler,\n getBlurEventRelatedTarget,\n} from '../internal/events';\nimport { InputProps, BaseInputProps, BaseChangeDetail } from './interfaces';\nimport { BaseComponentProps, getBaseProps } from '../internal/base-component';\nimport { useSearchProps, convertAutoComplete } from './utils';\nimport { useDebounceCallback } from '../internal/hooks/use-debounce-callback';\nimport { FormFieldValidationControlProps } from '../internal/context/form-field-context';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\n\nexport interface InternalInputProps\n extends BaseComponentProps,\n BaseInputProps,\n InputProps,\n FormFieldValidationControlProps,\n InternalBaseComponentProps {\n __leftIcon?: IconProps['name'];\n __leftIconVariant?: IconProps['variant'];\n __onLeftIconClick?: () => void;\n\n __rightIcon?: IconProps['name'];\n __rightIconVariant?: IconProps['variant'];\n __onRightIconClick?: () => void;\n\n __nativeAttributes?: Record<string, any>;\n __noBorderRadius?: boolean;\n\n __onDelayedInput?: NonCancelableEventHandler<BaseChangeDetail>;\n __onBlurWithDetail?: NonCancelableEventHandler<{ relatedTarget: Node | null }>;\n}\n\nconst iconClassName = (position: string, hasHandler: boolean) =>\n clsx(styles['input-icon'], styles[`input-icon-${position}`], { [styles['input-icon-hoverable']]: hasHandler });\nconst preventMouseDown: MouseEventHandler = e => e.preventDefault();\n\nfunction InternalInput(\n {\n type = 'text',\n step,\n inputMode,\n autoComplete = true,\n ariaLabel,\n ariaLabelledby,\n ariaDescribedby,\n name,\n value,\n controlId,\n placeholder,\n autoFocus,\n disabled,\n readOnly,\n disableBrowserAutocorrect,\n __noBorderRadius,\n\n __leftIcon,\n __leftIconVariant = 'subtle',\n __onLeftIconClick,\n\n invalid,\n ariaRequired,\n\n __rightIcon,\n __rightIconVariant = 'normal',\n __onRightIconClick,\n\n onKeyDown,\n onKeyUp,\n onChange,\n __onDelayedInput,\n __onBlurWithDetail,\n onBlur,\n onFocus,\n __nativeAttributes,\n __internalRootRef,\n ...rest\n }: InternalInputProps,\n ref: Ref<HTMLInputElement>\n) {\n const baseProps = getBaseProps(rest);\n const fireDelayedInput = useDebounceCallback((value: string) => fireNonCancelableEvent(__onDelayedInput, { value }));\n\n const handleChange = (value: string) => {\n fireDelayedInput(value);\n fireNonCancelableEvent(onChange, { value });\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n const searchProps = useSearchProps(type, disabled, readOnly, value, inputRef, handleChange);\n __leftIcon = __leftIcon ?? searchProps.__leftIcon;\n __rightIcon = __rightIcon ?? searchProps.__rightIcon;\n __onRightIconClick = __onRightIconClick ?? searchProps.__onRightIconClick;\n\n const attributes: React.InputHTMLAttributes<HTMLInputElement> = {\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby,\n 'aria-describedby': ariaDescribedby,\n name,\n placeholder,\n autoFocus,\n id: controlId,\n className: clsx(\n styles.input,\n type && styles[`input-type-${type}`],\n __rightIcon && styles['input-has-icon-right'],\n __leftIcon && styles['input-has-icon-left'],\n __noBorderRadius && styles['input-has-no-border-radius'],\n {\n [styles['input-readonly']]: readOnly,\n [styles['input-invalid']]: invalid,\n }\n ),\n autoComplete: convertAutoComplete(autoComplete),\n disabled,\n readOnly,\n type,\n step,\n inputMode,\n onKeyDown: onKeyDown && (event => fireKeyboardEvent(onKeyDown, event)),\n onKeyUp: onKeyUp && (event => fireKeyboardEvent(onKeyUp, event)),\n // We set a default value on the component in order to force it into the controlled mode.\n value: value ?? '',\n onChange: onChange && (event => handleChange(event.target.value)),\n onBlur: e => {\n onBlur && fireNonCancelableEvent(onBlur);\n __onBlurWithDetail &&\n fireNonCancelableEvent(__onBlurWithDetail, { relatedTarget: getBlurEventRelatedTarget(e.nativeEvent) });\n },\n onFocus: onFocus && (() => fireNonCancelableEvent(onFocus)),\n ...__nativeAttributes,\n };\n\n if (disableBrowserAutocorrect) {\n attributes.autoCorrect = 'off';\n attributes.autoCapitalize = 'off';\n }\n\n // ensure aria properties are string literal \"true\"\n if (ariaRequired) {\n attributes['aria-required'] = 'true';\n }\n if (invalid) {\n attributes['aria-invalid'] = 'true';\n }\n\n const mergedRef = useMergeRefs(ref, inputRef);\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles['input-container'])} ref={__internalRootRef}>\n {__leftIcon && (\n <span onClick={__onLeftIconClick} className={iconClassName('left', !!__onLeftIconClick)}>\n <InternalIcon name={__leftIcon} variant={disabled ? 'disabled' : __leftIconVariant} />\n </span>\n )}\n <input ref={mergedRef} {...attributes} spellCheck={false} />\n {__rightIcon && (\n <span\n onClick={__onRightIconClick}\n onMouseDown={preventMouseDown}\n className={iconClassName('right', !!__onRightIconClick)}\n >\n <InternalIcon name={__rightIcon} variant={disabled ? 'disabled' : __rightIconVariant} />\n </span>\n )}\n </div>\n );\n}\n\nexport default React.forwardRef(InternalInput);\n"]}
@@ -242,7 +242,6 @@
242
242
  --color-border-dropdown-item-default-tcqivq:#eaeded;
243
243
  --color-border-dropdown-item-hover-d32f3f:#879596;
244
244
  --color-border-dropdown-item-dimmed-hover-znavol:#879596;
245
- --color-border-dropdown-item-selected-bzuxys:#00a1c9;
246
245
  --color-border-dropdown-item-top-3kvhpl:#eaeded;
247
246
  --color-border-input-default-94d18j:#aab7b8;
248
247
  --color-border-input-disabled-ek5o0x:#eaeded;
@@ -271,7 +270,7 @@
271
270
  --color-text-body-default-7m2b3r:#16191f;
272
271
  --color-text-body-secondary-u912t7:#545b64;
273
272
  --color-text-breadcrumb-current-t6gbyx:#687078;
274
- --color-text-breadcrumb-icon-wx9n5d:#aab7b8;
273
+ --color-text-breadcrumb-icon-73h18g:#687078;
275
274
  --color-text-button-inline-icon-default-qhj7jl:#545b64;
276
275
  --color-text-button-inline-icon-disabled-sesloi:#aab7b8;
277
276
  --color-text-button-inline-icon-hover-84mkuo:#16191f;
@@ -285,7 +284,6 @@
285
284
  --color-text-button-primary-default-iy7hsx:#ffffff;
286
285
  --color-text-button-primary-hover-vtm3ow:#ffffff;
287
286
  --color-text-calendar-day-hover-p7s945:#16191f;
288
- --color-text-calendar-day-selected-fr68ny:#16191f;
289
287
  --color-text-calendar-month-cx7jxx:#545b64;
290
288
  --color-text-code-editor-gutter-active-line-x8sbgu:#ffffff;
291
289
  --color-text-code-editor-gutter-default-xo884c:#16191f;
@@ -823,7 +821,6 @@
823
821
  --color-text-body-default-7m2b3r:#d5dbdb;
824
822
  --color-text-body-secondary-u912t7:#d5dbdb;
825
823
  --color-text-breadcrumb-current-t6gbyx:#d5dbdb;
826
- --color-text-breadcrumb-icon-wx9n5d:#687078;
827
824
  --color-text-button-inline-icon-default-qhj7jl:#d5dbdb;
828
825
  --color-text-button-inline-icon-disabled-sesloi:#687078;
829
826
  --color-text-button-inline-icon-hover-84mkuo:#fafafa;
@@ -837,7 +834,6 @@
837
834
  --color-text-button-primary-default-iy7hsx:#16191f;
838
835
  --color-text-button-primary-hover-vtm3ow:#16191f;
839
836
  --color-text-calendar-day-hover-p7s945:#eaeded;
840
- --color-text-calendar-day-selected-fr68ny:#eaeded;
841
837
  --color-text-calendar-month-cx7jxx:#d5dbdb;
842
838
  --color-text-code-editor-gutter-active-line-x8sbgu:#16191f;
843
839
  --color-text-code-editor-gutter-default-xo884c:#d5dbdb;
@@ -1056,7 +1052,6 @@
1056
1052
  --color-text-body-default-7m2b3r:#d5dbdb;
1057
1053
  --color-text-body-secondary-u912t7:#d5dbdb;
1058
1054
  --color-text-breadcrumb-current-t6gbyx:#d5dbdb;
1059
- --color-text-breadcrumb-icon-wx9n5d:#687078;
1060
1055
  --color-text-button-inline-icon-default-qhj7jl:#d5dbdb;
1061
1056
  --color-text-button-inline-icon-disabled-sesloi:#687078;
1062
1057
  --color-text-button-inline-icon-hover-84mkuo:#fafafa;
@@ -1070,7 +1065,6 @@
1070
1065
  --color-text-button-primary-default-iy7hsx:#16191f;
1071
1066
  --color-text-button-primary-hover-vtm3ow:#16191f;
1072
1067
  --color-text-calendar-day-hover-p7s945:#eaeded;
1073
- --color-text-calendar-day-selected-fr68ny:#eaeded;
1074
1068
  --color-text-calendar-month-cx7jxx:#d5dbdb;
1075
1069
  --color-text-code-editor-gutter-active-line-x8sbgu:#16191f;
1076
1070
  --color-text-code-editor-gutter-default-xo884c:#d5dbdb;
@@ -1212,7 +1206,6 @@
1212
1206
  --color-border-dropdown-item-default-tcqivq:#e9ebed;
1213
1207
  --color-border-dropdown-item-hover-d32f3f:#7d8998;
1214
1208
  --color-border-dropdown-item-dimmed-hover-znavol:#7d8998;
1215
- --color-border-dropdown-item-selected-bzuxys:#0972d3;
1216
1209
  --color-border-dropdown-item-top-3kvhpl:transparent;
1217
1210
  --color-border-input-default-94d18j:#9ba7b6;
1218
1211
  --color-border-input-disabled-ek5o0x:#e9ebed;
@@ -1239,7 +1232,7 @@
1239
1232
  --color-text-body-default-7m2b3r:#000716;
1240
1233
  --color-text-body-secondary-u912t7:#414d5c;
1241
1234
  --color-text-breadcrumb-current-t6gbyx:#5f6b7a;
1242
- --color-text-breadcrumb-icon-wx9n5d:#7d8998;
1235
+ --color-text-breadcrumb-icon-73h18g:#7d8998;
1243
1236
  --color-text-button-inline-icon-default-qhj7jl:#0972d3;
1244
1237
  --color-text-button-inline-icon-disabled-sesloi:#9ba7b6;
1245
1238
  --color-text-button-inline-icon-hover-84mkuo:#033160;
@@ -1250,7 +1243,6 @@
1250
1243
  --color-text-link-button-normal-hover-ir7bl3:#033160;
1251
1244
  --color-text-link-button-normal-active-1os5uu:#033160;
1252
1245
  --color-text-calendar-day-hover-p7s945:#000716;
1253
- --color-text-calendar-day-selected-fr68ny:#0972d3;
1254
1246
  --color-text-calendar-month-cx7jxx:#5f6b7a;
1255
1247
  --color-text-code-editor-gutter-default-xo884c:#000716;
1256
1248
  --color-text-code-editor-status-bar-disabled-u2e9ms:#7d8998;
@@ -1531,7 +1523,6 @@
1531
1523
  --color-border-dropdown-group-lane4t:#414d5c;
1532
1524
  --color-border-dropdown-item-default-tcqivq:#414d5c;
1533
1525
  --color-border-dropdown-item-hover-d32f3f:#5f6b7a;
1534
- --color-border-dropdown-item-selected-bzuxys:#539fe5;
1535
1526
  --color-border-input-default-94d18j:#5f6b7a;
1536
1527
  --color-border-input-disabled-ek5o0x:#192534;
1537
1528
  --color-border-item-focused-n5kd8g:#539fe5;
@@ -1559,7 +1550,7 @@
1559
1550
  --color-text-body-default-7m2b3r:#d1d5db;
1560
1551
  --color-text-body-secondary-u912t7:#d1d5db;
1561
1552
  --color-text-breadcrumb-current-t6gbyx:#7d8998;
1562
- --color-text-breadcrumb-icon-wx9n5d:#5f6b7a;
1553
+ --color-text-breadcrumb-icon-73h18g:#5f6b7a;
1563
1554
  --color-text-button-inline-icon-default-qhj7jl:#539fe5;
1564
1555
  --color-text-button-inline-icon-disabled-sesloi:#5f6b7a;
1565
1556
  --color-text-button-inline-icon-hover-84mkuo:#89bdee;
@@ -1573,7 +1564,6 @@
1573
1564
  --color-text-button-primary-default-iy7hsx:#000716;
1574
1565
  --color-text-button-primary-hover-vtm3ow:#000716;
1575
1566
  --color-text-calendar-day-hover-p7s945:#d1d5db;
1576
- --color-text-calendar-day-selected-fr68ny:#539fe5;
1577
1567
  --color-text-calendar-month-cx7jxx:#8d99a8;
1578
1568
  --color-text-code-editor-gutter-active-line-x8sbgu:#000716;
1579
1569
  --color-text-code-editor-gutter-default-xo884c:#d1d5db;
@@ -1745,7 +1735,6 @@
1745
1735
  --color-border-dropdown-group-lane4t:#414d5c;
1746
1736
  --color-border-dropdown-item-default-tcqivq:#414d5c;
1747
1737
  --color-border-dropdown-item-hover-d32f3f:#5f6b7a;
1748
- --color-border-dropdown-item-selected-bzuxys:#539fe5;
1749
1738
  --color-border-dropdown-item-top-3kvhpl:transparent;
1750
1739
  --color-border-input-default-94d18j:#5f6b7a;
1751
1740
  --color-border-input-disabled-ek5o0x:#192534;
@@ -1774,7 +1763,7 @@
1774
1763
  --color-text-body-default-7m2b3r:#d1d5db;
1775
1764
  --color-text-body-secondary-u912t7:#d1d5db;
1776
1765
  --color-text-breadcrumb-current-t6gbyx:#7d8998;
1777
- --color-text-breadcrumb-icon-wx9n5d:#5f6b7a;
1766
+ --color-text-breadcrumb-icon-73h18g:#5f6b7a;
1778
1767
  --color-text-button-inline-icon-default-qhj7jl:#539fe5;
1779
1768
  --color-text-button-inline-icon-disabled-sesloi:#5f6b7a;
1780
1769
  --color-text-button-inline-icon-hover-84mkuo:#89bdee;
@@ -1788,7 +1777,6 @@
1788
1777
  --color-text-button-primary-default-iy7hsx:#000716;
1789
1778
  --color-text-button-primary-hover-vtm3ow:#000716;
1790
1779
  --color-text-calendar-day-hover-p7s945:#d1d5db;
1791
- --color-text-calendar-day-selected-fr68ny:#539fe5;
1792
1780
  --color-text-calendar-month-cx7jxx:#8d99a8;
1793
1781
  --color-text-code-editor-gutter-active-line-x8sbgu:#000716;
1794
1782
  --color-text-code-editor-gutter-default-xo884c:#d1d5db;
@@ -1917,7 +1905,6 @@
1917
1905
  --color-border-dropdown-group-lane4t:#414d5c;
1918
1906
  --color-border-dropdown-item-default-tcqivq:#414d5c;
1919
1907
  --color-border-dropdown-item-hover-d32f3f:#5f6b7a;
1920
- --color-border-dropdown-item-selected-bzuxys:#539fe5;
1921
1908
  --color-border-input-default-94d18j:#5f6b7a;
1922
1909
  --color-border-input-disabled-ek5o0x:#192534;
1923
1910
  --color-border-item-focused-n5kd8g:#539fe5;
@@ -1945,7 +1932,7 @@
1945
1932
  --color-text-body-default-7m2b3r:#d1d5db;
1946
1933
  --color-text-body-secondary-u912t7:#d1d5db;
1947
1934
  --color-text-breadcrumb-current-t6gbyx:#7d8998;
1948
- --color-text-breadcrumb-icon-wx9n5d:#5f6b7a;
1935
+ --color-text-breadcrumb-icon-73h18g:#5f6b7a;
1949
1936
  --color-text-button-inline-icon-default-qhj7jl:#539fe5;
1950
1937
  --color-text-button-inline-icon-disabled-sesloi:#5f6b7a;
1951
1938
  --color-text-button-inline-icon-hover-84mkuo:#89bdee;
@@ -1959,7 +1946,6 @@
1959
1946
  --color-text-button-primary-default-iy7hsx:#000716;
1960
1947
  --color-text-button-primary-hover-vtm3ow:#000716;
1961
1948
  --color-text-calendar-day-hover-p7s945:#d1d5db;
1962
- --color-text-calendar-day-selected-fr68ny:#539fe5;
1963
1949
  --color-text-calendar-month-cx7jxx:#8d99a8;
1964
1950
  --color-text-code-editor-gutter-active-line-x8sbgu:#000716;
1965
1951
  --color-text-code-editor-gutter-default-xo884c:#d1d5db;
@@ -2088,7 +2074,6 @@
2088
2074
  --color-border-dropdown-group-lane4t:#414d5c;
2089
2075
  --color-border-dropdown-item-default-tcqivq:#414d5c;
2090
2076
  --color-border-dropdown-item-hover-d32f3f:#5f6b7a;
2091
- --color-border-dropdown-item-selected-bzuxys:#539fe5;
2092
2077
  --color-border-input-default-94d18j:#5f6b7a;
2093
2078
  --color-border-input-disabled-ek5o0x:#192534;
2094
2079
  --color-border-item-focused-n5kd8g:#539fe5;
@@ -2116,7 +2101,7 @@
2116
2101
  --color-text-body-default-7m2b3r:#d1d5db;
2117
2102
  --color-text-body-secondary-u912t7:#d1d5db;
2118
2103
  --color-text-breadcrumb-current-t6gbyx:#7d8998;
2119
- --color-text-breadcrumb-icon-wx9n5d:#5f6b7a;
2104
+ --color-text-breadcrumb-icon-73h18g:#5f6b7a;
2120
2105
  --color-text-button-inline-icon-default-qhj7jl:#539fe5;
2121
2106
  --color-text-button-inline-icon-disabled-sesloi:#5f6b7a;
2122
2107
  --color-text-button-inline-icon-hover-84mkuo:#89bdee;
@@ -2130,7 +2115,6 @@
2130
2115
  --color-text-button-primary-default-iy7hsx:#000716;
2131
2116
  --color-text-button-primary-hover-vtm3ow:#000716;
2132
2117
  --color-text-calendar-day-hover-p7s945:#d1d5db;
2133
- --color-text-calendar-day-selected-fr68ny:#539fe5;
2134
2118
  --color-text-calendar-month-cx7jxx:#8d99a8;
2135
2119
  --color-text-code-editor-gutter-active-line-x8sbgu:#000716;
2136
2120
  --color-text-code-editor-gutter-default-xo884c:#d1d5db;
@@ -2268,7 +2252,6 @@
2268
2252
  --color-border-dropdown-group-lane4t:#414d5c;
2269
2253
  --color-border-dropdown-item-default-tcqivq:#414d5c;
2270
2254
  --color-border-dropdown-item-hover-d32f3f:#5f6b7a;
2271
- --color-border-dropdown-item-selected-bzuxys:#539fe5;
2272
2255
  --color-border-input-default-94d18j:#5f6b7a;
2273
2256
  --color-border-input-disabled-ek5o0x:#192534;
2274
2257
  --color-border-item-focused-n5kd8g:#539fe5;
@@ -2296,7 +2279,7 @@
2296
2279
  --color-text-body-default-7m2b3r:#d1d5db;
2297
2280
  --color-text-body-secondary-u912t7:#d1d5db;
2298
2281
  --color-text-breadcrumb-current-t6gbyx:#7d8998;
2299
- --color-text-breadcrumb-icon-wx9n5d:#5f6b7a;
2282
+ --color-text-breadcrumb-icon-73h18g:#5f6b7a;
2300
2283
  --color-text-button-inline-icon-default-qhj7jl:#539fe5;
2301
2284
  --color-text-button-inline-icon-disabled-sesloi:#5f6b7a;
2302
2285
  --color-text-button-inline-icon-hover-84mkuo:#89bdee;
@@ -2310,7 +2293,6 @@
2310
2293
  --color-text-button-primary-default-iy7hsx:#000716;
2311
2294
  --color-text-button-primary-hover-vtm3ow:#000716;
2312
2295
  --color-text-calendar-day-hover-p7s945:#d1d5db;
2313
- --color-text-calendar-day-selected-fr68ny:#539fe5;
2314
2296
  --color-text-calendar-month-cx7jxx:#8d99a8;
2315
2297
  --color-text-code-editor-gutter-active-line-x8sbgu:#000716;
2316
2298
  --color-text-code-editor-gutter-default-xo884c:#d1d5db;
@@ -1,5 +1,5 @@
1
1
 
2
- export var PACKAGE_VERSION = '3.0.0 (2fb8f00)';
2
+ export var PACKAGE_VERSION = '3.0.0 (75250cc)';
3
3
  export var THEME = 'open-source-visual-refresh';
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
5
5
 
@@ -133,7 +133,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
133
133
  text-decoration: none;
134
134
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
135
135
  text-decoration-color: transparent;
136
+ transition-property: color, -webkit-text-decoration;
136
137
  transition-property: color, text-decoration;
138
+ transition-property: color, text-decoration, -webkit-text-decoration;
137
139
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
138
140
  }
139
141
  @media (prefers-reduced-motion: reduce) {
@@ -168,7 +170,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
168
170
  text-decoration: none;
169
171
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
170
172
  text-decoration-color: transparent;
173
+ transition-property: color, -webkit-text-decoration;
171
174
  transition-property: color, text-decoration;
175
+ transition-property: color, text-decoration, -webkit-text-decoration;
172
176
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
173
177
  }
174
178
  @media (prefers-reduced-motion: reduce) {
@@ -200,10 +204,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
200
204
  color: var(--color-text-link-default-753y4e, #0073bb);
201
205
  font-weight: var(--font-link-primary-weight-08ec3r, 700);
202
206
  letter-spacing: var(--font-link-primary-letter-spacing-4lvjol, 0.005em);
203
- text-decoration: var(--font-link-primary-decoration-yl9l62, none);
207
+ -webkit-text-decoration: var(--font-link-primary-decoration-yl9l62, none);
208
+ text-decoration: var(--font-link-primary-decoration-yl9l62, none);
204
209
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
205
210
  text-decoration-color: var(--color-text-link-primary-underline-xq4vik, transparent);
211
+ transition-property: color, -webkit-text-decoration;
206
212
  transition-property: color, text-decoration;
213
+ transition-property: color, text-decoration, -webkit-text-decoration;
207
214
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
208
215
  }
209
216
  @media (prefers-reduced-motion: reduce) {
@@ -238,7 +245,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
238
245
  text-decoration: none;
239
246
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
240
247
  text-decoration-color: transparent;
248
+ transition-property: color, -webkit-text-decoration;
241
249
  transition-property: color, text-decoration;
250
+ transition-property: color, text-decoration, -webkit-text-decoration;
242
251
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
243
252
  }
244
253
  @media (prefers-reduced-motion: reduce) {
@@ -272,7 +281,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
272
281
  text-decoration: none;
273
282
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
274
283
  text-decoration-color: transparent;
284
+ transition-property: color, -webkit-text-decoration;
275
285
  transition-property: color, text-decoration;
286
+ transition-property: color, text-decoration, -webkit-text-decoration;
276
287
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
277
288
  }
278
289
  @media (prefers-reduced-motion: reduce) {
@@ -307,7 +318,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
307
318
  text-decoration: none;
308
319
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
309
320
  text-decoration-color: transparent;
321
+ transition-property: color, -webkit-text-decoration;
310
322
  transition-property: color, text-decoration;
323
+ transition-property: color, text-decoration, -webkit-text-decoration;
311
324
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
312
325
  }
313
326
  @media (prefers-reduced-motion: reduce) {
@@ -342,7 +355,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
342
355
  text-decoration: underline;
343
356
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
344
357
  text-decoration-color: var(--color-text-link-button-underline-0wuqvw, currentColor);
358
+ transition-property: color, -webkit-text-decoration;
345
359
  transition-property: color, text-decoration;
360
+ transition-property: color, text-decoration, -webkit-text-decoration;
346
361
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
347
362
  }
348
363
  @media (prefers-reduced-motion: reduce) {
@@ -377,7 +392,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
377
392
  text-decoration: none;
378
393
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
379
394
  text-decoration-color: transparent;
395
+ transition-property: color, -webkit-text-decoration;
380
396
  transition-property: color, text-decoration;
397
+ transition-property: color, text-decoration, -webkit-text-decoration;
381
398
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
382
399
  }
383
400
  @media (prefers-reduced-motion: reduce) {
@@ -145,11 +145,7 @@ export declare namespace PropertyFilterProps {
145
145
  type ComparisonOperator = PropertyFilterOperator;
146
146
  type ExtendedOperator<TokenValue> = PropertyFilterOperatorExtended<TokenValue>;
147
147
  type FilteringOption = PropertyFilterOption;
148
- interface FilteringProperty extends PropertyFilterProperty {
149
- groupValuesLabel: string;
150
- propertyLabel: string;
151
- group?: string;
152
- }
148
+ type FilteringProperty = PropertyFilterProperty;
153
149
  interface Query {
154
150
  tokens: ReadonlyArray<PropertyFilterProps.Token>;
155
151
  operation: PropertyFilterProps.JoinOperation;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/property-filter/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,8BAA8B,EAC9B,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAE7C,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,EAAE,gBAAgB;IAC/E;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,mBAAmB,CAAC,WAAW,CAAC;IAC7C;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;OAUG;IACH,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC;IACjC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,yBAAyB,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAC/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