neatkit 0.7.0 → 0.8.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 (154) 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-BAsLfA0D.js → Button-Chv4O66e.js} +35 -35
  8. package/dist/Button-DCKtFvSo.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-ClkozPlv.js +227 -0
  14. package/dist/Code-JDb4VFl7.cjs +4 -0
  15. package/dist/Code.cjs +1 -1
  16. package/dist/Code.js +1 -1
  17. package/dist/{Icon-uQmpr5P2.js → Icon-BoEUoOk7.js} +144 -177
  18. package/dist/Icon-DJ4BigRz.cjs +1 -0
  19. package/dist/Icon.cjs +1 -1
  20. package/dist/Icon.js +2 -35
  21. package/dist/Input.cjs +1 -1
  22. package/dist/Input.js +70 -79
  23. package/dist/Markdown.cjs +1 -31
  24. package/dist/Markdown.js +461 -18062
  25. package/dist/Modal.cjs +1 -1
  26. package/dist/Modal.js +100 -122
  27. package/dist/PinInput.cjs +1 -1
  28. package/dist/PinInput.js +1 -1
  29. package/dist/Popover.cjs +1 -1
  30. package/dist/Popover.js +106 -106
  31. package/dist/Radio.cjs +1 -1
  32. package/dist/Radio.js +86 -41
  33. package/dist/Select.cjs +1 -1
  34. package/dist/Select.js +326 -315
  35. package/dist/Sidebar.cjs +1 -0
  36. package/dist/Sidebar.js +475 -0
  37. package/dist/Skeleton.cjs +1 -1
  38. package/dist/Skeleton.js +20 -16
  39. package/dist/Switch.cjs +1 -1
  40. package/dist/Switch.js +1 -1
  41. package/dist/Table-B30TBckZ.js +402 -0
  42. package/dist/Table-DceR12X9.cjs +1 -0
  43. package/dist/Table.cjs +1 -1
  44. package/dist/Table.js +1 -1
  45. package/dist/TextArea.cjs +1 -1
  46. package/dist/TextArea.js +1 -1
  47. package/dist/Tooltip-B4bajPtk.cjs +1 -0
  48. package/dist/Tooltip-BVqdnKK_.js +231 -0
  49. package/dist/Tooltip.cjs +1 -1
  50. package/dist/Tooltip.js +2 -3
  51. package/dist/aria-Bntn6ad_.cjs +1 -0
  52. package/dist/aria-CeA9QfD1.js +15 -0
  53. package/dist/components/Boundary/Boundary.d.ts +65 -0
  54. package/dist/components/Boundary/contexts/BoundaryContext.d.ts +28 -0
  55. package/dist/components/Boundary/hooks/useBoundary.d.ts +19 -0
  56. package/dist/components/Boundary/hooks/useBoundaryWidth.d.ts +23 -0
  57. package/dist/components/Boundary/index.d.ts +2 -0
  58. package/dist/components/Boundary/utils/width.d.ts +11 -0
  59. package/dist/components/Checkbox/Checkbox.d.ts +9 -1
  60. package/dist/components/{CheckboxGroup → Checkbox/components}/CheckboxGroup.d.ts +2 -2
  61. package/dist/components/Checkbox/index.d.ts +1 -0
  62. package/dist/components/Checkbox/utils/checkbox-option.d.ts +17 -0
  63. package/dist/components/Icon/Icon.d.ts +1 -0
  64. package/dist/components/Icon/index.d.ts +0 -33
  65. package/dist/components/Input/Input.d.ts +1 -9
  66. package/dist/components/Modal/Modal.d.ts +0 -4
  67. package/dist/components/PinInput/PinInput.d.ts +1 -1
  68. package/dist/components/Popover/Popover.d.ts +2 -6
  69. package/dist/components/Portal/Portal.d.ts +11 -8
  70. package/dist/components/Portal/hooks/useDismissableLayer.d.ts +2 -0
  71. package/dist/components/Portal/hooks/useFloatingPosition.d.ts +4 -3
  72. package/dist/components/Portal/hooks/useFocusTrap.d.ts +2 -0
  73. package/dist/components/Portal/hooks/useScrollLock.d.ts +9 -3
  74. package/dist/components/Portal/utils/boundary-focus.d.ts +23 -0
  75. package/dist/components/Portal/utils/floating-position.d.ts +43 -9
  76. package/dist/components/Portal/utils/overlay-stack.d.ts +22 -10
  77. package/dist/components/Portal/utils/scroll-container.d.ts +13 -0
  78. package/dist/components/Radio/Radio.d.ts +9 -1
  79. package/dist/components/{RadioGroup → Radio/components}/RadioGroup.d.ts +9 -2
  80. package/dist/components/Radio/index.d.ts +1 -0
  81. package/dist/components/Select/Select.d.ts +0 -2
  82. package/dist/components/Select/utils/listbox-position.d.ts +28 -0
  83. package/dist/components/Sidebar/Sidebar.d.ts +108 -0
  84. package/dist/components/Sidebar/components/SidebarFooter.d.ts +19 -0
  85. package/dist/components/Sidebar/components/SidebarGroup.d.ts +42 -0
  86. package/dist/components/Sidebar/components/SidebarItem.d.ts +43 -0
  87. package/dist/components/Sidebar/components/SidebarOverlay.d.ts +38 -0
  88. package/dist/components/Sidebar/components/SidebarPanel.d.ts +47 -0
  89. package/dist/components/Sidebar/components/SidebarTrigger.d.ts +47 -0
  90. package/dist/components/Sidebar/components/SidebarUser.d.ts +59 -0
  91. package/dist/components/Sidebar/hooks/usePresentation.d.ts +14 -0
  92. package/dist/components/Sidebar/hooks/useSidebar.d.ts +9 -0
  93. package/dist/components/Sidebar/index.d.ts +2 -0
  94. package/dist/components/Sidebar/utils/state.d.ts +62 -0
  95. package/dist/components/Skeleton/Skeleton.d.ts +21 -5
  96. package/dist/components/Table/Table.d.ts +9 -49
  97. package/dist/components/Table/contexts/TableContext.d.ts +4 -0
  98. package/dist/components/Table/index.d.ts +1 -1
  99. package/dist/components/Tooltip/Tooltip.d.ts +10 -4
  100. package/dist/components/Tooltip/TooltipProvider.d.ts +1 -1
  101. package/dist/components/Tooltip/index.d.ts +0 -1
  102. package/dist/effects-D5CWf-Pl.js +8 -0
  103. package/dist/effects-D85L_7zM.cjs +1 -0
  104. package/dist/floating-position-5wJ5G5IT.js +48 -0
  105. package/dist/floating-position-Cy9xxdH4.cjs +1 -0
  106. package/dist/style.css +1 -1
  107. package/dist/tokens.d.ts +1 -0
  108. package/dist/useFloatingPosition-BBEUHPqy.cjs +1 -0
  109. package/dist/useFloatingPosition-CMirP2-2.js +43 -0
  110. package/dist/useFocusTrap-BrFZdMqQ.cjs +1 -0
  111. package/dist/useFocusTrap-DhVnlboe.js +136 -0
  112. package/dist/usePresence-B5RYv4e1.cjs +1 -0
  113. package/dist/usePresence-CqegYqy4.js +221 -0
  114. package/dist/useScrollLock-Drd7OZRC.js +62 -0
  115. package/dist/useScrollLock-Dy8MZaSn.cjs +1 -0
  116. package/dist/utils/aria.d.ts +9 -0
  117. package/dist/utils/effects.d.ts +12 -0
  118. package/package.json +11 -16
  119. package/dist/Button-D7JUO6Fs.cjs +0 -1
  120. package/dist/Checkbox-BvXM9VyY.js +0 -68
  121. package/dist/Checkbox-VQifZrZZ.cjs +0 -1
  122. package/dist/CheckboxGroup.cjs +0 -1
  123. package/dist/CheckboxGroup.js +0 -144
  124. package/dist/Code-BP2ZCmUf.js +0 -7446
  125. package/dist/Code-eispVOW3.cjs +0 -6
  126. package/dist/Content.cjs +0 -1
  127. package/dist/Content.js +0 -144
  128. package/dist/Icon-D8IZceys.cjs +0 -1
  129. package/dist/RadioGroup.cjs +0 -1
  130. package/dist/RadioGroup.js +0 -51
  131. package/dist/RadioGroupContext-BX9KnDek.cjs +0 -1
  132. package/dist/RadioGroupContext-DbKM4zPZ.js +0 -5
  133. package/dist/Table-83unQQOi.cjs +0 -1
  134. package/dist/Table-Cw8u-pEW.js +0 -403
  135. package/dist/Tooltip-BB82wNOE.cjs +0 -1
  136. package/dist/Tooltip-CqWK_GRD.js +0 -236
  137. package/dist/aria-DHnOMyYp.js +0 -10
  138. package/dist/aria-DKxpE8cA.cjs +0 -1
  139. package/dist/components/CheckboxGroup/index.d.ts +0 -2
  140. package/dist/components/Content/Content.d.ts +0 -60
  141. package/dist/components/Content/hooks/useContentLayout.d.ts +0 -18
  142. package/dist/components/Content/index.d.ts +0 -2
  143. package/dist/components/Content/utils/layout.d.ts +0 -11
  144. package/dist/components/RadioGroup/index.d.ts +0 -2
  145. package/dist/useFloatingPosition-CxzhAvy8.js +0 -73
  146. package/dist/useFloatingPosition-D1FqYy0l.cjs +0 -1
  147. package/dist/useFocusTrap--cgjy78G.cjs +0 -1
  148. package/dist/useFocusTrap-Da4nEash.js +0 -134
  149. package/dist/usePresence-DSPt6aKi.js +0 -210
  150. package/dist/usePresence-qe92UTvK.cjs +0 -1
  151. /package/dist/components/{CheckboxGroup → Checkbox}/contexts/CheckboxGroupContext.d.ts +0 -0
  152. /package/dist/components/{CheckboxGroup → Checkbox}/hooks/useCheckboxGroup.d.ts +0 -0
  153. /package/dist/components/{RadioGroup → Radio}/contexts/RadioGroupContext.d.ts +0 -0
  154. /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,8 @@ 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
