@midas-ds/components 1.0.3 → 1.2.3

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 (185) hide show
  1. package/CHANGELOG.md +39 -1
  2. package/accordion/Accordion.d.ts +8 -8
  3. package/accordion/AccordionItem.d.ts +11 -3
  4. package/accordion/index.d.ts +0 -3
  5. package/global.css +1 -0
  6. package/index.cjs +138 -0
  7. package/index.css +1 -1
  8. package/index.d.ts +0 -1
  9. package/index.js +27067 -110
  10. package/package.json +21 -4
  11. package/theme.cjs +1 -0
  12. package/tokens-BskyMDHv.cjs +1 -0
  13. package/Breadcrumbs.css +0 -1
  14. package/Button-B4vMZbC6.js +0 -182
  15. package/Button.css +0 -1
  16. package/ButtonGroup.css +0 -1
  17. package/Card.css +0 -1
  18. package/Checkbox-DnKWanep.js +0 -402
  19. package/Checkbox.css +0 -1
  20. package/Collection-COLWgm24.js +0 -510
  21. package/ComboBox.css +0 -1
  22. package/DatePicker.css +0 -1
  23. package/Dialog-Cb6toyXO.js +0 -1951
  24. package/DragAndDrop-B0T3WgjL.js +0 -40
  25. package/Dropdown.css +0 -1
  26. package/FileUpload.css +0 -1
  27. package/Flex.css +0 -1
  28. package/Flex.module-CpoxBzQX.js +0 -37
  29. package/FocusScope-C8i7CH6y.js +0 -513
  30. package/Form-BQQs3jUk.js +0 -238
  31. package/Grid.css +0 -1
  32. package/Grid.module-Ia0e9Dix.js +0 -36
  33. package/Group-CdwXhx8Q.js +0 -42
  34. package/Hidden-DngIphiL.js +0 -37
  35. package/InfoBanner.css +0 -1
  36. package/Layout.css +0 -1
  37. package/Link-iAZLB3RI.js +0 -75
  38. package/Link.css +0 -1
  39. package/LinkButton.css +0 -1
  40. package/ListBox-BKWkIIm6.js +0 -474
  41. package/ListKeyboardDelegate-BH-K5hyq.js +0 -172
  42. package/Logo.css +0 -1
  43. package/Modal.css +0 -1
  44. package/MultiSelect.css +0 -1
  45. package/PressResponder-Cz-TRBHO.js +0 -31
  46. package/RSPContexts-EOiWkKOf.js +0 -11
  47. package/Radio.css +0 -1
  48. package/SearchField.css +0 -1
  49. package/Select.css +0 -1
  50. package/SelectionManager-8o40f7mx.js +0 -1047
  51. package/Separator-BlvmQjwz.js +0 -49
  52. package/Spinner.css +0 -1
  53. package/Table.css +0 -1
  54. package/Tabs.css +0 -1
  55. package/Tag--W5TgxmK.js +0 -728
  56. package/Tag.css +0 -1
  57. package/Text-CQPW6xs7.js +0 -15
  58. package/TextArea.css +0 -1
  59. package/TextField-DeK_yiK-.js +0 -225
  60. package/TextField.css +0 -1
  61. package/TextField.module-0-u4LVPp.js +0 -143
  62. package/Toast.css +0 -1
  63. package/VisuallyHidden-CFx06Bae.js +0 -39
  64. package/accordion/AccordionContent.d.ts +0 -3
  65. package/accordion/AccordionTagContext.d.ts +0 -3
  66. package/accordion/AccordionTrigger.d.ts +0 -3
  67. package/chevron-down-Cd1bkzXT.js +0 -13
  68. package/chevron-right-DBMc9VMi.js +0 -23
  69. package/clsx-OuTLNxxd.js +0 -16
  70. package/context-Bnqknrce.js +0 -80
  71. package/createLucideIcon-DeWljiyi.js +0 -79
  72. package/index-B-jHjTDC.js +0 -120
  73. package/index-BPdc9gJ8.js +0 -3122
  74. package/index-DK9ZACEc.js +0 -642
  75. package/index-KSgQWWiy.js +0 -26984
  76. package/index10.js +0 -4
  77. package/index11.js +0 -5
  78. package/index12.js +0 -4
  79. package/index13.js +0 -4
  80. package/index14.js +0 -4
  81. package/index15.js +0 -6
  82. package/index16.js +0 -6
  83. package/index17.js +0 -6
  84. package/index18.js +0 -4
  85. package/index19.js +0 -6
  86. package/index2.js +0 -8
  87. package/index20.js +0 -6
  88. package/index21.js +0 -4
  89. package/index22.js +0 -5
  90. package/index23.js +0 -5
  91. package/index24.js +0 -5
  92. package/index25.js +0 -6
  93. package/index26.js +0 -6
  94. package/index27.js +0 -6
  95. package/index28.js +0 -4
  96. package/index29.js +0 -12
  97. package/index3.js +0 -6
  98. package/index31.js +0 -22
  99. package/index32.js +0 -14
  100. package/index33.js +0 -11
  101. package/index34.js +0 -31
  102. package/index35.js +0 -8
  103. package/index36.js +0 -9
  104. package/index37.js +0 -19
  105. package/index38.js +0 -9
  106. package/index39.js +0 -9
  107. package/index4.js +0 -4
  108. package/index40.js +0 -16
  109. package/index41.js +0 -16
  110. package/index42.js +0 -31
  111. package/index43.js +0 -16
  112. package/index44.js +0 -6
  113. package/index45.js +0 -53
  114. package/index46.js +0 -18
  115. package/index47.js +0 -27
  116. package/index48.js +0 -18
  117. package/index49.js +0 -21
  118. package/index5.js +0 -5
  119. package/index50.js +0 -49
  120. package/index51.js +0 -5
  121. package/index52.js +0 -25
  122. package/index53.js +0 -18
  123. package/index54.js +0 -9
  124. package/index55.js +0 -25
  125. package/index56.js +0 -18
  126. package/index57.js +0 -11
  127. package/index58.js +0 -12
  128. package/index59.js +0 -15
  129. package/index6.js +0 -4
  130. package/index60.js +0 -9
  131. package/index61.js +0 -9
  132. package/index62.js +0 -19
  133. package/index63.js +0 -22
  134. package/index64.js +0 -61
  135. package/index65.js +0 -15
  136. package/index66.js +0 -11
  137. package/index67.js +0 -63
  138. package/index68.js +0 -85
  139. package/index69.js +0 -74
  140. package/index7.js +0 -9
  141. package/index70.js +0 -24
  142. package/index71.js +0 -69
  143. package/index72.js +0 -80
  144. package/index73.js +0 -140
  145. package/index74.js +0 -70
  146. package/index75.js +0 -42
  147. package/index76.js +0 -82
  148. package/index77.js +0 -71
  149. package/index78.js +0 -104
  150. package/index79.js +0 -274
  151. package/index8.js +0 -4
  152. package/index80.js +0 -723
  153. package/index81.js +0 -489
  154. package/index82.js +0 -314
  155. package/index83.js +0 -389
  156. package/index84.js +0 -252
  157. package/index85.js +0 -1363
  158. package/index86.js +0 -1009
  159. package/index87.js +0 -386
  160. package/index88.js +0 -2101
  161. package/index89.js +0 -2369
  162. package/index9.js +0 -5
  163. package/index90.js +0 -6836
  164. package/index91.js +0 -17
  165. package/index92.js +0 -14
  166. package/index93.js +0 -6
  167. package/index94.js +0 -9
  168. package/intlStrings-Cd44R5hT.js +0 -278
  169. package/react.esm-sMU8Z7rL.js +0 -11060
  170. package/triangle-alert-1OYl9KWz.js +0 -56
  171. package/useControlledState-DrAoodI6.js +0 -45
  172. package/useDescription-BPs7eRff.js +0 -32
  173. package/useField-Dz62UHCP.js +0 -67
  174. package/useFilter-ViwzkzZe.js +0 -35
  175. package/useFocusRing-BKGhL91C.js +0 -1297
  176. package/useFocusable-CRSmYEQc.js +0 -59
  177. package/useGridSelectionCheckbox-CVEvUCJL.js +0 -22
  178. package/useHasTabbableChild-C8y4fwiY.js +0 -34
  179. package/useHighlightSelectionDescription-CD74uzLh.js +0 -552
  180. package/useListState-DKnP5TB5.js +0 -119
  181. package/useLocalizedStringFormatter-DsZ-ZWSk.js +0 -96
  182. package/useSingleSelectListState-BHTLh8Ob.js +0 -34
  183. package/useUpdateEffect-Dtz-i14F.js +0 -12
  184. package/x-JK7i-TQC.js +0 -14
  185. /package/{index30.js → theme.js} +0 -0
