@jobber/components 6.123.0 → 6.123.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/AtlantisThemeContext-cjs.js +1 -1
- package/dist/AtlantisThemeContext-es.js +9 -9
- package/dist/Autocomplete/Autocomplete.types.d.ts +33 -0
- package/dist/Autocomplete/index.cjs +5 -5
- package/dist/Autocomplete/index.mjs +8 -8
- package/dist/Autocomplete/useAutocomplete.d.ts +2 -57
- package/dist/Body-cjs.js +1 -1
- package/dist/Body-es.js +2 -2
- package/dist/BottomSheet-cjs.js +42 -12
- package/dist/BottomSheet-es.js +43 -13
- 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/index.mjs +1 -1
- package/dist/Chip-cjs.js +2 -2
- package/dist/Chip-es.js +2 -2
- package/dist/ChipDismissible-es.js +1 -1
- package/dist/Chips/InternalChipDismissible/hooks/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 +7 -3
- package/dist/Countdown-es.js +8 -4
- 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 +0 -1
- package/dist/DataList.const-es.js +1 -2
- 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/DataListContext-cjs.js +6 -5
- package/dist/DataListContext-es.js +6 -5
- 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 +266 -81
- package/dist/DatePicker-es.js +268 -83
- 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 +10 -48
- package/dist/DrawerRoot-es.js +12 -50
- 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 +1 -6
- package/dist/FormatFile-es.js +1 -6
- 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 +8 -3
- package/dist/InputFile-es.js +8 -3
- package/dist/InputNumber/index.cjs +181 -69
- package/dist/InputNumber/index.mjs +184 -72
- 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 +2 -70
- package/dist/InputText/index.mjs +1 -1
- package/dist/InputTime/index.cjs +0 -1
- package/dist/InputTime/index.mjs +1 -2
- package/dist/InputValidation-cjs.js +1 -1
- package/dist/InputValidation-es.js +1 -1
- package/dist/InternalChipDismissible-cjs.js +1 -1
- package/dist/InternalChipDismissible-es.js +2 -2
- 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 +604 -961
- package/dist/Markdown-es.js +610 -967
- package/dist/Menu/Menu.d.ts +1 -1
- package/dist/Menu-cjs.js +859 -629
- package/dist/Menu-es.js +855 -625
- package/dist/Modal/index.cjs +2 -2
- package/dist/Modal/index.mjs +2 -2
- package/dist/Modal/useModal.d.ts +9 -29
- 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 +1 -0
- package/dist/RecurringSelect/index.mjs +1 -0
- 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 +365 -175
- package/dist/Text-es2.js +361 -175
- 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 +2 -8
- package/dist/_getAllKeys-es.js +4 -10
- 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/floating-ui.react-cjs.js +35 -16
- package/dist/floating-ui.react-dom-es.js +2 -2
- package/dist/floating-ui.react-es.js +37 -18
- 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 +37 -5
- package/dist/omit-es.js +46 -14
- package/dist/primitives/BottomSheet/BottomSheet.d.ts +13 -8
- package/dist/showToast-cjs.js +1 -1
- package/dist/showToast-es.js +1 -1
- package/dist/styles.css +56 -124
- package/dist/unstyledPrimitives/index.mjs +3 -3
- package/dist/useScrollToActive-cjs.js +1 -1
- package/dist/useScrollToActive-es.js +8 -8
- package/package.json +32 -15
- package/rollup.config.mjs +4 -1
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 true;
|
|
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 = true),
|
|
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 = true));
|
|
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 true;
|
|
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 = false,
|
|
167
|
+
didWarnUncachedGetSnapshot = false,
|
|
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 { max as A, getAxisLength as B, clamp as C, getOppositeAxis as D, sides as E, placements as F, getOppositeAlignmentPlacement as G, getDocumentElement as H, createCoords as I, getWindow as J, getFrameElement as K, round as L, isTopLayer as M, isTableElement as N, isContainingBlock as O, getContainingBlock as P, isOverflowElement as Q, getNodeScroll 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, isWebKit as j, isLastTraversableNode as k, getParentNode as l, getComputedStyle$1 as m, getSideAxis as n, getAlignmentAxis as o, getSide as p, getAlignment as q, evaluate as r, getPaddingObject as s, tabbable as t, rectToClientRect as u, getOppositePlacement as v, getExpandedPlacements as w, getOppositeAxisPlacements as x, getAlignmentSides as y, min 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, u as useButtonContext, a 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 { C as ChipDismissible, a 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, a as AffixLabel, F as FormField, b as FormFieldInputHorizontalWrapper, c as FormFieldInputWrapperStyles, d as FormFieldLabel, e as FormFieldWrapper, f as FormFieldWrapperMain, g as FormFieldWrapperToolbar, u as useAtlantisFormField, h as useAtlantisFormFieldActions, i as useAtlantisFormFieldName, j as useAtlantisReactHookForm, k 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 { G as GLIMMER_TEST_ID, a 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, a as CellCurrency, b as CellNumeric, F as Footer, H as Header, R as Row, T as Table } from './Body-es.js';
|
|
90
|
+
export { T as Tab, a 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$1) {
|
|
405
405
|
var root = isObjectLike$3._root,
|
|
406
406
|
stubFalse = stubFalse_1;
|
|
407
407
|
|
|
408
408
|
/** Detect free variable `exports`. */
|
|
409
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
409
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
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$1) {
|
|
529
529
|
var freeGlobal = isObjectLike$3._freeGlobal;
|
|
530
530
|
|
|
531
531
|
/** Detect free variable `exports`. */
|
|
532
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
532
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
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 { a as isObject_1, _ as _baseGetTag, 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$1) {
|
|
403
403
|
var root = _root,
|
|
404
404
|
stubFalse = stubFalse_1;
|
|
405
405
|
|
|
406
406
|
/** Detect free variable `exports`. */
|
|
407
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
407
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
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$1) {
|
|
527
527
|
var freeGlobal = _freeGlobal;
|
|
528
528
|
|
|
529
529
|
/** Detect free variable `exports`. */
|
|
530
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
530
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
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, isBufferExports as b, isTypedArray_1 as c, isArguments_1 as d, _overArg as e, _getNative as f, _Map as g, _toSource as h, isArrayLike_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$1) {
|
|
13
13
|
var root = isObjectLike$1._root;
|
|
14
14
|
|
|
15
15
|
/** Detect free variable `exports`. */
|
|
16
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
16
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
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, i as isObjectLike_1, _ as _baseGetTag } 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, i 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$1) {
|
|
11
11
|
var root = _root;
|
|
12
12
|
|
|
13
13
|
/** Detect free variable `exports`. */
|
|
14
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
14
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
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 _, _copyArray as a, _cloneBufferExports as b, _cloneTypedArray 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$1() {
|
|
17
17
|
// No operation performed.
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
var noop_1 = noop;
|
|
20
|
+
var noop_1 = noop$1;
|
|
21
21
|
|
|
22
|
-
var noop
|
|
22
|
+
var noop = /*@__PURE__*/getDefaultExportFromCjs(noop_1);
|
|
23
23
|
|
|
24
|
-
export { noop
|
|
24
|
+
export { noop 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 = Object.prototype;
|
|
153
|
+
var objectProto$1 = Object.prototype;
|
|
154
154
|
|
|
155
155
|
/** Used to check objects for own properties. */
|
|
156
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
156
|
+
var hasOwnProperty$1 = objectProto$1.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.call(array, 'index')) {
|
|
170
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty$1.call(array, 'index')) {
|
|
171
171
|
result.index = array.index;
|
|
172
172
|
result.input = array.input;
|
|
173
173
|
}
|
|
@@ -647,6 +647,12 @@ 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
|
+
|
|
650
656
|
/**
|
|
651
657
|
* The base implementation of `_.unset`.
|
|
652
658
|
*
|
|
@@ -657,8 +663,34 @@ var castPath$1 = _getAllKeys._castPath,
|
|
|
657
663
|
*/
|
|
658
664
|
function baseUnset$1(object, path) {
|
|
659
665
|
path = castPath$1(path, object);
|
|
660
|
-
|
|
661
|
-
|
|
666
|
+
|
|
667
|
+
// Prevent prototype pollution:
|
|
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))];
|
|
662
694
|
}
|
|
663
695
|
|
|
664
696
|
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, s as stubArray_1, _ as _arrayPush, 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, c as _cloneTypedArray, a as _copyArray, b as _cloneBufferExports, d as _initCloneObject, g as _assignValue, i as isPlainObject_1 } from './keysIn-es.js';
|
|
5
|
+
import { _ 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, b 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 _setToString, a as _overRest } 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 = Object.prototype;
|
|
151
|
+
var objectProto$1 = Object.prototype;
|
|
152
152
|
|
|
153
153
|
/** Used to check objects for own properties. */
|
|
154
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
154
|
+
var hasOwnProperty$1 = objectProto$1.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.call(array, 'index')) {
|
|
168
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty$1.call(array, 'index')) {
|
|
169
169
|
result.index = array.index;
|
|
170
170
|
result.input = array.input;
|
|
171
171
|
}
|
|
@@ -645,6 +645,12 @@ 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
|
+
|
|
648
654
|
/**
|
|
649
655
|
* The base implementation of `_.unset`.
|
|
650
656
|
*
|
|
@@ -655,8 +661,34 @@ var castPath$1 = _castPath,
|
|
|
655
661
|
*/
|
|
656
662
|
function baseUnset$1(object, path) {
|
|
657
663
|
path = castPath$1(path, object);
|
|
658
|
-
|
|
659
|
-
|
|
664
|
+
|
|
665
|
+
// Prevent prototype pollution:
|
|
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))];
|
|
660
692
|
}
|
|
661
693
|
|
|
662
694
|
var _baseUnset = baseUnset$1;
|
|
@@ -752,7 +784,7 @@ var CLONE_DEEP_FLAG = 1,
|
|
|
752
784
|
* _.omit(object, ['a', 'c']);
|
|
753
785
|
* // => { 'b': '2' }
|
|
754
786
|
*/
|
|
755
|
-
var omit = flatRest(function(object, paths) {
|
|
787
|
+
var omit$1 = flatRest(function(object, paths) {
|
|
756
788
|
var result = {};
|
|
757
789
|
if (object == null) {
|
|
758
790
|
return result;
|
|
@@ -774,8 +806,8 @@ var omit = flatRest(function(object, paths) {
|
|
|
774
806
|
return result;
|
|
775
807
|
});
|
|
776
808
|
|
|
777
|
-
var omit_1 = omit;
|
|
809
|
+
var omit_1 = omit$1;
|
|
778
810
|
|
|
779
|
-
var omit
|
|
811
|
+
var omit = /*@__PURE__*/getDefaultExportFromCjs(omit_1);
|
|
780
812
|
|
|
781
|
-
export { omit
|
|
813
|
+
export { omit as o };
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Drawer as BaseDrawer } from "../../unstyledPrimitives";
|
|
3
|
-
export type BottomSheetRootProps =
|
|
4
|
-
type
|
|
5
|
-
|
|
3
|
+
export type BottomSheetRootProps = React.ComponentProps<typeof BaseDrawer.Root>;
|
|
4
|
+
type BottomSheetPopupBaseProps = Omit<React.ComponentPropsWithoutRef<typeof BaseDrawer.Popup>, "className">;
|
|
5
|
+
export interface BottomSheetPopupProps extends BottomSheetPopupBaseProps {
|
|
6
|
+
readonly className?: string;
|
|
7
|
+
}
|
|
8
|
+
type BottomSheetContentBaseProps = Omit<React.ComponentPropsWithoutRef<typeof BaseDrawer.Content>, "className">;
|
|
6
9
|
export interface BottomSheetContentProps extends BottomSheetContentBaseProps {
|
|
7
|
-
readonly children?: React.ReactNode;
|
|
8
10
|
readonly className?: string;
|
|
9
|
-
readonly initialFocus?: BottomSheetPopupProps["initialFocus"];
|
|
10
|
-
readonly finalFocus?: BottomSheetPopupProps["finalFocus"];
|
|
11
11
|
}
|
|
12
|
-
export interface BottomSheetProps extends Pick<BottomSheetRootProps, "open" | "defaultOpen" | "onOpenChange">, BottomSheetContentProps {
|
|
12
|
+
export interface BottomSheetProps extends Pick<BottomSheetRootProps, "open" | "defaultOpen" | "onOpenChange">, BottomSheetContentProps, Pick<BottomSheetPopupProps, "initialFocus" | "finalFocus"> {
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
declare function BottomSheetRoot({ children, defaultOpen, onOpenChange, open, ...rootProps }: BottomSheetRootProps): React.JSX.Element;
|
|
15
|
+
export declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>> & {
|
|
16
|
+
Root: typeof BottomSheetRoot;
|
|
17
|
+
Popup: React.ForwardRefExoticComponent<BottomSheetPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
Content: React.ForwardRefExoticComponent<BottomSheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
};
|
|
15
20
|
export {};
|
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-"};
|
|
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-"};
|
|
10
10
|
|
|
11
11
|
function Toast({ message, variation = "success", action, actionLabel, }) {
|
|
12
12
|
const [visible, setVisible] = useState(true);
|