@kaizen/components 2.4.0 → 2.5.0

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 (148) hide show
  1. package/dist/cjs/src/Heading/Heading.cjs +1 -1
  2. package/dist/cjs/src/Heading/Heading.module.css.cjs +22 -0
  3. package/dist/cjs/src/Label/Label.cjs +1 -1
  4. package/dist/cjs/src/Label/Label.module.css.cjs +16 -0
  5. package/dist/cjs/src/LabelledMessage/LabelledMessage.cjs +1 -1
  6. package/dist/cjs/src/LabelledMessage/LabelledMessage.module.css.cjs +7 -0
  7. package/dist/cjs/src/Notification/InlineNotification/InlineNotification.cjs +1 -1
  8. package/dist/cjs/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.cjs +1 -1
  9. package/dist/cjs/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss.cjs → ToastNotificationsList.module.css.cjs} +1 -1
  10. package/dist/cjs/src/Notification/subcomponents/CancelButton/CancelButton.cjs +1 -1
  11. package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.cjs +1 -1
  12. package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css.cjs +29 -0
  13. package/dist/cjs/src/Notification/subcomponents/NotificationHeading/NotificationHeading.cjs +1 -1
  14. package/dist/cjs/src/Select/Select.cjs +9 -7
  15. package/dist/cjs/src/Text/Text.cjs +1 -1
  16. package/dist/cjs/src/Text/Text.module.css.cjs +16 -0
  17. package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.cjs +1 -1
  18. package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css.cjs +13 -0
  19. package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.cjs +1 -1
  20. package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.css.cjs +9 -0
  21. package/dist/cjs/src/Tooltip/OverlayArrow.cjs +1 -1
  22. package/dist/cjs/src/Tooltip/OverlayArrow.module.css.cjs +7 -0
  23. package/dist/cjs/src/Tooltip/Tooltip.cjs +1 -1
  24. package/dist/cjs/src/Tooltip/Tooltip.module.css.cjs +7 -0
  25. package/dist/esm/src/Heading/Heading.mjs +1 -1
  26. package/dist/esm/src/Heading/Heading.module.css.mjs +20 -0
  27. package/dist/esm/src/Label/Label.mjs +1 -1
  28. package/dist/esm/src/Label/Label.module.css.mjs +14 -0
  29. package/dist/esm/src/LabelledMessage/LabelledMessage.mjs +1 -1
  30. package/dist/esm/src/LabelledMessage/LabelledMessage.module.css.mjs +5 -0
  31. package/dist/esm/src/Notification/InlineNotification/InlineNotification.mjs +1 -1
  32. package/dist/esm/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.mjs +1 -1
  33. package/dist/esm/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss.mjs → ToastNotificationsList.module.css.mjs} +1 -1
  34. package/dist/esm/src/Notification/subcomponents/CancelButton/CancelButton.mjs +1 -1
  35. package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.mjs +1 -1
  36. package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css.mjs +27 -0
  37. package/dist/esm/src/Notification/subcomponents/NotificationHeading/NotificationHeading.mjs +1 -1
  38. package/dist/esm/src/Select/Select.mjs +9 -7
  39. package/dist/esm/src/Text/Text.mjs +1 -1
  40. package/dist/esm/src/Text/Text.module.css.mjs +14 -0
  41. package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.mjs +1 -1
  42. package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css.mjs +11 -0
  43. package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.mjs +1 -1
  44. package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.css.mjs +7 -0
  45. package/dist/esm/src/Tooltip/OverlayArrow.mjs +1 -1
  46. package/dist/esm/src/Tooltip/OverlayArrow.module.css.mjs +5 -0
  47. package/dist/esm/src/Tooltip/Tooltip.mjs +1 -1
  48. package/dist/esm/src/Tooltip/Tooltip.module.css.mjs +5 -0
  49. package/dist/styles.css +725 -519
  50. package/locales/ar.json +4 -0
  51. package/locales/bg.json +4 -0
  52. package/locales/cs.json +4 -0
  53. package/locales/cy.json +4 -0
  54. package/locales/da.json +4 -0
  55. package/locales/de.json +4 -0
  56. package/locales/el.json +4 -0
  57. package/locales/en-GB.json +4 -0
  58. package/locales/en.json +4 -0
  59. package/locales/es-419.json +4 -0
  60. package/locales/es.json +4 -0
  61. package/locales/et.json +4 -0
  62. package/locales/fi.json +4 -0
  63. package/locales/fr-CA.json +4 -0
  64. package/locales/fr.json +4 -0
  65. package/locales/he.json +4 -0
  66. package/locales/hi.json +4 -0
  67. package/locales/ht.json +4 -0
  68. package/locales/hu.json +4 -0
  69. package/locales/id.json +4 -0
  70. package/locales/it.json +4 -0
  71. package/locales/ja.json +4 -0
  72. package/locales/km-KH.json +4 -0
  73. package/locales/ko.json +4 -0
  74. package/locales/lt.json +4 -0
  75. package/locales/lv.json +4 -0
  76. package/locales/mi.json +4 -0
  77. package/locales/ms.json +4 -0
  78. package/locales/nb.json +4 -0
  79. package/locales/nl.json +4 -0
  80. package/locales/pl.json +4 -0
  81. package/locales/pt-BR.json +4 -0
  82. package/locales/pt.json +4 -0
  83. package/locales/ro.json +4 -0
  84. package/locales/ru.json +4 -0
  85. package/locales/si-LK.json +4 -0
  86. package/locales/sk.json +4 -0
  87. package/locales/sr.json +4 -0
  88. package/locales/sv.json +4 -0
  89. package/locales/th.json +4 -0
  90. package/locales/tl.json +4 -0
  91. package/locales/tr.json +4 -0
  92. package/locales/uk.json +4 -0
  93. package/locales/vi.json +4 -0
  94. package/locales/zh-TW.json +4 -0
  95. package/locales/zh.json +4 -0
  96. package/package.json +1 -1
  97. package/src/Heading/Heading.module.css +111 -0
  98. package/src/Heading/Heading.tsx +1 -1
  99. package/src/Label/Label.module.css +97 -0
  100. package/src/Label/Label.tsx +1 -1
  101. package/src/Label/_docs/Label.stickersheet.stories.tsx +9 -4
  102. package/src/LabelledMessage/{LabelledMessage.module.scss → LabelledMessage.module.css} +1 -3
  103. package/src/LabelledMessage/LabelledMessage.tsx +1 -1
  104. package/src/Notification/InlineNotification/InlineNotification.tsx +1 -1
  105. package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx +1 -1
  106. package/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss → ToastNotificationsList.module.css} +6 -8
  107. package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.tsx +1 -1
  108. package/src/Notification/subcomponents/CancelButton/CancelButton.tsx +1 -1
  109. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css +392 -0
  110. package/src/Notification/subcomponents/GenericNotification/GenericNotification.tsx +1 -1
  111. package/src/Notification/subcomponents/NotificationHeading/NotificationHeading.tsx +1 -1
  112. package/src/Select/Select.tsx +8 -6
  113. package/src/Text/Text.module.css +71 -0
  114. package/src/Text/Text.tsx +1 -1
  115. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css +141 -0
  116. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.tsx +1 -1
  117. package/src/ToggleSwitch/ToggleSwitchField/{ToggleSwitchField.module.scss → ToggleSwitchField.module.css} +1 -3
  118. package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.tsx +1 -1
  119. package/src/Tooltip/OverlayArrow.module.css +45 -0
  120. package/src/Tooltip/OverlayArrow.tsx +1 -1
  121. package/src/Tooltip/Tooltip.module.css +62 -0
  122. package/src/Tooltip/Tooltip.tsx +1 -1
  123. package/dist/cjs/src/Heading/Heading.module.scss.cjs +0 -22
  124. package/dist/cjs/src/Label/Label.module.scss.cjs +0 -15
  125. package/dist/cjs/src/LabelledMessage/LabelledMessage.module.scss.cjs +0 -7
  126. package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.cjs +0 -29
  127. package/dist/cjs/src/Text/Text.module.scss.cjs +0 -16
  128. package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss.cjs +0 -13
  129. package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss.cjs +0 -9
  130. package/dist/cjs/src/Tooltip/OverlayArrow.module.scss.cjs +0 -7
  131. package/dist/cjs/src/Tooltip/Tooltip.module.scss.cjs +0 -7
  132. package/dist/esm/src/Heading/Heading.module.scss.mjs +0 -20
  133. package/dist/esm/src/Label/Label.module.scss.mjs +0 -13
  134. package/dist/esm/src/LabelledMessage/LabelledMessage.module.scss.mjs +0 -5
  135. package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.mjs +0 -27
  136. package/dist/esm/src/Text/Text.module.scss.mjs +0 -14
  137. package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss.mjs +0 -11
  138. package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss.mjs +0 -7
  139. package/dist/esm/src/Tooltip/OverlayArrow.module.scss.mjs +0 -5
  140. package/dist/esm/src/Tooltip/Tooltip.module.scss.mjs +0 -5
  141. package/src/Heading/Heading.module.scss +0 -115
  142. package/src/Label/Label.module.scss +0 -105
  143. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +0 -138
  144. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +0 -366
  145. package/src/Text/Text.module.scss +0 -74
  146. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +0 -139
  147. package/src/Tooltip/OverlayArrow.module.scss +0 -45
  148. package/src/Tooltip/Tooltip.module.scss +0 -68
