@sps-woodland/core 9.1.0 → 9.1.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 (121) hide show
  1. package/lib/action-bar/action-bar/ActionBar.ve.js +1 -1
  2. package/lib/action-bar/style.css +1 -1
  3. package/lib/add-to-list/add-to-list/AddToList.js +4 -4
  4. package/lib/add-to-list/add-to-list/AddToList.ve.js +32 -32
  5. package/lib/add-to-list/add-to-list/ItemsList.js +3 -3
  6. package/lib/add-to-list/add-to-list/ListItem.js +1 -1
  7. package/lib/add-to-list/style.css +1 -1
  8. package/lib/buttons/button/Button.js +2 -2
  9. package/lib/buttons/button/Button.ve.js +56 -56
  10. package/lib/buttons/style.css +1 -1
  11. package/lib/cards/card/Card.ve.js +1 -1
  12. package/lib/cards/card-footer/CardFooter.ve.js +1 -1
  13. package/lib/cards/card-header/CardHeader.ve.js +1 -1
  14. package/lib/cards/card-title/CardTitle.ve.js +1 -1
  15. package/lib/cards/style.css +4 -4
  16. package/lib/components/icon/Icon.ve.js +5 -5
  17. package/lib/content-row/content-row/ContentRow.js +2 -2
  18. package/lib/content-row/content-row/ContentRow.ve.js +37 -37
  19. package/lib/content-row/content-row-col/ContentRowCol.ve.js +14 -14
  20. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +3 -3
  21. package/lib/content-row/style.css +3 -3
  22. package/lib/content-tiles/content-tile/ContentTile.js +3 -3
  23. package/lib/content-tiles/content-tile/ContentTile.ve.js +13 -13
  24. package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +1 -1
  25. package/lib/content-tiles/style.css +2 -2
  26. package/lib/dropdowns/dropdown/Dropdown.js +1 -1
  27. package/lib/dropdowns/dropdown/Dropdown.ve.js +15 -15
  28. package/lib/dropdowns/option-list/Option.js +1 -1
  29. package/lib/dropdowns/option-list/Option.ve.js +1 -1
  30. package/lib/dropdowns/option-list/OptionList.js +1 -1
  31. package/lib/dropdowns/option-list/OptionList.ve.js +1 -1
  32. package/lib/dropdowns/style.css +3 -3
  33. package/lib/feedback-block/FeedbackBlock.ve.js +20 -20
  34. package/lib/feedback-block/style.css +1 -1
  35. package/lib/file-upload/file-upload/FileUpload.js +4 -4
  36. package/lib/file-upload/file-upload/FileUpload.ve.js +28 -28
  37. package/lib/file-upload/style.css +1 -1
  38. package/lib/filter-tiles/filter-tile/FilterTile.ve.js +20 -20
  39. package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +1 -1
  40. package/lib/filter-tiles/style.css +2 -2
  41. package/lib/focused-task/focused-task/FocusedTask.ve.js +5 -5
  42. package/lib/focused-task/style.css +1 -1
  43. package/lib/growler/Growler.js +1 -1
  44. package/lib/growler/Growler.ve.js +10 -10
  45. package/lib/growler/Sonner.ve.js +8 -8
  46. package/lib/growler/style.css +2 -2
  47. package/lib/index.d.ts +0 -1
  48. package/lib/index.d.ts.map +1 -1
  49. package/lib/index.js +88 -121
  50. package/lib/index.umd.cjs +1 -25
  51. package/lib/insight-card/InsightCard.ve.js +54 -54
  52. package/lib/insight-card/style.css +1 -1
  53. package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +2 -2
  54. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +4 -4
  55. package/lib/key-value-set/style.css +2 -2
  56. package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +9 -9
  57. package/lib/list-bar/list-bar/ListBar.js +5 -5
  58. package/lib/list-bar/list-bar/ListBar.ve.js +4 -4
  59. package/lib/list-bar/search-results-bar/SearchResultsBar.js +2 -2
  60. package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +1 -1
  61. package/lib/list-bar/style.css +3 -3
  62. package/lib/matrix/matrix/Matrix.ve.js +1 -1
  63. package/lib/matrix/style.css +1 -1
  64. package/lib/modal/modal/Modal.js +1 -1
  65. package/lib/modal/modal/Modal.ve.js +23 -23
  66. package/lib/modal/style.css +1 -1
  67. package/lib/page-title/page-subtitle/PageSubtitle.ve.js +1 -1
  68. package/lib/page-title/page-title/PageTitle.ve.js +1 -1
  69. package/lib/page-title/style.css +2 -2
  70. package/lib/photo/photo/Photo.ve.js +7 -7
  71. package/lib/photo/photo-carousel/PhotoCarousel.ve.js +4 -4
  72. package/lib/photo/style.css +2 -2
  73. package/lib/product-bar/product-bar/ProductBar.ve.js +17 -17
  74. package/lib/product-bar/product-bar-name/ProductBarName.js +2 -2
  75. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +3 -3
  76. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +1 -1
  77. package/lib/product-bar/product-bar-tab/ProductBarTab.js +1 -1
  78. package/lib/product-bar/slack-link/SlackLink.ve.js +1 -1
  79. package/lib/product-bar/style.css +3 -3
  80. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +1 -1
  81. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +23 -23
  82. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +1 -1
  83. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +2 -2
  84. package/lib/product-bar-vertical/style.css +1 -1
  85. package/lib/progress-indicators/progress-bar/ProgressBar.js +2 -2
  86. package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +26 -26
  87. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +43 -43
  88. package/lib/progress-indicators/style.css +2 -2
  89. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +4 -4
  90. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +2 -2
  91. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +7 -7
  92. package/lib/rich-text-editor/style.css +2 -2
  93. package/lib/scrollable-container/ScrollableContainer.ve.js +1 -1
  94. package/lib/scrollable-container/style.css +1 -1
  95. package/lib/side-nav/side-nav/SideNav.js +1 -1
  96. package/lib/side-nav/side-nav/SideNav.ve.js +7 -7
  97. package/lib/side-nav/side-nav-section/SideNavSection.js +1 -1
  98. package/lib/side-nav/style.css +1 -1
  99. package/lib/sorting-header/caret/caret.ve.js +3 -3
  100. package/lib/sorting-header/sorting-header/SortingHeader.ve.js +9 -9
  101. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +6 -6
  102. package/lib/sorting-header/style.css +3 -3
  103. package/lib/style.css +1 -1
  104. package/lib/tabs/style.css +2 -2
  105. package/lib/tabs/tab/Tab.ve.js +22 -22
  106. package/lib/tabs/tabs/Tabs.js +2 -2
  107. package/lib/tabs/tabs/Tabs.ve.js +5 -5
  108. package/lib/tags/clickable-tag/ClickableTag.js +1 -1
  109. package/lib/tags/clickable-tag/ClickableTag.ve.js +21 -21
  110. package/lib/tags/split-tag/SplitTag.js +1 -1
  111. package/lib/tags/split-tag/SplitTag.ve.js +15 -15
  112. package/lib/tags/style.css +3 -3
  113. package/lib/tags/tag/Tag.ve.js +19 -19
  114. package/lib/zero-state/ZeroState.js +1 -1
  115. package/lib/zero-state/ZeroState.ve.js +11 -11
  116. package/lib/zero-state/style.css +1 -1
  117. package/package.json +15 -11
  118. package/lib/components/spinner/Spinner.examples.d.ts +0 -3
  119. package/lib/components/spinner/Spinner.examples.d.ts.map +0 -1
  120. package/lib/manifest.d.ts +0 -3
  121. package/lib/manifest.d.ts.map +0 -1
