@jobber/components 4.7.1-pre.0 → 4.7.1-pre.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.
Files changed (89) hide show
  1. package/dist/Autocomplete/index.js +9 -9
  2. package/dist/Avatar/index.js +1 -1
  3. package/dist/{Avatar-98b59e17.js → Avatar-1aa30ee1.js} +1 -1
  4. package/dist/Banner/index.js +5 -5
  5. package/dist/Button/index.js +2 -2
  6. package/dist/Button-69409e46.js +57 -0
  7. package/dist/ButtonDismiss/index.js +3 -3
  8. package/dist/{ButtonDismiss-64740d0a.js → ButtonDismiss-7d9deeab.js} +1 -1
  9. package/dist/Card/index.js +5 -5
  10. package/dist/{Card-bf3d96e0.js → Card-459a48b7.js} +4 -4
  11. package/dist/Checkbox/index.js +3 -3
  12. package/dist/{Checkbox-ff77e7ef.js → Checkbox-36f63689.js} +2 -2
  13. package/dist/Chips/index.js +8 -8
  14. package/dist/ConfirmationModal/index.js +10 -10
  15. package/dist/{ConfirmationModal-3b5b2d06.js → ConfirmationModal-3f9a3524.js} +3 -3
  16. package/dist/Content/index.js +1 -1
  17. package/dist/{Content-db546523.js → Content-a6590328.js} +1 -1
  18. package/dist/DataDump/index.js +7 -7
  19. package/dist/DataTable/index.js +11 -11
  20. package/dist/DatePicker/index.js +3 -3
  21. package/dist/{DatePicker-90fd1823.js → DatePicker-b704c15b.js} +3 -3
  22. package/dist/DescriptionList/index.js +2 -2
  23. package/dist/Disclosure/index.js +2 -2
  24. package/dist/Divider/index.js +1 -1
  25. package/dist/Drawer/index.js +5 -5
  26. package/dist/Emphasis/index.js +2 -2
  27. package/dist/{Emphasis-1d1a2601.js → Emphasis-76a10790.js} +1 -1
  28. package/dist/FeatureSwitch/index.js +9 -9
  29. package/dist/FormField/index.js +6 -6
  30. package/dist/{FormField-bdfb7a5a.js → FormField-771f6e12.js} +9 -8
  31. package/dist/FormatFile/index.js +13 -12
  32. package/dist/{FormatFile-c266cae7.js → FormatFile-d2c30cbc.js} +11 -10
  33. package/dist/Gallery/index.js +15 -14
  34. package/dist/Glimmer/Glimmer.d.ts +36 -0
  35. package/dist/Glimmer/index.d.ts +1 -0
  36. package/dist/Glimmer/index.js +13 -0
  37. package/dist/Glimmer-f670c24e.js +42 -0
  38. package/dist/Heading/index.js +2 -2
  39. package/dist/{Heading-4dc407a9.js → Heading-a1191b15.js} +1 -1
  40. package/dist/InlineLabel/index.js +2 -2
  41. package/dist/InputAvatar/index.js +7 -7
  42. package/dist/InputDate/index.js +13 -8
  43. package/dist/InputEmail/index.js +6 -6
  44. package/dist/InputFile/index.js +4 -4
  45. package/dist/{InputFile-33d7d2fb.js → InputFile-a7c0fbbc.js} +4 -4
  46. package/dist/InputNumber/index.js +6 -6
  47. package/dist/InputPassword/index.js +6 -6
  48. package/dist/InputText/index.js +7 -7
  49. package/dist/{InputText-c056703c.js → InputText-32cbc583.js} +1 -1
  50. package/dist/InputTime/index.js +6 -6
  51. package/dist/InputValidation/index.js +3 -3
  52. package/dist/{InputValidation-1b86b467.js → InputValidation-bf743417.js} +2 -2
  53. package/dist/LightBox/index.js +4 -4
  54. package/dist/{LightBox-3753b459.js → LightBox-c637c684.js} +3 -3
  55. package/dist/List/index.js +9 -9
  56. package/dist/Markdown/index.js +6 -6
  57. package/dist/{Markdown-c6caca6d.js → Markdown-53a0bfda.js} +4 -4
  58. package/dist/Menu/index.js +3 -3
  59. package/dist/{Menu-e6f88c8e.js → Menu-aa9c73d2.js} +3 -3
  60. package/dist/Modal/index.js +5 -5
  61. package/dist/{Modal-e493144d.js → Modal-c5f9040f.js} +5 -5
  62. package/dist/MultiSelect/index.js +5 -5
  63. package/dist/{Option-73a5502d.js → Option-ee917602.js} +1 -1
  64. package/dist/Page/index.js +9 -9
  65. package/dist/Popover/index.js +4 -4
  66. package/dist/ProgressBar/index.js +1 -1
  67. package/dist/ProgressBar-5dfc1885.js +28 -0
  68. package/dist/RadioGroup/index.js +3 -3
  69. package/dist/Select/index.js +7 -7
  70. package/dist/Spinner/index.js +1 -1
  71. package/dist/Spinner-9d8fc7ff.js +24 -0
  72. package/dist/StatusLabel/index.js +3 -3
  73. package/dist/Switch/index.js +2 -2
  74. package/dist/Switch-e75145cc.js +56 -0
  75. package/dist/Table/index.js +1 -1
  76. package/dist/Tabs/index.js +2 -2
  77. package/dist/Text/index.js +2 -2
  78. package/dist/{Text-668ba4fe.js → Text-e7ed0974.js} +1 -1
  79. package/dist/Toast/index.js +3 -3
  80. package/dist/Tooltip/index.js +3 -3
  81. package/dist/{Tooltip-dba62da5.js → Tooltip-bf67fe6e.js} +2 -2
  82. package/dist/Typography/index.js +1 -1
  83. package/dist/Typography-fd6f932a.js +62 -0
  84. package/package.json +2 -2
  85. package/dist/Button-e2452625.js +0 -57
  86. package/dist/ProgressBar-8438dd4c.js +0 -28
  87. package/dist/Spinner-3480bc34.js +0 -24
  88. package/dist/Switch-4fab8779.js +0 -56
  89. package/dist/Typography-1aeeb56e.js +0 -62
