jenosize-ui 0.1.0 → 0.2.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 (169) hide show
  1. package/README.md +10 -7
  2. package/dist/Cartesian-ZIKPEYWP.d.ts +26 -0
  3. package/dist/area-chart.d.ts +53 -0
  4. package/dist/area-chart.js +8 -0
  5. package/dist/avatar.d.ts +19 -0
  6. package/dist/avatar.js +12 -7
  7. package/dist/badge.js +5 -5
  8. package/dist/bar-chart.d.ts +31 -0
  9. package/dist/bar-chart.js +8 -0
  10. package/dist/breadcrumb.js +3 -3
  11. package/dist/button.d.ts +11 -1
  12. package/dist/button.js +9 -8
  13. package/dist/calendar.js +14 -12
  14. package/dist/callout.js +10 -9
  15. package/dist/card.d.ts +52 -2
  16. package/dist/card.js +6 -2
  17. package/dist/checkbox.js +6 -5
  18. package/dist/chunk-34J5AANZ.js +605 -0
  19. package/dist/{chunk-D6TPWNRK.js → chunk-3GT43XPK.js} +5 -5
  20. package/dist/{chunk-3Y5X7B5C.js → chunk-3Z3SDKIA.js} +6 -11
  21. package/dist/{chunk-MQGD2OUF.js → chunk-42FCPC77.js} +3 -3
  22. package/dist/{chunk-Z3ETJN5G.js → chunk-4BRMM3I5.js} +6 -11
  23. package/dist/{chunk-WZQFC7ZN.js → chunk-4HKDD3PR.js} +55 -16
  24. package/dist/chunk-4K6V6NNK.js +169 -0
  25. package/dist/{chunk-ZZA2LUTL.js → chunk-4R7WDDCW.js} +41 -16
  26. package/dist/{chunk-BJUZVYQC.js → chunk-4W6AYGLR.js} +12 -12
  27. package/dist/{chunk-4OLULPQG.js → chunk-54S5CUY6.js} +8 -5
  28. package/dist/{chunk-GRLSUQQE.js → chunk-5JRM3OES.js} +4 -4
  29. package/dist/chunk-5ZPUAGOP.js +19 -0
  30. package/dist/{chunk-W5GGOUUI.js → chunk-6HJA7NPL.js} +3 -3
  31. package/dist/{chunk-CME4DIML.js → chunk-6IUTVDNI.js} +22 -3
  32. package/dist/chunk-6UBYHSBX.js +147 -0
  33. package/dist/{chunk-HMUZE6EK.js → chunk-74HPBSVY.js} +3 -3
  34. package/dist/chunk-75M43ELV.js +366 -0
  35. package/dist/chunk-763VS2FY.js +10 -0
  36. package/dist/chunk-7HV6EIGZ.js +26 -0
  37. package/dist/chunk-7VLYQR4D.js +44 -0
  38. package/dist/{chunk-D5BTFSL7.js → chunk-A46ED5JQ.js} +3 -3
  39. package/dist/{chunk-W46K56XU.js → chunk-A5WQLN4B.js} +8 -24
  40. package/dist/chunk-AC6ZWKRN.js +23 -0
  41. package/dist/{chunk-E7ZSWBAK.js → chunk-BD5YKFRA.js} +4 -4
  42. package/dist/chunk-BLIZ3CL3.js +49 -0
  43. package/dist/{chunk-DRZCJCBO.js → chunk-BNIWT6CW.js} +4 -4
  44. package/dist/{chunk-JVJRHBTD.js → chunk-C6OTOTKI.js} +21 -8
  45. package/dist/chunk-CTENRS34.js +60 -0
  46. package/dist/{chunk-7IU5TMFL.js → chunk-CWMFEF6R.js} +75 -27
  47. package/dist/{chunk-JTNFJLIY.js → chunk-DCGTB7P7.js} +13 -13
  48. package/dist/{chunk-GFOAJVW5.js → chunk-DJYWPJZ3.js} +3 -3
  49. package/dist/{chunk-MUFHLP4S.js → chunk-DTMYD63D.js} +11 -22
  50. package/dist/{chunk-KDLPXXD2.js → chunk-EDOUI2BG.js} +4 -4
  51. package/dist/{chunk-R6RGJF4L.js → chunk-EDT5J5WK.js} +4 -4
  52. package/dist/{chunk-PWKWNDBS.js → chunk-EX374YWB.js} +6 -6
  53. package/dist/{chunk-F2K7VJUV.js → chunk-FFTRB2UU.js} +4 -4
  54. package/dist/chunk-FIGBJGH2.js +1474 -0
  55. package/dist/chunk-FKVPAEJ6.js +57 -0
  56. package/dist/{chunk-J7ZQQFPT.js → chunk-FZBZGA3P.js} +17 -17
  57. package/dist/{chunk-T7FCG7XV.js → chunk-GAFGIT4Q.js} +10 -10
  58. package/dist/chunk-HSVBTIP2.js +482 -0
  59. package/dist/{chunk-FHHAPGCR.js → chunk-ILICYNK7.js} +3 -3
  60. package/dist/{chunk-WFY7DKQD.js → chunk-JAVNGTOE.js} +9 -14
  61. package/dist/{chunk-7HOIZ3UO.js → chunk-JMWYCT63.js} +6 -6
  62. package/dist/{chunk-QA74ITR4.js → chunk-JUWDRRD6.js} +45 -17
  63. package/dist/{chunk-BVJWBYIG.js → chunk-JXHZHUB3.js} +4 -4
  64. package/dist/{chunk-VWC72TR3.js → chunk-JYBGO6GY.js} +7 -7
  65. package/dist/{chunk-J36M3KRX.js → chunk-L53Y7KUV.js} +13 -11
  66. package/dist/chunk-LBYCCLVI.js +33 -0
  67. package/dist/chunk-LCG34A5T.js +98 -0
  68. package/dist/chunk-M5TVCASC.js +75 -0
  69. package/dist/chunk-MCUASLZH.js +10 -0
  70. package/dist/{chunk-5RAPA22E.js → chunk-MD4AR43X.js} +4 -4
  71. package/dist/{chunk-JP26LPCY.js → chunk-MYQ3FD4Y.js} +25 -11
  72. package/dist/chunk-NA35YZRD.js +252 -0
  73. package/dist/chunk-NKDW6C7K.js +10 -0
  74. package/dist/{chunk-5NOBSXJN.js → chunk-NMERLWT7.js} +6 -6
  75. package/dist/{chunk-KMSYEE23.js → chunk-P6CON2R2.js} +25 -11
  76. package/dist/{chunk-LME57Z6J.js → chunk-P7DH62UY.js} +6 -6
  77. package/dist/chunk-PO2TYK3C.js +17 -0
  78. package/dist/{chunk-5FATN5YD.js → chunk-PXEJ5RKO.js} +4 -4
  79. package/dist/{chunk-JYGR44ZC.js → chunk-QBHQOX23.js} +6 -6
  80. package/dist/{chunk-GCVA3OIV.js → chunk-QDYE5LVT.js} +13 -3
  81. package/dist/{chunk-J2BCKBHC.js → chunk-QKDEQFOQ.js} +4 -4
  82. package/dist/{chunk-ZOOX3TUB.js → chunk-RIXEUAPY.js} +5 -5
  83. package/dist/{chunk-THC2ISYP.js → chunk-RNXRZGXN.js} +4 -4
  84. package/dist/{chunk-7EWQKTNQ.js → chunk-T2WAD4QP.js} +15 -13
  85. package/dist/{chunk-KNYKWUYX.js → chunk-TBN644IN.js} +3 -3
  86. package/dist/{chunk-MKC5HNA7.js → chunk-USL3TDZM.js} +101 -90
  87. package/dist/{chunk-CYPPEUX5.js → chunk-VEOYCAJP.js} +4 -9
  88. package/dist/{chunk-WEUJYDCV.js → chunk-VH35QHD4.js} +6 -6
  89. package/dist/chunk-VWGAMOSE.js +188 -0
  90. package/dist/{chunk-SV56BSUQ.js → chunk-WKWAUU64.js} +4 -4
  91. package/dist/chunk-X2X7Q7NW.js +17 -0
  92. package/dist/{chunk-I7WU4GTY.js → chunk-YLEHYDXC.js} +5 -5
  93. package/dist/combobox.js +12 -10
  94. package/dist/control-size-CaxQhkKh.d.ts +3 -0
  95. package/dist/date-input.js +9 -8
  96. package/dist/date-picker.js +20 -17
  97. package/dist/dialog.d.ts +16 -4
  98. package/dist/dialog.js +8 -6
  99. package/dist/drawer.d.ts +9 -2
  100. package/dist/drawer.js +7 -5
  101. package/dist/dropdown-menu.d.ts +14 -2
  102. package/dist/dropdown-menu.js +7 -3
  103. package/dist/dropzone.d.ts +34 -0
  104. package/dist/dropzone.js +22 -0
  105. package/dist/form.d.ts +78 -0
  106. package/dist/form.js +176 -32
  107. package/dist/header-navigation.d.ts +15 -4
  108. package/dist/header-navigation.js +19 -14
  109. package/dist/index.d.ts +26 -4
  110. package/dist/index.js +76 -56
  111. package/dist/indicator.js +4 -4
  112. package/dist/input.js +8 -7
  113. package/dist/kanban-board.d.ts +549 -0
  114. package/dist/kanban-board.js +23 -0
  115. package/dist/line-chart.d.ts +35 -0
  116. package/dist/line-chart.js +8 -0
  117. package/dist/{nav-Bla0o_-1.d.ts → nav-DcCyt00p.d.ts} +8 -11
  118. package/dist/number-input.js +8 -7
  119. package/dist/pagination.js +12 -9
  120. package/dist/panel-El4oI68p.d.ts +9 -0
  121. package/dist/payment-input.js +8 -7
  122. package/dist/pie-chart.d.ts +60 -0
  123. package/dist/pie-chart.js +8 -0
  124. package/dist/popover.d.ts +9 -3
  125. package/dist/popover.js +7 -5
  126. package/dist/progress-steps.d.ts +275 -0
  127. package/dist/progress-steps.js +8 -0
  128. package/dist/progress.js +2 -2
  129. package/dist/radar-chart.d.ts +73 -0
  130. package/dist/radar-chart.js +8 -0
  131. package/dist/radial-chart.d.ts +69 -0
  132. package/dist/radial-chart.js +8 -0
  133. package/dist/radio.js +6 -5
  134. package/dist/rule-BqzaIwJy.d.ts +80 -0
  135. package/dist/scroll-area.d.ts +62 -0
  136. package/dist/scroll-area.js +7 -0
  137. package/dist/select.d.ts +1 -2
  138. package/dist/select.js +15 -13
  139. package/dist/separator.d.ts +114 -0
  140. package/dist/separator.js +5 -0
  141. package/dist/sidebar-navigation.d.ts +54 -7
  142. package/dist/sidebar-navigation.js +15 -8
  143. package/dist/skeleton.d.ts +61 -0
  144. package/dist/skeleton.js +5 -0
  145. package/dist/styles.css +1 -1
  146. package/dist/surface-DFyDnrTJ.d.ts +34 -0
  147. package/dist/switch.js +2 -2
  148. package/dist/table.d.ts +94 -38
  149. package/dist/table.js +32 -28
  150. package/dist/tabs.js +2 -2
  151. package/dist/tag-input.js +11 -10
  152. package/dist/tag.js +3 -3
  153. package/dist/textarea.js +6 -5
  154. package/dist/theme.css +82 -0
  155. package/dist/theme.js +10 -9
  156. package/dist/toast.js +10 -9
  157. package/dist/tooltip-surface-Dmvb8v5K.d.ts +35 -0
  158. package/dist/tooltip.d.ts +15 -1
  159. package/dist/tooltip.js +3 -2
  160. package/dist/tree.js +6 -5
  161. package/dist/types-6kvYwtRH.d.ts +156 -0
  162. package/dist/use-uploads-ButS4dGe.d.ts +473 -0
  163. package/dist/verification-code-input.d.ts +84 -0
  164. package/dist/verification-code-input.js +13 -0
  165. package/package.json +59 -9
  166. package/dist/card-nWicloNi.d.ts +0 -80
  167. package/dist/chunk-24TO7E32.js +0 -42
  168. package/dist/chunk-FXIBGTS5.js +0 -14
  169. package/dist/chunk-ZZT2E5VT.js +0 -24