@@ -3,7 +3,7 @@
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
- var Heading_module = require('./Heading.module.scss.cjs');
6
+ var Heading_module = require('./Heading.module.css.cjs');
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "heading": "Heading-module_heading__6D0PM",
5
+ "display-0": "Heading-module_display-0__Dmiig",
6
+ "composable-header-title": "Heading-module_composable-header-title__CPBzk",
7
+ "heading-1": "Heading-module_heading-1__-GXEH",
8
+ "heading-2": "Heading-module_heading-2__LiRAV",
9
+ "heading-3": "Heading-module_heading-3__nVAgQ",
10
+ "heading-4": "Heading-module_heading-4__ESVT7",
11
+ "heading-5": "Heading-module_heading-5__zzZxI",
12
+ "heading-6": "Heading-module_heading-6__-JvYA",
13
+ "dark": "Heading-module_dark__vO-Uw",
14
+ "dark-reduced-opacity": "Heading-module_dark-reduced-opacity__24gWp",
15
+ "white": "Heading-module_white__AJgq4",
16
+ "white-reduced-opacity": "Heading-module_white-reduced-opacity__VvQaa",
17
+ "positive": "Heading-module_positive__GVkBf",
18
+ "small": "Heading-module_small__bALDR",
19
+ "large": "Heading-module_large__FLTyA",
20
+ "negative": "Heading-module_negative__exyNh"
21
+ };
22
+ module.exports = styles;
@@ -3,7 +3,7 @@
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
- var Label_module = require('./Label.module.scss.cjs');
6
+ var Label_module = require('./Label.module.css.cjs');
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "label": "Label-module_label__jvxMB",
5
+ "reversed": "Label-module_reversed__Qu7Kc",
6
+ "disabled": "Label-module_disabled__3Mej6",
7
+ "text": "Label-module_text__zkbHj",
8
+ "checkboxOrRadio": "Label-module_checkboxOrRadio__lzm9I",
9
+ "checkbox": "Label-module_checkbox__vtFpn",
10
+ "radio": "Label-module_radio__xenTn",
11
+ "toggle": "Label-module_toggle__prty7",
12
+ "prependedLabel": "Label-module_prependedLabel__XhXdP",
13
+ "appendedLabel": "Label-module_appendedLabel__vp5Uc",
14
+ "prominent": "Label-module_prominent__dW3K7"
15
+ };
16
+ module.exports = styles;
@@ -3,7 +3,7 @@
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
- var LabelledMessage_module = require('./LabelledMessage.module.scss.cjs');
6
+ var LabelledMessage_module = require('./LabelledMessage.module.css.cjs');
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "labelledMessage": "LabelledMessage-module_labelledMessage__kz-UQ",
5
+ "labelSeparator": "LabelledMessage-module_labelSeparator__A-4BK"
6
+ };
7
+ module.exports = styles;
@@ -4,7 +4,7 @@ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
6
  var GenericNotification = require('../subcomponents/GenericNotification/GenericNotification.cjs');