@@ -5,27 +5,28 @@ 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 LightBox = require('../LightBox-3753b459.js');
9
- var FormatFile = require('../FormatFile-c266cae7.js');
10
- var Button = require('../Button-e2452625.js');
8
+ var LightBox = require('../LightBox-c637c684.js');
9
+ var FormatFile = require('../FormatFile-d2c30cbc.js');
10
+ var Button = require('../Button-69409e46.js');
11
11
  require('framer-motion');
12
12
  require('react-dom');
13
13
  require('lodash/debounce');
14
14
  require('@jobber/hooks');
15
- require('../ButtonDismiss-64740d0a.js');
15
+ require('../ButtonDismiss-7d9deeab.js');
16
16
  require('filesize');
17
- require('../ConfirmationModal-3b5b2d06.js');
18
- require('../Modal-e493144d.js');
19
- require('../Heading-4dc407a9.js');
20
- require('../Typography-1aeeb56e.js');
21
- require('../Content-db546523.js');
22
- require('../Markdown-c6caca6d.js');
17
+ require('../ConfirmationModal-3f9a3524.js');
18
+ require('../Modal-c5f9040f.js');
19
+ require('../Heading-a1191b15.js');
20
+ require('../Typography-fd6f932a.js');
21
+ require('../Content-a6590328.js');
22
+ require('../Markdown-53a0bfda.js');
23
23
  require('react-markdown');
24
- require('../Text-668ba4fe.js');
25
- require('../Emphasis-1d1a2601.js');
24
+ require('../Text-e7ed0974.js');
25
+ require('../Emphasis-76a10790.js');
26
+ require('../Glimmer-f670c24e.js');
26
27
  require('../Icon-405a216c.js');
27
28
  require('@jobber/design');
28
- require('../ProgressBar-8438dd4c.js');
29
+ require('../ProgressBar-5dfc1885.js');
29
30
  require('react-router-dom');
30
31
 
31
32
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -33,7 +34,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
33
34
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
34
35
  var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
35
36
 
36
- var css_248z = ".G3D4T8IYmwA-,\n._6sZaxiji5rQ- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n grid-gap: var(--space-small);\n gap: var(--space-small);\n}\n\n._6sZaxiji5rQ- {\n grid-gap: var(--space-base);\n gap: var(--space-base);\n}\n\n.wh-FkS64oJ0- {\n display: -ms-flexbox;\n display: flex;\n}\n\n.Idp-BJIbUUs- {\n width: 56px;\n height: 56px;\n}\n\n.kOG-STgt5Hs- {\n width: 168px;\n height: 168px;\n box-shadow: var(--shadow-base);\n}\n";
37
+ var css_248z = ".G3D4T8IYmwA-,\n._6sZaxiji5rQ- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n\n._6sZaxiji5rQ- {\n gap: calc(16px * 1);\n gap: var(--space-base);\n}\n\n.wh-FkS64oJ0- {\n display: -ms-flexbox;\n display: flex;\n}\n\n.Idp-BJIbUUs- {\n width: 56px;\n height: 56px;\n}\n\n.kOG-STgt5Hs- {\n width: 168px;\n height: 168px;\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n box-shadow: var(--shadow-base);\n}\n";
37
38
  var styles = {"gallery":"G3D4T8IYmwA-","galleryLarge":"_6sZaxiji5rQ-","showMoreButton":"wh-FkS64oJ0-","baseShowMoreButton":"Idp-BJIbUUs-","largeShowMoreButton":"kOG-STgt5Hs-"};
38
39
  styleInject_es.styleInject(css_248z);
39
40
 