529
  return /* @__PURE__ */ o(
530
530
  "svg",
531
531
  {
@@ -545,8 +545,8 @@ const x = l(function(t, e) {
545
545
  )
546
546
  }
547
547
  );
548
- }), D = l(function(t, e) {
549
- const { height: c = 14, width: n = 14, ...r } = t;
548
+ }), F = l(function(t, e) {
549
+ const { height: c, width: n, ...r } = t;
550
550
  return /* @__PURE__ */ o(
551
551
  "svg",
552
552
  {
@@ -569,7 +569,7 @@ const x = l(function(t, e) {
569
569
  }
570
570
  );
571
571
  }), U = l(function(t, e) {
572
- const { height: c = 14, width: n = 14, ...r } = t;
572
+ const { height: c, width: n, ...r } = t;
573
573
  return /* @__PURE__ */ o(
574
574
  "svg",
575
575
  {
@@ -591,8 +591,8 @@ const x = l(function(t, e) {
591
591
  )
592
592
  }
593
593
  );
594
- }), F = l(function(t, e) {
595
- const { height: c = 14, width: n = 14, ...r } = t;
594
+ }), K = l(function(t, e) {
595
+ const { height: c, width: n, ...r } = t;
596
596
  return /* @__PURE__ */ o(
597
597
  "svg",
598
598
  {
@@ -612,8 +612,8 @@ const x = l(function(t, e) {
612
612
  )
613
613
  }
614
614
  );
615
- }), K = l(function(t, e) {
616
- const { height: c = 14, width: n = 14, ...r } = t;
615
+ }), N = l(function(t, e) {
616
+ const { height: c, width: n, ...r } = t;
617
617
  return /* @__PURE__ */ o(
618
618
  "svg",
619
619
  {
@@ -633,8 +633,8 @@ const x = l(function(t, e) {
633
633
  )
634
634
  }
635
635
  );
636
- }), Q = l(function(t, e) {
637
- const { height: c = 14, width: n = 14, ...r } = t;
636
+ }), O = l(function(t, e) {
637
+ const { height: c, width: n, ...r } = t;
638
638
  return /* @__PURE__ */ s(
639
639
  "svg",
640
640
  {
@@ -660,8 +660,8 @@ const x = l(function(t, e) {
660
660
  ]
661
661
  }
662
662
  );
663
- }), O = l(function(t, e) {
664
- const { height: c = 14, width: n = 14, ...r } = t;
663
+ }), Q = l(function(t, e) {
664
+ const { height: c, width: n, ...r } = t;
665
665
  return /* @__PURE__ */ o(
666
666
  "svg",
667
667
  {
@@ -684,7 +684,7 @@ const x = l(function(t, e) {
684
684
  }
685
685
  );
686
686
  }), T = l(function(t, e) {
687
- const { height: c = 14, width: n = 14, ...r } = t;
687
+ const { height: c, width: n, ...r } = t;
688
688
  return /* @__PURE__ */ o(
689
689
  "svg",
690
690
  {
@@ -707,7 +707,7 @@ const x = l(function(t, e) {
707
707
  }
708
708
  );
709
709
  }), $ = l(function(t, e) {
710
- const { height: c = 14, width: n = 14, ...r } = t;
710
+ const { height: c, width: n, ...r } = t;
711
711
  return /* @__PURE__ */ s(
712
712
  "svg",
713
713
  {
@@ -743,7 +743,7 @@ const x = l(function(t, e) {
743
743
  }
744
744
  );
745
745
  }), J = l(function(t, e) {
746
- const { height: c = 14, width: n = 14, ...r } = t;
746
+ const { height: c, width: n, ...r } = t;
747
747
  return /* @__PURE__ */ o(
748
748
  "svg",
749
749
  {
@@ -765,8 +765,8 @@ const x = l(function(t, e) {
765
765
  )
766
766
  }
767
767
  );
768
- }), N = l(function(t, e) {
769
- const { height: c = 14, width: n = 14, ...r } = t;
768
+ }), X = l(function(t, e) {
769
+ const { height: c, width: n, ...r } = t;
770
770
  return /* @__PURE__ */ o(
771
771
  "svg",
772
772
  {
@@ -786,8 +786,8 @@ const x = l(function(t, e) {
786
786
  )
787
787
  }
788
788
  );
789
- }), X = l(function(t, e) {
790
- const { height: c = 14, width: n = 14, ...r } = t;
789
+ }), Y = l(function(t, e) {
790
+ const { height: c, width: n, ...r } = t;
791
791
  return /* @__PURE__ */ o(
792
792
  "svg",
793
793
  {
@@ -809,8 +809,8 @@ const x = l(function(t, e) {
809
809
  )
810
810
  }
811
811
  );
812
- }), Y = l(function(t, e) {
813
- const { height: c = 14, width: n = 14, ...r } = t;
812
+ }), _ = l(function(t, e) {
813
+ const { height: c, width: n, ...r } = t;
814
814
  return /* @__PURE__ */ s(
815
815
  "svg",
816
816
  {
@@ -829,8 +829,8 @@ const x = l(function(t, e) {
829
829
  ]
830
830
  }
831
831
  );
832
- }), _ = l(function(t, e) {
833
- const { height: c = 14, width: n = 14, ...r } = t;
832
+ }), o0 = l(function(t, e) {
833
+ const { height: c, width: n, ...r } = t;
834
834
  return /* @__PURE__ */ o(
835
835
  "svg",
836
836
  {
@@ -847,8 +847,8 @@ const x = l(function(t, e) {
847
847
  ] })
848
848
  }
849
849
  );
850
- }), o1 = l(function(t, e) {
851
- const { height: c = 14, width: n = 14, ...r } = t;
850
+ }), n0 = l(function(t, e) {
851
+ const { height: c, width: n, ...r } = t;
852
852
  return /* @__PURE__ */ o(
853
853
  "svg",
854
854
  {
@@ -870,8 +870,8 @@ const x = l(function(t, e) {
870
870
  )
871
871
  }
872
872
  );
873
- }), n1 = l(function(t, e) {
874
- const { height: c = 14, width: n = 14, ...r } = t;
873
+ }), r0 = l(function(t, e) {
874
+ const { height: c, width: n, ...r } = t;
875
875
  return /* @__PURE__ */ s(
876
876
  "svg",
877
877
  {
@@ -888,8 +888,8 @@ const x = l(function(t, e) {
888
888
  ]
889
889
  }
890
890
  );
891
- }), r1 = l(function(t, e) {
892
- const { height: c = 14, width: n = 14, ...r } = t;
891
+ }), t0 = l(function(t, e) {
892
+ const { height: c, width: n, ...r } = t;
893
893
  return /* @__PURE__ */ o(
894
894
  "svg",
895
895
  {
@@ -909,8 +909,8 @@ const x = l(function(t, e) {
909
909
  )
910
910
  }
911
911
  );
912
- }), t1 = l(function(t, e) {
913
- const { height: c = 14, width: n = 14, ...r } = t;
912
+ }), e0 = l(function(t, e) {
913
+ const { height: c, width: n, ...r } = t;
914
914
  return /* @__PURE__ */ s(
915
915
  "svg",
916
916
  {
@@ -933,8 +933,8 @@ const x = l(function(t, e) {
933
933
  ]
934
934
  }
935
935
  );
936
- }), e1 = l(function(t, e) {
937
- const { height: c = 14, width: n = 14, ...r } = t;
936
+ }), c0 = l(function(t, e) {
937
+ const { height: c, width: n, ...r } = t;
938
938
  return /* @__PURE__ */ o(
939
939
  "svg",
940
940
  {
@@ -948,8 +948,8 @@ const x = l(function(t, e) {
948
948
  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
949
  }
950
950
  );
951
- }), c1 = l(function(t, e) {
952
- const { height: c = 14, width: n = 14, ...r } = t;
951
+ }), l0 = l(function(t, e) {
952
+ const { height: c, width: n, ...r } = t;
953
953
  return /* @__PURE__ */ o(
954
954
  "svg",
955
955
  {
@@ -969,8 +969,8 @@ const x = l(function(t, e) {
969
969
  )
970
970
  }
971
971
  );
972
- }), l1 = l(function(t, e) {
973
- const { height: c = 14, width: n = 14, ...r } = t;
972
+ }), i0 = l(function(t, e) {
973
+ const { height: c, width: n, ...r } = t;
974
974
  return /* @__PURE__ */ s(
975
975
  "svg",
976
976
  {
@@ -1004,8 +1004,8 @@ const x = l(function(t, e) {
1004
1004
  ]
1005
1005
  }
1006
1006
  );
1007
- }), i1 = l(function(t, e) {
1008
- const { height: c = 14, width: n = 14, ...r } = t;
1007
+ }), s0 = l(function(t, e) {
1008
+ const { height: c, width: n, ...r } = t;
1009
1009
  return /* @__PURE__ */ o(
1010
1010
  "svg",
1011
1011
  {
@@ -1025,115 +1025,82 @@ const x = l(function(t, e) {
1025
1025
  )
1026
1026
  }
1027
1027
  );
1028
- }), s1 = {
1029
- projects: Y,
1030
- chat: Z,
1031
- articles: x,
1028
+ }), h0 = {
1029
+ projects: _,
1030
+ chat: H,
1031
+ articles: C,
1032
1032
  mail: $,
1033
- github: D,
1033
+ github: F,
1034
1034
  globe: U,
1035
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,
1036
+ reddit: n0,
1037
+ exit: G,
1038
+ camera: Z,
1039
+ "qr-code": o0,
1040
+ download: j,
1041
+ save: t0,
1042
+ pencil: X,
1043
+ "arrow-left": m,
1044
+ "arrow-right": I,
1045
+ cross: W,
1046
+ checkmark: P,
1047
+ plus: Y,
1048
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,
1049
+ window: s0,
1050
+ user: l0,
1051
+ duplicate: b,
1052
+ eye: z,
1053
+ "eye-off": q,
1054
+ signal: e0,
1055
+ audio: k,
1056
+ hardware: K,
1057
+ burger: L,
1058
+ repository: r0,
1059
+ "chevron-down": B,
1060
+ "chevron-up": R,
1061
+ "chevron-left": V,
1062
+ "chevron-right": A,
1063
+ branch: M,
1064
+ commit: y,
1065
+ folder: E,
1066
1066
  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) {
1067
+ tag: c0,
1068
+ key: Q,
1069
+ git: D,
1070
+ home: N,
1071
+ info: O,
1072
+ warning: i0
1073
+ }, d0 = l(function(t, e) {
1074
1074
  const {
1075
1075
  "aria-hidden": c,
1076
1076
  "aria-label": n,
1077
1077
  "aria-labelledby": r,
1078
- color: h,
1079
- role: g,
1080
- size: a = 14,
1081
- style: u,
1078
+ className: g,
1079
+ color: a,
1080
+ role: u,
1081
+ size: h,
1082
+ style: f,
1082
1083
  type: v,
1083
- ...f
1084
- } = t, w = s1[v];
1085
- if (!w)
1084
+ ...p
1085
+ } = t, d = h0[v];
1086
+ if (!d)
1086
1087
  return console.warn(`Icon type "${v}" not found`), null;
1087
- const d = n !== void 0 || r !== void 0;
1088
- return p(w, {
1089
- ...f,
1090
- "aria-hidden": c ?? (d ? void 0 : !0),
1088
+ const w = n !== void 0 || r !== void 0;
1089
+ return x(d, {
1090
+ ...p,
1091
+ "aria-hidden": c ?? (w ? void 0 : !0),
1091
1092
  "aria-label": n,
1092
1093
  "aria-labelledby": r,
1094
+ className: ["nk-icon", g].filter(Boolean).join(" "),
1093
1095
  ref: e,
1094
- height: a,
1095
- role: g ?? (d ? "img" : void 0),
1096
+ role: u ?? (w ? "img" : void 0),
1096
1097
  style: {
1097
- flexShrink: 0,
1098
- ...u,
1099
- ...h ? { color: h } : void 0
1100
- },
1101
- width: a
1098
+ ...h === void 0 ? void 0 : { height: h, width: h },
1099
+ ...f,
1100
+ ...a ? { color: a } : void 0
1101
+ }
1102
1102
  });
1103
1103
  });
1104
1104
  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
1105
+ d0 as I
1139
1106
  };