7
- var GenericNotification_module = require('../subcomponents/GenericNotification/GenericNotification.module.scss.cjs');
7
+ var GenericNotification_module = require('../subcomponents/GenericNotification/GenericNotification.module.css.cjs');
8
8
  function _interopDefault(e) {
9
9
  return e && e.__esModule ? e : {
10
10
  default: e
@@ -3,7 +3,7 @@
3
3
  var React = require('react');
4
4
  var ToastNotificationContext = require('../context/ToastNotificationContext.cjs');
5
5
  var ToastNotificationsMap = require('./subcomponents/ToastNotificationsMap/ToastNotificationsMap.cjs');
6
- var ToastNotificationsList_module = require('./ToastNotificationsList.module.scss.cjs');
6
+ var ToastNotificationsList_module = require('./ToastNotificationsList.module.css.cjs');
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var styles = {
4
- "toastNotificationsList": "ToastNotificationsList-module_toastNotificationsList__APiSP"
4
+ "toastNotificationsList": "ToastNotificationsList-module_toastNotificationsList__AUm-A"
5
5
  };
6
6
  module.exports = styles;
@@ -2,7 +2,7 @@
2
2
 
3
3
  var React = require('react');
4
4
  var Icon = require('../../../Icon/Icon.cjs');
5
- var GenericNotification_module = require('../GenericNotification/GenericNotification.module.scss.cjs');
5
+ var GenericNotification_module = require('../GenericNotification/GenericNotification.module.css.cjs');
6
6
  function _interopDefault(e) {
7
7
  return e && e.__esModule ? e : {
8
8
  default: e
@@ -7,7 +7,7 @@ var isRefObject = require('../../../utils/isRefObject.cjs');
7
7
  var CancelButton = require('../CancelButton/CancelButton.cjs');
8
8
  var NotificationHeading = require('../NotificationHeading/NotificationHeading.cjs');
9
9
  var NotificationIcon = require('../NotificationIcon/NotificationIcon.cjs');
10
- var GenericNotification_module = require('./GenericNotification.module.scss.cjs');
10
+ var GenericNotification_module = require('./GenericNotification.module.css.cjs');
11
11
  function _interopDefault(e) {
12
12
  return e && e.__esModule ? e : {
13
13
  default: e
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "notification": "GenericNotification-module_notification__-lOMz",
5
+ "inline": "GenericNotification-module_inline__lnYb9",
6
+ "toast": "GenericNotification-module_toast__dPvtC",
7
+ "global": "GenericNotification-module_global__i1IKL",
8
+ "success": "GenericNotification-module_success__HMC7W",
9
+ "informative": "GenericNotification-module_informative__S4sGn",
10
+ "cautionary": "GenericNotification-module_cautionary__VMbSA",
11
+ "security": "GenericNotification-module_security__pdJT9",
12
+ "warning": "GenericNotification-module_warning__42AEX",
13
+ "hidden": "GenericNotification-module_hidden__QOpq1",
14
+ "icon": "GenericNotification-module_icon__rMIaU",
15
+ "textContainer": "GenericNotification-module_textContainer__yHSKi",
16
+ "forceMultiline": "GenericNotification-module_forceMultiline__SlLf9",
17
+ "title": "GenericNotification-module_title__3cvl6",
18
+ "notificationTitle": "GenericNotification-module_notificationTitle__-yijp",
19
+ "text": "GenericNotification-module_text__B5r5l",
20
+ "cancel": "GenericNotification-module_cancel__4O-Ys",
21
+ "disabled": "GenericNotification-module_disabled__V2Wyr",
22
+ "hover": "GenericNotification-module_hover__erovs",
23
+ "active": "GenericNotification-module_active__2ksOr",
24
+ "cancelLabel": "GenericNotification-module_cancelLabel__uLIuz",
25
+ "noBottomMargin": "GenericNotification-module_noBottomMargin__okqYr",
26
+ "persistent": "GenericNotification-module_persistent__y-Jp7",
27
+ "subtle": "GenericNotification-module_subtle__TCixZ"
28
+ };
29
+ module.exports = styles;
@@ -2,7 +2,7 @@
2
2
 
3
3
  var React = require('react');
4
4
  var Heading = require('../../../Heading/Heading.cjs');
5
- var GenericNotification_module = require('../GenericNotification/GenericNotification.module.scss.cjs');
5
+ var GenericNotification_module = require('../GenericNotification/GenericNotification.module.css.cjs');
6
6
  function _interopDefault(e) {
7
7
  return e && e.__esModule ? e : {
8
8
  default: e
@@ -3,8 +3,10 @@
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
+ var reactAria = require('react-aria');
6
7
  var ReactSelect = require('react-select');
7
8
  var Async = require('react-select/async');
9
+ var ClearButton = require('../ClearButton/ClearButton.cjs');
8
10
  var FieldMessage = require('../FieldMessage/FieldMessage.cjs');
9
11
  var Icon = require('../Icon/Icon.cjs');
10
12
  var Label = require('../Label/Label.cjs');
@@ -94,7 +96,7 @@ var AsyncSelect = React__default.default.forwardRef(function (_a, ref) {
94
96
  MultiValue: MultiValue,
95
97
  IndicatorsContainer: IndicatorsContainer,
96
98
  ValueContainer: ValueContainer,
97
- ClearIndicator: undefined,
99
+ ClearIndicator: ClearIndicator,
98
100
  IndicatorSeparator: null,
99
101
  LoadingMessage: LoadingMessage
100
102
  },
@@ -184,12 +186,12 @@ var ValueContainer = function (props) {
184
186
  }));
185
187
  };
186
188
  var ClearIndicator = function (props) {
187
- return React__default.default.createElement(ReactSelect.components.ClearIndicator, tslib.__assign({}, props, {
188
- className: Select_module.clearIndicator
189
- }), React__default.default.createElement(Icon.Icon, {
190
- name: "cancel",
191
- isPresentational: true,
192
- isFilled: true
189
+ var buttonRef = React__default.default.useRef(null);
190
+ var buttonProps = reactAria.useButton(tslib.__assign(tslib.__assign({}, props), {
191
+ onClick: props.clearValue
192
+ }), buttonRef).buttonProps;
193
+ return React__default.default.createElement(ClearButton.ClearButton, tslib.__assign({}, buttonProps, {
194
+ classNameOverride: Select_module.clearIndicator
193
195
  }));
194
196
  };
195
197
  exports.AsyncSelect = AsyncSelect;
@@ -3,7 +3,7 @@
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
- var Text_module = require('./Text.module.scss.cjs');
6
+ var Text_module = require('./Text.module.css.cjs');
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "text": "Text-module_text__3xRq3",
5
+ "intro-lede": "Text-module_intro-lede__Pf95y",
6
+ "body": "Text-module_body__o-QuI",
7
+ "small": "Text-module_small__d6k-f",
8
+ "extra-small": "Text-module_extra-small__jP3Xx",
9
+ "dark": "Text-module_dark__ApVTx",
10
+ "dark-reduced-opacity": "Text-module_dark-reduced-opacity__-ef8o",
11
+ "white": "Text-module_white__Vj0Na",
12
+ "white-reduced-opacity": "Text-module_white-reduced-opacity__kYl0h",
13
+ "positive": "Text-module_positive__ngZQ5",
14
+ "negative": "Text-module_negative__729Es"
15
+ };
16
+ module.exports = styles;
@@ -4,7 +4,7 @@ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
6
  var Icon = require('../../Icon/Icon.cjs');
7
- var ToggleSwitch_module = require('./ToggleSwitch.module.scss.cjs');
7
+ var ToggleSwitch_module = require('./ToggleSwitch.module.css.cjs');
8
8
  function _interopDefault(e) {
9
9
  return e && e.__esModule ? e : {
10
10
  default: e
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "checkbox": "ToggleSwitch-module_checkbox__NmNyg",
5
+ "track": "ToggleSwitch-module_track__Zvo6N",
6
+ "disabled": "ToggleSwitch-module_disabled__qntEm",
7
+ "thumb": "ToggleSwitch-module_thumb__YIdcS",
8
+ "checkIcon": "ToggleSwitch-module_checkIcon__J4eSM",
9
+ "on": "ToggleSwitch-module_on__-OJbU",
10
+ "off": "ToggleSwitch-module_off__e-dto",
11
+ "reversed": "ToggleSwitch-module_reversed__5Jz8i"
12
+ };
13
+ module.exports = styles;
@@ -6,7 +6,7 @@ var classnames = require('classnames');
6
6
  var FieldGroup = require('../../FieldGroup/FieldGroup.cjs');
7
7
  var Label = require('../../Label/Label.cjs');
8
8
  var ToggleSwitch = require('../ToggleSwitch/ToggleSwitch.cjs');
9
- var ToggleSwitchField_module = require('./ToggleSwitchField.module.scss.cjs');
9
+ var ToggleSwitchField_module = require('./ToggleSwitchField.module.css.cjs');
10
10
  function _interopDefault(e) {
11
11
  return e && e.__esModule ? e : {
12
12
  default: e
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "container": "ToggleSwitchField-module_container__6c4oG",
5
+ "fullWidth": "ToggleSwitchField-module_fullWidth__iGJSg",
6
+ "inner": "ToggleSwitchField-module_inner__k1hyg",
7
+ "on": "ToggleSwitchField-module_on__8RJfp"
8
+ };
9
+ module.exports = styles;
@@ -6,7 +6,7 @@ var reactAriaComponents = require('react-aria-components');
6
6
  require('use-debounce');
7
7
  var ReversedColors = require('../utils/ReversedColors/ReversedColors.cjs');
8
8
  var mergeClassNames = require('../utils/mergeClassNames.cjs');
9
- var OverlayArrow_module = require('./OverlayArrow.module.scss.cjs');
9
+ var OverlayArrow_module = require('./OverlayArrow.module.css.cjs');
10
10
  function _interopDefault(e) {
11
11
  return e && e.__esModule ? e : {
12
12
  default: e
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "overlayArrow": "OverlayArrow-module_overlayArrow__65sMU",
5
+ "reversed": "OverlayArrow-module_reversed__ChGpb"
6
+ };
7
+ module.exports = styles;
@@ -8,7 +8,7 @@ require('use-debounce');
8
8
  var ReversedColors = require('../utils/ReversedColors/ReversedColors.cjs');
9
9
  var mergeClassNames = require('../utils/mergeClassNames.cjs');
10
10
  var OverlayArrow = require('./OverlayArrow.cjs');
11
- var Tooltip_module = require('./Tooltip.module.scss.cjs');
11
+ var Tooltip_module = require('./Tooltip.module.css.cjs');
12
12
  function _interopDefault(e) {
13
13
  return e && e.__esModule ? e : {
14
14
  default: e
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "tooltip": "Tooltip-module_tooltip__Q1YfF",
5
+ "reversed": "Tooltip-module_reversed__IIGeJ"
6
+ };
7
+ module.exports = styles;
@@ -1,7 +1,7 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import { createElement } from 'react';
3
3
  import classnames from 'classnames';
4
- import styles from './Heading.module.scss.mjs';
4
+ import styles from './Heading.module.css.mjs';
5
5
  var VARIANTS_24PX_OR_GREATER = ['display-0', 'heading-1', 'heading-2'];
6
6
  /**
7
7
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3074885298/Typography#Headings Guidance}
@@ -0,0 +1,20 @@
1
+ var styles = {
2
+ "heading": "Heading-module_heading__6D0PM",
3
+ "display-0": "Heading-module_display-0__Dmiig",
4
+ "composable-header-title": "Heading-module_composable-header-title__CPBzk",
5
+ "heading-1": "Heading-module_heading-1__-GXEH",
6
+ "heading-2": "Heading-module_heading-2__LiRAV",
7
+ "heading-3": "Heading-module_heading-3__nVAgQ",
8
+ "heading-4": "Heading-module_heading-4__ESVT7",
9
+ "heading-5": "Heading-module_heading-5__zzZxI",
10
+ "heading-6": "Heading-module_heading-6__-JvYA",
11
+ "dark": "Heading-module_dark__vO-Uw",
12
+ "dark-reduced-opacity": "Heading-module_dark-reduced-opacity__24gWp",
13
+ "white": "Heading-module_white__AJgq4",
14
+ "white-reduced-opacity": "Heading-module_white-reduced-opacity__VvQaa",
15
+ "positive": "Heading-module_positive__GVkBf",
16
+ "small": "Heading-module_small__bALDR",
17
+ "large": "Heading-module_large__FLTyA",
18
+ "negative": "Heading-module_negative__exyNh"
19
+ };
20
+ export { styles as default };
@@ -1,7 +1,7 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import classnames from 'classnames';
4
- import styles from './Label.module.scss.mjs';
4
+ import styles from './Label.module.css.mjs';
5
5
  const Label = /*#__PURE__*/function () {
6
6
  const Label = function (_a) {
7
7
  var children = _a.children,
@@ -0,0 +1,14 @@
1
+ var styles = {
2
+ "label": "Label-module_label__jvxMB",
3
+ "reversed": "Label-module_reversed__Qu7Kc",
4
+ "disabled": "Label-module_disabled__3Mej6",
5
+ "text": "Label-module_text__zkbHj",
6
+ "checkboxOrRadio": "Label-module_checkboxOrRadio__lzm9I",
7
+ "checkbox": "Label-module_checkbox__vtFpn",
8
+ "radio": "Label-module_radio__xenTn",
9
+ "toggle": "Label-module_toggle__prty7",
10
+ "prependedLabel": "Label-module_prependedLabel__XhXdP",
11
+ "appendedLabel": "Label-module_appendedLabel__vp5Uc",
12
+ "prominent": "Label-module_prominent__dW3K7"
13
+ };
14
+ export { styles as default };
@@ -1,7 +1,7 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import classnames from 'classnames';
4
- import styles from './LabelledMessage.module.scss.mjs';
4
+ import styles from './LabelledMessage.module.css.mjs';
5
5
  const LabelledMessage = /*#__PURE__*/function () {
6
6
  const LabelledMessage = function (_a) {
7
7
  var label = _a.label,
@@ -0,0 +1,5 @@
1
+ var styles = {
2
+ "labelledMessage": "LabelledMessage-module_labelledMessage__kz-UQ",
3
+ "labelSeparator": "LabelledMessage-module_labelSeparator__A-4BK"
4
+ };
5
+ export { styles as default };
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
2
2
  import React, { forwardRef } from 'react';
3
3
  import classnames from 'classnames';
4
4
  import { GenericNotification } from '../subcomponents/GenericNotification/GenericNotification.mjs';
5
- import styles from '../subcomponents/GenericNotification/GenericNotification.module.scss.mjs';
5
+ import styles from '../subcomponents/GenericNotification/GenericNotification.module.css.mjs';
6
6
 
7
7
  /**
8
8
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082093392/Inline+Notification Guidance} |
@@ -1,7 +1,7 @@
1
1
  import React, { useState, useEffect } from 'react';
2
2
  import { useToastNotificationContext } from '../context/ToastNotificationContext.mjs';
3
3
  import { ToastNotificationsMap } from './subcomponents/ToastNotificationsMap/ToastNotificationsMap.mjs';
4
- import styles from './ToastNotificationsList.module.scss.mjs';
4
+ import styles from './ToastNotificationsList.module.css.mjs';
5
5
  var toastNotificationListId = 'toast-notifications-list';
6
6
  const ToastNotificationsList = /*#__PURE__*/function () {
7
7
  const ToastNotificationsList = function () {
@@ -1,4 +1,4 @@
1
1
  var styles = {
2
- "toastNotificationsList": "ToastNotificationsList-module_toastNotificationsList__APiSP"
2
+ "toastNotificationsList": "ToastNotificationsList-module_toastNotificationsList__AUm-A"
3
3
  };
4
4
  export { styles as default };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Icon } from '../../../Icon/Icon.mjs';
3
- import styles from '../GenericNotification/GenericNotification.module.scss.mjs';
3
+ import styles from '../GenericNotification/GenericNotification.module.css.mjs';
4
4
  const CancelButton = /*#__PURE__*/function () {
5
5
  const CancelButton = function (_a) {
6
6
  var onClick = _a.onClick;
@@ -5,7 +5,7 @@ import { isRefObject } from '../../../utils/isRefObject.mjs';
5
5
  import { CancelButton } from '../CancelButton/CancelButton.mjs';
6
6
  import { NotificationHeading } from '../NotificationHeading/NotificationHeading.mjs';
7
7
  import { NotificationIconVariant } from '../NotificationIcon/NotificationIcon.mjs';
8
- import styles from './GenericNotification.module.scss.mjs';
8
+ import styles from './GenericNotification.module.css.mjs';
9
9
  const GenericNotification = /*#__PURE__*/function () {
10
10
  const GenericNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
11
11
  var variant = _a.variant,
@@ -0,0 +1,27 @@
1
+ var styles = {
2
+ "notification": "GenericNotification-module_notification__-lOMz",
3
+ "inline": "GenericNotification-module_inline__lnYb9",
4
+ "toast": "GenericNotification-module_toast__dPvtC",
5
+ "global": "GenericNotification-module_global__i1IKL",
6
+ "success": "GenericNotification-module_success__HMC7W",
7
+ "informative": "GenericNotification-module_informative__S4sGn",
8
+ "cautionary": "GenericNotification-module_cautionary__VMbSA",
9
+ "security": "GenericNotification-module_security__pdJT9",
10
+ "warning": "GenericNotification-module_warning__42AEX",
11
+ "hidden": "GenericNotification-module_hidden__QOpq1",
12
+ "icon": "GenericNotification-module_icon__rMIaU",
13
+ "textContainer": "GenericNotification-module_textContainer__yHSKi",
14
+ "forceMultiline": "GenericNotification-module_forceMultiline__SlLf9",
15
+ "title": "GenericNotification-module_title__3cvl6",
16
+ "notificationTitle": "GenericNotification-module_notificationTitle__-yijp",
17
+ "text": "GenericNotification-module_text__B5r5l",
18
+ "cancel": "GenericNotification-module_cancel__4O-Ys",
19
+ "disabled": "GenericNotification-module_disabled__V2Wyr",
20
+ "hover": "GenericNotification-module_hover__erovs",
21
+ "active": "GenericNotification-module_active__2ksOr",
22
+ "cancelLabel": "GenericNotification-module_cancelLabel__uLIuz",
23
+ "noBottomMargin": "GenericNotification-module_noBottomMargin__okqYr",
24
+ "persistent": "GenericNotification-module_persistent__y-Jp7",
25
+ "subtle": "GenericNotification-module_subtle__TCixZ"
26
+ };
27
+ export { styles as default };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Heading } from '../../../Heading/Heading.mjs';
3
- import styles from '../GenericNotification/GenericNotification.module.scss.mjs';
3
+ import styles from '../GenericNotification/GenericNotification.module.css.mjs';
4
4
  const NotificationHeading = /*#__PURE__*/function () {
5
5
  const NotificationHeading = function (_a) {
6
6
  var _b, _c, _d;
@@ -1,8 +1,10 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React, { useId, useState } from 'react';
3
3
  import classnames from 'classnames';
4
+ import { useButton } from 'react-aria';
4
5
  import ReactSelect, { components } from 'react-select';
5
6
  import Async from 'react-select/async';
7
+ import { ClearButton } from '../ClearButton/ClearButton.mjs';
6
8
  import { FieldMessage } from '../FieldMessage/FieldMessage.mjs';
7
9
  import { Icon } from '../Icon/Icon.mjs';
8
10
  import { Label } from '../Label/Label.mjs';
@@ -87,7 +89,7 @@ const AsyncSelect = /*#__PURE__*/function () {
87
89
  MultiValue: MultiValue,
88
90
  IndicatorsContainer: IndicatorsContainer,
89
91
  ValueContainer: ValueContainer,
90
- ClearIndicator: undefined,
92
+ ClearIndicator: ClearIndicator,
91
93
  IndicatorSeparator: null,
92
94
  LoadingMessage: LoadingMessage
93
95
  },
@@ -179,12 +181,12 @@ var ValueContainer = function (props) {
179
181
  }));
180
182
  };
181
183
  var ClearIndicator = function (props) {
182
- return /*#__PURE__*/React.createElement(components.ClearIndicator, __assign({}, props, {
183
- className: styles.clearIndicator
184
- }), /*#__PURE__*/React.createElement(Icon, {
185
- name: "cancel",
186
- isPresentational: true,
187
- isFilled: true
184
+ var buttonRef = React.useRef(null);
185
+ var buttonProps = useButton(__assign(__assign({}, props), {
186
+ onClick: props.clearValue
187
+ }), buttonRef).buttonProps;
188
+ return /*#__PURE__*/React.createElement(ClearButton, __assign({}, buttonProps, {
189
+ classNameOverride: styles.clearIndicator
188
190
  }));
189
191
  };
190
192
  export { AsyncSelect, Select };
@@ -1,7 +1,7 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import { createElement } from 'react';
3
3
  import classnames from 'classnames';
4
- import styles from './Text.module.scss.mjs';
4
+ import styles from './Text.module.css.mjs';
5
5
 
6
6
  /**
7
7
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3074885298/Typography#Paragraph Guidance}
@@ -0,0 +1,14 @@
1
+ var styles = {
2
+ "text": "Text-module_text__3xRq3",
3
+ "intro-lede": "Text-module_intro-lede__Pf95y",
4
+ "body": "Text-module_body__o-QuI",
5
+ "small": "Text-module_small__d6k-f",
6
+ "extra-small": "Text-module_extra-small__jP3Xx",
7
+ "dark": "Text-module_dark__ApVTx",
8
+ "dark-reduced-opacity": "Text-module_dark-reduced-opacity__-ef8o",
9
+ "white": "Text-module_white__Vj0Na",
10
+ "white-reduced-opacity": "Text-module_white-reduced-opacity__kYl0h",
11
+ "positive": "Text-module_positive__ngZQ5",
12
+ "negative": "Text-module_negative__729Es"
13
+ };
14
+ export { styles as default };
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import classnames from 'classnames';
4
4
  import { Icon } from '../../Icon/Icon.mjs';
5
- import styles from './ToggleSwitch.module.scss.mjs';
5
+ import styles from './ToggleSwitch.module.css.mjs';
6
6
  const ToggleSwitch = /*#__PURE__*/function () {
7
7
  const ToggleSwitch = function (_a) {
8
8
  var toggledStatus = _a.toggledStatus,
@@ -0,0 +1,11 @@
1
+ var styles = {
2
+ "checkbox": "ToggleSwitch-module_checkbox__NmNyg",
3
+ "track": "ToggleSwitch-module_track__Zvo6N",
4
+ "disabled": "ToggleSwitch-module_disabled__qntEm",
5
+ "thumb": "ToggleSwitch-module_thumb__YIdcS",
6
+ "checkIcon": "ToggleSwitch-module_checkIcon__J4eSM",
7
+ "on": "ToggleSwitch-module_on__-OJbU",
8
+ "off": "ToggleSwitch-module_off__e-dto",
9
+ "reversed": "ToggleSwitch-module_reversed__5Jz8i"
10
+ };
11
+ export { styles as default };
@@ -4,7 +4,7 @@ import classnames from 'classnames';
4
4
  import { FieldGroup } from '../../FieldGroup/FieldGroup.mjs';
5
5
  import { Label } from '../../Label/Label.mjs';
6
6
  import { ToggleSwitch } from '../ToggleSwitch/ToggleSwitch.mjs';
7
- import styles from './ToggleSwitchField.module.scss.mjs';
7
+ import styles from './ToggleSwitchField.module.css.mjs';
8
8
 
9
9
  /**
10
10
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3075638160/Toggle+Switch Guidance} |
@@ -0,0 +1,7 @@
1
+ var styles = {
2
+ "container": "ToggleSwitchField-module_container__6c4oG",
3
+ "fullWidth": "ToggleSwitchField-module_fullWidth__iGJSg",
4
+ "inner": "ToggleSwitchField-module_inner__k1hyg",
5
+ "on": "ToggleSwitchField-module_on__8RJfp"
6
+ };
7
+ export { styles as default };
@@ -4,7 +4,7 @@ import { OverlayArrow as OverlayArrow$1 } from 'react-aria-components';
4
4
  import 'use-debounce';
5
5
  import { useReversedColors } from '../utils/ReversedColors/ReversedColors.mjs';
6
6
  import { mergeClassNames } from '../utils/mergeClassNames.mjs';
7
- import styles from './OverlayArrow.module.scss.mjs';
7
+ import styles from './OverlayArrow.module.css.mjs';
8
8
 
9
9
  /**
10
10
  * An OverlayArrow renders a custom arrow element relative to an overlay element
@@ -0,0 +1,5 @@
1
+ var styles = {
2
+ "overlayArrow": "OverlayArrow-module_overlayArrow__65sMU",
3
+ "reversed": "OverlayArrow-module_reversed__ChGpb"
4
+ };
5
+ export { styles as default };
@@ -7,7 +7,7 @@ import 'use-debounce';
7
7
  import { useReversedColors } from '../utils/ReversedColors/ReversedColors.mjs';
8
8
  import { mergeClassNames } from '../utils/mergeClassNames.mjs';
9
9
  import { OverlayArrow } from './OverlayArrow.mjs';
10
- import styles from './Tooltip.module.scss.mjs';
10
+ import styles from './Tooltip.module.css.mjs';
11
11
 
12
12
  /**
13
13
  * A tooltip displays a description of an element on hover or focus.