package/package.json CHANGED
@@ -1,18 +1,10 @@
1
1
  {
2
2
  "name": "jenosize-ui",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Opinionated React component library — styled-on-headless on Base UI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Jenosize",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+ssh://git@gitlab.jenosize.io/package/jenosize-ui.git"
11
- },
12
- "homepage": "https://www.jenosize.com",
13
- "bugs": {
14
- "url": "https://gitlab.jenosize.io/package/jenosize-ui/-/issues"
15
- },
16
8
  "publishConfig": {
17
9
  "access": "public"
18
10
  },
@@ -96,6 +88,10 @@
96
88
  "types": "./dist/file-trigger.d.ts",
97
89
  "import": "./dist/file-trigger.js"
98
90
  },
91
+ "./dropzone": {
92
+ "types": "./dist/dropzone.d.ts",
93
+ "import": "./dist/dropzone.js"
94
+ },
99
95
  "./payment-input": {
100
96
  "types": "./dist/payment-input.d.ts",
101
97
  "import": "./dist/payment-input.js"
@@ -108,6 +104,10 @@
108
104
  "types": "./dist/tag-input.d.ts",
109
105
  "import": "./dist/tag-input.js"
110
106
  },
107
+ "./verification-code-input": {
108
+ "types": "./dist/verification-code-input.d.ts",
109
+ "import": "./dist/verification-code-input.js"
110
+ },
111
111
  "./breadcrumb": {
112
112
  "types": "./dist/breadcrumb.d.ts",
113
113
  "import": "./dist/breadcrumb.js"
@@ -164,6 +164,10 @@
164
164
  "types": "./dist/progress.d.ts",
165
165
  "import": "./dist/progress.js"
166
166
  },
