@jobber/components 4.59.0 → 4.59.1-st-spike-w.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AnimatedSwitcher/index.js +5 -13
- package/dist/{AnimatedSwitcher-d1e1ddcf.js → AnimatedSwitcher-6ffd5003.js} +9 -15
- package/dist/Autocomplete/index.js +57 -68
- package/dist/Avatar/index.js +7 -15
- package/dist/{Avatar-1aa30ee1.js → Avatar-b2e862de.js} +13 -21
- package/dist/Banner/index.js +29 -38
- package/dist/Button/index.js +8 -16
- package/dist/{Button-db6114a6.js → Button-319d8fa0.js} +15 -22
- package/dist/ButtonDismiss/index.js +9 -17
- package/dist/ButtonDismiss-85986110.js +8 -0
- package/dist/Card/index.js +15 -23
- package/dist/{Card-116af709.js → Card-c1970a7c.js} +27 -34
- package/dist/Checkbox/index.js +11 -19
- package/dist/{Checkbox-bc4bc968.js → Checkbox-e4733fb4.js} +30 -37
- package/dist/Chip/index.js +24 -33
- package/dist/{Chip-4f12eec8.js → Chip-12a64c38.js} +94 -106
- package/dist/{Chip-f8b8fd89.js → Chip-40f5214c.js} +29 -37
- package/dist/Chips/index.js +25 -34
- package/dist/Combobox/index.js +94 -105
- package/dist/ConfirmationModal/index.js +22 -30
- package/dist/{ConfirmationModal-285c3cbe.js → ConfirmationModal-86b42ca0.js} +14 -20
- package/dist/Content/index.js +4 -12
- package/dist/{Content-2ca1ffe1.js → Content-3354c281.js} +8 -14
- package/dist/Countdown/index.js +8 -17
- package/dist/DataDump/index.js +24 -32
- package/dist/DataList/index.js +256 -268
- package/dist/DataTable/index.js +92 -123
- package/dist/DatePicker/index.js +12 -20
- package/dist/{DatePicker-49213434.js → DatePicker-9f1e19a5.js} +30 -39
- package/dist/DescriptionList/index.js +9 -17
- package/dist/Disclosure/index.js +21 -29
- package/dist/Divider/index.js +7 -16
- package/dist/Drawer/index.js +24 -34
- package/dist/Emphasis/index.js +5 -13
- package/dist/Emphasis-edd2af9b.js +13 -0
- package/dist/FeatureSwitch/index.js +39 -48
- package/dist/Flex/index.js +6 -15
- package/dist/Form/index.js +11 -19
- package/dist/FormField/index.js +16 -24
- package/dist/{FormField-fa9254dc.js → FormField-99918ed4.js} +58 -65
- package/dist/FormatDate/index.js +2 -11
- package/dist/{FormatDate-70ea5b43.js → FormatDate-720b39cf.js} +3 -10
- package/dist/FormatEmail/index.js +7 -16
- package/dist/FormatFile/index.js +27 -35
- package/dist/{FormatFile-6423c3b5.js → FormatFile-e1498cb9.js} +44 -52
- package/dist/FormatRelativeDateTime/index.js +7 -15
- package/dist/FormatTime/index.js +3 -11
- package/dist/Gallery/index.js +40 -49
- package/dist/Glimmer/index.js +6 -15
- package/dist/{Glimmer-cfa92a88.js → Glimmer-d3be9219.js} +25 -33
- package/dist/Grid/index.js +14 -24
- package/dist/Heading/index.js +5 -13
- package/dist/{Heading-4cde9989.js → Heading-04994667.js} +4 -10
- package/dist/Icon/index.js +3 -11
- package/dist/Icon-22723fe6.js +34 -0
- package/dist/InlineLabel/index.js +5 -13
- package/dist/{InlineLabel-a24706c4.js → InlineLabel-4df86867.js} +9 -16
- package/dist/InputAvatar/index.js +32 -40
- package/dist/InputDate/index.js +26 -35
- package/dist/InputEmail/index.js +18 -27
- package/dist/InputFile/index.js +14 -23
- package/dist/{InputFile-25c3369b.js → InputFile-3bbaa09e.js} +24 -33
- package/dist/InputGroup/index.js +4 -12
- package/dist/{InputGroup-3fdde16b.js → InputGroup-1b4abd36.js} +9 -16
- package/dist/InputNumber/index.js +17 -25
- package/dist/{InputNumber-ea9fcee1.js → InputNumber-fa8132f3.js} +7 -13
- package/dist/InputPassword/index.js +19 -27
- package/dist/InputPhoneNumber/index.js +28 -36
- package/dist/InputText/index.js +17 -25
- package/dist/{InputText-ab237501.js → InputText-6d262128.js} +9 -15
- package/dist/InputTime/index.js +29 -38
- package/dist/InputValidation/index.js +9 -17
- package/dist/InputValidation-b6adff05.js +23 -0
- package/dist/LightBox/index.js +16 -24
- package/dist/LightBox-8c8f30b1.js +109 -0
- package/dist/Link/index.js +3 -11
- package/dist/List/index.js +47 -59
- package/dist/Markdown/index.js +10 -18
- package/dist/Markdown-2ec28e51.js +55 -0
- package/dist/Menu/index.js +13 -21
- package/dist/{Menu-2e64307a.js → Menu-10681184.js} +40 -47
- package/dist/Modal/index.js +16 -24
- package/dist/{Modal-c17cc105.js → Modal-06dc9551.js} +33 -41
- package/dist/MultiSelect/index.js +38 -47
- package/dist/Option-7967170c.js +12 -0
- package/dist/Page/index.js +48 -57
- package/dist/Popover/index.js +12 -20
- package/dist/{Popover-7c966790.js → Popover-a93db92d.js} +15 -21
- package/dist/ProgressBar/index.js +4 -12
- package/dist/{ProgressBar-5dfc1885.js → ProgressBar-04ee007d.js} +8 -15
- package/dist/RadioGroup/index.js +7 -16
- package/dist/{RadioGroup-9bdd8a59.js → RadioGroup-2ccd0678.js} +16 -23
- package/dist/RecurringSelect/index.js +90 -98
- package/dist/Select/index.js +17 -26
- package/dist/Spinner/index.js +4 -12
- package/dist/{Spinner-9d8fc7ff.js → Spinner-5d8359b8.js} +7 -14
- package/dist/StatusLabel/index.js +12 -21
- package/dist/Switch/index.js +5 -13
- package/dist/{Switch-cc9b645c.js → Switch-8bee06df.js} +17 -24
- package/dist/Table/index.js +19 -35
- package/dist/Tabs/index.js +23 -33
- package/dist/Text/index.js +5 -13
- package/dist/{Text-54334431.js → Text-703e2c21.js} +4 -10
- package/dist/Toast/index.js +32 -40
- package/dist/Tooltip/index.js +7 -15
- package/dist/{Tooltip-6b12f1c2.js → Tooltip-c80b9fb7.js} +22 -30
- package/dist/Typography/index.js +4 -12
- package/dist/{Typography-83915c54.js → Typography-09952a2f.js} +15 -22
- package/dist/{style-inject.es-9d2f5f4e.js → style-inject.es-a0e1a0ba.js} +1 -3
- package/dist/{tslib.es6-5b8768b7.js → tslib.es6-5849cd88.js} +1 -4
- package/package.json +3 -3
- package/rollup.config.js +1 -1
- package/dist/ButtonDismiss-1ccb84ec.js +0 -14
- package/dist/Emphasis-e10dde65.js +0 -19
- package/dist/Icon-405a216c.js +0 -40
- package/dist/InputValidation-377d6c62.js +0 -29
- package/dist/LightBox-93ef99b9.js +0 -117
- package/dist/Markdown-d53b01bf.js +0 -62
- package/dist/Option-07a24acd.js +0 -19
package/dist/Flex/index.js
CHANGED
|
@@ -1,22 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var classnames = require('classnames');
|
|
7
|
-
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
8
|
-
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
-
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { s as styleInject } from '../style-inject.es-a0e1a0ba.js';
|
|
13
4
|
|
|
14
5
|
var css_248z = "._8VpnrMKmsqQ- {\n display: grid;\n /* If this gets wrapped in a flex container, it should take the remaining space */\n -ms-flex: 1;\n flex: 1;\n}\n\n.ooF1YfV4Usc- {\n gap: calc(16px / 8);\n gap: var(--space-smallest);\n}\n\n.ppCZfXq-Kqc- {\n gap: calc(16px / 4);\n gap: var(--space-smaller);\n}\n\n.tElkBalXH3g- {\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n\n._4u3OwUKxxbg- {\n gap: calc(16px * 1);\n gap: var(--space-base);\n}\n\n.RL7CJla0AAI- {\n gap: calc(16px * 1.5);\n gap: var(--space-large);\n}\n\n.fV4cvFYkhgo- {\n gap: 0;\n}\n\n._04xVVjZgr-0- {\n -ms-flex-align: start;\n align-items: start;\n}\n\n.Nc3zrqHHYSg- {\n -ms-flex-align: center;\n align-items: center;\n}\n\n.qA-v50wBX1U- {\n -ms-flex-align: end;\n align-items: end;\n}\n";
|
|
15
6
|
var styles = {"flexible":"_8VpnrMKmsqQ-","smallestGap":"ooF1YfV4Usc-","smallerGap":"ppCZfXq-Kqc-","smallGap":"tElkBalXH3g-","baseGap":"_4u3OwUKxxbg-","largeGap":"RL7CJla0AAI-","noneGap":"fV4cvFYkhgo-","startAlign":"_04xVVjZgr-0-","centerAlign":"Nc3zrqHHYSg-","endAlign":"qA-v50wBX1U-"};
|
|
16
|
-
|
|
7
|
+
styleInject(css_248z);
|
|
17
8
|
|
|
18
9
|
function Flex({ align = "center", children, direction = "row", gap = "base", template, }) {
|
|
19
|
-
return (
|
|
10
|
+
return (React.createElement("div", { className: classnames(styles.flexible, {
|
|
20
11
|
[styles[`${gap}Gap`]]: Boolean(gap),
|
|
21
12
|
[styles[`${align}Align`]]: Boolean(align),
|
|
22
13
|
}), style: generateGridStylesFromTemplate(direction, template) }, children));
|
|
@@ -37,4 +28,4 @@ function generateGridStylesFromTemplate(direction, layoutTemplate) {
|
|
|
37
28
|
return containerStyles;
|
|
38
29
|
}
|
|
39
30
|
|
|
40
|
-
|
|
31
|
+
export { Flex };
|
package/dist/Form/index.js
CHANGED
|
@@ -1,27 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import { a as __awaiter } from '../tslib.es6-5849cd88.js';
|
|
2
|
+
import React, { forwardRef, useEffect, useImperativeHandle } from 'react';
|
|
3
|
+
import { useForm, FormProvider } from 'react-hook-form';
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var tslib_es6 = require('../tslib.es6-5b8768b7.js');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
var reactHookForm = require('react-hook-form');
|
|
8
|
-
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
-
|
|
13
|
-
const Form = React.forwardRef(function InternalForm({ onSubmit, children, onStateChange }, ref) {
|
|
14
|
-
const methods = reactHookForm.useForm({ mode: "onTouched" });
|
|
5
|
+
const Form = forwardRef(function InternalForm({ onSubmit, children, onStateChange }, ref) {
|
|
6
|
+
const methods = useForm({ mode: "onTouched" });
|
|
15
7
|
const { trigger, handleSubmit, formState: { isDirty, isValid, errors }, } = methods;
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
useEffect(() => onStateChange && onStateChange({ isDirty, isValid }), [isDirty, isValid]);
|
|
9
|
+
useImperativeHandle(ref, () => ({
|
|
18
10
|
/**
|
|
19
11
|
* The `trigger()` method can also accept an array
|
|
20
12
|
* of fields to validate. We may at some point want
|
|
21
13
|
* to consider adding a `validate()` method to the
|
|
22
14
|
* `Form` component.
|
|
23
15
|
*/
|
|
24
|
-
submit: () =>
|
|
16
|
+
submit: () => __awaiter(this, void 0, void 0, function* () {
|
|
25
17
|
const valid = yield trigger();
|
|
26
18
|
if (valid) {
|
|
27
19
|
submitHandler();
|
|
@@ -41,8 +33,8 @@ const Form = React.forwardRef(function InternalForm({ onSubmit, children, onStat
|
|
|
41
33
|
const formProps = {
|
|
42
34
|
onSubmit: onSubmit && handleSubmit(submitHandler, errorHandler),
|
|
43
35
|
};
|
|
44
|
-
return (
|
|
45
|
-
|
|
36
|
+
return (React.createElement(FormProvider, Object.assign({}, methods),
|
|
37
|
+
React.createElement(Wrapper, Object.assign({}, formProps, { "data-testid": "atlantis-form" }), children)));
|
|
46
38
|
function submitHandler() {
|
|
47
39
|
onSubmit && onSubmit();
|
|
48
40
|
}
|
|
@@ -55,4 +47,4 @@ const Form = React.forwardRef(function InternalForm({ onSubmit, children, onStat
|
|
|
55
47
|
}
|
|
56
48
|
});
|
|
57
49
|
|
|
58
|
-
|
|
50
|
+
export { Form };
|
package/dist/FormField/index.js
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
require('../Text-54334431.js');
|
|
18
|
-
require('../InputValidation-377d6c62.js');
|
|
19
|
-
require('framer-motion');
|
|
20
|
-
require('../Spinner-9d8fc7ff.js');
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
exports.FormField = FormField.FormField;
|
|
1
|
+
export { F as FormField } from '../FormField-99918ed4.js';
|
|
2
|
+
import '../tslib.es6-5849cd88.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'uuid';
|
|
5
|
+
import 'react-hook-form';
|
|
6
|
+
import '../style-inject.es-a0e1a0ba.js';
|
|
7
|
+
import 'classnames';
|
|
8
|
+
import '../Button-319d8fa0.js';
|
|
9
|
+
import 'react-router-dom';
|
|
10
|
+
import '../Icon-22723fe6.js';
|
|
11
|
+
import '@jobber/design';
|
|
12
|
+
import '../Typography-09952a2f.js';
|
|
13
|
+
import '../Text-703e2c21.js';
|
|
14
|
+
import '../InputValidation-b6adff05.js';
|
|
15
|
+
import 'framer-motion';
|
|
16
|
+
import '../Spinner-5d8359b8.js';
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var InputValidation = require('./InputValidation-377d6c62.js');
|
|
13
|
-
var Spinner = require('./Spinner-9d8fc7ff.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 classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
1
|
+
import { _ as __rest } from './tslib.es6-5849cd88.js';
|
|
2
|
+
import React, { useRef, useState, useEffect, useImperativeHandle } from 'react';
|
|
3
|
+
import { v1 } from 'uuid';
|
|
4
|
+
import { useFormContext, useForm, Controller } from 'react-hook-form';
|
|
5
|
+
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
6
|
+
import classnames from 'classnames';
|
|
7
|
+
import { B as Button } from './Button-319d8fa0.js';
|
|
8
|
+
import { I as Icon } from './Icon-22723fe6.js';
|
|
9
|
+
import { T as Text } from './Text-703e2c21.js';
|
|
10
|
+
import { I as InputValidation } from './InputValidation-b6adff05.js';
|
|
11
|
+
import { S as Spinner } from './Spinner-5d8359b8.js';
|
|
19
12
|
|
|
20
13
|
var css_248z = ":root {\n /**\n * These `--public-field` properties are used in other components such\n * as InputGroup, therefore they must stay on :root\n **/\n --public-field--top-left-radius: var(--radius-base);\n --public-field--top-right-radius: var(--radius-base);\n --public-field--bottom-left-radius: var(--radius-base);\n --public-field--bottom-right-radius: var(--radius-base);\n}\n\n.geR7qBhrMfk- {\n width: 100%;\n}\n\n/**\n * Wrapper\n **/\n\n.nPGhTEEzsoU- {\n --field--placeholder-color: var(--color-greyBlue--light);\n --field--placeholder-offset: 50%;\n --field--placeholder-transform: -50%;\n\n --field--textAlign: left;\n\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 --field--value-color: var(--color-heading);\n --field--value-lineHeight: calc(var(--base-unit) * 1.25);\n\n --field--border-color: var(--color-border);\n --field--background-color: var(--color-surface);\n\n --field--base-elevation: var(--elevation-base);\n --field--label-elevation: calc(var(--field--base-elevation) + 1);\n --field--postfix-elevation: calc(var(--field--base-elevation) - 1);\n --field--postfix-action-elevation: calc(var(--field--base-elevation) + 2);\n\n display: -ms-flexbox;\n\n display: flex;\n width: 100%;\n height: calc(16px * 3);\n height: var(--field--height);\n border: calc(16px / 16) solid rgb(225, 225, 225);\n border: var(--border-base) solid var(--field--border-color);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n border-top-right-radius: calc(16px / 8);\n border-top-right-radius: var(--public-field--top-right-radius);\n border-bottom-right-radius: calc(16px / 8);\n border-bottom-right-radius: var(--public-field--bottom-right-radius);\n border-bottom-left-radius: calc(16px / 8);\n border-bottom-left-radius: var(--public-field--bottom-left-radius);\n border-top-left-radius: calc(16px / 8);\n border-top-left-radius: var(--public-field--top-left-radius);\n color: rgb(1, 41, 57);\n color: var(--field--value-color);\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 background-color: rgba(255, 255, 255, 1);\n background-color: var(--field--background-color);\n}\n\n.nPGhTEEzsoU- * {\n box-sizing: border-box;\n}\n\n.nPGhTEEzsoU-:focus-within {\n position: relative;\n z-index: var(--field--base-elevation);\n box-shadow: 0px 0px calc(16px / 4) calc(16px / 8)\n rgb(231, 213, 87);\n box-shadow: var(--shadow-focus);\n}\n\n.UIZq8hTmJVU- {\n --field--placeholder-color: var(--color-text--secondary);\n --field--placeholder-offset: var(--space-smallest);\n --field--placeholder-transform: 0;\n --field--padding-top: calc(var(--space-base) + var(--space-smaller));\n --field--padding-bottom: var(--space-small);\n}\n\n.UIZq8hTmJVU-.Ku8sWS0mLew- {\n --field--padding-top: calc(var(--space-large) + var(--space-smaller));\n}\n\n.nPGhTEEzsoU-.mgPacJ6Z71Y- {\n --field--placeholder-offset: 0;\n --field--placeholder-transform: 0;\n height: auto;\n min-height: auto;\n}\n\n.gJ-15M615eY-,\n.gJ-15M615eY-:focus-within {\n --field--border-color: var(--color-critical);\n position: relative;\n}\n\n._1rsTLm5GwcM- {\n --field--placeholder-color: var(--color-disabled);\n --field--value-color: var(--color-disabled);\n --field--background-color: var(--color-surface--background);\n --field--border-color: var(--color-disabled--secondary);\n}\n\n/* override iOS default styling for disabled input */\n\n._1rsTLm5GwcM- :disabled {\n -webkit-text-fill-color: var(--field--value-color);\n opacity: 1;\n}\n\n.o8D-H-lKfDk- {\n --field--padding-left: calc(var(--space-base) - var(--space-smaller));\n --field--padding-right: calc(var(--space-base) - var(--space-smaller));\n --field--padding-top: var(--space-small);\n --field--padding-bottom: var(--space-small);\n --field--height: calc(var(--space-larger) + var(--space-smaller));\n}\n\n.Ku8sWS0mLew- {\n --field--padding-left: var(--space-large);\n --field--padding-right: var(--space-large);\n --field--height: calc(var(--space-extravagant));\n}\n\n._5Hu2F3cBvng- {\n display: inline-block;\n width: auto;\n}\n\n.s1WLQs6ffD8- {\n --field--textAlign: center;\n}\n\n.a2r4QheWYIA- {\n --field--textAlign: right;\n}\n\n/**\n * The custom property --formField-maxLength is getting defined inside the\n * component.\n */\n\n.KdAnXK1gClo- {\n width: calc(\n (16px * var(--formField-maxLength)) + var(--field--padding-left) +\n var(--field--padding-right)\n );\n width: calc(\n (var(--base-unit) * var(--formField-maxLength)) + var(--field--padding-left) +\n var(--field--padding-right)\n );\n}\n\n/**\n * Input Wrapper\n **/\n\n.iQFhpFYnz-8- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex: 1;\n flex: 1;\n position: relative;\n /* Ensure input stays with the rest of the element stack */\n z-index: 0;\n z-index: var(--elevation-default);\n}\n\n.Yo2Wi9dpa-Y- {\n position: relative;\n -ms-flex: 1;\n flex: 1;\n}\n\n/**\n * Input\n **/\n\n.LSHPV7PwOTg- {\n position: relative;\n z-index: var(--field--base-elevation);\n width: 100%;\n height: 100%;\n padding-top: var(--field--padding-top);\n padding-bottom: var(--field--padding-bottom);\n padding-left: var(--field--padding-left);\n padding-right: var(--field--padding-right);\n border: none;\n border-radius: 0;\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n line-height: var(--field--value-lineHeight);\n text-align: var(--field--textAlign);\n background: transparent;\n -webkit-appearance: none;\n appearance: none;\n}\n\n.LSHPV7PwOTg-:focus {\n outline: none;\n}\n\n.mgPacJ6Z71Y- .LSHPV7PwOTg- {\n resize: vertical;\n}\n\n.i31GQXcMz54- .LSHPV7PwOTg- {\n z-index: var(--field--label-elevation);\n}\n\n.LSHPV7PwOTg-:-webkit-autofill,\n.LSHPV7PwOTg-:-webkit-autofill:hover,\n.LSHPV7PwOTg-:-webkit-autofill:focus,\n.LSHPV7PwOTg-:-webkit-autofill:active {\n -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 1) inset !important;\n -webkit-box-shadow: 0 0 0 30px var(--color-surface) inset !important;\n}\n\n/**\n * Label\n **/\n\n._3xREbTN5pPg- {\n position: absolute;\n top: var(--field--placeholder-offset);\n z-index: var(--field--label-elevation);\n width: 100%;\n padding-left: var(--field--padding-left);\n padding-right: var(--field--padding-right);\n overflow: hidden;\n color: var(--field--placeholder-color);\n line-height: var(--field--value-lineHeight);\n text-align: var(--field--textAlign);\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: none;\n -webkit-transform: translateY(var(--field--placeholder-transform));\n transform: translateY(var(--field--placeholder-transform));\n transition: all 100ms;\n transition: all var(--timing-quick);\n}\n\n.UIZq8hTmJVU- ._3xREbTN5pPg- {\n font-size: calc((16px * 1) * 0.75);\n font-size: calc(calc(16px * 1) * 0.75);\n font-size: var(--typography--fontSize-small);\n}\n\n.mgPacJ6Z71Y- ._3xREbTN5pPg- {\n /* Changes the width so that the scrollbar on the textarea doesn't get cut off */\n width: calc(100% - var(--field--padding-right));\n padding-top: var(--field--padding-top);\n /* Remove padding on right to make use of the entire width */\n padding-right: 0;\n -webkit-transform: translateY(--field--placeholder-transform);\n transform: translateY(--field--placeholder-transform);\n}\n\n.mgPacJ6Z71Y-.UIZq8hTmJVU- ._3xREbTN5pPg- {\n padding-top: calc(16px / 8);\n padding-top: var(--space-smallest);\n background-color: var(--field--background-color);\n}\n\n.o8D-H-lKfDk-.UIZq8hTmJVU- ._3xREbTN5pPg- {\n display: none;\n}\n\n.Ku8sWS0mLew-.UIZq8hTmJVU- ._3xREbTN5pPg- {\n padding-top: calc(16px / 2);\n padding-top: var(--space-small);\n}\n\n/**\n * Postfix\n **/\n\n.VtnAk1HYMMk- {\n position: absolute;\n top: 50%;\n right: calc(16px * 1);\n right: var(--space-base);\n z-index: var(--field--postfix-elevation);\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n\n/**\n * Affix\n **/\n\n.uPLklxvtfJw- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 0 calc(var(--field--padding-left) * -1) 0 0;\n padding: 0 var(--field--padding-right) 0 var(--field--padding-left);\n}\n\n@supports (aspect-ratio: 1/1) {\n .uPLklxvtfJw- {\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 padding: 0;\n }\n}\n\n.uPLklxvtfJw-.pYqqDvv57JE- {\n margin: 0 0 0 calc(var(--field--padding-right) * -1);\n}\n\n.uPLklxvtfJw-.eI44oQpuVlk- {\n position: relative;\n z-index: var(--field--postfix-action-elevation);\n}\n\n.jO8P2iSHilM- {\n display: -ms-flexbox;\n display: flex;\n margin: 0 calc((var(--field--padding-left) - calc(16px / 8)) * -1) 0 0;\n margin: 0 calc((var(--field--padding-left) - var(--space-smallest)) * -1) 0 0;\n padding: 0 0 0 var(--field--padding-left);\n line-height: var(--field--value-lineHeight);\n -ms-flex-align: center;\n align-items: center;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n\n.jO8P2iSHilM-.pYqqDvv57JE- {\n margin: 0 0 0 calc((var(--field--padding-left) - calc(16px / 8)) * -1);\n margin: 0 0 0 calc((var(--field--padding-left) - var(--space-smallest)) * -1);\n padding: 0 var(--field--padding-left) 0 0;\n}\n\n.UIZq8hTmJVU-:not(.o8D-H-lKfDk-) .jO8P2iSHilM- {\n padding-top: var(--field--padding-top);\n padding-bottom: var(--field--padding-bottom);\n}\n\n._2GfgzNnLOSI- {\n margin-top: calc(16px / 4);\n margin-top: var(--space-smaller);\n}\n";
|
|
21
14
|
var styles = {"container":"geR7qBhrMfk-","wrapper":"nPGhTEEzsoU-","miniLabel":"UIZq8hTmJVU-","large":"Ku8sWS0mLew-","textarea":"mgPacJ6Z71Y-","invalid":"gJ-15M615eY-","disabled":"_1rsTLm5GwcM-","small":"o8D-H-lKfDk-","inline":"_5Hu2F3cBvng-","center":"s1WLQs6ffD8-","right":"a2r4QheWYIA-","maxLength":"KdAnXK1gClo-","inputWrapper":"iQFhpFYnz-8-","childrenWrapper":"Yo2Wi9dpa-Y-","input":"LSHPV7PwOTg-","select":"i31GQXcMz54-","label":"_3xREbTN5pPg-","postfix":"VtnAk1HYMMk-","affixIcon":"uPLklxvtfJw-","suffix":"pYqqDvv57JE-","hasAction":"eI44oQpuVlk-","affixLabel":"jO8P2iSHilM-","description":"_2GfgzNnLOSI-"};
|
|
22
|
-
|
|
15
|
+
styleInject(css_248z);
|
|
23
16
|
|
|
24
17
|
function AffixLabel({ label, variation = "prefix", labelRef, }) {
|
|
25
|
-
const affixLabelClass =
|
|
18
|
+
const affixLabelClass = classnames(styles.affixLabel, {
|
|
26
19
|
[styles.suffix]: variation === "suffix",
|
|
27
20
|
});
|
|
28
|
-
return (
|
|
21
|
+
return (React.createElement("div", { ref: labelRef, className: affixLabelClass }, label));
|
|
29
22
|
}
|
|
30
23
|
function AffixIcon({ icon, onClick, ariaLabel, variation = "prefix", size, }) {
|
|
31
|
-
const affixIconClass =
|
|
24
|
+
const affixIconClass = classnames(styles.affixIcon, {
|
|
32
25
|
[styles.suffix]: variation === "suffix",
|
|
33
26
|
[styles.hasAction]: onClick,
|
|
34
27
|
});
|
|
35
28
|
const iconSize = size === "small" ? "small" : "base";
|
|
36
29
|
if (!icon)
|
|
37
|
-
return
|
|
38
|
-
return (
|
|
30
|
+
return React.createElement(React.Fragment, null);
|
|
31
|
+
return (React.createElement("div", { className: affixIconClass }, onClick ? (React.createElement(Button
|
|
39
32
|
/**
|
|
40
33
|
* We can cast the ariaLabel here as a `Suffix`
|
|
41
34
|
* requires an ariaLabel if there is an action
|
|
@@ -45,16 +38,16 @@ function AffixIcon({ icon, onClick, ariaLabel, variation = "prefix", size, }) {
|
|
|
45
38
|
* We can cast the ariaLabel here as a `Suffix`
|
|
46
39
|
* requires an ariaLabel if there is an action
|
|
47
40
|
*/
|
|
48
|
-
ariaLabel: ariaLabel, icon: icon, onClick: onClick, variation: "subtle", type: "tertiary", size: iconSize })) : (
|
|
41
|
+
ariaLabel: ariaLabel, icon: icon, onClick: onClick, variation: "subtle", type: "tertiary", size: iconSize })) : (React.createElement(Icon, { name: icon, size: iconSize, color: "greyBlue" }))));
|
|
49
42
|
}
|
|
50
43
|
|
|
51
44
|
function FormFieldDescription({ id, description, }) {
|
|
52
|
-
return (
|
|
53
|
-
|
|
45
|
+
return (React.createElement("div", { id: id, className: styles.description },
|
|
46
|
+
React.createElement(Text, { size: "small", variation: "subdued" }, description)));
|
|
54
47
|
}
|
|
55
48
|
|
|
56
49
|
function FormFieldWrapper({ align, description, descriptionIdentifier, placeholder, value, children, invalid, error, size, prefix, suffix, max, maxLength, type, disabled, inline, identifier, }) {
|
|
57
|
-
const wrapperClasses =
|
|
50
|
+
const wrapperClasses = classnames(styles.wrapper, size && styles[size], align && styles[align], {
|
|
58
51
|
[styles.miniLabel]: (placeholder && value !== "") ||
|
|
59
52
|
(placeholder && type === "select") ||
|
|
60
53
|
(placeholder && type === "time") ||
|
|
@@ -66,34 +59,34 @@ function FormFieldWrapper({ align, description, descriptionIdentifier, placehold
|
|
|
66
59
|
[styles.disabled]: disabled,
|
|
67
60
|
[styles.maxLength]: maxLength,
|
|
68
61
|
});
|
|
69
|
-
const containerClasses =
|
|
62
|
+
const containerClasses = classnames(styles.container, {
|
|
70
63
|
[styles.inline]: inline,
|
|
71
64
|
});
|
|
72
65
|
const wrapperInlineStyle = {
|
|
73
66
|
["--formField-maxLength"]: maxLength || max,
|
|
74
67
|
};
|
|
75
|
-
const prefixRef =
|
|
76
|
-
const suffixRef =
|
|
77
|
-
const [labelStyle, setLabelStyle] =
|
|
68
|
+
const prefixRef = useRef();
|
|
69
|
+
const suffixRef = useRef();
|
|
70
|
+
const [labelStyle, setLabelStyle] = useState({
|
|
78
71
|
paddingLeft: undefined,
|
|
79
72
|
paddingRight: undefined,
|
|
80
73
|
});
|
|
81
|
-
|
|
74
|
+
useEffect(() => {
|
|
82
75
|
setLabelStyle(getAffixPaddding);
|
|
83
76
|
}, [value]);
|
|
84
|
-
return (
|
|
85
|
-
|
|
86
|
-
(prefix === null || prefix === void 0 ? void 0 : prefix.icon) &&
|
|
87
|
-
|
|
88
|
-
placeholder && (
|
|
77
|
+
return (React.createElement("div", { className: containerClasses },
|
|
78
|
+
React.createElement("div", { className: wrapperClasses, style: wrapperInlineStyle },
|
|
79
|
+
(prefix === null || prefix === void 0 ? void 0 : prefix.icon) && React.createElement(AffixIcon, Object.assign({}, prefix, { size: size })),
|
|
80
|
+
React.createElement("div", { className: styles.inputWrapper },
|
|
81
|
+
placeholder && (React.createElement("label", { className: styles.label, htmlFor: identifier, style: (prefixRef === null || prefixRef === void 0 ? void 0 : prefixRef.current) || (suffixRef === null || suffixRef === void 0 ? void 0 : suffixRef.current)
|
|
89
82
|
? labelStyle
|
|
90
83
|
: undefined }, placeholder)),
|
|
91
|
-
(prefix === null || prefix === void 0 ? void 0 : prefix.label) &&
|
|
92
|
-
|
|
93
|
-
(suffix === null || suffix === void 0 ? void 0 : suffix.label) && (
|
|
94
|
-
(suffix === null || suffix === void 0 ? void 0 : suffix.icon) && (
|
|
95
|
-
description && !inline && (
|
|
96
|
-
error && !inline &&
|
|
84
|
+
(prefix === null || prefix === void 0 ? void 0 : prefix.label) && React.createElement(AffixLabel, Object.assign({}, prefix, { labelRef: prefixRef })),
|
|
85
|
+
React.createElement("div", { className: styles.childrenWrapper }, children),
|
|
86
|
+
(suffix === null || suffix === void 0 ? void 0 : suffix.label) && (React.createElement(AffixLabel, Object.assign({}, suffix, { labelRef: suffixRef, variation: "suffix" })))),
|
|
87
|
+
(suffix === null || suffix === void 0 ? void 0 : suffix.icon) && (React.createElement(AffixIcon, Object.assign({}, suffix, { variation: "suffix", size: size })))),
|
|
88
|
+
description && !inline && (React.createElement(FormFieldDescription, { id: descriptionIdentifier, description: description })),
|
|
89
|
+
error && !inline && React.createElement(InputValidation, { message: error })));
|
|
97
90
|
function getAffixPaddding() {
|
|
98
91
|
const hasValue = value !== "";
|
|
99
92
|
const newPadding = {
|
|
@@ -119,7 +112,7 @@ function FormFieldWrapper({ align, description, descriptionIdentifier, placehold
|
|
|
119
112
|
}
|
|
120
113
|
|
|
121
114
|
function FormFieldPostFix({ variation }) {
|
|
122
|
-
return (
|
|
115
|
+
return (React.createElement("span", { className: styles.postfix }, variation === "select" ? (React.createElement(Icon, { name: "arrowDown" })) : (React.createElement(Spinner, { size: "small" }))));
|
|
123
116
|
}
|
|
124
117
|
|
|
125
118
|
// Added 13th statement to accommodate getErrorMessage function
|
|
@@ -127,49 +120,49 @@ function FormFieldPostFix({ variation }) {
|
|
|
127
120
|
function FormField(props) {
|
|
128
121
|
var _a, _b;
|
|
129
122
|
const { actionsRef, autocomplete = true, children, defaultValue, description, disabled, inputRef, inline, keyboard, max, maxLength, min, name, readonly, rows, loading, type = "text", validations, value, onChange, onEnter, onFocus, onBlur, onValidation, } = props;
|
|
130
|
-
const { control, formState: { errors }, setValue, watch, } =
|
|
131
|
-
?
|
|
123
|
+
const { control, formState: { errors }, setValue, watch, } = useFormContext() != undefined
|
|
124
|
+
? useFormContext()
|
|
132
125
|
: // If there isn't a Form Context being provided, get a form for this field.
|
|
133
|
-
|
|
134
|
-
const [identifier] =
|
|
135
|
-
const [descriptionIdentifier] =
|
|
126
|
+
useForm({ mode: "onTouched" });
|
|
127
|
+
const [identifier] = useState(v1());
|
|
128
|
+
const [descriptionIdentifier] = useState(`descriptionUUID--${v1()}`);
|
|
136
129
|
/**
|
|
137
130
|
* Generate a name if one is not supplied, this is the name
|
|
138
131
|
* that will be used for react-hook-form and not neccessarily
|
|
139
132
|
* attached to the DOM
|
|
140
133
|
*/
|
|
141
|
-
const [controlledName] =
|
|
142
|
-
|
|
134
|
+
const [controlledName] = useState(name ? name : `generatedName--${identifier}`);
|
|
135
|
+
useEffect(() => {
|
|
143
136
|
if (value != undefined) {
|
|
144
137
|
setValue(controlledName, value);
|
|
145
138
|
}
|
|
146
139
|
}, [value, watch(controlledName)]);
|
|
147
|
-
|
|
140
|
+
useImperativeHandle(actionsRef, () => ({
|
|
148
141
|
setValue: newValue => {
|
|
149
142
|
setValue(controlledName, newValue, { shouldValidate: true });
|
|
150
143
|
},
|
|
151
144
|
}));
|
|
152
145
|
const message = (_a = errors[controlledName]) === null || _a === void 0 ? void 0 : _a.message;
|
|
153
146
|
const error = getErrorMessage();
|
|
154
|
-
|
|
155
|
-
return (
|
|
156
|
-
var _b = _a.field, { onChange: onControllerChange, onBlur: onControllerBlur, name: controllerName } = _b, rest =
|
|
147
|
+
useEffect(() => handleValidation(), [error]);
|
|
148
|
+
return (React.createElement(Controller, { control: control, name: controlledName, rules: Object.assign({}, validations), defaultValue: (_b = value !== null && value !== void 0 ? value : defaultValue) !== null && _b !== void 0 ? _b : "", render: (_a) => {
|
|
149
|
+
var _b = _a.field, { onChange: onControllerChange, onBlur: onControllerBlur, name: controllerName } = _b, rest = __rest(_b, ["onChange", "onBlur", "name"]);
|
|
157
150
|
const fieldProps = Object.assign(Object.assign(Object.assign({}, rest), { id: identifier, className: styles.input, name: (validations || name) && controllerName, disabled: disabled, readOnly: readonly, inputMode: keyboard, onChange: handleChange }), (description &&
|
|
158
151
|
!inline && { "aria-describedby": descriptionIdentifier }));
|
|
159
152
|
const textFieldProps = Object.assign(Object.assign({}, fieldProps), { onBlur: handleBlur, onFocus: handleFocus, onKeyDown: handleKeyDown });
|
|
160
|
-
return (
|
|
153
|
+
return (React.createElement(FormFieldWrapper, Object.assign({}, props, { value: rest.value, error: error, identifier: identifier, descriptionIdentifier: descriptionIdentifier }), renderField()));
|
|
161
154
|
function renderField() {
|
|
162
155
|
switch (type) {
|
|
163
156
|
case "select":
|
|
164
|
-
return (
|
|
165
|
-
|
|
166
|
-
|
|
157
|
+
return (React.createElement(React.Fragment, null,
|
|
158
|
+
React.createElement("select", Object.assign({}, fieldProps), children),
|
|
159
|
+
React.createElement(FormFieldPostFix, { variation: "select" })));
|
|
167
160
|
case "textarea":
|
|
168
|
-
return (
|
|
161
|
+
return (React.createElement("textarea", Object.assign({}, textFieldProps, { rows: rows, ref: inputRef })));
|
|
169
162
|
default:
|
|
170
|
-
return (
|
|
171
|
-
|
|
172
|
-
loading &&
|
|
163
|
+
return (React.createElement(React.Fragment, null,
|
|
164
|
+
React.createElement("input", Object.assign({}, textFieldProps, { autoComplete: setAutocomplete(autocomplete), type: type, maxLength: maxLength, max: max, min: min, ref: inputRef })),
|
|
165
|
+
loading && React.createElement(FormFieldPostFix, { variation: "spinner" }),
|
|
173
166
|
children));
|
|
174
167
|
}
|
|
175
168
|
}
|
|
@@ -222,4 +215,4 @@ function setAutocomplete(autocompleteSetting) {
|
|
|
222
215
|
return autocompleteSetting;
|
|
223
216
|
}
|
|
224
217
|
|
|
225
|
-
|
|
218
|
+
export { FormField as F };
|
package/dist/FormatDate/index.js
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var FormatDate = require('../FormatDate-70ea5b43.js');
|
|
6
|
-
require('react');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.FormatDate = FormatDate.FormatDate;
|
|
11
|
-
exports.strFormatDate = FormatDate.strFormatDate;
|
|
1
|
+
export { F as FormatDate, s as strFormatDate } from '../FormatDate-720b39cf.js';
|
|
2
|
+
import 'react';
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
|
|
5
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
-
|
|
7
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
1
|
+
import React from 'react';
|
|
8
2
|
|
|
9
3
|
function FormatDate({ date: inputDate, showYear = true, }) {
|
|
10
4
|
let dateObject;
|
|
@@ -17,7 +11,7 @@ function FormatDate({ date: inputDate, showYear = true, }) {
|
|
|
17
11
|
else {
|
|
18
12
|
dateObject = new Date(inputDate.year, inputDate.month - 1, inputDate.day);
|
|
19
13
|
}
|
|
20
|
-
return
|
|
14
|
+
return React.createElement(React.Fragment, null, strFormatDate(dateObject, showYear));
|
|
21
15
|
}
|
|
22
16
|
function strFormatDate(date, showYear = true) {
|
|
23
17
|
let formatOptions = {
|
|
@@ -30,5 +24,4 @@ function strFormatDate(date, showYear = true) {
|
|
|
30
24
|
return date.toLocaleDateString(undefined, formatOptions);
|
|
31
25
|
}
|
|
32
26
|
|
|
33
|
-
|
|
34
|
-
exports.strFormatDate = strFormatDate;
|
|
27
|
+
export { FormatDate as F, strFormatDate as s };
|
|
@@ -1,23 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var classnames = require('classnames');
|
|
7
|
-
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
8
|
-
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
-
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { s as styleInject } from '../style-inject.es-a0e1a0ba.js';
|
|
13
4
|
|
|
14
5
|
var css_248z = ".Cr7OFSgq9WA- {\n font-style: normal;\n}\n";
|
|
15
6
|
var styles = {"email":"Cr7OFSgq9WA-"};
|
|
16
|
-
|
|
7
|
+
styleInject(css_248z);
|
|
17
8
|
|
|
18
9
|
function FormatEmail({ email }) {
|
|
19
|
-
const className =
|
|
20
|
-
return
|
|
10
|
+
const className = classnames(styles.email);
|
|
11
|
+
return React.createElement("address", { className: className }, email);
|
|
21
12
|
}
|
|
22
13
|
|
|
23
|
-
|
|
14
|
+
export { FormatEmail };
|
package/dist/FormatFile/index.js
CHANGED
|
@@ -1,35 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
require('../Emphasis-e10dde65.js');
|
|
29
|
-
require('../Glimmer-cfa92a88.js');
|
|
30
|
-
require('../tslib.es6-5b8768b7.js');
|
|
31
|
-
require('../ProgressBar-5dfc1885.js');
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
exports.FormatFile = FormatFile.FormatFile;
|
|
1
|
+
export { F as FormatFile } from '../FormatFile-e1498cb9.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import 'classnames';
|
|
4
|
+
import 'filesize';
|
|
5
|
+
import '../style-inject.es-a0e1a0ba.js';
|
|
6
|
+
import '../Button-319d8fa0.js';
|
|
7
|
+
import 'react-router-dom';
|
|
8
|
+
import '../Icon-22723fe6.js';
|
|
9
|
+
import '@jobber/design';
|
|
10
|
+
import '../Typography-09952a2f.js';
|
|
11
|
+
import '../ConfirmationModal-86b42ca0.js';
|
|
12
|
+
import '@jobber/hooks/useOnKeyDown';
|
|
13
|
+
import '../Modal-06dc9551.js';
|
|
14
|
+
import 'react-dom';
|
|
15
|
+
import 'framer-motion';
|
|
16
|
+
import '@jobber/hooks/useRefocusOnActivator';
|
|
17
|
+
import '@jobber/hooks/useFocusTrap';
|
|
18
|
+
import '../Heading-04994667.js';
|
|
19
|
+
import '../ButtonDismiss-85986110.js';
|
|
20
|
+
import '../Content-3354c281.js';
|
|
21
|
+
import '../Markdown-2ec28e51.js';
|
|
22
|
+
import 'react-markdown';
|
|
23
|
+
import '../Text-703e2c21.js';
|
|
24
|
+
import '../Emphasis-edd2af9b.js';
|
|
25
|
+
import '../Glimmer-d3be9219.js';
|
|
26
|
+
import '../tslib.es6-5849cd88.js';
|
|
27
|
+
import '../ProgressBar-04ee007d.js';
|