@jobber/components 6.123.1 → 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.
Files changed (230) hide show
  1. package/dist/AtlantisThemeContext-cjs.js +1 -1
  2. package/dist/AtlantisThemeContext-es.js +9 -9
  3. package/dist/Autocomplete/Autocomplete.types.d.ts +33 -0
  4. package/dist/Autocomplete/index.cjs +5 -5
  5. package/dist/Autocomplete/index.mjs +8 -8
  6. package/dist/Autocomplete/useAutocomplete.d.ts +2 -57
  7. package/dist/Body-cjs.js +1 -1
  8. package/dist/Body-es.js +2 -2
  9. package/dist/BottomSheet-cjs.js +1 -1
  10. package/dist/BottomSheet-es.js +1 -1
  11. package/dist/Box-cjs.js +2 -2
  12. package/dist/Box-es.js +2 -2
  13. package/dist/Button/index.mjs +1 -1
  14. package/dist/Button-es.js +1 -1
  15. package/dist/Card-cjs.js +1 -1
  16. package/dist/Card-es.js +1 -1
  17. package/dist/Checkbox/index.cjs +1 -1
  18. package/dist/Checkbox/index.mjs +1 -1
  19. package/dist/Chip/index.mjs +1 -1
  20. package/dist/Chip-cjs.js +2 -2
  21. package/dist/Chip-es.js +2 -2
  22. package/dist/ChipDismissible-es.js +1 -1
  23. package/dist/Chips/InternalChipDismissible/hooks/index.mjs +1 -1
  24. package/dist/Combobox-cjs.js +1 -1
  25. package/dist/Combobox-es.js +1 -1
  26. package/dist/ComboboxAction-cjs.js +1 -1
  27. package/dist/ComboboxAction-es.js +1 -1
  28. package/dist/ComboboxContent-cjs.js +1 -1
  29. package/dist/ComboboxContent-es.js +2 -2
  30. package/dist/ComboboxContentHeader-cjs.js +1 -1
  31. package/dist/ComboboxContentHeader-es.js +1 -1
  32. package/dist/ComboboxContentList-es.js +1 -1
  33. package/dist/ComboboxContentSearch-cjs.js +1 -1
  34. package/dist/ComboboxContentSearch-es.js +1 -1
  35. package/dist/ComboboxLoadMore-cjs.js +1 -1
  36. package/dist/ComboboxLoadMore-es.js +1 -1
  37. package/dist/ComboboxOption-cjs.js +1 -1
  38. package/dist/ComboboxOption-es.js +1 -1
  39. package/dist/Container-cjs.js +1 -1
  40. package/dist/Container-es.js +1 -1
  41. package/dist/Content-cjs.js +1 -1
  42. package/dist/Content-es.js +1 -1
  43. package/dist/ContentBlock-cjs.js +1 -1
  44. package/dist/ContentBlock-es.js +1 -1
  45. package/dist/Countdown-cjs.js +7 -3
  46. package/dist/Countdown-es.js +8 -4
  47. package/dist/Cover-cjs.js +1 -1
  48. package/dist/Cover-es.js +1 -1
  49. package/dist/DataList-es.js +3 -3
  50. package/dist/DataList.const-cjs.js +0 -1
  51. package/dist/DataList.const-es.js +1 -2
  52. package/dist/DataList.module-cjs.js +1 -1
  53. package/dist/DataList.module-es.js +1 -1
  54. package/dist/DataList.utils-es.js +6 -6
  55. package/dist/DataListAction-cjs.js +1 -1
  56. package/dist/DataListAction-es.js +1 -1
  57. package/dist/DataListActionsMenu-cjs.js +1 -1
  58. package/dist/DataListActionsMenu-es.js +2 -2
  59. package/dist/DataListBulkActions-cjs.js +1 -1
  60. package/dist/DataListBulkActions-es.js +1 -1
  61. package/dist/DataListContext-cjs.js +6 -5
  62. package/dist/DataListContext-es.js +6 -5
  63. package/dist/DataListEmptyState-cjs.js +1 -1
  64. package/dist/DataListEmptyState-es.js +1 -1
  65. package/dist/DataListHeaderTile-cjs.js +2 -2
  66. package/dist/DataListHeaderTile-es.js +2 -2
  67. package/dist/DataListItemActions-cjs.js +1 -1
  68. package/dist/DataListItemActions-es.js +2 -2
  69. package/dist/DataListLayoutActions-cjs.js +1 -1
  70. package/dist/DataListLayoutActions-es.js +2 -2
  71. package/dist/DataListLoadMore-cjs.js +1 -1
  72. package/dist/DataListLoadMore-es.js +1 -1
  73. package/dist/DataListLoadingState-cjs.js +1 -1
  74. package/dist/DataListLoadingState-es.js +2 -2
  75. package/dist/DataListOverflowFade-cjs.js +1 -1
  76. package/dist/DataListOverflowFade-es.js +1 -1
  77. package/dist/DataListSearch-cjs.js +1 -1
  78. package/dist/DataListSearch-es.js +1 -1
  79. package/dist/DataListSortingOptions-cjs.js +1 -1
  80. package/dist/DataListSortingOptions-es.js +1 -1
  81. package/dist/DataListStickyHeader-cjs.js +1 -1
  82. package/dist/DataListStickyHeader-es.js +1 -1
  83. package/dist/DataListTags-cjs.js +1 -1
  84. package/dist/DataListTags-es.js +1 -1
  85. package/dist/DataListTotalCount-cjs.js +1 -1
  86. package/dist/DataListTotalCount-es.js +2 -2
  87. package/dist/DataTable/index.mjs +1 -1
  88. package/dist/DataTable-cjs.js +3 -3
  89. package/dist/DataTable-es.js +5 -5
  90. package/dist/DataTableTable-cjs.js +2 -2
  91. package/dist/DataTableTable-es.js +3 -3
  92. package/dist/DatePicker-cjs.js +266 -81
  93. package/dist/DatePicker-es.js +268 -83
  94. package/dist/DayOfMonthSelect-cjs.js +5 -5
  95. package/dist/DayOfMonthSelect-es.js +6 -6
  96. package/dist/DescriptionList-cjs.js +1 -1
  97. package/dist/DescriptionList-es.js +1 -1
  98. package/dist/Disclosure-cjs.js +1 -1
  99. package/dist/Disclosure-es.js +1 -1
  100. package/dist/Divider-cjs.js +1 -1
  101. package/dist/Divider-es.js +1 -1
  102. package/dist/DrawerGrid-cjs.js +2 -2
  103. package/dist/DrawerGrid-es.js +2 -2
  104. package/dist/DrawerRoot-cjs.js +10 -48
  105. package/dist/DrawerRoot-es.js +12 -50
  106. package/dist/FeatureSwitch-cjs.js +1 -1
  107. package/dist/FeatureSwitch-es.js +1 -1
  108. package/dist/FormField/index.mjs +1 -1
  109. package/dist/FormField-cjs.js +1 -1
  110. package/dist/FormField-es.js +2 -2
  111. package/dist/FormatEmail-cjs.js +1 -1
  112. package/dist/FormatEmail-es.js +1 -1
  113. package/dist/FormatFile-cjs.js +1 -6
  114. package/dist/FormatFile-es.js +1 -6
  115. package/dist/Frame-cjs.js +1 -1
  116. package/dist/Frame-es.js +1 -1
  117. package/dist/Glimmer/index.mjs +1 -1
  118. package/dist/Glimmer-cjs.js +1 -1
  119. package/dist/Glimmer-es.js +2 -2
  120. package/dist/Grid-cjs.js +1 -1
  121. package/dist/Grid-es.js +1 -1
  122. package/dist/GridCell-cjs.js +1 -1
  123. package/dist/GridCell-es.js +1 -1
  124. package/dist/InputAvatar-cjs.js +1 -1
  125. package/dist/InputAvatar-es.js +1 -1
  126. package/dist/InputDate/index.mjs +1 -1
  127. package/dist/InputEmail/index.mjs +1 -1
  128. package/dist/InputFile-cjs.js +8 -3
  129. package/dist/InputFile-es.js +8 -3
  130. package/dist/InputNumber/index.cjs +181 -69
  131. package/dist/InputNumber/index.mjs +184 -72
  132. package/dist/InputPassword-es.js +1 -1
  133. package/dist/InputPhoneNumber/index.cjs +1 -1
  134. package/dist/InputPhoneNumber/index.mjs +2 -2
  135. package/dist/InputText/InputText.d.ts +2 -70
  136. package/dist/InputText/index.mjs +1 -1
  137. package/dist/InputTime/index.cjs +0 -1
  138. package/dist/InputTime/index.mjs +1 -2
  139. package/dist/InputValidation-cjs.js +1 -1
  140. package/dist/InputValidation-es.js +1 -1
  141. package/dist/InternalChipDismissible-cjs.js +1 -1
  142. package/dist/InternalChipDismissible-es.js +2 -2
  143. package/dist/LightBox-cjs.js +1 -1
  144. package/dist/LightBox-es.js +1 -1
  145. package/dist/Link-cjs.js +1 -1
  146. package/dist/Link-es.js +1 -1
  147. package/dist/List-cjs.js +3 -3
  148. package/dist/List-es.js +7 -7
  149. package/dist/Markdown-cjs.js +604 -961
  150. package/dist/Markdown-es.js +610 -967
  151. package/dist/Menu/Menu.d.ts +1 -1
  152. package/dist/Menu-cjs.js +859 -629
  153. package/dist/Menu-es.js +855 -625
  154. package/dist/Modal/index.cjs +2 -2
  155. package/dist/Modal/index.mjs +2 -2
  156. package/dist/Modal/useModal.d.ts +9 -29
  157. package/dist/MultiSelect-cjs.js +2 -2
  158. package/dist/MultiSelect-es.js +2 -2
  159. package/dist/OverlaySeparator-cjs.js +1 -1
  160. package/dist/OverlaySeparator-es.js +1 -1
  161. package/dist/Popover-cjs.js +1 -1
  162. package/dist/Popover-es.js +2 -2
  163. package/dist/ProgressBar-cjs.js +1 -1
  164. package/dist/ProgressBar-es.js +1 -1
  165. package/dist/RadioGroup-cjs.js +1 -1
  166. package/dist/RadioGroup-es.js +1 -1
  167. package/dist/RecurringSelect/components/index.mjs +1 -1
  168. package/dist/RecurringSelect/index.cjs +1 -0
  169. package/dist/RecurringSelect/index.mjs +1 -0
  170. package/dist/RecurringSelect-cjs.js +1 -1
  171. package/dist/RecurringSelect-es.js +2 -2
  172. package/dist/SegmentedControl-cjs.js +1 -1
  173. package/dist/SegmentedControl-es.js +2 -2
  174. package/dist/Select/index.cjs +1 -1
  175. package/dist/Select/index.mjs +2 -2
  176. package/dist/SideDrawer-cjs.js +1 -1
  177. package/dist/SideDrawer-es.js +1 -1
  178. package/dist/Spinner-cjs.js +1 -1
  179. package/dist/Spinner-es.js +1 -1
  180. package/dist/StatusIndicator-cjs.js +1 -1
  181. package/dist/StatusIndicator-es.js +1 -1
  182. package/dist/Switch-cjs.js +1 -1
  183. package/dist/Switch-es.js +1 -1
  184. package/dist/Table/index.mjs +1 -1
  185. package/dist/Tabs/index.mjs +1 -1
  186. package/dist/Tabs-cjs.js +1 -1
  187. package/dist/Tabs-es.js +6 -6
  188. package/dist/Text-cjs2.js +365 -175
  189. package/dist/Text-es2.js +361 -175
  190. package/dist/Thumbnail-cjs.js +1 -1
  191. package/dist/Thumbnail-es.js +2 -2
  192. package/dist/Tiles-cjs.js +1 -1
  193. package/dist/Tiles-es.js +1 -1
  194. package/dist/Tooltip-cjs.js +1 -1
  195. package/dist/Tooltip-es.js +2 -2
  196. package/dist/Typography-cjs.js +3 -3
  197. package/dist/Typography-es.js +3 -3
  198. package/dist/_baseEach-cjs.js +1 -1
  199. package/dist/_baseEach-es.js +7 -7
  200. package/dist/_baseFlatten-es.js +1 -1
  201. package/dist/_getAllKeys-cjs.js +2 -8
  202. package/dist/_getAllKeys-es.js +4 -10
  203. package/dist/_getTag-es.js +1 -1
  204. package/dist/_isIterateeCall-es.js +3 -3
  205. package/dist/_setToString-es.js +2 -2
  206. package/dist/debounce-es.js +4 -4
  207. package/dist/floating-ui.react-cjs.js +35 -16
  208. package/dist/floating-ui.react-dom-es.js +2 -2
  209. package/dist/floating-ui.react-es.js +37 -18
  210. package/dist/identity-es.js +5 -5
  211. package/dist/index-cjs.js +6 -6
  212. package/dist/index-es.js +6 -6
  213. package/dist/index.esm-es.js +1 -1
  214. package/dist/index.mjs +6 -6
  215. package/dist/isSymbol-es.js +1 -1
  216. package/dist/isTypedArray-cjs.js +4 -4
  217. package/dist/isTypedArray-es.js +6 -6
  218. package/dist/keysIn-cjs.js +2 -2
  219. package/dist/keysIn-es.js +5 -5
  220. package/dist/noop-es.js +4 -4
  221. package/dist/omit-cjs.js +37 -5
  222. package/dist/omit-es.js +46 -14
  223. package/dist/showToast-cjs.js +1 -1
  224. package/dist/showToast-es.js +1 -1
  225. package/dist/styles.css +56 -124
  226. package/dist/unstyledPrimitives/index.mjs +3 -3
  227. package/dist/useScrollToActive-cjs.js +1 -1
  228. package/dist/useScrollToActive-es.js +8 -8
  229. package/package.json +32 -15
  230. 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 !0;
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 = !0),
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 = !0));
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 !0;
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 = !1,
167
- didWarnUncachedGetSnapshot = !1,
166
+ didWarnOld18Alpha = false,
167
+ didWarnUncachedGetSnapshot = false,
168
168
  shim =