167
+ "./progress-steps": {
168
+ "types": "./dist/progress-steps.d.ts",
169
+ "import": "./dist/progress-steps.js"
170
+ },
167
171
  "./toast": {
168
172
  "types": "./dist/toast.d.ts",
169
173
  "import": "./dist/toast.js"
@@ -176,6 +180,10 @@
176
180
  "types": "./dist/tree.d.ts",
177
181
  "import": "./dist/tree.js"
178
182
  },
183
+ "./kanban-board": {
184
+ "types": "./dist/kanban-board.d.ts",
185
+ "import": "./dist/kanban-board.js"
186
+ },
179
187
  "./calendar": {
180
188
  "types": "./dist/calendar.d.ts",
181
189
  "import": "./dist/calendar.js"
@@ -200,6 +208,42 @@
200
208
  "types": "./dist/card.d.ts",
201
209
  "import": "./dist/card.js"
202
210
  },
211
+ "./skeleton": {
212
+ "types": "./dist/skeleton.d.ts",
213
+ "import": "./dist/skeleton.js"
214
+ },
215
+ "./scroll-area": {
216
+ "types": "./dist/scroll-area.d.ts",
217
+ "import": "./dist/scroll-area.js"
218
+ },
219
+ "./separator": {
220
+ "types": "./dist/separator.d.ts",
221
+ "import": "./dist/separator.js"
222
+ },
223
+ "./area-chart": {
224
+ "types": "./dist/area-chart.d.ts",
225
+ "import": "./dist/area-chart.js"
226
+ },
227
+ "./bar-chart": {
228
+ "types": "./dist/bar-chart.d.ts",
229
+ "import": "./dist/bar-chart.js"
230
+ },
231
+ "./line-chart": {
232
+ "types": "./dist/line-chart.d.ts",
233
+ "import": "./dist/line-chart.js"
234
+ },
235
+ "./pie-chart": {
236
+ "types": "./dist/pie-chart.d.ts",
237
+ "import": "./dist/pie-chart.js"
238
+ },
239
+ "./radar-chart": {
240
+ "types": "./dist/radar-chart.d.ts",
241
+ "import": "./dist/radar-chart.js"
242
+ },
243
+ "./radial-chart": {
244
+ "types": "./dist/radial-chart.d.ts",
245
+ "import": "./dist/radial-chart.js"
246
+ },
203
247
  "./icons": {
204
248
  "types": "./dist/icons.d.ts",
205
249
  "import": "./dist/icons.js"
@@ -226,6 +270,7 @@
226
270
  "scripts": {
227
271
  "build": "node scripts/clean-dist.mjs && tsup && pnpm build:css",
228
272
  "build:css": "tailwindcss -i src/styles/styles.css -o dist/styles.css --minify",
273
+ "build:play": "vite build --base ./ --outDir ../dist-play --emptyOutDir",
229
274
  "typecheck": "tsc --noEmit",
230
275
  "dev": "vite",
231
276
  "preview": "vite preview",
@@ -259,6 +304,8 @@
259
304
  "docs:check": "node scripts/check-docs-props.mjs --check",
260
305
  "docs:index": "node scripts/check-docs-index.mjs",
261
306
  "index:check": "node scripts/check-docs-index.mjs --check",
307
+ "changed:audit": "node scripts/check-changed-tags.mjs",
308
+ "changed:check": "node scripts/check-changed-tags.mjs --check",
262
309
  "play:audit": "node scripts/check-playground-code.mjs",
263
310
  "play:check": "node scripts/check-playground-code.mjs --check",
264
311
  "snippet:audit": "node scripts/check-playground-snippets.mjs",
@@ -271,6 +318,8 @@
271
318
  "slots:check": "node scripts/check-slots.mjs --check",
272
319
  "seamless:audit": "node scripts/check-seamless.mjs",
273
320
  "seamless:check": "node scripts/check-seamless.mjs --check",
321
+ "rule:audit": "node scripts/check-rules.mjs",
322
+ "rule:check": "node scripts/check-rules.mjs --check",
274
323
  "props:audit": "node scripts/check-prop-types.mjs",
275
324
  "props:check": "node scripts/check-prop-types.mjs --check",
276
325
  "state:audit": "node scripts/check-state-owner.mjs",
@@ -301,6 +350,7 @@
301
350
  "lucide-react": "^1.29.0",
302
351
  "react-day-picker": "^10.0.1",
303
352
  "react-hook-form": "^7.80.0",
353
+ "recharts": "^3.10.1",
304
354
  "tailwind-merge": "^3.0.0"
305
355
  },
306
356
  "peerDependencies": {
@@ -1,80 +0,0 @@
1
- import * as React from 'react';
2
-
3
- /**
4
- * The **in-flow card surface** — one recipe for every bordered/rounded panel that sits in the
5
- * document flow, so the library stops shipping three spellings of the same box.
6
- *
7
- * Before this table there were three, and they disagreed on the edge technique alone:
8
- * `table/shared.ts` used `ring-1 ring-secondary` + `shadow-xs`, `field/option-row.tsx` used
9
- * `border border-secondary` + no shadow, and the playground had ~88 distinct strings approximating
10
- * both. Each `SURFACE_VARIANT` member below reproduces one of those, so the axis is derived from
11
- * what already shipped rather than invented.
12
- *
13
- * **Ring, never border.** `lib/color.ts`'s `OUTLINE` table already commits to `ring-1 ring-inset`
14
- * for exactly this reason: a `border` adds to the box, so a bordered card renders 2px larger than a
15
- * ringed sibling in the same row — the defect that got `Badge`'s `modern` variant deleted. Measured
16
- * on the `bordered` option row: the old `border` recipe boxed 200×50, the inset-ring one 200×48.
17
- * An inset ring paints *inside* the border-box, so a surface never changes size when its edge
18
- * changes weight — and a heavier selected edge cannot bleed onto whatever sits next to it.
19
- *
20
- * **Not the overlay family.** Dialog / Drawer / Toast / the four listbox popups are a separate,
21
- * already-consistent recipe — `ring-1 ring-secondary_alt ring-inset` + `shadow-lg`/`xl`, where the
22
- * alpha `border-alt` hairline reads correctly over whatever the popup floats above. Floating
23
- * elevation is a different concern from an in-flow card; do not merge them into this table.
24
- *
25
- * This module lives in `src/lib/` (not `src/components/`) so it is invisible to the dependency-graph
26
- * gate — `field/` is FOUNDATION and may import only foundation, so it could not reach a
27
- * `components/card/` module at all. Same reason `cn`, `slot` and `seamless` live here.
28
- */
29
- /** Which edge + fill the surface wears. */
30
- type SurfaceVariant = "elevated" | "outlined" | "subtle";
31
- /** The inner gutter. `none` means the caller owns all spacing (full-bleed content, e.g. a table). */
32
- type SurfacePadding = "none" | "sm" | "md" | "lg";
33
- declare const SURFACE_VARIANTS: readonly SurfaceVariant[];
34
- declare const SURFACE_PADDINGS: readonly SurfacePadding[];
35
-
36
- type CardVariant = SurfaceVariant;
37
- type CardPadding = SurfacePadding;
38
- /** `title` is a `ReactNode` here, which collides with the DOM's `title?: string` tooltip attribute. */
39
- interface CardProps extends Omit<React.ComponentPropsWithoutRef<"div">, "title"> {
40
- /**
41
- * Edge + fill. Every member differs from its neighbours by FILL — `elevated` is a raised surface
42
- * (+ `shadow-sm` in light, where a shadow can be seen) · `outlined` sits flush with the page,
43
- * for a card nested in an already-elevated surface or repeated in a dense list · `subtle` is a
44
- * sunken well that reads as background rather than as an object. @default "elevated"
45
- */
46
- variant?: CardVariant;
47
- /**
48
- * Inner gutter. `none` hands ALL spacing to the caller — use it for full-bleed content that must
49
- * reach the radius (a table, a media header). @default "md"
50
- */
51
- padding?: CardPadding;
52
- /**
53
- * Draw a full-bleed hairline between the header and the body, and the body and the footer.
54
- * @default false
55
- */
56
- dividers?: boolean;
57
- /**
58
- * The card's headline. A `ReactNode`, so pass a heading element (`<h3>`) when the card should sit
59
- * in the document outline — the wrapper is a `<div>` precisely so that stays valid HTML.
60
- */
61
- title?: React.ReactNode;
62
- /** One supporting line under the title. */
63
- description?: React.ReactNode;
64
- /** Leading header node — an `<Avatar>`, an icon. The node keeps its own a11y semantics. */
65
- leading?: React.ReactNode;
66
- /** Trailing header node — a `<Badge>`, a `<DropdownMenu>` trigger, an action `<Button>`. */
67
- trailing?: React.ReactNode;
68
- /** Footer row, below the body. */
69
- footer?: React.ReactNode;
70
- /** **Layout/spacing only** (width, margin, grid/flex), merged via `cn()`. Never restyles the surface. */
71
- className?: string;
72
- /** The body. */
73
- children?: React.ReactNode;
74
- }
75
- declare function Card({ variant, padding, dividers, title, description, leading, trailing, footer, className, children, ...rest }: CardProps): React.JSX.Element;
76
- declare namespace Card {
77
- var displayName: string;
78
- }
79
-
80
- export { Card as C, SURFACE_PADDINGS as S, type CardPadding as a, type CardProps as b, type CardVariant as c, SURFACE_VARIANTS as d, type SurfacePadding as e, type SurfaceVariant as f };
@@ -1,42 +0,0 @@
1
- import { ArrowDown, ArrowRight, Bell, Calendar, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsLeft, ChevronsRight, ChevronsUpDown, CircleAlert, CircleCheck, CircleHelp, CircleX, Columns3, EllipsisVertical, Eye, EyeOff, GripVertical, Inbox, Info, LoaderCircle, Menu, Minus, Moon, PanelLeft, Plus, Search, Slash, Sun, TriangleAlert, User, X } from 'lucide-react';
2
-
3
- // src/components/icons/core/index.ts
4
- var ArrowDownIcon = ArrowDown;
5
- var ArrowRightIcon = ArrowRight;
6
- var BellIcon = Bell;
7
- var CalendarIcon = Calendar;
8
- var CheckIcon = Check;
9
- var ChevronDownIcon = ChevronDown;
10
- var ChevronLeftIcon = ChevronLeft;
11
- var ChevronRightIcon = ChevronRight;
12
- var ChevronsLeftIcon = ChevronsLeft;
13
- var ChevronsRightIcon = ChevronsRight;
14
- var ChevronsUpDownIcon = ChevronsUpDown;
15
- var ChevronUpIcon = ChevronUp;
16
- var CircleAlertIcon = CircleAlert;
17
- var CircleCheckIcon = CircleCheck;
18
- var CircleHelpIcon = CircleHelp;
19
- var CircleXIcon = CircleX;
20
- var Columns3Icon = Columns3;
21
- var EllipsisVerticalIcon = EllipsisVertical;
22
- var EyeIcon = Eye;
23
- var EyeOffIcon = EyeOff;
24
- var GripVerticalIcon = GripVertical;
25
- var InboxIcon = Inbox;
26
- var InfoIcon = Info;
27
- var LoaderCircleIcon = LoaderCircle;
28
- var MenuIcon = Menu;
29
- var MinusIcon = Minus;
30
- var MoonIcon = Moon;
31
- var PanelLeftIcon = PanelLeft;
32
- var PlusIcon = Plus;
33
- var SearchIcon = Search;
34
- var SlashIcon = Slash;
35
- var SunIcon = Sun;
36
- var TriangleAlertIcon = TriangleAlert;
37
- var UserIcon = User;
38
- var XIcon = X;
39
-
40
- export { ArrowDownIcon, ArrowRightIcon, BellIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckIcon, CircleHelpIcon, CircleXIcon, Columns3Icon, EllipsisVerticalIcon, EyeIcon, EyeOffIcon, GripVerticalIcon, InboxIcon, InfoIcon, LoaderCircleIcon, MenuIcon, MinusIcon, MoonIcon, PanelLeftIcon, PlusIcon, SearchIcon, SlashIcon, SunIcon, TriangleAlertIcon, UserIcon, XIcon };
41
- //# sourceMappingURL=chunk-24TO7E32.js.map
42
- //# sourceMappingURL=chunk-24TO7E32.js.map
@@ -1,14 +0,0 @@
1
- import { cn } from './chunk-ZSNJ6UA3.js';
2
- import { jsx } from 'react/jsx-runtime';
3
-
4
- function SkeletonBar({ className }) {
5
- return /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: cn("animate-pulse rounded-lg bg-tertiary", className) });
6
- }
7
- var SKELETON_WIDTHS = ["w-3/5", "w-4/5", "w-2/3", "w-11/12", "w-1/2", "w-3/4"];
8
- function skeletonWidth(index) {
9
- return SKELETON_WIDTHS[index % SKELETON_WIDTHS.length];
10
- }
11
-
12
- export { SKELETON_WIDTHS, SkeletonBar, skeletonWidth };
13
- //# sourceMappingURL=chunk-FXIBGTS5.js.map
14
- //# sourceMappingURL=chunk-FXIBGTS5.js.map
@@ -1,24 +0,0 @@
1
- import { useScrollFade } from './chunk-O2LG3PNI.js';
2
- import { cn } from './chunk-ZSNJ6UA3.js';
3
- import * as React from 'react';
4
- import { jsx } from 'react/jsx-runtime';
5
-
6
- function PopupScrollViewport({ axis = "vertical", max, className, children }) {
7
- const ref = React.useRef(null);
8
- const { maskImage } = useScrollFade(ref, { axis });
9
- const overflow = axis === "vertical" ? "overflow-y-auto" : "overflow-x-auto";
10
- const capKey = axis === "vertical" ? "maxHeight" : "maxWidth";
11
- return /* @__PURE__ */ jsx(
12
- "div",
13
- {
14
- ref,
15
- className: cn(overflow, "overscroll-contain outline-none", className),
16
- style: { [capKey]: max, ...maskImage && { maskImage, WebkitMaskImage: maskImage } },
17
- children
18
- }
19
- );
20
- }
21
-
22
- export { PopupScrollViewport };
23
- //# sourceMappingURL=chunk-ZZT2E5VT.js.map
24
- //# sourceMappingURL=chunk-ZZT2E5VT.js.map