@hybridcore/ui 1.4.30 → 1.4.32

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 (108) hide show
  1. package/dist/AccordionDetails-mpRYHtGq.js +743 -0
  2. package/dist/{Add-eepk2WTM.js → Add-BKnWHZ7A.js} +10 -9
  3. package/dist/{Box-BPyg-Ybm.js → Box-SSMZuKnS.js} +8 -8
  4. package/dist/{Button-DLwB_sKd.js → Button-jy67CcTH.js} +8 -7
  5. package/dist/{ButtonBase-D0qccOVb.js → ButtonBase-CgQC8DUB.js} +13 -12
  6. package/dist/{CardContent-DFsCCOWk.js → CardContent-CCq4R1KS.js} +14 -13
  7. package/dist/{Checkbox-qy3cjvnb.js → Checkbox-B0P8LhCl.js} +10 -9
  8. package/dist/{Delete-OHEw9lDi.js → Delete-DfyX03ib.js} +1 -1
  9. package/dist/{DialogContent-CxOSq6h9.js → DialogContent-B0_-g7B0.js} +10 -9
  10. package/dist/{FormControlLabel-D9KFjcIx.js → FormControlLabel-BNT5EI0b.js} +10 -9
  11. package/dist/{IconButton-BaiyAtmS.js → IconButton-DekcZv4i.js} +16 -15
  12. package/dist/{Input-CmCkXczh.js → Input-BAbDr3Tk.js} +17 -16
  13. package/dist/{InputAdornment-CZUPEeia.js → InputAdornment-BAVRrRts.js} +8 -7
  14. package/dist/{InputLabel-CWkW8NtU.js → InputLabel-ClDXuWBr.js} +16 -14
  15. package/dist/{List-PpNAWJ_I.js → List-CNeRnfGL.js} +10 -9
  16. package/dist/{ListItem-CZbZ91vp.js → ListItem-N_dSd02S.js} +15 -14
  17. package/dist/{MenuItem-D-INSvZa.js → MenuItem-Lcjh1XlV.js} +11 -10
  18. package/dist/{Modal-KrI5qFIq.js → Modal-CJn-Bqyo.js} +14 -13
  19. package/dist/{OutlinedInput-DkIUD30e.js → OutlinedInput-De2keFJK.js} +28 -27
  20. package/dist/{Paper-btu3j72o.js → Paper-DRRYGupP.js} +22 -21
  21. package/dist/{Select-ClaBvSqf.js → Select-DwAJxKTN.js} +65 -63
  22. package/dist/{Source-Hf_SiWEW.js → Source-CnCcu5UP.js} +123 -123
  23. package/dist/{Tabs-BzelDJKy.js → Tabs-DqdkJU6b.js} +16 -14
  24. package/dist/{Text-D6oGbCdi.js → Text-BT5kPHOo.js} +41 -41
  25. package/dist/{TextField-D87qTh1k.js → TextField-BAXUnwnR.js} +14 -13
  26. package/dist/{Typography-Bm7PFqUT.js → Typography-CLq43OVQ.js} +21 -20
  27. package/dist/components/access/helpers.js +1 -1
  28. package/dist/components/access/index.js +1 -1
  29. package/dist/components/card/index.js +49 -48
  30. package/dist/components/card/styled.js +1 -1
  31. package/dist/components/collapsible-card/style.js +3 -3
  32. package/dist/components/confirm/dialog.js +3 -3
  33. package/dist/components/confirm/index.js +1 -1
  34. package/dist/components/container/index.js +10 -9
  35. package/dist/components/context-menu/index.js +13 -12
  36. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  37. package/dist/components/data-security-selectors/security-level/index.js +7 -7
  38. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  39. package/dist/components/geometry-picker/edit/index.js +2 -2
  40. package/dist/components/geometry-picker/geometry/index.js +1 -1
  41. package/dist/components/geometry-picker/index.js +3 -3
  42. package/dist/components/geometry-picker/kml/index.js +1 -1
  43. package/dist/components/geometry-picker/map/logic.js +19 -19
  44. package/dist/components/geometry-picker/map/style.js +1 -1
  45. package/dist/components/icon-button/index.js +1 -1
  46. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  47. package/dist/components/instance-form/components/variable/index.js +8 -8
  48. package/dist/components/instance-form/components/variables/index.js +1 -1
  49. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  50. package/dist/components/map/helpers/mapbox.js +3 -3
  51. package/dist/components/map/helpers/ol.js +3 -3
  52. package/dist/components/map/logic.js +2 -2
  53. package/dist/components/map/styled.js +2 -2
  54. package/dist/components/property-mapping/index.js +2 -2
  55. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  56. package/dist/components/range-selector/components/date-range/index.js +1 -1
  57. package/dist/components/range-selector/index.js +1 -1
  58. package/dist/components/search-input/index.js +4 -4
  59. package/dist/components/tabs/index.js +1 -1
  60. package/dist/components/template-filters/components/filter/index.js +44 -0
  61. package/dist/components/template-filters/components/tab-panel/index.js +27 -0
  62. package/dist/components/template-filters/index.js +39 -0
  63. package/dist/components/template-filters/styled.js +1 -0
  64. package/dist/components/template-form/components/property-list/index.js +7 -7
  65. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  66. package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
  67. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  68. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  69. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  70. package/dist/components/template-form/index.js +5 -5
  71. package/dist/components/template-property-filters/property.js +5 -5
  72. package/dist/components/tree-select/index.js +5 -5
  73. package/dist/components/treeview-filter/index.js +384 -318
  74. package/dist/components/treeview-filter/item/index.js +56 -5
  75. package/dist/components/treeview-filter/item/styled.js +38 -0
  76. package/dist/components/treeview-filter/item-label/index.js +27 -26
  77. package/dist/createStyled-CUatW1r9.js +352 -0
  78. package/dist/{createSvgIcon-Cfm1LkEe.js → createSvgIcon-BXjHHQ0B.js} +28 -29
  79. package/dist/{createSvgIcon-DEXLbMwp.js → createSvgIcon-CBoAEepv.js} +9 -8
  80. package/dist/{styled-LNCprp4n.js → createTheme-DVoJnXAT.js} +134 -142
  81. package/dist/createTheme-DrgvKMA_.js +1563 -0
  82. package/dist/{dialog-v5-nL5yy.js → dialog-DPGR2gik.js} +7 -7
  83. package/dist/{exactProp-DkmnwNVS.js → exactProp-H1i70prd.js} +3 -3
  84. package/dist/{extendSxProp-qqdkfHzS.js → extendSxProp-BmK2hLmq.js} +4 -4
  85. package/dist/{has-CjQtZJa9.js → has-9_asnBxn.js} +26 -26
  86. package/dist/{helpers-B4UL9NMD.js → helpers-DaCoWmi2.js} +3 -3
  87. package/dist/{index-oPY7k6mu.js → index-B_GNCJdV.js} +7 -7
  88. package/dist/{index-C1fczHEW.js → index-RfDWDd66.js} +28 -27
  89. package/dist/{listItemTextClasses-DsHGzpPM.js → listItemTextClasses-CC7nbQWN.js} +4 -4
  90. package/dist/main.d.ts +14 -0
  91. package/dist/main.js +83 -81
  92. package/dist/{objectWithoutPropertiesLoose-BK36oJDi.js → objectWithoutPropertiesLoose-DJteAcBH.js} +2 -2
  93. package/dist/{ol-CHaVTXvL.js → ol-9hySGI6D.js} +3 -3
  94. package/dist/{property-list-form-B1GZ9ZGO.js → property-list-form-DgmTiBvu.js} +36 -35
  95. package/dist/styled-DkqItiLo.js +12 -0
  96. package/dist/unsupportedProp-BND8AB6O.js +25 -0
  97. package/dist/{useTheme-DBiahn6p.js → useTheme-B6oa3v5u.js} +4 -4
  98. package/dist/useTheme-GN5Dc3mG.js +18 -0
  99. package/dist/useThemeProps-BlXpIqSE.js +95 -0
  100. package/dist/{utils-DNe_YYjm.js → utils-BRsEqTye.js} +8 -8
  101. package/package.json +1 -1
  102. package/dist/AccordionDetails-CGs6GZQK.js +0 -454
  103. package/dist/Collapse-CL6LGGZw.js +0 -298
  104. package/dist/createStyled-BzvgQjjR.js +0 -1910
  105. package/dist/index-B0JPwFI9.js +0 -596
  106. package/dist/requirePropFactory-BjhhI-AW.js +0 -18
  107. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  108. package/dist/useThemeProps-uYx_RkOH.js +0 -109