package/index-B-jHjTDC.js DELETED
@@ -1,120 +0,0 @@
1
- import w from "react";
2
- var m = { exports: {} }, y = {};
3
- /**
4
- * @license React
5
- * use-sync-external-store-shim.production.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var L;
13
- function T() {
14
- if (L) return y;
15
- L = 1;
16
- var s = w;
17
- function l(t, o) {
18
- return t === o && (t !== 0 || 1 / t === 1 / o) || t !== t && o !== o;
19
- }
20
- var c = typeof Object.is == "function" ? Object.is : l, _ = s.useState, u = s.useEffect, d = s.useLayoutEffect, p = s.useDebugValue;
21
- function E(t, o) {
22
- var e = o(), n = _({ inst: { value: e, getSnapshot: o } }), r = n[0].inst, a = n[1];
23
- return d(
24
- function() {
25
- r.value = e, r.getSnapshot = o, f(r) && a({ inst: r });
26
- },
27
- [t, e, o]
28
- ), u(
29
- function() {
30
- return f(r) && a({ inst: r }), t(function() {
31
- f(r) && a({ inst: r });
32
- });
33
- },
34
- [t]
35
- ), p(e), e;
36
- }
37
- function f(t) {
38
- var o = t.getSnapshot;
39
- t = t.value;
40
- try {
41
- var e = o();
42
- return !c(t, e);
43
- } catch {
44
- return !0;
45
- }
46
- }
47
- function O(t, o) {
48
- return o();
49
- }
50
- var S = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? O : E;
51
- return y.useSyncExternalStore = s.useSyncExternalStore !== void 0 ? s.useSyncExternalStore : S, y;
52
- }
53
- var h = {};
54
- /**
55
- * @license React
56
- * use-sync-external-store-shim.development.js
57
- *
58
- * Copyright (c) Meta Platforms, Inc. and affiliates.
59
- *
60
- * This source code is licensed under the MIT license found in the
61
- * LICENSE file in the root directory of this source tree.
62
- */
63
- var x;
64
- function A() {
65
- return x || (x = 1, process.env.NODE_ENV !== "production" && function() {
66
- function s(e, n) {
67
- return e === n && (e !== 0 || 1 / e === 1 / n) || e !== e && n !== n;
68
- }
69
- function l(e, n) {
70
- S || u.startTransition === void 0 || (S = !0, console.error(
71
- "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."
72
- ));
73
- var r = n();
74
- if (!t) {
75
- var a = n();
76
- d(r, a) || (console.error(
77
- "The result of getSnapshot should be cached to avoid an infinite loop"
78
- ), t = !0);
79
- }
80
- a = p({
81
- inst: { value: r, getSnapshot: n }
82
- });
83
- var i = a[0].inst, v = a[1];
84
- return f(
85
- function() {
86
- i.value = r, i.getSnapshot = n, c(i) && v({ inst: i });
87
- },
88
- [e, r, n]
89
- ), E(
90
- function() {
91
- return c(i) && v({ inst: i }), e(function() {
92
- c(i) && v({ inst: i });
93
- });
94
- },
95
- [e]
96
- ), O(r), r;
97
- }
98
- function c(e) {
99
- var n = e.getSnapshot;
100
- e = e.value;
101
- try {
102
- var r = n();
103
- return !d(e, r);
104
- } catch {
105
- return !0;
106
- }
107
- }
108
- function _(e, n) {
109
- return n();
110
- }
111
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
112
- var u = w, d = typeof Object.is == "function" ? Object.is : s, p = u.useState, E = u.useEffect, f = u.useLayoutEffect, O = u.useDebugValue, S = !1, t = !1, o = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? _ : l;
113
- h.useSyncExternalStore = u.useSyncExternalStore !== void 0 ? u.useSyncExternalStore : o, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
114
- }()), h;
115
- }
116
- process.env.NODE_ENV === "production" ? m.exports = T() : m.exports = A();
117
- var D = m.exports;
118
- export {
119
- D as s
120
- };