@jobber/components 4.79.0 → 4.79.1-JOB-85851.2
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/StatusIndicator.d.ts +1 -0
- package/StatusIndicator.js +17 -0
- package/dist/AnimatedPresence/index.js +5 -99
- package/dist/AnimatedPresence-20a02aaa.js +104 -0
- package/dist/Autocomplete/Menu.d.ts +2 -2
- package/dist/Autocomplete/index.js +16 -11
- package/dist/Banner/index.js +8 -7
- package/dist/Button/index.js +2 -2
- package/dist/{Button-b73a5e01.js → Button-6b922fc1.js} +1 -1
- package/dist/ButtonDismiss/ButtonDismiss.d.ts +1 -1
- package/dist/ButtonDismiss/index.js +3 -3
- package/dist/{ButtonDismiss-350af163.js → ButtonDismiss-a3ba1de2.js} +1 -1
- package/dist/Card/CardClickable.d.ts +1 -1
- package/dist/Card/index.js +7 -7
- package/dist/{Card-426a68a8.js → Card-74f078a4.js} +4 -4
- package/dist/Checkbox/index.js +3 -4
- package/dist/{Checkbox-99f6297f.js → Checkbox-e481a4b1.js} +2 -3
- package/dist/Chip/index.js +5 -3
- package/dist/{Chip-c91fd6c8.js → Chip-76f18555.js} +2 -2
- package/dist/Chips/index.js +9 -8
- package/dist/Combobox/Combobox.types.d.ts +4 -0
- package/dist/Combobox/components/ComboboxOption/ComboboxOption.d.ts +2 -1
- package/dist/Combobox/hooks/useMakeComboboxHandlers.d.ts +1 -1
- package/dist/Combobox/index.js +12 -8
- package/dist/{Combobox-d4b84edf.js → Combobox-6d864202.js} +25 -20
- package/dist/ConfirmationModal/index.js +11 -10
- package/dist/{ConfirmationModal-f1a049fb.js → ConfirmationModal-387aa1b5.js} +2 -2
- package/dist/DataDump/index.js +8 -8
- package/dist/DataList/DataList.const.d.ts +1 -0
- package/dist/DataList/DataList.types.d.ts +0 -1
- package/dist/DataList/components/DataListActionsMenu/DataListActionsMenu.d.ts +2 -2
- package/dist/DataList/components/DataListTotalCount/DataListTotalCount.d.ts +2 -2
- package/dist/DataList/index.js +40 -40
- package/dist/DataTable/BodyLoading.d.ts +1 -1
- package/dist/DataTable/Footer.d.ts +2 -2
- package/dist/DataTable/SortIcon.d.ts +1 -1
- package/dist/DataTable/index.js +7 -8
- package/dist/DatePicker/index.js +3 -3
- package/dist/{DatePicker-64c5ab1a.js → DatePicker-dd9173c7.js} +2 -2
- package/dist/DescriptionList/DescriptionList.d.ts +1 -1
- package/dist/DescriptionList/index.js +2 -2
- package/dist/Disclosure/index.js +1 -1
- package/dist/Drawer/DrawerGrid.d.ts +1 -1
- package/dist/Drawer/index.js +11 -11
- package/dist/Emphasis/Emphasis.d.ts +2 -2
- package/dist/Emphasis/index.js +2 -2
- package/dist/{Emphasis-bda56d3b.js → Emphasis-a77d8ee9.js} +1 -1
- package/dist/FeatureSwitch/index.js +9 -8
- package/dist/Flex/index.js +5 -33
- package/dist/Flex-d490c4db.js +38 -0
- package/dist/FormField/FormFieldAffix.d.ts +2 -2
- package/dist/FormField/index.js +5 -6
- package/dist/{FormField-b4e6c549.js → FormField-3ec1c85d.js} +5 -6
- package/dist/FormatFile/FormatFileDeleteButton.d.ts +2 -2
- package/dist/FormatFile/index.js +13 -12
- package/dist/{FormatFile-652edda8.js → FormatFile-5ba4cf69.js} +7 -7
- package/dist/Gallery/index.js +15 -13
- package/dist/Glimmer/index.js +1 -1
- package/dist/{Glimmer-7c317864.js → Glimmer-84dee1ed.js} +1 -1
- package/dist/Heading/index.js +4 -3
- package/dist/{Heading-1e8e4bd3.js → Heading-bae3c69e.js} +3 -3
- package/dist/InlineLabel/InlineLabel.d.ts +3 -3
- package/dist/InlineLabel/index.js +2 -2
- package/dist/{InlineLabel-a6557829.js → InlineLabel-4d463bd6.js} +1 -1
- package/dist/InputAvatar/index.js +5 -6
- package/dist/InputDate/index.js +6 -7
- package/dist/InputEmail/index.js +5 -6
- package/dist/InputFile/InputFile.d.ts +1 -1
- package/dist/InputFile/index.js +5 -6
- package/dist/{InputFile-c9eeb04b.js → InputFile-20b9074a.js} +7 -5
- package/dist/InputNumber/InputNumber.d.ts +1 -1
- package/dist/InputNumber/index.js +6 -7
- package/dist/{InputNumber-ceae3872.js → InputNumber-75ae72b9.js} +1 -1
- package/dist/InputPassword/InputPassword.d.ts +2 -2
- package/dist/InputPassword/index.js +5 -6
- package/dist/InputPhoneNumber/index.js +5 -6
- package/dist/InputText/index.js +7 -7
- package/dist/{InputText-6e356985.js → InputText-de22af8c.js} +3 -2
- package/dist/InputTime/index.js +5 -6
- package/dist/InputValidation/index.js +3 -3
- package/dist/{InputValidation-05e839fa.js → InputValidation-a92bb519.js} +1 -1
- package/dist/LightBox/LightBox.d.ts +2 -2
- package/dist/LightBox/index.js +5 -4
- package/dist/{LightBox-a89d8863.js → LightBox-7efe8932.js} +7 -3
- package/dist/List/index.js +7 -6
- package/dist/Markdown/index.js +7 -6
- package/dist/{Markdown-f7c55304.js → Markdown-b1b65457.js} +3 -3
- package/dist/Menu/Menu.d.ts +4 -4
- package/dist/Menu/index.js +4 -4
- package/dist/{Menu-81b12936.js → Menu-d6dd673e.js} +6 -6
- package/dist/Modal/Modal.d.ts +2 -2
- package/dist/Modal/index.js +7 -6
- package/dist/{Modal-a0627c92.js → Modal-5b866c72.js} +7 -5
- package/dist/MultiSelect/index.js +3 -4
- package/dist/{Option-8565da71.js → Option-c4b05656.js} +1 -1
- package/dist/Page/index.js +9 -9
- package/dist/Popover/index.js +8 -4
- package/dist/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup/index.js +3 -4
- package/dist/{RadioGroup-ca7a5978.js → RadioGroup-678f4932.js} +3 -4
- package/dist/RecurringSelect/CurrentRecurrenceComponent.d.ts +2 -2
- package/dist/RecurringSelect/components/DayOfMonthSelect.d.ts +2 -2
- package/dist/RecurringSelect/components/MonthlyDayOfWeekSelect.d.ts +2 -2
- package/dist/RecurringSelect/components/MonthlySelect.d.ts +2 -2
- package/dist/RecurringSelect/components/WeeklySelect.d.ts +2 -2
- package/dist/RecurringSelect/index.js +10 -11
- package/dist/Select/index.js +6 -7
- package/dist/StatusIndicator/StatusIndicator.d.ts +7 -0
- package/dist/StatusIndicator/StatusIndicator.type.d.ts +1 -0
- package/dist/StatusIndicator/index.d.ts +2 -0
- package/dist/StatusIndicator/index.js +11 -0
- package/dist/StatusIndicator-7b5258ea.js +18 -0
- package/dist/StatusLabel/StatusLabel.d.ts +3 -3
- package/dist/StatusLabel/index.js +8 -10
- package/dist/Switch/index.js +2 -2
- package/dist/{Switch-7d4aa7c3.js → Switch-eac89586.js} +1 -1
- package/dist/Table/Body.d.ts +1 -1
- package/dist/Table/Cells/Cell.d.ts +2 -2
- package/dist/Table/Cells/CellCurrency.d.ts +2 -2
- package/dist/Table/Cells/CellNumeric.d.ts +1 -1
- package/dist/Table/Footer.d.ts +1 -1
- package/dist/Table/Header.d.ts +1 -1
- package/dist/Table/Row.d.ts +1 -1
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Tabs/index.js +1 -1
- package/dist/Text/Text.d.ts +1 -1
- package/dist/Text/index.js +2 -2
- package/dist/{Text-259af966.js → Text-fbeaaca6.js} +1 -1
- package/dist/Toast/index.js +2 -2
- package/dist/Tooltip/index.js +3 -1
- package/dist/{Tooltip-27771182.js → Tooltip-b9de6e57.js} +6 -3
- package/dist/Typography/Typography.d.ts +1 -1
- package/dist/Typography/css/TextColors.css.d.ts +1 -0
- package/dist/Typography/index.js +1 -1
- package/dist/{Typography-c45bf216.js → Typography-e2a23b7e.js} +2 -2
- package/dist/useAtlantisConfig-ed0bee66.js +16 -0
- package/dist/utils/useAtlantisConfig.d.ts +3 -0
- package/package.json +8 -12
- package/rollup.config.js +0 -1
- package/dist/getAtlantisConfig-0f3e8af2.js +0 -13
- package/dist/utils/getAtlantisConfig.d.ts +0 -3
package/dist/Tooltip/index.js
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Tooltip = require('../Tooltip-
|
|
5
|
+
var Tooltip = require('../Tooltip-b9de6e57.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('react-dom');
|
|
9
9
|
require('framer-motion');
|
|
10
|
+
require('@jobber/hooks/useSafeLayoutEffect');
|
|
11
|
+
require('@jobber/hooks/useIsMounted');
|
|
10
12
|
require('../style-inject.es-9d2f5f4e.js');
|
|
11
13
|
require('react-popper');
|
|
12
14
|
|
|
@@ -4,6 +4,8 @@ var React = require('react');
|
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
var ReactDOM = require('react-dom');
|
|
6
6
|
var framerMotion = require('framer-motion');
|
|
7
|
+
var useSafeLayoutEffect = require('@jobber/hooks/useSafeLayoutEffect');
|
|
8
|
+
var useIsMounted = require('@jobber/hooks/useIsMounted');
|
|
7
9
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
8
10
|
var reactPopper = require('react-popper');
|
|
9
11
|
|
|
@@ -43,19 +45,20 @@ const variation = {
|
|
|
43
45
|
};
|
|
44
46
|
function Tooltip({ message, children }) {
|
|
45
47
|
const [show, setShow] = React.useState(false);
|
|
48
|
+
const mounted = useIsMounted.useIsMounted();
|
|
46
49
|
const { attributes, placement, shadowRef, styles: popperStyles, setArrowRef, setTooltipRef, } = useTooltipPositioning();
|
|
47
50
|
initializeListeners();
|
|
48
51
|
const toolTipClassNames = classnames__default["default"](styles.tooltipWrapper, placement === "bottom" && styles.below, placement === "top" && styles.above);
|
|
49
52
|
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
50
53
|
React__default["default"].createElement("span", { className: styles.shadowActivator, ref: shadowRef }),
|
|
51
54
|
children,
|
|
52
|
-
React__default["default"].createElement(TooltipPortal, null, show && Boolean(message) && (React__default["default"].createElement("div", Object.assign({ className: toolTipClassNames, style: popperStyles.popper, ref: setTooltipRef, role: "tooltip" }, attributes.popper),
|
|
55
|
+
mounted.current ? (React__default["default"].createElement(TooltipPortal, null, show && Boolean(message) && (React__default["default"].createElement("div", Object.assign({ className: toolTipClassNames, style: popperStyles.popper, ref: setTooltipRef, role: "tooltip" }, attributes.popper),
|
|
53
56
|
React__default["default"].createElement(framerMotion.motion.div, { className: styles.tooltip, variants: variation, initial: "startOrStop", animate: "done", exit: "startOrStop", transition: {
|
|
54
57
|
damping: 50,
|
|
55
58
|
stiffness: 500,
|
|
56
59
|
} },
|
|
57
60
|
React__default["default"].createElement("p", { className: styles.tooltipMessage }, message),
|
|
58
|
-
React__default["default"].createElement("div", { ref: setArrowRef, style: popperStyles.arrow, className: styles.arrow })))))));
|
|
61
|
+
React__default["default"].createElement("div", { ref: setArrowRef, style: popperStyles.arrow, className: styles.arrow })))))) : null));
|
|
59
62
|
function initializeListeners() {
|
|
60
63
|
const showTooltip = () => {
|
|
61
64
|
setShow(true);
|
|
@@ -95,7 +98,7 @@ function Tooltip({ message, children }) {
|
|
|
95
98
|
activator.removeEventListener("blur", hideTooltip);
|
|
96
99
|
}
|
|
97
100
|
};
|
|
98
|
-
|
|
101
|
+
useSafeLayoutEffect.useSafeLayoutEffect(() => {
|
|
99
102
|
injectAttributes();
|
|
100
103
|
addListeners();
|
|
101
104
|
return () => {
|
|
@@ -31,7 +31,7 @@ interface TypographyProps {
|
|
|
31
31
|
readonly align?: keyof typeof alignment;
|
|
32
32
|
readonly fontFamily?: keyof typeof fontFamilies;
|
|
33
33
|
readonly children: ReactNode;
|
|
34
|
-
numberOfLines?: number;
|
|
34
|
+
readonly numberOfLines?: number;
|
|
35
35
|
}
|
|
36
36
|
export type TypographyOptions = Omit<TypographyProps, "children">;
|
|
37
37
|
export declare function Typography({ id, children, element: Tag, size, align, fontWeight, textCase, textColor, emphasisType, numberOfLines, fontFamily, }: TypographyProps): JSX.Element;
|
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-e2a23b7e.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('../style-inject.es-9d2f5f4e.js');
|
|
@@ -25,8 +25,8 @@ var css_248z$5 = ".xE6cC62h5G0- {\n text-transform: uppercase;\n}\n\n.HlqJJ3Cl7
|
|
|
25
25
|
var textCases = {"uppercase":"xE6cC62h5G0-","lowercase":"HlqJJ3Cl7dE-","capitalize":"Loe26JnDfco-"};
|
|
26
26
|
styleInject_es.styleInject(css_248z$5);
|
|
27
27
|
|
|
28
|
-
var css_248z$4 = ".pkqoq2KXY9w- {\n color: rgb(1, 41, 57);\n color: var(--color-blue);\n}\n\n.ftVHRSii3ro- {\n color: rgb(181, 181, 181);\n color: var(--color-grey);\n}\n\n.FQbGABZWVzA- {\n color: rgb(66, 78, 86);\n color: var(--color-greyBlue--dark);\n}\n\n.zQaB9J0-vrs- {\n color: rgba(101, 120, 132, 1);\n color: var(--color-greyBlue);\n}\n\n._4-xdzcqT-Us- {\n color: rgb(125, 176, 14);\n color: var(--color-green);\n}\n\n.Zp9E7ELPjPA- {\n color: rgb(201, 66, 33);\n color: var(--color-red);\n}\n\n.v-Fo4PwPxDI- {\n color: rgb(221, 195, 15);\n color: var(--color-yellow);\n}\n\n.YrGUIChAZC0- {\n color: rgb(144, 127, 10);\n color: var(--color-yellow--dark);\n}\n\n.r7JcIVoDcTY- {\n color: rgb(60, 162, 224);\n color: var(--color-lightBlue);\n}\n\n._6RXTyd198iM- {\n color: rgba(255, 255, 255, 1);\n color: var(--color-white);\n}\n\n.fLix4jA-RkU- {\n color: rgb(1, 41, 57);\n color: var(--color-heading);\n}\n\n._1g0uMAwFAsk- {\n color: rgb(66, 78, 86);\n color: var(--color-text);\n}\n\n.oXqFAHwT6y4- {\n color: rgb(77, 105, 116);\n color: var(--color-text--secondary);\n}\n\n.rWkzi9HFNDU- {\n color: rgb(
|
|
29
|
-
var textColors = {"blue":"pkqoq2KXY9w-","grey":"ftVHRSii3ro-","greyBlueDark":"FQbGABZWVzA-","greyBlue":"zQaB9J0-vrs-","green":"_4-xdzcqT-Us-","red":"Zp9E7ELPjPA-","yellow":"v-Fo4PwPxDI-","yellowDark":"YrGUIChAZC0-","lightBlue":"r7JcIVoDcTY-","white":"_6RXTyd198iM-","heading":"fLix4jA-RkU-","text":"_1g0uMAwFAsk-","textSecondary":"oXqFAHwT6y4-","critical":"rWkzi9HFNDU-","warning":"PQLYQKGCmPI-","informative":"L6bBDJrx-m0-","success":"bJDJJKvmT90-","disabled":"_3g4iYm8XwkM-"};
|
|
28
|
+
var css_248z$4 = ".pkqoq2KXY9w- {\n color: rgb(1, 41, 57);\n color: var(--color-blue);\n}\n\n.ftVHRSii3ro- {\n color: rgb(181, 181, 181);\n color: var(--color-grey);\n}\n\n.FQbGABZWVzA- {\n color: rgb(66, 78, 86);\n color: var(--color-greyBlue--dark);\n}\n\n.zQaB9J0-vrs- {\n color: rgba(101, 120, 132, 1);\n color: var(--color-greyBlue);\n}\n\n._4-xdzcqT-Us- {\n color: rgb(125, 176, 14);\n color: var(--color-green);\n}\n\n.Zp9E7ELPjPA- {\n color: rgb(201, 66, 33);\n color: var(--color-red);\n}\n\n.v-Fo4PwPxDI- {\n color: rgb(221, 195, 15);\n color: var(--color-yellow);\n}\n\n.YrGUIChAZC0- {\n color: rgb(144, 127, 10);\n color: var(--color-yellow--dark);\n}\n\n.r7JcIVoDcTY- {\n color: rgb(60, 162, 224);\n color: var(--color-lightBlue);\n}\n\n._6RXTyd198iM- {\n color: rgba(255, 255, 255, 1);\n color: var(--color-white);\n}\n\n.fLix4jA-RkU- {\n color: rgb(1, 41, 57);\n color: var(--color-heading);\n}\n\n._1g0uMAwFAsk- {\n color: rgb(66, 78, 86);\n color: var(--color-text);\n}\n\n.oXqFAHwT6y4- {\n color: rgb(77, 105, 116);\n color: var(--color-text--secondary);\n}\n\n.gPhKMwPfrsw- {\n color: rgb(1, 27, 37);\n color: var(--color-inactive--onSurface);\n}\n\n.rWkzi9HFNDU- {\n color: rgb(128, 25, 0);\n color: var(--color-critical--onSurface);\n}\n\n.PQLYQKGCmPI- {\n color: rgb(144, 127, 10);\n color: var(--color-warning--onSurface);\n}\n\n.L6bBDJrx-m0- {\n color: rgb(39, 105, 146);\n color: var(--color-informative--onSurface);\n}\n\n.bJDJJKvmT90- {\n color: rgb(81, 114, 9);\n color: var(--color-success--onSurface);\n}\n\n._3g4iYm8XwkM- {\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n}\n";
|
|
29
|
+
var textColors = {"blue":"pkqoq2KXY9w-","grey":"ftVHRSii3ro-","greyBlueDark":"FQbGABZWVzA-","greyBlue":"zQaB9J0-vrs-","green":"_4-xdzcqT-Us-","red":"Zp9E7ELPjPA-","yellow":"v-Fo4PwPxDI-","yellowDark":"YrGUIChAZC0-","lightBlue":"r7JcIVoDcTY-","white":"_6RXTyd198iM-","heading":"fLix4jA-RkU-","text":"_1g0uMAwFAsk-","textSecondary":"oXqFAHwT6y4-","inactive":"gPhKMwPfrsw-","critical":"rWkzi9HFNDU-","warning":"PQLYQKGCmPI-","informative":"L6bBDJrx-m0-","success":"bJDJJKvmT90-","disabled":"_3g4iYm8XwkM-"};
|
|
30
30
|
styleInject_es.styleInject(css_248z$4);
|
|
31
31
|
|
|
32
32
|
var css_248z$3 = ".Jys1uy2pQXw- {\n font-style: italic;\n}\n\n.kd2u0dL-if0- {\n display: inline;\n font-family: inherit;\n font-style: normal;\n font-weight: inherit;\n background-image: url(\"data:image/svg+xml,%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";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var useSafeLayoutEffect = require('@jobber/hooks/useSafeLayoutEffect');
|
|
4
|
+
var React = require('react');
|
|
5
|
+
|
|
6
|
+
// For retheme purposes only.
|
|
7
|
+
// This will be removed once the retheme is out of the experiment.
|
|
8
|
+
function useAtlantisConfig() {
|
|
9
|
+
const [JOBBER_RETHEME, setJOBBER_RETHEME] = React.useState(false);
|
|
10
|
+
useSafeLayoutEffect.useSafeLayoutEffect(() => {
|
|
11
|
+
setJOBBER_RETHEME(document.body.classList.contains("jobber-retheme"));
|
|
12
|
+
}, []);
|
|
13
|
+
return { JOBBER_RETHEME };
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
exports.useAtlantisConfig = useAtlantisConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "4.79.
|
|
3
|
+
"version": "4.79.1-JOB-85851.2+01528d89",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dist/*"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@jobber/design": "^0.
|
|
23
|
-
"@jobber/formatters": "
|
|
24
|
-
"@jobber/hooks": "^2.
|
|
22
|
+
"@jobber/design": "^0.56.0",
|
|
23
|
+
"@jobber/formatters": "^0.2.2",
|
|
24
|
+
"@jobber/hooks": "^2.9.1",
|
|
25
25
|
"@popperjs/core": "^2.0.6",
|
|
26
26
|
"@std-proposal/temporal": "0.0.1",
|
|
27
27
|
"@tanstack/react-table": "8.5.13",
|
|
@@ -30,8 +30,7 @@
|
|
|
30
30
|
"@types/react-datepicker": "^4.8.0",
|
|
31
31
|
"@types/react-router": "5.1.7",
|
|
32
32
|
"@types/react-router-dom": "^5.3.3",
|
|
33
|
-
"
|
|
34
|
-
"axios": "^0.21.2",
|
|
33
|
+
"axios": "^1.6.0",
|
|
35
34
|
"classnames": "^2.3.2",
|
|
36
35
|
"color": "^3.1.2",
|
|
37
36
|
"filesize": "^6.1.0",
|
|
@@ -45,8 +44,7 @@
|
|
|
45
44
|
"react-popper": "^2.2.5",
|
|
46
45
|
"react-router-dom": "^5.3.4",
|
|
47
46
|
"time-input-polyfill": "^1.0.7",
|
|
48
|
-
"ts-xor": "^1.0.8"
|
|
49
|
-
"uuid": "^8.3.2"
|
|
47
|
+
"ts-xor": "^1.0.8"
|
|
50
48
|
},
|
|
51
49
|
"devDependencies": {
|
|
52
50
|
"@csstools/postcss-global-data": "^1.0.3",
|
|
@@ -59,7 +57,6 @@
|
|
|
59
57
|
"@types/glob": "^7.1.1",
|
|
60
58
|
"@types/react": "^18.0.28",
|
|
61
59
|
"@types/react-dom": "^18.0.11",
|
|
62
|
-
"@types/uuid": "^8.3.3",
|
|
63
60
|
"autoprefixer": "^9.5.1",
|
|
64
61
|
"copyfiles": "^2.4.1",
|
|
65
62
|
"glob": "^7.1.4",
|
|
@@ -72,8 +69,7 @@
|
|
|
72
69
|
"rollup-plugin-multi-input": "^1.4.1",
|
|
73
70
|
"rollup-plugin-postcss": "^4.0.2",
|
|
74
71
|
"typed-css-modules": "^0.7.0",
|
|
75
|
-
"typescript": "^4.9.5"
|
|
76
|
-
"uuid": "^8.3.2"
|
|
72
|
+
"typescript": "^4.9.5"
|
|
77
73
|
},
|
|
78
74
|
"peerDependencies": {
|
|
79
75
|
"react": "^18",
|
|
@@ -84,5 +80,5 @@
|
|
|
84
80
|
"> 1%",
|
|
85
81
|
"IE 10"
|
|
86
82
|
],
|
|
87
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "01528d8948aeb7aefdd1045fb1911b68eec74787"
|
|
88
84
|
}
|
package/rollup.config.js
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// For retheme purposes only.
|
|
4
|
-
// This will be removed once the retheme is out of the experiment.
|
|
5
|
-
function getAtlantisConfig() {
|
|
6
|
-
let JOBBER_RETHEME = false;
|
|
7
|
-
if (typeof window !== "undefined") {
|
|
8
|
-
JOBBER_RETHEME = document.body.classList.contains("jobber-retheme");
|
|
9
|
-
}
|
|
10
|
-
return { JOBBER_RETHEME };
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
exports.getAtlantisConfig = getAtlantisConfig;
|