package/lib/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as e from "react";
2
2
  import { Fragment as t, cloneElement as n, createContext as r, useCallback as i, useContext as a, useMemo as o, useReducer as s, useRef as c } from "react";
3
- import { code as l, flatten as u } from "@spscommerce/utils";
4
- import { sprinkles as d } from "@sps-woodland/tokens";
5
- import { useWoodlandLanguage as ee } from "@spscommerce/i18n";
6
- import { createPortal as te } from "react-dom";
3
+ import { flatten as l } from "@spscommerce/utils";
4
+ import { sprinkles as u } from "@sps-woodland/tokens";
5
+ import { useWoodlandLanguage as d } from "@spscommerce/i18n";
6
+ import { createPortal as ee } from "react-dom";
7
7
  // src/metadata/metadata.ts
8
8
  var f = Symbol("WoodlandComponentMetadata"), p = Object.freeze({
9
9
  isWoodlandComponent(e) {
@@ -33,32 +33,32 @@ function _({ children: t, providers: n = [], ...r }) {
33
33
  return /* @__PURE__ */ e.createElement("div", r, /* @__PURE__ */ e.createElement(g, { elements: n }, t));
34
34
  }
35
35
  // src/utils/selectChildren.ts
36
- function v(e, { type: t, props: n = {}, custom: r }) {
36
+ function te(e, { type: t, props: n = {}, custom: r }) {
37
37
  return r ? r(e.type) : e.type === t && Object.keys(n).every((t) => n[t] === e.props[t]);
38
38
  }
39
- function y(e) {
39
+ function v(e) {
40
40
  return e === null ? [] : e.hasOwnProperty("type") && e.type === t ? e.props.children ?? [] : e;
41
41
  }
42
- function b(e = [], t = [], n = !1) {
43
- let r = Array.isArray(e) ? e.map(y) : y(e), i = Array.isArray(r) ? u(r) : [r], a = t.map((e) => Array.isArray(e) ? e : [e]), o = Array(a.length + 1).fill(null).map(() => []);
42
+ function y(e = [], t = [], n = !1) {
43
+ let r = Array.isArray(e) ? e.map(v) : v(e), i = Array.isArray(r) ? l(r) : [r], a = t.map((e) => Array.isArray(e) ? e : [e]), o = Array(a.length + 1).fill(null).map(() => []);
44
44
  for (let e of i) {
45
45
  let r = !1;
46
46
  for (let t = 0; t < a.length; t += 1) {
47
- for (let n of a[t]) if (r = v(e, n), r) {
47
+ for (let n of a[t]) if (r = te(e, n), r) {
48
48
  o[t].push(e);
49
49
  break;
50
50
  }
51
51
  if (r) break;
52
52
  }
53
53
  if (r || o[o.length - 1].push(e), n && e?.props?.children) {
54
- let n = b(e.props.children, t, !0);
54
+ let n = y(e.props.children, t, !0);
55
55
  for (let e = 0; e < n.length; e += 1) o[e].push(...n[e]);
56
56
  }
57
57
  }
58
58
  return o;
59
59
  }
60
60
  // ../../../node_modules/.pnpm/@vanilla-extract+recipes@0.5.7_@vanilla-extract+css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js
61
- function ne(e, t) {
61
+ function b(e, t) {
62
62
  if (typeof e != "object" || !e) return e;
63
63
  var n = e[Symbol.toPrimitive];
64
64
  if (n !== void 0) {
@@ -69,7 +69,7 @@ function ne(e, t) {
69
69
  return (t === "string" ? String : Number)(e);
70
70
  }
71
71
  function x(e) {
72
- var t = ne(e, "string");
72
+ var t = b(e, "string");
73
73
  return typeof t == "symbol" ? t : String(t);
74
74
  }
75
75
  function S(e, t, n) {
@@ -106,7 +106,7 @@ function T(e, t) {
106
106
  for (var r in e) n[r] = t(e[r], r);
107
107
  return n;
108
108
  }
109
- var re = (e, t, n) => {
109
+ var ne = (e, t, n) => {
110
110
  for (var r of Object.keys(e)) if (e[r] !== (t[r] ?? n[r])) return !1;
111
111
  return !0;
112
112
  }, E = (e) => {
@@ -121,7 +121,7 @@ var re = (e, t, n) => {
121
121
  s && (n += " " + s);
122
122
  }
123
123
  }
124
- for (var [c, l] of e.compoundVariants) re(c, r, e.defaultVariants) && (n += " " + l);
124
+ for (var [c, l] of e.compoundVariants) ne(c, r, e.defaultVariants) && (n += " " + l);
125
125
  return n;
126
126
  };
127
127
  return t.variants = () => Object.keys(e.variantClassNames), t.classNames = {
@@ -132,25 +132,25 @@ var re = (e, t, n) => {
132
132
  return T(e.variantClassNames, (e) => T(e, (e) => e.split(" ")[0]));
133
133
  }
134
134
  }, t;
135
- }, ie = E({
136
- defaultClassName: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_g5vsg0",
135
+ }, re = E({
136
+ defaultClassName: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_g5vsg0",
137
137
  variantClassNames: {
138
- fullWidth: { true: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_g5vsg1" },
139
- verticalProductBar: { true: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_g5vsg2" }
138
+ fullWidth: { true: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_g5vsg1" },
139
+ verticalProductBar: { true: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_g5vsg2" }
140
140
  },
141
141
  defaultVariants: {},
142
142
  compoundVariants: []
143
- }), ae = "pkg_sps-woodland_core__family_components__version_9_1_0__hash_g5vsg3", D = "pkg_sps-woodland_core__family_components__version_9_1_0__hash_g5vsg4";
143
+ }), ie = "pkg_sps-woodland_core__family_components__version_9_1_2__hash_g5vsg3", D = "pkg_sps-woodland_core__family_components__version_9_1_2__hash_g5vsg4";
144
144
  // src/components/app-root/AppRoot.tsx
145
145
  function O({ children: t, className: n, fullWidth: r, ...i }) {
146
- let [a, o] = b(t, [{ custom: (e) => p.isWoodlandComponent(e) && p.get(e).name === "ProductBarVertical" }]), s = a.length > 0;
146
+ let [a, o] = y(t, [{ custom: (e) => p.isWoodlandComponent(e) && p.get(e).name === "ProductBarVertical" }]), s = a.length > 0;
147
147
  return /* @__PURE__ */ e.createElement(_, {
148
- className: h(ie({
148
+ className: h(re({
149
149
  fullWidth: r,
150
150
  verticalProductBar: s
151
151
  }), n),
152
152
  ...i
153
- }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: ae }, a), /* @__PURE__ */ e.createElement("div", { className: D }, o)) : t);
153
+ }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: ie }, a), /* @__PURE__ */ e.createElement("div", { className: D }, o)) : t);
154
154
  }
155
155
  var k = /* @__PURE__ */ m(O, {
156
156
  name: "AppRoot",
@@ -169,7 +169,7 @@ var k = /* @__PURE__ */ m(O, {
169
169
  "justifyContent",
170
170
  "textAlign"
171
171
  ]), j = /* @__PURE__ */ m(/* @__PURE__ */ e.forwardRef(({ children: t, className: n, inline: r, style: i, ...a }, o) => {
172
- let [s, c, l] = Object.keys(a).reduce(([e, t, n], r) => d.properties.has(r) ? [
172
+ let [s, c, l] = Object.keys(a).reduce(([e, t, n], r) => u.properties.has(r) ? [
173
173
  {
174
174
  ...e,
175
175
  [r]: a[r]
@@ -200,13 +200,13 @@ var k = /* @__PURE__ */ m(O, {
200
200
  ]);
201
201
  return /* @__PURE__ */ e.createElement("div", {
202
202
  ref: o,
203
- className: h(d(s), n),
203
+ className: h(u(s), n),
204
204
  style: c,
205
205
  ...l
206
206
  }, t);
207
207
  }), { name: "Box" }), M = {
208
- root: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_w9p2pg0",
209
- title: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_w9p2pg1"
208
+ root: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_w9p2pg0",
209
+ title: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_w9p2pg1"
210
210
  };
211
211
  // src/components/cap-content/CapContent.tsx
212
212
  function N({ className: t, children: n, ...r }) {
@@ -223,7 +223,7 @@ function F({ className: t, children: n, ...r }) {
223
223
  ...r
224
224
  }, n);
225
225
  }
226
- var I = /* @__PURE__ */ m(F, { name: "CapContentTitle" }), L = "pkg_sps-woodland_core__family_components__version_9_1_0__hash_o0pwg0", R = /* @__PURE__ */ m(/* @__PURE__ */ e.forwardRef(({ children: t, className: n, ...r }, i) => /* @__PURE__ */ e.createElement("div", {
226
+ var I = /* @__PURE__ */ m(F, { name: "CapContentTitle" }), L = "pkg_sps-woodland_core__family_components__version_9_1_2__hash_o0pwg0", R = /* @__PURE__ */ m(/* @__PURE__ */ e.forwardRef(({ children: t, className: n, ...r }, i) => /* @__PURE__ */ e.createElement("div", {
227
227
  ref: i,
228
228
  className: h(L, n),
229
229
  ...r
@@ -243,10 +243,10 @@ function z(e, t, r = !0, i) {
243
243
  }, ...u);
244
244
  }
245
245
  // src/components/input-panel/InputPanel.css.ts
246
- var B = "pkg_sps-woodland_core__family_components__version_9_1_0__hash_g4awnh0";
246
+ var B = "pkg_sps-woodland_core__family_components__version_9_1_2__hash_g4awnh0";
247
247
  // src/components/input-panel/InputPanel.tsx
248
248
  function V({ children: t, className: n, ...r }) {
249
- let [i, a] = b(t, [{ custom: (e) => p.isWoodlandComponent(e) && !!p.get(e).panellable }]);
249
+ let [i, a] = y(t, [{ custom: (e) => p.isWoodlandComponent(e) && !!p.get(e).panellable }]);
250
250
  if (a.filter(Boolean).length > 0) throw Error("InputPanel only accepts panellable children");
251
251
  let o = z(i, (e) => p.isWoodlandComponent(e.type) && p.get(e.type).name === "Button" && ["icon", "link"].includes(e.props.kind) ? [{ kind: "default" }] : [{}]);
252
252
  return /* @__PURE__ */ e.createElement("div", {
@@ -256,12 +256,12 @@ function V({ children: t, className: n, ...r }) {
256
256
  }
257
257
  // src/components/icon/Icon.css.ts
258
258
  var H = E({
259
- defaultClassName: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_6qnc0v4",
259
+ defaultClassName: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_6qnc0v4",
260
260
  variantClassNames: { size: {
261
- xs: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_6qnc0v5 pkg_sps-woodland_core__family_components__version_9_1_0__hash_6qnc0v0",
262
- sm: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_6qnc0v6 pkg_sps-woodland_core__family_components__version_9_1_0__hash_6qnc0v1",
263
- md: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_6qnc0v7 pkg_sps-woodland_core__family_components__version_9_1_0__hash_6qnc0v2",
264
- lg: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_6qnc0v8 pkg_sps-woodland_core__family_components__version_9_1_0__hash_6qnc0v3"
261
+ xs: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_6qnc0v5 pkg_sps-woodland_core__family_components__version_9_1_2__hash_6qnc0v0",
262
+ sm: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_6qnc0v6 pkg_sps-woodland_core__family_components__version_9_1_2__hash_6qnc0v1",
263
+ md: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_6qnc0v7 pkg_sps-woodland_core__family_components__version_9_1_2__hash_6qnc0v2",
264
+ lg: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_6qnc0v8 pkg_sps-woodland_core__family_components__version_9_1_2__hash_6qnc0v3"
265
265
  } },
266
266
  defaultVariants: { size: "md" },
267
267
  compoundVariants: []
@@ -294,14 +294,14 @@ function J({ className: t, color: n, icon: r, size: i = "md", ...a }) {
294
294
  overflow: "visible"
295
295
  },
296
296
  ...a,
297
- className: h(d({ color: n }), H({ size: i }), t)
297
+ className: h(u({ color: n }), H({ size: i }), t)
298
298
  }, /* @__PURE__ */ e.createElement("use", {
299
299
  height: "1em",
300
300
  width: `${o}em`,
301
301
  href: `#${r}`
302
302
  })));
303
303
  }
304
- var oe = /* @__PURE__ */ m(J, {
304
+ var Y = /* @__PURE__ */ m(J, {
305
305
  name: "Icon",
306
306
  props: {
307
307
  icon: {
@@ -316,8 +316,8 @@ var oe = /* @__PURE__ */ m(J, {
316
316
  }
317
317
  });
318
318
  // src/components/reorder-wrapper/ReorderWrapper.tsx
319
- function se({ className: t, children: n, list: r, setList: i, ...a }) {
320
- let [o] = b(n, [{ custom: (e) => p.isWoodlandComponent(e) && p.get(e).name === "Content Row" }]);
319
+ function X({ className: t, children: n, list: r, setList: i, ...a }) {
320
+ let [o] = y(n, [{ custom: (e) => p.isWoodlandComponent(e) && p.get(e).name === "Content Row" }]);
321
321
  function s(e, t) {
322
322
  let n = [...r], [a] = n.splice(e, 1);
323
323
  n.splice(t, 0, a), i(n);
@@ -334,7 +334,7 @@ function se({ className: t, children: n, list: r, setList: i, ...a }) {
334
334
  ...a
335
335
  }, c);
336
336
  }
337
- var ce = /* @__PURE__ */ m(se, {
337
+ var ae = /* @__PURE__ */ m(X, {
338
338
  name: "ReorderWrapper",
339
339
  props: {
340
340
  list: {
@@ -348,22 +348,22 @@ var ce = /* @__PURE__ */ m(se, {
348
348
  }
349
349
  });
350
350
  // src/utils/useChildTestIdAttrBuilder.ts
351
- function Y(e) {
351
+ function Z(e) {
352
352
  let t = e?.["data-testid"];
353
353
  return i((e) => t ? { "data-testid": `${t}__${e}` } : {}, [t]);
354
354
  }
355
355
  // src/components/spinner/Spinner.css.ts
356
- var le = "pkg_sps-woodland_core__family_components__version_9_1_0__hash_9gd2pg1", ue = E({
357
- defaultClassName: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_9gd2pg2",
356
+ var oe = "pkg_sps-woodland_core__family_components__version_9_1_2__hash_9gd2pg1", se = E({
357
+ defaultClassName: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_9gd2pg2",
358
358
  variantClassNames: {
359
359
  size: {
360
- sm: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_9gd2pg3",
361
- md: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_9gd2pg4",
362
- lg: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_9gd2pg5"
360
+ sm: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_9gd2pg3",
361
+ md: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_9gd2pg4",
362
+ lg: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_9gd2pg5"
363
363
  },
364
364
  color: {
365
- dark: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_9gd2pg6",
366
- light: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_9gd2pg7"
365
+ dark: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_9gd2pg6",
366
+ light: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_9gd2pg7"
367
367
  }
368
368
  },
369
369
  defaultVariants: {
@@ -373,13 +373,13 @@ var le = "pkg_sps-woodland_core__family_components__version_9_1_0__hash_9gd2pg1"
373
373
  compoundVariants: []
374
374
  });
375
375
  // src/components/spinner/Spinner.tsx
376
- function de({ alt: t, className: n, size: r, title: i, color: a, ...o }) {
377
- let { t: s } = ee(), c = t || i || s("spinner.defaultAltText", { defaultValue: "Loading..." }), l = Y(o);
376
+ function ce({ alt: t, className: n, size: r, title: i, color: a, ...o }) {
377
+ let { t: s } = d(), c = t || i || s("spinner.defaultAltText", { defaultValue: "Loading..." }), l = Z(o);
378
378
  return /* @__PURE__ */ e.createElement("div", {
379
- className: h(le, n),
379
+ className: h(oe, n),
380
380
  ...o
381
381
  }, /* @__PURE__ */ e.createElement("i", {
382
- className: ue({
382
+ className: se({
383
383
  size: r,
384
384
  color: a
385
385
  }),
@@ -387,7 +387,7 @@ function de({ alt: t, className: n, size: r, title: i, color: a, ...o }) {
387
387
  title: c
388
388
  }));
389
389
  }
390
- var X = /* @__PURE__ */ m(de, {
390
+ var le = /* @__PURE__ */ m(ce, {
391
391
  name: "Spinner",
392
392
  props: {
393
393
  alt: "string",
@@ -401,54 +401,54 @@ var X = /* @__PURE__ */ m(de, {
401
401
  default: "\"dark\""
402
402
  }
403
403
  }
404
- }), fe = E({
405
- defaultClassName: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_iddzk90",
404
+ }), ue = E({
405
+ defaultClassName: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_iddzk90",
406
406
  variantClassNames: { size: {
407
- xl: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_iddzk91",
408
- lg: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_iddzk92",
409
- md: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_iddzk93",
410
- sm: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_iddzk94",
411
- xs: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_iddzk95",
412
- xxs: "pkg_sps-woodland_core__family_components__version_9_1_0__hash_iddzk96"
407
+ xl: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_iddzk91",
408
+ lg: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_iddzk92",
409
+ md: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_iddzk93",
410
+ sm: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_iddzk94",
411
+ xs: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_iddzk95",
412
+ xxs: "pkg_sps-woodland_core__family_components__version_9_1_2__hash_iddzk96"
413
413
  } },
414
414
  defaultVariants: {},
415
415
  compoundVariants: []
416
416
  });
417
417
  // src/components/title/Title.tsx
418
- function pe({ children: t, className: n, size: r = "md", ...i }) {
418
+ function de({ children: t, className: n, size: r = "md", ...i }) {
419
419
  return /* @__PURE__ */ e.createElement("div", {
420
- className: h(fe({ size: r }), n),
420
+ className: h(ue({ size: r }), n),
421
421
  ...i
422
422
  }, t);
423
423
  }
424
- var me = /* @__PURE__ */ m(pe, {
424
+ var fe = /* @__PURE__ */ m(de, {
425
425
  name: "Title",
426
426
  props: { kind: {
427
427
  type: "TitleSize",
428
428
  default: "md"
429
429
  } }
430
- }), he = "pkg_sps-woodland_core__family_components__version_9_1_0__hash_17ntd80";
430
+ }), pe = "pkg_sps-woodland_core__family_components__version_9_1_2__hash_17ntd80";
431
431
  // src/components/vertical-rule/VerticalRule.tsx
432
- function Z({ className: t, ...n }) {
432
+ function Q({ className: t, ...n }) {
433
433
  return /* @__PURE__ */ e.createElement("div", {
434
- className: h(he, t),
434
+ className: h(pe, t),
435
435
  ...n
436
436
  });
437
437
  }
438
- function ge(t) {
439
- return /* @__PURE__ */ e.createElement(Z, t);
438
+ function me(t) {
439
+ return /* @__PURE__ */ e.createElement(Q, t);
440
440
  }
441
- var _e = /* @__PURE__ */ m(Z, { name: "VerticalRule" });
441
+ var he = /* @__PURE__ */ m(Q, { name: "VerticalRule" });
442
442
  // src/utils/addClassName.ts
443
- function ve(e, t) {
443
+ function ge(e, t) {
444
444
  return n(e, { className: h(e.props.className, t) });
445
445
  }
446
446
  // src/utils/addProps.ts
447
- function ye(e, t) {
447
+ function _e(e, t) {
448
448
  return n(e, t);
449
449
  }
450
450
  // src/utils/bindProps.tsx
451
- function be(t, n, r = []) {
451
+ function ve(t, n, r = []) {
452
452
  return e.useMemo(() => {
453
453
  function r(r) {
454
454
  return /* @__PURE__ */ e.createElement(t, {
@@ -460,17 +460,17 @@ function be(t, n, r = []) {
460
460
  }, r);
461
461
  }
462
462
  // src/utils/combineEventHandlers.ts
463
- function xe(...e) {
463
+ function ye(...e) {
464
464
  return function(t) {
465
465
  for (let n of e) n && n(t);
466
466
  };
467
467
  }
468
468
  // src/utils/contentOf.ts
469
- function Q(e, ...t) {
469
+ function be(e, ...t) {
470
470
  return typeof e == "function" ? e(...t) : e;
471
471
  }
472
472
  // src/utils/getScrollParent.ts
473
- var Se = (e) => {
473
+ var xe = (e) => {
474
474
  let t = /(auto|scroll)/, n = (e, t) => e.parentNode === null ? t : n(e.parentNode, t.concat([e])), r = (e, t) => getComputedStyle(e, null).getPropertyValue(t), i = (e) => r(e, "overflow") + r(e, "overflow-y"), a = (e) => t.test(i(e));
475
475
  return ((e) => {
476
476
  if (!(e instanceof HTMLElement || e instanceof SVGElement)) return;
@@ -478,28 +478,28 @@ var Se = (e) => {
478
478
  for (let e = 0; e < t.length; e += 1) if (a(t[e])) return t[e];
479
479
  return null;
480
480
  })(e);
481
- }, Ce = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", we = (e = 21) => {
481
+ }, Se = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ce = (e = 21) => {
482
482
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
483
- for (; e--;) t += Ce[n[e] & 63];
483
+ for (; e--;) t += Se[n[e] & 63];
484
484
  return t;
485
485
  };
486
486
  // src/utils/useElementId.ts
487
- function Te(e) {
488
- return c(e || we());
487
+ function we(e) {
488
+ return c(e || Ce());
489
489
  }
490
490
  // src/utils/usePatchReducer.ts
491
- function Ee(e, t) {
491
+ function Te(e, t) {
492
492
  return {
493
493
  ...e,
494
494
  ...t
495
495
  };
496
496
  }
497
- function De(e) {
498
- return s(Ee, e);
497
+ function Ee(e) {
498
+ return s(Te, e);
499
499
  }
500
500
  // src/utils/usePortal.ts
501
501
  var $ = r(null);
502
- function Oe(e, t = []) {
502
+ function De(e, t = []) {
503
503
  let n = a($);
504
504
  return o(() => (r) => {
505
505
  let i = n && n.parentElementRef && n.parentElementRef.current || document.body, a = null, o = i.lastElementChild;
@@ -516,51 +516,18 @@ function Oe(e, t = []) {
516
516
  for (let e of t) a.classList.add(e);
517
517
  i.appendChild(a);
518
518
  }
519
- return te(r, a);
519
+ return ee(r, a);
520
520
  }, [n]);
521
521
  }
522
522
  // src/types/table.ts
523
- var ke = /* @__PURE__ */ function(e) {
523
+ var Oe = /* @__PURE__ */ function(e) {
524
524
  return e.ASCENDING = "ascending", e.DESCENDING = "descending", e;
525
525
  }({});
526
526
  // src/examples.ts
527
- function Ae(e) {
527
+ function ke(e) {
528
528
  return e.hasOwnProperty("react");
529
529
  }
530
- function je(e) {
530
+ function Ae(e) {
531
531
  return e.hasOwnProperty("jsx");
532
532
  }
533
- // src/manifest.ts
534
- var Me = { Spinner: {
535
- components: [X],
536
- examples: { basic: { examples: {
537
- small: { react: l`
538
- import { Spinner } from "@sps-woodland/core";
539
- function Component() {
540
- return (
541
- <Spinner size="sm" title="Please wait…" />
542
- );
543
- }
544
- ` },
545
- medium: { react: l`
546
- import { Spinner } from "@sps-woodland/core";
547
- function Component() {
548
- return (
549
- <>
550
- <Spinner />
551
- <Spinner size="md" title="Please wait…" />
552
- </>
553
- );
554
- }
555
- ` },
556
- large: { react: l`
557
- import { Spinner } from "@sps-woodland/core";
558
- function Component() {
559
- return (
560
- <Spinner size="lg" alt="Loading content…" />
561
- );
562
- }
563
- ` }
564
- } } }
565
- } };
566
- export { k as AppRoot, j as Box, P as CapContent, I as CapContentTitle, R as Content, oe as Icon, V as InputPanel, Me as MANIFEST, p as Metadata, $ as PortalContext, _ as Provide, ce as ReorderWrapper, ke as SortDirection, X as Spinner, me as Title, _e as VerticalRule, ge as Vr, ve as addClassName, ye as addProps, be as bindProps, h as cl, xe as combineEventHandlers, Q as contentOf, Ae as exampleIsReactComponentExample, je as exampleIsReactJSXExample, Se as getScrollParent, z as modChildren, b as selectChildren, Y as useChildTestIdAttrBuilder, Te as useElementId, De as usePatchReducer, Oe as usePortal, m as withMetadata };
533
+ export { k as AppRoot, j as Box, P as CapContent, I as CapContentTitle, R as Content, Y as Icon, V as InputPanel, p as Metadata, $ as PortalContext, _ as Provide, ae as ReorderWrapper, Oe as SortDirection, le as Spinner, fe as Title, he as VerticalRule, me as Vr, ge as addClassName, _e as addProps, ve as bindProps, h as cl, ye as combineEventHandlers, be as contentOf, ke as exampleIsReactComponentExample, Ae as exampleIsReactJSXExample, xe as getScrollParent, z as modChildren, y as selectChildren, Z as useChildTestIdAttrBuilder, we as useElementId, Ee as usePatchReducer, De as usePortal, m as withMetadata };