neatkit 0.7.0 → 0.9.0

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 (179) hide show
  1. package/dist/Avatar-Belo7qAY.cjs +1 -0
  2. package/dist/Avatar-DjDCFqNG.js +55 -0
  3. package/dist/Avatar.cjs +1 -1
  4. package/dist/Avatar.js +2 -52
  5. package/dist/Boundary.cjs +1 -0
  6. package/dist/Boundary.js +176 -0
  7. package/dist/Button-BV5OUXpc.js +101 -0
  8. package/dist/Button-DU4j_IED.cjs +1 -0
  9. package/dist/Button.cjs +1 -1
  10. package/dist/Button.js +1 -1
  11. package/dist/Checkbox.cjs +1 -1
  12. package/dist/Checkbox.js +213 -2
  13. package/dist/Code-B7s_rN0G.cjs +4 -0
  14. package/dist/Code-Bp2X1k-g.js +224 -0
  15. package/dist/Code.cjs +1 -1
  16. package/dist/Code.js +1 -1
  17. package/dist/Divider-C7XGlr26.cjs +1 -0
  18. package/dist/{Divider-BE15WVDI.js → Divider-DZgpYpr-.js} +1 -1
  19. package/dist/Divider.cjs +1 -1
  20. package/dist/Divider.js +1 -1
  21. package/dist/Icon-BIBzgznI.cjs +1 -0
  22. package/dist/{Icon-uQmpr5P2.js → Icon-CxK1wlGk.js} +194 -181
  23. package/dist/Icon.cjs +1 -1
  24. package/dist/Icon.js +2 -35
  25. package/dist/Input.cjs +1 -1
  26. package/dist/Input.js +70 -79
  27. package/dist/Markdown.cjs +1 -31
  28. package/dist/Markdown.js +469 -18066
  29. package/dist/Modal.cjs +1 -1
  30. package/dist/Modal.js +100 -122
  31. package/dist/PinInput.cjs +1 -1
  32. package/dist/PinInput.js +1 -1
  33. package/dist/Popover.cjs +1 -1
  34. package/dist/Popover.js +171 -165
  35. package/dist/Radio.cjs +1 -1
  36. package/dist/Radio.js +86 -41
  37. package/dist/Select.cjs +1 -1
  38. package/dist/Select.js +326 -315
  39. package/dist/Sidebar.cjs +1 -0
  40. package/dist/Sidebar.js +490 -0
  41. package/dist/Skeleton.cjs +1 -1
  42. package/dist/Skeleton.js +20 -16
  43. package/dist/Switch.cjs +1 -1
  44. package/dist/Switch.js +1 -1
  45. package/dist/Table-CADupJEU.js +423 -0
  46. package/dist/Table-qetwZpTC.cjs +1 -0
  47. package/dist/Table.cjs +1 -1
  48. package/dist/Table.js +1 -1
  49. package/dist/TextArea.cjs +1 -1
  50. package/dist/TextArea.js +1 -1
  51. package/dist/Tooltip-B2d5ss7S.cjs +1 -0
  52. package/dist/Tooltip-BK64rkxV.js +231 -0
  53. package/dist/Tooltip.cjs +1 -1
  54. package/dist/Tooltip.js +2 -3
  55. package/dist/albert-sans-cb3e34c4.woff2 +0 -0
  56. package/dist/aria-Bntn6ad_.cjs +1 -0
  57. package/dist/aria-CeA9QfD1.js +15 -0
  58. package/dist/components/Boundary/Boundary.d.ts +65 -0
  59. package/dist/components/Boundary/contexts/BoundaryContext.d.ts +28 -0
  60. package/dist/components/Boundary/hooks/useBoundary.d.ts +19 -0
  61. package/dist/components/Boundary/hooks/useBoundaryWidth.d.ts +23 -0
  62. package/dist/components/Boundary/index.d.ts +2 -0
  63. package/dist/components/Boundary/utils/width.d.ts +11 -0
  64. package/dist/components/Checkbox/Checkbox.d.ts +9 -1
  65. package/dist/components/{CheckboxGroup → Checkbox/components}/CheckboxGroup.d.ts +2 -2
  66. package/dist/components/Checkbox/index.d.ts +1 -0
  67. package/dist/components/Checkbox/utils/checkbox-option.d.ts +17 -0
  68. package/dist/components/Icon/Icon.d.ts +1 -0
  69. package/dist/components/Icon/icons/GearIcon.d.ts +11 -0
  70. package/dist/components/Icon/icons/ImageIcon.d.ts +11 -0
  71. package/dist/components/Icon/index.d.ts +0 -33
  72. package/dist/components/Icon/utils/registry.d.ts +2 -0
  73. package/dist/components/Input/Input.d.ts +1 -9
  74. package/dist/components/Modal/Modal.d.ts +0 -4
  75. package/dist/components/PinInput/PinInput.d.ts +1 -1
  76. package/dist/components/Popover/Popover.d.ts +2 -6
  77. package/dist/components/Portal/Portal.d.ts +11 -8
  78. package/dist/components/Portal/hooks/useDismissableLayer.d.ts +2 -0
  79. package/dist/components/Portal/hooks/useFloatingPosition.d.ts +4 -3
  80. package/dist/components/Portal/hooks/useFocusTrap.d.ts +2 -0
  81. package/dist/components/Portal/hooks/useScrollLock.d.ts +9 -3
  82. package/dist/components/Portal/utils/boundary-focus.d.ts +23 -0
  83. package/dist/components/Portal/utils/floating-position.d.ts +43 -9
  84. package/dist/components/Portal/utils/overlay-stack.d.ts +22 -10
  85. package/dist/components/Portal/utils/scroll-container.d.ts +13 -0
  86. package/dist/components/Radio/Radio.d.ts +9 -1
  87. package/dist/components/{RadioGroup → Radio/components}/RadioGroup.d.ts +9 -2
  88. package/dist/components/Radio/index.d.ts +1 -0
  89. package/dist/components/Select/Select.d.ts +0 -2
  90. package/dist/components/Select/utils/listbox-position.d.ts +28 -0
  91. package/dist/components/Sidebar/Sidebar.d.ts +113 -0
  92. package/dist/components/Sidebar/components/SidebarFooter.d.ts +24 -0
  93. package/dist/components/Sidebar/components/SidebarGroup.d.ts +31 -0
  94. package/dist/components/Sidebar/components/SidebarHeader.d.ts +29 -0
  95. package/dist/components/Sidebar/components/SidebarItem.d.ts +46 -0
  96. package/dist/components/Sidebar/components/SidebarOverlay.d.ts +38 -0
  97. package/dist/components/Sidebar/components/SidebarPanel.d.ts +47 -0
  98. package/dist/components/Sidebar/components/SidebarTrigger.d.ts +47 -0
  99. package/dist/components/Sidebar/components/SidebarUser.d.ts +59 -0
  100. package/dist/components/Sidebar/hooks/usePresentation.d.ts +14 -0
  101. package/dist/components/Sidebar/hooks/useSidebar.d.ts +9 -0
  102. package/dist/components/Sidebar/index.d.ts +2 -0
  103. package/dist/components/Sidebar/utils/presentation.d.ts +12 -0
  104. package/dist/components/Sidebar/utils/state.d.ts +62 -0
  105. package/dist/components/Skeleton/Skeleton.d.ts +21 -5
  106. package/dist/components/Table/Table.d.ts +21 -249
  107. package/dist/components/Table/components/TableAction.d.ts +18 -0
  108. package/dist/components/Table/components/TableActionCell.d.ts +15 -0
  109. package/dist/components/Table/components/TableActionHeaderCell.d.ts +13 -0
  110. package/dist/components/Table/components/TableBody.d.ts +27 -0
  111. package/dist/components/Table/components/TableCell.d.ts +42 -0
  112. package/dist/components/Table/components/TableFoot.d.ts +19 -0
  113. package/dist/components/Table/components/TableHead.d.ts +19 -0
  114. package/dist/components/Table/components/TableHeaderCell.d.ts +23 -0
  115. package/dist/components/Table/components/TableRow.d.ts +67 -0
  116. package/dist/components/Table/contexts/TableContext.d.ts +4 -0
  117. package/dist/components/Table/hooks/useHorizontalOverflow.d.ts +25 -0
  118. package/dist/components/Table/index.d.ts +1 -1
  119. package/dist/components/Table/utils/cell.d.ts +25 -0
  120. package/dist/components/Table/utils/children.d.ts +18 -0
  121. package/dist/components/Table/utils/trigger.d.ts +54 -0
  122. package/dist/components/Tooltip/Tooltip.d.ts +10 -4
  123. package/dist/components/Tooltip/TooltipProvider.d.ts +1 -1
  124. package/dist/components/Tooltip/index.d.ts +0 -1
  125. package/dist/effects-D5CWf-Pl.js +8 -0
  126. package/dist/effects-D85L_7zM.cjs +1 -0
  127. package/dist/floating-position-DIjh2wnP.cjs +1 -0
  128. package/dist/floating-position-DvR6e334.js +50 -0
  129. package/dist/style.css +1 -1
  130. package/dist/tokens.d.ts +1 -0
  131. package/dist/useFloatingPosition-B3ZC-v3v.js +43 -0
  132. package/dist/useFloatingPosition-GzkP9dCc.cjs +1 -0
  133. package/dist/useFocusTrap-BrFZdMqQ.cjs +1 -0
  134. package/dist/useFocusTrap-DhVnlboe.js +136 -0
  135. package/dist/usePresence-B5RYv4e1.cjs +1 -0
  136. package/dist/usePresence-CqegYqy4.js +221 -0
  137. package/dist/useScrollLock-Drd7OZRC.js +62 -0
  138. package/dist/useScrollLock-Dy8MZaSn.cjs +1 -0
  139. package/dist/utils/aria.d.ts +9 -0
  140. package/dist/utils/effects.d.ts +12 -0
  141. package/package.json +12 -16
  142. package/dist/Button-BAsLfA0D.js +0 -99
  143. package/dist/Button-D7JUO6Fs.cjs +0 -1
  144. package/dist/Checkbox-BvXM9VyY.js +0 -68
  145. package/dist/Checkbox-VQifZrZZ.cjs +0 -1
  146. package/dist/CheckboxGroup.cjs +0 -1
  147. package/dist/CheckboxGroup.js +0 -144
  148. package/dist/Code-BP2ZCmUf.js +0 -7446
  149. package/dist/Code-eispVOW3.cjs +0 -6
  150. package/dist/Content.cjs +0 -1
  151. package/dist/Content.js +0 -144
  152. package/dist/Divider-CJYbFcSX.cjs +0 -1
  153. package/dist/Icon-D8IZceys.cjs +0 -1
  154. package/dist/RadioGroup.cjs +0 -1
  155. package/dist/RadioGroup.js +0 -51
  156. package/dist/RadioGroupContext-BX9KnDek.cjs +0 -1
  157. package/dist/RadioGroupContext-DbKM4zPZ.js +0 -5
  158. package/dist/Table-83unQQOi.cjs +0 -1
  159. package/dist/Table-Cw8u-pEW.js +0 -403
  160. package/dist/Tooltip-BB82wNOE.cjs +0 -1
  161. package/dist/Tooltip-CqWK_GRD.js +0 -236
  162. package/dist/aria-DHnOMyYp.js +0 -10
  163. package/dist/aria-DKxpE8cA.cjs +0 -1
  164. package/dist/components/CheckboxGroup/index.d.ts +0 -2
  165. package/dist/components/Content/Content.d.ts +0 -60
  166. package/dist/components/Content/hooks/useContentLayout.d.ts +0 -18
  167. package/dist/components/Content/index.d.ts +0 -2
  168. package/dist/components/Content/utils/layout.d.ts +0 -11
  169. package/dist/components/RadioGroup/index.d.ts +0 -2
  170. package/dist/useFloatingPosition-CxzhAvy8.js +0 -73
  171. package/dist/useFloatingPosition-D1FqYy0l.cjs +0 -1
  172. package/dist/useFocusTrap--cgjy78G.cjs +0 -1
  173. package/dist/useFocusTrap-Da4nEash.js +0 -134
  174. package/dist/usePresence-DSPt6aKi.js +0 -210
  175. package/dist/usePresence-qe92UTvK.cjs +0 -1
  176. /package/dist/components/{CheckboxGroup → Checkbox}/contexts/CheckboxGroupContext.d.ts +0 -0
  177. /package/dist/components/{CheckboxGroup → Checkbox}/hooks/useCheckboxGroup.d.ts +0 -0
  178. /package/dist/components/{RadioGroup → Radio}/contexts/RadioGroupContext.d.ts +0 -0
  179. /package/dist/components/{RadioGroup → Radio}/hooks/useRadioGroup.d.ts +0 -0
