@jobber/components 4.2.2-pre.7 → 4.2.2-pree.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Autocomplete/index.js +10 -10
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-01c5ba8b.js → Avatar-98b59e17.js} +2 -2
- package/dist/Banner/index.js +7 -7
- package/dist/Button/index.js +2 -2
- package/dist/Button-f7b0f481.js +57 -0
- package/dist/ButtonDismiss/index.js +3 -3
- package/dist/{ButtonDismiss-d2d16622.js → ButtonDismiss-7b2ceeaa.js} +1 -1
- package/dist/Card/index.js +5 -5
- package/dist/Card-13d52e52.js +93 -0
- package/dist/Checkbox/index.js +3 -3
- package/dist/Checkbox-e40acfeb.js +40 -0
- package/dist/Chips/index.js +10 -10
- package/dist/ConfirmationModal/index.js +10 -10
- package/dist/{ConfirmationModal-ac668c46.js → ConfirmationModal-2ca04371.js} +3 -3
- package/dist/Content/index.js +1 -1
- package/dist/{Content-af82acba.js → Content-db546523.js} +4 -4
- package/dist/Countdown/Countdown.d.ts +1 -2
- package/dist/Countdown/index.js +2 -4
- package/dist/DataDump/index.js +7 -7
- package/dist/DataTable/index.js +15 -15
- package/dist/DatePicker/index.js +3 -3
- package/dist/DatePicker-c0782233.js +109 -0
- package/dist/DescriptionList/index.js +3 -3
- package/dist/Disclosure/index.js +4 -4
- package/dist/Divider/index.js +2 -2
- package/dist/Drawer/index.js +8 -8
- package/dist/Emphasis/index.js +2 -2
- package/dist/{Emphasis-53e963b5.js → Emphasis-6794fc77.js} +1 -1
- package/dist/FeatureSwitch/index.js +10 -10
- package/dist/FormField/index.js +6 -6
- package/dist/{FormField-e1c3af82.js → FormField-2ff2e827.js} +6 -6
- package/dist/FormatDate/FormatDate.d.ts +1 -2
- package/dist/FormatEmail/index.js +2 -2
- package/dist/FormatFile/index.js +12 -12
- package/dist/FormatFile-4859d303.js +105 -0
- package/dist/FormatRelativeDateTime/FormatRelativeDateTime.d.ts +2 -3
- package/dist/FormatTime/FormatTime.d.ts +1 -2
- package/dist/Gallery/index.js +15 -15
- package/dist/Heading/index.js +2 -2
- package/dist/{Heading-8c6e4e0b.js → Heading-f94abfd1.js} +1 -1
- package/dist/InlineLabel/index.js +3 -3
- package/dist/InputAvatar/index.js +8 -8
- package/dist/InputDate/index.js +7 -7
- package/dist/InputEmail/index.js +6 -6
- package/dist/InputFile/index.js +4 -4
- package/dist/{InputFile-e7c15211.js → InputFile-e59fea12.js} +5 -5
- package/dist/InputGroup/index.js +2 -2
- package/dist/InputNumber/index.js +6 -6
- package/dist/InputPassword/index.js +6 -6
- package/dist/InputText/index.js +7 -7
- package/dist/{InputText-3ac6b3a9.js → InputText-7e6e8eeb.js} +1 -1
- package/dist/InputTime/InputTimeProps.d.ts +3 -4
- package/dist/InputTime/civilTimeConversions.d.ts +2 -3
- package/dist/InputTime/index.js +8 -8
- package/dist/InputValidation/index.js +3 -3
- package/dist/{InputValidation-e09f5d20.js → InputValidation-e36c9d5e.js} +3 -3
- package/dist/LightBox/index.js +4 -4
- package/dist/{LightBox-8472bc9d.js → LightBox-f310c9db.js} +4 -4
- package/dist/List/index.js +12 -12
- package/dist/Markdown/index.js +6 -6
- package/dist/{Markdown-5d86d6e7.js → Markdown-18a7298f.js} +4 -4
- package/dist/Menu/index.js +3 -3
- package/dist/{Menu-b5e8d8f9.js → Menu-94526305.js} +4 -4
- package/dist/Modal/index.js +5 -5
- package/dist/{Modal-e41f9284.js → Modal-bb8547df.js} +7 -7
- package/dist/MultiSelect/index.js +7 -7
- package/dist/{Option-9e93d069.js → Option-8dc5fb8f.js} +1 -1
- package/dist/Page/index.js +10 -10
- package/dist/Popover/index.js +5 -5
- package/dist/ProgressBar/index.js +1 -1
- package/dist/ProgressBar-8438dd4c.js +28 -0
- package/dist/RadioGroup/index.js +4 -4
- package/dist/Select/index.js +7 -7
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner-3480bc34.js +24 -0
- package/dist/StatusLabel/index.js +4 -4
- package/dist/Switch/index.js +2 -2
- package/dist/Switch-759b4a9b.js +56 -0
- package/dist/Table/index.js +4 -4
- package/dist/Tabs/index.js +3 -3
- package/dist/Text/index.js +2 -2
- package/dist/{Text-4c04ddc3.js → Text-7c99b48d.js} +1 -1
- package/dist/Toast/index.js +4 -4
- package/dist/Tooltip/index.js +3 -3
- package/dist/{Tooltip-27720f96.js → Tooltip-3ab4c6db.js} +3 -3
- package/dist/Typography/index.js +1 -1
- package/dist/Typography-c0bec306.js +62 -0
- package/package.json +7 -8
- package/rollup.config.js +1 -1
- package/dist/Button-186ef2c1.js +0 -57
- package/dist/Card-c0f88c0f.js +0 -93
- package/dist/Checkbox-1df46a4a.js +0 -40
- package/dist/DatePicker-90d542d7.js +0 -109
- package/dist/FormatFile-42ea7a6a.js +0 -105
- package/dist/ProgressBar-d3178aa9.js +0 -28
- package/dist/Spinner-35cee923.js +0 -24
- package/dist/Switch-21d7093a.js +0 -56
- package/dist/Typography-dd9717e7.js +0 -62
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var FormField = require('../FormField-
|
|
6
|
+
var FormField = require('../FormField-2ff2e827.js');
|
|
7
7
|
require('../tslib.es6-5b8768b7.js');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('react-hook-form');
|
|
10
10
|
require('../style-inject.es-9d2f5f4e.js');
|
|
11
11
|
require('classnames');
|
|
12
|
-
require('../Button-
|
|
12
|
+
require('../Button-f7b0f481.js');
|
|
13
13
|
require('react-router-dom');
|
|
14
14
|
require('../Icon-405a216c.js');
|
|
15
15
|
require('@jobber/design');
|
|
16
|
-
require('../Typography-
|
|
17
|
-
require('../Text-
|
|
18
|
-
require('../InputValidation-
|
|
16
|
+
require('../Typography-c0bec306.js');
|
|
17
|
+
require('../Text-7c99b48d.js');
|
|
18
|
+
require('../InputValidation-e36c9d5e.js');
|
|
19
19
|
require('framer-motion');
|
|
20
|
-
require('../Spinner-
|
|
20
|
+
require('../Spinner-3480bc34.js');
|
|
21
21
|
|
|
22
22
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
23
23
|
|
package/dist/InputText/index.js
CHANGED
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var InputText = require('../InputText-
|
|
5
|
+
var InputText = require('../InputText-7e6e8eeb.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('../FormField-
|
|
7
|
+
require('../FormField-2ff2e827.js');
|
|
8
8
|
require('../tslib.es6-5b8768b7.js');
|
|
9
9
|
require('uuid');
|
|
10
10
|
require('react-hook-form');
|
|
11
11
|
require('../style-inject.es-9d2f5f4e.js');
|
|
12
12
|
require('classnames');
|
|
13
|
-
require('../Button-
|
|
13
|
+
require('../Button-f7b0f481.js');
|
|
14
14
|
require('react-router-dom');
|
|
15
15
|
require('../Icon-405a216c.js');
|
|
16
16
|
require('@jobber/design');
|
|
17
|
-
require('../Typography-
|
|
18
|
-
require('../Text-
|
|
19
|
-
require('../InputValidation-
|
|
17
|
+
require('../Typography-c0bec306.js');
|
|
18
|
+
require('../Text-7c99b48d.js');
|
|
19
|
+
require('../InputValidation-e36c9d5e.js');
|
|
20
20
|
require('framer-motion');
|
|
21
|
-
require('../Spinner-
|
|
21
|
+
require('../Spinner-3480bc34.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -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-2ff2e827.js');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
7
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
2
1
|
import { CivilTime } from "@std-proposal/temporal";
|
|
3
2
|
import { CommonFormFieldProps, FormFieldProps } from "../FormField";
|
|
4
3
|
export interface InputTimeProps extends Pick<CommonFormFieldProps, "align" | "description" | "disabled" | "invalid" | "inline" | "loading" | "name" | "onValidation" | "placeholder" | "size">, Pick<FormFieldProps, "maxLength" | "readonly" | "autocomplete" | "max" | "min" | "onEnter" | "onFocus" | "onBlur" | "inputRef" | "validations"> {
|
|
@@ -7,13 +6,13 @@ export interface InputTimeProps extends Pick<CommonFormFieldProps, "align" | "de
|
|
|
7
6
|
* field with a data that is not controlled by the components state. If a
|
|
8
7
|
* state is controlling the value, use the `value` prop instead.
|
|
9
8
|
*/
|
|
10
|
-
readonly defaultValue?:
|
|
9
|
+
readonly defaultValue?: CivilTime;
|
|
11
10
|
/**
|
|
12
11
|
* Set the component to the given value.
|
|
13
12
|
*/
|
|
14
|
-
readonly value?:
|
|
13
|
+
readonly value?: CivilTime;
|
|
15
14
|
/**
|
|
16
15
|
* Function called when user changes input value.
|
|
17
16
|
*/
|
|
18
|
-
onChange?(newValue?:
|
|
17
|
+
onChange?(newValue?: CivilTime): void;
|
|
19
18
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
2
1
|
import { CivilTime } from "@std-proposal/temporal";
|
|
3
|
-
export declare function civilTimeToHTMLTime(civilTime?:
|
|
4
|
-
export declare function htmlTimeToCivilTime(timeString: string):
|
|
2
|
+
export declare function civilTimeToHTMLTime(civilTime?: CivilTime): string;
|
|
3
|
+
export declare function htmlTimeToCivilTime(timeString: string): CivilTime | undefined;
|
package/dist/InputTime/index.js
CHANGED
|
@@ -5,21 +5,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib_es6 = require('../tslib.es6-5b8768b7.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var debounce = require('lodash/debounce');
|
|
8
|
-
var
|
|
9
|
-
var FormField = require('../FormField-
|
|
8
|
+
var temporal = require('@std-proposal/temporal');
|
|
9
|
+
var FormField = require('../FormField-2ff2e827.js');
|
|
10
10
|
require('uuid');
|
|
11
11
|
require('react-hook-form');
|
|
12
12
|
require('../style-inject.es-9d2f5f4e.js');
|
|
13
13
|
require('classnames');
|
|
14
|
-
require('../Button-
|
|
14
|
+
require('../Button-f7b0f481.js');
|
|
15
15
|
require('react-router-dom');
|
|
16
16
|
require('../Icon-405a216c.js');
|
|
17
17
|
require('@jobber/design');
|
|
18
|
-
require('../Typography-
|
|
19
|
-
require('../Text-
|
|
20
|
-
require('../InputValidation-
|
|
18
|
+
require('../Typography-c0bec306.js');
|
|
19
|
+
require('../Text-7c99b48d.js');
|
|
20
|
+
require('../InputValidation-e36c9d5e.js');
|
|
21
21
|
require('framer-motion');
|
|
22
|
-
require('../Spinner-
|
|
22
|
+
require('../Spinner-3480bc34.js');
|
|
23
23
|
|
|
24
24
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
25
25
|
|
|
@@ -729,7 +729,7 @@ function civilTimeToHTMLTime(civilTime) {
|
|
|
729
729
|
}
|
|
730
730
|
function htmlTimeToCivilTime(timeString) {
|
|
731
731
|
try {
|
|
732
|
-
return
|
|
732
|
+
return temporal.CivilTime.fromString(timeString + ":00.000000000");
|
|
733
733
|
}
|
|
734
734
|
catch (_a) {
|
|
735
735
|
return undefined;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var InputValidation = require('../InputValidation-
|
|
5
|
+
var InputValidation = require('../InputValidation-e36c9d5e.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('framer-motion');
|
|
8
8
|
require('../style-inject.es-9d2f5f4e.js');
|
|
9
|
-
require('../Text-
|
|
10
|
-
require('../Typography-
|
|
9
|
+
require('../Text-7c99b48d.js');
|
|
10
|
+
require('../Typography-c0bec306.js');
|
|
11
11
|
require('classnames');
|
|
12
12
|
require('../Icon-405a216c.js');
|
|
13
13
|
require('@jobber/design');
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var framerMotion = require('framer-motion');
|
|
5
5
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
6
|
-
var Text = require('./Text-
|
|
6
|
+
var Text = require('./Text-7c99b48d.js');
|
|
7
7
|
var Icon = require('./Icon-405a216c.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
12
|
|
|
13
|
-
var css_248z = ".
|
|
14
|
-
var styles = {"hasValidationMessage":"
|
|
13
|
+
var css_248z = ".sc-bFJieXBA- {\n margin-top: var(--space-smaller);\n}\n\n.xybhC5Y6mk4- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n padding: var(--space-smaller);\n padding-left: 0;\n}\n\n.xybhC5Y6mk4- > svg {\n margin-right: var(--space-smaller);\n}\n\n.xybhC5Y6mk4-:focus {\n box-shadow: var(--shadow-focus);\n outline: none;\n}\n";
|
|
14
|
+
var styles = {"hasValidationMessage":"sc-bFJieXBA-","message":"xybhC5Y6mk4-"};
|
|
15
15
|
styleInject_es.styleInject(css_248z);
|
|
16
16
|
|
|
17
17
|
function InputValidation({ message }) {
|
package/dist/LightBox/index.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var LightBox = require('../LightBox-
|
|
5
|
+
var LightBox = require('../LightBox-f310c9db.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('framer-motion');
|
|
8
8
|
require('react-dom');
|
|
9
9
|
require('lodash/debounce');
|
|
10
10
|
require('@jobber/hooks');
|
|
11
11
|
require('../style-inject.es-9d2f5f4e.js');
|
|
12
|
-
require('../ButtonDismiss-
|
|
13
|
-
require('../Button-
|
|
12
|
+
require('../ButtonDismiss-7b2ceeaa.js');
|
|
13
|
+
require('../Button-f7b0f481.js');
|
|
14
14
|
require('classnames');
|
|
15
15
|
require('react-router-dom');
|
|
16
16
|
require('../Icon-405a216c.js');
|
|
17
17
|
require('@jobber/design');
|
|
18
|
-
require('../Typography-
|
|
18
|
+
require('../Typography-c0bec306.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -6,8 +6,8 @@ var ReactDOM = require('react-dom');
|
|
|
6
6
|
var debounce = require('lodash/debounce');
|
|
7
7
|
var jobberHooks = require('@jobber/hooks');
|
|
8
8
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
9
|
-
var ButtonDismiss = require('./ButtonDismiss-
|
|
10
|
-
var Button = require('./Button-
|
|
9
|
+
var ButtonDismiss = require('./ButtonDismiss-7b2ceeaa.js');
|
|
10
|
+
var Button = require('./Button-f7b0f481.js');
|
|
11
11
|
|
|
12
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
13
|
|
|
@@ -15,8 +15,8 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
15
15
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
16
16
|
var debounce__default = /*#__PURE__*/_interopDefaultLegacy(debounce);
|
|
17
17
|
|
|
18
|
-
var css_248z = ".
|
|
19
|
-
var styles = {"next":"
|
|
18
|
+
var css_248z = "._3JgBCebdbNU-,\n.JJOBEL7d-10- {\n display: -ms-flexbox;\n display: flex;\n position: absolute;\n top: 50%;\n z-index: var(--elevation-base);\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n\n._3JgBCebdbNU- {\n right: var(--space-base);\n}\n\n.JJOBEL7d-10- {\n left: var(--space-base);\n}\n\n.fAep1A-0xIU- {\n display: -ms-flexbox;\n display: flex;\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--elevation-modal);\n width: 100%;\n height: 100%;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.AfUUWErd5S4- {\n display: -ms-flexbox;\n display: flex;\n z-index: var(--elevation-base);\n padding: var(--space-small) var(--space-base);\n color: var(--color-text--reverse--secondary);\n font-size: var(--typography--fontSize-large);\n background-color: var(--color-surface--reverse);\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n\n.ysUYbBTaORk- {\n display: -ms-inline-flexbox;\n display: inline-flex;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.GSOVtN1Y3IU- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n position: relative;\n -ms-flex: 1 1 0px;\n flex: 1 1 0;\n min-height: 0;\n}\n\n.-V917BdNqSs- {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--color-overlay);\n}\n\n.sjwUjzb3a5c- {\n position: absolute;\n top: 50%;\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n}\n";
|
|
19
|
+
var styles = {"next":"_3JgBCebdbNU-","prev":"JJOBEL7d-10-","lightboxWrapper":"fAep1A-0xIU-","toolbar":"AfUUWErd5S4-","title":"ysUYbBTaORk-","imagesWrapper":"GSOVtN1Y3IU-","overlay":"-V917BdNqSs-","image":"sjwUjzb3a5c-"};
|
|
20
20
|
styleInject_es.styleInject(css_248z);
|
|
21
21
|
|
|
22
22
|
/* eslint-disable max-statements */
|
package/dist/List/index.js
CHANGED
|
@@ -7,30 +7,30 @@ var classnames = require('classnames');
|
|
|
7
7
|
var lodash = require('lodash');
|
|
8
8
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
9
9
|
var Icon = require('../Icon-405a216c.js');
|
|
10
|
-
var Text = require('../Text-
|
|
11
|
-
var Heading = require('../Heading-
|
|
12
|
-
var Typography = require('../Typography-
|
|
13
|
-
var Markdown = require('../Markdown-
|
|
14
|
-
var Emphasis = require('../Emphasis-
|
|
10
|
+
var Text = require('../Text-7c99b48d.js');
|
|
11
|
+
var Heading = require('../Heading-f94abfd1.js');
|
|
12
|
+
var Typography = require('../Typography-c0bec306.js');
|
|
13
|
+
var Markdown = require('../Markdown-18a7298f.js');
|
|
14
|
+
var Emphasis = require('../Emphasis-6794fc77.js');
|
|
15
15
|
require('@jobber/design');
|
|
16
16
|
require('react-markdown');
|
|
17
|
-
require('../Content-
|
|
17
|
+
require('../Content-db546523.js');
|
|
18
18
|
|
|
19
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
20
20
|
|
|
21
21
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
22
22
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
23
23
|
|
|
24
|
-
var css_248z$2 = ".
|
|
25
|
-
var styles$1 = {"list":"
|
|
24
|
+
var css_248z$2 = ".u853Ql4cj50- {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.ig9l6LfEgwo-:not(:last-child) {\n border-bottom: var(--border-base) solid var(--color-border);\n}\n\n.KIYTQdrufzY- {\n position: relative;\n}\n\n.KIYTQdrufzY-:not(:last-child) .u853Ql4cj50- {\n padding-bottom: var(--space-large);\n}\n";
|
|
25
|
+
var styles$1 = {"list":"u853Ql4cj50-","item":"ig9l6LfEgwo-","section":"KIYTQdrufzY-"};
|
|
26
26
|
styleInject_es.styleInject(css_248z$2);
|
|
27
27
|
|
|
28
|
-
var css_248z$1 = ".
|
|
29
|
-
var sectionStyles = {"sectionHeader":"
|
|
28
|
+
var css_248z$1 = ".LUlooG82UJA- {\n position: sticky;\n top: 0;\n padding: var(--space-small) var(--space-base);\n border-bottom: 1px solid var(--color-border--section);\n background-color: var(--color-surface);\n}\n\n._4LVpgNq-SLM- {\n border-bottom-color: var(--color-greyBlue--light);\n color: var(--color-greyBlue--light);\n}\n\n._0QhWokyE9PY- {\n border-bottom-color: var(--color-green);\n color: var(--color-green);\n}\n\n.J8wB3qqOlBc-,\n.Ujqj17pKDIE- {\n border-bottom-color: var(--color-blue);\n color: var(--color-blue);\n}\n\n._0lNxLGXhrfY- {\n border-bottom-color: var(--color-orange);\n color: var(--color-orange);\n}\n\n._4qPymF0CAAE- {\n border-bottom-color: var(--color-red);\n color: var(--color-red);\n}\n\n.kKYNLBSu9IQ- {\n border-bottom-color: var(--color-teal);\n color: var(--color-teal);\n}\n";
|
|
29
|
+
var sectionStyles = {"sectionHeader":"LUlooG82UJA-","greyBlue":"_4LVpgNq-SLM-","green":"_0QhWokyE9PY-","blue":"J8wB3qqOlBc-","archived":"Ujqj17pKDIE-","orange":"_0lNxLGXhrfY-","red":"_4qPymF0CAAE-","teal":"kKYNLBSu9IQ-"};
|
|
30
30
|
styleInject_es.styleInject(css_248z$1);
|
|
31
31
|
|
|
32
|
-
var css_248z = ".
|
|
33
|
-
var styles = {"action":"
|
|
32
|
+
var css_248z = ".XPLf4Jp6feU- {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: var(--space-small);\n border: none;\n text-align: left;\n text-decoration: none;\n background-color: transparent;\n transition: background-color var(--timing-base);\n -webkit-appearance: none;\n appearance: none;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n\n.XPLf4Jp6feU- > * {\n padding: var(--space-small);\n}\n\n.RseHYbVm4MA- {\n cursor: pointer;\n}\n\n.RseHYbVm4MA-:hover,\n.RseHYbVm4MA-:focus {\n outline: none;\n background-color: var(--color-surface--hover);\n}\n\n.d1-zQvxPH-M- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n width: var(--space-large);\n height: var(--space-large);\n box-sizing: content-box;\n}\n\n._-58VuZf1TtM- {\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n min-width: 0;\n -ms-flex-item-align: center;\n align-self: center;\n}\n\n.wHB5zXYWW3E- {\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n text-align: right;\n}\n\n/* States */\n\n.C4DznaxLKiw- {\n background-color: var(--color-surface--active);\n}\n\n/* TODO: Move truncate in typography */\n\n.Brob-IpVv4o- {\n display: block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n";
|
|
33
|
+
var styles = {"action":"XPLf4Jp6feU-","hoverable":"RseHYbVm4MA-","icon":"d1-zQvxPH-M-","info":"_-58VuZf1TtM-","amount":"wHB5zXYWW3E-","isActive":"C4DznaxLKiw-","truncate":"Brob-IpVv4o-"};
|
|
34
34
|
styleInject_es.styleInject(css_248z);
|
|
35
35
|
|
|
36
36
|
function ListItem({ caption, content, icon, iconColor, id, isActive, onClick, title, url, value, }) {
|
package/dist/Markdown/index.js
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Markdown = require('../Markdown-
|
|
5
|
+
var Markdown = require('../Markdown-18a7298f.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-markdown');
|
|
8
|
-
require('../Text-
|
|
9
|
-
require('../Typography-
|
|
8
|
+
require('../Text-7c99b48d.js');
|
|
9
|
+
require('../Typography-c0bec306.js');
|
|
10
10
|
require('classnames');
|
|
11
11
|
require('../style-inject.es-9d2f5f4e.js');
|
|
12
|
-
require('../Emphasis-
|
|
13
|
-
require('../Heading-
|
|
14
|
-
require('../Content-
|
|
12
|
+
require('../Emphasis-6794fc77.js');
|
|
13
|
+
require('../Heading-f94abfd1.js');
|
|
14
|
+
require('../Content-db546523.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var ReactMarkdown = require('react-markdown');
|
|
5
|
-
var Text = require('./Text-
|
|
6
|
-
var Emphasis = require('./Emphasis-
|
|
7
|
-
var Heading = require('./Heading-
|
|
8
|
-
var Content = require('./Content-
|
|
5
|
+
var Text = require('./Text-7c99b48d.js');
|
|
6
|
+
var Emphasis = require('./Emphasis-6794fc77.js');
|
|
7
|
+
var Heading = require('./Heading-f94abfd1.js');
|
|
8
|
+
var Content = require('./Content-db546523.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
11
|
|
package/dist/Menu/index.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Menu = require('../Menu-
|
|
5
|
+
var Menu = require('../Menu-94526305.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('uuid');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('framer-motion');
|
|
10
10
|
require('@jobber/hooks');
|
|
11
11
|
require('../style-inject.es-9d2f5f4e.js');
|
|
12
|
-
require('../Button-
|
|
12
|
+
require('../Button-f7b0f481.js');
|
|
13
13
|
require('react-router-dom');
|
|
14
14
|
require('../Icon-405a216c.js');
|
|
15
15
|
require('@jobber/design');
|
|
16
|
-
require('../Typography-
|
|
16
|
+
require('../Typography-c0bec306.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -6,8 +6,8 @@ var classnames = require('classnames');
|
|
|
6
6
|
var framerMotion = require('framer-motion');
|
|
7
7
|
var jobberHooks = require('@jobber/hooks');
|
|
8
8
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
9
|
-
var Button = require('./Button-
|
|
10
|
-
var Typography = require('./Typography-
|
|
9
|
+
var Button = require('./Button-f7b0f481.js');
|
|
10
|
+
var Typography = require('./Typography-c0bec306.js');
|
|
11
11
|
var Icon = require('./Icon-405a216c.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -15,8 +15,8 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
16
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
17
17
|
|
|
18
|
-
var css_248z = ".
|
|
19
|
-
var styles = {"wrapper":"
|
|
18
|
+
var css_248z = ".dT6M9tp1sZc- * {\n box-sizing: border-box;\n}\n\n.dT6M9tp1sZc- {\n display: inline-block;\n position: relative;\n}\n\n.Qmxlsj0D3qM- {\n position: fixed;\n bottom: 0;\n left: 0;\n z-index: var(--elevation-menu);\n width: 100%;\n max-height: 72vh;\n padding: var(--space-small);\n padding-bottom: calc(env(safe-area-inset-bottom) + var(--space-small));\n border-radius: var(--radius-base) var(--radius-base) 0 0;\n -webkit-overflow-scrolling: touch;\n overflow-y: scroll;\n background-color: var(--color-surface)\n}\n\n@media (min-width: 640px) {\n\n.Qmxlsj0D3qM- {\n position: absolute;\n left: auto;\n width: calc(var(--base-unit) * 12.5);\n box-shadow: var(--shadow-base);\n padding: var(--space-small);\n border: var(--border-base) solid var(--color-border);\n border-radius: var(--radius-base);\n overflow: auto\n}\n }\n\n@media (--medium-screens) {\n\n.Qmxlsj0D3qM- {\n position: absolute;\n left: auto;\n width: calc(var(--base-unit) * 12.5);\n box-shadow: var(--shadow-base);\n padding: var(--space-small);\n border: var(--border-base) solid var(--color-border);\n border-radius: var(--radius-base);\n overflow: auto\n}\n }\n\n@media (min-width: 640px) {\n\n.QTisUfiHwL4- {\n bottom: 100%;\n margin-bottom: var(--space-smallest)\n}\n }\n\n@media (--medium-screens) {\n\n.QTisUfiHwL4- {\n bottom: 100%;\n margin-bottom: var(--space-smallest)\n}\n }\n\n@media (min-width: 640px) {\n\n.qsch1dlpOHc- {\n top: 100%;\n bottom: auto;\n margin-top: var(--space-smallest)\n}\n }\n\n@media (--medium-screens) {\n\n.qsch1dlpOHc- {\n top: 100%;\n bottom: auto;\n margin-top: var(--space-smallest)\n}\n }\n\n@media (min-width: 640px) {\n\n._0xR9-oxWMOU- {\n right: 0;\n left: auto\n}\n }\n\n@media (--medium-screens) {\n\n._0xR9-oxWMOU- {\n right: 0;\n left: auto\n}\n }\n\n@media (min-width: 640px) {\n\n.gaZwsdyoG0k- {\n right: auto;\n left: 0\n}\n }\n\n@media (--medium-screens) {\n\n.gaZwsdyoG0k- {\n right: auto;\n left: 0\n}\n }\n\n.LaKFjYCLHZc- {\n padding: var(--space-small) 0;\n border-bottom: var(--border-base) dotted var(--color-border);\n}\n\n.LaKFjYCLHZc-:first-of-type {\n padding-top: 0;\n}\n\n.LaKFjYCLHZc-:last-of-type {\n padding-bottom: 0;\n border-bottom: none;\n}\n\n._7HB7dWnqCi0- {\n padding: var(--space-small);\n}\n\n.ZuceCiefKqw- {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n padding: var(--space-small);\n border: none;\n border-radius: var(--radius-base);\n background-color: transparent;\n cursor: pointer;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.ZuceCiefKqw-:hover,\n.ZuceCiefKqw-:focus {\n background-color: var(--color-surface--hover);\n outline-color: var(--color-focus);\n}\n\n.Bz8TONF8kws- {\n margin-right: var(--space-base);\n}\n\n.eKnUAucwwWU- {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: var(--elevation-menu);\n background-color: var(--color-overlay)\n}\n\n@media (min-width: 640px) {\n\n.eKnUAucwwWU- {\n background-color: transparent\n}\n }\n\n@media (--medium-screens) {\n\n.eKnUAucwwWU- {\n background-color: transparent\n}\n }\n\n.oaxefr58z-E- {\n width: 100%;\n}\n\n.vz9opIdwHFg- {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n}\n";
|
|
19
|
+
var styles = {"wrapper":"dT6M9tp1sZc-","menu":"Qmxlsj0D3qM-","above":"QTisUfiHwL4-","below":"qsch1dlpOHc-","left":"_0xR9-oxWMOU-","right":"gaZwsdyoG0k-","section":"LaKFjYCLHZc-","sectionHeader":"_7HB7dWnqCi0-","action":"ZuceCiefKqw-","icon":"Bz8TONF8kws-","overlay":"eKnUAucwwWU-","fullWidth":"oaxefr58z-E-","screenReaderOnly":"vz9opIdwHFg-"};
|
|
20
20
|
styleInject_es.styleInject(css_248z);
|
|
21
21
|
|
|
22
22
|
const variation = {
|
package/dist/Modal/index.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Modal = require('../Modal-
|
|
5
|
+
var Modal = require('../Modal-bb8547df.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-dom');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('framer-motion');
|
|
10
10
|
require('@jobber/hooks');
|
|
11
11
|
require('../style-inject.es-9d2f5f4e.js');
|
|
12
|
-
require('../Heading-
|
|
13
|
-
require('../Typography-
|
|
14
|
-
require('../Button-
|
|
12
|
+
require('../Heading-f94abfd1.js');
|
|
13
|
+
require('../Typography-c0bec306.js');
|
|
14
|
+
require('../Button-f7b0f481.js');
|
|
15
15
|
require('react-router-dom');
|
|
16
16
|
require('../Icon-405a216c.js');
|
|
17
17
|
require('@jobber/design');
|
|
18
|
-
require('../ButtonDismiss-
|
|
18
|
+
require('../ButtonDismiss-7b2ceeaa.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -6,9 +6,9 @@ var classnames = require('classnames');
|
|
|
6
6
|
var framerMotion = require('framer-motion');
|
|
7
7
|
var jobberHooks = require('@jobber/hooks');
|
|
8
8
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
9
|
-
var Heading = require('./Heading-
|
|
10
|
-
var Button = require('./Button-
|
|
11
|
-
var ButtonDismiss = require('./ButtonDismiss-
|
|
9
|
+
var Heading = require('./Heading-f94abfd1.js');
|
|
10
|
+
var Button = require('./Button-f7b0f481.js');
|
|
11
|
+
var ButtonDismiss = require('./ButtonDismiss-7b2ceeaa.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
14
|
|
|
@@ -16,12 +16,12 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
16
16
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
17
17
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
18
18
|
|
|
19
|
-
var css_248z$1 = ":root {\n --modal--width: calc(var(--base-unit) * 37.5);\n --modal--padding: var(--space-base);\n}\n\n@media (min-width: 640px) {\n :root {\n --modal--padding: var(--space-base) var(--space-large);\n }\n}\n\n@media (
|
|
20
|
-
var styles = {"container":"
|
|
19
|
+
var css_248z$1 = ":root {\n --modal--width: calc(var(--base-unit) * 37.5);\n --modal--padding: var(--space-base);\n}\n\n@media (min-width: 640px) {\n :root {\n --modal--padding: var(--space-base) var(--space-large);\n }\n}\n\n@media (--medium-screens) {\n :root {\n --modal--padding: var(--space-base) var(--space-large);\n }\n}\n\n.QGRLFHPoV5E- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n z-index: var(--elevation-modal);\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: var(--color-overlay);\n}\n\n.WLId2NJBQcQ- {\n --public-tab--inset: var(--space-large);\n\n position: relative;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n width: 100%;\n max-width: calc(var(--base-unit) * 37.5);\n max-width: var(--modal--width);\n margin: auto;\n border: var(--border-base) solid var(--color-border);\n border-radius: var(--radius-base);\n outline-color: var(--color-focus);\n background-color: var(--color-surface);\n}\n\n/* Adjust `Content` components public padding to match the modal */\n\n.WLId2NJBQcQ- > * {\n --public-content--padding: var(--modal--padding);\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 -ms-flex-align: center;\n align-items: center;\n padding: var(--space-base);\n padding: var(--modal--padding);\n background-color: var(--color-surface--background);\n}\n\n.rKvigUnOyYE- {\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n -webkit-appearance: none;\n appearance: none;\n}\n\n._62c8HLZFwvs- {\n display: -ms-flexbox;\n display: flex;\n padding: var(--space-base);\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.p2s7GtpoZz0- > * {\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";
|
|
20
|
+
var styles = {"container":"QGRLFHPoV5E-","overlay":"_4WzGOMUGj5I-","modal":"WLId2NJBQcQ-","header":"wjrPpIUNNrk-","closeButton":"rKvigUnOyYE-","actionBar":"_62c8HLZFwvs-","leftAction":"Xl1Ptn-P9Ew-","rightAction":"p2s7GtpoZz0-"};
|
|
21
21
|
styleInject_es.styleInject(css_248z$1);
|
|
22
22
|
|
|
23
|
-
var css_248z = ".
|
|
24
|
-
var sizes = {"small":"
|
|
23
|
+
var css_248z = "._65IpUjOZiBg- {\n --modal--padding: var(--space-base);\n max-width: calc(var(--base-unit) * 25);\n}\n\n.Cpwnmw65caA- {\n max-width: calc(var(--base-unit) * 58.75);\n}\n";
|
|
24
|
+
var sizes = {"small":"_65IpUjOZiBg-","large":"Cpwnmw65caA-"};
|
|
25
25
|
styleInject_es.styleInject(css_248z);
|
|
26
26
|
|
|
27
27
|
function Modal({ open = false, title, size, dismissible = true, children, primaryAction, secondaryAction, tertiaryAction, onRequestClose, }) {
|
|
@@ -6,10 +6,10 @@ var React = require('react');
|
|
|
6
6
|
var classnames = require('classnames');
|
|
7
7
|
var jobberHooks = require('@jobber/hooks');
|
|
8
8
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
9
|
-
var Checkbox = require('../Checkbox-
|
|
10
|
-
var Text = require('../Text-
|
|
9
|
+
var Checkbox = require('../Checkbox-e40acfeb.js');
|
|
10
|
+
var Text = require('../Text-7c99b48d.js');
|
|
11
11
|
var Icon = require('../Icon-405a216c.js');
|
|
12
|
-
require('../Typography-
|
|
12
|
+
require('../Typography-c0bec306.js');
|
|
13
13
|
require('@jobber/design');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -17,12 +17,12 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
18
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
19
19
|
|
|
20
|
-
var css_248z$1 = ".
|
|
21
|
-
var styles$1 = {"multiSelectContainer":"
|
|
20
|
+
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: var(--field--height);\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: var(--border-base) solid var(--color-border);\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: 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";
|
|
21
|
+
var styles$1 = {"multiSelectContainer":"D-J03az6XL4-","multiSelect":"EzNdHgwsT40-","active":"bu7HWKRu6HI-","small":"eQ6yfQg6zLc-","large":"pM-ts4-QMZY-"};
|
|
22
22
|
styleInject_es.styleInject(css_248z$1);
|
|
23
23
|
|
|
24
|
-
var css_248z = ".
|
|
25
|
-
var styles = {"dropDownMenuContainer":"
|
|
24
|
+
var css_248z = "._0SStdD4KRHs- {\n display: -ms-flexbox;\n display: flex;\n position: absolute;\n z-index: var(--elevation-menu);\n width: 100%;\n max-height: calc(var(--space-extravagant) * 5);\n box-shadow: var(--shadow-base);\n margin: 0;\n padding: 0;\n border: var(--border-base) solid var(--color-border);\n border-radius: var(--radius-large);\n overflow: auto;\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: var(--space-small) var(--space-base);\n cursor: pointer;\n transition: all var(--timing-base);\n}\n\n.mFSgwOQZJm0-:focus,\n.mFSgwOQZJm0-.SepF4gvOxq8- {\n background-color: var(--color-surface--hover);\n outline-color: var(--color-focus);\n}\n";
|
|
25
|
+
var styles = {"dropDownMenuContainer":"_0SStdD4KRHs-","option":"mFSgwOQZJm0-","active":"SepF4gvOxq8-"};
|
|
26
26
|
styleInject_es.styleInject(css_248z);
|
|
27
27
|
|
|
28
28
|
function handleKeyboardShortcut(setupKeyListeners) {
|
|
@@ -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-2ff2e827.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,14 +6,14 @@ var React = require('react');
|
|
|
6
6
|
var classnames = require('classnames');
|
|
7
7
|
var jobberHooks = require('@jobber/hooks');
|
|
8
8
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
9
|
-
var Heading = require('../Heading-
|
|
10
|
-
var Text = require('../Text-
|
|
11
|
-
var Content = require('../Content-
|
|
12
|
-
var Markdown = require('../Markdown-
|
|
13
|
-
var Button = require('../Button-
|
|
14
|
-
var Menu = require('../Menu-
|
|
15
|
-
var Emphasis = require('../Emphasis-
|
|
16
|
-
require('../Typography-
|
|
9
|
+
var Heading = require('../Heading-f94abfd1.js');
|
|
10
|
+
var Text = require('../Text-7c99b48d.js');
|
|
11
|
+
var Content = require('../Content-db546523.js');
|
|
12
|
+
var Markdown = require('../Markdown-18a7298f.js');
|
|
13
|
+
var Button = require('../Button-f7b0f481.js');
|
|
14
|
+
var Menu = require('../Menu-94526305.js');
|
|
15
|
+
var Emphasis = require('../Emphasis-6794fc77.js');
|
|
16
|
+
require('../Typography-c0bec306.js');
|
|
17
17
|
require('react-markdown');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('../Icon-405a216c.js');
|
|
@@ -26,8 +26,8 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
26
26
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
27
27
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
28
28
|
|
|
29
|
-
var css_248z = ".
|
|
30
|
-
var styles = {"page":"
|
|
29
|
+
var css_248z = ".pVEdXlwstrc- {\n width: 100%;\n box-sizing: border-box;\n padding: var(--space-large);\n}\n\n._9r84iz--C5M- {\n max-width: none;\n}\n\n._0LO26JFXU9g- {\n max-width: calc(var(--base-unit) * 80);\n}\n\n.KiMIF8eFbuE- {\n max-width: calc(var(--base-unit) * 64);\n}\n\n.GCeQrLFyml4- h1 {\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n margin-bottom: var(--space-base);\n}\n\n.GCeQrLFyml4- > .KP-BTjB82iQ- {\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n}\n\n.GCeQrLFyml4-.GuFU-PgC1j4-,\n.GCeQrLFyml4-.qiwlkB5pxkA- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n\n.GCeQrLFyml4-.CbPnpIk7-EE- .KP-BTjB82iQ- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n\n.GCeQrLFyml4-.qiwlkB5pxkA- .KP-BTjB82iQ-,\n.GCeQrLFyml4-.GuFU-PgC1j4- .KP-BTjB82iQ- {\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n\n.GCeQrLFyml4-.qiwlkB5pxkA- .KP-BTjB82iQ- {\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n\n.E5FEsck9zwg- {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n margin-bottom: var(--space-small);\n}\n\n.Sn3-wJuNCqk- {\n margin-top: var(--space-small);\n -ms-flex: 1;\n flex: 1;\n}\n\n.Sn3-wJuNCqk- > div {\n width: 100%;\n}\n\n.GCeQrLFyml4-.CbPnpIk7-EE- .Sn3-wJuNCqk- {\n margin-top: 0;\n}\n\n.GCeQrLFyml4-.qiwlkB5pxkA- .E5FEsck9zwg-,\n.GCeQrLFyml4-.qiwlkB5pxkA- .Sn3-wJuNCqk- {\n margin: 0;\n -ms-flex: 0 auto;\n flex: 0 auto;\n}\n\n.GCeQrLFyml4-.qiwlkB5pxkA- .Sn3-wJuNCqk- {\n margin-left: var(--space-small);\n}\n\n.GCeQrLFyml4-.CbPnpIk7-EE- .Sn3-wJuNCqk- + .Sn3-wJuNCqk- {\n margin-left: var(--space-small);\n}\n\n.GCeQrLFyml4- ._9ZKFDK2jL80- {\n margin-bottom: var(--space-base);\n}\n";
|
|
30
|
+
var styles = {"page":"pVEdXlwstrc-","fill":"_9r84iz--C5M-","standard":"_0LO26JFXU9g-","narrow":"KiMIF8eFbuE-","titleBar":"GCeQrLFyml4-","actionGroup":"KP-BTjB82iQ-","large":"GuFU-PgC1j4-","medium":"qiwlkB5pxkA-","small":"CbPnpIk7-EE-","primaryAction":"E5FEsck9zwg-","actionButton":"Sn3-wJuNCqk-","subtitle":"_9ZKFDK2jL80-"};
|
|
31
31
|
styleInject_es.styleInject(css_248z);
|
|
32
32
|
|
|
33
33
|
// eslint-disable-next-line max-statements
|