@@ -1,43 +1,44 @@
1
- import K, { jsx as t, jsxs as m, Fragment as J } from "react/jsx-runtime";
1
+ import K, { jsx as t, jsxs as c, Fragment as J } from "react/jsx-runtime";
2
2
  import * as Q from "react";
3
3
  import F from "react";
4
4
  import X from "lodash";
5
- import { r as Z, i as ee } from "./createSvgIcon-Cfm1LkEe.js";
5
+ import { r as Z, i as ee } from "./createSvgIcon-BXjHHQ0B.js";
6
6
  import { DATA_TYPES as R, COORDINATE_FORMAT as te, PRIVACY_PRESERVATION_METHOD as Y } from "./constants/index.js";
7
- import { T as h } from "./TextField-D87qTh1k.js";
8
- import { f as re, F as w, I as C } from "./InputLabel-CWkW8NtU.js";
9
- import { S as P } from "./Select-ClaBvSqf.js";
10
- import { M as _ } from "./MenuItem-D-INSvZa.js";
11
- import { _ as M, a as ae } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
12
- import { P as n } from "./createStyled-BzvgQjjR.js";
13
- import { g as oe, u as le, c as ne, a as ie } from "./useThemeProps-uYx_RkOH.js";
14
- import { g as se, s as de } from "./styled-LNCprp4n.js";
15
- import { u as ce } from "./useFormControl-CatNKXAi.js";
16
- import { F as p } from "./FormControlLabel-D9KFjcIx.js";
17
- import { C as f } from "./Checkbox-qy3cjvnb.js";
18
- import { B as me } from "./Box-BPyg-Ybm.js";
19
- import { B as $ } from "./Button-DLwB_sKd.js";
7
+ import { T as h } from "./TextField-BAXUnwnR.js";
8
+ import { f as re, F as w, I as C } from "./InputLabel-ClDXuWBr.js";
9
+ import { S as P } from "./Select-DwAJxKTN.js";
10
+ import { M as _ } from "./MenuItem-Lcjh1XlV.js";
11
+ import { a as M, _ as ae } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
12
+ import { P as n } from "./createTheme-DrgvKMA_.js";
13
+ import { g as oe, u as le, c as ne, a as ie } from "./useThemeProps-BlXpIqSE.js";
14
+ import { s as se } from "./styled-DkqItiLo.js";
15
+ import { g as de } from "./createTheme-DVoJnXAT.js";
16
+ import { u as me } from "./useFormControl-CatNKXAi.js";
17
+ import { F as p } from "./FormControlLabel-BNT5EI0b.js";
18
+ import { C as f } from "./Checkbox-B0P8LhCl.js";
19
+ import { B as ce } from "./Box-SSMZuKnS.js";
20
+ import { B as $ } from "./Button-jy67CcTH.js";
20
21
  function ue(a) {
21
- return se("MuiFormGroup", a);
22
+ return de("MuiFormGroup", a);
22
23
  }