@@ -1,7 +1,7 @@
1
- import { forwardRef as l, createElement as p } from "react";
1
+ import { forwardRef as l, createElement as x } from "react";
2
2
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
3
- const x = l(function(t, e) {
4
- const { height: c = 14, width: n = 14, ...r } = t;
3
+ const C = l(function(t, e) {
4
+ const { height: c, width: n, ...r } = t;
5
5
  return /* @__PURE__ */ o(
6
6
  "svg",
7
7
  {
@@ -23,8 +23,8 @@ const x = l(function(t, e) {
23
23
  )
24
24
  }
25
25
  );
26
- }), C = l(function(t, e) {
27
- const { height: c = 14, width: n = 14, ...r } = t;
26
+ }), m = l(function(t, e) {
27
+ const { height: c, width: n, ...r } = t;
28
28
  return /* @__PURE__ */ o(
29
29
  "svg",
30
30
  {
@@ -47,8 +47,8 @@ const x = l(function(t, e) {
47
47
  )
48
48
  }
49
49
  );
50
- }), m = l(function(t, e) {
51
- const { height: c = 14, width: n = 14, ...r } = t;
50
+ }), I = l(function(t, e) {
51
+ const { height: c, width: n, ...r } = t;
52
52
  return /* @__PURE__ */ o(
53
53
  "svg",
54
54
  {
@@ -71,8 +71,8 @@ const x = l(function(t, e) {
71
71
  )
72
72
  }
73
73
  );
74
- }), I = l(function(t, e) {
75
- const { height: c = 14, width: n = 14, ...r } = t;
74
+ }), k = l(function(t, e) {
75
+ const { height: c, width: n, ...r } = t;
76
76
  return /* @__PURE__ */ s(
77
77
  "svg",
78
78
  {
@@ -117,8 +117,8 @@ const x = l(function(t, e) {
117
117
  ]
118
118
  }
119
119
  );
120
- }), k = l(function(t, e) {
121
- const { height: c = 14, width: n = 14, ...r } = t;
120
+ }), M = l(function(t, e) {
121
+ const { height: c, width: n, ...r } = t;
122
122
  return /* @__PURE__ */ o(
123
123
  "svg",
124
124
  {
@@ -132,8 +132,8 @@ const x = l(function(t, e) {
132
132
  children: /* @__PURE__ */ o("path", { fill: "currentColor", d: "M13 2.229c0-.413-.112-.818-.324-1.17a2.2 2.2 0 0 0-.88-.822A2.15 2.15 0 0 0 9.51.441c-.325.246-.577.58-.726.964a2.27 2.27 0 0 0 .4 2.303c.27.308.618.534 1.006.652v.095c0 .507-.197.992-.548 1.35a1.86 1.86 0 0 1-1.325.559H5.82c-.675.007-1.33.23-1.874.636V4.36a2.2 2.2 0 0 0 1.218-.936A2.26 2.26 0 0 0 4.751.542 2.16 2.16 0 0 0 3.322 0c-.525 0-1.032.193-1.43.542a2.26 2.26 0 0 0-.413 2.882c.283.451.716.783 1.219.936v5.28a2.2 2.2 0 0 0-1.218.936 2.26 2.26 0 0 0 .413 2.882c.397.35.904.542 1.43.542.524 0 1.031-.193 1.428-.542a2.26 2.26 0 0 0 .413-2.882 2.2 2.2 0 0 0-1.218-.936v-.095c0-.507.198-.992.55-1.35a1.86 1.86 0 0 1 1.324-.559h2.497c.828 0 1.622-.335 2.208-.931a3.2 3.2 0 0 0 .914-2.25V4.36c.45-.137.846-.418 1.127-.802S13 2.708 13 2.229" })
133
133
  }
134
134
  );
135
- }), M = l(function(t, e) {
136
- const { height: c = 14, width: n = 14, ...r } = t;
135
+ }), L = l(function(t, e) {
136
+ const { height: c, width: n, ...r } = t;
137
137
  return /* @__PURE__ */ s(
138
138
  "svg",
139
139
  {
@@ -151,8 +151,8 @@ const x = l(function(t, e) {
151
151
  ]
152
152
  }
153
153
  );
154
- }), L = l(function(t, e) {
155
- const { height: c = 14, width: n = 14, ...r } = t;
154
+ }), Z = l(function(t, e) {
155
+ const { height: c, width: n, ...r } = t;
156
156
  return /* @__PURE__ */ s(
157
157
  "svg",
158
158
  {
@@ -183,8 +183,8 @@ const x = l(function(t, e) {
183
183
  ]
184
184
  }
185
185
  );
186
- }), Z = l(function(t, e) {
187
- const { height: c = 14, width: n = 14, ...r } = t;
186
+ }), H = l(function(t, e) {
187
+ const { height: c, width: n, ...r } = t;
188
188
  return /* @__PURE__ */ o(
189
189
  "svg",
190
190
  {
@@ -204,8 +204,8 @@ const x = l(function(t, e) {
204
204
  )
205
205
  }
206
206
  );
207
- }), H = l(function(t, e) {
208
- const { height: c = 14, width: n = 14, ...r } = t;
207
+ }), P = l(function(t, e) {
208
+ const { height: c, width: n, ...r } = t;
209
209
  return /* @__PURE__ */ o(
210
210
  "svg",
211
211
  {
@@ -227,8 +227,8 @@ const x = l(function(t, e) {
227
227
  )
228
228
  }
229
229
  );
230
- }), P = l(function(t, e) {
231
- const { height: c = 14, width: n = 14, ...r } = t;
230
+ }), B = l(function(t, e) {
231
+ const { height: c, width: n, ...r } = t;
232
232
  return /* @__PURE__ */ o(
233
233
  "svg",
234
234
  {
@@ -251,8 +251,8 @@ const x = l(function(t, e) {
251
251
  )
252
252
  }
253
253
  );
254
- }), B = l(function(t, e) {
255
- const { height: c = 14, width: n = 14, ...r } = t;
254
+ }), V = l(function(t, e) {
255
+ const { height: c, width: n, ...r } = t;
256
256
  return /* @__PURE__ */ o(
257
257
  "svg",
258
258
  {
@@ -275,8 +275,8 @@ const x = l(function(t, e) {
275
275
  )
276
276
  }
277
277
  );
278
- }), V = l(function(t, e) {
279
- const { height: c = 14, width: n = 14, ...r } = t;
278
+ }), A = l(function(t, e) {
279
+ const { height: c, width: n, ...r } = t;
280
280
  return /* @__PURE__ */ o(
281
281
  "svg",
282
282
  {
@@ -299,8 +299,8 @@ const x = l(function(t, e) {
299
299
  )
300
300
  }
301
301
  );
302
- }), A = l(function(t, e) {
303
- const { height: c = 14, width: n = 14, ...r } = t;
302
+ }), R = l(function(t, e) {
303
+ const { height: c, width: n, ...r } = t;
304
304
  return /* @__PURE__ */ o(
305
305
  "svg",
306
306
  {
@@ -323,8 +323,8 @@ const x = l(function(t, e) {
323
323
  )
324
324
  }
325
325
  );
326
- }), R = l(function(t, e) {
327
- const { height: c = 14, width: n = 14, ...r } = t;
326
+ }), y = l(function(t, e) {
327
+ const { height: c, width: n, ...r } = t;
328
328
  return /* @__PURE__ */ o(
329
329
  "svg",
330
330
  {
@@ -338,8 +338,8 @@ const x = l(function(t, e) {
338
338
  children: /* @__PURE__ */ o("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.391 7.868a3.501 3.501 0 0 1-6.782 0 1 1 0 0 1-.109.007H.875a.875.875 0 1 1 0-1.75H3.5q.055 0 .109.007a3.501 3.501 0 0 1 6.782 0 1 1 0 0 1 .109-.007h2.625a.875.875 0 1 1 0 1.75H10.5a1 1 0 0 1-.109-.007M7 8.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5", clipRule: "evenodd" })
339
339
  }
340
340
  );
341
- }), y = l(function(t, e) {
342
- const { height: c = 14, width: n = 14, ...r } = t;
341
+ }), W = l(function(t, e) {
342
+ const { height: c, width: n, ...r } = t;
343
343
  return /* @__PURE__ */ o(
344
344
  "svg",
345
345
  {
@@ -361,8 +361,8 @@ const x = l(function(t, e) {
361
361
  )
362
362
  }
363
363
  );
364
- }), W = l(function(t, e) {
365
- const { height: c = 14, width: n = 14, ...r } = t;
364
+ }), j = l(function(t, e) {
365
+ const { height: c, width: n, ...r } = t;
366
366
  return /* @__PURE__ */ o(
367
367
  "svg",
368
368
  {
@@ -385,8 +385,8 @@ const x = l(function(t, e) {
385
385
  )
386
386
  }
387
387
  );
388
- }), j = l(function(t, e) {
389
- const { height: c = 14, width: n = 14, ...r } = t;
388
+ }), b = l(function(t, e) {
389
+ const { height: c, width: n, ...r } = t;
390
390
  return /* @__PURE__ */ o(
391
391
  "svg",
392
392
  {
@@ -406,8 +406,8 @@ const x = l(function(t, e) {
406
406
  )
407
407
  }
408
408
  );
409
- }), b = l(function(t, e) {
410
- const { height: c = 14, width: n = 14, ...r } = t;
409
+ }), z = l(function(t, e) {
410
+ const { height: c, width: n, ...r } = t;
411
411
  return /* @__PURE__ */ s(
412
412
  "svg",
413
413
  {
@@ -440,8 +440,8 @@ const x = l(function(t, e) {
440
440
  ]
441
441
  }
442
442
  );
443
- }), z = l(function(t, e) {
444
- const { height: c = 14, width: n = 14, ...r } = t;
443
+ }), q = l(function(t, e) {
444
+ const { height: c, width: n, ...r } = t;
445
445
  return /* @__PURE__ */ s(
446
446
  "svg",
447
447
  {
@@ -470,8 +470,8 @@ const x = l(function(t, e) {
470
470
  ]
471
471
  }
472
472
  );
473
- }), q = l(function(t, e) {
474
- const { height: c = 14, width: n = 14, ...r } = t;
473
+ }), G = l(function(t, e) {
474
+ const { height: c, width: n, ...r } = t;
475
475
  return /* @__PURE__ */ o(
476
476
  "svg",
477
477
  {
@@ -495,7 +495,7 @@ const x = l(function(t, e) {
495
495
  }
496
496
  );
497
497
  }), S = l(function(t, e) {
498
- const { height: c = 14, width: n = 14, ...r } = t;
498
+ const { height: c, width: n, ...r } = t;
499
499
  return /* @__PURE__ */ o(
500
500
  "svg",
501
501
  {
@@ -509,8 +509,8 @@ const x = l(function(t, e) {
509
509
  children: /* @__PURE__ */ o("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "M12 5.5v4.867c0 .746 0 1.12-.14 1.405a1.3 1.3 0 0 1-.562.583c-.275.145-.635.145-1.355.145H4.557c-.72 0-1.08 0-1.355-.145a1.3 1.3 0 0 1-.562-.583c-.14-.285-.14-.659-.14-1.405V3.633c0-.746 0-1.12.14-1.405.123-.25.32-.455.562-.583.275-.145.635-.145 1.355-.145h3.586M12 5.5l-3.857-4M12 5.5H8.786a.655.655 0 0 1-.643-.667V1.5" })
510
510
  }
511
511
  );
512
- }), G = l(function(t, e) {
513
- const { height: c = 14, width: n = 14, ...r } = t;
512
+ }), E = l(function(t, e) {
513
+ const { height: c, width: n, ...r } = t;
514
514
  return /* @__PURE__ */ o(
515
515
  "svg",
516
516
  {
@@ -524,8 +524,31 @@ const x = l(function(t, e) {
524
524
  children: /* @__PURE__ */ o("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "M2.49 2.25H5.19c.413 0 .508.004.588.021q.133.03.243.093c.064.036.128.088.421.358l.098.09c.244.224.45.42.7.56q.232.13.486.205l.17.044c.278.061.564.058.912.058h2.702c.447 0 .74 0 .966.017.217.017.307.045.356.068a.75.75 0 0 1 .342.308c.013.024.04.084.056.27.018.198.019.459.019.872v5c0 .413-.001.675-.019.872-.016.186-.043.246-.056.27a.75.75 0 0 1-.342.309c-.049.023-.139.051-.356.067-.225.017-.52.018-.966.018H2.489c-.447 0-.74 0-.966-.018-.217-.016-.307-.044-.356-.067a.75.75 0 0 1-.342-.309c-.013-.024-.04-.084-.056-.27a11 11 0 0 1-.019-.872V3.786c0-.413.001-.675.019-.872.016-.186.043-.246.056-.27a.75.75 0 0 1 .342-.309c.049-.023.139-.051.356-.067.225-.017.52-.018.966-.018" })
525
525
  }
526
526
  );
527
- }), E = l(function(t, e) {
528
- const { height: c = 14, width: n = 14, ...r } = t;
527
+ }), D = l(function(t, e) {
528
+ const { height: c, width: n, ...r } = t;
529
+ return /* @__PURE__ */ o(
530
+ "svg",
531
+ {
532
+ ...r,
533
+ ref: e,
534
+ xmlns: "http://www.w3.org/2000/svg",
535
+ width: n,
536
+ height: c,
537
+ viewBox: "0 0 14 14",
538
+ fill: "none",
539
+ children: /* @__PURE__ */ o(
540
+ "path",
541
+ {
542
+ fill: "currentColor",
543
+ fillRule: "evenodd",
544
+ d: "m11.967 5.643 1.78.29a.3.3 0 0 1 .253.298v1.657a.3.3 0 0 1-.25.297l-1.782.312a5 5 0 0 1-.424 1.027l1.054 1.463a.3.3 0 0 1-.031.39l-1.171 1.171a.3.3 0 0 1-.387.034l-1.477-1.037a5 5 0 0 1-1.033.432l-.315 1.774a.3.3 0 0 1-.297.249H6.231a.3.3 0 0 1-.297-.251l-.294-1.766a5 5 0 0 1-1.038-.428l-1.467 1.027a.3.3 0 0 1-.386-.034l-1.171-1.172a.3.3 0 0 1-.032-.388l1.037-1.45a5 5 0 0 1-.434-1.042L.393 8.185a.3.3 0 0 1-.249-.297V6.23c0-.147.107-.273.252-.297l1.757-.292A5 5 0 0 1 2.586 4.6L1.562 3.135a.3.3 0 0 1 .034-.386l1.17-1.17a.3.3 0 0 1 .389-.033l1.455 1.04a5 5 0 0 1 1.035-.426L5.933.397a.3.3 0 0 1 .298-.253h1.656c.147 0 .272.106.297.25l.31 1.773q.541.156 1.034.43l1.46-1.049a.3.3 0 0 1 .388.031l1.172 1.171a.3.3 0 0 1 .033.386l-1.039 1.481a5 5 0 0 1 .425 1.026m-7.003 1.43a2.109 2.109 0 1 0 4.217-.001 2.109 2.109 0 0 0-4.217 0",
545
+ clipRule: "evenodd"
546
+ }
547
+ )
548
+ }
549
+ );
550
+ }), F = l(function(t, e) {
551
+ const { height: c, width: n, ...r } = t;
529
552
  return /* @__PURE__ */ o(
530
553
  "svg",
531
554
  {
@@ -545,8 +568,8 @@ const x = l(function(t, e) {
545
568
  )
546
569
  }
547
570
  );
548
- }), D = l(function(t, e) {
549
- const { height: c = 14, width: n = 14, ...r } = t;
571
+ }), U = l(function(t, e) {
572
+ const { height: c, width: n, ...r } = t;
550
573
  return /* @__PURE__ */ o(
551
574
  "svg",
552
575
  {
@@ -568,8 +591,8 @@ const x = l(function(t, e) {
568
591
  )
569
592
  }
570
593
  );
571
- }), U = l(function(t, e) {
572
- const { height: c = 14, width: n = 14, ...r } = t;
594
+ }), K = l(function(t, e) {
595
+ const { height: c, width: n, ...r } = t;
573
596
  return /* @__PURE__ */ o(
574
597
  "svg",
575
598
  {
@@ -591,8 +614,8 @@ const x = l(function(t, e) {
591
614
  )
592
615
  }
593
616
  );
594
- }), F = l(function(t, e) {
595
- const { height: c = 14, width: n = 14, ...r } = t;
617
+ }), N = l(function(t, e) {
618
+ const { height: c, width: n, ...r } = t;
596
619
  return /* @__PURE__ */ o(
597
620
  "svg",
598
621
  {
@@ -612,8 +635,8 @@ const x = l(function(t, e) {
612
635
  )
613
636
  }
614
637
  );
615
- }), K = l(function(t, e) {
616
- const { height: c = 14, width: n = 14, ...r } = t;
638
+ }), O = l(function(t, e) {
639
+ const { height: c, width: n, ...r } = t;
617
640
  return /* @__PURE__ */ o(
618
641
  "svg",
619
642
  {
@@ -634,7 +657,28 @@ const x = l(function(t, e) {
634
657
  }
635
658
  );
636
659
  }), Q = l(function(t, e) {
637
- const { height: c = 14, width: n = 14, ...r } = t;
660
+ const { height: c, width: n, ...r } = t;
661
+ return /* @__PURE__ */ o(
662
+ "svg",
663
+ {
664
+ ...r,
665
+ ref: e,
666
+ xmlns: "http://www.w3.org/2000/svg",
667
+ width: n,
668
+ height: c,
669
+ viewBox: "0 0 14 14",
670
+ fill: "none",
671
+ children: /* @__PURE__ */ o(
672
+ "path",
673
+ {
674
+ fill: "currentColor",
675
+ d: "M3.85 1c-.355 0-.667 0-.923.02-.265.022-.537.07-.801.205a2.06 2.06 0 0 0-.901.901 2.1 2.1 0 0 0-.204.8C1 3.184 1 3.496 1 3.85v6.3c0 .412-.002.771.034 1.063.027.22.08.443.19.661.198.388.514.704.902.901.264.135.536.183.8.204.257.021.569.021.924.021h6.3c.41 0 .768.001 1.059-.034.221-.027.445-.079.665-.19l.142-.08c.323-.199.586-.482.76-.822.134-.264.182-.536.204-.8.02-.257.02-.569.02-.924v-6.3c0-.355 0-.667-.02-.923a2.1 2.1 0 0 0-.205-.801 2.06 2.06 0 0 0-.901-.901 2.1 2.1 0 0 0-.8-.204C10.816 1 10.504 1 10.15 1zm1.869 7.336a.56.56 0 0 1 .35-.004c.018.006.073.026.207.139.141.118.314.29.587.56l1.092 1.082v.001L9.338 11.5H3.85c-.38 0-.62 0-.801-.016-.172-.014-.224-.037-.241-.046h-.001a.6.6 0 0 1-.159-.123l2.28-2.25.013-.013c.267-.277.436-.451.575-.573.13-.114.184-.137.203-.143m4.313.858a.56.56 0 0 1 .35.004c.019.006.072.029.204.145.138.122.308.296.575.573v.001l.008.008.33.332c0 .319-.001.53-.015.694-.014.172-.037.224-.046.241v.001a.6.6 0 0 1-.127.162L9.55 9.587c.11-.106.198-.187.276-.253.135-.113.19-.134.207-.14M10.15 2.5c.38 0 .62 0 .801.016.172.014.224.037.241.046h.001c.106.053.192.14.245.245.01.018.032.07.046.242.015.181.016.42.016.8v4.302a2 2 0 0 0-.633-.372 2.06 2.06 0 0 0-1.286-.015 2.1 2.1 0 0 0-.72.422 7 7 0 0 0-.375.343l-.567-.563c-.255-.253-.479-.475-.678-.643a2.3 2.3 0 0 0-.515-.342l-.205-.08a2.06 2.06 0 0 0-1.285.015 2.1 2.1 0 0 0-.71.437c-.193.168-.407.39-.651.644L2.5 9.354V3.85c0-.38 0-.62.016-.801.014-.171.037-.224.046-.241v-.001a.56.56 0 0 1 .245-.245c.018-.01.07-.032.242-.046.181-.015.42-.016.8-.016zm-1.181.594a1.937 1.937 0 1 0 0 3.875 1.937 1.937 0 0 0 0-3.875m0 1.25a.687.687 0 1 1 0 1.375.687.687 0 0 1 0-1.375"
676
+ }
677
+ )
678
+ }
679
+ );
680
+ }), T = l(function(t, e) {
681
+ const { height: c, width: n, ...r } = t;
638
682
  return /* @__PURE__ */ s(
639
683
  "svg",
640
684
  {
@@ -660,8 +704,8 @@ const x = l(function(t, e) {
660
704
  ]
661
705
  }
662
706
  );
663
- }), O = l(function(t, e) {
664
- const { height: c = 14, width: n = 14, ...r } = t;
707
+ }), $ = l(function(t, e) {
708
+ const { height: c, width: n, ...r } = t;
665
709
  return /* @__PURE__ */ o(
666
710
  "svg",
667
711
  {
@@ -683,8 +727,8 @@ const x = l(function(t, e) {
683
727
  )
684
728
  }
685
729
  );
686
- }), T = l(function(t, e) {
687
- const { height: c = 14, width: n = 14, ...r } = t;
730
+ }), J = l(function(t, e) {
731
+ const { height: c, width: n, ...r } = t;
688
732
  return /* @__PURE__ */ o(
689
733
  "svg",
690
734
  {
@@ -706,8 +750,8 @@ const x = l(function(t, e) {
706
750
  )
707
751
  }
708
752
  );
709
- }), $ = l(function(t, e) {
710
- const { height: c = 14, width: n = 14, ...r } = t;
753
+ }), X = l(function(t, e) {
754
+ const { height: c, width: n, ...r } = t;
711
755
  return /* @__PURE__ */ s(
712
756
  "svg",
713
757
  {
@@ -742,8 +786,8 @@ const x = l(function(t, e) {
742
786
  ]
743
787
  }
744
788
  );
745
- }), J = l(function(t, e) {
746
- const { height: c = 14, width: n = 14, ...r } = t;
789
+ }), Y = l(function(t, e) {
790
+ const { height: c, width: n, ...r } = t;
747
791
  return /* @__PURE__ */ o(
748
792
  "svg",
749
793
  {
@@ -765,8 +809,8 @@ const x = l(function(t, e) {
765
809
  )
766
810
  }
767
811
  );
768
- }), N = l(function(t, e) {
769
- const { height: c = 14, width: n = 14, ...r } = t;
812
+ }), _ = l(function(t, e) {
813
+ const { height: c, width: n, ...r } = t;
770
814
  return /* @__PURE__ */ o(
771
815
  "svg",
772
816
  {
@@ -786,8 +830,8 @@ const x = l(function(t, e) {
786
830
  )
787
831
  }
788
832
  );
789
- }), X = l(function(t, e) {
790
- const { height: c = 14, width: n = 14, ...r } = t;
833
+ }), o0 = l(function(t, e) {
834
+ const { height: c, width: n, ...r } = t;
791
835
  return /* @__PURE__ */ o(
792
836
  "svg",
793
837
  {
@@ -809,8 +853,8 @@ const x = l(function(t, e) {
809
853
  )
810
854
  }
811
855
  );
812
- }), Y = l(function(t, e) {
813
- const { height: c = 14, width: n = 14, ...r } = t;
856
+ }), n0 = l(function(t, e) {
857
+ const { height: c, width: n, ...r } = t;
814
858
  return /* @__PURE__ */ s(
815
859
  "svg",
816
860
  {
@@ -829,8 +873,8 @@ const x = l(function(t, e) {
829
873
  ]
830
874
  }
831
875
  );
832
- }), _ = l(function(t, e) {
833
- const { height: c = 14, width: n = 14, ...r } = t;
876
+ }), r0 = l(function(t, e) {
877
+ const { height: c, width: n, ...r } = t;
834
878
  return /* @__PURE__ */ o(
835
879
  "svg",
836
880
  {
@@ -847,8 +891,8 @@ const x = l(function(t, e) {
847
891
  ] })
848
892
  }
849
893
  );
850
- }), o1 = l(function(t, e) {
851
- const { height: c = 14, width: n = 14, ...r } = t;
894
+ }), t0 = l(function(t, e) {
895
+ const { height: c, width: n, ...r } = t;
852
896
  return /* @__PURE__ */ o(
853
897
  "svg",
854
898
  {
@@ -870,8 +914,8 @@ const x = l(function(t, e) {
870
914
  )
871
915
  }
872
916
  );
873
- }), n1 = l(function(t, e) {
874
- const { height: c = 14, width: n = 14, ...r } = t;
917
+ }), e0 = l(function(t, e) {
918
+ const { height: c, width: n, ...r } = t;
875
919
  return /* @__PURE__ */ s(
876
920
  "svg",
877
921
  {
@@ -888,8 +932,8 @@ const x = l(function(t, e) {
888
932
  ]
889
933
  }
890
934
  );
891
- }), r1 = l(function(t, e) {
892
- const { height: c = 14, width: n = 14, ...r } = t;
935
+ }), c0 = l(function(t, e) {
936
+ const { height: c, width: n, ...r } = t;
893
937
  return /* @__PURE__ */ o(
894
938
  "svg",
895
939
  {
@@ -909,8 +953,8 @@ const x = l(function(t, e) {
909
953
  )
910
954
  }
911
955
  );
912
- }), t1 = l(function(t, e) {
913
- const { height: c = 14, width: n = 14, ...r } = t;
956
+ }), l0 = l(function(t, e) {
957
+ const { height: c, width: n, ...r } = t;
914
958
  return /* @__PURE__ */ s(
915
959
  "svg",
916
960
  {
@@ -933,8 +977,8 @@ const x = l(function(t, e) {
933
977
  ]
934
978
  }
935
979
  );
936
- }), e1 = l(function(t, e) {
937
- const { height: c = 14, width: n = 14, ...r } = t;
980
+ }), i0 = l(function(t, e) {
981
+ const { height: c, width: n, ...r } = t;
938
982
  return /* @__PURE__ */ o(
939
983
  "svg",
940
984
  {
@@ -948,8 +992,8 @@ const x = l(function(t, e) {
948
992
  children: /* @__PURE__ */ o("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "M4.031 4.031h.006M6.195 1.5H4.5c-1.05 0-1.575 0-1.976.204-.353.18-.64.467-.82.82-.204.4-.204.926-.204 1.976v1.695c0 .458 0 .688.052.904.046.19.121.374.224.542.116.189.278.35.603.675l2.937 2.938c.743.742 1.114 1.114 1.542 1.253.377.122.782.122 1.159 0 .428-.14.8-.51 1.542-1.253l1.695-1.695c.742-.743 1.114-1.114 1.253-1.542a1.88 1.88 0 0 0 0-1.159c-.14-.428-.51-.8-1.253-1.542L8.316 2.38c-.324-.325-.486-.487-.675-.603a1.9 1.9 0 0 0-.542-.224C6.883 1.5 6.653 1.5 6.195 1.5M4.344 4.031a.312.312 0 1 1-.625 0 .312.312 0 0 1 .625 0" })
949
993
  }
950
994
  );
951
- }), c1 = l(function(t, e) {
952
- const { height: c = 14, width: n = 14, ...r } = t;
995
+ }), s0 = l(function(t, e) {
996
+ const { height: c, width: n, ...r } = t;
953
997
  return /* @__PURE__ */ o(
954
998
  "svg",
955
999
  {
@@ -969,8 +1013,8 @@ const x = l(function(t, e) {
969
1013
  )
970
1014
  }
971
1015
  );
972
- }), l1 = l(function(t, e) {
973
- const { height: c = 14, width: n = 14, ...r } = t;
1016
+ }), h0 = l(function(t, e) {
1017
+ const { height: c, width: n, ...r } = t;
974
1018
  return /* @__PURE__ */ s(
975
1019
  "svg",
976
1020
  {
@@ -1004,8 +1048,8 @@ const x = l(function(t, e) {
1004
1048
  ]
1005
1049
  }
1006
1050
  );
1007
- }), i1 = l(function(t, e) {
1008
- const { height: c = 14, width: n = 14, ...r } = t;
1051
+ }), a0 = l(function(t, e) {
1052
+ const { height: c, width: n, ...r } = t;
1009
1053
  return /* @__PURE__ */ o(
1010
1054
  "svg",
1011
1055
  {
@@ -1025,115 +1069,84 @@ const x = l(function(t, e) {
1025
1069
  )
1026
1070
  }
1027
1071
  );
1028
- }), s1 = {
1029
- projects: Y,
1030
- chat: Z,
1031
- articles: x,
1032
- mail: $,
1033
- github: D,
1034
- globe: U,
1035
- linkedin: T,
1036
- reddit: o1,
1037
- exit: q,
1038
- camera: L,
1039
- "qr-code": _,
1040
- download: W,
1041
- save: r1,
1042
- pencil: N,
1043
- "arrow-left": C,
1044
- "arrow-right": m,
1045
- cross: y,
1046
- checkmark: H,
1047
- plus: X,
1048
- minus: J,
1049
- window: i1,
1050
- user: c1,
1051
- duplicate: j,
1052
- eye: b,
1053
- "eye-off": z,
1054
- signal: t1,
1055
- audio: I,
1056
- hardware: F,
1057
- burger: M,
1058
- repository: n1,
1059
- "chevron-down": P,
1060
- "chevron-up": A,
1061
- "chevron-left": B,
1062
- "chevron-right": V,
1063
- branch: k,
1064
- commit: R,
1065
- folder: G,
1072
+ }), v0 = {
1073
+ projects: n0,
1074
+ chat: H,
1075
+ articles: C,
1076
+ mail: X,
1077
+ github: U,
1078
+ globe: K,
1079
+ linkedin: J,
1080
+ reddit: t0,
1081
+ exit: G,
1082
+ camera: Z,
1083
+ "qr-code": r0,
1084
+ download: j,
1085
+ save: c0,
1086
+ pencil: _,
1087
+ "arrow-left": m,
1088
+ "arrow-right": I,
1089
+ cross: W,
1090
+ checkmark: P,
1091
+ plus: o0,
1092
+ minus: Y,
1093
+ window: a0,
1094
+ user: s0,
1095
+ duplicate: b,
1096
+ eye: z,
1097
+ "eye-off": q,
1098
+ signal: l0,
1099
+ audio: k,
1100
+ hardware: N,
1101
+ burger: L,
1102
+ repository: e0,
1103
+ "chevron-down": B,
1104
+ "chevron-up": R,
1105
+ "chevron-left": V,
1106
+ "chevron-right": A,
1107
+ branch: M,
1108
+ commit: y,
1109
+ folder: E,
1066
1110
  file: S,
1067
- tag: e1,
1068
- key: O,
1069
- git: E,
1070
- home: K,
1071
- info: Q,
1072
- warning: l1
1073
- }, v1 = l(function(t, e) {
1111
+ image: Q,
1112
+ tag: i0,
1113
+ key: $,
1114
+ gear: D,
1115
+ git: F,
1116
+ home: O,
1117
+ info: T,
1118
+ warning: h0
1119
+ }, g0 = l(function(t, e) {
1074
1120
  const {
1075
1121
  "aria-hidden": c,
1076
1122
  "aria-label": n,
1077
1123
  "aria-labelledby": r,
1078
- color: h,
1079
- role: g,
1080
- size: a = 14,
1081
- style: u,
1124
+ className: g,
1125
+ color: a,
1126
+ role: u,
1127
+ size: h,
1128
+ style: f,
1082
1129
  type: v,
1083
- ...f
1084
- } = t, w = s1[v];
1130
+ ...p
1131
+ } = t, w = v0[v];
1085
1132
  if (!w)
1086
1133
  return console.warn(`Icon type "${v}" not found`), null;
1087
1134
  const d = n !== void 0 || r !== void 0;
1088
- return p(w, {
1089
- ...f,
1135
+ return x(w, {
1136
+ ...p,
1090
1137
  "aria-hidden": c ?? (d ? void 0 : !0),
1091
1138
  "aria-label": n,
1092
1139
  "aria-labelledby": r,
1140
+ className: ["nk-icon", g].filter(Boolean).join(" "),
1093
1141
  ref: e,
1094
- height: a,
1095
- role: g ?? (d ? "img" : void 0),
1142
+ role: u ?? (d ? "img" : void 0),
1096
1143
  style: {
1097
- flexShrink: 0,
1098
- ...u,
1099
- ...h ? { color: h } : void 0
1100
- },
1101
- width: a
1144
+ ...h === void 0 ? void 0 : { height: h, width: h },
1145
+ ...f,
1146
+ ...a ? { color: a } : void 0
1147
+ }
1102
1148
  });
1103
1149
  });
1104
1150
  export {
1105
- C as A,
1106
- M as B,
1107
- L as C,
1108
- W as D,
1109
- q as E,
1110
- D as G,
1111
- F as H,
1112
- Q as I,
1113
- O as K,
1114
- T as L,
1115
- $ as M,
1116
- N as P,
1117
- _ as Q,
1118
- o1 as R,
1119
- r1 as S,
1120
- c1 as U,
1121
- l1 as W,
1122
- m as a,
1123
- x as b,
1124
- I as c,
1125
- Z as d,
1126
- H as e,
1127
- y as f,
1128
- j as g,
1129
- b as h,
1130
- z as i,
1131
- U as j,
1132
- J as k,
1133
- X as l,
1134
- Y as m,
1135
- n1 as n,
1136
- t1 as o,
1137
- i1 as p,
1138
- v1 as q
1151
+ g0 as I
1139
1152
  };
package/dist/Icon.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./Icon-D8IZceys.cjs");exports.ArrowLeftIcon=o.ArrowLeftIcon;exports.ArrowRightIcon=o.ArrowRightIcon;exports.ArticlesIcon=o.ArticlesIcon;exports.AudioIcon=o.AudioIcon;exports.BurgerIcon=o.BurgerIcon;exports.CameraIcon=o.CameraIcon;exports.ChatIcon=o.ChatIcon;exports.CheckmarkIcon=o.CheckmarkIcon;exports.CrossIcon=o.CrossIcon;exports.DownloadIcon=o.DownloadIcon;exports.DuplicateIcon=o.DuplicateIcon;exports.ExitIcon=o.ExitIcon;exports.EyeIcon=o.EyeIcon;exports.EyeOffIcon=o.EyeOffIcon;exports.GithubIcon=o.GithubIcon;exports.GlobeIcon=o.GlobeIcon;exports.HardwareIcon=o.HardwareIcon;exports.InfoIcon=o.InfoIcon;exports.KeyIcon=o.KeyIcon;exports.LinkedInIcon=o.LinkedInIcon;exports.MailIcon=o.MailIcon;exports.MinusIcon=o.MinusIcon;exports.PencilIcon=o.PencilIcon;exports.PlusIcon=o.PlusIcon;exports.ProjectsIcon=o.ProjectsIcon;exports.QRCodeIcon=o.QRCodeIcon;exports.RedditIcon=o.RedditIcon;exports.RepositoryIcon=o.RepositoryIcon;exports.SaveIcon=o.SaveIcon;exports.SignalIcon=o.SignalIcon;exports.UserIcon=o.UserIcon;exports.WarningIcon=o.WarningIcon;exports.WindowIcon=o.WindowIcon;exports.default=o.Icon;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Icon-BIBzgznI.cjs");exports.default=e.Icon;