@jobber/components 7.1.2-MIKElock--7916eb4.2 → 7.2.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/AtlantisThemeContext-cjs.js +1 -1
- package/dist/AtlantisThemeContext-es.js +9 -9
- package/dist/Autocomplete/index.cjs +2 -2
- package/dist/Autocomplete/index.mjs +5 -5
- package/dist/Body-cjs.js +1 -1
- package/dist/Body-es.js +2 -2
- package/dist/BottomSheet-cjs.js +1 -1
- package/dist/BottomSheet-es.js +1 -1
- package/dist/Box-cjs.js +2 -2
- package/dist/Box-es.js +2 -2
- package/dist/Button/index.mjs +1 -1
- package/dist/Button-es.js +1 -1
- package/dist/Card-cjs.js +1 -1
- package/dist/Card-es.js +1 -1
- package/dist/Checkbox/index.cjs +1 -1
- package/dist/Checkbox/index.mjs +1 -1
- package/dist/Chip/Chip.d.ts +7 -1
- package/dist/Chip/Chip.types.d.ts +7 -2
- package/dist/Chip/index.cjs +1 -1
- package/dist/Chip/index.mjs +2 -2
- package/dist/Chip-cjs.js +42 -27
- package/dist/Chip-es.js +42 -27
- package/dist/ChipDismissible-es.js +1 -1
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +1 -1
- package/dist/Combobox/components/ComboboxTrigger/index.cjs +1 -1
- package/dist/Combobox/components/ComboboxTrigger/index.mjs +1 -1
- package/dist/Combobox-cjs.js +1 -1
- package/dist/Combobox-es.js +1 -1
- package/dist/ComboboxAction-cjs.js +1 -1
- package/dist/ComboboxAction-es.js +1 -1
- package/dist/ComboboxContent-cjs.js +1 -1
- package/dist/ComboboxContent-es.js +2 -2
- package/dist/ComboboxContentHeader-cjs.js +1 -1
- package/dist/ComboboxContentHeader-es.js +1 -1
- package/dist/ComboboxContentList-es.js +1 -1
- package/dist/ComboboxContentSearch-cjs.js +1 -1
- package/dist/ComboboxContentSearch-es.js +1 -1
- package/dist/ComboboxLoadMore-cjs.js +1 -1
- package/dist/ComboboxLoadMore-es.js +1 -1
- package/dist/ComboboxOption-cjs.js +1 -1
- package/dist/ComboboxOption-es.js +1 -1
- package/dist/Container-cjs.js +1 -1
- package/dist/Container-es.js +1 -1
- package/dist/Content-cjs.js +1 -1
- package/dist/Content-es.js +1 -1
- package/dist/ContentBlock-cjs.js +1 -1
- package/dist/ContentBlock-es.js +1 -1
- package/dist/Countdown-cjs.js +3 -7
- package/dist/Countdown-es.js +4 -8
- package/dist/Cover-cjs.js +1 -1
- package/dist/Cover-es.js +1 -1
- package/dist/DataList-es.js +3 -3
- package/dist/DataList.const-cjs.js +1 -0
- package/dist/DataList.const-es.js +2 -1
- package/dist/DataList.module-cjs.js +1 -1
- package/dist/DataList.module-es.js +1 -1
- package/dist/DataList.utils-es.js +6 -6
- package/dist/DataListAction-cjs.js +1 -1
- package/dist/DataListAction-es.js +1 -1
- package/dist/DataListActionsMenu-cjs.js +1 -1
- package/dist/DataListActionsMenu-es.js +2 -2
- package/dist/DataListBulkActions-cjs.js +1 -1
- package/dist/DataListBulkActions-es.js +1 -1
- package/dist/DataListEmptyState-cjs.js +1 -1
- package/dist/DataListEmptyState-es.js +1 -1
- package/dist/DataListHeaderTile-cjs.js +2 -2
- package/dist/DataListHeaderTile-es.js +2 -2
- package/dist/DataListItemActions-cjs.js +1 -1
- package/dist/DataListItemActions-es.js +2 -2
- package/dist/DataListLayoutActions-cjs.js +1 -1
- package/dist/DataListLayoutActions-es.js +2 -2
- package/dist/DataListLoadMore-cjs.js +1 -1
- package/dist/DataListLoadMore-es.js +1 -1
- package/dist/DataListLoadingState-cjs.js +1 -1
- package/dist/DataListLoadingState-es.js +2 -2
- package/dist/DataListOverflowFade-cjs.js +1 -1
- package/dist/DataListOverflowFade-es.js +1 -1
- package/dist/DataListSearch-cjs.js +1 -1
- package/dist/DataListSearch-es.js +1 -1
- package/dist/DataListSortingOptions-cjs.js +1 -1
- package/dist/DataListSortingOptions-es.js +1 -1
- package/dist/DataListStickyHeader-cjs.js +1 -1
- package/dist/DataListStickyHeader-es.js +1 -1
- package/dist/DataListTags-cjs.js +1 -1
- package/dist/DataListTags-es.js +1 -1
- package/dist/DataListTotalCount-cjs.js +1 -1
- package/dist/DataListTotalCount-es.js +2 -2
- package/dist/DataTable/index.mjs +1 -1
- package/dist/DataTable-cjs.js +3 -3
- package/dist/DataTable-es.js +5 -5
- package/dist/DataTableTable-cjs.js +2 -2
- package/dist/DataTableTable-es.js +3 -3
- package/dist/DatePicker-cjs.js +81 -266
- package/dist/DatePicker-es.js +83 -268
- package/dist/DayOfMonthSelect-cjs.js +5 -5
- package/dist/DayOfMonthSelect-es.js +6 -6
- package/dist/DescriptionList-cjs.js +1 -1
- package/dist/DescriptionList-es.js +1 -1
- package/dist/Disclosure-cjs.js +1 -1
- package/dist/Disclosure-es.js +1 -1
- package/dist/Divider-cjs.js +1 -1
- package/dist/Divider-es.js +1 -1
- package/dist/DrawerGrid-cjs.js +2 -2
- package/dist/DrawerGrid-es.js +2 -2
- package/dist/DrawerRoot-cjs.js +48 -10
- package/dist/DrawerRoot-es.js +50 -12
- package/dist/FeatureSwitch-cjs.js +1 -1
- package/dist/FeatureSwitch-es.js +1 -1
- package/dist/FormField/index.mjs +1 -1
- package/dist/FormField-cjs.js +1 -1
- package/dist/FormField-es.js +2 -2
- package/dist/FormatEmail-cjs.js +1 -1
- package/dist/FormatEmail-es.js +1 -1
- package/dist/FormatFile-cjs.js +6 -1
- package/dist/FormatFile-es.js +6 -1
- package/dist/Frame-cjs.js +1 -1
- package/dist/Frame-es.js +1 -1
- package/dist/Glimmer/index.mjs +1 -1
- package/dist/Glimmer-cjs.js +1 -1
- package/dist/Glimmer-es.js +2 -2
- package/dist/Grid-cjs.js +1 -1
- package/dist/Grid-es.js +1 -1
- package/dist/GridCell-cjs.js +1 -1
- package/dist/GridCell-es.js +1 -1
- package/dist/InputAvatar-cjs.js +1 -1
- package/dist/InputAvatar-es.js +1 -1
- package/dist/InputDate/index.mjs +1 -1
- package/dist/InputEmail/index.mjs +1 -1
- package/dist/InputFile-cjs.js +3 -8
- package/dist/InputFile-es.js +3 -8
- package/dist/InputNumber/index.cjs +59 -165
- package/dist/InputNumber/index.mjs +62 -168
- package/dist/InputPassword-es.js +1 -1
- package/dist/InputPhoneNumber/index.cjs +1 -1
- package/dist/InputPhoneNumber/index.mjs +2 -2
- package/dist/InputText/InputText.d.ts +70 -2
- package/dist/InputText/index.mjs +1 -1
- package/dist/InputTime/index.cjs +1 -0
- package/dist/InputTime/index.mjs +2 -1
- package/dist/InputValidation-cjs.js +1 -1
- package/dist/InputValidation-es.js +1 -1
- package/dist/InternalChipDismissible-cjs.js +2 -2
- package/dist/InternalChipDismissible-es.js +3 -3
- package/dist/LightBox-cjs.js +1 -1
- package/dist/LightBox-es.js +1 -1
- package/dist/Link-cjs.js +1 -1
- package/dist/Link-es.js +1 -1
- package/dist/List-cjs.js +3 -3
- package/dist/List-es.js +7 -7
- package/dist/Markdown-cjs.js +392 -466
- package/dist/Markdown-es.js +398 -472
- package/dist/Menu-cjs.js +577 -739
- package/dist/Menu-es.js +573 -735
- package/dist/Modal/index.cjs +2 -2
- package/dist/Modal/index.mjs +2 -2
- package/dist/MultiSelect-cjs.js +2 -2
- package/dist/MultiSelect-es.js +2 -2
- package/dist/OverlaySeparator-cjs.js +1 -1
- package/dist/OverlaySeparator-es.js +1 -1
- package/dist/Popover-cjs.js +1 -1
- package/dist/Popover-es.js +2 -2
- package/dist/ProgressBar-cjs.js +1 -1
- package/dist/ProgressBar-es.js +1 -1
- package/dist/RadioGroup-cjs.js +1 -1
- package/dist/RadioGroup-es.js +1 -1
- package/dist/RecurringSelect/components/index.mjs +1 -1
- package/dist/RecurringSelect/index.cjs +0 -1
- package/dist/RecurringSelect/index.mjs +0 -1
- package/dist/RecurringSelect-cjs.js +1 -1
- package/dist/RecurringSelect-es.js +2 -2
- package/dist/SegmentedControl-cjs.js +1 -1
- package/dist/SegmentedControl-es.js +2 -2
- package/dist/Select/index.cjs +1 -1
- package/dist/Select/index.mjs +2 -2
- package/dist/SideDrawer-cjs.js +1 -1
- package/dist/SideDrawer-es.js +1 -1
- package/dist/Spinner-cjs.js +1 -1
- package/dist/Spinner-es.js +1 -1
- package/dist/StatusIndicator-cjs.js +1 -1
- package/dist/StatusIndicator-es.js +1 -1
- package/dist/Switch-cjs.js +1 -1
- package/dist/Switch-es.js +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/index.mjs +1 -1
- package/dist/Tabs-cjs.js +1 -1
- package/dist/Tabs-es.js +6 -6
- package/dist/Text-cjs2.js +164 -298
- package/dist/Text-es2.js +164 -295
- package/dist/Thumbnail-cjs.js +1 -1
- package/dist/Thumbnail-es.js +2 -2
- package/dist/Tiles-cjs.js +1 -1
- package/dist/Tiles-es.js +1 -1
- package/dist/Tooltip-cjs.js +1 -1
- package/dist/Tooltip-es.js +2 -2
- package/dist/Typography-cjs.js +3 -3
- package/dist/Typography-es.js +3 -3
- package/dist/_baseEach-cjs.js +1 -1
- package/dist/_baseEach-es.js +7 -7
- package/dist/_baseFlatten-es.js +1 -1
- package/dist/_getAllKeys-cjs.js +8 -2
- package/dist/_getAllKeys-es.js +10 -4
- package/dist/_getTag-es.js +1 -1
- package/dist/_isIterateeCall-es.js +3 -3
- package/dist/_setToString-es.js +2 -2
- package/dist/debounce-es.js +4 -4
- package/dist/docs/Autocomplete/AutocompleteV1.md +1 -1
- package/dist/docs/Autocomplete/AutocompleteV2.md +1 -1
- package/dist/docs/Banner/Banner.md +1 -1
- package/dist/docs/Chip/Chip.md +4 -2
- package/dist/docs/DataList/DataList.md +1 -1
- package/dist/docs/FormField/FormField.md +2 -2
- package/dist/docs/InputEmail/InputEmail.md +1 -1
- package/dist/docs/InputNumber/InputNumber.md +2 -2
- package/dist/docs/InputPhoneNumber/InputPhoneNumber.md +1 -1
- package/dist/docs/InputText/InputText.md +2 -2
- package/dist/docs/Modal/Modal.md +3 -3
- package/dist/docs/Select/Select.md +2 -2
- package/dist/floating-ui.react-cjs.js +16 -35
- package/dist/floating-ui.react-dom-es.js +2 -2
- package/dist/floating-ui.react-es.js +18 -37
- package/dist/identity-es.js +5 -5
- package/dist/index-cjs.js +6 -6
- package/dist/index-es.js +6 -6
- package/dist/index.esm-es.js +1 -1
- package/dist/index.mjs +6 -6
- package/dist/isSymbol-es.js +1 -1
- package/dist/isTypedArray-cjs.js +4 -4
- package/dist/isTypedArray-es.js +6 -6
- package/dist/keysIn-cjs.js +2 -2
- package/dist/keysIn-es.js +5 -5
- package/dist/noop-es.js +4 -4
- package/dist/omit-cjs.js +5 -37
- package/dist/omit-es.js +14 -46
- package/dist/showToast-cjs.js +1 -1
- package/dist/showToast-es.js +1 -1
- package/dist/styles.css +117 -54
- package/dist/unstyledPrimitives/index.mjs +3 -3
- package/dist/useScrollToActive-cjs.js +1 -1
- package/dist/useScrollToActive-es.js +8 -8
- package/package.json +3 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as evaluate, o as getSide, p as getSideAxis, q as getOppositePlacement, r as getExpandedPlacements, s as getOppositeAxisPlacements, u as getAlignmentSides, v as getAlignment, w as min, x as max, y as getAlignmentAxis, z as getPaddingObject, A as rectToClientRect, B as clamp, C as getAxisLength, D as sides, E as getOppositeAxis, F as placements, G as getOppositeAlignmentPlacement, g as getOverflowAncestors, b as isElement, H as createCoords, I as getWindow, J as getFrameElement, l as getComputedStyle$1, K as getDocumentElement, a as isHTMLElement, L as round, m as isWebKit, f as floor, M as isTopLayer, d as getNodeName, N as isOverflowElement, O as getNodeScroll, k as getParentNode, j as isLastTraversableNode, P as isTableElement, Q as isContainingBlock, R as getContainingBlock } from './index.esm-es.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useLayoutEffect } from 'react';
|
|
4
4
|
import * as ReactDOM from 'react-dom';
|
|
@@ -2069,4 +2069,4 @@ const arrow = (options, deps) => {
|
|
|
2069
2069
|
};
|
|
2070
2070
|
};
|
|
2071
2071
|
|
|
2072
|
-
export {
|
|
2072
|
+
export { arrow as a, autoUpdate as b, autoPlacement as c, size as d, flip as f, hide as h, limitShift as l, offset as o, shift as s, useFloating as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useLayoutEffect } from 'react';
|
|
3
|
-
import { i as isShadowRoot,
|
|
4
|
-
import {
|
|
3
|
+
import { i as isShadowRoot, a as isHTMLElement, t as tabbable, f as floor, b as isElement, g as getOverflowAncestors, c as isNode, d as getNodeName, e as isTabbable, h as focusable, j as isLastTraversableNode, k as getParentNode, l as getComputedStyle, m as isWebKit } from './index.esm-es.js';
|
|
4
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import * as ReactDOM from 'react-dom';
|
|
6
6
|
import { u as useFloating$1 } from './floating-ui.react-dom-es.js';
|
|
7
7
|
|
|
@@ -865,12 +865,7 @@ let uncontrolledElementsSet = /*#__PURE__*/new WeakSet();
|
|
|
865
865
|
let markerMap = {};
|
|
866
866
|
let lockCount$1 = 0;
|
|
867
867
|
const supportsInert = () => typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;
|
|
868
|
-
|
|
869
|
-
if (!node) {
|
|
870
|
-
return null;
|
|
871
|
-
}
|
|
872
|
-
return isShadowRoot(node) ? node.host : unwrapHost(node.parentNode);
|
|
873
|
-
}
|
|
868
|
+
const unwrapHost = node => node && (node.host || unwrapHost(node.parentNode));
|
|
874
869
|
const correctElements = (parent, targets) => targets.map(target => {
|
|
875
870
|
if (parent.contains(target)) {
|
|
876
871
|
return target;
|
|
@@ -1011,12 +1006,6 @@ const FocusGuard = /*#__PURE__*/React.forwardRef(function FocusGuard(props, ref)
|
|
|
1011
1006
|
});
|
|
1012
1007
|
});
|
|
1013
1008
|
|
|
1014
|
-
const HIDDEN_OWNER_STYLES = {
|
|
1015
|
-
clipPath: 'inset(50%)',
|
|
1016
|
-
position: 'fixed',
|
|
1017
|
-
top: 0,
|
|
1018
|
-
left: 0
|
|
1019
|
-
};
|
|
1020
1009
|
const PortalContext = /*#__PURE__*/React.createContext(null);
|
|
1021
1010
|
const attr = /*#__PURE__*/createAttribute('portal');
|
|
1022
1011
|
/**
|
|
@@ -1175,7 +1164,7 @@ function FloatingPortal(props) {
|
|
|
1175
1164
|
}
|
|
1176
1165
|
}), shouldRenderGuards && portalNode && /*#__PURE__*/jsx("span", {
|
|
1177
1166
|
"aria-owns": portalNode.id,
|
|
1178
|
-
style:
|
|
1167
|
+
style: HIDDEN_STYLES
|
|
1179
1168
|
}), portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/jsx(FocusGuard, {
|
|
1180
1169
|
"data-type": "outside",
|
|
1181
1170
|
ref: afterOutsideRef,
|
|
@@ -1211,24 +1200,20 @@ function useLiteMergeRefs(refs) {
|
|
|
1211
1200
|
const LIST_LIMIT = 20;
|
|
1212
1201
|
let previouslyFocusedElements = [];
|
|
1213
1202
|
function clearDisconnectedPreviouslyFocusedElements() {
|
|
1214
|
-
previouslyFocusedElements = previouslyFocusedElements.filter(
|
|
1215
|
-
var _elementRef$deref;
|
|
1216
|
-
return (_elementRef$deref = elementRef.deref()) == null ? void 0 : _elementRef$deref.isConnected;
|
|
1217
|
-
});
|
|
1203
|
+
previouslyFocusedElements = previouslyFocusedElements.filter(el => el.isConnected);
|
|
1218
1204
|
}
|
|
1219
1205
|
function addPreviouslyFocusedElement(element) {
|
|
1220
1206
|
clearDisconnectedPreviouslyFocusedElements();
|
|
1221
1207
|
if (element && getNodeName(element) !== 'body') {
|
|
1222
|
-
previouslyFocusedElements.push(
|
|
1208
|
+
previouslyFocusedElements.push(element);
|
|
1223
1209
|
if (previouslyFocusedElements.length > LIST_LIMIT) {
|
|
1224
|
-
previouslyFocusedElements = previouslyFocusedElements.slice(-
|
|
1210
|
+
previouslyFocusedElements = previouslyFocusedElements.slice(-20);
|
|
1225
1211
|
}
|
|
1226
1212
|
}
|
|
1227
1213
|
}
|
|
1228
1214
|
function getPreviouslyFocusedElement() {
|
|
1229
1215
|
clearDisconnectedPreviouslyFocusedElements();
|
|
1230
|
-
|
|
1231
|
-
return elementRef == null ? void 0 : elementRef.deref();
|
|
1216
|
+
return previouslyFocusedElements[previouslyFocusedElements.length - 1];
|
|
1232
1217
|
}
|
|
1233
1218
|
function getFirstTabbableElement(container) {
|
|
1234
1219
|
const tabbableOptions = getTabbableOptions();
|
|
@@ -2160,22 +2145,18 @@ function useDismiss(context, props) {
|
|
|
2160
2145
|
})
|
|
2161
2146
|
})
|
|
2162
2147
|
}), [closeOnEscapeKeyDown, onOpenChange, referencePress, referencePressEvent]);
|
|
2163
|
-
const floating = React.useMemo(() => {
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
return;
|
|
2167
|
-
}
|
|
2148
|
+
const floating = React.useMemo(() => ({
|
|
2149
|
+
onKeyDown: closeOnEscapeKeyDown,
|
|
2150
|
+
onMouseDown() {
|
|
2168
2151
|
endedOrStartedInsideRef.current = true;
|
|
2152
|
+
},
|
|
2153
|
+
onMouseUp() {
|
|
2154
|
+
endedOrStartedInsideRef.current = true;
|
|
2155
|
+
},
|
|
2156
|
+
[captureHandlerKeys[outsidePressEvent]]: () => {
|
|
2157
|
+
dataRef.current.insideReactTree = true;
|
|
2169
2158
|
}
|
|
2170
|
-
|
|
2171
|
-
onKeyDown: closeOnEscapeKeyDown,
|
|
2172
|
-
onMouseDown: setMouseDownOrUpInside,
|
|
2173
|
-
onMouseUp: setMouseDownOrUpInside,
|
|
2174
|
-
[captureHandlerKeys[outsidePressEvent]]: () => {
|
|
2175
|
-
dataRef.current.insideReactTree = true;
|
|
2176
|
-
}
|
|
2177
|
-
};
|
|
2178
|
-
}, [closeOnEscapeKeyDown, outsidePressEvent, dataRef]);
|
|
2159
|
+
}), [closeOnEscapeKeyDown, outsidePressEvent, dataRef]);
|
|
2179
2160
|
return React.useMemo(() => enabled ? {
|
|
2180
2161
|
reference,
|
|
2181
2162
|
floating
|
package/dist/identity-es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as _getNative, g as _Map,
|
|
1
|
+
import { f as _getNative, g as _Map, i as isArguments_1, c as isBufferExports, d as isTypedArray_1, a as isArray_1 } from './isTypedArray-es.js';
|
|
2
2
|
import { c as _root } from './isObjectLike-es.js';
|
|
3
3
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
|
|
4
4
|
|
|
@@ -798,12 +798,12 @@ var _arrayLikeKeys = arrayLikeKeys;
|
|
|
798
798
|
* // => true
|
|
799
799
|
*/
|
|
800
800
|
|
|
801
|
-
function identity
|
|
801
|
+
function identity(value) {
|
|
802
802
|
return value;
|
|
803
803
|
}
|
|
804
804
|
|
|
805
|
-
var identity_1 = identity
|
|
805
|
+
var identity_1 = identity;
|
|
806
806
|
|
|
807
|
-
var identity = /*@__PURE__*/getDefaultExportFromCjs(identity_1);
|
|
807
|
+
var identity$1 = /*@__PURE__*/getDefaultExportFromCjs(identity_1);
|
|
808
808
|
|
|
809
|
-
export { _defineProperty as _, _isIndex as a, identity as b, _Stack as c, _Uint8Array as d, eq_1 as e, _arrayLikeKeys as f, _MapCache as g, identity_1 as i };
|
|
809
|
+
export { _defineProperty as _, _isIndex as a, identity$1 as b, _Stack as c, _Uint8Array as d, eq_1 as e, _arrayLikeKeys as f, _MapCache as g, identity_1 as i };
|
package/dist/index-cjs.js
CHANGED
|
@@ -62,7 +62,7 @@ function requireUseSyncExternalStoreShim_production () {
|
|
|
62
62
|
var nextValue = latestGetSnapshot();
|
|
63
63
|
return !objectIs(inst, nextValue);
|
|
64
64
|
} catch (error) {
|
|
65
|
-
return
|
|
65
|
+
return !0;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
@@ -104,7 +104,7 @@ function requireUseSyncExternalStoreShim_development () {
|
|
|
104
104
|
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
105
105
|
didWarnOld18Alpha ||
|
|
106
106
|
void 0 === React$1.startTransition ||
|
|
107
|
-
((didWarnOld18Alpha =
|
|
107
|
+
((didWarnOld18Alpha = !0),
|
|
108
108
|
console.error(
|
|
109
109
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
110
110
|
));
|
|
@@ -115,7 +115,7 @@ function requireUseSyncExternalStoreShim_development () {
|
|
|
115
115
|
(console.error(
|
|
116
116
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
117
117
|
),
|
|
118
|
-
(didWarnUncachedGetSnapshot =
|
|
118
|
+
(didWarnUncachedGetSnapshot = !0));
|
|
119
119
|
}
|
|
120
120
|
cachedValue = useState({
|
|
121
121
|
inst: { value: value, getSnapshot: getSnapshot }
|
|
@@ -149,7 +149,7 @@ function requireUseSyncExternalStoreShim_development () {
|
|
|
149
149
|
var nextValue = latestGetSnapshot();
|
|
150
150
|
return !objectIs(inst, nextValue);
|
|
151
151
|
} catch (error) {
|
|
152
|
-
return
|
|
152
|
+
return !0;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
@@ -165,8 +165,8 @@ function requireUseSyncExternalStoreShim_development () {
|
|
|
165
165
|
useEffect = React$1.useEffect,
|
|
166
166
|
useLayoutEffect = React$1.useLayoutEffect,
|
|
167
167
|
useDebugValue = React$1.useDebugValue,
|
|
168
|
-
didWarnOld18Alpha =
|
|
169
|
-
didWarnUncachedGetSnapshot =
|
|
168
|
+
didWarnOld18Alpha = !1,
|
|
169
|
+
didWarnUncachedGetSnapshot = !1,
|
|
170
170
|
shim =
|
|
171
171
|
"undefined" === typeof window ||
|
|
172
172
|
"undefined" === typeof window.document ||
|
package/dist/index-es.js
CHANGED
|
@@ -60,7 +60,7 @@ function requireUseSyncExternalStoreShim_production () {
|
|
|
60
60
|
var nextValue = latestGetSnapshot();
|
|
61
61
|
return !objectIs(inst, nextValue);
|
|
62
62
|
} catch (error) {
|
|
63
|
-
return
|
|
63
|
+
return !0;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
@@ -102,7 +102,7 @@ function requireUseSyncExternalStoreShim_development () {
|
|
|
102
102
|
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
103
103
|
didWarnOld18Alpha ||
|
|
104
104
|
void 0 === React.startTransition ||
|
|
105
|
-
((didWarnOld18Alpha =
|
|
105
|
+
((didWarnOld18Alpha = !0),
|
|
106
106
|
console.error(
|
|
107
107
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
108
108
|
));
|
|
@@ -113,7 +113,7 @@ function requireUseSyncExternalStoreShim_development () {
|
|
|
113
113
|
(console.error(
|
|
114
114
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
115
115
|
),
|
|
116
|
-
(didWarnUncachedGetSnapshot =
|
|
116
|
+
(didWarnUncachedGetSnapshot = !0));
|
|
117
117
|
}
|
|
118
118
|
cachedValue = useState({
|
|
119
119
|
inst: { value: value, getSnapshot: getSnapshot }
|
|
@@ -147,7 +147,7 @@ function requireUseSyncExternalStoreShim_development () {
|
|
|
147
147
|
var nextValue = latestGetSnapshot();
|
|
148
148
|
return !objectIs(inst, nextValue);
|
|
149
149
|
} catch (error) {
|
|
150
|
-
return
|
|
150
|
+
return !0;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
@@ -163,8 +163,8 @@ function requireUseSyncExternalStoreShim_development () {
|
|
|
163
163
|
useEffect = React.useEffect,
|
|
164
164
|
useLayoutEffect = React.useLayoutEffect,
|
|
165
165
|
useDebugValue = React.useDebugValue,
|
|
166
|
-
didWarnOld18Alpha =
|
|
167
|
-
didWarnUncachedGetSnapshot =
|
|
166
|
+
didWarnOld18Alpha = !1,
|
|
167
|
+
didWarnUncachedGetSnapshot = !1,
|
|
168
168
|
shim =
|
|
169
169
|
"undefined" === typeof window ||
|
|
170
170
|
"undefined" === typeof window.document ||
|
package/dist/index.esm-es.js
CHANGED
|
@@ -873,4 +873,4 @@ var isTabbable = function isTabbable(node, options) {
|
|
|
873
873
|
return isNodeMatchingSelectorTabbable(options, node);
|
|
874
874
|
};
|
|
875
875
|
|
|
876
|
-
export {
|
|
876
|
+
export { rectToClientRect as A, clamp as B, getAxisLength as C, sides as D, getOppositeAxis as E, placements as F, getOppositeAlignmentPlacement as G, createCoords as H, getWindow as I, getFrameElement as J, getDocumentElement as K, round as L, isTopLayer as M, isOverflowElement as N, getNodeScroll as O, isTableElement as P, isContainingBlock as Q, getContainingBlock as R, isHTMLElement as a, isElement as b, isNode as c, getNodeName as d, isTabbable as e, floor as f, getOverflowAncestors as g, focusable as h, isShadowRoot as i, isLastTraversableNode as j, getParentNode as k, getComputedStyle$1 as l, isWebKit as m, evaluate as n, getSide as o, getSideAxis as p, getOppositePlacement as q, getExpandedPlacements as r, getOppositeAxisPlacements as s, tabbable as t, getAlignmentSides as u, getAlignment as v, min as w, max as x, getAlignmentAxis as y, getPaddingObject as z };
|
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export { Autocomplete } from './Autocomplete/index.mjs';
|
|
|
7
7
|
export { A as Avatar } from './Avatar-es.js';
|
|
8
8
|
export { B as Banner } from './Banner-es.js';
|
|
9
9
|
export { B as Box } from './Box-es.js';
|
|
10
|
-
export { B as Button,
|
|
10
|
+
export { B as Button, a as useButtonContext, u as useButtonStyles } from './Button-es.js';
|
|
11
11
|
export { B as ButtonDismiss } from './ButtonDismiss-es.js';
|
|
12
12
|
export { C as Card } from './Card-es.js';
|
|
13
13
|
export { C as Cluster } from './Cluster-es.js';
|
|
@@ -15,7 +15,7 @@ export { C as Container } from './Container-es.js';
|
|
|
15
15
|
export { C as Cover } from './Cover-es.js';
|
|
16
16
|
export { Checkbox } from './Checkbox/index.mjs';
|
|
17
17
|
export { C as Chip } from './Chip-es.js';
|
|
18
|
-
export {
|
|
18
|
+
export { a as ChipDismissible, C as ChipSelectable } from './ChipDismissible-es.js';
|
|
19
19
|
import 'react';
|
|
20
20
|
export { I as Icon } from './Icon-es.js';
|
|
21
21
|
export { C as Chips } from './Chips-es.js';
|
|
@@ -40,7 +40,7 @@ export { E as Emphasis } from './Emphasis-es.js';
|
|
|
40
40
|
export { F as FeatureSwitch } from './FeatureSwitch-es.js';
|
|
41
41
|
export { F as Flex } from './Flex-es.js';
|
|
42
42
|
export { F as Form } from './Form-es.js';
|
|
43
|
-
export { A as AffixIcon,
|
|
43
|
+
export { A as AffixIcon, i as AffixLabel, k as FormField, F as FormFieldInputHorizontalWrapper, d as FormFieldInputWrapperStyles, e as FormFieldLabel, f as FormFieldWrapper, g as FormFieldWrapperMain, h as FormFieldWrapperToolbar, u as useAtlantisFormField, a as useAtlantisFormFieldActions, b as useAtlantisFormFieldName, c as useAtlantisReactHookForm, j as useFormFieldWrapperStyles } from './FormField-es.js';
|
|
44
44
|
export { F as FormatDate, s as strFormatDate } from './FormatDate-es.js';
|
|
45
45
|
export { F as FormatEmail } from './FormatEmail-es.js';
|
|
46
46
|
export { F as FormatFile, u as useFormatFile, a as useFormatFileStyles } from './FormatFile-es.js';
|
|
@@ -48,7 +48,7 @@ export { F as FormatRelativeDateTime } from './FormatRelativeDateTime-es.js';
|
|
|
48
48
|
export { F as FormatTime } from './FormatTime-es.js';
|
|
49
49
|
export { F as Frame } from './Frame-es.js';
|
|
50
50
|
export { G as Gallery } from './Gallery-es.js';
|
|
51
|
-
export {
|
|
51
|
+
export { a as GLIMMER_TEST_ID, G as Glimmer } from './Glimmer-es.js';
|
|
52
52
|
export { G as GRID_TEST_ID, a as Grid } from './Grid-es.js';
|
|
53
53
|
export { H as Heading } from './Heading-es.js';
|
|
54
54
|
export { I as InlineLabel } from './InlineLabel-es.js';
|
|
@@ -86,8 +86,8 @@ export { S as StatusIndicator } from './StatusIndicator-es.js';
|
|
|
86
86
|
export { S as StatusLabel } from './StatusLabel-es.js';
|
|
87
87
|
export { S as Stack } from './Stack-es.js';
|
|
88
88
|
export { S as Switch } from './Switch-es.js';
|
|
89
|
-
export { B as Body, C as Cell,
|
|
90
|
-
export {
|
|
89
|
+
export { B as Body, C as Cell, b as CellCurrency, a as CellNumeric, F as Footer, H as Header, R as Row, T as Table } from './Body-es.js';
|
|
90
|
+
export { a as Tab, T as Tabs } from './Tabs-es.js';
|
|
91
91
|
export { T as Text } from './Text-es.js';
|
|
92
92
|
export { T as Thumbnail, i as isPreviewableImage } from './Thumbnail-es.js';
|
|
93
93
|
export { T as Tiles } from './Tiles-es.js';
|
package/dist/isSymbol-es.js
CHANGED
package/dist/isTypedArray-cjs.js
CHANGED
|
@@ -401,12 +401,12 @@ var stubFalse_1 = stubFalse;
|
|
|
401
401
|
|
|
402
402
|
isBuffer.exports;
|
|
403
403
|
|
|
404
|
-
(function (module, exports
|
|
404
|
+
(function (module, exports) {
|
|
405
405
|
var root = isObjectLike$3._root,
|
|
406
406
|
stubFalse = stubFalse_1;
|
|
407
407
|
|
|
408
408
|
/** Detect free variable `exports`. */
|
|
409
|
-
var freeExports = exports
|
|
409
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
410
410
|
|
|
411
411
|
/** Detect free variable `module`. */
|
|
412
412
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -525,11 +525,11 @@ var _nodeUtil = {exports: {}};
|
|
|
525
525
|
|
|
526
526
|
_nodeUtil.exports;
|
|
527
527
|
|
|
528
|
-
(function (module, exports
|
|
528
|
+
(function (module, exports) {
|
|
529
529
|
var freeGlobal = isObjectLike$3._freeGlobal;
|
|
530
530
|
|
|
531
531
|
/** Detect free variable `exports`. */
|
|
532
|
-
var freeExports = exports
|
|
532
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
533
533
|
|
|
534
534
|
/** Detect free variable `module`. */
|
|
535
535
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
package/dist/isTypedArray-es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _baseGetTag, a as isObject_1, c as _root, i as isObjectLike_1, d as _freeGlobal } from './isObjectLike-es.js';
|
|
2
2
|
|
|
3
3
|
var baseGetTag$2 = _baseGetTag,
|
|
4
4
|
isObject$1 = isObject_1;
|
|
@@ -399,12 +399,12 @@ var stubFalse_1 = stubFalse;
|
|
|
399
399
|
|
|
400
400
|
isBuffer.exports;
|
|
401
401
|
|
|
402
|
-
(function (module, exports
|
|
402
|
+
(function (module, exports) {
|
|
403
403
|
var root = _root,
|
|
404
404
|
stubFalse = stubFalse_1;
|
|
405
405
|
|
|
406
406
|
/** Detect free variable `exports`. */
|
|
407
|
-
var freeExports = exports
|
|
407
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
408
408
|
|
|
409
409
|
/** Detect free variable `module`. */
|
|
410
410
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -523,11 +523,11 @@ var _nodeUtil = {exports: {}};
|
|
|
523
523
|
|
|
524
524
|
_nodeUtil.exports;
|
|
525
525
|
|
|
526
|
-
(function (module, exports
|
|
526
|
+
(function (module, exports) {
|
|
527
527
|
var freeGlobal = _freeGlobal;
|
|
528
528
|
|
|
529
529
|
/** Detect free variable `exports`. */
|
|
530
|
-
var freeExports = exports
|
|
530
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
531
531
|
|
|
532
532
|
/** Detect free variable `module`. */
|
|
533
533
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -586,4 +586,4 @@ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedA
|
|
|
586
586
|
|
|
587
587
|
var isTypedArray_1 = isTypedArray;
|
|
588
588
|
|
|
589
|
-
export { _isPrototype as _, isArray_1 as a,
|
|
589
|
+
export { _isPrototype as _, isArray_1 as a, isArrayLike_1 as b, isBufferExports as c, isTypedArray_1 as d, _overArg as e, _getNative as f, _Map as g, _toSource as h, isArguments_1 as i, isFunction_1 as j, _baseUnary as k, _nodeUtilExports as l, isLength_1 as m };
|
package/dist/keysIn-cjs.js
CHANGED
|
@@ -9,11 +9,11 @@ var _cloneBuffer = {exports: {}};
|
|
|
9
9
|
|
|
10
10
|
_cloneBuffer.exports;
|
|
11
11
|
|
|
12
|
-
(function (module, exports
|
|
12
|
+
(function (module, exports) {
|
|
13
13
|
var root = isObjectLike$1._root;
|
|
14
14
|
|
|
15
15
|
/** Detect free variable `exports`. */
|
|
16
|
-
var freeExports = exports
|
|
16
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
17
17
|
|
|
18
18
|
/** Detect free variable `module`. */
|
|
19
19
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
package/dist/keysIn-es.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { c as _root, a as isObject_1,
|
|
1
|
+
import { c as _root, a as isObject_1, _ as _baseGetTag, i as isObjectLike_1 } from './isObjectLike-es.js';
|
|
2
2
|
import { d as _Uint8Array, e as eq_1, f as _arrayLikeKeys } from './identity-es.js';
|
|
3
|
-
import { e as _overArg, _ as _isPrototype,
|
|
3
|
+
import { e as _overArg, _ as _isPrototype, b as isArrayLike_1 } from './isTypedArray-es.js';
|
|
4
4
|
import { _ as _baseAssignValue } from './_baseAssignValue-es.js';
|
|
5
5
|
|
|
6
6
|
var _cloneBuffer = {exports: {}};
|
|
7
7
|
|
|
8
8
|
_cloneBuffer.exports;
|
|
9
9
|
|
|
10
|
-
(function (module, exports
|
|
10
|
+
(function (module, exports) {
|
|
11
11
|
var root = _root;
|
|
12
12
|
|
|
13
13
|
/** Detect free variable `exports`. */
|
|
14
|
-
var freeExports = exports
|
|
14
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
15
15
|
|
|
16
16
|
/** Detect free variable `module`. */
|
|
17
17
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -382,4 +382,4 @@ function keysIn(object) {
|
|
|
382
382
|
|
|
383
383
|
var keysIn_1 = keysIn;
|
|
384
384
|
|
|
385
|
-
export { _copyObject as _,
|
|
385
|
+
export { _copyObject as _, _cloneBufferExports as a, _cloneTypedArray as b, _copyArray as c, _initCloneObject as d, _getPrototype as e, _cloneArrayBuffer as f, _assignValue as g, isPlainObject_1 as i, keysIn_1 as k };
|
package/dist/noop-es.js
CHANGED
|
@@ -13,12 +13,12 @@ import { g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
|
|
|
13
13
|
* // => [undefined, undefined]
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
function noop
|
|
16
|
+
function noop() {
|
|
17
17
|
// No operation performed.
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
var noop_1 = noop
|
|
20
|
+
var noop_1 = noop;
|
|
21
21
|
|
|
22
|
-
var noop = /*@__PURE__*/getDefaultExportFromCjs(noop_1);
|
|
22
|
+
var noop$1 = /*@__PURE__*/getDefaultExportFromCjs(noop_1);
|
|
23
23
|
|
|
24
|
-
export { noop as n };
|
|
24
|
+
export { noop$1 as n };
|
package/dist/omit-cjs.js
CHANGED
|
@@ -150,10 +150,10 @@ var _getAllKeysIn = getAllKeysIn$2;
|
|
|
150
150
|
|
|
151
151
|
/** Used for built-in method references. */
|
|
152
152
|
|
|
153
|
-
var objectProto
|
|
153
|
+
var objectProto = Object.prototype;
|
|
154
154
|
|
|
155
155
|
/** Used to check objects for own properties. */
|
|
156
|
-
var hasOwnProperty
|
|
156
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Initializes an array clone.
|
|
@@ -167,7 +167,7 @@ function initCloneArray$1(array) {
|
|
|
167
167
|
result = new array.constructor(length);
|
|
168
168
|
|
|
169
169
|
// Add properties assigned by `RegExp#exec`.
|
|
170
|
-
if (length && typeof array[0] == 'string' && hasOwnProperty
|
|
170
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
|
|
171
171
|
result.index = array.index;
|
|
172
172
|
result.input = array.input;
|
|
173
173
|
}
|
|
@@ -647,12 +647,6 @@ var castPath$1 = _getAllKeys._castPath,
|
|
|
647
647
|
parent = _parent,
|
|
648
648
|
toKey = _getAllKeys._toKey;
|
|
649
649
|
|
|
650
|
-
/** Used for built-in method references. */
|
|
651
|
-
var objectProto = Object.prototype;
|
|
652
|
-
|
|
653
|
-
/** Used to check objects for own properties. */
|
|
654
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
655
|
-
|
|
656
650
|
/**
|
|
657
651
|
* The base implementation of `_.unset`.
|
|
658
652
|
*
|
|
@@ -663,34 +657,8 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
|
|
663
657
|
*/
|
|
664
658
|
function baseUnset$1(object, path) {
|
|
665
659
|
path = castPath$1(path, object);
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
// https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
669
|
-
// https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
|
|
670
|
-
var index = -1,
|
|
671
|
-
length = path.length;
|
|
672
|
-
|
|
673
|
-
if (!length) {
|
|
674
|
-
return true;
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
while (++index < length) {
|
|
678
|
-
var key = toKey(path[index]);
|
|
679
|
-
|
|
680
|
-
// Always block "__proto__" anywhere in the path if it's not expected
|
|
681
|
-
if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
|
|
682
|
-
return false;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
// Block constructor/prototype as non-terminal traversal keys to prevent
|
|
686
|
-
// escaping the object graph into built-in constructors and prototypes.
|
|
687
|
-
if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
|
|
688
|
-
return false;
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
var obj = parent(object, path);
|
|
693
|
-
return obj == null || delete obj[toKey(last(path))];
|
|
660
|
+
object = parent(object, path);
|
|
661
|
+
return object == null || delete object[toKey(last(path))];
|
|
694
662
|
}
|
|
695
663
|
|
|
696
664
|
var _baseUnset = baseUnset$1;
|
package/dist/omit-es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
|
|
2
|
-
import { k as keys_1, c as _getSymbols,
|
|
2
|
+
import { k as keys_1, c as _getSymbols, _ as _arrayPush, s as stubArray_1, d as _baseGetAllKeys, e as _getAllKeys, b as _baseGet, f as _castPath, g as _toKey, a as _arrayMap } from './_getAllKeys-es.js';
|
|
3
3
|
import { c as _Stack } from './identity-es.js';
|
|
4
|
-
import { _ as _copyObject, k as keysIn_1, e as _getPrototype, f as _cloneArrayBuffer,
|
|
5
|
-
import {
|
|
4
|
+
import { _ as _copyObject, k as keysIn_1, e as _getPrototype, f as _cloneArrayBuffer, b as _cloneTypedArray, a as _cloneBufferExports, c as _copyArray, d as _initCloneObject, g as _assignValue, i as isPlainObject_1 } from './keysIn-es.js';
|
|
5
|
+
import { a as _getTag } from './_getTag-es.js';
|
|
6
6
|
import { b as _Symbol, i as isObjectLike_1, a as isObject_1 } from './isObjectLike-es.js';
|
|
7
|
-
import { l as _nodeUtilExports, k as _baseUnary,
|
|
7
|
+
import { l as _nodeUtilExports, k as _baseUnary, c as isBufferExports, a as isArray_1 } from './isTypedArray-es.js';
|
|
8
8
|
import { _ as _baseFlatten } from './_baseFlatten-es.js';
|
|
9
|
-
import { _ as
|
|
9
|
+
import { _ as _overRest, a as _setToString } from './_setToString-es.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* A specialized version of `_.forEach` for arrays without support for
|
|
@@ -148,10 +148,10 @@ var _getAllKeysIn = getAllKeysIn$2;
|
|
|
148
148
|
|
|
149
149
|
/** Used for built-in method references. */
|
|
150
150
|
|
|
151
|
-
var objectProto
|
|
151
|
+
var objectProto = Object.prototype;
|
|
152
152
|
|
|
153
153
|
/** Used to check objects for own properties. */
|
|
154
|
-
var hasOwnProperty
|
|
154
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* Initializes an array clone.
|
|
@@ -165,7 +165,7 @@ function initCloneArray$1(array) {
|
|
|
165
165
|
result = new array.constructor(length);
|
|
166
166
|
|
|
167
167
|
// Add properties assigned by `RegExp#exec`.
|
|
168
|
-
if (length && typeof array[0] == 'string' && hasOwnProperty
|
|
168
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
|
|
169
169
|
result.index = array.index;
|
|
170
170
|
result.input = array.input;
|
|
171
171
|
}
|
|
@@ -645,12 +645,6 @@ var castPath$1 = _castPath,
|
|
|
645
645
|
parent = _parent,
|
|
646
646
|
toKey = _toKey;
|
|
647
647
|
|
|
648
|
-
/** Used for built-in method references. */
|
|
649
|
-
var objectProto = Object.prototype;
|
|
650
|
-
|
|
651
|
-
/** Used to check objects for own properties. */
|
|
652
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
653
|
-
|
|
654
648
|
/**
|
|
655
649
|
* The base implementation of `_.unset`.
|
|
656
650
|
*
|
|
@@ -661,34 +655,8 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
|
|
661
655
|
*/
|
|
662
656
|
function baseUnset$1(object, path) {
|
|
663
657
|
path = castPath$1(path, object);
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
// https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
667
|
-
// https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
|
|
668
|
-
var index = -1,
|
|
669
|
-
length = path.length;
|
|
670
|
-
|
|
671
|
-
if (!length) {
|
|
672
|
-
return true;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
while (++index < length) {
|
|
676
|
-
var key = toKey(path[index]);
|
|
677
|
-
|
|
678
|
-
// Always block "__proto__" anywhere in the path if it's not expected
|
|
679
|
-
if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
|
|
680
|
-
return false;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
// Block constructor/prototype as non-terminal traversal keys to prevent
|
|
684
|
-
// escaping the object graph into built-in constructors and prototypes.
|
|
685
|
-
if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
|
|
686
|
-
return false;
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
var obj = parent(object, path);
|
|
691
|
-
return obj == null || delete obj[toKey(last(path))];
|
|
658
|
+
object = parent(object, path);
|
|
659
|
+
return object == null || delete object[toKey(last(path))];
|
|
692
660
|
}
|
|
693
661
|
|
|
694
662
|
var _baseUnset = baseUnset$1;
|
|
@@ -784,7 +752,7 @@ var CLONE_DEEP_FLAG = 1,
|
|
|
784
752
|
* _.omit(object, ['a', 'c']);
|
|
785
753
|
* // => { 'b': '2' }
|
|
786
754
|
*/
|
|
787
|
-
var omit
|
|
755
|
+
var omit = flatRest(function(object, paths) {
|
|
788
756
|
var result = {};
|
|
789
757
|
if (object == null) {
|
|
790
758
|
return result;
|
|
@@ -806,8 +774,8 @@ var omit$1 = flatRest(function(object, paths) {
|
|
|
806
774
|
return result;
|
|
807
775
|
});
|
|
808
776
|
|
|
809
|
-
var omit_1 = omit
|
|
777
|
+
var omit_1 = omit;
|
|
810
778
|
|
|
811
|
-
var omit = /*@__PURE__*/getDefaultExportFromCjs(omit_1);
|
|
779
|
+
var omit$1 = /*@__PURE__*/getDefaultExportFromCjs(omit_1);
|
|
812
780
|
|
|
813
|
-
export { omit as o };
|
|
781
|
+
export { omit$1 as o };
|
package/dist/showToast-cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ var Button = require('./Button-cjs.js');
|
|
|
8
8
|
require('classnames');
|
|
9
9
|
var Typography = require('./Typography-cjs.js');
|
|
10
10
|
|
|
11
|
-
var styles = {"wrapper":"_0Tvq24WjeX8-","container":"GznHKPkdb1s-","toast":"W8zgWZqmIlk-","slice":"ol3srk7PviM-","button":"ibhpdUt9YLo-"};
|
|
11
|
+
var styles = {"wrapper":"_0Tvq24WjeX8-","container":"GznHKPkdb1s-","toast":"W8zgWZqmIlk-","slice":"ol3srk7PviM-","button":"ibhpdUt9YLo-","spinning":"_5Wy5Wra20Vk-"};
|
|
12
12
|
|
|
13
13
|
function Toast({ message, variation = "success", action, actionLabel, }) {
|
|
14
14
|
const [visible, setVisible] = React.useState(true);
|
package/dist/showToast-es.js
CHANGED
|
@@ -6,7 +6,7 @@ import { B as Button } from './Button-es.js';
|
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import { T as Typography } from './Typography-es.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"wrapper":"_0Tvq24WjeX8-","container":"GznHKPkdb1s-","toast":"W8zgWZqmIlk-","slice":"ol3srk7PviM-","button":"ibhpdUt9YLo-"};
|
|
9
|
+
var styles = {"wrapper":"_0Tvq24WjeX8-","container":"GznHKPkdb1s-","toast":"W8zgWZqmIlk-","slice":"ol3srk7PviM-","button":"ibhpdUt9YLo-","spinning":"_5Wy5Wra20Vk-"};
|
|
10
10
|
|
|
11
11
|
function Toast({ message, variation = "success", action, actionLabel, }) {
|
|
12
12
|
const [visible, setVisible] = useState(true);
|