@jobber/components 4.68.18 → 4.69.1-cssdts-exp.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Autocomplete/index.js +2 -2
- package/dist/Card/colors.css.d.ts +89 -0
- package/dist/Content/Spacing.css.d.ts +7 -0
- package/dist/DataList/index.js +4 -4
- package/dist/DataTable/index.js +2 -2
- package/dist/FormField/index.js +1 -1
- package/dist/{FormField-18cda9ed.js → FormField-a332b2a6.js} +1 -1
- package/dist/Gallery/Gallery.css.d.ts +9 -0
- package/dist/Glimmer/style/Shape.css.d.ts +9 -0
- package/dist/Glimmer/style/Sizes.css.d.ts +10 -0
- package/dist/Glimmer/style/Timing.css.d.ts +6 -0
- package/dist/Grid/GridAlign.css.d.ts +8 -0
- package/dist/InputDate/index.js +1 -1
- package/dist/InputEmail/index.js +1 -1
- package/dist/InputNumber/index.js +2 -2
- package/dist/{InputNumber-29416358.js → InputNumber-3f5d3f8d.js} +1 -1
- package/dist/InputPassword/index.js +1 -1
- package/dist/InputPhoneNumber/index.js +1 -1
- package/dist/InputText/index.js +2 -2
- package/dist/{InputText-0e3c927f.js → InputText-e2d4ac19.js} +1 -1
- package/dist/InputTime/index.js +1 -1
- package/dist/Modal/Sizes.css.d.ts +6 -0
- package/dist/{Option-a4f8abe7.js → Option-e5274cd8.js} +1 -1
- package/dist/ProgressBar/Sizes.css.d.ts +7 -0
- package/dist/RecurringSelect/index.js +3 -3
- package/dist/Select/index.js +2 -2
- package/dist/Typography/css/Emphasis.css.d.ts +6 -0
- package/dist/Typography/css/FontFamilies.css.d.ts +6 -0
- package/dist/Typography/css/FontSizes.css.d.ts +12 -0
- package/dist/Typography/css/FontWeights.css.d.ts +10 -0
- package/dist/Typography/css/TextAlignment.css.d.ts +7 -0
- package/dist/Typography/css/TextCases.css.d.ts +7 -0
- package/dist/Typography/css/TextColors.css.d.ts +22 -0
- package/dist/Typography/css/Truncate.css.d.ts +5 -0
- package/dist/Typography/css/Typography.css.d.ts +5 -0
- package/package.json +4 -3
- package/rollup.config.js +57 -0
|
@@ -13,11 +13,11 @@ var useOnKeyDown = require('@jobber/hooks/useOnKeyDown');
|
|
|
13
13
|
var Text = require('../Text-259af966.js');
|
|
14
14
|
var Icon = require('../Icon-405a216c.js');
|
|
15
15
|
var Heading = require('../Heading-1e8e4bd3.js');
|
|
16
|
-
var InputText = require('../InputText-
|
|
16
|
+
var InputText = require('../InputText-e2d4ac19.js');
|
|
17
17
|
require('../Typography-c45bf216.js');
|
|
18
18
|
require('@jobber/design');
|
|
19
19
|
require('../getAtlantisConfig-0f3e8af2.js');
|
|
20
|
-
require('../FormField-
|
|
20
|
+
require('../FormField-a332b2a6.js');
|
|
21
21
|
require('uuid');
|
|
22
22
|
require('react-hook-form');
|
|
23
23
|
require('@jobber/hooks/useShowClear');
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
readonly "requestColor": string;
|
|
3
|
+
readonly "quoteColor": string;
|
|
4
|
+
readonly "jobColor": string;
|
|
5
|
+
readonly "invoiceColor": string;
|
|
6
|
+
readonly "blue": string;
|
|
7
|
+
readonly "blueLight": string;
|
|
8
|
+
readonly "blueLighter": string;
|
|
9
|
+
readonly "blueLightest": string;
|
|
10
|
+
readonly "blueDark": string;
|
|
11
|
+
readonly "green": string;
|
|
12
|
+
readonly "greenLight": string;
|
|
13
|
+
readonly "greenLighter": string;
|
|
14
|
+
readonly "greenLightest": string;
|
|
15
|
+
readonly "greenDark": string;
|
|
16
|
+
readonly "lime": string;
|
|
17
|
+
readonly "limeLight": string;
|
|
18
|
+
readonly "limeLighter": string;
|
|
19
|
+
readonly "limeLightest": string;
|
|
20
|
+
readonly "limeDark": string;
|
|
21
|
+
readonly "yellowGreen": string;
|
|
22
|
+
readonly "yellowGreenLight": string;
|
|
23
|
+
readonly "yellowGreenLighter": string;
|
|
24
|
+
readonly "yellowGreenLightest": string;
|
|
25
|
+
readonly "yellowGreenDark": string;
|
|
26
|
+
readonly "yellow": string;
|
|
27
|
+
readonly "yellowLight": string;
|
|
28
|
+
readonly "yellowLighter": string;
|
|
29
|
+
readonly "yellowLightest": string;
|
|
30
|
+
readonly "yellowDark": string;
|
|
31
|
+
readonly "red": string;
|
|
32
|
+
readonly "redLight": string;
|
|
33
|
+
readonly "redLighter": string;
|
|
34
|
+
readonly "redLightest": string;
|
|
35
|
+
readonly "redDark": string;
|
|
36
|
+
readonly "grey": string;
|
|
37
|
+
readonly "greyLight": string;
|
|
38
|
+
readonly "greyLighter": string;
|
|
39
|
+
readonly "greyLightest": string;
|
|
40
|
+
readonly "greyDark": string;
|
|
41
|
+
readonly "greyBlue": string;
|
|
42
|
+
readonly "greyBlueLight": string;
|
|
43
|
+
readonly "greyBlueLighter": string;
|
|
44
|
+
readonly "greyBlueLightest": string;
|
|
45
|
+
readonly "greyBlueDark": string;
|
|
46
|
+
readonly "lightBlue": string;
|
|
47
|
+
readonly "lightBlueLight": string;
|
|
48
|
+
readonly "lightBlueLighter": string;
|
|
49
|
+
readonly "lightBlueLightest": string;
|
|
50
|
+
readonly "lightBlueDark": string;
|
|
51
|
+
readonly "purple": string;
|
|
52
|
+
readonly "purpleLight": string;
|
|
53
|
+
readonly "purpleLighter": string;
|
|
54
|
+
readonly "purpleLightest": string;
|
|
55
|
+
readonly "purpleDark": string;
|
|
56
|
+
readonly "pink": string;
|
|
57
|
+
readonly "pinkLight": string;
|
|
58
|
+
readonly "pinkLighter": string;
|
|
59
|
+
readonly "pinkLightest": string;
|
|
60
|
+
readonly "pinkDark": string;
|
|
61
|
+
readonly "teal": string;
|
|
62
|
+
readonly "tealLight": string;
|
|
63
|
+
readonly "tealLighter": string;
|
|
64
|
+
readonly "tealLightest": string;
|
|
65
|
+
readonly "tealDark": string;
|
|
66
|
+
readonly "orange": string;
|
|
67
|
+
readonly "orangeLight": string;
|
|
68
|
+
readonly "orangeLighter": string;
|
|
69
|
+
readonly "orangeLightest": string;
|
|
70
|
+
readonly "orangeDark": string;
|
|
71
|
+
readonly "brown": string;
|
|
72
|
+
readonly "brownLight": string;
|
|
73
|
+
readonly "brownLighter": string;
|
|
74
|
+
readonly "brownLightest": string;
|
|
75
|
+
readonly "brownDark": string;
|
|
76
|
+
readonly "navy": string;
|
|
77
|
+
readonly "navyLight": string;
|
|
78
|
+
readonly "navyLighter": string;
|
|
79
|
+
readonly "navyLightest": string;
|
|
80
|
+
readonly "navyDark": string;
|
|
81
|
+
readonly "indigo": string;
|
|
82
|
+
readonly "indigoLight": string;
|
|
83
|
+
readonly "indigoLighter": string;
|
|
84
|
+
readonly "indigoLightest": string;
|
|
85
|
+
readonly "indigoDark": string;
|
|
86
|
+
readonly "white": string;
|
|
87
|
+
};
|
|
88
|
+
export = styles;
|
|
89
|
+
|
package/dist/DataList/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var Combobox = require('../Combobox-95b3c413.js');
|
|
|
29
29
|
var Chip = require('../Chip-c91fd6c8.js');
|
|
30
30
|
var Icon = require('../Icon-405a216c.js');
|
|
31
31
|
var debounce = require('lodash/debounce');
|
|
32
|
-
var InputText = require('../InputText-
|
|
32
|
+
var InputText = require('../InputText-e2d4ac19.js');
|
|
33
33
|
var Spinner = require('../Spinner-9d8fc7ff.js');
|
|
34
34
|
var Typography = require('../Typography-c45bf216.js');
|
|
35
35
|
require('../Content-2ca1ffe1.js');
|
|
@@ -40,7 +40,7 @@ require('react-hook-form');
|
|
|
40
40
|
require('@jobber/hooks/useAssert');
|
|
41
41
|
require('../Avatar-76a799fa.js');
|
|
42
42
|
require('color');
|
|
43
|
-
require('../FormField-
|
|
43
|
+
require('../FormField-a332b2a6.js');
|
|
44
44
|
require('@jobber/hooks/useShowClear');
|
|
45
45
|
require('../InputValidation-a7a737f9.js');
|
|
46
46
|
|
|
@@ -52,7 +52,7 @@ var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
|
52
52
|
var isEmpty__default = /*#__PURE__*/_interopDefaultLegacy(isEmpty);
|
|
53
53
|
var debounce__default = /*#__PURE__*/_interopDefaultLegacy(debounce);
|
|
54
54
|
|
|
55
|
-
var css_248z$f = ".TkdrExYnvcY-,\n.TkdrExYnvcY- * {\n box-sizing: border-box;\n}\n\n.TkdrExYnvcY- {\n --data-list--minimum-item-height: calc(var(--base-unit) * 3.5);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n position: relative;\n z-index: 0;\n z-index: var(--elevation-default);\n -ms-flex: 1;\n flex: 1;\n}\n\n/*\n * Header\n */\n\n.IcAlZHoB4LI- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n z-index: 1;\n z-index: var(--elevation-base);\n margin-bottom: calc(16px / 2);\n margin-bottom: var(--space-small);\n -ms-flex-align: center;\n align-items: center;\n}\n\n.TFO76ysivmg- {\n display: grid;\n padding: calc(16px / 2) 0;\n padding: var(--space-small) 0;\n gap: calc(16px / 2);\n grid-gap: calc(16px / 2);\n grid-gap: var(--space-small);\n gap: var(--space-small);\n grid-template-columns: auto -
|
|
55
|
+
var css_248z$f = ".TkdrExYnvcY-,\n.TkdrExYnvcY- * {\n box-sizing: border-box;\n}\n\n.TkdrExYnvcY- {\n --data-list--minimum-item-height: calc(var(--base-unit) * 3.5);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n position: relative;\n z-index: 0;\n z-index: var(--elevation-default);\n -ms-flex: 1;\n flex: 1;\n}\n\n/*\n * Header\n */\n\n.IcAlZHoB4LI- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n z-index: 1;\n z-index: var(--elevation-base);\n margin-bottom: calc(16px / 2);\n margin-bottom: var(--space-small);\n -ms-flex-align: center;\n align-items: center;\n}\n\n.TFO76ysivmg- {\n display: grid;\n padding: calc((16px / 2) + (16px / 4)) 0;\n padding: calc(calc(16px / 2) + calc(16px / 4)) 0;\n padding: calc(var(--space-small) + var(--space-smaller)) 0;\n gap: calc(16px / 2);\n grid-gap: calc(16px / 2);\n grid-gap: var(--space-small);\n gap: var(--space-small);\n grid-template-columns: auto fit-content(calc(16px * 14));\n grid-template-columns: auto fit-content(calc(var(--base-unit) * 14));\n}\n\n.jGHZZYZm1ZY- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: center;\n justify-content: center;\n min-height: calc(16px * 3);\n min-height: var(--space-largest);\n padding: calc(16px / 2);\n padding: var(--space-small);\n border-bottom: calc(16px / 8) solid rgb(217, 223, 225);\n border-bottom: var(--border-thick) solid var(--color-border);\n}\n\n.GiD7MjZJbcw- {\n --data-list--header-actions-gap: var(--space-small);\n display: -ms-flexbox;\n display: flex;\n gap: calc(16px / 2);\n gap: var(--data-list--header-actions-gap);\n}\n\n@media (max-width: 489px) {\n\n.GiD7MjZJbcw- {\n -ms-flex-pack: justify;\n justify-content: space-between;\n width: 100%;\n}\n }\n\n@media (--small-screens-and-below) {\n\n.GiD7MjZJbcw- {\n -ms-flex-pack: justify;\n justify-content: space-between;\n width: 100%;\n}\n }\n\n.jMSVGIAr5tk- > p {\n font-weight: 500;\n white-space: nowrap;\n}\n\n.jMSVGIAr5tk- {\n display: -ms-flexbox;\n display: flex;\n margin: calc((16px / 2) * -1) 0;\n margin: calc(calc(16px / 2) * -1) 0;\n margin: calc(var(--space-small) * -1) 0;\n -ms-flex-align: center;\n align-items: center;\n gap: var(--data-list--header-actions-gap);\n}\n\n/*\n * List Item\n */\n\n.ise8kHCfhCY- {\n position: relative;\n padding: calc(16px / 2);\n padding: var(--space-small);\n border-bottom: calc(16px / 16) solid rgb(217, 223, 225);\n border-bottom: var(--border-base) solid var(--color-border);\n transition: all 200ms;\n transition: all var(--timing-base);\n}\n\n.ise8kHCfhCY-,\n.Tq6e0BGwcSM- {\n display: grid;\n grid-template-columns: minmax(0px, auto);\n min-height: var(--data-list--minimum-item-height);\n -ms-flex-align: center;\n align-items: center;\n}\n\n.ise8kHCfhCY-.Pc0JGX6jCD4-,\n.ise8kHCfhCY-:hover,\n.ise8kHCfhCY-:focus-within {\n --data-list-item-active-color: var(--color-surface--hover);\n background-color: rgb(244, 246, 250);\n background-color: var(--data-list-item-active-color);\n}\n\n.Tq6e0BGwcSM- {\n margin: calc((16px / 2) * -1) 0;\n margin: calc(calc(16px / 2) * -1) 0;\n margin: calc(var(--space-small) * -1) 0;\n padding: calc(16px / 2) 0;\n padding: var(--space-small) 0;\n border: none;\n text-align: left;\n -webkit-text-decoration: none;\n text-decoration: none;\n background-color: transparent;\n cursor: pointer;\n}\n\n/**\n * Reset CSS properties on focus to ensure we only have the focus state on the\n * parent .listItem\n */\n\n.Tq6e0BGwcSM-:focus {\n outline: none;\n background-color: transparent;\n}\n\n/**\n * Enable a better hover and focus experience when :has() is supported.\n * This is a workaround for Firefox where the :has() selector is not supported.\n */\n\n@supports selector(*:has(*)) {\n .ise8kHCfhCY-:hover,\n .ise8kHCfhCY-:focus-within {\n background-color: transparent;\n }\n\n .ise8kHCfhCY-:has(.Tq6e0BGwcSM-:hover, .Tq6e0BGwcSM-:focus) {\n background-color: var(--data-list-item-active-color);\n }\n}\n\n/*\n * List Item Selection\n */\n\n.d-79rkMqufg- {\n display: grid;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n\n@media (min-width: 768px) {\n\n.d-79rkMqufg- {\n -ms-flex-align: center;\n align-items: center;\n}\n }\n\n@media (--medium-screens-and-up) {\n\n.d-79rkMqufg- {\n -ms-flex-align: center;\n align-items: center;\n}\n }\n\n.d-79rkMqufg-,\n.jGHZZYZm1ZY- .d-79rkMqufg- {\n grid-template-columns: -webkit-max-content minmax(0px, auto);\n grid-template-columns: max-content minmax(0px, auto);\n -webkit-column-gap: calc(16px / 2);\n -webkit-column-gap: var(--space-small);\n -moz-column-gap: calc(16px / 2);\n -moz-column-gap: var(--space-small);\n column-gap: calc(16px / 2);\n column-gap: var(--space-small);\n}\n\n.jGHZZYZm1ZY- .d-79rkMqufg- {\n display: grid;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.qm-SSuWTXkI- {\n display: -ms-flexbox;\n display: flex;\n visibility: hidden;\n\n /* To compensate the Checkbox's label margin that we are using for screen-readers */\n margin-right: calc((16px * 1) * -1);\n margin-right: calc(calc(16px * 1) * -1);\n margin-right: calc(var(--space-base) * -1);\n}\n\n.qm-SSuWTXkI-.VA9RnQp6nbI- {\n visibility: visible;\n}\n\n.ise8kHCfhCY- .d-79rkMqufg- > :first-child {\n -ms-flex-order: 2;\n order: 2;\n}\n\n.ise8kHCfhCY- .d-79rkMqufg- > :last-child {\n -ms-flex-order: 1;\n order: 1;\n padding-top: calc(16px / 4);\n padding-top: var(--space-smaller);\n opacity: 1;\n transition: opacity 100ms ease-in-out;\n transition: opacity var(--transition-properties);\n --transition-properties: var(--timing-quick) ease-in-out;\n}\n\n@media (min-width: 768px) {\n\n.ise8kHCfhCY- .d-79rkMqufg- > :last-child {\n padding-top: 0;\n opacity: 0;\n}\n }\n\n@media (--medium-screens-and-up) {\n\n.ise8kHCfhCY- .d-79rkMqufg- > :last-child {\n padding-top: 0;\n opacity: 0;\n}\n }\n\n.ise8kHCfhCY-:hover .d-79rkMqufg- > :last-child,\n.ise8kHCfhCY-:focus-within .d-79rkMqufg- > :last-child,\n.ise8kHCfhCY- .d-79rkMqufg-._4L7iXXzLr5k- > :last-child {\n opacity: 1;\n}\n\n/*\n * Filters\n */\n\n.Kkp-IYmwq-s- {\n display: -ms-flexbox;\n display: flex;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: rgba(255, 255, 255, 0.6);\n background-color: var(--color-overlay--dimmed);\n -ms-flex-align: start;\n align-items: flex-start;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.m-eCShL7TU4- {\n position: sticky;\n top: 50vh;\n}\n\n/* This hides the text from the UI but not from the screen readers */\n\n.esUiRgWabYw- {\n position: absolute;\n top: auto;\n left: -10000px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n text-indent: -10000px;\n}\n";
|
|
56
56
|
var styles$f = {"wrapper":"TkdrExYnvcY-","titleContainer":"IcAlZHoB4LI-","headerFilters":"TFO76ysivmg-","headerTitles":"jGHZZYZm1ZY-","batchSelectContainer":"GiD7MjZJbcw-","headerBatchSelect":"jMSVGIAr5tk-","listItem":"ise8kHCfhCY-","listItemClickable":"Tq6e0BGwcSM-","active":"Pc0JGX6jCD4-","selectable":"d-79rkMqufg-","selectAllCheckbox":"qm-SSuWTXkI-","visible":"VA9RnQp6nbI-","selected":"_4L7iXXzLr5k-","filtering":"Kkp-IYmwq-s-","filteringSpinner":"m-eCShL7TU4-","srOnly":"esUiRgWabYw-"};
|
|
57
57
|
styleInject_es.styleInject(css_248z$f);
|
|
58
58
|
|
|
@@ -959,7 +959,7 @@ function InternalDataListSearch() {
|
|
|
959
959
|
// If the initial value changes, reset the input.
|
|
960
960
|
, {
|
|
961
961
|
// If the initial value changes, reset the input.
|
|
962
|
-
key: initialValue, defaultValue: initialValue, ref: inputRef, placeholder: getPlaceholder(), onChange: debouncedSearch, prefix: { icon: "search" },
|
|
962
|
+
key: initialValue, defaultValue: initialValue, ref: inputRef, placeholder: getPlaceholder(), onChange: debouncedSearch, prefix: { icon: "search" }, clearable: "always" })),
|
|
963
963
|
React__default["default"].createElement("div", { className: styles$4.searchButton },
|
|
964
964
|
React__default["default"].createElement(AnimatedSwitcher.AnimatedSwitcher, { switched: visible, initialChild: React__default["default"].createElement(Button.Button, { variation: "subtle", icon: "search", ariaLabel: "Search", onClick: toggleSearch }), switchTo: React__default["default"].createElement(Button.Button, { variation: "subtle", icon: "remove", ariaLabel: "Close search bar", onClick: toggleSearch }) }))));
|
|
965
965
|
function getPlaceholder() {
|
package/dist/DataTable/index.js
CHANGED
|
@@ -9,11 +9,11 @@ var jobberHooks = require('@jobber/hooks/useResizeObserver');
|
|
|
9
9
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
10
10
|
var Glimmer = require('../Glimmer-cfa92a88.js');
|
|
11
11
|
var tslib_es6 = require('../tslib.es6-5b8768b7.js');
|
|
12
|
-
var Option = require('../Option-
|
|
12
|
+
var Option = require('../Option-e5274cd8.js');
|
|
13
13
|
var Button = require('../Button-b73a5e01.js');
|
|
14
14
|
var Text = require('../Text-259af966.js');
|
|
15
15
|
require('../Content-2ca1ffe1.js');
|
|
16
|
-
require('../FormField-
|
|
16
|
+
require('../FormField-a332b2a6.js');
|
|
17
17
|
require('uuid');
|
|
18
18
|
require('react-hook-form');
|
|
19
19
|
require('@jobber/hooks/useShowClear');
|
package/dist/FormField/index.js
CHANGED
|
@@ -54,7 +54,7 @@ function FormFieldDescription({ id, description, }) {
|
|
|
54
54
|
React__default["default"].createElement(Text.Text, { size: "small", variation: "subdued" }, description)));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
var css_248z = "._07kZJ5ltI5E- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n padding-left: calc(16px / 2);\n padding-left: var(--space-small);\n}\n\n.t1fFX8kDJh8- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n right: calc(16px
|
|
57
|
+
var css_248z = "._07kZJ5ltI5E- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n padding-left: calc(16px / 2);\n padding-left: var(--space-small);\n}\n\n.t1fFX8kDJh8- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n right: calc(16px / 2);\n right: var(--space-small);\n z-index: 1002;\n z-index: var(--elevation-tooltip);\n width: calc(16px * 1.5);\n width: var(--space-large);\n height: calc(16px * 1.5);\n height: var(--space-large);\n padding: 0;\n border: none;\n border-radius: 100%;\n border-radius: var(--radius-circle);\n background-color: rgb(238, 240, 242);\n background-color: var(--color-surface--background);\n cursor: pointer;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.t1fFX8kDJh8-:focus {\n outline: none;\n}\n\n.t1fFX8kDJh8-:hover,\n.t1fFX8kDJh8-:focus-visible {\n outline: none;\n background-color: rgb(238, 240, 242);\n background-color: var(--color-surface--background);\n}\n\n.t1fFX8kDJh8-:focus-visible {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(147, 161, 169);\n box-shadow: var(--shadow-focus);\n}\n";
|
|
58
58
|
var styles = {"clearContainer":"_07kZJ5ltI5E-","clearInput":"t1fFX8kDJh8-"};
|
|
59
59
|
styleInject_es.styleInject(css_248z);
|
|
60
60
|
|
package/dist/InputDate/index.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var omit = require('lodash/omit');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var FormField = require('../FormField-
|
|
7
|
+
var FormField = require('../FormField-a332b2a6.js');
|
|
8
8
|
var DatePicker = require('../DatePicker-64c5ab1a.js');
|
|
9
9
|
require('../tslib.es6-5b8768b7.js');
|
|
10
10
|
require('uuid');
|
package/dist/InputEmail/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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-a332b2a6.js');
|
|
7
7
|
require('../tslib.es6-5b8768b7.js');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('react-hook-form');
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var InputNumber = require('../InputNumber-
|
|
5
|
+
var InputNumber = require('../InputNumber-3f5d3f8d.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('../FormField-
|
|
7
|
+
require('../FormField-a332b2a6.js');
|
|
8
8
|
require('../tslib.es6-5b8768b7.js');
|
|
9
9
|
require('uuid');
|
|
10
10
|
require('react-hook-form');
|
|
@@ -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-a332b2a6.js');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@
|
|
|
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-a332b2a6.js');
|
|
7
7
|
require('../tslib.es6-5b8768b7.js');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('react-hook-form');
|
|
@@ -6,7 +6,7 @@ var tslib_es6 = require('../tslib.es6-5b8768b7.js');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var reactHookForm = require('react-hook-form');
|
|
8
8
|
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
9
|
-
var FormField = require('../FormField-
|
|
9
|
+
var FormField = require('../FormField-a332b2a6.js');
|
|
10
10
|
require('uuid');
|
|
11
11
|
require('classnames');
|
|
12
12
|
require('@jobber/hooks/useShowClear');
|
package/dist/InputText/index.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var InputText = require('../InputText-
|
|
5
|
+
var InputText = require('../InputText-e2d4ac19.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('../FormField-
|
|
7
|
+
require('../FormField-a332b2a6.js');
|
|
8
8
|
require('../tslib.es6-5b8768b7.js');
|
|
9
9
|
require('uuid');
|
|
10
10
|
require('react-hook-form');
|
|
@@ -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-a332b2a6.js');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
7
|
|
package/dist/InputTime/index.js
CHANGED
|
@@ -6,7 +6,7 @@ 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-
|
|
9
|
+
var FormField = require('../FormField-a332b2a6.js');
|
|
10
10
|
require('uuid');
|
|
11
11
|
require('react-hook-form');
|
|
12
12
|
require('../style-inject.es-9d2f5f4e.js');
|
|
@@ -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-a332b2a6.js');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
7
|
|
|
@@ -9,11 +9,11 @@ var RadioGroup = require('../RadioGroup-ca7a5978.js');
|
|
|
9
9
|
var Text = require('../Text-259af966.js');
|
|
10
10
|
require('classnames');
|
|
11
11
|
require('../Typography-c45bf216.js');
|
|
12
|
-
var Option = require('../Option-
|
|
13
|
-
var InputNumber = require('../InputNumber-
|
|
12
|
+
var Option = require('../Option-e5274cd8.js');
|
|
13
|
+
var InputNumber = require('../InputNumber-3f5d3f8d.js');
|
|
14
14
|
var InputGroup = require('../InputGroup-8d4fd4eb.js');
|
|
15
15
|
var Content = require('../Content-2ca1ffe1.js');
|
|
16
|
-
require('../FormField-
|
|
16
|
+
require('../FormField-a332b2a6.js');
|
|
17
17
|
require('../tslib.es6-5b8768b7.js');
|
|
18
18
|
require('react-hook-form');
|
|
19
19
|
require('@jobber/hooks/useShowClear');
|
package/dist/Select/index.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Option = require('../Option-
|
|
5
|
+
var Option = require('../Option-e5274cd8.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('../FormField-
|
|
7
|
+
require('../FormField-a332b2a6.js');
|
|
8
8
|
require('../tslib.es6-5b8768b7.js');
|
|
9
9
|
require('uuid');
|
|
10
10
|
require('react-hook-form');
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
readonly "extravagant": string;
|
|
3
|
+
readonly "jumbo": string;
|
|
4
|
+
readonly "largest": string;
|
|
5
|
+
readonly "larger": string;
|
|
6
|
+
readonly "large": string;
|
|
7
|
+
readonly "base": string;
|
|
8
|
+
readonly "small": string;
|
|
9
|
+
readonly "smaller": string;
|
|
10
|
+
};
|
|
11
|
+
export = styles;
|
|
12
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
readonly "blue": string;
|
|
3
|
+
readonly "grey": string;
|
|
4
|
+
readonly "greyBlueDark": string;
|
|
5
|
+
readonly "greyBlue": string;
|
|
6
|
+
readonly "green": string;
|
|
7
|
+
readonly "red": string;
|
|
8
|
+
readonly "yellow": string;
|
|
9
|
+
readonly "yellowDark": string;
|
|
10
|
+
readonly "lightBlue": string;
|
|
11
|
+
readonly "white": string;
|
|
12
|
+
readonly "heading": string;
|
|
13
|
+
readonly "text": string;
|
|
14
|
+
readonly "textSecondary": string;
|
|
15
|
+
readonly "critical": string;
|
|
16
|
+
readonly "warning": string;
|
|
17
|
+
readonly "informative": string;
|
|
18
|
+
readonly "success": string;
|
|
19
|
+
readonly "disabled": string;
|
|
20
|
+
};
|
|
21
|
+
export = styles;
|
|
22
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.69.1-cssdts-exp.0+7f541aa6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@jobber/design": "^0.51.1",
|
|
23
|
-
"@jobber/formatters": "
|
|
23
|
+
"@jobber/formatters": "^0.2.2",
|
|
24
24
|
"@jobber/hooks": "^2.8.0",
|
|
25
25
|
"@popperjs/core": "^2.0.6",
|
|
26
26
|
"@std-proposal/temporal": "0.0.1",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"postcss-import": "^12.0.1",
|
|
69
69
|
"postcss-preset-env": "^8.3.0",
|
|
70
70
|
"rollup": "^2.79.1",
|
|
71
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
71
72
|
"rollup-plugin-multi-input": "^1.4.1",
|
|
72
73
|
"rollup-plugin-postcss": "^4.0.2",
|
|
73
74
|
"typed-css-modules": "^0.7.0",
|
|
@@ -83,5 +84,5 @@
|
|
|
83
84
|
"> 1%",
|
|
84
85
|
"IE 10"
|
|
85
86
|
],
|
|
86
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "7f541aa6785aca6bc2a9213a2777ea69daca2a69"
|
|
87
88
|
}
|
package/rollup.config.js
CHANGED
|
@@ -3,6 +3,7 @@ import multiInput from "rollup-plugin-multi-input";
|
|
|
3
3
|
import typescript from "@rollup/plugin-typescript";
|
|
4
4
|
import postcss from "rollup-plugin-postcss";
|
|
5
5
|
import commonjs from "@rollup/plugin-commonjs";
|
|
6
|
+
import copy from "rollup-plugin-copy";
|
|
6
7
|
|
|
7
8
|
export default {
|
|
8
9
|
input: `src/*/index.{ts,tsx}`,
|
|
@@ -37,6 +38,62 @@ export default {
|
|
|
37
38
|
commonjs({
|
|
38
39
|
ignore: ["time-input-polyfill", "time-input-polyfill/supportsTime"],
|
|
39
40
|
}),
|
|
41
|
+
copy({
|
|
42
|
+
targets: [
|
|
43
|
+
{ src: "src/Card/colors.css.d.ts", dest: "dist/Card" },
|
|
44
|
+
{ src: "src/Content/Spacing.css.d.ts", dest: "dist/Content" },
|
|
45
|
+
{ src: "src/Gallery/Gallery.css.d.ts", dest: "dist/Gallery" },
|
|
46
|
+
{ src: "src/Grid/GridAlign.css.d.ts", dest: "dist/Grid" },
|
|
47
|
+
{ src: "src/Modal/Sizes.css.d.ts", dest: "dist/Modal" },
|
|
48
|
+
{ src: "src/ProgressBar/Sizes.css.d.ts", dest: "dist/ProgressBar" },
|
|
49
|
+
{
|
|
50
|
+
src: "src/Typography/css/Emphasis.css.d.ts",
|
|
51
|
+
dest: "dist/Typography/css",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
src: "src/Typography/css/FontFamilies.css.d.ts",
|
|
55
|
+
dest: "dist/Typography/css",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
src: "src/Typography/css/FontSizes.css.d.ts",
|
|
59
|
+
dest: "dist/Typography/css",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
src: "src/Typography/css/FontWeights.css.d.ts",
|
|
63
|
+
dest: "dist/Typography/css",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
src: "src/Typography/css/TextAlignment.css.d.ts",
|
|
67
|
+
dest: "dist/Typography/css",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
src: "src/Typography/css/TextCases.css.d.ts",
|
|
71
|
+
dest: "dist/Typography/css",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
src: "src/Typography/css/TextColors.css.d.ts",
|
|
75
|
+
dest: "dist/Typography/css",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
src: "src/Typography/css/Truncate.css.d.ts",
|
|
79
|
+
dest: "dist/Typography/css",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
src: "src/Typography/css/Typography.css.d.ts",
|
|
83
|
+
dest: "dist/Typography/css",
|
|
84
|
+
},
|
|
85
|
+
{ src: "src/Glimmer/style/Shape.css.d.ts", dest: "dist/Glimmer/style" },
|
|
86
|
+
{ src: "src/Glimmer/style/Sizes.css.d.ts", dest: "dist/Glimmer/style" },
|
|
87
|
+
{
|
|
88
|
+
src: "src/Glimmer/style/Timing.css.d.ts",
|
|
89
|
+
dest: "dist/Glimmer/style",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
src: "src/Combobox/components/ComboboxContent/ComboboxContentList/ComboboxContent.css.d.ts",
|
|
93
|
+
dest: "dist/Combobox/components/ComboboxContent/ComboboxContentList",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
}),
|
|
40
97
|
],
|
|
41
98
|
output: [
|
|
42
99
|
{
|