@kaizen/components 2.4.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/Heading/Heading.cjs +1 -1
- package/dist/cjs/src/Heading/Heading.module.css.cjs +22 -0
- package/dist/cjs/src/Label/Label.cjs +1 -1
- package/dist/cjs/src/Label/Label.module.css.cjs +16 -0
- package/dist/cjs/src/LabelledMessage/LabelledMessage.cjs +1 -1
- package/dist/cjs/src/LabelledMessage/LabelledMessage.module.css.cjs +7 -0
- package/dist/cjs/src/Notification/InlineNotification/InlineNotification.cjs +1 -1
- package/dist/cjs/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.cjs +1 -1
- package/dist/cjs/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss.cjs → ToastNotificationsList.module.css.cjs} +1 -1
- package/dist/cjs/src/Notification/subcomponents/CancelButton/CancelButton.cjs +1 -1
- package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.cjs +1 -1
- package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css.cjs +29 -0
- package/dist/cjs/src/Notification/subcomponents/NotificationHeading/NotificationHeading.cjs +1 -1
- package/dist/cjs/src/Select/Select.cjs +9 -7
- package/dist/cjs/src/Text/Text.cjs +1 -1
- package/dist/cjs/src/Text/Text.module.css.cjs +16 -0
- package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.cjs +1 -1
- package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css.cjs +13 -0
- package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.cjs +1 -1
- package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.css.cjs +9 -0
- package/dist/cjs/src/Tooltip/OverlayArrow.cjs +1 -1
- package/dist/cjs/src/Tooltip/OverlayArrow.module.css.cjs +7 -0
- package/dist/cjs/src/Tooltip/Tooltip.cjs +1 -1
- package/dist/cjs/src/Tooltip/Tooltip.module.css.cjs +7 -0
- package/dist/esm/src/Heading/Heading.mjs +1 -1
- package/dist/esm/src/Heading/Heading.module.css.mjs +20 -0
- package/dist/esm/src/Label/Label.mjs +1 -1
- package/dist/esm/src/Label/Label.module.css.mjs +14 -0
- package/dist/esm/src/LabelledMessage/LabelledMessage.mjs +1 -1
- package/dist/esm/src/LabelledMessage/LabelledMessage.module.css.mjs +5 -0
- package/dist/esm/src/Notification/InlineNotification/InlineNotification.mjs +1 -1
- package/dist/esm/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.mjs +1 -1
- package/dist/esm/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss.mjs → ToastNotificationsList.module.css.mjs} +1 -1
- package/dist/esm/src/Notification/subcomponents/CancelButton/CancelButton.mjs +1 -1
- package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.mjs +1 -1
- package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css.mjs +27 -0
- package/dist/esm/src/Notification/subcomponents/NotificationHeading/NotificationHeading.mjs +1 -1
- package/dist/esm/src/Select/Select.mjs +9 -7
- package/dist/esm/src/Text/Text.mjs +1 -1
- package/dist/esm/src/Text/Text.module.css.mjs +14 -0
- package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.mjs +1 -1
- package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css.mjs +11 -0
- package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.mjs +1 -1
- package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.css.mjs +7 -0
- package/dist/esm/src/Tooltip/OverlayArrow.mjs +1 -1
- package/dist/esm/src/Tooltip/OverlayArrow.module.css.mjs +5 -0
- package/dist/esm/src/Tooltip/Tooltip.mjs +1 -1
- package/dist/esm/src/Tooltip/Tooltip.module.css.mjs +5 -0
- package/dist/styles.css +726 -520
- package/locales/ar.json +4 -0
- package/locales/bg.json +4 -0
- package/locales/cs.json +4 -0
- package/locales/cy.json +4 -0
- package/locales/da.json +4 -0
- package/locales/de.json +4 -0
- package/locales/el.json +4 -0
- package/locales/en-GB.json +4 -0
- package/locales/en.json +4 -0
- package/locales/es-419.json +4 -0
- package/locales/es.json +4 -0
- package/locales/et.json +4 -0
- package/locales/fi.json +4 -0
- package/locales/fr-CA.json +4 -0
- package/locales/fr.json +4 -0
- package/locales/he.json +4 -0
- package/locales/hi.json +4 -0
- package/locales/ht.json +4 -0
- package/locales/hu.json +4 -0
- package/locales/id.json +4 -0
- package/locales/it.json +4 -0
- package/locales/ja.json +4 -0
- package/locales/km-KH.json +4 -0
- package/locales/ko.json +4 -0
- package/locales/lt.json +4 -0
- package/locales/lv.json +4 -0
- package/locales/mi.json +4 -0
- package/locales/ms.json +4 -0
- package/locales/nb.json +4 -0
- package/locales/nl.json +4 -0
- package/locales/pl.json +4 -0
- package/locales/pt-BR.json +4 -0
- package/locales/pt.json +4 -0
- package/locales/ro.json +4 -0
- package/locales/ru.json +4 -0
- package/locales/si-LK.json +4 -0
- package/locales/sk.json +4 -0
- package/locales/sr.json +4 -0
- package/locales/sv.json +4 -0
- package/locales/th.json +4 -0
- package/locales/tl.json +4 -0
- package/locales/tr.json +4 -0
- package/locales/uk.json +4 -0
- package/locales/vi.json +4 -0
- package/locales/zh-TW.json +4 -0
- package/locales/zh.json +4 -0
- package/package.json +1 -1
- package/src/Content/Content.module.css +1 -1
- package/src/Heading/Heading.module.css +111 -0
- package/src/Heading/Heading.tsx +1 -1
- package/src/Label/Label.module.css +97 -0
- package/src/Label/Label.tsx +1 -1
- package/src/Label/_docs/Label.stickersheet.stories.tsx +9 -4
- package/src/LabelledMessage/{LabelledMessage.module.scss → LabelledMessage.module.css} +1 -3
- package/src/LabelledMessage/LabelledMessage.tsx +1 -1
- package/src/Notification/InlineNotification/InlineNotification.tsx +1 -1
- package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx +1 -1
- package/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss → ToastNotificationsList.module.css} +6 -8
- package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.tsx +1 -1
- package/src/Notification/subcomponents/CancelButton/CancelButton.tsx +1 -1
- package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css +392 -0
- package/src/Notification/subcomponents/GenericNotification/GenericNotification.tsx +1 -1
- package/src/Notification/subcomponents/NotificationHeading/NotificationHeading.tsx +1 -1
- package/src/Select/Select.tsx +8 -6
- package/src/Text/Text.module.css +71 -0
- package/src/Text/Text.tsx +1 -1
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css +141 -0
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.tsx +1 -1
- package/src/ToggleSwitch/ToggleSwitchField/{ToggleSwitchField.module.scss → ToggleSwitchField.module.css} +1 -3
- package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.tsx +1 -1
- package/src/Tooltip/OverlayArrow.module.css +45 -0
- package/src/Tooltip/OverlayArrow.tsx +1 -1
- package/src/Tooltip/Tooltip.module.css +62 -0
- package/src/Tooltip/Tooltip.tsx +1 -1
- package/dist/cjs/src/Heading/Heading.module.scss.cjs +0 -22
- package/dist/cjs/src/Label/Label.module.scss.cjs +0 -15
- package/dist/cjs/src/LabelledMessage/LabelledMessage.module.scss.cjs +0 -7
- package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.cjs +0 -29
- package/dist/cjs/src/Text/Text.module.scss.cjs +0 -16
- package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss.cjs +0 -13
- package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss.cjs +0 -9
- package/dist/cjs/src/Tooltip/OverlayArrow.module.scss.cjs +0 -7
- package/dist/cjs/src/Tooltip/Tooltip.module.scss.cjs +0 -7
- package/dist/esm/src/Heading/Heading.module.scss.mjs +0 -20
- package/dist/esm/src/Label/Label.module.scss.mjs +0 -13
- package/dist/esm/src/LabelledMessage/LabelledMessage.module.scss.mjs +0 -5
- package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.mjs +0 -27
- package/dist/esm/src/Text/Text.module.scss.mjs +0 -14
- package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss.mjs +0 -11
- package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss.mjs +0 -7
- package/dist/esm/src/Tooltip/OverlayArrow.module.scss.mjs +0 -5
- package/dist/esm/src/Tooltip/Tooltip.module.scss.mjs +0 -5
- package/src/Content/_variables.css +0 -5
- package/src/Heading/Heading.module.scss +0 -115
- package/src/Label/Label.module.scss +0 -105
- package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +0 -138
- package/src/Notification/subcomponents/GenericNotification/_mixins.scss +0 -366
- package/src/Text/Text.module.scss +0 -74
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +0 -139
- package/src/Tooltip/OverlayArrow.module.scss +0 -45
- 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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -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.
|
|
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.
|
|
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
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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:
|
|
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
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -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.
|
|
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
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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,
|
|
@@ -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.
|
|
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.
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Icon } from '../../../Icon/Icon.mjs';
|
|
3
|
-
import styles from '../GenericNotification/GenericNotification.module.
|
|
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.
|
|
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.
|
|
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:
|
|
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
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -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.
|
|
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.
|