@@ -0,0 +1,36 @@
1
+ /// <reference types="react" />
2
+ import sizes from "./style/Sizes.css";
3
+ import shapes from "./style/Shape.css";
4
+ import timings from "./style/Timing.css";
5
+ export type Sizes = keyof typeof sizes;
6
+ export type Shapes = keyof typeof shapes;
7
+ export type Timings = keyof typeof timings;
8
+ interface GlimmerProps {
9
+ /**
10
+ * Sets the size of the glimmer.
11
+ *
12
+ * If you use `"auto"` with a `"rectangle"` shape, it will fill the
13
+ * size of the parents width and height. With how CSS works, if it can't
14
+ * determine the parents width and height, it'll default to `base`.
15
+ */
16
+ readonly size?: Sizes;
17
+ /**
18
+ * Sets the shape of the glimmer.
19
+ */
20
+ readonly shape?: Shapes;
21
+ /**
22
+ * Control how fast the shine moves from left to right. This is useful when
23
+ * the glimmer is used on smaller spaces.
24
+ */
25
+ readonly timing?: Timings;
26
+ }
27
+ export declare const GLIMMER_TEST_ID = "ATL-Glimmer";
28
+ /**
29
+ * **Experimental component! Use at your own risk.**
30
+ *
31
+ * Foundational component used to build loading states such as Skeleton UI
32
+ *
33
+ * @experimental
34
+ */
35
+ export declare function Glimmer({ size, shape, timing, }: GlimmerProps): JSX.Element;
36
+ export {};
@@ -0,0 +1 @@
1
+ export { Glimmer, GLIMMER_TEST_ID } from "./Glimmer";
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var Glimmer = require('../Glimmer-f670c24e.js');
6
+ require('react');
7
+ require('classnames');
8
+ require('../style-inject.es-9d2f5f4e.js');
9
+
10
+
11
+
12
+ exports.GLIMMER_TEST_ID = Glimmer.GLIMMER_TEST_ID;
13
+ exports.Glimmer = Glimmer.Glimmer;
@@ -0,0 +1,42 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var classnames = require('classnames');
5
+ var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
+ var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
11
+
12
+ var css_248z$3 = ".FXzzrJAf890- {\n --duration-base: calc(var(--timing-slowest) * 4); /* 2s */\n --duration-fast: calc(var(--duration-base) / 2); /* 1s */\n\n width: 100%;\n height: 100%;\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n background-color: rgb(244, 244, 244);\n background-color: var(--color-grey--lightest);\n background-image: linear-gradient(\n 90deg,\n rgb(244, 244, 244) 0px,\n rgba(255, 255, 255, 1) calc(16px * 2),\n rgb(244, 244, 244) calc(16px * 4)\n );\n background-image: linear-gradient(\n 90deg,\n var(--color-grey--lightest) 0px,\n var(--color-white) var(--space-larger),\n var(--color-grey--lightest) var(--space-extravagant)\n );\n background-repeat: no-repeat;\n background-size: calc(16px * 4) 100%;\n background-size: var(--space-extravagant) 100%;\n -webkit-animation: FXzzrJAf890- 2s infinite linear;\n animation: FXzzrJAf890- 2s infinite linear;\n}\n\n@-webkit-keyframes FXzzrJAf890- {\n 0%,\n 20% {\n background-position: calc((16px * 4) * -1);\n background-position: calc(calc(16px * 4) * -1);\n background-position: calc(var(--space-extravagant) * -1);\n }\n\n 100% {\n background-position: calc(100% + (16px * 4));\n background-position: calc(100% + calc(16px * 4));\n background-position: calc(100% + var(--space-extravagant));\n }\n}\n\n@keyframes FXzzrJAf890- {\n 0%,\n 20% {\n background-position: calc((16px * 4) * -1);\n background-position: calc(calc(16px * 4) * -1);\n background-position: calc(var(--space-extravagant) * -1);\n }\n\n 100% {\n background-position: calc(100% + (16px * 4));\n background-position: calc(100% + calc(16px * 4));\n background-position: calc(100% + var(--space-extravagant));\n }\n}\n";
13
+ var styles = {"glimmer":"FXzzrJAf890-"};
14
+ styleInject_es.styleInject(css_248z$3);
15
+
16
+ var css_248z$2 = ".siUUG4rZNSk- {\n height: calc(16px / 2);\n height: var(--space-small);\n}\n\n.nFuBXyrhG2Q- {\n height: calc(16px * 1);\n height: var(--space-base);\n}\n\n.oiVEoAqI-fU- {\n height: calc(16px * 1.5);\n height: var(--space-large);\n}\n\n.Tkmo6mSMI9Y- {\n height: calc(16px * 2);\n height: var(--space-larger);\n}\n\n.uVeaD3IhD6o- {\n height: calc(16px * 3);\n height: var(--space-largest);\n}\n\n._6Wak9NLJ3VQ- {\n height: 100%;\n min-width: calc(16px * 1);\n min-width: var(--space-base);\n min-height: calc(16px * 1);\n min-height: var(--space-base);\n}\n";
17
+ var sizes = {"small":"siUUG4rZNSk-","base":"nFuBXyrhG2Q-","large":"oiVEoAqI-fU-","larger":"Tkmo6mSMI9Y-","largest":"uVeaD3IhD6o-","auto":"_6Wak9NLJ3VQ-"};
18
+ styleInject_es.styleInject(css_248z$2);
19
+
20
+ var css_248z$1 = ".enoWbteryXg- {\n width: 100%;\n}\n\n._9qkwCdedX1M- {\n width: 85%;\n}\n\n.XtyJxvcJDFs- {\n width: 70%;\n}\n\n._8unQ0TS1He4-,\n.ameRMYEKfss- {\n width: auto;\n aspect-ratio: 1;\n}\n\n.ameRMYEKfss- {\n border-radius: 100%;\n border-radius: var(--radius-circle);\n}\n";
21
+ var shapes = {"rectangle":"enoWbteryXg-","rectangleShort":"_9qkwCdedX1M-","rectangleShorter":"XtyJxvcJDFs-","square":"_8unQ0TS1He4-","circle":"ameRMYEKfss-"};
22
+ styleInject_es.styleInject(css_248z$1);
23
+
24
+ var css_248z = ".hO0mZ6TeVko- {\n -webkit-animation-duration: var(--duration-base);\n animation-duration: var(--duration-base);\n}\n\n.WXi5-zF8Ll4- {\n -webkit-animation-duration: calc(var(--duration-fast));\n animation-duration: calc(var(--duration-fast));\n}\n";
25
+ var timings = {"base":"hO0mZ6TeVko-","fast":"WXi5-zF8Ll4-"};
26
+ styleInject_es.styleInject(css_248z);
27
+
28
+ const GLIMMER_TEST_ID = "ATL-Glimmer";
29
+ /**
30
+ * **Experimental component! Use at your own risk.**
31
+ *
32
+ * Foundational component used to build loading states such as Skeleton UI
33
+ *
34
+ * @experimental
35
+ */
36
+ function Glimmer({ size = "base", shape = "rectangle", timing = "base", }) {
37
+ const className = classnames__default["default"](styles.glimmer, sizes[size], shapes[shape], timings[timing]);
38
+ return (React__default["default"].createElement("div", { "aria-busy": "true", className: className, "data-testid": GLIMMER_TEST_ID }));
39
+ }
40
+
41
+ exports.GLIMMER_TEST_ID = GLIMMER_TEST_ID;
42
+ exports.Glimmer = Glimmer;
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Heading = require('../Heading-4dc407a9.js');
5
+ var Heading = require('../Heading-a1191b15.js');
6
6
  require('react');
