@jobber/components 4.91.2-implement-.13 → 4.91.2-retheme-fe.2
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/Autocomplete/index.js +10 -11
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-76a799fa.js → Avatar-a5a90da9.js} +1 -1
- package/dist/Banner/index.js +11 -30
- package/dist/Button/index.js +2 -2
- package/dist/Button-bb77a513.js +57 -0
- package/dist/ButtonDismiss/index.js +3 -3
- package/dist/{ButtonDismiss-a3ba1de2.js → ButtonDismiss-a1df8656.js} +1 -1
- package/dist/Card/index.js +6 -7
- package/dist/{Card-01d6ba19.js → Card-69212ecd.js} +6 -6
- package/dist/Checkbox/index.js +3 -3
- package/dist/Checkbox-2ea61ab4.js +63 -0
- package/dist/Chip/index.js +4 -4
- package/dist/{Chip-76f18555.js → Chip-b67ae770.js} +4 -4
- package/dist/Chips/index.js +8 -8
- package/dist/Combobox/index.js +9 -9
- package/dist/{Combobox-6d864202.js → Combobox-faa6bffe.js} +10 -10
- package/dist/ConfirmationModal/index.js +9 -11
- package/dist/{ConfirmationModal-b7da32ac.js → ConfirmationModal-289df9ad.js} +2 -2
- package/dist/DataDump/index.js +7 -8
- package/dist/DataList/index.js +23 -24
- package/dist/DataTable/index.js +14 -14
- package/dist/DatePicker/index.js +3 -3
- package/dist/{DatePicker-305a5b82.js → DatePicker-8392951f.js} +3 -3
- package/dist/DescriptionList/index.js +2 -2
- package/dist/Disclosure/index.js +2 -2
- package/dist/Drawer/index.js +6 -8
- package/dist/Emphasis/index.js +2 -2
- package/dist/{Emphasis-a77d8ee9.js → Emphasis-2bbe4da6.js} +1 -1
- package/dist/FeatureSwitch/index.js +7 -9
- package/dist/FormField/FormFieldTypes.d.ts +0 -8
- package/dist/FormField/FormFieldWrapper.d.ts +1 -1
- package/dist/FormField/index.js +8 -8
- package/dist/FormField-5134bf0e.js +253 -0
- package/dist/FormatFile/index.js +12 -14
- package/dist/{FormatFile-b771c7fd.js → FormatFile-7e432b0d.js} +7 -7
- package/dist/Gallery/index.js +13 -15
- package/dist/Glimmer/index.js +1 -1
- package/dist/{Glimmer-84dee1ed.js → Glimmer-156bb2d1.js} +1 -1
- package/dist/Heading/index.js +2 -4
- package/dist/{Heading-23d382a1.js → Heading-d025ffbb.js} +5 -7
- package/dist/InlineLabel/index.js +2 -2
- package/dist/InlineLabel-d092e45a.js +28 -0
- package/dist/InputAvatar/index.js +8 -8
- package/dist/InputDate/index.js +9 -9
- package/dist/InputEmail/index.js +8 -8
- package/dist/InputFile/index.js +5 -5
- package/dist/{InputFile-20b9074a.js → InputFile-5458fb6e.js} +4 -4
- package/dist/InputNumber/index.js +9 -9
- package/dist/{InputNumber-d085fb59.js → InputNumber-0cc0d204.js} +1 -1
- package/dist/InputPassword/index.js +8 -8
- package/dist/InputPhoneNumber/index.js +8 -8
- package/dist/InputText/InputText.d.ts +0 -4
- package/dist/InputText/index.js +9 -9
- package/dist/{InputText-ce8cf268.js → InputText-8af32879.js} +3 -5
- package/dist/InputTime/index.js +8 -8
- package/dist/InputValidation/index.js +3 -3
- package/dist/{InputValidation-a92bb519.js → InputValidation-9c582130.js} +2 -2
- package/dist/LightBox/index.js +4 -4
- package/dist/{LightBox-7efe8932.js → LightBox-ddbda5c6.js} +3 -3
- package/dist/List/index.js +8 -10
- package/dist/Markdown/index.js +5 -7
- package/dist/{Markdown-0f24de70.js → Markdown-8150d535.js} +3 -3
- package/dist/Menu/index.js +3 -3
- package/dist/{Menu-d6dd673e.js → Menu-f9fb99bb.js} +7 -8
- package/dist/Modal/index.js +5 -7
- package/dist/Modal-4f48de3a.js +74 -0
- package/dist/MultiSelect/index.js +5 -5
- package/dist/{Option-754131da.js → Option-8faed3bf.js} +1 -1
- package/dist/Page/index.js +8 -9
- package/dist/Popover/index.js +4 -4
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-b68edc8f.js → ProgressBar-e4bb029e.js} +1 -1
- package/dist/RadioGroup/index.js +3 -3
- package/dist/RadioGroup-c31c2e81.js +46 -0
- package/dist/RecurringSelect/index.js +15 -15
- package/dist/Select/index.js +9 -9
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-9d8fc7ff.js → Spinner-e15a3ae0.js} +1 -1
- package/dist/StatusIndicator/index.js +1 -1
- package/dist/{StatusIndicator-7b5258ea.js → StatusIndicator-dd1f0fd5.js} +1 -1
- package/dist/StatusLabel/index.js +3 -3
- package/dist/Switch/index.js +2 -2
- package/dist/Switch-57fbf575.js +56 -0
- package/dist/Table/index.js +1 -1
- package/dist/Tabs/index.js +2 -2
- package/dist/Text/index.js +2 -2
- package/dist/{Text-fbeaaca6.js → Text-fdc65f0b.js} +1 -1
- package/dist/Toast/index.js +5 -6
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-b9de6e57.js → Tooltip-1e3abeb6.js} +1 -1
- package/dist/Typography/css/TextColors.css.d.ts +1 -0
- package/dist/Typography/index.js +1 -1
- package/dist/{Typography-e2a23b7e.js → Typography-018e1471.js} +3 -3
- package/package.json +3 -3
- package/dist/Button-6b922fc1.js +0 -57
- package/dist/Checkbox-e481a4b1.js +0 -63
- package/dist/FormField/hooks/useFormFieldFocus.d.ts +0 -7
- package/dist/FormField/hooks/useToolbar.d.ts +0 -16
- package/dist/FormField-8eea4d86.js +0 -309
- package/dist/InlineLabel-c8fc28f0.js +0 -28
- package/dist/Modal-4ce1ec79.js +0 -74
- package/dist/RadioGroup-678f4932.js +0 -46
- package/dist/Switch-eac89586.js +0 -56
- package/dist/useAtlantisConfig-ed0bee66.js +0 -16
package/dist/Modal/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Modal = require('../Modal-
|
|
5
|
+
var Modal = require('../Modal-4f48de3a.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-dom');
|
|
8
8
|
require('classnames');
|
|
@@ -11,15 +11,13 @@ require('@jobber/hooks/useRefocusOnActivator');
|
|
|
11
11
|
require('@jobber/hooks/useOnKeyDown');
|
|
12
12
|
require('@jobber/hooks/useFocusTrap');
|
|
13
13
|
require('../style-inject.es-9d2f5f4e.js');
|
|
14
|
-
require('../Heading-
|
|
15
|
-
require('../Typography-
|
|
16
|
-
require('../
|
|
17
|
-
require('@jobber/hooks/useSafeLayoutEffect');
|
|
18
|
-
require('../Button-6b922fc1.js');
|
|
14
|
+
require('../Heading-d025ffbb.js');
|
|
15
|
+
require('../Typography-018e1471.js');
|
|
16
|
+
require('../Button-bb77a513.js');
|
|
19
17
|
require('react-router-dom');
|
|
20
18
|
require('../Icon-405a216c.js');
|
|
21
19
|
require('@jobber/design');
|
|
22
|
-
require('../ButtonDismiss-
|
|
20
|
+
require('../ButtonDismiss-a1df8656.js');
|
|
23
21
|
|
|
24
22
|
|
|
25
23
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var ReactDOM = require('react-dom');
|
|
5
|
+
var classnames = require('classnames');
|
|
6
|
+
var framerMotion = require('framer-motion');
|
|
7
|
+
var useRefocusOnActivator = require('@jobber/hooks/useRefocusOnActivator');
|
|
8
|
+
var useOnKeyDown = require('@jobber/hooks/useOnKeyDown');
|
|
9
|
+
var useFocusTrap = require('@jobber/hooks/useFocusTrap');
|
|
10
|
+
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
11
|
+
var Heading = require('./Heading-d025ffbb.js');
|
|
12
|
+
var Button = require('./Button-bb77a513.js');
|
|
13
|
+
var ButtonDismiss = require('./ButtonDismiss-a1df8656.js');
|
|
14
|
+
|
|
15
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
|
+
|
|
17
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
|
+
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
19
|
+
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
20
|
+
|
|
21
|
+
var css_248z$1 = ":root {\n --modal--width: 600px;\n --modal--padding-horizontal: var(--space-base);\n --modal--padding-vertical: var(--space-base);\n --modal--padding: var(--modal--padding-vertical)\n var(--modal--padding-horizontal);\n\n --modal--shadow: var(--shadow-base);\n}\n\n@media (min-width: 768px) {\n\n:root {\n --modal--padding-horizontal: var(--space-large);\n --modal--padding-vertical: var(--space-large);\n --modal--padding: var(--modal--padding-vertical)\n var(--modal--padding-horizontal);\n}\n }\n\n@media (--medium-screens-and-up) {\n\n:root {\n --modal--padding-horizontal: var(--space-large);\n --modal--padding-vertical: var(--space-large);\n --modal--padding: var(--modal--padding-vertical)\n var(--modal--padding-horizontal);\n}\n }\n\n.QGRLFHPoV5E- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n z-index: 1001;\n z-index: var(--elevation-modal);\n padding: calc(16px / 2);\n padding: var(--space-small);\n overflow: auto;\n}\n\n.QGRLFHPoV5E-,\n._4WzGOMUGj5I- {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n._4WzGOMUGj5I- {\n background-color: rgba(0, 0, 0, 0.32);\n background-color: var(--color-overlay);\n}\n\n.WLId2NJBQcQ- {\n position: relative;\n width: 100%;\n max-width: 600px;\n max-width: var(--modal--width);\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n box-shadow: var(--modal--shadow);\n margin: auto;\n border: calc(16px / 16) solid rgb(218, 224, 226);\n border: var(--border-base) solid var(--color-border);\n border-radius: 8px;\n border-radius: var(--radius-base);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n outline-color: rgb(131, 151, 160);\n outline-color: var(--color-focus);\n}\n\n/* Adjust `Content` and `Tab` components public padding to match the modal */\n\n.WLId2NJBQcQ- > * {\n --public-content--padding: var(--modal--padding);\n --public-tab--inset: var(--modal--padding-horizontal);\n}\n\n/* Remove the nested `Content` components public padding */\n\n.WLId2NJBQcQ- > * > * {\n --public-content--padding: 0;\n}\n\n.wjrPpIUNNrk- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n padding: calc(16px * 1)\n calc(16px * 1);\n padding: var(--modal--padding);\n background-color: transparent;\n}\n\n/**\n * Ensure there's no extra padding top on the next element. This mostly negates\n * the <Content /> padding\n */\n\n.wjrPpIUNNrk- + * {\n padding-top: 0;\n}\n\n.rKvigUnOyYE- {\n margin-top: -6px;\n margin-right: -6px;\n}\n\n._62c8HLZFwvs- {\n display: -ms-flexbox;\n display: flex;\n padding: calc(16px * 1)\n calc(16px * 1);\n padding: var(--modal--padding);\n padding-top: 0;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n\n/**\n * 1. Use CSS `order` to adjust the buttons position on the UI\n */\n\n.Xl1Ptn-P9Ew- {\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n -ms-flex-order: 1;\n order: 1; /* 1 */\n}\n\n.p2s7GtpoZz0- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n -ms-flex-order: 2;\n order: 2; /* 1 */\n}\n\n/* This is in a correct position and order */\n\n/* stylelint-disable-next-line no-descending-specificity */\n\n.p2s7GtpoZz0- > * {\n margin-left: calc(16px / 2);\n margin-left: var(--space-small);\n}\n\n.p2s7GtpoZz0- > *:first-child {\n -ms-flex-order: 2;\n order: 2; /* 1 */\n}\n\n.p2s7GtpoZz0- > *:nth-child(2) {\n -ms-flex-order: 1;\n order: 1; /* 1 */\n}\n";
|
|
22
|
+
var styles = {"container":"QGRLFHPoV5E-","overlay":"_4WzGOMUGj5I-","modal":"WLId2NJBQcQ-","header":"wjrPpIUNNrk-","closeButton":"rKvigUnOyYE-","actionBar":"_62c8HLZFwvs-","leftAction":"Xl1Ptn-P9Ew-","rightAction":"p2s7GtpoZz0-"};
|
|
23
|
+
styleInject_es.styleInject(css_248z$1);
|
|
24
|
+
|
|
25
|
+
var css_248z = "._65IpUjOZiBg- {\n --modal--padding: var(--space-base);\n --public-tab--inset: var(--space-base);\n max-width: 400px;\n}\n\n.Cpwnmw65caA- {\n max-width: 940px;\n}\n";
|
|
26
|
+
var sizes = {"small":"_65IpUjOZiBg-","large":"Cpwnmw65caA-"};
|
|
27
|
+
styleInject_es.styleInject(css_248z);
|
|
28
|
+
|
|
29
|
+
function Modal({ open = false, title, size, dismissible = true, children, primaryAction, secondaryAction, tertiaryAction, onRequestClose, }) {
|
|
30
|
+
const modalClassName = classnames__default["default"](styles.modal, size && sizes[size]);
|
|
31
|
+
useRefocusOnActivator.useRefocusOnActivator(open);
|
|
32
|
+
const modalRef = useFocusTrap.useFocusTrap(open);
|
|
33
|
+
useOnKeyDown.useOnKeyDown(handleRequestClose, "Escape");
|
|
34
|
+
const template = (React__default["default"].createElement(framerMotion.AnimatePresence, null, open && (React__default["default"].createElement("div", { ref: modalRef, role: "dialog", className: styles.container, tabIndex: 0 },
|
|
35
|
+
React__default["default"].createElement(framerMotion.motion.div, { key: styles.overlay, className: styles.overlay, onClick: onRequestClose, initial: { opacity: 0 }, animate: { opacity: 0.8 }, exit: { opacity: 0 }, transition: { duration: 0.2 } }),
|
|
36
|
+
React__default["default"].createElement(framerMotion.motion.div, { key: styles.modal, className: modalClassName, initial: { scale: 0.9, opacity: 0 }, animate: { scale: 1, opacity: 1 }, exit: { scale: 0.9, opacity: 0 }, transition: {
|
|
37
|
+
duration: 0.2,
|
|
38
|
+
ease: "easeInOut",
|
|
39
|
+
} },
|
|
40
|
+
title != undefined && (React__default["default"].createElement(Header, { title: title, dismissible: dismissible, onRequestClose: onRequestClose })),
|
|
41
|
+
children,
|
|
42
|
+
React__default["default"].createElement(Actions, { primary: primaryAction, secondary: secondaryAction, tertiary: tertiaryAction }))))));
|
|
43
|
+
return (globalThis === null || globalThis === void 0 ? void 0 : globalThis.document)
|
|
44
|
+
? ReactDOM__default["default"].createPortal(template, document.body)
|
|
45
|
+
: template;
|
|
46
|
+
function handleRequestClose() {
|
|
47
|
+
if (open && onRequestClose) {
|
|
48
|
+
onRequestClose();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function Header({ title, dismissible, onRequestClose }) {
|
|
53
|
+
return (React__default["default"].createElement("div", { className: styles.header, "data-testid": "modal-header" },
|
|
54
|
+
React__default["default"].createElement(Heading.Heading, { level: 2 }, title),
|
|
55
|
+
dismissible && (React__default["default"].createElement("div", { className: styles.closeButton },
|
|
56
|
+
React__default["default"].createElement(ButtonDismiss.ButtonDismiss, { onClick: onRequestClose, ariaLabel: "Close modal" })))));
|
|
57
|
+
}
|
|
58
|
+
function Actions({ primary, secondary, tertiary }) {
|
|
59
|
+
const shouldShow = primary != undefined || secondary != undefined || tertiary != undefined;
|
|
60
|
+
if (secondary != undefined) {
|
|
61
|
+
secondary = Object.assign({ type: "primary", variation: "subtle" }, secondary);
|
|
62
|
+
}
|
|
63
|
+
if (tertiary != undefined) {
|
|
64
|
+
tertiary = Object.assign({ type: "secondary", variation: "destructive" }, tertiary);
|
|
65
|
+
}
|
|
66
|
+
return (React__default["default"].createElement(React__default["default"].Fragment, null, shouldShow && (React__default["default"].createElement("div", { className: styles.actionBar },
|
|
67
|
+
React__default["default"].createElement("div", { className: styles.rightAction },
|
|
68
|
+
primary && React__default["default"].createElement(Button.Button, Object.assign({}, primary)),
|
|
69
|
+
secondary && React__default["default"].createElement(Button.Button, Object.assign({}, secondary))),
|
|
70
|
+
tertiary && (React__default["default"].createElement("div", { className: styles.leftAction },
|
|
71
|
+
React__default["default"].createElement(Button.Button, Object.assign({}, tertiary))))))));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
exports.Modal = Modal;
|
|
@@ -5,12 +5,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var classnames = require('classnames');
|
|
7
7
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
8
|
-
var Checkbox = require('../Checkbox-
|
|
9
|
-
var Text = require('../Text-
|
|
8
|
+
var Checkbox = require('../Checkbox-2ea61ab4.js');
|
|
9
|
+
var Text = require('../Text-fdc65f0b.js');
|
|
10
10
|
var Icon = require('../Icon-405a216c.js');
|
|
11
11
|
require('../tslib.es6-754e2961.js');
|
|
12
12
|
require('react-hook-form');
|
|
13
|
-
require('../Typography-
|
|
13
|
+
require('../Typography-018e1471.js');
|
|
14
14
|
require('@jobber/design');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -18,11 +18,11 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
18
18
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
19
19
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
20
20
|
|
|
21
|
-
var css_248z$1 = ".D-J03az6XL4- {\n position: relative;\n width: 100%;\n}\n\n.D-J03az6XL4- * {\n box-sizing: border-box;\n}\n\n.EzNdHgwsT40- {\n --field--height: var(--space-largest);\n\n --field--padding-top: calc(var(--space-base) - var(--space-smallest));\n --field--padding-bottom: calc(var(--space-base) - var(--space-smallest));\n --field--padding-left: var(--space-base);\n --field--padding-right: var(--space-base);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n height: calc(16px * 3);\n height: var(--field--height);\n padding-top: calc((16px * 1) - (16px / 8));\n padding-top: calc(calc(16px * 1) - calc(16px / 8));\n padding-top: var(--field--padding-top);\n padding-bottom: calc((16px * 1) - (16px / 8));\n padding-bottom: calc(calc(16px * 1) - calc(16px / 8));\n padding-bottom: var(--field--padding-bottom);\n padding-left: calc(16px * 1);\n padding-left: var(--field--padding-left);\n padding-right: calc(16px * 1);\n padding-right: var(--field--padding-right);\n border: calc(16px / 16) solid rgb(
|
|
21
|
+
var css_248z$1 = ".D-J03az6XL4- {\n position: relative;\n width: 100%;\n}\n\n.D-J03az6XL4- * {\n box-sizing: border-box;\n}\n\n.EzNdHgwsT40- {\n --field--height: var(--space-largest);\n\n --field--padding-top: calc(var(--space-base) - var(--space-smallest));\n --field--padding-bottom: calc(var(--space-base) - var(--space-smallest));\n --field--padding-left: var(--space-base);\n --field--padding-right: var(--space-base);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n height: calc(16px * 3);\n height: var(--field--height);\n padding-top: calc((16px * 1) - (16px / 8));\n padding-top: calc(calc(16px * 1) - calc(16px / 8));\n padding-top: var(--field--padding-top);\n padding-bottom: calc((16px * 1) - (16px / 8));\n padding-bottom: calc(calc(16px * 1) - calc(16px / 8));\n padding-bottom: var(--field--padding-bottom);\n padding-left: calc(16px * 1);\n padding-left: var(--field--padding-left);\n padding-right: calc(16px * 1);\n padding-right: var(--field--padding-right);\n border: calc(16px / 16) solid rgb(218, 224, 226);\n border: var(--border-base) solid var(--color-border);\n border-radius: 8px;\n border-radius: var(--radius-base);\n}\n\n.EzNdHgwsT40- p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.D-J03az6XL4-:hover,\n.D-J03az6XL4-.EzNdHgwsT40- {\n cursor: pointer;\n caret-color: transparent;\n}\n\n.EzNdHgwsT40-:focus,\n.EzNdHgwsT40-.bu7HWKRu6HI- {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(131, 151, 160);\n box-shadow: var(--shadow-focus);\n outline: none;\n}\n\n.eQ6yfQg6zLc- {\n --field--padding-left: calc(var(--space-base) - var(--space-smaller));\n --field--padding-right: calc(var(--space-base) - var(--space-smaller));\n --field--height: calc(var(--space-larger) + var(--space-smaller));\n}\n\n.pM-ts4-QMZY- {\n --field--padding-left: var(--space-large);\n --field--padding-right: var(--space-large);\n --field--height: calc(var(--space-extravagant));\n}\n";
|
|
22
22
|
var styles$1 = {"multiSelectContainer":"D-J03az6XL4-","multiSelect":"EzNdHgwsT40-","active":"bu7HWKRu6HI-","small":"eQ6yfQg6zLc-","large":"pM-ts4-QMZY-"};
|
|
23
23
|
styleInject_es.styleInject(css_248z$1);
|
|
24
24
|
|
|
25
|
-
var css_248z = "._0SStdD4KRHs- {\n display: -ms-flexbox;\n display: flex;\n position: absolute;\n z-index: 6;\n z-index: var(--elevation-menu);\n width: 100%;\n max-height: calc((16px * 4) * 5);\n max-height: calc(calc(16px * 4) * 5);\n max-height: calc(var(--space-extravagant) * 5);\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n box-shadow: var(--shadow-base);\n margin: 0;\n padding: 0;\n border: calc(16px / 16) solid rgb(
|
|
25
|
+
var css_248z = "._0SStdD4KRHs- {\n display: -ms-flexbox;\n display: flex;\n position: absolute;\n z-index: 6;\n z-index: var(--elevation-menu);\n width: 100%;\n max-height: calc((16px * 4) * 5);\n max-height: calc(calc(16px * 4) * 5);\n max-height: calc(var(--space-extravagant) * 5);\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n box-shadow: var(--shadow-base);\n margin: 0;\n padding: 0;\n border: calc(16px / 16) solid rgb(218, 224, 226);\n border: var(--border-base) solid var(--color-border);\n border-radius: calc(8px * 2);\n border-radius: var(--radius-large);\n overflow: auto;\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n -ms-flex-direction: column;\n flex-direction: column;\n scroll-behavior: smooth;\n}\n\n._0SStdD4KRHs- li {\n list-style: none;\n}\n\n.mFSgwOQZJm0- {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n padding: calc(16px / 2) calc(16px * 1);\n padding: var(--space-small) var(--space-base);\n cursor: pointer;\n transition: all 200ms;\n transition: all var(--timing-base);\n}\n\n.mFSgwOQZJm0-:focus,\n.mFSgwOQZJm0-.SepF4gvOxq8- {\n background-color: rgb(241, 239, 233);\n background-color: var(--color-surface--hover);\n outline-color: rgb(131, 151, 160);\n outline-color: var(--color-focus);\n}\n";
|
|
26
26
|
var styles = {"dropDownMenuContainer":"_0SStdD4KRHs-","option":"mFSgwOQZJm0-","active":"SepF4gvOxq8-"};
|
|
27
27
|
styleInject_es.styleInject(css_248z);
|
|
28
28
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var FormField = require('./FormField-
|
|
4
|
+
var FormField = require('./FormField-5134bf0e.js');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
7
|
|
package/dist/Page/index.js
CHANGED
|
@@ -6,16 +6,14 @@ var React = require('react');
|
|
|
6
6
|
var classnames = require('classnames');
|
|
7
7
|
var jobberHooks = require('@jobber/hooks/useResizeObserver');
|
|
8
8
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
9
|
-
var Heading = require('../Heading-
|
|
10
|
-
var Text = require('../Text-
|
|
9
|
+
var Heading = require('../Heading-d025ffbb.js');
|
|
10
|
+
var Text = require('../Text-fdc65f0b.js');
|
|
11
11
|
var Content = require('../Content-e3f7b6fc.js');
|
|
12
|
-
var Markdown = require('../Markdown-
|
|
13
|
-
var Button = require('../Button-
|
|
14
|
-
var Menu = require('../Menu-
|
|
15
|
-
var Emphasis = require('../Emphasis-
|
|
16
|
-
require('../Typography-
|
|
17
|
-
require('../useAtlantisConfig-ed0bee66.js');
|
|
18
|
-
require('@jobber/hooks/useSafeLayoutEffect');
|
|
12
|
+
var Markdown = require('../Markdown-8150d535.js');
|
|
13
|
+
var Button = require('../Button-bb77a513.js');
|
|
14
|
+
var Menu = require('../Menu-f9fb99bb.js');
|
|
15
|
+
var Emphasis = require('../Emphasis-2bbe4da6.js');
|
|
16
|
+
require('../Typography-018e1471.js');
|
|
19
17
|
require('react-markdown');
|
|
20
18
|
require('react-router-dom');
|
|
21
19
|
require('../Icon-405a216c.js');
|
|
@@ -23,6 +21,7 @@ require('@jobber/design');
|
|
|
23
21
|
require('framer-motion');
|
|
24
22
|
require('@jobber/hooks/useOnKeyDown');
|
|
25
23
|
require('@jobber/hooks/useRefocusOnActivator');
|
|
24
|
+
require('@jobber/hooks/useSafeLayoutEffect');
|
|
26
25
|
|
|
27
26
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
28
27
|
|
package/dist/Popover/index.js
CHANGED
|
@@ -6,19 +6,19 @@ var React = require('react');
|
|
|
6
6
|
var reactPopper = require('react-popper');
|
|
7
7
|
var useRefocusOnActivator = require('@jobber/hooks/useRefocusOnActivator');
|
|
8
8
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
9
|
-
var ButtonDismiss = require('../ButtonDismiss-
|
|
10
|
-
require('../Button-
|
|
9
|
+
var ButtonDismiss = require('../ButtonDismiss-a1df8656.js');
|
|
10
|
+
require('../Button-bb77a513.js');
|
|
11
11
|
require('classnames');
|
|
12
12
|
require('react-router-dom');
|
|
13
13
|
require('../Icon-405a216c.js');
|
|
14
14
|
require('@jobber/design');
|
|
15
|
-
require('../Typography-
|
|
15
|
+
require('../Typography-018e1471.js');
|
|
16
16
|
|
|
17
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
18
18
|
|
|
19
19
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
20
20
|
|
|
21
|
-
var css_248z = ":root {\n --card--base-padding: var(--space-base);\n --popover--padding: var(--space-base);\n --popover--width: calc(var(--base-unit) * 21.875);\n --dismiss--button-padding: calc(var(--base-unit) / 4);\n}\n\n.oSlK4rLUvzE- {\n display: -ms-flexbox;\n display: flex;\n position: \"relative\";\n padding: calc(16px * 1);\n padding: var(--popover--padding);\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.XVPpPb-7e30- {\n float: right;\n padding: calc(16px / 4);\n padding: var(--dismiss--button-padding);\n text-align: right;\n}\n\n.TDuYbqXaLW0- {\n z-index: 1002;\n z-index: var(--elevation-tooltip);\n width: -webkit-max-content;\n width: max-content;\n max-width: calc(16px * 21.875);\n max-width: var(--popover--width);\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n box-shadow: var(--shadow-base);\n border: calc(16px / 16) solid rgb(
|
|
21
|
+
var css_248z = ":root {\n --card--base-padding: var(--space-base);\n --popover--padding: var(--space-base);\n --popover--width: calc(var(--base-unit) * 21.875);\n --dismiss--button-padding: calc(var(--base-unit) / 4);\n}\n\n.oSlK4rLUvzE- {\n display: -ms-flexbox;\n display: flex;\n position: \"relative\";\n padding: calc(16px * 1);\n padding: var(--popover--padding);\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.XVPpPb-7e30- {\n float: right;\n padding: calc(16px / 4);\n padding: var(--dismiss--button-padding);\n text-align: right;\n}\n\n.TDuYbqXaLW0- {\n z-index: 1002;\n z-index: var(--elevation-tooltip);\n width: -webkit-max-content;\n width: max-content;\n max-width: calc(16px * 21.875);\n max-width: var(--popover--width);\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n box-shadow: var(--shadow-base);\n border: calc(16px / 16) solid rgb(218, 224, 226);\n border: var(--border-base) solid var(--color-border);\n border-radius: 8px;\n border-radius: var(--radius-base);\n font-size: calc((16px * 1) * 0.875);\n font-size: calc(calc(16px * 1) * 0.875);\n font-size: var(--typography--fontSize-base);\n line-height: normal;\n background: rgba(255, 255, 255, 1);\n background: var(--color-surface);\n}\n\n.TDuYbqXaLW0- > * {\n --public-content--padding: var(--card--base-padding);\n}\n\n.LJCpn0zf1e8- {\n visibility: hidden;\n}\n\n.LJCpn0zf1e8-,\n.LJCpn0zf1e8-::before {\n position: absolute;\n width: 16px;\n width: var(--base-unit);\n height: 16px;\n height: var(--base-unit);\n background: inherit;\n}\n\n.LJCpn0zf1e8-::before {\n content: \"\";\n visibility: visible;\n border: calc(16px / 16) solid rgb(218, 224, 226);\n border: var(--border-base) solid var(--color-border);\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n -webkit-transform-origin: center;\n transform-origin: center;\n -webkit-clip-path: polygon(-4px -4px, 15.3px 0, 0 15.3px);\n clip-path: polygon(-4px -4px, 15.3px 0, 0 15.3px);\n}\n\n.TDuYbqXaLW0-[data-popper-placement^=\"top\"] > .LJCpn0zf1e8- {\n bottom: -5px;\n}\n\n.TDuYbqXaLW0-[data-popper-placement^=\"top\"] > .LJCpn0zf1e8-::before {\n -webkit-transform: rotate(-135deg);\n transform: rotate(-135deg);\n}\n\n.TDuYbqXaLW0-[data-popper-placement^=\"bottom\"] > .LJCpn0zf1e8- {\n top: -7px;\n}\n\n.TDuYbqXaLW0-[data-popper-placement^=\"left\"] > .LJCpn0zf1e8- {\n right: -5px;\n}\n\n.TDuYbqXaLW0-[data-popper-placement^=\"left\"] > .LJCpn0zf1e8-::before {\n -webkit-transform: rotate(135deg);\n transform: rotate(135deg);\n}\n\n.TDuYbqXaLW0-[data-popper-placement^=\"right\"] > .LJCpn0zf1e8- {\n left: -7px;\n}\n\n.TDuYbqXaLW0-[data-popper-placement^=\"right\"] > .LJCpn0zf1e8-::before {\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n";
|
|
22
22
|
var classes = {"header":"oSlK4rLUvzE-","dismissButton":"XVPpPb-7e30-","popover":"TDuYbqXaLW0-","arrow":"LJCpn0zf1e8-"};
|
|
23
23
|
styleInject_es.styleInject(css_248z);
|
|
24
24
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var ProgressBar = require('../ProgressBar-
|
|
5
|
+
var ProgressBar = require('../ProgressBar-e4bb029e.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('../style-inject.es-9d2f5f4e.js');
|
|
@@ -9,7 +9,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
10
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
11
11
|
|
|
12
|
-
var css_248z$1 = ":root {\n --progress-bar--height: var(--space-base);\n}\n\nprogress.S1cioqW7loo-[value] {\n width: 100%;\n height: calc(16px * 1);\n height: var(--progress-bar--height);\n border: none;\n vertical-align: baseline;\n -webkit-appearance: none;\n appearance: none;\n}\n\nprogress.S1cioqW7loo-[value],\nprogress.S1cioqW7loo-[value]::-webkit-progress-bar {\n box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.05);\n border-radius: calc((16px * 1) / 2);\n border-radius: calc(calc(16px * 1) / 2);\n border-radius: calc(var(--progress-bar--height) / 2);\n}\n\nprogress.S1cioqW7loo-[value]::-webkit-progress-bar {\n background-color: rgb(
|
|
12
|
+
var css_248z$1 = ":root {\n --progress-bar--height: var(--space-base);\n}\n\nprogress.S1cioqW7loo-[value] {\n width: 100%;\n height: calc(16px * 1);\n height: var(--progress-bar--height);\n border: none;\n vertical-align: baseline;\n -webkit-appearance: none;\n appearance: none;\n}\n\nprogress.S1cioqW7loo-[value],\nprogress.S1cioqW7loo-[value]::-webkit-progress-bar {\n box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.05);\n border-radius: calc((16px * 1) / 2);\n border-radius: calc(calc(16px * 1) / 2);\n border-radius: calc(var(--progress-bar--height) / 2);\n}\n\nprogress.S1cioqW7loo-[value]::-webkit-progress-bar {\n background-color: rgb(241, 239, 233);\n background-color: var(--color-surface--background);\n}\n\nprogress.S1cioqW7loo-[value]::-webkit-progress-value {\n border-radius: calc((16px * 1) / 2);\n border-radius: calc(calc(16px * 1) / 2);\n border-radius: calc(var(--progress-bar--height) / 2);\n background-color: rgb(50, 130, 28);\n background-color: var(--color-interactive);\n -webkit-transition: all 300ms ease-out;\n transition: all 300ms ease-out;\n -webkit-transition: all var(--timing-slow) ease-out;\n transition: all var(--timing-slow) ease-out;\n}\n\nprogress.S1cioqW7loo-[value]::-moz-progress-bar {\n border-radius: calc((16px * 1) / 2);\n border-radius: calc(calc(16px * 1) / 2);\n border-radius: calc(var(--progress-bar--height) / 2);\n background-color: rgb(50, 130, 28);\n background-color: var(--color-interactive);\n -moz-transition: all 300ms ease-out;\n transition: all 300ms ease-out;\n -moz-transition: all var(--timing-slow) ease-out;\n transition: all var(--timing-slow) ease-out;\n}\n\nprogress.nv5fejwjHzo-[value]::-webkit-progress-value {\n -webkit-transition: all 100ms ease-out;\n transition: all 100ms ease-out;\n -webkit-transition: all var(--timing-quick) ease-out;\n transition: all var(--timing-quick) ease-out;\n}\n\n.dyBDsjWCui4- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n width: 100%;\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n";
|
|
13
13
|
var styles = {"ProgressBar":"S1cioqW7loo-","SteppedProgressBar":"nv5fejwjHzo-","wrapper":"dyBDsjWCui4-"};
|
|
14
14
|
styleInject_es.styleInject(css_248z$1);
|
|
15
15
|
|
package/dist/RadioGroup/index.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var RadioGroup = require('../RadioGroup-
|
|
5
|
+
var RadioGroup = require('../RadioGroup-c31c2e81.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('../style-inject.es-9d2f5f4e.js');
|
|
8
|
-
require('../Text-
|
|
9
|
-
require('../Typography-
|
|
8
|
+
require('../Text-fdc65f0b.js');
|
|
9
|
+
require('../Typography-018e1471.js');
|
|
10
10
|
require('classnames');
|
|
11
11
|
|
|
12
12
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
5
|
+
var Text = require('./Text-fdc65f0b.js');
|
|
6
|
+
|
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
|
+
|
|
11
|
+
var css_248z = "._5P8wEHDUdKY- {\n --radio--checked-thickness: 6px;\n --radio-diameter: 20px;\n --radio--checked-shadow: 0px 0px 0px var(--space-minuscule) transparent;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n._08ZPdlE98Ko- {\n /* Hide checkbox on UI but not screen readers and still allow focus state */\n position: absolute;\n left: -999vw;\n}\n\n.-PUoLXltVlQ- {\n display: -ms-inline-flexbox;\n display: inline-flex;\n font-size: calc((16px * 1) * 0.875);\n font-size: calc(calc(16px * 1) * 0.875);\n font-size: var(--typography--fontSize-base);\n cursor: pointer;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n\n._08ZPdlE98Ko- + .-PUoLXltVlQ-::before {\n content: \"\";\n display: block;\n width: var(--radio-diameter);\n height: var(--radio-diameter);\n box-sizing: border-box;\n margin-right: calc(16px / 2);\n margin-right: var(--space-small);\n border: calc(16px / 8) solid rgb(218, 224, 226);\n border: var(--border-thick) solid var(--color-border);\n border-radius: 100%;\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n transition: all 100ms ease-out;\n transition: all var(--timing-quick) ease-out;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n\n._08ZPdlE98Ko-:hover + .-PUoLXltVlQ-::before {\n border-color: rgb(50, 130, 28);\n border-color: var(--color-interactive);\n}\n\n._08ZPdlE98Ko-:checked + .-PUoLXltVlQ-::before {\n border-color: rgb(50, 130, 28);\n border-color: var(--color-interactive);\n border-width: var(--radio--checked-thickness);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n}\n\n._08ZPdlE98Ko-:focus-visible:checked + .-PUoLXltVlQ-:before {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(131, 151, 160);\n box-shadow: var(--shadow-focus);\n}\n\n._08ZPdlE98Ko-[disabled] + .-PUoLXltVlQ- {\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n cursor: not-allowed;\n}\n\n._08ZPdlE98Ko-[disabled] + .-PUoLXltVlQ-::before {\n border-color: rgb(225, 225, 225);\n border-color: var(--color-disabled--secondary);\n}\n\n._08ZPdlE98Ko-[disabled]:checked + .-PUoLXltVlQ-::before {\n --radio--checked-shadow: 0px 0px 0px var(--space-minuscule)\n var(--color-disabled);\n border-color: rgb(181, 181, 181);\n border-color: var(--color-disabled);\n}\n\n._8r6qT-6S9EI-,\n.C5SzbO1epLk- {\n margin-top: calc((16px / 4) * -1);\n margin-top: calc(calc(16px / 4) * -1);\n margin-top: calc(var(--space-smaller) * -1);\n margin-bottom: calc(16px / 2);\n margin-bottom: var(--space-small);\n padding-left: calc(var(--radio-diameter) + (16px / 2));\n padding-left: calc(var(--radio-diameter) + calc(16px / 2));\n padding-left: calc(var(--radio-diameter) + var(--space-small));\n}\n\n._08ZPdlE98Ko-[disabled] + .-PUoLXltVlQ- + ._8r6qT-6S9EI- > p {\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n}\n";
|
|
12
|
+
var styles = {"radioGroup":"_5P8wEHDUdKY-","input":"_08ZPdlE98Ko-","label":"-PUoLXltVlQ-","description":"_8r6qT-6S9EI-","children":"C5SzbO1epLk-"};
|
|
13
|
+
styleInject_es.styleInject(css_248z);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* For rendering props only. To make updates to
|
|
17
|
+
* the real RadioOption, look at InternalRadioOption
|
|
18
|
+
*/
|
|
19
|
+
function RadioOption({ children }) {
|
|
20
|
+
return React__default["default"].createElement(React__default["default"].Fragment, null, children);
|
|
21
|
+
}
|
|
22
|
+
function InternalRadioOption({ value, name, label, description, disabled, checked, children, onChange, }) {
|
|
23
|
+
const inputId = `${value.toString()}_${React.useId()}`;
|
|
24
|
+
const shouldRenderIndependentChildren = label && children;
|
|
25
|
+
return (React__default["default"].createElement("div", null,
|
|
26
|
+
React__default["default"].createElement("input", { onChange: handleChange, type: "radio", name: name, value: value, disabled: disabled, checked: checked, id: inputId, className: styles.input, "aria-describedby": description ? `${inputId}_description` : undefined }),
|
|
27
|
+
React__default["default"].createElement("label", { className: styles.label, htmlFor: inputId }, label ? label : children),
|
|
28
|
+
description && (React__default["default"].createElement("div", { className: styles.description, id: `${inputId}_description` },
|
|
29
|
+
React__default["default"].createElement(Text.Text, { variation: "subdued", size: "small" }, description))),
|
|
30
|
+
shouldRenderIndependentChildren && (React__default["default"].createElement("div", { className: styles.children, id: `${inputId}_children` }, children))));
|
|
31
|
+
function handleChange() {
|
|
32
|
+
onChange(value);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function RadioGroup({ children, value, ariaLabel, onChange, name = React.useId(), }) {
|
|
37
|
+
return (React__default["default"].createElement("div", { role: "radiogroup", "aria-label": ariaLabel, className: styles.radioGroup }, React__default["default"].Children.map(children, option => (React__default["default"].createElement(InternalRadioOption, Object.assign({ checked: value === option.props.value, name: name, onChange: handleChange }, option.props), option.props.children)))));
|
|
38
|
+
function handleChange(newValue) {
|
|
39
|
+
if (newValue !== value) {
|
|
40
|
+
onChange(newValue);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.RadioGroup = RadioGroup;
|
|
46
|
+
exports.RadioOption = RadioOption;
|
|
@@ -4,35 +4,35 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
7
|
-
var RadioGroup = require('../RadioGroup-
|
|
8
|
-
var Text = require('../Text-
|
|
7
|
+
var RadioGroup = require('../RadioGroup-c31c2e81.js');
|
|
8
|
+
var Text = require('../Text-fdc65f0b.js');
|
|
9
9
|
require('classnames');
|
|
10
|
-
require('../Typography-
|
|
11
|
-
var Option = require('../Option-
|
|
12
|
-
var InputNumber = require('../InputNumber-
|
|
10
|
+
require('../Typography-018e1471.js');
|
|
11
|
+
var Option = require('../Option-8faed3bf.js');
|
|
12
|
+
var InputNumber = require('../InputNumber-0cc0d204.js');
|
|
13
13
|
var InputGroup = require('../InputGroup-8d4fd4eb.js');
|
|
14
14
|
var Content = require('../Content-e3f7b6fc.js');
|
|
15
|
-
require('../FormField-
|
|
15
|
+
require('../FormField-5134bf0e.js');
|
|
16
16
|
require('../tslib.es6-754e2961.js');
|
|
17
17
|
require('react-hook-form');
|
|
18
18
|
require('@jobber/hooks/useShowClear');
|
|
19
|
-
require('
|
|
20
|
-
require('@jobber/design');
|
|
21
|
-
require('../Button-6b922fc1.js');
|
|
19
|
+
require('../Button-bb77a513.js');
|
|
22
20
|
require('react-router-dom');
|
|
23
21
|
require('../Icon-405a216c.js');
|
|
24
|
-
require('
|
|
25
|
-
require('../
|
|
22
|
+
require('@jobber/design');
|
|
23
|
+
require('../InputValidation-9c582130.js');
|
|
24
|
+
require('framer-motion');
|
|
25
|
+
require('../Spinner-e15a3ae0.js');
|
|
26
26
|
|
|
27
27
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
28
28
|
|
|
29
29
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
30
30
|
|
|
31
|
-
var css_248z$5 = ".NfsRidfuJts- {\n display: grid;\n width: 100%;\n padding: calc(16px / 4);\n padding: var(--space-smaller);\n border: calc(16px / 16) solid rgb(
|
|
31
|
+
var css_248z$5 = ".NfsRidfuJts- {\n display: grid;\n width: 100%;\n padding: calc(16px / 4);\n padding: var(--space-smaller);\n border: calc(16px / 16) solid rgb(218, 224, 226);\n border: var(--border-base) solid var(--color-border);\n border-radius: calc(8px * 2);\n border-radius: var(--radius-large);\n grid-template-columns: repeat(7, 1fr);\n row-gap: calc(16px / 4);\n grid-row-gap: calc(16px / 4);\n grid-row-gap: var(--space-smaller);\n row-gap: var(--space-smaller);\n -webkit-column-gap: calc(16px / 4);\n -webkit-column-gap: var(--space-smaller);\n -moz-column-gap: calc(16px / 4);\n -moz-column-gap: var(--space-smaller);\n column-gap: calc(16px / 4);\n grid-column-gap: calc(16px / 4);\n grid-column-gap: var(--space-smaller);\n column-gap: var(--space-smaller);\n}\n";
|
|
32
32
|
var styles$4 = {"container":"NfsRidfuJts-"};
|
|
33
33
|
styleInject_es.styleInject(css_248z$5);
|
|
34
34
|
|
|
35
|
-
var css_248z$4 = ".GXNuQVAsUqs- {\n position: relative;\n}\n\n/* kept present but hidden for accessibility */\n\n.PtlN3SI-Atc- {\n clip: rect(1px, 1px, 1px, 1px);\n -webkit-clip-path: inset(50%);\n clip-path: inset(50%);\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n}\n\n.VPZ0Os9TY5k- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n padding: calc(16px / 4);\n padding: var(--space-smaller);\n border-radius: calc(
|
|
35
|
+
var css_248z$4 = ".GXNuQVAsUqs- {\n position: relative;\n}\n\n/* kept present but hidden for accessibility */\n\n.PtlN3SI-Atc- {\n clip: rect(1px, 1px, 1px, 1px);\n -webkit-clip-path: inset(50%);\n clip-path: inset(50%);\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n}\n\n.VPZ0Os9TY5k- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n padding: calc(16px / 4);\n padding: var(--space-smaller);\n border-radius: calc(8px * 2);\n border-radius: var(--radius-large);\n text-align: center;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background: rgba(255, 255, 255, 1);\n background: var(--color-surface);\n transition: 200ms;\n transition: var(--timing-base);\n}\n\n@supports (aspect-ratio: 1/1) {\n .VPZ0Os9TY5k- {\n /*\n * disabling property-no-unknown here as this is a real property\n * that stylelint just doesn't know about. We may be able to remove\n * this when we update our stylelint to not care about IE11.\n */\n /* stylelint-disable-next-line property-no-unknown */\n aspect-ratio: 1/1;\n }\n}\n\n.VPZ0Os9TY5k-:hover {\n background: rgb(241, 239, 233);\n background: var(--color-surface--hover);\n}\n\n.PtlN3SI-Atc-:focus + .VPZ0Os9TY5k- {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(131, 151, 160);\n box-shadow: var(--shadow-focus);\n background: rgb(241, 239, 233);\n background: var(--color-surface--hover);\n}\n\n.PtlN3SI-Atc-:checked + .VPZ0Os9TY5k- {\n color: rgba(255, 255, 255, 1);\n color: var(--color-text--reverse);\n background: rgb(50, 130, 28);\n background: var(--color-interactive);\n}\n\n.PtlN3SI-Atc-:disabled + .VPZ0Os9TY5k- {\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n background: rgb(241, 239, 233);\n background: var(--color-surface--background);\n cursor: default;\n}\n\n.PtlN3SI-Atc-:enabled + .VPZ0Os9TY5k- {\n cursor: pointer;\n}\n\n.PtlN3SI-Atc-:checked:focus + .VPZ0Os9TY5k- {\n background: rgb(14, 78, 26);\n background: var(--color-interactive--hover);\n}\n\n.PtlN3SI-Atc-:checked + .VPZ0Os9TY5k-:hover {\n background: rgb(14, 78, 26);\n background: var(--color-interactive--hover);\n}\n\n.PtlN3SI-Atc-:disabled:checked + .VPZ0Os9TY5k- {\n color: rgb(225, 225, 225);\n color: var(--color-disabled--secondary);\n background: rgb(181, 181, 181);\n background: var(--color-disabled);\n}\n";
|
|
36
36
|
var checkboxStyles = {"checkboxWrapper":"GXNuQVAsUqs-","dayCheckboxInput":"PtlN3SI-Atc-","dayCheckbox":"VPZ0Os9TY5k-"};
|
|
37
37
|
styleInject_es.styleInject(css_248z$4);
|
|
38
38
|
|
|
@@ -116,7 +116,7 @@ function MonthlySelect({ disabled, onChange, selectedMonthOption, }) {
|
|
|
116
116
|
React__default["default"].createElement(RadioGroup.RadioOption, { disabled: disabled, value: exports.DurationPeriod.WeekDayOfMonth, label: "Day of week" }))));
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
var css_248z$2 = ".pqYw6oCVwO8- {\n display: grid;\n grid-template-columns: calc(16px * 3) 1fr;\n grid-template-columns: var(--space-largest) 1fr;\n -ms-flex-align: center;\n align-items: center;\n gap: calc(16px / 2);\n grid-gap: calc(16px / 2);\n grid-gap: var(--space-small);\n gap: var(--space-small);\n margin-bottom: calc(-1 * (16px / 16));\n margin-bottom: calc(-1 * calc(16px / 16));\n margin-bottom: calc(-1 * var(--border-base));\n}\n\n.xtCFaHyTmfI- div:nth-of-type(1) :last-child {\n border-top-right-radius: calc(
|
|
119
|
+
var css_248z$2 = ".pqYw6oCVwO8- {\n display: grid;\n grid-template-columns: calc(16px * 3) 1fr;\n grid-template-columns: var(--space-largest) 1fr;\n -ms-flex-align: center;\n align-items: center;\n gap: calc(16px / 2);\n grid-gap: calc(16px / 2);\n grid-gap: var(--space-small);\n gap: var(--space-small);\n margin-bottom: calc(-1 * (16px / 16));\n margin-bottom: calc(-1 * calc(16px / 16));\n margin-bottom: calc(-1 * var(--border-base));\n}\n\n.xtCFaHyTmfI- div:nth-of-type(1) :last-child {\n border-top-right-radius: calc(8px * 2);\n border-top-right-radius: var(--radius-large);\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n border-top-left-radius: calc(8px * 2);\n border-top-left-radius: var(--radius-large);\n}\n\n.xtCFaHyTmfI- div:nth-of-type(2) :last-child {\n border-radius: 0;\n}\n\n.xtCFaHyTmfI- div:nth-of-type(3) :last-child {\n border-radius: 0;\n}\n\n.xtCFaHyTmfI- div:nth-of-type(4) :last-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: calc(8px * 2);\n border-bottom-right-radius: var(--radius-large);\n border-bottom-left-radius: calc(8px * 2);\n border-bottom-left-radius: var(--radius-large);\n border-top-left-radius: 0;\n}\n";
|
|
120
120
|
var styles$2 = {"container":"pqYw6oCVwO8-","parentContainer":"xtCFaHyTmfI-"};
|
|
121
121
|
styleInject_es.styleInject(css_248z$2);
|
|
122
122
|
|
|
@@ -135,7 +135,7 @@ function MonthlyDayOfWeekSelect({ disabled, selectedWeeks, onChange, }) {
|
|
|
135
135
|
})));
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
var css_248z$1 = ".dBbFx0Vu16U- {\n display: grid;\n width: 100%;\n padding: calc(16px / 4);\n padding: var(--space-smaller);\n border: calc(16px / 16) solid rgb(
|
|
138
|
+
var css_248z$1 = ".dBbFx0Vu16U- {\n display: grid;\n width: 100%;\n padding: calc(16px / 4);\n padding: var(--space-smaller);\n border: calc(16px / 16) solid rgb(218, 224, 226);\n border: var(--border-base) solid var(--color-border);\n border-radius: calc(8px * 2);\n border-radius: var(--radius-large);\n grid-template-areas:\n \". . . . . . .\"\n \". . . . . . .\"\n \". . . . . . .\"\n \". . . . . . .\"\n \". . . lastday lastday lastday lastday\";\n row-gap: calc(16px / 4);\n grid-row-gap: calc(16px / 4);\n grid-row-gap: var(--space-smaller);\n row-gap: var(--space-smaller);\n -webkit-column-gap: calc(16px / 4);\n -webkit-column-gap: var(--space-smaller);\n -moz-column-gap: calc(16px / 4);\n -moz-column-gap: var(--space-smaller);\n column-gap: calc(16px / 4);\n grid-column-gap: calc(16px / 4);\n grid-column-gap: var(--space-smaller);\n column-gap: var(--space-smaller);\n}\n\n.dBbFx0Vu16U- :last-child {\n grid-area: lastday;\n}\n\n.dBbFx0Vu16U- div:nth-child(n + 1):nth-last-child(-n + 1) label {\n height: 100%;\n}\n\n@supports (aspect-ratio: unset) {\n .dBbFx0Vu16U- div:nth-child(n + 1):nth-last-child(-n + 1) label {\n /*\n * disabling property-no-unknown here as this is a real property\n * that stylelint just doesn't know about. We may be able to remove\n * this when we update our stylelint to not care about IE11.\n */\n /* stylelint-disable-next-line property-no-unknown */\n aspect-ratio: unset;\n }\n}\n";
|
|
139
139
|
var styles$1 = {"container":"dBbFx0Vu16U-"};
|
|
140
140
|
styleInject_es.styleInject(css_248z$1);
|
|
141
141
|
|
package/dist/Select/index.js
CHANGED
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Option = require('../Option-
|
|
5
|
+
var Option = require('../Option-8faed3bf.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('../FormField-
|
|
7
|
+
require('../FormField-5134bf0e.js');
|
|
8
8
|
require('../tslib.es6-754e2961.js');
|
|
9
9
|
require('react-hook-form');
|
|
10
10
|
require('../style-inject.es-9d2f5f4e.js');
|
|
11
11
|
require('classnames');
|
|
12
12
|
require('@jobber/hooks/useShowClear');
|
|
13
|
-
require('
|
|
14
|
-
require('@jobber/design');
|
|
15
|
-
require('../Button-6b922fc1.js');
|
|
13
|
+
require('../Button-bb77a513.js');
|
|
16
14
|
require('react-router-dom');
|
|
17
15
|
require('../Icon-405a216c.js');
|
|
18
|
-
require('
|
|
19
|
-
require('../
|
|
20
|
-
require('../
|
|
21
|
-
require('../
|
|
16
|
+
require('@jobber/design');
|
|
17
|
+
require('../Typography-018e1471.js');
|
|
18
|
+
require('../Text-fdc65f0b.js');
|
|
19
|
+
require('../InputValidation-9c582130.js');
|
|
20
|
+
require('framer-motion');
|
|
21
|
+
require('../Spinner-e15a3ae0.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
package/dist/Spinner/index.js
CHANGED
|
@@ -9,7 +9,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
10
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
11
11
|
|
|
12
|
-
var css_248z = ".uoU-LfjFDv0- {\n width: calc(16px * 2);\n width: var(--space-larger);\n height: calc(16px * 2);\n height: var(--space-larger);\n box-shadow: 0px 0px 4px 2px rgba(1, 41, 57, 0.4);\n border: solid rgb(
|
|
12
|
+
var css_248z = ".uoU-LfjFDv0- {\n width: calc(16px * 2);\n width: var(--space-larger);\n height: calc(16px * 2);\n height: var(--space-larger);\n box-shadow: 0px 0px 4px 2px rgba(1, 41, 57, 0.4);\n border: solid rgb(78, 105, 116);\n border: solid var(--color-blue--light);\n border-top-color: rgba(255, 255, 255, 1);\n border-top-color: var(--color-white);\n border-width: calc((16px / 2) * 0.75);\n border-width: calc(calc(16px / 2) * 0.75);\n border-width: calc(var(--space-small) * 0.75);\n border-radius: 100%;\n border-radius: var(--radius-circle);\n background-color: rgb(218, 224, 226);\n background-color: var(--color-blue--lightest);\n -webkit-animation-duration: calc(500ms * 2);\n -webkit-animation-duration: calc(var(--timing-slowest) * 2);\n animation-duration: calc(500ms * 2);\n animation-duration: calc(var(--timing-slowest) * 2);\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: _1aCKd5q9u34-;\n animation-name: _1aCKd5q9u34-;\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n will-change: transform;\n}\n\n@-webkit-keyframes _1aCKd5q9u34- {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes _1aCKd5q9u34- {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n.cLRQwkSqnhA- {\n width: calc(16px * 1);\n width: var(--space-base);\n height: calc(16px * 1);\n height: var(--space-base);\n border-width: calc(16px / 4);\n border-width: var(--space-smaller);\n}\n\n.h6O4vDPCWOQ- {\n display: inline-block;\n margin-top: calc((16px / 4) * -1);\n margin-top: calc(calc(16px / 4) * -1);\n margin-top: calc(var(--space-smaller) * -1);\n vertical-align: middle;\n}\n";
|
|
13
13
|
var styles = {"spinner":"uoU-LfjFDv0-","animationSpin":"_1aCKd5q9u34-","small":"cLRQwkSqnhA-","inline":"h6O4vDPCWOQ-"};
|
|
14
14
|
styleInject_es.styleInject(css_248z);
|
|
15
15
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var StatusIndicator = require('../StatusIndicator-
|
|
5
|
+
var StatusIndicator = require('../StatusIndicator-dd1f0fd5.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('../style-inject.es-9d2f5f4e.js');
|
|
8
8
|
|
|
@@ -7,7 +7,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
7
7
|
|
|
8
8
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
9
9
|
|
|
10
|
-
var css_248z = ":root {\n --statusLabel-icon-diameter: 8px;\n}\n\n.ob7nhx1U-HQ- {\n display: inline-block;\n width: 8px;\n width: var(--statusLabel-icon-diameter);\n height: 8px;\n height: var(--statusLabel-icon-diameter);\n border-radius: 50%;\n background-color: rgb(
|
|
10
|
+
var css_248z = ":root {\n --statusLabel-icon-diameter: 8px;\n}\n\n.ob7nhx1U-HQ- {\n display: inline-block;\n width: 8px;\n width: var(--statusLabel-icon-diameter);\n height: 8px;\n height: var(--statusLabel-icon-diameter);\n border-radius: 50%;\n background-color: rgb(50, 130, 28);\n background-color: var(--color-success);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n";
|
|
11
11
|
var styles = {"statusIndicator":"ob7nhx1U-HQ-"};
|
|
12
12
|
styleInject_es.styleInject(css_248z);
|
|
13
13
|
|
|
@@ -5,15 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var classnames = require('classnames');
|
|
7
7
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
8
|
-
var Typography = require('../Typography-
|
|
9
|
-
var StatusIndicator = require('../StatusIndicator-
|
|
8
|
+
var Typography = require('../Typography-018e1471.js');
|
|
9
|
+
var StatusIndicator = require('../StatusIndicator-dd1f0fd5.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
12
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
14
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
15
15
|
|
|
16
|
-
var css_248z = ":root {\n --labelBackgroundColor: var(--color-success--surface);\n}\n\n.WBxCEgPiC98- {\n --labelBackgroundColor: var(--color-success--surface);\n}\n\n.ok6hVljkqSE- {\n --labelBackgroundColor: var(--color-warning--surface);\n}\n\n.-YTFHnzpkRE- {\n --labelBackgroundColor: var(--color-critical--surface);\n}\n\n._2F0I59nddP8- {\n --labelBackgroundColor: var(--color-inactive--surface);\n}\n\n.BQd6Hylvxh0- {\n --labelBackgroundColor: var(--color-informative--surface);\n}\n\n.MB0ycTR4PHg- {\n display: -ms-flexbox;\n display: flex;\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n padding: 0.375rem 0.625rem 0.375rem 0.5rem;\n border-radius: 0.75rem;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n gap: 0.375rem;\n background-color: rgb(
|
|
16
|
+
var css_248z = ":root {\n --labelBackgroundColor: var(--color-success--surface);\n}\n\n.WBxCEgPiC98- {\n --labelBackgroundColor: var(--color-success--surface);\n}\n\n.ok6hVljkqSE- {\n --labelBackgroundColor: var(--color-warning--surface);\n}\n\n.-YTFHnzpkRE- {\n --labelBackgroundColor: var(--color-critical--surface);\n}\n\n._2F0I59nddP8- {\n --labelBackgroundColor: var(--color-inactive--surface);\n}\n\n.BQd6Hylvxh0- {\n --labelBackgroundColor: var(--color-informative--surface);\n}\n\n.MB0ycTR4PHg- {\n display: -ms-flexbox;\n display: flex;\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n padding: 0.375rem 0.625rem 0.375rem 0.5rem;\n border-radius: 0.75rem;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n gap: 0.375rem;\n background-color: rgb(241, 247, 238);\n background-color: var(--labelBackgroundColor);\n}\n\n/* Reset the <Text> line height so we can reliably get 24px tall */\n\n.MB0ycTR4PHg- p {\n line-height: 1;\n}\n\n._0kNfkSPBETw- {\n -ms-flex-direction: row-reverse;\n flex-direction: row-reverse;\n}\n\n.NYMNxZSup30- {\n display: -ms-flexbox;\n display: flex;\n padding-top: 0.125rem;\n}\n";
|
|
17
17
|
var styles = {"success":"WBxCEgPiC98-","warning":"ok6hVljkqSE-","critical":"-YTFHnzpkRE-","inactive":"_2F0I59nddP8-","informative":"BQd6Hylvxh0-","statusLabelRow":"MB0ycTR4PHg-","labelTextEndAligned":"_0kNfkSPBETw-","statusIndicatorWrapper":"NYMNxZSup30-"};
|
|
18
18
|
styleInject_es.styleInject(css_248z);
|
|
19
19
|
|
package/dist/Switch/index.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Switch = require('../Switch-
|
|
5
|
+
var Switch = require('../Switch-57fbf575.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('../style-inject.es-9d2f5f4e.js');
|
|
9
|
-
require('../Typography-
|
|
9
|
+
require('../Typography-018e1471.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|