169
169
  "undefined" === typeof window ||
170
170
  "undefined" === typeof window.document ||
@@ -873,4 +873,4 @@ var isTabbable = function isTabbable(node, options) {
873
873
  return isNodeMatchingSelectorTabbable(options, node);
874
874
  };
875
875
 
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 };
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, a as useButtonContext, u as useButtonStyles } from './Button-es.js';
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 { a as ChipDismissible, C as ChipSelectable } from './ChipDismissible-es.js';
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, 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';
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 { a as GLIMMER_TEST_ID, G as Glimmer } from './Glimmer-es.js';
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, 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';
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';
@@ -1,4 +1,4 @@
1
- import { _ as _baseGetTag, i as isObjectLike_1 } from './isObjectLike-es.js';
1
+ import { i as isObjectLike_1, _ as _baseGetTag } from './isObjectLike-es.js';
2
2
 
3
3
  var baseGetTag = _baseGetTag,
4
4
  isObjectLike = isObjectLike_1;
@@ -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;
@@ -1,4 +1,4 @@
1
- import { _ as _baseGetTag, a as isObject_1, c as _root, i as isObjectLike_1, d as _freeGlobal } from './isObjectLike-es.js';
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, 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 };
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 };
@@ -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, _ as _baseGetTag, i as isObjectLike_1 } from './isObjectLike-es.js';
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, b as isArrayLike_1 } from './isTypedArray-es.js';
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 _, _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 };
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$1 = /*@__PURE__*/getDefaultExportFromCjs(noop_1);
22
+ var noop = /*@__PURE__*/getDefaultExportFromCjs(noop_1);
23
23
 
24
- export { noop$1 as n };
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
- object = parent(object, path);
661
- return object == null || delete object[toKey(last(path))];
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, _ 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';
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, 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';
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, c as isBufferExports, a as isArray_1 } from './isTypedArray-es.js';
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 _overRest, a as _setToString } from './_setToString-es.js';
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
- object = parent(object, path);
659
- return object == null || delete object[toKey(last(path))];
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$1 = /*@__PURE__*/getDefaultExportFromCjs(omit_1);
811
+ var omit = /*@__PURE__*/getDefaultExportFromCjs(omit_1);
780
812
 
781
- export { omit$1 as o };
813
+ export { omit as o };
@@ -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-","spinning":"_5Wy5Wra20Vk-"};
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);
@@ -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-","spinning":"_5Wy5Wra20Vk-"};
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);