7
- require('../Typography-1aeeb56e.js');
7
+ require('../Typography-fd6f932a.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-1aeeb56e.js');
4
+ var Typography = require('./Typography-fd6f932a.js');
5
5
 
6
6
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
7
 
@@ -5,14 +5,14 @@ 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-1aeeb56e.js');
8
+ var Typography = require('../Typography-fd6f932a.js');
9
9
 
10
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
11
 
12
12
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
13
  var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
14
14
 
15
- var css_248z = ".S72WkdRbhc0- {\n display: -ms-inline-flexbox;\n display: inline-flex;\n border-radius: var(--radius-large);\n}\n\n.bMWuAXJHkbw- {\n padding: calc(var(--space-smaller) * 1.5) calc(var(--space-small) * 1.25);\n}\n\n.ui07veHjPII- {\n padding: calc(var(--space-smaller) * 1.5) calc(var(--space-small) * 1.25);\n}\n\n.WIXhLSQ7z8A- {\n padding: calc(var(--space-small) * 1.25) calc(var(--space-smaller) * 3.5);\n}\n\n._8RuKvOhj-Ro- {\n color: var(--color-greyBlue--dark);\n background-color: var(--color-greyBlue--lightest);\n}\n\n._2vEF1nvVWm8- {\n color: var(--color-red--dark);\n background-color: var(--color-red--lightest);\n}\n\n.Wt305sIAeoE- {\n color: var(--color-orange--dark);\n background-color: var(--color-orange--lightest);\n}\n\n.F8KkNxz8W3A- {\n color: var(--color-green--dark);\n background-color: var(--color-green--lightest);\n}\n\n.URZZoKSX4So- {\n color: var(--color-blue--dark);\n background-color: var(--color-blue--lightest);\n}\n\n.OeLBV-9i0Rs- {\n color: var(--color-navy--dark);\n background-color: var(--color-navy--lightest);\n}\n\n._2Xwx5tarf1w- {\n color: var(--color-yellow--dark);\n background-color: var(--color-yellow--lightest);\n}\n\n.iCqIjI7GkEk- {\n color: var(--color-lime--dark);\n background-color: var(--color-lime--lightest);\n}\n\n._4iEIjiZj9oA- {\n color: var(--color-purple--dark);\n background-color: var(--color-purple--lightest);\n}\n\n.JRW9QFSjLTA- {\n color: var(--color-pink--dark);\n background-color: var(--color-pink--lightest);\n}\n\n.fbhprd-Gl8k- {\n color: var(--color-teal--dark);\n background-color: var(--color-teal--lightest);\n}\n\n.yrF9aZSaTdw- {\n color: var(--color-yellowGreen--dark);\n background-color: var(--color-yellowGreen--lightest);\n}\n\n.RPvjah0FdjI- {\n color: var(--color-white);\n background-color: var(--color-blue--light);\n}\n\n.apwauWJ6ITc- {\n color: var(--color-lightBlue--dark);\n background-color: var(--color-lightBlue--lightest);\n}\n\n.n8qJynvE-n0- {\n color: var(--color-indigo--dark);\n background-color: var(--color-indigo--lightest);\n}\n";
15
+ var css_248z = ".S72WkdRbhc0- {\n display: -ms-inline-flexbox;\n display: inline-flex;\n border-radius: calc(16px / 4);\n border-radius: var(--radius-large);\n}\n\n.bMWuAXJHkbw- {\n padding: calc((16px / 4) * 1.5) calc((16px / 2) * 1.25);\n padding: calc(calc(16px / 4) * 1.5) calc(calc(16px / 2) * 1.25);\n padding: calc(var(--space-smaller) * 1.5) calc(var(--space-small) * 1.25);\n}\n\n.ui07veHjPII- {\n padding: calc((16px / 4) * 1.5) calc((16px / 2) * 1.25);\n padding: calc(calc(16px / 4) * 1.5) calc(calc(16px / 2) * 1.25);\n padding: calc(var(--space-smaller) * 1.5) calc(var(--space-small) * 1.25);\n}\n\n.WIXhLSQ7z8A- {\n padding: calc((16px / 2) * 1.25) calc((16px / 4) * 3.5);\n padding: calc(calc(16px / 2) * 1.25) calc(calc(16px / 4) * 3.5);\n padding: calc(var(--space-small) * 1.25) calc(var(--space-smaller) * 3.5);\n}\n\n._8RuKvOhj-Ro- {\n color: rgb(66, 78, 86);\n color: var(--color-greyBlue--dark);\n background-color: rgb(232, 235, 237);\n background-color: var(--color-greyBlue--lightest);\n}\n\n._2vEF1nvVWm8- {\n color: rgb(128, 25, 0);\n color: var(--color-red--dark);\n background-color: rgb(255, 226, 219);\n background-color: var(--color-red--lightest);\n}\n\n.Wt305sIAeoE- {\n color: rgb(158, 98, 23);\n color: var(--color-orange--dark);\n background-color: rgb(253, 239, 222);\n background-color: var(--color-orange--lightest);\n}\n\n.F8KkNxz8W3A- {\n color: rgb(81, 114, 9);\n color: var(--color-green--dark);\n background-color: rgb(236, 243, 219);\n background-color: var(--color-green--lightest);\n}\n\n.URZZoKSX4So- {\n color: rgb(1, 27, 37);\n color: var(--color-blue--dark);\n background-color: rgb(217, 223, 225);\n background-color: var(--color-blue--lightest);\n}\n\n.OeLBV-9i0Rs- {\n color: rgb(49, 69, 98);\n color: var(--color-navy--dark);\n background-color: rgb(228, 233, 239);\n background-color: var(--color-navy--lightest);\n}\n\n._2Xwx5tarf1w- {\n color: rgb(144, 127, 10);\n color: var(--color-yellow--dark);\n background-color: rgb(250, 246, 219);\n background-color: var(--color-yellow--lightest);\n}\n\n.iCqIjI7GkEk- {\n color: rgb(99, 125, 46);\n color: var(--color-lime--dark);\n background-color: rgb(240, 246, 227);\n background-color: var(--color-lime--lightest);\n}\n\n._4iEIjiZj9oA- {\n color: rgb(88, 73, 127);\n color: var(--color-purple--dark);\n background-color: rgb(237, 234, 246);\n background-color: var(--color-purple--lightest);\n}\n\n.JRW9QFSjLTA- {\n color: rgb(116, 62, 98);\n color: var(--color-pink--dark);\n background-color: rgb(244, 231, 239);\n background-color: var(--color-pink--lightest);\n}\n\n.fbhprd-Gl8k- {\n color: rgb(40, 112, 95);\n color: var(--color-teal--dark);\n background-color: rgb(226, 243, 239);\n background-color: var(--color-teal--lightest);\n}\n\n.yrF9aZSaTdw- {\n color: rgb(122, 128, 21);\n color: var(--color-yellowGreen--dark);\n background-color: rgb(245, 246, 222);\n background-color: var(--color-yellowGreen--lightest);\n}\n\n.RPvjah0FdjI- {\n color: rgba(255, 255, 255, 1);\n color: var(--color-white);\n background-color: rgb(77, 105, 116);\n background-color: var(--color-blue--light);\n}\n\n.apwauWJ6ITc- {\n color: rgb(39, 105, 146);\n color: var(--color-lightBlue--dark);\n background-color: rgb(226, 241, 250);\n background-color: var(--color-lightBlue--lightest);\n}\n\n.n8qJynvE-n0- {\n color: rgb(55, 69, 132);\n color: var(--color-indigo--dark);\n background-color: rgb(230, 233, 247);\n background-color: var(--color-indigo--lightest);\n}\n";
16
16
  var styles = {"inlineLabel":"S72WkdRbhc0-","base":"bMWuAXJHkbw-","large":"ui07veHjPII-","larger":"WIXhLSQ7z8A-","greyBlue":"_8RuKvOhj-Ro-","red":"_2vEF1nvVWm8-","orange":"Wt305sIAeoE-","green":"F8KkNxz8W3A-","blue":"URZZoKSX4So-","navy":"OeLBV-9i0Rs-","yellow":"_2Xwx5tarf1w-","lime":"iCqIjI7GkEk-","purple":"_4iEIjiZj9oA-","pink":"JRW9QFSjLTA-","teal":"fbhprd-Gl8k-","yellowGreen":"yrF9aZSaTdw-","blueDark":"RPvjah0FdjI-","lightBlue":"apwauWJ6ITc-","indigo":"n8qJynvE-n0-"};
