@jobber/components 4.2.2-pre.0 → 4.2.2-pre.4
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 +7 -7
- package/dist/Banner/index.js +3 -3
- package/dist/Button/index.js +2 -2
- package/dist/{Button-329807e5.js → Button-186ef2c1.js} +1 -1
- package/dist/ButtonDismiss/index.js +3 -3
- package/dist/{ButtonDismiss-37e08aaa.js → ButtonDismiss-d2d16622.js} +1 -1
- package/dist/Card/index.js +5 -5
- package/dist/{Card-9b6452c5.js → Card-c0f88c0f.js} +3 -3
- package/dist/Checkbox/index.js +3 -3
- package/dist/{Checkbox-dc76c57c.js → Checkbox-1df46a4a.js} +1 -1
- package/dist/Chips/index.js +4 -4
- package/dist/ConfirmationModal/index.js +9 -9
- package/dist/{ConfirmationModal-518c358c.js → ConfirmationModal-ac668c46.js} +2 -2
- package/dist/Countdown/Countdown.d.ts +2 -2
- package/dist/Countdown/index.js +2 -2
- package/dist/DataDump/index.js +6 -6
- package/dist/DataTable/index.js +6 -6
- package/dist/DatePicker/index.js +3 -3
- package/dist/{DatePicker-a09330ba.js → DatePicker-90d542d7.js} +2 -2
- package/dist/DescriptionList/index.js +1 -1
- package/dist/Disclosure/index.js +2 -2
- package/dist/Drawer/index.js +4 -4
- package/dist/Emphasis/index.js +2 -2
- package/dist/{Emphasis-a7d3244d.js → Emphasis-53e963b5.js} +1 -1
- package/dist/FeatureSwitch/index.js +7 -7
- package/dist/FormField/index.js +5 -5
- package/dist/{FormField-db002008.js → FormField-e1c3af82.js} +3 -3
- package/dist/FormatDate/FormatDate.d.ts +2 -2
- package/dist/FormatFile/index.js +10 -10
- package/dist/{FormatFile-aeb83929.js → FormatFile-42ea7a6a.js} +4 -4
- package/dist/FormatRelativeDateTime/FormatRelativeDateTime.d.ts +2 -2
- package/dist/FormatTime/FormatTime.d.ts +2 -2
- package/dist/Gallery/index.js +11 -11
- package/dist/Heading/index.js +2 -2
- package/dist/{Heading-76337105.js → Heading-8c6e4e0b.js} +1 -1
- package/dist/InlineLabel/index.js +1 -1
- package/dist/InputAvatar/index.js +3 -3
- package/dist/InputDate/index.js +6 -6
- package/dist/InputEmail/index.js +5 -5
- package/dist/InputFile/index.js +3 -3
- package/dist/{InputFile-67b695c5.js → InputFile-e7c15211.js} +2 -2
- package/dist/InputNumber/index.js +5 -5
- package/dist/InputPassword/index.js +5 -5
- package/dist/InputText/index.js +6 -6
- package/dist/{InputText-3f38bf99.js → InputText-3ac6b3a9.js} +1 -1
- package/dist/InputTime/InputTimeProps.d.ts +4 -4
- package/dist/InputTime/civilTimeConversions.d.ts +3 -3
- package/dist/InputTime/index.js +7 -7
- package/dist/InputValidation/index.js +3 -3
- package/dist/{InputValidation-4f3c999d.js → InputValidation-e09f5d20.js} +1 -1
- package/dist/LightBox/index.js +4 -4
- package/dist/{LightBox-beb79505.js → LightBox-8472bc9d.js} +2 -2
- package/dist/List/index.js +5 -5
- package/dist/Markdown/index.js +5 -5
- package/dist/{Markdown-cab97b43.js → Markdown-5d86d6e7.js} +3 -3
- package/dist/Menu/index.js +3 -3
- package/dist/{Menu-f90ae9a9.js → Menu-b5e8d8f9.js} +2 -2
- package/dist/Modal/index.js +5 -5
- package/dist/{Modal-069a1669.js → Modal-e41f9284.js} +3 -3
- package/dist/MultiSelect/index.js +3 -3
- package/dist/{Option-1e7f69a1.js → Option-9e93d069.js} +1 -1
- package/dist/Page/index.js +7 -7
- package/dist/Popover/index.js +3 -3
- package/dist/RadioGroup/index.js +2 -2
- package/dist/Select/index.js +6 -6
- package/dist/StatusLabel/index.js +2 -2
- package/dist/Switch/index.js +2 -2
- package/dist/{Switch-0c5e4faa.js → Switch-21d7093a.js} +1 -1
- package/dist/Tabs/index.js +1 -1
- package/dist/Text/index.js +2 -2
- package/dist/{Text-38cce49b.js → Text-4c04ddc3.js} +1 -1
- package/dist/Toast/index.js +2 -2
- package/dist/Tooltip/index.js +3 -3
- package/dist/{Tooltip-c99d861f.js → Tooltip-27720f96.js} +1 -1
- package/dist/Typography/index.js +1 -1
- package/dist/{Typography-3f61c2b0.js → Typography-dd9717e7.js} +1 -1
- package/package.json +5 -3
- package/rollup.config.js +2 -0
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-21d7093a.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('../style-inject.es-9d2f5f4e.js');
|
|
9
|
-
require('../Typography-
|
|
9
|
+
require('../Typography-dd9717e7.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
6
|
-
var Typography = require('./Typography-
|
|
6
|
+
var Typography = require('./Typography-dd9717e7.js');
|
|
7
7
|
|
|
8
8
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
9
|
|
package/dist/Tabs/index.js
CHANGED
|
@@ -5,7 +5,7 @@ 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-
|
|
8
|
+
var Typography = require('../Typography-dd9717e7.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
11
|
|
package/dist/Text/index.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Text = require('../Text-
|
|
5
|
+
var Text = require('../Text-4c04ddc3.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('../Typography-
|
|
7
|
+
require('../Typography-dd9717e7.js');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('../style-inject.es-9d2f5f4e.js');
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var Typography = require('./Typography-
|
|
4
|
+
var Typography = require('./Typography-dd9717e7.js');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
7
|
|
package/dist/Toast/index.js
CHANGED
|
@@ -7,8 +7,8 @@ var client = require('react-dom/client');
|
|
|
7
7
|
var framerMotion = require('framer-motion');
|
|
8
8
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
9
9
|
var Icon = require('../Icon-405a216c.js');
|
|
10
|
-
var Button = require('../Button-
|
|
11
|
-
var Typography = require('../Typography-
|
|
10
|
+
var Button = require('../Button-186ef2c1.js');
|
|
11
|
+
var Typography = require('../Typography-dd9717e7.js');
|
|
12
12
|
require('@jobber/design');
|
|
13
13
|
require('classnames');
|
|
14
14
|
require('react-router-dom');
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Tooltip = require('../Tooltip-
|
|
5
|
+
var Tooltip = require('../Tooltip-27720f96.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('react-dom');
|
|
9
9
|
require('framer-motion');
|
|
10
10
|
require('../style-inject.es-9d2f5f4e.js');
|
|
11
11
|
require('react-popper');
|
|
12
|
-
require('../Text-
|
|
13
|
-
require('../Typography-
|
|
12
|
+
require('../Text-4c04ddc3.js');
|
|
13
|
+
require('../Typography-dd9717e7.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -6,7 +6,7 @@ var ReactDOM = require('react-dom');
|
|
|
6
6
|
var framerMotion = require('framer-motion');
|
|
7
7
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
8
8
|
var reactPopper = require('react-popper');
|
|
9
|
-
var Text = require('./Text-
|
|
9
|
+
var Text = require('./Text-4c04ddc3.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
12
|
|
package/dist/Typography/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Typography = require('../Typography-
|
|
5
|
+
var Typography = require('../Typography-dd9717e7.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('../style-inject.es-9d2f5f4e.js');
|
|
@@ -29,7 +29,7 @@ var css_248z$4 = "._3ll_IHWYP5CXtvLbd7M3g4 {\n color: var(--color-blue);\n}\n\n
|
|
|
29
29
|
var textColors = {"blue":"_3ll_IHWYP5CXtvLbd7M3g4","grey":"_2aLfviMTslnYDFQydSPFyG","greyBlueDark":"_2yHCFsRY1Y6nrwHGA2BGXR","greyBlue":"khfPfWiE9EnXFTUREGKev","green":"_1IbTq3B5pV7-zQrdDXJhDB","red":"LH8KHdwfbdIWS8Ia4LNzJ","yellow":"_2qLzIirDpz70j0ZkQstH4P","yellowDark":"_2WeCxN6EUixXRd6wiNkurb","lightBlue":"_3KVpUUVNa7DxPCMTIqHmkr","white":"K60KIG2FVHz496YyImWfR","heading":"_39omMvRy0QF8yo96lzBKvU","text":"_1lCJhtn-QuZ-H-7N8CtLPg","textSecondary":"iZQf_6Bu4s-etKAEvUMSW","critical":"_22rt2p8mwIe87C2W5fAboT","warning":"_1ZKA-7F_F3OjO2zAlnN0ey","informative":"fjWW9OckqU4Ei4hdPBRqQ","success":"_2oR_lya19rHAoUVAO3xgJ3","disabled":"_2TOA8Z2cHlX5BRCA54HkZp"};
|
|
30
30
|
styleInject_es.styleInject(css_248z$4);
|
|
31
31
|
|
|
32
|
-
var css_248z$3 = "._2v32EeDVd2655RBXZ9dq3n {\n font-style: italic;\n}\n\n._1qwLpB6asp267SE_SsLR5r {\n display: inline;\n font-family: inherit;\n font-style: normal;\n font-weight: inherit;\n background-image: url(
|
|
32
|
+
var css_248z$3 = "._2v32EeDVd2655RBXZ9dq3n {\n font-style: italic;\n}\n\n._1qwLpB6asp267SE_SsLR5r {\n display: inline;\n font-family: inherit;\n font-style: normal;\n font-weight: inherit;\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 84 8' fill='none' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 6.50004C14.6667 4.50004 49.3 0.900038 82.5 2.50004' stroke='%2384EA00' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E\");\n background-position: center bottom;\n background-repeat: no-repeat;\n background-size: 100% 20%;\n}\n";
|
|
33
33
|
var emphasis = {"italic":"_2v32EeDVd2655RBXZ9dq3n","highlight":"_1qwLpB6asp267SE_SsLR5r"};
|
|
34
34
|
styleInject_es.styleInject(css_248z$3);
|
|
35
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "4.2.2-pre.
|
|
3
|
+
"version": "4.2.2-pre.4+d7f53e1f",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,8 +20,9 @@
|
|
|
20
20
|
"@jobber/design": "^0.30.0",
|
|
21
21
|
"@jobber/formatters": "^0.2.2",
|
|
22
22
|
"@jobber/hooks": "^2.0.2",
|
|
23
|
+
"@js-temporal/polyfill": "^0.4.3",
|
|
23
24
|
"@popperjs/core": "^2.0.6",
|
|
24
|
-
"@std-proposal/temporal": "0.0.1",
|
|
25
|
+
"@std-proposal/temporal": "^0.0.1",
|
|
25
26
|
"@tanstack/react-table": "8.5.13",
|
|
26
27
|
"@types/color": "^3.0.1",
|
|
27
28
|
"@types/lodash": "^4.14.136",
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"postcss": "^7.0.36",
|
|
65
66
|
"postcss-import": "^12.0.1",
|
|
66
67
|
"postcss-preset-env": "^6.7.0",
|
|
68
|
+
"postcss-svg": "^3.0.0",
|
|
67
69
|
"rollup": "^2.79.1",
|
|
68
70
|
"rollup-plugin-multi-input": "^0.2.2",
|
|
69
71
|
"rollup-plugin-postcss": "^2.0.3",
|
|
@@ -81,5 +83,5 @@
|
|
|
81
83
|
"> 1%",
|
|
82
84
|
"IE 10"
|
|
83
85
|
],
|
|
84
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "d7f53e1f31c29da62381450dccf2302d17eac991"
|
|
85
87
|
}
|
package/rollup.config.js
CHANGED
|
@@ -19,6 +19,7 @@ export default {
|
|
|
19
19
|
plugins: [
|
|
20
20
|
require("postcss-import"),
|
|
21
21
|
require("autoprefixer"),
|
|
22
|
+
require("postcss-svg"),
|
|
22
23
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
23
24
|
require("postcss-preset-env")({
|
|
24
25
|
stage: 1,
|
|
@@ -59,6 +60,7 @@ export default {
|
|
|
59
60
|
"lodash",
|
|
60
61
|
"uuid",
|
|
61
62
|
"lodash/debounce",
|
|
63
|
+
"@js-temporal/polyfill",
|
|
62
64
|
"@std-proposal/temporal",
|
|
63
65
|
"@use-it/event-listener",
|
|
64
66
|
"@jobber/design",
|