@jobber/components 6.86.0 → 6.86.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/dist/Autocomplete/index.cjs +6 -6
- package/dist/Autocomplete/index.mjs +11 -11
- package/dist/Banner-cjs.js +1 -1
- package/dist/Banner-es.js +1 -1
- package/dist/Chip-cjs.js +2 -2
- package/dist/Chip-es.js +3 -3
- package/dist/Combobox-cjs.js +1 -1
- package/dist/Combobox-es.js +2 -2
- package/dist/ComboboxContent-cjs.js +2 -2
- package/dist/ComboboxContent-es.js +5 -5
- package/dist/ComboboxLoadMore-cjs.js +1 -1
- package/dist/ComboboxLoadMore-es.js +2 -2
- package/dist/ConfirmationModal-cjs.js +1 -1
- package/dist/ConfirmationModal-es.js +2 -2
- package/dist/ContentBlock-cjs.js +1 -1
- package/dist/ContentBlock-es.js +2 -2
- package/dist/DataListActionsMenu-cjs.js +4 -4
- package/dist/DataListActionsMenu-es.js +8 -8
- package/dist/DataListHeaderTile-cjs.js +1 -1
- package/dist/DataListHeaderTile-es.js +2 -2
- package/dist/DataListLoadMore-cjs.js +1 -1
- package/dist/DataListLoadMore-es.js +2 -2
- package/dist/DataListOverflowFade-cjs.js +2 -2
- package/dist/DataListOverflowFade-es.js +3 -3
- package/dist/DataListSearch-cjs.js +1 -1
- package/dist/DataListSearch-es.js +2 -2
- package/dist/DataListSortingOptions-cjs.js +2 -2
- package/dist/DataListSortingOptions-es.js +4 -4
- package/dist/DataTable/test-utilities/index.cjs +1 -1
- package/dist/DataTable/test-utilities/index.mjs +1 -1
- package/dist/DataTable-cjs.js +3 -3
- package/dist/DataTable-es.js +4 -4
- package/dist/DatePicker-cjs.js +1 -1
- package/dist/DatePicker-es.js +2 -2
- package/dist/Disclosure-cjs.js +2 -2
- package/dist/Disclosure-es.js +3 -3
- package/dist/FormField-cjs.js +1 -5
- package/dist/FormField-es.js +1 -5
- package/dist/InputText/InputText.d.ts +2 -2
- package/dist/InputText/index.cjs +2 -2
- package/dist/InputText/index.mjs +3 -3
- package/dist/LightBox-cjs.js +51 -67
- package/dist/LightBox-es.js +57 -73
- package/dist/Menu-cjs.js +6 -11
- package/dist/Menu-es.js +11 -16
- package/dist/Modal/index.cjs +3 -3
- package/dist/Modal/index.mjs +7 -7
- package/dist/Page-cjs.js +4 -4
- package/dist/Page-es.js +5 -5
- package/dist/Popover-cjs.js +1 -1
- package/dist/Popover-es.js +3 -3
- package/dist/SideDrawer-cjs.js +6 -6
- package/dist/SideDrawer-es.js +10 -10
- package/dist/Tooltip-cjs.js +2 -2
- package/dist/Tooltip-es.js +5 -5
- package/dist/floating-ui.react-es.js +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +5 -5
- package/dist/styles.css +27 -6
- package/dist/throttle-cjs.js +0 -1
- package/dist/throttle-es.js +1 -1
- package/dist/useDebounce-cjs.js +69 -4381
- package/dist/useDebounce-es.js +71 -4383
- package/dist/useFocusTrap-cjs.js +3 -8
- package/dist/useFocusTrap-es.js +4 -9
- package/dist/useInView-cjs.js +5 -10
- package/dist/useInView-es.js +6 -11
- package/dist/useIsMounted-cjs.js +4 -19
- package/dist/useIsMounted-es.js +5 -20
- package/dist/useOnKeyDown-cjs.js +2 -7
- package/dist/useOnKeyDown-es.js +3 -8
- package/dist/useRefocusOnActivator-cjs.js +2 -7
- package/dist/useRefocusOnActivator-es.js +3 -8
- package/dist/useResizeObserver-cjs.js +64 -92
- package/dist/useResizeObserver-es.js +65 -94
- package/dist/useSafeLayoutEffect-cjs.js +3 -8
- package/dist/useSafeLayoutEffect-es.js +5 -10
- package/dist/useScrollToActive-cjs.js +4 -9
- package/dist/useScrollToActive-es.js +6 -11
- package/package.json +3 -3
package/dist/Modal/index.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import React__default, { useRef, createContext, useContext } from 'react';
|
|
|
2
2
|
import ReactDOM__default from 'react-dom';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
5
|
+
import { u as useRefocusOnActivator } from '../useRefocusOnActivator-es.js';
|
|
6
|
+
import { u as useOnKeyDown } from '../useOnKeyDown-es.js';
|
|
7
|
+
import { u as useFocusTrap } from '../useFocusTrap-es.js';
|
|
8
8
|
import { H as Heading } from '../Heading-es.js';
|
|
9
9
|
import { B as Button } from '../Button-es.js';
|
|
10
10
|
import { B as ButtonDismiss } from '../ButtonDismiss-es.js';
|
|
11
11
|
import { n as noop } from '../noop-es.js';
|
|
12
|
-
import { h as useFloatingNodeId, u as useFloating, m as useClick,
|
|
12
|
+
import { h as useFloatingNodeId, u as useFloating, m as useClick, a as useDismiss, n as useRole, b as useInteractions, g as useFloatingParentNodeId, i as FloatingTree, j as FloatingNode, F as FloatingPortal, p as FloatingOverlay, q as FloatingFocusManager } from '../floating-ui.react-es.js';
|
|
13
13
|
import { b as identity } from '../identity-es.js';
|
|
14
14
|
import { A as AtlantisPortalContent } from '../AtlantisPortalContent-es.js';
|
|
15
15
|
import '../Typography-es.js';
|
|
@@ -33,9 +33,9 @@ var sizes = {"small":"BSZvIAUzFEU-","large":"-ydIALYVvGg-","spinning":"_10FfgKIT
|
|
|
33
33
|
|
|
34
34
|
function ModalLegacy({ open = false, title, size, dismissible = true, children, primaryAction, secondaryAction, tertiaryAction, onRequestClose, }) {
|
|
35
35
|
const modalClassName = classnames(styles$1.modal, size && sizes[size]);
|
|
36
|
-
|
|
37
|
-
const modalRef =
|
|
38
|
-
|
|
36
|
+
useRefocusOnActivator(open);
|
|
37
|
+
const modalRef = useFocusTrap(open);
|
|
38
|
+
useOnKeyDown(handleRequestClose, "Escape");
|
|
39
39
|
const template = (React__default.createElement(AnimatePresence, null, open && (React__default.createElement("div", { ref: modalRef, role: "dialog", className: styles$1.container, tabIndex: 0 },
|
|
40
40
|
React__default.createElement(motion.div, { key: styles$1.overlay, className: styles$1.overlay, onClick: onRequestClose, initial: { opacity: 0 }, animate: { opacity: 0.8 }, exit: { opacity: 0 }, transition: { duration: 0.2 } }),
|
|
41
41
|
React__default.createElement(motion.div, { key: styles$1.modal, className: modalClassName, initial: { scale: 0.9, opacity: 0 }, animate: { scale: 1, opacity: 1 }, exit: { scale: 0.9, opacity: 0 }, transition: {
|
package/dist/Page-cjs.js
CHANGED
|
@@ -15,11 +15,11 @@ var styles = {"page":"BLYnKItuM3c-","fill":"n5WRRhMkoLs-","standard":"WziKEWW9nA
|
|
|
15
15
|
|
|
16
16
|
function Page({ title, titleMetaData, intro, externalIntroLinks, subtitle, children, width = "standard", primaryAction, secondaryAction, moreActionsMenu = [], }) {
|
|
17
17
|
const pageStyles = classnames(styles.page, styles[width]);
|
|
18
|
-
const [titleBarRef, { width: titleBarWidth = useResizeObserver.
|
|
18
|
+
const [titleBarRef, { width: titleBarWidth = useResizeObserver.Breakpoints.large }] = useResizeObserver.useResizeObserver();
|
|
19
19
|
const titleBarClasses = classnames(styles.titleBar, {
|
|
20
|
-
[styles.small]: titleBarWidth > useResizeObserver.
|
|
21
|
-
[styles.medium]: titleBarWidth > useResizeObserver.
|
|
22
|
-
[styles.large]: titleBarWidth > useResizeObserver.
|
|
20
|
+
[styles.small]: titleBarWidth > useResizeObserver.Breakpoints.smaller,
|
|
21
|
+
[styles.medium]: titleBarWidth > useResizeObserver.Breakpoints.small,
|
|
22
|
+
[styles.large]: titleBarWidth > useResizeObserver.Breakpoints.base,
|
|
23
23
|
});
|
|
24
24
|
const showMenu = moreActionsMenu.length > 0;
|
|
25
25
|
const showActionGroup = showMenu || primaryAction || secondaryAction;
|
package/dist/Page-es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { u as useResizeObserver } from './useResizeObserver-es.js';
|
|
3
|
+
import { u as useResizeObserver, B as Breakpoints } from './useResizeObserver-es.js';
|
|
4
4
|
import { H as Heading } from './Heading-es.js';
|
|
5
5
|
import { T as Text } from './Text-es.js';
|
|
6
6
|
import { C as Content } from './Content-es.js';
|
|
@@ -13,11 +13,11 @@ var styles = {"page":"BLYnKItuM3c-","fill":"n5WRRhMkoLs-","standard":"WziKEWW9nA
|
|
|
13
13
|
|
|
14
14
|
function Page({ title, titleMetaData, intro, externalIntroLinks, subtitle, children, width = "standard", primaryAction, secondaryAction, moreActionsMenu = [], }) {
|
|
15
15
|
const pageStyles = classnames(styles.page, styles[width]);
|
|
16
|
-
const [titleBarRef, { width: titleBarWidth =
|
|
16
|
+
const [titleBarRef, { width: titleBarWidth = Breakpoints.large }] = useResizeObserver();
|
|
17
17
|
const titleBarClasses = classnames(styles.titleBar, {
|
|
18
|
-
[styles.small]: titleBarWidth >
|
|
19
|
-
[styles.medium]: titleBarWidth >
|
|
20
|
-
[styles.large]: titleBarWidth >
|
|
18
|
+
[styles.small]: titleBarWidth > Breakpoints.smaller,
|
|
19
|
+
[styles.medium]: titleBarWidth > Breakpoints.small,
|
|
20
|
+
[styles.large]: titleBarWidth > Breakpoints.base,
|
|
21
21
|
});
|
|
22
22
|
const showMenu = moreActionsMenu.length > 0;
|
|
23
23
|
const showActionGroup = showMenu || primaryAction || secondaryAction;
|
package/dist/Popover-cjs.js
CHANGED
|
@@ -53,7 +53,7 @@ const usePopover = ({ preferredPlacement, attachTo, open, }) => {
|
|
|
53
53
|
// (which we are), not hidden with css. https://floating-ui.com/docs/autoUpdate
|
|
54
54
|
whileElementsMounted: floatingUi_react.autoUpdate,
|
|
55
55
|
});
|
|
56
|
-
useRefocusOnActivator.
|
|
56
|
+
useRefocusOnActivator.useRefocusOnActivator(open);
|
|
57
57
|
return {
|
|
58
58
|
setFloatingElement: refs.setFloating,
|
|
59
59
|
setArrowElement,
|
package/dist/Popover-es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as __rest } from './tslib.es6-es.js';
|
|
2
2
|
import React__default, { useState, useMemo, createContext, useContext } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import { o as offset,
|
|
5
|
-
import { u as
|
|
4
|
+
import { o as offset, d as shift, l as limitShift, k as autoPlacement, f as flip, e as arrow, u as useFloating, c as autoUpdate, F as FloatingPortal } from './floating-ui.react-es.js';
|
|
5
|
+
import { u as useRefocusOnActivator } from './useRefocusOnActivator-es.js';
|
|
6
6
|
import { A as AtlantisPortalContent } from './AtlantisPortalContent-es.js';
|
|
7
7
|
import { B as ButtonDismiss } from './ButtonDismiss-es.js';
|
|
8
8
|
|
|
@@ -51,7 +51,7 @@ const usePopover = ({ preferredPlacement, attachTo, open, }) => {
|
|
|
51
51
|
// (which we are), not hidden with css. https://floating-ui.com/docs/autoUpdate
|
|
52
52
|
whileElementsMounted: autoUpdate,
|
|
53
53
|
});
|
|
54
|
-
|
|
54
|
+
useRefocusOnActivator(open);
|
|
55
55
|
return {
|
|
56
56
|
setFloatingElement: refs.setFloating,
|
|
57
57
|
setArrowElement,
|
package/dist/SideDrawer-cjs.js
CHANGED
|
@@ -87,10 +87,10 @@ const useSideDrawerState = (open) => {
|
|
|
87
87
|
backButton: false,
|
|
88
88
|
});
|
|
89
89
|
const { toolbar, title, actions, backButton, footer } = useSlotIDs();
|
|
90
|
-
useRefocusOnActivator.
|
|
91
|
-
const sideDrawerRef = useFocusTrap.
|
|
92
|
-
const [headerShadowRef, noHeaderShadow] = useInView.
|
|
93
|
-
const [footerShadowRef, noFooterShadow] = useInView.
|
|
90
|
+
useRefocusOnActivator.useRefocusOnActivator(open);
|
|
91
|
+
const sideDrawerRef = useFocusTrap.useFocusTrap(open);
|
|
92
|
+
const [headerShadowRef, noHeaderShadow] = useInView.useInView();
|
|
93
|
+
const [footerShadowRef, noFooterShadow] = useInView.useInView();
|
|
94
94
|
return {
|
|
95
95
|
ref,
|
|
96
96
|
setRef,
|
|
@@ -107,9 +107,9 @@ const useSideDrawerState = (open) => {
|
|
|
107
107
|
function SideDrawer({ children, onRequestClose, open, variation = "base", scrollDirection, inline = false, UNSAFE_className, UNSAFE_style, }) {
|
|
108
108
|
var _a;
|
|
109
109
|
const { ref, setRef, components, setComponents, slots, sideDrawerRef, headerShadowRef, noHeaderShadow, footerShadowRef, noFooterShadow, } = useSideDrawerState(open);
|
|
110
|
-
useRefocusOnActivator.
|
|
110
|
+
useRefocusOnActivator.useRefocusOnActivator(open);
|
|
111
111
|
const container = ((_a = globalThis.document) === null || _a === void 0 ? void 0 : _a.body) || null;
|
|
112
|
-
const isMounted = useIsMounted.
|
|
112
|
+
const isMounted = useIsMounted.useIsMounted();
|
|
113
113
|
if (!isMounted.current && !container)
|
|
114
114
|
return null;
|
|
115
115
|
const SideDrawerRender = (React.createElement(SideDrawerContext.Provider, { value: {
|
package/dist/SideDrawer-es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useEffect, useState, useId } from 'react';
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
3
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
4
|
+
import { u as useRefocusOnActivator } from './useRefocusOnActivator-es.js';
|
|
5
|
+
import { u as useFocusTrap } from './useFocusTrap-es.js';
|
|
6
6
|
import classnames from 'classnames';
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
7
|
+
import { u as useInView } from './useInView-es.js';
|
|
8
|
+
import { u as useIsMounted } from './useIsMounted-es.js';
|
|
9
9
|
import { tokens } from '@jobber/design';
|
|
10
10
|
import { H as Heading } from './Heading-es.js';
|
|
11
11
|
import { B as Button } from './Button-es.js';
|
|
@@ -85,10 +85,10 @@ const useSideDrawerState = (open) => {
|
|
|
85
85
|
backButton: false,
|
|
86
86
|
});
|
|
87
87
|
const { toolbar, title, actions, backButton, footer } = useSlotIDs();
|
|
88
|
-
|
|
89
|
-
const sideDrawerRef =
|
|
90
|
-
const [headerShadowRef, noHeaderShadow] =
|
|
91
|
-
const [footerShadowRef, noFooterShadow] =
|
|
88
|
+
useRefocusOnActivator(open);
|
|
89
|
+
const sideDrawerRef = useFocusTrap(open);
|
|
90
|
+
const [headerShadowRef, noHeaderShadow] = useInView();
|
|
91
|
+
const [footerShadowRef, noFooterShadow] = useInView();
|
|
92
92
|
return {
|
|
93
93
|
ref,
|
|
94
94
|
setRef,
|
|
@@ -105,9 +105,9 @@ const useSideDrawerState = (open) => {
|
|
|
105
105
|
function SideDrawer({ children, onRequestClose, open, variation = "base", scrollDirection, inline = false, UNSAFE_className, UNSAFE_style, }) {
|
|
106
106
|
var _a;
|
|
107
107
|
const { ref, setRef, components, setComponents, slots, sideDrawerRef, headerShadowRef, noHeaderShadow, footerShadowRef, noFooterShadow, } = useSideDrawerState(open);
|
|
108
|
-
|
|
108
|
+
useRefocusOnActivator(open);
|
|
109
109
|
const container = ((_a = globalThis.document) === null || _a === void 0 ? void 0 : _a.body) || null;
|
|
110
|
-
const isMounted =
|
|
110
|
+
const isMounted = useIsMounted();
|
|
111
111
|
if (!isMounted.current && !container)
|
|
112
112
|
return null;
|
|
113
113
|
const SideDrawerRender = (React__default.createElement(SideDrawerContext.Provider, { value: {
|
package/dist/Tooltip-cjs.js
CHANGED
|
@@ -122,7 +122,7 @@ function Tooltip({ message, children, preferredPlacement = "top", setTabIndex =
|
|
|
122
122
|
activator.removeEventListener("blur", hideTooltip);
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
|
-
useSafeLayoutEffect.
|
|
125
|
+
useSafeLayoutEffect.useSafeLayoutEffect(() => {
|
|
126
126
|
injectAttributes();
|
|
127
127
|
addListeners();
|
|
128
128
|
return () => {
|
|
@@ -132,7 +132,7 @@ function Tooltip({ message, children, preferredPlacement = "top", setTabIndex =
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
function TooltipPortal({ children }) {
|
|
135
|
-
const mounted = useIsMounted.
|
|
135
|
+
const mounted = useIsMounted.useIsMounted();
|
|
136
136
|
if (!(mounted === null || mounted === void 0 ? void 0 : mounted.current)) {
|
|
137
137
|
return null;
|
|
138
138
|
}
|
package/dist/Tooltip-es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useRef, useState } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { u as useFloating,
|
|
3
|
+
import { u as useFloating, d as shift, f as flip, e as arrow, c as autoUpdate, l as limitShift, F as FloatingPortal } from './floating-ui.react-es.js';
|
|
4
4
|
import { motion } from 'framer-motion';
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
5
|
+
import { u as useSafeLayoutEffect } from './useSafeLayoutEffect-es.js';
|
|
6
|
+
import { u as useIsMounted } from './useIsMounted-es.js';
|
|
7
7
|
|
|
8
8
|
var styles = {"shadowActivator":"sZQ1M6tj8-c-","tooltipWrapper":"_0o-yEgfXmSQ-","tooltip":"Q1YfFqI71cw-","arrow":"ZP3ev-wT-OI-","top":"jlEmO6f6uHg-","bottom":"z9JQ-DR-QYc-","left":"zWATWgq3bS4-","right":"-tDm6lNCCic-","tooltipMessage":"djrmr4mADlA-","spinning":"bobYmlUMnuY-"};
|
|
9
9
|
|
|
@@ -120,7 +120,7 @@ function Tooltip({ message, children, preferredPlacement = "top", setTabIndex =
|
|
|
120
120
|
activator.removeEventListener("blur", hideTooltip);
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
|
-
|
|
123
|
+
useSafeLayoutEffect(() => {
|
|
124
124
|
injectAttributes();
|
|
125
125
|
addListeners();
|
|
126
126
|
return () => {
|
|
@@ -130,7 +130,7 @@ function Tooltip({ message, children, preferredPlacement = "top", setTabIndex =
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
function TooltipPortal({ children }) {
|
|
133
|
-
const mounted =
|
|
133
|
+
const mounted = useIsMounted();
|
|
134
134
|
if (!(mounted === null || mounted === void 0 ? void 0 : mounted.current)) {
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
@@ -7015,4 +7015,4 @@ function useTransitionStyles(context, props) {
|
|
|
7015
7015
|
};
|
|
7016
7016
|
}
|
|
7017
7017
|
|
|
7018
|
-
export { FloatingPortal as F,
|
|
7018
|
+
export { FloatingPortal as F, useDismiss as a, useInteractions as b, autoUpdate as c, shift as d, arrow as e, flip as f, useFloatingParentNodeId as g, useFloatingNodeId as h, FloatingTree as i, FloatingNode as j, autoPlacement as k, limitShift as l, useClick as m, useRole as n, offset as o, FloatingOverlay as p, FloatingFocusManager as q, useListNavigation as r, size as s, useTransitionStyles as t, useFloating as u };
|
package/dist/index.cjs
CHANGED
|
@@ -30,7 +30,7 @@ var Countdown = require('./Countdown-cjs.js');
|
|
|
30
30
|
var DataDump = require('./DataDump-cjs.js');
|
|
31
31
|
var DataList = require('./DataList-cjs.js');
|
|
32
32
|
var DataTable = require('./DataTable-cjs.js');
|
|
33
|
-
require('./
|
|
33
|
+
require('./isObjectLike-cjs.js');
|
|
34
34
|
require('./DataTableTable-cjs.js');
|
|
35
35
|
var reactTable = require('@tanstack/react-table');
|
|
36
36
|
var DatePicker = require('./DatePicker-cjs.js');
|
|
@@ -101,7 +101,6 @@ require('@jobber/design');
|
|
|
101
101
|
require('./_commonjsHelpers-cjs.js');
|
|
102
102
|
require('./identity-cjs.js');
|
|
103
103
|
require('./isTypedArray-cjs.js');
|
|
104
|
-
require('./isObjectLike-cjs.js');
|
|
105
104
|
require('./_baseAssignValue-cjs.js');
|
|
106
105
|
require('./_baseFor-cjs.js');
|
|
107
106
|
require('./keysIn-cjs.js');
|
|
@@ -118,6 +117,10 @@ require('./useIsMounted-cjs.js');
|
|
|
118
117
|
require('./useSafeLayoutEffect-cjs.js');
|
|
119
118
|
require('./useOnKeyDown-cjs.js');
|
|
120
119
|
require('color');
|
|
120
|
+
require('./useResizeObserver-cjs.js');
|
|
121
|
+
require('./throttle-cjs.js');
|
|
122
|
+
require('./debounce-cjs.js');
|
|
123
|
+
require('./isSymbol-cjs.js');
|
|
121
124
|
require('react-router-dom');
|
|
122
125
|
require('./getMappedAtlantisSpaceToken-cjs.js');
|
|
123
126
|
require('react-hook-form');
|
|
@@ -128,9 +131,7 @@ require('./useScrollToActive-cjs.js');
|
|
|
128
131
|
require('./_baseFlatten-cjs.js');
|
|
129
132
|
require('./_baseGet-cjs.js');
|
|
130
133
|
require('./_getTag-cjs.js');
|
|
131
|
-
require('./isSymbol-cjs.js');
|
|
132
134
|
require('./_baseEach-cjs.js');
|
|
133
|
-
require('./debounce-cjs.js');
|
|
134
135
|
require('./ComboboxContent-cjs.js');
|
|
135
136
|
require('./ComboboxContentSearch-cjs.js');
|
|
136
137
|
require('./ComboboxContentList-cjs.js');
|
|
@@ -179,7 +180,6 @@ require('./DataListLoadMore-cjs.js');
|
|
|
179
180
|
require('./DataListAction-cjs.js');
|
|
180
181
|
require('./DataListLayoutActions-cjs.js');
|
|
181
182
|
require('./DataListStatusBar-cjs.js');
|
|
182
|
-
require('./throttle-cjs.js');
|
|
183
183
|
require('./omit-cjs.js');
|
|
184
184
|
require('./useFormFieldFocus-cjs.js');
|
|
185
185
|
require('filesize');
|
package/dist/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ export { C as Countdown } from './Countdown-es.js';
|
|
|
28
28
|
export { D as DataDump } from './DataDump-es.js';
|
|
29
29
|
export { D as DataList } from './DataList-es.js';
|
|
30
30
|
export { D as DataTable } from './DataTable-es.js';
|
|
31
|
-
import './
|
|
31
|
+
import './isObjectLike-es.js';
|
|
32
32
|
import './DataTableTable-es.js';
|
|
33
33
|
export { createColumnHelper } from '@tanstack/react-table';
|
|
34
34
|
export { D as DatePicker } from './DatePicker-es.js';
|
|
@@ -99,7 +99,6 @@ import '@jobber/design';
|
|
|
99
99
|
import './_commonjsHelpers-es.js';
|
|
100
100
|
import './identity-es.js';
|
|
101
101
|
import './isTypedArray-es.js';
|
|
102
|
-
import './isObjectLike-es.js';
|
|
103
102
|
import './_baseAssignValue-es.js';
|
|
104
103
|
import './_baseFor-es.js';
|
|
105
104
|
import './keysIn-es.js';
|
|
@@ -116,6 +115,10 @@ import './useIsMounted-es.js';
|
|
|
116
115
|
import './useSafeLayoutEffect-es.js';
|
|
117
116
|
import './useOnKeyDown-es.js';
|
|
118
117
|
import 'color';
|
|
118
|
+
import './useResizeObserver-es.js';
|
|
119
|
+
import './throttle-es.js';
|
|
120
|
+
import './debounce-es.js';
|
|
121
|
+
import './isSymbol-es.js';
|
|
119
122
|
import 'react-router-dom';
|
|
120
123
|
import './getMappedAtlantisSpaceToken-es.js';
|
|
121
124
|
import 'react-hook-form';
|
|
@@ -126,9 +129,7 @@ import './useScrollToActive-es.js';
|
|
|
126
129
|
import './_baseFlatten-es.js';
|
|
127
130
|
import './_baseGet-es.js';
|
|
128
131
|
import './_getTag-es.js';
|
|
129
|
-
import './isSymbol-es.js';
|
|
130
132
|
import './_baseEach-es.js';
|
|
131
|
-
import './debounce-es.js';
|
|
132
133
|
import './ComboboxContent-es.js';
|
|
133
134
|
import './ComboboxContentSearch-es.js';
|
|
134
135
|
import './ComboboxContentList-es.js';
|
|
@@ -177,7 +178,6 @@ import './DataListLoadMore-es.js';
|
|
|
177
178
|
import './DataListAction-es.js';
|
|
178
179
|
import './DataListLayoutActions-es.js';
|
|
179
180
|
import './DataListStatusBar-es.js';
|
|
180
|
-
import './throttle-es.js';
|
|
181
181
|
import './omit-es.js';
|
|
182
182
|
import './useFormFieldFocus-es.js';
|
|
183
183
|
import 'filesize';
|
package/dist/styles.css
CHANGED
|
@@ -5297,9 +5297,16 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
|
|
|
5297
5297
|
|
|
5298
5298
|
.hk1-OlPzFpM- {
|
|
5299
5299
|
color: hsl(31, 90%, 37%);
|
|
5300
|
-
color: var(--color-orange--
|
|
5300
|
+
color: var(--color-base-orange--600);
|
|
5301
5301
|
background-color: hsl(31, 74%, 93%);
|
|
5302
|
-
background-color: var(--color-orange--
|
|
5302
|
+
background-color: var(--color-base-orange--200);
|
|
5303
|
+
}
|
|
5304
|
+
|
|
5305
|
+
[data-theme="dark"] .hk1-OlPzFpM- {
|
|
5306
|
+
color: hsl(31, 74%, 93%);
|
|
5307
|
+
color: var(--color-base-orange--200);
|
|
5308
|
+
background-color: hsl(31, 90%, 37%);
|
|
5309
|
+
background-color: var(--color-base-orange--600);
|
|
5303
5310
|
}
|
|
5304
5311
|
|
|
5305
5312
|
.ekQbbiBSxKk-,
|
|
@@ -5336,9 +5343,16 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
|
|
|
5336
5343
|
|
|
5337
5344
|
.ZrdNg5b18oY- {
|
|
5338
5345
|
color: hsl(79, 85%, 21%);
|
|
5339
|
-
color: var(--color-lime--
|
|
5346
|
+
color: var(--color-base-lime--700);
|
|
5340
5347
|
background-color: hsl(79, 49%, 90%);
|
|
5341
|
-
background-color: var(--color-lime--
|
|
5348
|
+
background-color: var(--color-base-lime--200);
|
|
5349
|
+
}
|
|
5350
|
+
|
|
5351
|
+
[data-theme="dark"] .ZrdNg5b18oY- {
|
|
5352
|
+
color: hsl(79, 49%, 90%);
|
|
5353
|
+
color: var(--color-base-lime--200);
|
|
5354
|
+
background-color: hsl(79, 85%, 21%);
|
|
5355
|
+
background-color: var(--color-base-lime--700);
|
|
5342
5356
|
}
|
|
5343
5357
|
|
|
5344
5358
|
.df-Q7pKd2iI-,
|
|
@@ -5359,9 +5373,16 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
|
|
|
5359
5373
|
|
|
5360
5374
|
.gc8t5abqWH4- {
|
|
5361
5375
|
color: hsl(190, 78%, 25%);
|
|
5362
|
-
color: var(--color-teal--
|
|
5376
|
+
color: var(--color-base-teal--700);
|
|
5363
5377
|
background-color: hsl(190, 63%, 92%);
|
|
5364
|
-
background-color: var(--color-teal--
|
|
5378
|
+
background-color: var(--color-base-teal--200);
|
|
5379
|
+
}
|
|
5380
|
+
|
|
5381
|
+
[data-theme="dark"] .gc8t5abqWH4- {
|
|
5382
|
+
color: hsl(190, 63%, 92%);
|
|
5383
|
+
color: var(--color-base-teal--200);
|
|
5384
|
+
background-color: hsl(190, 78%, 25%);
|
|
5385
|
+
background-color: var(--color-base-teal--700);
|
|
5365
5386
|
}
|
|
5366
5387
|
|
|
5367
5388
|
.SeLhnnpqK70-,
|
package/dist/throttle-cjs.js
CHANGED
package/dist/throttle-es.js
CHANGED