17
17
  styleInject_es.styleInject(css_248z);
18
18
 
@@ -5,10 +5,10 @@ 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 styleInject_es = require('../style-inject.es-9d2f5f4e.js');
8
- var Avatar = require('../Avatar-98b59e17.js');
9
- var InputFile = require('../InputFile-33d7d2fb.js');
10
- var ProgressBar = require('../ProgressBar-8438dd4c.js');
11
- var Button = require('../Button-e2452625.js');
8
+ var Avatar = require('../Avatar-1aa30ee1.js');
9
+ var InputFile = require('../InputFile-a7c0fbbc.js');
10
+ var ProgressBar = require('../ProgressBar-5dfc1885.js');
11
+ var Button = require('../Button-69409e46.js');
12
12
  require('classnames');
13
13
  require('color');
14
14
  require('../Icon-405a216c.js');
@@ -16,15 +16,15 @@ require('@jobber/design');
16
16
  require('react-dropzone');
17
17
  require('axios');
18
18
  require('uuid');
19
- require('../Content-db546523.js');
20
- require('../Typography-1aeeb56e.js');
19
+ require('../Content-a6590328.js');
20
+ require('../Typography-fd6f932a.js');
21
21
  require('react-router-dom');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
25
25
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
26
26
 
27
- var css_248z = ".a2KrLEZNB04- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.a2KrLEZNB04- > *:not(:last-child) {\n margin-right: var(--space-small);\n}\n\n._7-uM-6dFidA- {\n position: relative;\n}\n\n._4tvG9ksH3oM- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n height: 100%;\n margin: 0 var(--space-small);\n -ms-flex-align: center;\n align-items: center;\n}\n\n.ah2Ak5EObRo- {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.ah2Ak5EObRo-::before {\n content: \"\";\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border-radius: var(--radius-circle);\n background-color: var(--color-blue--dark);\n opacity: 0.3;\n mix-blend-mode: multiply;\n}\n";
27
+ var css_248z = ".a2KrLEZNB04- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.a2KrLEZNB04- > *:not(:last-child) {\n margin-right: calc(16px / 2);\n margin-right: var(--space-small);\n}\n\n._7-uM-6dFidA- {\n position: relative;\n}\n\n._4tvG9ksH3oM- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n height: 100%;\n margin: 0 calc(16px / 2);\n margin: 0 var(--space-small);\n -ms-flex-align: center;\n align-items: center;\n}\n\n.ah2Ak5EObRo- {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.ah2Ak5EObRo-::before {\n content: \"\";\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border-radius: 100%;\n border-radius: var(--radius-circle);\n background-color: rgb(1, 27, 37);\n background-color: var(--color-blue--dark);\n opacity: 0.3;\n mix-blend-mode: multiply;\n}\n";
28
28
  var styles = {"inputAvatar":"a2KrLEZNB04-","preview":"_7-uM-6dFidA-","centered":"_4tvG9ksH3oM-","overlay":"ah2Ak5EObRo-"};
