@vlrc-fe/components 1.0.6 → 1.0.8
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.
- package/dist/Form/FormFileUpload/index.d.ts +1 -1
- package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
- package/dist/Form/index.d.ts +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/MultiSelect/type.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +64 -40
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +46 -80
- package/dist/index100.cjs +1 -1
- package/dist/index100.js +22 -60
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +1147 -43
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +30 -64
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +31 -147
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +93 -19
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +80 -25
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +9 -50
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +30 -156
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +350 -14
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +11 -0
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +55 -60
- package/dist/index110.cjs +1 -0
- package/dist/index110.js +430 -0
- package/dist/index111.cjs +1 -0
- package/dist/index111.js +36 -0
- package/dist/index112.cjs +1 -0
- package/dist/index112.js +28 -0
- package/dist/index113.cjs +1 -0
- package/dist/index113.js +14 -0
- package/dist/index114.cjs +1 -0
- package/dist/index114.js +156 -0
- package/dist/index115.cjs +1 -0
- package/dist/index115.js +19 -0
- package/dist/index116.cjs +1 -0
- package/dist/index116.js +67 -0
- package/dist/index117.cjs +1 -0
- package/dist/index117.js +118 -0
- package/dist/index118.cjs +1 -0
- package/dist/index118.js +36 -0
- package/dist/index119.cjs +1 -0
- package/dist/index119.js +13 -0
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +44 -121
- package/dist/index120.cjs +1 -0
- package/dist/index120.js +31 -0
- package/dist/index121.cjs +1 -0
- package/dist/index121.js +37 -0
- package/dist/index122.cjs +1 -0
- package/dist/index122.js +123 -0
- package/dist/index123.cjs +1 -0
- package/dist/index123.js +44 -0
- package/dist/index124.cjs +1 -0
- package/dist/index124.js +43 -0
- package/dist/index125.cjs +1 -0
- package/dist/index125.js +14 -0
- package/dist/index126.cjs +1 -0
- package/dist/index126.js +64 -0
- package/dist/index127.cjs +1 -0
- package/dist/index127.js +23 -0
- package/dist/index128.cjs +1 -0
- package/dist/index128.js +34 -0
- package/dist/index129.cjs +1 -0
- package/dist/index129.js +27 -0
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +30 -12
- package/dist/index130.cjs +1 -0
- package/dist/index130.js +26 -0
- package/dist/index131.cjs +1 -0
- package/dist/index131.js +157 -0
- package/dist/index132.cjs +1 -0
- package/dist/index132.js +34 -0
- package/dist/index133.cjs +1 -0
- package/dist/index133.js +46 -0
- package/dist/index134.cjs +1 -0
- package/dist/index134.js +142 -0
- package/dist/index135.cjs +1 -0
- package/dist/index135.js +125 -0
- package/dist/index136.cjs +1 -0
- package/dist/index136.js +26 -0
- package/dist/index137.cjs +1 -0
- package/dist/index137.js +88 -0
- package/dist/index138.cjs +1 -0
- package/dist/index138.js +221 -0
- package/dist/index139.cjs +1 -0
- package/dist/index139.js +166 -0
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +8 -12
- package/dist/index140.cjs +1 -0
- package/dist/index140.js +126 -0
- package/dist/index141.cjs +1 -0
- package/dist/index141.js +15 -0
- package/dist/index142.cjs +1 -0
- package/dist/index142.js +9 -0
- package/dist/index143.cjs +1 -0
- package/dist/index143.js +17 -0
- package/dist/index144.cjs +1 -0
- package/dist/index144.js +22 -0
- package/dist/index145.cjs +1 -0
- package/dist/index145.js +18 -0
- package/dist/index146.cjs +1 -0
- package/dist/index146.js +6 -0
- package/dist/index147.cjs +1 -0
- package/dist/index147.js +7 -0
- package/dist/index148.cjs +1 -0
- package/dist/index148.js +8 -0
- package/dist/index149.cjs +1 -0
- package/dist/index149.js +7 -0
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +12 -112
- package/dist/index150.cjs +1 -0
- package/dist/index150.js +7 -0
- package/dist/index151.cjs +1 -0
- package/dist/index151.js +9 -0
- package/dist/index152.cjs +1 -0
- package/dist/index152.js +69 -0
- package/dist/index153.cjs +1 -0
- package/dist/index153.js +11 -0
- package/dist/index154.cjs +1 -0
- package/dist/index154.js +202 -0
- package/dist/index155.cjs +1 -0
- package/dist/index155.js +124 -0
- package/dist/index156.cjs +1 -0
- package/dist/index156.js +32 -0
- package/dist/index157.cjs +1 -0
- package/dist/index157.js +20 -0
- package/dist/index158.cjs +1 -0
- package/dist/index158.js +69 -0
- package/dist/index159.cjs +1 -0
- package/dist/index159.js +32 -0
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +4 -726
- package/dist/index160.cjs +1 -0
- package/dist/index160.js +11 -0
- package/dist/index161.cjs +1 -0
- package/dist/index161.js +280 -0
- package/dist/index162.cjs +1 -0
- package/dist/index162.js +157 -0
- package/dist/index163.cjs +1 -0
- package/dist/index163.js +20 -0
- package/dist/index164.cjs +1 -0
- package/dist/index164.js +10 -0
- package/dist/index165.cjs +1 -0
- package/dist/index165.js +14 -0
- package/dist/index166.cjs +1 -0
- package/dist/index166.js +8 -0
- package/dist/index167.cjs +1 -0
- package/dist/index167.js +8 -0
- package/dist/index168.cjs +1 -0
- package/dist/index168.js +11 -0
- package/dist/index169.cjs +1 -0
- package/dist/index169.js +10 -0
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +79 -339
- package/dist/index170.cjs +1 -0
- package/dist/index170.js +6 -0
- package/dist/index171.cjs +1 -0
- package/dist/index171.js +8 -0
- package/dist/index172.cjs +1 -0
- package/dist/index172.js +8 -0
- package/dist/index173.cjs +1 -0
- package/dist/index173.js +10 -0
- package/dist/index174.cjs +1 -0
- package/dist/index174.js +11 -0
- package/dist/index175.cjs +1 -0
- package/dist/index175.js +15 -0
- package/dist/index176.cjs +1 -0
- package/dist/index176.js +11 -0
- package/dist/index177.cjs +1 -0
- package/dist/index177.js +11 -0
- package/dist/index178.cjs +1 -0
- package/dist/index178.js +6 -0
- package/dist/index179.cjs +1 -0
- package/dist/index179.js +43 -0
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +19 -66
- package/dist/index180.cjs +1 -0
- package/dist/index180.js +382 -0
- package/dist/index181.cjs +1 -0
- package/dist/index181.js +40 -0
- package/dist/index182.cjs +1 -0
- package/dist/index182.js +23 -0
- package/dist/index183.cjs +1 -0
- package/dist/index183.js +59 -0
- package/dist/index184.cjs +1 -0
- package/dist/index184.js +55 -0
- package/dist/index185.cjs +1 -0
- package/dist/index185.js +54 -0
- package/dist/index186.cjs +1 -0
- package/dist/index186.js +57 -0
- package/dist/index187.cjs +1 -0
- package/dist/index187.js +57 -0
- package/dist/index188.cjs +1 -0
- package/dist/index188.js +88 -0
- package/dist/index189.cjs +1 -0
- package/dist/index189.js +66 -0
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +18 -8
- package/dist/index190.cjs +1 -0
- package/dist/index190.js +594 -0
- package/dist/index191.cjs +9 -0
- package/dist/index191.js +30 -0
- package/dist/index192.cjs +1 -0
- package/dist/index192.js +50 -0
- package/dist/index193.cjs +1 -0
- package/dist/index193.js +65 -0
- package/dist/index194.cjs +1 -0
- package/dist/index194.js +48 -0
- package/dist/index195.cjs +1 -0
- package/dist/index195.js +67 -0
- package/dist/index196.cjs +1 -0
- package/dist/index196.js +151 -0
- package/dist/index197.cjs +1 -0
- package/dist/index197.js +23 -0
- package/dist/index198.cjs +1 -0
- package/dist/index198.js +27 -0
- package/dist/index199.cjs +1 -0
- package/dist/index199.js +53 -0
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +51 -98
- package/dist/index200.cjs +1 -0
- package/dist/index200.js +161 -0
- package/dist/index201.cjs +1 -0
- package/dist/index201.js +16 -0
- package/dist/index202.cjs +1 -0
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +81 -28
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +64 -14
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +25 -22
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +1014 -33
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +22 -96
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +108 -25
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +15 -9
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +20 -66
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +81 -11
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +91 -29
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +14 -41
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +93 -12
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +22 -62
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +84 -22
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +85 -33
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +407 -25
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +170 -25
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +28 -154
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +158 -33
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +104 -45
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +337 -140
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +96 -124
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +319 -23
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +205 -81
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +33 -220
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +161 -163
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +20 -125
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +24 -14
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +167 -7
- package/dist/index5.js +26 -14
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +44 -15
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +15 -18
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +3 -17
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +5 -5
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +19 -4
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +24 -6
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +66 -4
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +14 -5
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +4 -8
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +50 -67
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +85 -46
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +6 -10
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +25 -199
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +13 -122
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +9 -30
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +3 -20
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +24 -66
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +68 -30
- package/dist/index67.cjs +38 -1
- package/dist/index67.js +3 -11
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +12 -279
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +50 -155
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +29 -85
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +115 -19
- package/dist/index71.cjs +4 -1
- package/dist/index71.js +6 -9
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +12 -12
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +539 -6
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +197 -6
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +120 -9
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +912 -8
- package/dist/index77.cjs +3 -1
- package/dist/index77.js +76 -4
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +120 -6
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +12 -6
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +35 -62
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +14 -8
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +113 -9
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +725 -13
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +346 -9
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +74 -9
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +148 -4
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +31 -42
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +12 -380
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +345 -37
- package/dist/index89.cjs +20 -1
- package/dist/index89.js +40 -18
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +85 -17
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +113 -56
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +272 -51
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +129 -50
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +13 -54
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +28 -55
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +525 -80
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +75 -61
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +67 -583
- package/dist/index98.cjs +1 -9
- package/dist/index98.js +32 -27
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +17 -49
- package/dist/ui/alert-dialog.d.ts +15 -0
- package/dist/ui/alert-dialog.d.ts.map +1 -0
- package/dist/ui/alert.d.ts +10 -0
- package/dist/ui/alert.d.ts.map +1 -0
- package/dist/ui/aspect-ratio.d.ts +4 -0
- package/dist/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/ui/avatar.d.ts +7 -0
- package/dist/ui/avatar.d.ts.map +1 -0
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/breadcrumb.d.ts +12 -0
- package/dist/ui/breadcrumb.d.ts.map +1 -0
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/carousel.d.ts +20 -0
- package/dist/ui/carousel.d.ts.map +1 -0
- package/dist/ui/collapsible.d.ts +6 -0
- package/dist/ui/collapsible.d.ts.map +1 -0
- package/dist/ui/context-menu.d.ts +26 -0
- package/dist/ui/context-menu.d.ts.map +1 -0
- package/dist/ui/drawer.d.ts +14 -0
- package/dist/ui/drawer.d.ts.map +1 -0
- package/dist/ui/hover-card.d.ts +7 -0
- package/dist/ui/hover-card.d.ts.map +1 -0
- package/dist/ui/index.d.ts +23 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/input-otp.d.ts +12 -0
- package/dist/ui/input-otp.d.ts.map +1 -0
- package/dist/ui/menubar.d.ts +27 -0
- package/dist/ui/menubar.d.ts.map +1 -0
- package/dist/ui/navigation-menu.d.ts +15 -0
- package/dist/ui/navigation-menu.d.ts.map +1 -0
- package/dist/ui/pagination.d.ts +14 -0
- package/dist/ui/pagination.d.ts.map +1 -0
- package/dist/ui/resizable.d.ts +9 -0
- package/dist/ui/resizable.d.ts.map +1 -0
- package/dist/ui/sheet.d.ts +14 -0
- package/dist/ui/sheet.d.ts.map +1 -0
- package/dist/ui/sidebar.d.ts +70 -0
- package/dist/ui/sidebar.d.ts.map +1 -0
- package/dist/ui/skeleton.d.ts +3 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/slider.d.ts +5 -0
- package/dist/ui/slider.d.ts.map +1 -0
- package/dist/ui/switch.d.ts +5 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/tabs.d.ts +8 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/toggle-group.d.ts +8 -0
- package/dist/ui/toggle-group.d.ts.map +1 -0
- package/dist/ui/toggle.d.ts +10 -0
- package/dist/ui/toggle.d.ts.map +1 -0
- package/package.json +23 -5
package/dist/index92.js
CHANGED
|
@@ -1,54 +1,133 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { cn as e } from "./index3.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
3
|
+
import { CheckboxItem2 as t, Content2 as n, Group2 as r, Item3 as i, ItemIndicator2 as a, Label2 as o, Menu as s, Portal2 as c, RadioGroup2 as l, RadioItem2 as u, Root3 as d, Separator2 as f, Sub2 as p, SubContent2 as m, SubTrigger2 as h, Trigger as g } from "./index91.js";
|
|
4
|
+
import { CheckIcon as _, ChevronRightIcon as v, CircleIcon as y } from "lucide-react";
|
|
5
|
+
import "react";
|
|
6
|
+
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
7
|
+
//#region src/ui/menubar.tsx
|
|
8
|
+
function S({ className: t, ...n }) {
|
|
9
|
+
return /* @__PURE__ */ b(d, {
|
|
10
|
+
"data-slot": "menubar",
|
|
11
|
+
className: e("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs", t),
|
|
12
|
+
...n
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function C({ ...e }) {
|
|
16
|
+
return /* @__PURE__ */ b(s, {
|
|
17
|
+
"data-slot": "menubar-menu",
|
|
18
|
+
...e
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function w({ ...e }) {
|
|
22
|
+
return /* @__PURE__ */ b(r, {
|
|
23
|
+
"data-slot": "menubar-group",
|
|
24
|
+
...e
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function T({ ...e }) {
|
|
28
|
+
return /* @__PURE__ */ b(c, {
|
|
29
|
+
"data-slot": "menubar-portal",
|
|
30
|
+
...e
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function E({ ...e }) {
|
|
34
|
+
return /* @__PURE__ */ b(l, {
|
|
35
|
+
"data-slot": "menubar-radio-group",
|
|
36
|
+
...e
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function D({ className: t, ...n }) {
|
|
40
|
+
return /* @__PURE__ */ b(g, {
|
|
41
|
+
"data-slot": "menubar-trigger",
|
|
42
|
+
className: e("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none", t),
|
|
43
|
+
...n
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function O({ className: t, align: r = "start", alignOffset: i = -4, sideOffset: a = 8, ...o }) {
|
|
47
|
+
return /* @__PURE__ */ b(T, { children: /* @__PURE__ */ b(n, {
|
|
48
|
+
"data-slot": "menubar-content",
|
|
49
|
+
align: r,
|
|
50
|
+
alignOffset: i,
|
|
51
|
+
sideOffset: a,
|
|
52
|
+
className: e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md", t),
|
|
53
|
+
...o
|
|
54
|
+
}) });
|
|
55
|
+
}
|
|
56
|
+
function k({ className: t, inset: n, variant: r = "default", ...a }) {
|
|
57
|
+
return /* @__PURE__ */ b(i, {
|
|
58
|
+
"data-slot": "menubar-item",
|
|
59
|
+
"data-inset": n,
|
|
60
|
+
"data-variant": r,
|
|
61
|
+
className: e("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
|
|
62
|
+
...a
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function A({ className: n, children: r, checked: i, ...o }) {
|
|
66
|
+
return /* @__PURE__ */ x(t, {
|
|
67
|
+
"data-slot": "menubar-checkbox-item",
|
|
68
|
+
className: e("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", n),
|
|
69
|
+
checked: i,
|
|
70
|
+
...o,
|
|
71
|
+
children: [/* @__PURE__ */ b("span", {
|
|
72
|
+
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
73
|
+
children: /* @__PURE__ */ b(a, { children: /* @__PURE__ */ b(_, { className: "size-4" }) })
|
|
74
|
+
}), r]
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
function j({ className: t, children: n, ...r }) {
|
|
78
|
+
return /* @__PURE__ */ x(u, {
|
|
79
|
+
"data-slot": "menubar-radio-item",
|
|
80
|
+
className: e("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
|
|
81
|
+
...r,
|
|
82
|
+
children: [/* @__PURE__ */ b("span", {
|
|
83
|
+
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
84
|
+
children: /* @__PURE__ */ b(a, { children: /* @__PURE__ */ b(y, { className: "size-2 fill-current" }) })
|
|
85
|
+
}), n]
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function M({ className: t, inset: n, ...r }) {
|
|
89
|
+
return /* @__PURE__ */ b(o, {
|
|
90
|
+
"data-slot": "menubar-label",
|
|
91
|
+
"data-inset": n,
|
|
92
|
+
className: e("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", t),
|
|
93
|
+
...r
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
function N({ className: t, ...n }) {
|
|
97
|
+
return /* @__PURE__ */ b(f, {
|
|
98
|
+
"data-slot": "menubar-separator",
|
|
99
|
+
className: e("bg-border -mx-1 my-1 h-px", t),
|
|
100
|
+
...n
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function P({ className: t, ...n }) {
|
|
104
|
+
return /* @__PURE__ */ b("span", {
|
|
105
|
+
"data-slot": "menubar-shortcut",
|
|
106
|
+
className: e("text-muted-foreground ml-auto text-xs tracking-widest", t),
|
|
107
|
+
...n
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
function F({ ...e }) {
|
|
111
|
+
return /* @__PURE__ */ b(p, {
|
|
112
|
+
"data-slot": "menubar-sub",
|
|
113
|
+
...e
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
function I({ className: t, inset: n, children: r, ...i }) {
|
|
117
|
+
return /* @__PURE__ */ x(h, {
|
|
118
|
+
"data-slot": "menubar-sub-trigger",
|
|
119
|
+
"data-inset": n,
|
|
120
|
+
className: e("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8", t),
|
|
121
|
+
...i,
|
|
122
|
+
children: [r, /* @__PURE__ */ b(v, { className: "ml-auto h-4 w-4" })]
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
function L({ className: t, ...n }) {
|
|
126
|
+
return /* @__PURE__ */ b(m, {
|
|
127
|
+
"data-slot": "menubar-sub-content",
|
|
128
|
+
className: e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", t),
|
|
129
|
+
...n
|
|
51
130
|
});
|
|
52
131
|
}
|
|
53
132
|
//#endregion
|
|
54
|
-
export {
|
|
133
|
+
export { S as Menubar, A as MenubarCheckboxItem, O as MenubarContent, w as MenubarGroup, k as MenubarItem, M as MenubarLabel, C as MenubarMenu, T as MenubarPortal, E as MenubarRadioGroup, j as MenubarRadioItem, N as MenubarSeparator, P as MenubarShortcut, F as MenubarSub, L as MenubarSubContent, I as MenubarSubTrigger, D as MenubarTrigger };
|
package/dist/index93.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./
|
|
1
|
+
"use client";const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index92.cjs");let r=require("lucide-react"),i=require("react");i=e.__toESM(i,1);let a=require("react/jsx-runtime");function o({className:e,...r}){return(0,a.jsx)(n.Root3,{"data-slot":`menubar`,className:t.cn(`bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs`,e),...r})}function s({...e}){return(0,a.jsx)(n.Menu,{"data-slot":`menubar-menu`,...e})}function c({...e}){return(0,a.jsx)(n.Group2,{"data-slot":`menubar-group`,...e})}function l({...e}){return(0,a.jsx)(n.Portal2,{"data-slot":`menubar-portal`,...e})}function u({...e}){return(0,a.jsx)(n.RadioGroup2,{"data-slot":`menubar-radio-group`,...e})}function d({className:e,...r}){return(0,a.jsx)(n.Trigger,{"data-slot":`menubar-trigger`,className:t.cn(`focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none`,e),...r})}function f({className:e,align:r=`start`,alignOffset:i=-4,sideOffset:o=8,...s}){return(0,a.jsx)(l,{children:(0,a.jsx)(n.Content2,{"data-slot":`menubar-content`,align:r,alignOffset:i,sideOffset:o,className:t.cn(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md`,e),...s})})}function p({className:e,inset:r,variant:i=`default`,...o}){return(0,a.jsx)(n.Item3,{"data-slot":`menubar-item`,"data-inset":r,"data-variant":i,className:t.cn(`focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...o})}function m({className:e,children:i,checked:o,...s}){return(0,a.jsxs)(n.CheckboxItem2,{"data-slot":`menubar-checkbox-item`,className:t.cn(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),checked:o,...s,children:[(0,a.jsx)(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:(0,a.jsx)(n.ItemIndicator2,{children:(0,a.jsx)(r.CheckIcon,{className:`size-4`})})}),i]})}function h({className:e,children:i,...o}){return(0,a.jsxs)(n.RadioItem2,{"data-slot":`menubar-radio-item`,className:t.cn(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...o,children:[(0,a.jsx)(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:(0,a.jsx)(n.ItemIndicator2,{children:(0,a.jsx)(r.CircleIcon,{className:`size-2 fill-current`})})}),i]})}function g({className:e,inset:r,...i}){return(0,a.jsx)(n.Label2,{"data-slot":`menubar-label`,"data-inset":r,className:t.cn(`px-2 py-1.5 text-sm font-medium data-[inset]:pl-8`,e),...i})}function _({className:e,...r}){return(0,a.jsx)(n.Separator2,{"data-slot":`menubar-separator`,className:t.cn(`bg-border -mx-1 my-1 h-px`,e),...r})}function v({className:e,...n}){return(0,a.jsx)(`span`,{"data-slot":`menubar-shortcut`,className:t.cn(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n})}function y({...e}){return(0,a.jsx)(n.Sub2,{"data-slot":`menubar-sub`,...e})}function b({className:e,inset:i,children:o,...s}){return(0,a.jsxs)(n.SubTrigger2,{"data-slot":`menubar-sub-trigger`,"data-inset":i,className:t.cn(`focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8`,e),...s,children:[o,(0,a.jsx)(r.ChevronRightIcon,{className:`ml-auto h-4 w-4`})]})}function x({className:e,...r}){return(0,a.jsx)(n.SubContent2,{"data-slot":`menubar-sub-content`,className:t.cn(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg`,e),...r})}exports.Menubar=o,exports.MenubarCheckboxItem=m,exports.MenubarContent=f,exports.MenubarGroup=c,exports.MenubarItem=p,exports.MenubarLabel=g,exports.MenubarMenu=s,exports.MenubarPortal=l,exports.MenubarRadioGroup=u,exports.MenubarRadioItem=h,exports.MenubarSeparator=_,exports.MenubarShortcut=v,exports.MenubarSub=y,exports.MenubarSubContent=x,exports.MenubarSubTrigger=b,exports.MenubarTrigger=d;
|
package/dist/index93.js
CHANGED
|
@@ -1,57 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
n.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
m,
|
|
12
|
-
h,
|
|
13
|
-
g
|
|
14
|
-
]);
|
|
15
|
-
let C = (e, t) => {
|
|
16
|
-
let n = parseInt(t, 10);
|
|
17
|
-
if (Number.isNaN(n)) return;
|
|
18
|
-
let r = 59;
|
|
19
|
-
if (e === "hour" && (r = 23), n < 0 || n > r) return;
|
|
20
|
-
let i = new Date(p);
|
|
21
|
-
e === "hour" ? i.setHours(n) : e === "minute" ? i.setMinutes(n) : i.setSeconds(n), s(i);
|
|
22
|
-
};
|
|
23
|
-
return /* @__PURE__ */ a("div", {
|
|
24
|
-
className: e("flex items-center gap-1", l),
|
|
25
|
-
children: [
|
|
26
|
-
u && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(t, {
|
|
27
|
-
type: "number",
|
|
28
|
-
min: 0,
|
|
29
|
-
max: 23,
|
|
30
|
-
value: _,
|
|
31
|
-
onChange: (e) => v(e.target.value),
|
|
32
|
-
onBlur: (e) => C("hour", e.target.value),
|
|
33
|
-
className: "w-14 text-center"
|
|
34
|
-
}), (d || f) && /* @__PURE__ */ i("span", { children: ":" })] }),
|
|
35
|
-
d && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(t, {
|
|
36
|
-
type: "number",
|
|
37
|
-
min: 0,
|
|
38
|
-
max: 59,
|
|
39
|
-
value: y,
|
|
40
|
-
onChange: (e) => b(e.target.value),
|
|
41
|
-
onBlur: (e) => C("minute", e.target.value),
|
|
42
|
-
className: "w-14 text-center"
|
|
43
|
-
}), f && /* @__PURE__ */ i("span", { children: ":" })] }),
|
|
44
|
-
f && /* @__PURE__ */ i(t, {
|
|
45
|
-
type: "number",
|
|
46
|
-
min: 0,
|
|
47
|
-
max: 59,
|
|
48
|
-
value: x,
|
|
49
|
-
onChange: (e) => S(e.target.value),
|
|
50
|
-
onBlur: (e) => C("second", e.target.value),
|
|
51
|
-
className: "w-14 text-center"
|
|
52
|
-
})
|
|
53
|
-
]
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.4_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
3
|
+
var t = Object.defineProperty, n = (e, n) => t(e, "name", {
|
|
4
|
+
value: n,
|
|
5
|
+
configurable: !0
|
|
6
|
+
});
|
|
7
|
+
function r(t) {
|
|
8
|
+
let n = e.useRef({
|
|
9
|
+
value: t,
|
|
10
|
+
previous: t
|
|
54
11
|
});
|
|
12
|
+
return e.useMemo(() => (n.current.value !== t && (n.current.previous = n.current.value, n.current.value = t), n.current.previous), [t]);
|
|
55
13
|
}
|
|
14
|
+
n(r, "usePrevious");
|
|
56
15
|
//#endregion
|
|
57
|
-
export {
|
|
16
|
+
export { r as usePrevious };
|
package/dist/index94.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./index2.cjs")
|
|
1
|
+
const e=require("./index2.cjs");let t=require("react");t=e.__toESM(t,1);var n=Object.defineProperty,r=(e,t)=>n(e,`name`,{value:t,configurable:!0});function i(e){let n=t.useRef({value:e,previous:e});return t.useMemo(()=>(n.current.value!==e&&(n.current.previous=n.current.value,n.current.value=e),n.current.previous),[e])}r(i,`usePrevious`),exports.usePrevious=i;
|
package/dist/index94.js
CHANGED
|
@@ -1,57 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { jsx as n
|
|
4
|
-
//#region
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
return /* @__PURE__ */ r("div", {
|
|
30
|
-
className: "flex gap-1 p-1",
|
|
31
|
-
children: [
|
|
32
|
-
c && /* @__PURE__ */ r("div", {
|
|
33
|
-
className: "flex flex-col items-center",
|
|
34
|
-
children: [/* @__PURE__ */ n("span", {
|
|
35
|
-
className: "text-xs font-medium mb-1",
|
|
36
|
-
children: "Giờ"
|
|
37
|
-
}), S("hour", 24, d, h, v)]
|
|
38
|
-
}),
|
|
39
|
-
l && /* @__PURE__ */ r("div", {
|
|
40
|
-
className: "flex flex-col items-center",
|
|
41
|
-
children: [/* @__PURE__ */ n("span", {
|
|
42
|
-
className: "text-xs font-medium mb-1",
|
|
43
|
-
children: "Phút"
|
|
44
|
-
}), S("minute", 60, f, g, y)]
|
|
45
|
-
}),
|
|
46
|
-
u && /* @__PURE__ */ r("div", {
|
|
47
|
-
className: "flex flex-col items-center",
|
|
48
|
-
children: [/* @__PURE__ */ n("span", {
|
|
49
|
-
className: "text-xs font-medium mb-1",
|
|
50
|
-
children: "Giây"
|
|
51
|
-
}), S("second", 60, p, _, b)]
|
|
52
|
-
})
|
|
53
|
-
]
|
|
1
|
+
import { Primitive as e } from "./index12.js";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.11_@types+react-dom@19.2.3_@types+react@19.2.17__@t_49902735f28f2f777072691117febbac/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
5
|
+
var r = Object.defineProperty, i = (e, t) => r(e, "name", {
|
|
6
|
+
value: t,
|
|
7
|
+
configurable: !0
|
|
8
|
+
}), a = Object.freeze({
|
|
9
|
+
position: "absolute",
|
|
10
|
+
border: 0,
|
|
11
|
+
width: 1,
|
|
12
|
+
height: 1,
|
|
13
|
+
padding: 0,
|
|
14
|
+
margin: -1,
|
|
15
|
+
overflow: "hidden",
|
|
16
|
+
clip: "rect(0, 0, 0, 0)",
|
|
17
|
+
whiteSpace: "nowrap",
|
|
18
|
+
wordWrap: "normal"
|
|
19
|
+
}), o = /* @__PURE__ */ t.forwardRef(/* @__PURE__ */ i(function(t, r) {
|
|
20
|
+
return /* @__PURE__ */ n(e.span, {
|
|
21
|
+
...t,
|
|
22
|
+
ref: r,
|
|
23
|
+
style: {
|
|
24
|
+
...a,
|
|
25
|
+
...t.style
|
|
26
|
+
}
|
|
54
27
|
});
|
|
55
|
-
}
|
|
28
|
+
}, "VisuallyHidden"));
|
|
56
29
|
//#endregion
|
|
57
|
-
export {
|
|
30
|
+
export { o as Root };
|
package/dist/index95.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./
|
|
1
|
+
const e=require("./index2.cjs"),t=require("./index13.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime");var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0}),o=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),s=n.forwardRef(a(function(e,n){return(0,r.jsx)(t.Primitive.span,{...e,ref:n,style:{...o,...e.style}})},`VisuallyHidden`));exports.Root=s;
|