23
24
  oe("MuiFormGroup", ["root", "row", "error"]);
24
25
  const pe = ["className", "row"], fe = (a) => {
25
26
  const {
26
27
  classes: i,
27
- row: c,
28
+ row: m,
28
29
  error: s
29
30
  } = a;
30
31
  return ie({
31
- root: ["root", c && "row", s && "error"]
32
+ root: ["root", m && "row", s && "error"]
32
33
  }, ue, i);
33
- }, ye = de("div", {
34
+ }, ye = se("div", {
34
35
  name: "MuiFormGroup",
35
36
  slot: "Root",
36
37
  overridesResolver: (a, i) => {
37
38
  const {
38
- ownerState: c
39
+ ownerState: m
39
40
  } = a;
40
- return [i.root, c.row && i.row];
41
+ return [i.root, m.row && i.row];
41
42
  }
42
43
  })(({
43
44
  ownerState: a
@@ -47,14 +48,14 @@ const pe = ["className", "row"], fe = (a) => {
47
48
  flexWrap: "wrap"
48
49
  }, a.row && {
49
50
  flexDirection: "row"
50
- })), z = /* @__PURE__ */ Q.forwardRef(function(i, c) {
51
+ })), z = /* @__PURE__ */ Q.forwardRef(function(i, m) {
51
52
  const s = le({
52
53
  props: i,
53
54
  name: "MuiFormGroup"
54
55
  }), {
55
56
  className: b,
56
57
  row: e = !1
57
- } = s, y = ae(s, pe), u = ce(), v = re({
58
+ } = s, y = ae(s, pe), u = me(), v = re({
58
59
  props: s,
59
60
  muiFormControl: u,
60
61
  states: ["error"]
@@ -65,7 +66,7 @@ const pe = ["className", "row"], fe = (a) => {
65
66
  return /* @__PURE__ */ t(ye, M({
66
67
  className: ne(g.root, b),
67
68
  ownerState: o,
68
- ref: c
69
+ ref: m
69
70
  }, y));
70
71
  });
71
72
  process.env.NODE_ENV !== "production" && (z.propTypes = {
@@ -103,7 +104,7 @@ var H = q.default = void 0, be = he(Z()), ve = K;
103
104
  H = q.default = (0, be.default)(/* @__PURE__ */ (0, ve.jsx)("path", {
104
105
  d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
105
106
  }), "Check");
106
- function We({
107
+ function Ne({
107
108
  inputVariant: a,
108
109
  defaultValues: i = {
109
110
  name: "",
@@ -119,7 +120,7 @@ function We({
119
120
  temporal: !1,
120
121
  unique: !1
121
122
  },
122
- disablePropertyId: c,
123
+ disablePropertyId: m,
123
124
  onSubmit: s,
124
125
  onCancel: b
125
126
  }) {
@@ -156,7 +157,7 @@ function We({
156
157
  return () => {
157
158
  };
158
159
  }
159
- }, [e.type]), /* @__PURE__ */ m(J, { children: [
160
+ }, [e.type]), /* @__PURE__ */ c(J, { children: [
160
161
  /* @__PURE__ */ t(
161
162
  h,
162
163
  {
@@ -181,13 +182,13 @@ function We({
181
182
  name: "propertyId",
182
183
  variant: a,
183
184
  fullWidth: !0,
184
- disabled: c,
185
+ disabled: m,
185
186
  sx: { mb: 2 },
186
187
  value: e.propertyId,
187
188
  onChange: o
188
189
  }
189
190
  ),
190
- /* @__PURE__ */ m(w, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
191
+ /* @__PURE__ */ c(w, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
191
192
  /* @__PURE__ */ t(C, { id: "type-select-label", children: "Type" }),
192
193
  /* @__PURE__ */ t(
193
194
  P,
@@ -214,7 +215,7 @@ function We({
214
215
  onChange: o
215
216
  }
216
217
  ),
217
- e.type === "coordinate" && /* @__PURE__ */ m(w, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
218
+ e.type === "coordinate" && /* @__PURE__ */ c(w, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
218
219
  /* @__PURE__ */ t(C, { id: "coordinate-format-select-label", children: "Cordinate Format" }),
219
220
  /* @__PURE__ */ t(
220
221
  P,
@@ -229,7 +230,7 @@ function We({
229
230
  }
230
231
  )
231
232
  ] }),
232
- e.type === "composite-list" && /* @__PURE__ */ m(w, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
233
+ e.type === "composite-list" && /* @__PURE__ */ c(w, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
233
234
  /* @__PURE__ */ t(C, { id: "composite-list-select-label", children: "Inner Type" }),
234
235
  /* @__PURE__ */ t(
235
236
  P,
@@ -271,7 +272,7 @@ function We({
271
272
  onChange: o
272
273
  }
273
274
  ),
274
- /* @__PURE__ */ m(w, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
275
+ /* @__PURE__ */ c(w, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
275
276
  /* @__PURE__ */ t(C, { id: "privacy-method-label", children: "Privacy Preservation Method" }),
276
277
  /* @__PURE__ */ t(
277
278
  P,
@@ -286,7 +287,7 @@ function We({
286
287
  }
287
288
  )
288
289
  ] }),
289
- /* @__PURE__ */ m(z, { row: !0, sx: { mb: 2 }, children: [
290
+ /* @__PURE__ */ c(z, { row: !0, sx: { mb: 2 }, children: [
290
291
  /* @__PURE__ */ t(
291
292
  p,
292
293
  {
@@ -371,7 +372,7 @@ function We({
371
372
  }
372
373
  )
373
374
  ] }),
374
- /* @__PURE__ */ m(me, { display: "flex", justifyContent: "flex-end", children: [
375
+ /* @__PURE__ */ c(ce, { display: "flex", justifyContent: "flex-end", children: [
375
376
  /* @__PURE__ */ t($, { variant: "contained", onClick: b, sx: { marginRight: 2 }, children: "Cancel" }),
376
377
  /* @__PURE__ */ t(
377
378
  $,
@@ -387,5 +388,5 @@ function We({
387
388
  }
388
389
  export {
389
390
  z as F,
390
- We as a
391
+ Ne as a
391
392
  };
@@ -0,0 +1,12 @@
1
+ import { c as r } from "./createTheme-DVoJnXAT.js";
2
+ import { c as a, s } from "./createStyled-CUatW1r9.js";
3
+ const t = r(), e = (o) => s(o) && o !== "classes", l = s, m = a({
4
+ defaultTheme: t,
5
+ rootShouldForwardProp: e
6
+ });
7
+ export {
8
+ l as a,
9
+ t as d,
10
+ e as r,
11
+ m as s
12
+ };
@@ -0,0 +1,25 @@
1
+ import { a as y } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
+ function E(o, e) {
3
+ if (process.env.NODE_ENV === "production")
4
+ return () => null;
5
+ const t = e ? y({}, e.propTypes) : null;
6
+ return (n) => (r, u, f, d, p, ...a) => {
7
+ const i = p || u, s = t == null ? void 0 : t[i];
8
+ if (s) {
9
+ const l = s(r, u, f, d, p, ...a);
10
+ if (l)
11
+ return l;
12
+ }
13
+ return typeof r[u] < "u" && !r[n] ? new Error(`The prop \`${i}\` of \`${o}\` can only be used together with the \`${n}\` prop.`) : null;
14
+ };
15
+ }
16
+ function v(o, e, t, c, n) {
17
+ if (process.env.NODE_ENV === "production")
18
+ return null;
19
+ const r = n || e;
20
+ return typeof o[e] < "u" ? new Error(`The prop \`${r}\` is not supported. Please remove it.`) : null;
21
+ }
22
+ export {
23
+ E as r,
24
+ v as u
25
+ };
@@ -1,10 +1,10 @@
1
1
  import * as o from "react";
2
- import { b as r } from "./styled-LNCprp4n.js";
3
- import { d as t } from "./useThemeProps-uYx_RkOH.js";
4
- function u() {
2
+ import { d as r } from "./styled-DkqItiLo.js";
3
+ import { u as t } from "./useTheme-GN5Dc3mG.js";
4
+ function s() {
5
5
  const e = t(r);
6
6
  return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e;
7
7
  }
8
8
  export {
9
- u
9
+ s as u
10
10
  };
@@ -0,0 +1,18 @@
1
+ import * as n from "react";
2
+ import { ThemeContext as o } from "@emotion/react";
3
+ import { b as m } from "./createTheme-DrgvKMA_.js";
4
+ function r(e) {
5
+ return Object.keys(e).length === 0;
6
+ }
7
+ function s(e = null) {
8
+ const t = n.useContext(o);
9
+ return !t || r(t) ? e : t;
10
+ }
11
+ const u = m();
12
+ function f(e = u) {
13
+ return s(e);
14
+ }
15
+ export {
16
+ s as a,
17
+ f as u
18
+ };
@@ -0,0 +1,95 @@
1
+ import { g as h } from "./createTheme-DVoJnXAT.js";
2
+ import { d as a } from "./styled-DkqItiLo.js";
3
+ import { a as u } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
4
+ import { u as g } from "./useTheme-GN5Dc3mG.js";
5
+ function c(n) {
6
+ var e, s, t = "";
7
+ if (typeof n == "string" || typeof n == "number") t += n;
8
+ else if (typeof n == "object") if (Array.isArray(n)) for (e = 0; e < n.length; e++) n[e] && (s = c(n[e])) && (t && (t += " "), t += s);
9
+ else for (e in n) n[e] && (t && (t += " "), t += e);
10
+ return t;
11
+ }
12
+ function E() {
13
+ for (var n, e, s = 0, t = ""; s < arguments.length; ) (n = arguments[s++]) && (e = c(n)) && (t && (t += " "), t += e);
14
+ return t;
15
+ }
16
+ function O(n, e) {
17
+ return process.env.NODE_ENV === "production" ? () => null : function(...t) {
18
+ return n(...t) || e(...t);
19
+ };
20
+ }
21
+ function l(n, e) {
22
+ const s = u({}, e);
23
+ return Object.keys(n).forEach((t) => {
24
+ if (t.toString().match(/^(components|slots)$/))
25
+ s[t] = u({}, n[t], s[t]);
26
+ else if (t.toString().match(/^(componentsProps|slotProps)$/)) {
27
+ const r = n[t] || {}, o = e[t];
28
+ s[t] = {}, !o || !Object.keys(o) ? s[t] = r : !r || !Object.keys(r) ? s[t] = o : (s[t] = u({}, o), Object.keys(r).forEach((i) => {
29
+ s[t][i] = l(r[i], o[i]);
30
+ }));
31
+ } else s[t] === void 0 && (s[t] = n[t]);
32
+ }), s;
33
+ }
34
+ function T(n, e, s = void 0) {
35
+ const t = {};
36
+ return Object.keys(n).forEach(
37
+ // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
38
+ // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
39
+ (r) => {
40
+ t[r] = n[r].reduce((o, i) => {
41
+ if (i) {
42
+ const f = e(i);
43
+ f !== "" && o.push(f), s && s[i] && o.push(s[i]);
44
+ }
45
+ return o;
46
+ }, []).join(" ");
47
+ }
48
+ ), t;
49
+ }
50
+ function v(n, e, s = "Mui") {
51
+ const t = {};
52
+ return e.forEach((r) => {
53
+ t[r] = h(n, r, s);
54
+ }), t;
55
+ }
56
+ function m(n) {
57
+ const {
58
+ theme: e,
59
+ name: s,
60
+ props: t
61
+ } = n;
62
+ return !e || !e.components || !e.components[s] || !e.components[s].defaultProps ? t : l(e.components[s].defaultProps, t);
63
+ }
64
+ function d({
65
+ props: n,
66
+ name: e,
67
+ defaultTheme: s,
68
+ themeId: t
69
+ }) {
70
+ let r = g(s);
71
+ return t && (r = r[t] || r), m({
72
+ theme: r,
73
+ name: e,
74
+ props: n
75
+ });
76
+ }
77
+ function C({
78
+ props: n,
79
+ name: e
80
+ }) {
81
+ return d({
82
+ props: n,
83
+ name: e,
84
+ defaultTheme: a
85
+ });
86
+ }
87
+ export {
88
+ T as a,
89
+ O as b,
90
+ E as c,
91
+ m as d,
92
+ v as g,
93
+ l as r,
94
+ C as u
95
+ };
@@ -1,6 +1,6 @@
1
- import { a as D } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
2
- import { _ as C, d as S } from "./ButtonBase-D0qccOVb.js";
3
- import { P as i } from "./createStyled-BzvgQjjR.js";
1
+ import { _ as D } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
+ import { _ as C, T as S } from "./ButtonBase-CgQC8DUB.js";
3
+ import { P as i } from "./createTheme-DrgvKMA_.js";
4
4
  import v from "react";
5
5
  import b from "react-dom";
6
6
  const N = {
@@ -23,7 +23,7 @@ var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
23
23
  exitActive: i.string
24
24
  })]) : null, y = function(a) {
25
25
  return a.scrollTop;
26
- }, x = "unmounted", f = "exited", c = "entering", h = "entered", g = "exiting", l = /* @__PURE__ */ function(u) {
26
+ }, x = "unmounted", f = "exited", c = "entering", h = "entered", T = "exiting", l = /* @__PURE__ */ function(u) {
27
27
  C(a, u);
28
28
  function a(r, e) {
29
29
  var t;
@@ -46,7 +46,7 @@ var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
46
46
  var t = null;
47
47
  if (e !== this.props) {
48
48
  var n = this.state.status;
49
- this.props.in ? n !== c && n !== h && (t = c) : (n === c || n === h) && (t = g);
49
+ this.props.in ? n !== c && n !== h && (t = c) : (n === c || n === h) && (t = T);
50
50
  }
51
51
  this.updateStatus(!1, t);
52
52
  }, o.componentWillUnmount = function() {
@@ -72,7 +72,7 @@ var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
72
72
  status: x
73
73
  });
74
74
  }, o.performEnter = function(e) {
75
- var t = this, n = this.props.enter, s = this.context ? this.context.isMounting : e, p = this.props.nodeRef ? [s] : [b.findDOMNode(this), s], d = p[0], m = p[1], T = this.getTimeouts(), O = s ? T.appear : T.enter;
75
+ var t = this, n = this.props.enter, s = this.context ? this.context.isMounting : e, p = this.props.nodeRef ? [s] : [b.findDOMNode(this), s], d = p[0], m = p[1], g = this.getTimeouts(), O = s ? g.appear : g.enter;
76
76
  if (!e && !n || N.disabled) {
77
77
  this.safeSetState({
78
78
  status: h
@@ -103,7 +103,7 @@ var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
103
103
  return;
104
104
  }
105
105
  this.props.onExit(s), this.safeSetState({
106
- status: g
106
+ status: T
107
107
  }, function() {
108
108
  e.props.onExiting(s), e.onTransitionEnd(n.exit, function() {
109
109
  e.safeSetState({
@@ -341,7 +341,7 @@ l.UNMOUNTED = x;
341
341
  l.EXITED = f;
342
342
  l.ENTERING = c;
343
343
  l.ENTERED = h;
344
- l.EXITING = g;
344
+ l.EXITING = T;
345
345
  const U = (u) => u.scrollTop;
346
346
  function w(u, a) {
347
347
  var o, r;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hybridcore/ui",
3
3
  "description": "Hybrid Core UI Library",
4
- "version": "1.4.30",
4
+ "version": "1.4.32",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",