29
29
  styleInject_es.styleInject(css_248z);
30
30
 
@@ -4,22 +4,22 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var lodash = require('lodash');
6
6
  var React = require('react');
7
- var FormField = require('../FormField-bdfb7a5a.js');
8
- var DatePicker = require('../DatePicker-90fd1823.js');
7
+ var FormField = require('../FormField-771f6e12.js');
8
+ var DatePicker = require('../DatePicker-b704c15b.js');
9
9
  require('../tslib.es6-5b8768b7.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-e2452625.js');
14
+ require('../Button-69409e46.js');
15
15
  require('react-router-dom');
16
16
  require('../Icon-405a216c.js');
17
17
  require('@jobber/design');
18
- require('../Typography-1aeeb56e.js');
19
- require('../Text-668ba4fe.js');
20
- require('../InputValidation-1b86b467.js');
18
+ require('../Typography-fd6f932a.js');
19
+ require('../Text-e7ed0974.js');
20
+ require('../InputValidation-bf743417.js');
21
21
  require('framer-motion');
22
- require('../Spinner-3480bc34.js');
22
+ require('../Spinner-9d8fc7ff.js');
23
23
  require('react-datepicker');
24
24
  require('@jobber/hooks');
25
25
 
@@ -28,20 +28,25 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
28
28
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
29
29
 
30
30
  function InputDate(inputProps) {
31
+ const formFieldActionsRef = React.useRef(null);
31
32
  return (React__default["default"].createElement(DatePicker.DatePicker, { selected: inputProps.value, onChange: inputProps.onChange, disabled: inputProps.disabled, readonly: inputProps.readonly, fullWidth: !inputProps.inline, minDate: inputProps.minDate, maxDate: inputProps.maxDate, smartAutofocus: false, activator: activatorProps => {
33
+ var _a;
32
34
  const { onChange, onClick, value } = activatorProps;
33
35
  const newActivatorProps = lodash.omit(activatorProps, ["activator"]);
34
36
  const suffix = Object.assign({ icon: "calendar" }, (onClick && {
35
37
  onClick: onClick,
36
38
  ariaLabel: "Show calendar",
37
39
  }));
40
+ // Set form field to formatted date string immediately, to avoid validations
41
+ // triggering incorrectly when it blurs (to handle the datepicker UI click)
42
+ value && ((_a = formFieldActionsRef.current) === null || _a === void 0 ? void 0 : _a.setValue(value));
38
43
  return (React__default["default"].createElement(FormField.FormField, Object.assign({}, newActivatorProps, inputProps, { value: value, onChange: (_, event) => onChange && onChange(event), onBlur: () => {
39
44
  inputProps.onBlur && inputProps.onBlur();
40
45
  activatorProps.onBlur && activatorProps.onBlur();
41
46
  }, onFocus: () => {
42
47
  inputProps.onFocus && inputProps.onFocus();
43
48
  activatorProps.onFocus && activatorProps.onFocus();
44
- }, suffix: suffix })));
49
+ }, actionsRef: formFieldActionsRef, suffix: suffix })));
45
50
  } }));
46
51
  }
47
52
 
@@ -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-bdfb7a5a.js');
6
+ var FormField = require('../FormField-771f6e12.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-e2452625.js');
12
+ require('../Button-69409e46.js');
13
13
  require('react-router-dom');
