@hybridcore/ui 1.6.17 → 1.6.19

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 (56) hide show
  1. package/dist/{AccordionSummary-DUtr16g6.js → AccordionSummary-c6-Buzbq.js} +186 -185
  2. package/dist/Add-CB4mPrke.js +77 -0
  3. package/dist/Alert-BsT46Tgd.js +334 -0
  4. package/dist/{Button-Cem3nbwc.js → Button-BMUZn0cT.js} +3 -3
  5. package/dist/ButtonBase-DG5J0YgP.js +823 -0
  6. package/dist/Delete-ofipLwkd.js +23 -0
  7. package/dist/{FormGroup-BRj1o7-E.js → FormGroup-LH368jad.js} +2 -2
  8. package/dist/{Delete-CVJ6FeDn.js → IconButton-SJfF1cr9.js} +71 -90
  9. package/dist/{InputLabel-CjD30ZHz.js → InputLabel-jPm6Xuco.js} +2 -2
  10. package/dist/{MenuItem-BKvRGLvM.js → MenuItem-BjnnhDbD.js} +5 -5
  11. package/dist/{Modal-BVYydOr5.js → Modal-Djf5pMjD.js} +10 -9
  12. package/dist/{Paper-B1HV8GyO.js → Paper-BFDcMa0t.js} +99 -99
  13. package/dist/{Select-Bfhvigsx.js → Select-nL91eUH9.js} +16 -15
  14. package/dist/{SwitchBase-BEK49kdS.js → SwitchBase-BcJAJYsB.js} +4 -4
  15. package/dist/{TextField-Ca9ykixI.js → TextField-Db63_GNb.js} +19 -19
  16. package/dist/TransitionGroupContext-C_aW1Tei.js +37 -0
  17. package/dist/{Typography-D3X-Y5fh.js → Typography-B_LKrxyI.js} +2 -2
  18. package/dist/components/button/styled.js +1 -1
  19. package/dist/components/charts/forecast-cone/index.js +108 -48
  20. package/dist/components/charts/forecast-cone/logic.js +271 -191
  21. package/dist/components/charts/forecast-cone/styled.js +26 -5
  22. package/dist/components/collapsible-card/index.js +2 -2
  23. package/dist/components/collapsible-card/styled.js +1 -1
  24. package/dist/components/color-picker/index.js +5 -5
  25. package/dist/components/color-picker/styled.js +1 -1
  26. package/dist/components/confirm/dialog.js +2 -2
  27. package/dist/components/confirm/index.js +1 -1
  28. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  29. package/dist/components/duration-select/index.js +1 -1
  30. package/dist/components/duration-select/styled.js +1 -1
  31. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  32. package/dist/components/range-selector/components/enum-range/index.js +66 -0
  33. package/dist/components/range-selector/index.js +40 -30
  34. package/dist/components/range-selector/styled.js +11 -11
  35. package/dist/components/sortable-list/index.js +3 -3
  36. package/dist/components/template-form/components/property-list/index.js +30 -28
  37. package/dist/components/template-form/components/property-list/property-list-columns.js +23 -22
  38. package/dist/components/template-form/components/property-list/property-list-form.js +264 -223
  39. package/dist/components/template-form/components/recognition-property-list/index.js +16 -15
  40. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +4 -3
  41. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  42. package/dist/components/tree-select/index.js +1 -1
  43. package/dist/{createSvgIcon-D7U1nd99.js → createSvgIcon-Bx0mTP6n.js} +2 -2
  44. package/dist/{createSvgIcon-BghzB2Y9.js → createSvgIcon-jKAqRXE2.js} +8 -8
  45. package/dist/{dialog-BtJhjyF5.js → dialog-CNxZ7uox.js} +6 -6
  46. package/dist/main.d.ts +44 -1
  47. package/dist/{generateUtilityClasses-Cc-owZ4J.js → styled-Ckq8ALHh.js} +907 -905
  48. package/dist/{styled-DD4BkuVf.js → styled-DObpn_Bi.js} +5 -5
  49. package/dist/useIsFocusVisible-BHPF-Pml.js +69 -0
  50. package/dist/{useSlot-u4t0X96G.js → useSlot-gpKOd92R.js} +3 -3
  51. package/dist/useTimeout-CM6EsHyp.js +60 -0
  52. package/package.json +1 -1
  53. package/dist/Add-Bk8R160M.js +0 -403
  54. package/dist/ButtonBase-DObmf4Q_.js +0 -886
  55. package/dist/TransitionGroupContext-Ja2CgIob.js +0 -96
  56. package/dist/{extends-C3382pL0.js → objectWithoutPropertiesLoose-DJteAcBH.js} +9 -9