14
14
  require('../Icon-405a216c.js');
15
15
  require('@jobber/design');
16
- require('../Typography-1aeeb56e.js');
17
- require('../Text-668ba4fe.js');
18
- require('../InputValidation-1b86b467.js');
16
+ require('../Typography-fd6f932a.js');
17
+ require('../Text-e7ed0974.js');
18
+ require('../InputValidation-bf743417.js');
19
19
  require('framer-motion');
20
- require('../Spinner-3480bc34.js');
20
+ require('../Spinner-9d8fc7ff.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var InputFile = require('../InputFile-33d7d2fb.js');
5
+ var InputFile = require('../InputFile-a7c0fbbc.js');
6
6
  require('../tslib.es6-5b8768b7.js');
7
7
  require('react');
8
8
  require('classnames');
@@ -10,12 +10,12 @@ require('react-dropzone');
10
10
  require('axios');
11
11
  require('uuid');
12
12
  require('../style-inject.es-9d2f5f4e.js');
13
- require('../Button-e2452625.js');
13
+ require('../Button-69409e46.js');
14
14
  require('react-router-dom');
15
15
  require('../Icon-405a216c.js');
16
16
  require('@jobber/design');
17
- require('../Typography-1aeeb56e.js');
18
- require('../Content-db546523.js');
17
+ require('../Typography-fd6f932a.js');
18
+ require('../Content-a6590328.js');
19
19
 
20
20
 
21
21
 
@@ -7,9 +7,9 @@ var reactDropzone = require('react-dropzone');
7
7
  var axios = require('axios');
8
8
  var uuid = require('uuid');
9
9
  var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
10
- var Button = require('./Button-e2452625.js');
11
- var Content = require('./Content-db546523.js');
12
- var Typography = require('./Typography-1aeeb56e.js');
10
+ var Button = require('./Button-69409e46.js');
11
+ var Content = require('./Content-a6590328.js');
12
+ var Typography = require('./Typography-fd6f932a.js');
13
13
 
14
14
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
15
15
 
@@ -17,7 +17,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
17
17
  var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
18
18
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
19
19
 
20
- var css_248z = ".grljXfTWj84- {\n font-size: 0;\n line-height: 0;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n}\n\n.grljXfTWj84-:focus,\n.grljXfTWj84-[focus-within] {\n border-color: var(--color-focus);\n outline: none;\n}\n\n.grljXfTWj84-:focus,\n.grljXfTWj84-:focus-within {\n border-color: var(--color-focus);\n outline: none;\n}\n\n.WHhHWgaoXk4- {\n padding: var(--space-base);\n border: var(--color-border) dashed var(--border-thick);\n border-radius: var(--radius-larger);\n text-align: center;\n}\n\n.WHhHWgaoXk4-.n1h-T2metRA- {\n border-color: var(--color-focus);\n background-color: var(--color-surface--hover);\n}\n";
20
+ var css_248z = ".grljXfTWj84- {\n font-size: 0;\n line-height: 0;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n}\n\n.grljXfTWj84-:focus,\n.grljXfTWj84-:focus-within {\n border-color: rgb(231, 213, 87);\n border-color: var(--color-focus);\n outline: none;\n}\n\n.WHhHWgaoXk4- {\n padding: calc(16px * 1);\n padding: var(--space-base);\n border: rgb(225, 225, 225) dashed calc(16px / 8);\n border: var(--color-border) dashed var(--border-thick);\n border-radius: calc(16px / 2);\n border-radius: var(--radius-larger);\n text-align: center;\n}\n\n.WHhHWgaoXk4-.n1h-T2metRA- {\n border-color: rgb(231, 213, 87);\n border-color: var(--color-focus);\n background-color: rgb(250, 246, 219);\n background-color: var(--color-surface--hover);\n}\n";
21
21
  var styles = {"dropZoneBase":"grljXfTWj84-","dropZone":"WHhHWgaoXk4-","active":"n1h-T2metRA-"};
22
22
  styleInject_es.styleInject(css_248z);
23
23
 
@@ -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-bdfb7a5a.js');
6
+ var FormField = require('../FormField-771f6e12.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-e2452625.js');
12
+ require('../Button-69409e46.js');
13
13
  require('react-router-dom');
14
14
  require('../Icon-405a216c.js');
15
15
  require('@jobber/design');
16
- require('../Typography-1aeeb56e.js');
17
- require('../Text-668ba4fe.js');
18
- require('../InputValidation-1b86b467.js');
16
+ require('../Typography-fd6f932a.js');
17
+ require('../Text-e7ed0974.js');
18
+ require('../InputValidation-bf743417.js');
19
19
  require('framer-motion');
20
- require('../Spinner-3480bc34.js');
20
+ require('../Spinner-9d8fc7ff.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -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-bdfb7a5a.js');
6
+ var FormField = require('../FormField-771f6e12.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-e2452625.js');
12
+ require('../Button-69409e46.js');
13
13
  require('react-router-dom');
14
14
  require('../Icon-405a216c.js');
15
15
  require('@jobber/design');
16
- require('../Typography-1aeeb56e.js');
17
- require('../Text-668ba4fe.js');
18
- require('../InputValidation-1b86b467.js');
16
+ require('../Typography-fd6f932a.js');
17
+ require('../Text-e7ed0974.js');
18
+ require('../InputValidation-bf743417.js');
19
19
  require('framer-motion');
20
- require('../Spinner-3480bc34.js');
20
+ require('../Spinner-9d8fc7ff.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -2,23 +2,23 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var InputText = require('../InputText-c056703c.js');
5
+ var InputText = require('../InputText-32cbc583.js');
6
6
  require('react');
7
- require('../FormField-bdfb7a5a.js');
7
+ require('../FormField-771f6e12.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-e2452625.js');
13
+ require('../Button-69409e46.js');
14
14
  require('react-router-dom');
15
15
  require('../Icon-405a216c.js');
16
16
  require('@jobber/design');
17
- require('../Typography-1aeeb56e.js');
18
- require('../Text-668ba4fe.js');
19
- require('../InputValidation-1b86b467.js');
17
+ require('../Typography-fd6f932a.js');
18
+ require('../Text-e7ed0974.js');
19
+ require('../InputValidation-bf743417.js');
20
20
  require('framer-motion');
21
- require('../Spinner-3480bc34.js');
21
+ require('../Spinner-9d8fc7ff.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-bdfb7a5a.js');
4
+ var FormField = require('./FormField-771f6e12.js');
5
5
 
6
6
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
7
 
@@ -6,20 +6,20 @@ var tslib_es6 = require('../tslib.es6-5b8768b7.js');
6
6
  var React = require('react');
7
7
  var debounce = require('lodash/debounce');
8
8
  var temporal = require('@std-proposal/temporal');
9
- var FormField = require('../FormField-bdfb7a5a.js');
9
+ var FormField = require('../FormField-771f6e12.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-e2452625.js');
14
+ require('../Button-69409e46.js');
15
15
  require('react-router-dom');
16
16
  require('../Icon-405a216c.js');
17
17
  require('@jobber/design');
18
- require('../Typography-1aeeb56e.js');
19
- require('../Text-668ba4fe.js');
20
- require('../InputValidation-1b86b467.js');
18
+ require('../Typography-fd6f932a.js');
19
+ require('../Text-e7ed0974.js');
20
+ require('../InputValidation-bf743417.js');
21
21
  require('framer-motion');
22
- require('../Spinner-3480bc34.js');
22
+ require('../Spinner-9d8fc7ff.js');
23
23
 
24
24
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
25
25
 
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var InputValidation = require('../InputValidation-1b86b467.js');
5
+ var InputValidation = require('../InputValidation-bf743417.js');
6
6
  require('react');
7
7
  require('framer-motion');
8
8
  require('../style-inject.es-9d2f5f4e.js');
9
- require('../Text-668ba4fe.js');
10
- require('../Typography-1aeeb56e.js');
9
+ require('../Text-e7ed0974.js');
10
+ require('../Typography-fd6f932a.js');
11
11
  require('classnames');
12
12
  require('../Icon-405a216c.js');
13
13
  require('@jobber/design');
@@ -3,14 +3,14 @@
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-668ba4fe.js');
6
+ var Text = require('./Text-e7ed0974.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 = ".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";
13
+ var css_248z = ".sc-bFJieXBA- {\n margin-top: calc(16px / 4);\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: calc(16px / 4);\n padding: var(--space-smaller);\n padding-left: 0;\n}\n\n.xybhC5Y6mk4- > svg {\n margin-right: calc(16px / 4);\n margin-right: var(--space-smaller);\n}\n\n.xybhC5Y6mk4-:focus {\n box-shadow: 0px 0px calc(16px / 4) calc(16px / 8)\n rgb(231, 213, 87);\n box-shadow: var(--shadow-focus);\n outline: none;\n}\n";
14
14
  var styles = {"hasValidationMessage":"sc-bFJieXBA-","message":"xybhC5Y6mk4-"};
15
15
  styleInject_es.styleInject(css_248z);
16
16
 
@@ -2,20 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var LightBox = require('../LightBox-3753b459.js');
5
+ var LightBox = require('../LightBox-c637c684.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-64740d0a.js');
13
- require('../Button-e2452625.js');
12
+ require('../ButtonDismiss-7d9deeab.js');
13
+ require('../Button-69409e46.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-1aeeb56e.js');
18
+ require('../Typography-fd6f932a.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-64740d0a.js');
10
- var Button = require('./Button-e2452625.js');
9
+ var ButtonDismiss = require('./ButtonDismiss-7d9deeab.js');
10
+ var Button = require('./Button-69409e46.js');
11
11
 
12
12
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
13
 
@@ -15,7 +15,7 @@ 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 = "._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";
18
+ var css_248z = "._3JgBCebdbNU-,\n.JJOBEL7d-10- {\n display: -ms-flexbox;\n display: flex;\n position: absolute;\n top: 50%;\n z-index: 1;\n z-index: var(--elevation-base);\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n\n._3JgBCebdbNU- {\n right: calc(16px * 1);\n right: var(--space-base);\n}\n\n.JJOBEL7d-10- {\n left: calc(16px * 1);\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: 1001;\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: 1;\n z-index: var(--elevation-base);\n padding: calc(16px / 2) calc(16px * 1);\n padding: var(--space-small) var(--space-base);\n color: rgb(193, 201, 206);\n color: var(--color-text--reverse--secondary);\n font-size: calc(16px * 1);\n font-size: var(--typography--fontSize-large);\n background-color: rgb(1, 41, 57);\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: rgba(0, 0, 0, 0.32);\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
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