@@ -1,96 +0,0 @@
1
- import { P as u } from "./index-CblbdqjE.js";
2
- import * as r from "react";
3
- import p from "react";
4
- import { _ as d } from "./setPrototypeOf-NPgp4cYc.js";
5
- const _ = u.oneOfType([u.func, u.object]);
6
- function m(e, t) {
7
- return process.env.NODE_ENV === "production" ? () => null : function(...o) {
8
- return e(...o) || t(...o);
9
- };
10
- }
11
- function y(e) {
12
- const {
13
- prototype: t = {}
14
- } = e;
15
- return !!t.isReactComponent;
16
- }
17
- function h(e, t, n, o, a) {
18
- const c = e[t], l = a || t;
19
- if (c == null || // When server-side rendering React doesn't warn either.
20
- // This is not an accurate check for SSR.
21
- // This is only in place for emotion compat.
22
- // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
23
- typeof window > "u")
24
- return null;
25
- let s;
26
- return typeof c == "function" && !y(c) && (s = "Did you accidentally provide a plain function component instead?"), s !== void 0 ? new Error(`Invalid ${o} \`${l}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
27
- }
28
- const O = m(u.elementType, h);
29
- function E(e, t) {
30
- typeof e == "function" ? e(t) : e && (e.current = t);
31
- }
32
- function $(...e) {
33
- return r.useMemo(() => e.every((t) => t == null) ? null : (t) => {
34
- e.forEach((n) => {
35
- E(n, t);
36
- });
37
- }, e);
38
- }
39
- const T = typeof window < "u" ? r.useLayoutEffect : r.useEffect;
40
- function b(e) {
41
- const t = r.useRef(e);
42
- return T(() => {
43
- t.current = e;
44
- }), r.useRef((...n) => (
45
- // @ts-expect-error hide `this`
46
- (0, t.current)(...n)
47
- )).current;
48
- }
49
- const f = {};
50
- function I(e, t) {
51
- const n = r.useRef(f);
52
- return n.current === f && (n.current = e(t)), n;
53
- }
54
- const R = [];
55
- function w(e) {
56
- r.useEffect(e, R);
57
- }
58
- class i {
59
- constructor() {
60
- this.currentId = null, this.clear = () => {
61
- this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
62
- }, this.disposeEffect = () => this.clear;
63
- }
64
- static create() {
65
- return new i();
66
- }
67
- /**
68
- * Executes `fn` after `delay`, clearing any previously scheduled call.
69
- */
70
- start(t, n) {
71
- this.clear(), this.currentId = setTimeout(() => {
72
- this.currentId = null, n();
73
- }, t);
74
- }
75
- }
76
- function x() {
77
- const e = I(i.create).current;
78
- return w(e.disposeEffect), e;
79
- }
80
- function L(e, t) {
81
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, d(e, t);
82
- }
83
- const N = p.createContext(null);
84
- export {
85
- i as T,
86
- L as _,
87
- T as a,
88
- b,
89
- m as c,
90
- N as d,
91
- x as e,
92
- O as f,
93
- _ as r,
94
- E as s,
95
- $ as u
96
- };
@@ -1,12 +1,3 @@
1
- function i(r, e) {
2
- if (r == null) return {};
3
- var t = {};
4
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
5
- if (e.includes(n)) continue;
6
- t[n] = r[n];
7
- }
8
- return t;
9
- }
10
1
  function a() {
11
2
  return a = Object.assign ? Object.assign.bind() : function(r) {
12
3
  for (var e = 1; e < arguments.length; e++) {
@@ -16,6 +7,15 @@ function a() {
16
7
  return r;
17
8
  }, a.apply(null, arguments);
18
9
  }
10
+ function i(r, e) {
11
+ if (r == null) return {};
12
+ var t = {};
13
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
14
+ if (e.includes(n)) continue;
15
+ t[n] = r[n];
16
+ }
17
+ return t;
18
+ }
19
19
  export {
20
20
  i as _,
21
21
  a