@adamosuiteservices/ui 2.9.15 → 2.10.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.
- package/dist/accordion-rounded.cjs +12 -17
- package/dist/accordion-rounded.js +37 -46
- package/dist/accordion.cjs +8 -7
- package/dist/accordion.js +19 -17
- package/dist/alert.cjs +7 -3
- package/dist/alert.js +14 -10
- package/dist/avatar.cjs +2 -0
- package/dist/avatar.js +42 -40
- package/dist/badge.cjs +9 -2
- package/dist/badge.js +19 -12
- package/dist/breadcrumb.cjs +7 -3
- package/dist/breadcrumb.js +30 -24
- package/dist/{button-B7ZP4LZN.js → button-CUNnLccZ.js} +11 -6
- package/dist/{button-D-qFRXiM.cjs → button-CxGyLoeN.cjs} +7 -2
- package/dist/button-group.cjs +2 -0
- package/dist/button-group.js +15 -13
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/calendar.cjs +8 -6
- package/dist/calendar.js +507 -492
- package/dist/card.cjs +9 -4
- package/dist/card.js +8 -3
- package/dist/checkbox-CFGlO5wt.cjs +22 -0
- package/dist/{checkbox-DhBcmKze.js → checkbox-DsN1IQGA.js} +70 -68
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/combobox.cjs +10 -13
- package/dist/combobox.js +90 -99
- package/dist/components/ui/icon/icon.d.ts +1 -3
- package/dist/components/ui/icon/icon.stories.d.ts +0 -5
- package/dist/components/ui/spinner/spinner.d.ts +1 -1
- package/dist/components/ui/tooltip/tooltip.stories.d.ts +0 -1
- package/dist/context-menu.cjs +10 -8
- package/dist/context-menu.js +126 -120
- package/dist/custom-layered-styles.css +1 -1
- package/dist/dialog.cjs +10 -7
- package/dist/dialog.js +43 -40
- package/dist/dropdown-menu.cjs +25 -10
- package/dist/dropdown-menu.js +179 -166
- package/dist/icon-D0vVkV-A.js +35 -0
- package/dist/icon-SWksUOv5.cjs +6 -0
- package/dist/icon.cjs +1 -1
- package/dist/icon.js +1 -1
- package/dist/icons.css +1 -1
- package/dist/input-group.cjs +14 -6
- package/dist/input-group.js +25 -17
- package/dist/kbd.cjs +3 -3
- package/dist/kbd.js +1 -0
- package/dist/pagination.cjs +4 -4
- package/dist/pagination.js +41 -43
- package/dist/radio-group.cjs +5 -5
- package/dist/radio-group.js +44 -42
- package/dist/radius.css +1 -1
- package/dist/select.cjs +12 -13
- package/dist/select.js +182 -187
- package/dist/{sheet-Q3dBOQG-.js → sheet-DM7b3ckK.js} +18 -18
- package/dist/{sheet-CGahUP7F.cjs → sheet-DfRu4ByS.cjs} +4 -4
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/sidebar.cjs +6 -11
- package/dist/sidebar.js +38 -49
- package/dist/spinner.cjs +1 -6
- package/dist/spinner.js +10 -16
- package/dist/styles.css +1 -1
- package/dist/tabs-underline.cjs +6 -3
- package/dist/tabs-underline.js +8 -5
- package/dist/tabs.cjs +6 -3
- package/dist/tabs.js +8 -5
- package/dist/toggle.cjs +5 -2
- package/dist/toggle.js +14 -11
- package/docs/components/layout/sidebar.md +18 -23
- package/docs/components/ui/accordion-rounded.md +584 -583
- package/docs/components/ui/accordion.md +3 -1
- package/docs/components/ui/alert.md +650 -671
- package/docs/components/ui/avatar.md +587 -588
- package/docs/components/ui/badge.md +1019 -1024
- package/docs/components/ui/breadcrumb.md +14 -14
- package/docs/components/ui/button-group.md +69 -87
- package/docs/components/ui/button.md +17 -17
- package/docs/components/ui/calendar.md +6 -6
- package/docs/components/ui/card.md +21 -27
- package/docs/components/ui/collapsible.md +16 -13
- package/docs/components/ui/combobox.md +14 -14
- package/docs/components/ui/command.md +6 -6
- package/docs/components/ui/context-menu.md +23 -23
- package/docs/components/ui/dialog.md +16 -16
- package/docs/components/ui/dropdown-menu.md +44 -66
- package/docs/components/ui/hover-card.md +5 -5
- package/docs/components/ui/icon.md +87 -88
- package/docs/components/ui/input-group.md +523 -509
- package/docs/components/ui/kbd.md +8 -8
- package/docs/components/ui/label.md +5 -5
- package/docs/components/ui/pagination.md +5 -5
- package/docs/components/ui/popover.md +14 -14
- package/docs/components/ui/progress.md +2 -2
- package/docs/components/ui/radio-group.md +2 -2
- package/docs/components/ui/select.md +6 -6
- package/docs/components/ui/spinner.md +15 -15
- package/docs/components/ui/switch.md +15 -9
- package/docs/components/ui/tabs-underline.md +4 -4
- package/docs/components/ui/tabs.md +5 -5
- package/docs/components/ui/toggle.md +17 -23
- package/docs/components/ui/tooltip.md +7 -10
- package/package.json +1 -1
- package/dist/check-CLxNVljQ.cjs +0 -6
- package/dist/check-Ci0GjV-B.js +0 -11
- package/dist/checkbox-CdnZ8VFJ.cjs +0 -21
- package/dist/chevron-down-BqEHzml5.cjs +0 -6
- package/dist/chevron-down-CpVS2Z7w.js +0 -11
- package/dist/chevron-left-B8QsBNvc.cjs +0 -6
- package/dist/chevron-left-Eal-WYLp.js +0 -11
- package/dist/chevron-right-BpzggHsr.cjs +0 -6
- package/dist/chevron-right-Cnc2tB4-.js +0 -11
- package/dist/circle-CX7JIirj.cjs +0 -6
- package/dist/circle-DYv-7Qb9.js +0 -11
- package/dist/createLucideIcon-B_8CJpcQ.js +0 -94
- package/dist/createLucideIcon-CAtnV-yz.cjs +0 -21
- package/dist/ellipsis-CryjZKZn.js +0 -15
- package/dist/ellipsis-Ct9VTDOG.cjs +0 -6
- package/dist/icon-DTx6Y_mx.cjs +0 -6
- package/dist/icon-DmU_SEHC.js +0 -36
- package/dist/minus-C0pHPx21.cjs +0 -6
- package/dist/minus-DE-onYs2.js +0 -11
- package/dist/x-CBKgg4YL.cjs +0 -6
- package/dist/x-Dl66o_vF.js +0 -14
|
@@ -16,7 +16,7 @@ import { Toggle } from "@adamosuiteservices/ui/toggle";
|
|
|
16
16
|
|
|
17
17
|
```tsx
|
|
18
18
|
<Toggle aria-label="Toggle italic">
|
|
19
|
-
<
|
|
19
|
+
<Icon symbol="format_italic" />
|
|
20
20
|
</Toggle>
|
|
21
21
|
```
|
|
22
22
|
|
|
@@ -40,10 +40,10 @@ import { Toggle } from "@adamosuiteservices/ui/toggle";
|
|
|
40
40
|
|
|
41
41
|
```tsx
|
|
42
42
|
import { Toggle } from "@adamosuiteservices/ui/toggle";
|
|
43
|
-
import {
|
|
43
|
+
import { Icon } from "@adamosuiteservices/ui/icon";
|
|
44
44
|
|
|
45
45
|
<Toggle aria-label="Toggle italic">
|
|
46
|
-
<
|
|
46
|
+
<Icon symbol="format_italic" />
|
|
47
47
|
</Toggle>;
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ import { ItalicIcon } from "lucide-react";
|
|
|
51
51
|
|
|
52
52
|
```tsx
|
|
53
53
|
<Toggle aria-label="Toggle bold">
|
|
54
|
-
<
|
|
54
|
+
<Icon symbol="format_bold" />
|
|
55
55
|
Bold
|
|
56
56
|
</Toggle>
|
|
57
57
|
```
|
|
@@ -61,23 +61,21 @@ import { ItalicIcon } from "lucide-react";
|
|
|
61
61
|
```tsx
|
|
62
62
|
// Default (transparent background)
|
|
63
63
|
<Toggle aria-label="Default">
|
|
64
|
-
<
|
|
64
|
+
<Icon symbol="format_italic" />
|
|
65
65
|
</Toggle>
|
|
66
66
|
|
|
67
67
|
// Outline (con border)
|
|
68
68
|
<Toggle variant="outline" aria-label="Outline">
|
|
69
|
-
<
|
|
69
|
+
<Icon symbol="format_italic" />
|
|
70
70
|
</Toggle>
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
### Tamaños
|
|
74
74
|
|
|
75
75
|
```tsx
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
<Toggle size="
|
|
79
|
-
<Toggle size="default"><UnderlineIcon /></Toggle>
|
|
80
|
-
<Toggle size="lg"><UnderlineIcon /></Toggle>
|
|
76
|
+
<Toggle size="sm"><Icon symbol="format_underlined" /></Toggle>
|
|
77
|
+
<Toggle size="default"><Icon symbol="format_underlined" /></Toggle>
|
|
78
|
+
<Toggle size="lg"><Icon symbol="format_underlined" /></Toggle>
|
|
81
79
|
```
|
|
82
80
|
|
|
83
81
|
### Controlado
|
|
@@ -94,7 +92,7 @@ function App() {
|
|
|
94
92
|
onPressedChange={setIsPressed}
|
|
95
93
|
aria-label="Toggle bold"
|
|
96
94
|
>
|
|
97
|
-
<
|
|
95
|
+
<Icon symbol="format_bold" />
|
|
98
96
|
{isPressed ? "Bold (On)" : "Bold (Off)"}
|
|
99
97
|
</Toggle>
|
|
100
98
|
);
|
|
@@ -104,8 +102,6 @@ function App() {
|
|
|
104
102
|
### Text Editor Formatting
|
|
105
103
|
|
|
106
104
|
```tsx
|
|
107
|
-
import { BoldIcon, ItalicIcon, UnderlineIcon } from "lucide-react";
|
|
108
|
-
|
|
109
105
|
function TextEditor() {
|
|
110
106
|
const [formatting, setFormatting] = useState({
|
|
111
107
|
bold: false,
|
|
@@ -122,7 +118,7 @@ function TextEditor() {
|
|
|
122
118
|
}
|
|
123
119
|
size="sm"
|
|
124
120
|
>
|
|
125
|
-
<
|
|
121
|
+
<Icon symbol="format_bold" />
|
|
126
122
|
</Toggle>
|
|
127
123
|
<Toggle
|
|
128
124
|
pressed={formatting.italic}
|
|
@@ -131,7 +127,7 @@ function TextEditor() {
|
|
|
131
127
|
}
|
|
132
128
|
size="sm"
|
|
133
129
|
>
|
|
134
|
-
<
|
|
130
|
+
<Icon symbol="format_italic" />
|
|
135
131
|
</Toggle>
|
|
136
132
|
<Toggle
|
|
137
133
|
pressed={formatting.underline}
|
|
@@ -140,7 +136,7 @@ function TextEditor() {
|
|
|
140
136
|
}
|
|
141
137
|
size="sm"
|
|
142
138
|
>
|
|
143
|
-
<
|
|
139
|
+
<Icon symbol="format_underlined" />
|
|
144
140
|
</Toggle>
|
|
145
141
|
</div>
|
|
146
142
|
);
|
|
@@ -150,8 +146,6 @@ function TextEditor() {
|
|
|
150
146
|
### Media Controls
|
|
151
147
|
|
|
152
148
|
```tsx
|
|
153
|
-
import { MicIcon, MicOffIcon, VideoIcon, VideoOffIcon } from "lucide-react";
|
|
154
|
-
|
|
155
149
|
function MediaControls() {
|
|
156
150
|
const [media, setMedia] = useState({
|
|
157
151
|
microphone: false,
|
|
@@ -170,7 +164,7 @@ function MediaControls() {
|
|
|
170
164
|
!media.microphone ? "bg-destructive text-destructive-foreground" : ""
|
|
171
165
|
}
|
|
172
166
|
>
|
|
173
|
-
{media.microphone ?
|
|
167
|
+
<Icon symbol={media.microphone ? "mic" : "mic_off"} />
|
|
174
168
|
</Toggle>
|
|
175
169
|
|
|
176
170
|
<Toggle
|
|
@@ -183,7 +177,7 @@ function MediaControls() {
|
|
|
183
177
|
!media.camera ? "bg-destructive text-destructive-foreground" : ""
|
|
184
178
|
}
|
|
185
179
|
>
|
|
186
|
-
{media.camera ?
|
|
180
|
+
<Icon symbol={media.camera ? "videocam" : "videocam_off"} />
|
|
187
181
|
</Toggle>
|
|
188
182
|
</div>
|
|
189
183
|
);
|
|
@@ -193,8 +187,8 @@ function MediaControls() {
|
|
|
193
187
|
### Deshabilitado
|
|
194
188
|
|
|
195
189
|
```tsx
|
|
196
|
-
<Toggle disabled><
|
|
197
|
-
<Toggle disabled defaultPressed><
|
|
190
|
+
<Toggle disabled><Icon symbol="format_underlined" /></Toggle>
|
|
191
|
+
<Toggle disabled defaultPressed><Icon symbol="format_underlined" /></Toggle>
|
|
198
192
|
```
|
|
199
193
|
|
|
200
194
|
## Casos de Uso
|
|
@@ -87,12 +87,12 @@ import { Button } from "@adamosuiteservices/ui/button";
|
|
|
87
87
|
### Con Icono
|
|
88
88
|
|
|
89
89
|
```tsx
|
|
90
|
-
import {
|
|
90
|
+
import { Icon } from "@adamosuiteservices/ui/icon";
|
|
91
91
|
|
|
92
92
|
<Tooltip>
|
|
93
93
|
<TooltipTrigger asChild>
|
|
94
94
|
<Button variant="outline" size="icon">
|
|
95
|
-
<
|
|
95
|
+
<Icon symbol="info" className="text-lg" />
|
|
96
96
|
</Button>
|
|
97
97
|
</TooltipTrigger>
|
|
98
98
|
<TooltipContent>
|
|
@@ -166,13 +166,11 @@ Para múltiples tooltips, usa TooltipProvider:
|
|
|
166
166
|
### Action Buttons
|
|
167
167
|
|
|
168
168
|
```tsx
|
|
169
|
-
import { CopyIcon, EditIcon, ShareIcon, TrashIcon } from "lucide-react";
|
|
170
|
-
|
|
171
169
|
<div className="flex gap-2">
|
|
172
170
|
<Tooltip>
|
|
173
171
|
<TooltipTrigger asChild>
|
|
174
172
|
<Button size="icon" variant="outline">
|
|
175
|
-
<
|
|
173
|
+
<Icon symbol="content_copy" className="text-lg" />
|
|
176
174
|
</Button>
|
|
177
175
|
</TooltipTrigger>
|
|
178
176
|
<TooltipContent>
|
|
@@ -183,7 +181,7 @@ import { CopyIcon, EditIcon, ShareIcon, TrashIcon } from "lucide-react";
|
|
|
183
181
|
<Tooltip>
|
|
184
182
|
<TooltipTrigger asChild>
|
|
185
183
|
<Button size="icon" variant="outline">
|
|
186
|
-
<
|
|
184
|
+
<Icon symbol="edit" className="text-lg" />
|
|
187
185
|
</Button>
|
|
188
186
|
</TooltipTrigger>
|
|
189
187
|
<TooltipContent>
|
|
@@ -194,7 +192,7 @@ import { CopyIcon, EditIcon, ShareIcon, TrashIcon } from "lucide-react";
|
|
|
194
192
|
<Tooltip>
|
|
195
193
|
<TooltipTrigger asChild>
|
|
196
194
|
<Button size="icon" variant="outline">
|
|
197
|
-
<
|
|
195
|
+
<Icon symbol="share" className="text-lg" />
|
|
198
196
|
</Button>
|
|
199
197
|
</TooltipTrigger>
|
|
200
198
|
<TooltipContent>
|
|
@@ -205,7 +203,7 @@ import { CopyIcon, EditIcon, ShareIcon, TrashIcon } from "lucide-react";
|
|
|
205
203
|
<Tooltip>
|
|
206
204
|
<TooltipTrigger asChild>
|
|
207
205
|
<Button size="icon" variant="destructive">
|
|
208
|
-
<
|
|
206
|
+
<Icon symbol="delete" className="text-lg" />
|
|
209
207
|
</Button>
|
|
210
208
|
</TooltipTrigger>
|
|
211
209
|
<TooltipContent>
|
|
@@ -218,7 +216,6 @@ import { CopyIcon, EditIcon, ShareIcon, TrashIcon } from "lucide-react";
|
|
|
218
216
|
### Form Help Icons
|
|
219
217
|
|
|
220
218
|
```tsx
|
|
221
|
-
import { HelpCircleIcon, InfoIcon } from "lucide-react";
|
|
222
219
|
import { Label } from "@adamosuiteservices/ui/label";
|
|
223
220
|
import { Input } from "@adamosuiteservices/ui/input";
|
|
224
221
|
|
|
@@ -227,7 +224,7 @@ import { Input } from "@adamosuiteservices/ui/input";
|
|
|
227
224
|
<Label htmlFor="username">Username</Label>
|
|
228
225
|
<Tooltip>
|
|
229
226
|
<TooltipTrigger asChild>
|
|
230
|
-
<
|
|
227
|
+
<Icon symbol="help" className="cursor-help text-lg text-muted-foreground" />
|
|
231
228
|
</TooltipTrigger>
|
|
232
229
|
<TooltipContent>
|
|
233
230
|
<p>
|
package/package.json
CHANGED
package/dist/check-CLxNVljQ.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("./createLucideIcon-CAtnV-yz.cjs");/**
|
|
2
|
-
* @license lucide-react v0.546.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const e=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],t=c.createLucideIcon("check",e);exports.Check=t;
|
package/dist/check-Ci0GjV-B.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { c } from "./createLucideIcon-B_8CJpcQ.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.546.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const e = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], t = c("check", e);
|
|
9
|
-
export {
|
|
10
|
-
t as C
|
|
11
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./jsx-runtime-BB_1_6y_.cjs"),F=require("react"),N=require("./index-_XxjJPRD.cjs"),H=require("./index-cwZN7ZY3.cjs"),_=require("./index-BWaO7kQK.cjs"),L=require("./index-DYxWvftI.cjs"),G=require("./index-bSPhqlcX.cjs"),K=require("./index-Bd0gQB0k.cjs"),P=require("./index-CocSS1YK.cjs"),y=require("./index-DoxiiusW.cjs"),U=require("./check-CLxNVljQ.cjs"),X=require("./minus-C0pHPx21.cjs");function J(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const d=J(F);var g="Checkbox",[Q]=H.createContextScope(g),[V,q]=Q(g);function W(e){const{__scopeCheckbox:r,checked:n,children:a,defaultChecked:c,disabled:t,form:p,name:x,onCheckedChange:u,required:f,value:h="on",internal_do_not_use_render:l}=e,[m,v]=_.useControllableState({prop:n,defaultProp:c??!1,onChange:u,caller:g}),[k,C]=d.useState(null),[R,s]=d.useState(null),i=d.useRef(!1),j=k?!!p||!!k.closest("form"):!0,E={checked:m,disabled:t,setChecked:v,control:k,setControl:C,name:x,form:p,value:h,hasConsumerStoppedPropagationRef:i,required:f,defaultChecked:b(c)?!1:c,isFormControl:j,bubbleInput:R,setBubbleInput:s};return o.jsxRuntimeExports.jsx(V,{scope:r,...E,children:Y(l)?l(E):a})}var w="CheckboxTrigger",S=d.forwardRef(({__scopeCheckbox:e,onKeyDown:r,onClick:n,...a},c)=>{const{control:t,value:p,disabled:x,checked:u,required:f,setControl:h,setChecked:l,hasConsumerStoppedPropagationRef:m,isFormControl:v,bubbleInput:k}=q(w,e),C=N.useComposedRefs(c,h),R=d.useRef(u);return d.useEffect(()=>{const s=t?.form;if(s){const i=()=>l(R.current);return s.addEventListener("reset",i),()=>s.removeEventListener("reset",i)}},[t,l]),o.jsxRuntimeExports.jsx(P.Primitive.button,{type:"button",role:"checkbox","aria-checked":b(u)?"mixed":u,"aria-required":f,"data-state":z(u),"data-disabled":x?"":void 0,disabled:x,value:p,...a,ref:C,onKeyDown:_.composeEventHandlers(r,s=>{s.key==="Enter"&&s.preventDefault()}),onClick:_.composeEventHandlers(n,s=>{l(i=>b(i)?!0:!i),k&&v&&(m.current=s.isPropagationStopped(),m.current||s.stopPropagation())})})});S.displayName=w;var O=d.forwardRef((e,r)=>{const{__scopeCheckbox:n,name:a,checked:c,defaultChecked:t,required:p,disabled:x,value:u,onCheckedChange:f,form:h,...l}=e;return o.jsxRuntimeExports.jsx(W,{__scopeCheckbox:n,checked:c,defaultChecked:t,disabled:x,required:p,onCheckedChange:f,name:a,form:h,value:u,internal_do_not_use_render:({isFormControl:m})=>o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(S,{...l,ref:r,__scopeCheckbox:n}),m&&o.jsxRuntimeExports.jsx($,{__scopeCheckbox:n})]})})});O.displayName=g;var B="CheckboxIndicator",M=d.forwardRef((e,r)=>{const{__scopeCheckbox:n,forceMount:a,...c}=e,t=q(B,n);return o.jsxRuntimeExports.jsx(K.Presence,{present:a||b(t.checked)||t.checked===!0,children:o.jsxRuntimeExports.jsx(P.Primitive.span,{"data-state":z(t.checked),"data-disabled":t.disabled?"":void 0,...c,ref:r,style:{pointerEvents:"none",...e.style}})})});M.displayName=B;var T="CheckboxBubbleInput",$=d.forwardRef(({__scopeCheckbox:e,...r},n)=>{const{control:a,hasConsumerStoppedPropagationRef:c,checked:t,defaultChecked:p,required:x,disabled:u,name:f,value:h,form:l,bubbleInput:m,setBubbleInput:v}=q(T,e),k=N.useComposedRefs(n,v),C=L.usePrevious(t),R=G.useSize(a);d.useEffect(()=>{const i=m;if(!i)return;const j=window.HTMLInputElement.prototype,I=Object.getOwnPropertyDescriptor(j,"checked").set,D=!c.current;if(C!==t&&I){const A=new Event("click",{bubbles:D});i.indeterminate=b(t),I.call(i,b(t)?!1:t),i.dispatchEvent(A)}},[m,C,t,c]);const s=d.useRef(b(t)?!1:t);return o.jsxRuntimeExports.jsx(P.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:p??s.current,required:x,disabled:u,name:f,value:h,form:l,...r,tabIndex:-1,ref:k,style:{...r.style,...R,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});$.displayName=T;function Y(e){return typeof e=="function"}function b(e){return e==="indeterminate"}function z(e){return b(e)?"indeterminate":e?"checked":"unchecked"}function Z({className:e,...r}){return o.jsxRuntimeExports.jsx(O,{"data-slot":"checkbox",className:y.cn(`
|
|
2
|
-
adm:peer adm:size-5 adm:shrink-0 adm:rounded-[6px] adm:border
|
|
3
|
-
adm:border-input adm:shadow-xs adm:transition-shadow adm:outline-none
|
|
4
|
-
adm:focus-visible:border-ring adm:focus-visible:ring-[3px]
|
|
5
|
-
adm:focus-visible:ring-ring/50
|
|
6
|
-
adm:disabled:cursor-not-allowed adm:disabled:opacity-50
|
|
7
|
-
adm:aria-invalid:border-destructive
|
|
8
|
-
adm:aria-invalid:ring-destructive/20
|
|
9
|
-
adm:data-[state=checked]:border-primary
|
|
10
|
-
adm:data-[state=checked]:bg-primary
|
|
11
|
-
adm:data-[state=checked]:text-primary-foreground
|
|
12
|
-
adm:dark:bg-input/30 adm:dark:aria-invalid:ring-destructive/40
|
|
13
|
-
adm:dark:data-[state=checked]:bg-primary
|
|
14
|
-
`,e),...r,children:o.jsxRuntimeExports.jsxs(M,{"data-slot":"checkbox-indicator",className:`
|
|
15
|
-
adm:group adm:grid adm:place-content-center adm:text-current
|
|
16
|
-
adm:transition-none
|
|
17
|
-
`,children:[o.jsxRuntimeExports.jsx(U.Check,{className:y.cn("adm:size-3.5 adm:text-white",`
|
|
18
|
-
adm:group-data-[state=indeterminate]:hidden
|
|
19
|
-
`)}),o.jsxRuntimeExports.jsx(X.Minus,{className:y.cn("adm:size-3.5 adm:text-primary",`
|
|
20
|
-
adm:group-data-[state=checked]:hidden
|
|
21
|
-
`)})]})})}exports.Checkbox=Z;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./createLucideIcon-CAtnV-yz.cjs");/**
|
|
2
|
-
* @license lucide-react v0.546.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const n=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],o=e.createLucideIcon("chevron-down",n);exports.ChevronDown=o;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { c as o } from "./createLucideIcon-B_8CJpcQ.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.546.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const n = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], e = o("chevron-down", n);
|
|
9
|
-
export {
|
|
10
|
-
e as C
|
|
11
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./createLucideIcon-CAtnV-yz.cjs");/**
|
|
2
|
-
* @license lucide-react v0.546.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const c=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],t=e.createLucideIcon("chevron-left",c);exports.ChevronLeft=t;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { c as e } from "./createLucideIcon-B_8CJpcQ.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.546.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const o = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], t = e("chevron-left", o);
|
|
9
|
-
export {
|
|
10
|
-
t as C
|
|
11
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./createLucideIcon-CAtnV-yz.cjs");/**
|
|
2
|
-
* @license lucide-react v0.546.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const c=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],t=e.createLucideIcon("chevron-right",c);exports.ChevronRight=t;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { c as o } from "./createLucideIcon-B_8CJpcQ.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.546.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], e = o("chevron-right", t);
|
|
9
|
-
export {
|
|
10
|
-
e as C
|
|
11
|
-
};
|
package/dist/circle-CX7JIirj.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("./createLucideIcon-CAtnV-yz.cjs");/**
|
|
2
|
-
* @license lucide-react v0.546.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],r=c.createLucideIcon("circle",e);exports.Circle=r;
|
package/dist/circle-DYv-7Qb9.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { c } from "./createLucideIcon-B_8CJpcQ.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.546.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const e = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]], r = c("circle", e);
|
|
9
|
-
export {
|
|
10
|
-
r as C
|
|
11
|
-
};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { forwardRef as l, createElement as n } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.546.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const w = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), h = (t) => t.replace(
|
|
9
|
-
/^([A-Z])|[\s-_]+(\w)/g,
|
|
10
|
-
(e, r, o) => o ? o.toUpperCase() : r.toLowerCase()
|
|
11
|
-
), i = (t) => {
|
|
12
|
-
const e = h(t);
|
|
13
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
14
|
-
}, u = (...t) => t.filter((e, r, o) => !!e && e.trim() !== "" && o.indexOf(e) === r).join(" ").trim(), f = (t) => {
|
|
15
|
-
for (const e in t)
|
|
16
|
-
if (e.startsWith("aria-") || e === "role" || e === "title")
|
|
17
|
-
return !0;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @license lucide-react v0.546.0 - ISC
|
|
21
|
-
*
|
|
22
|
-
* This source code is licensed under the ISC license.
|
|
23
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
24
|
-
*/
|
|
25
|
-
var g = {
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
width: 24,
|
|
28
|
-
height: 24,
|
|
29
|
-
viewBox: "0 0 24 24",
|
|
30
|
-
fill: "none",
|
|
31
|
-
stroke: "currentColor",
|
|
32
|
-
strokeWidth: 2,
|
|
33
|
-
strokeLinecap: "round",
|
|
34
|
-
strokeLinejoin: "round"
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @license lucide-react v0.546.0 - ISC
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the ISC license.
|
|
40
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/
|
|
42
|
-
const A = l(
|
|
43
|
-
({
|
|
44
|
-
color: t = "currentColor",
|
|
45
|
-
size: e = 24,
|
|
46
|
-
strokeWidth: r = 2,
|
|
47
|
-
absoluteStrokeWidth: o,
|
|
48
|
-
className: s = "",
|
|
49
|
-
children: a,
|
|
50
|
-
iconNode: p,
|
|
51
|
-
...c
|
|
52
|
-
}, m) => n(
|
|
53
|
-
"svg",
|
|
54
|
-
{
|
|
55
|
-
ref: m,
|
|
56
|
-
...g,
|
|
57
|
-
width: e,
|
|
58
|
-
height: e,
|
|
59
|
-
stroke: t,
|
|
60
|
-
strokeWidth: o ? Number(r) * 24 / Number(e) : r,
|
|
61
|
-
className: u("lucide", s),
|
|
62
|
-
...!a && !f(c) && { "aria-hidden": "true" },
|
|
63
|
-
...c
|
|
64
|
-
},
|
|
65
|
-
[
|
|
66
|
-
...p.map(([C, d]) => n(C, d)),
|
|
67
|
-
...Array.isArray(a) ? a : [a]
|
|
68
|
-
]
|
|
69
|
-
)
|
|
70
|
-
);
|
|
71
|
-
/**
|
|
72
|
-
* @license lucide-react v0.546.0 - ISC
|
|
73
|
-
*
|
|
74
|
-
* This source code is licensed under the ISC license.
|
|
75
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
-
*/
|
|
77
|
-
const k = (t, e) => {
|
|
78
|
-
const r = l(
|
|
79
|
-
({ className: o, ...s }, a) => n(A, {
|
|
80
|
-
ref: a,
|
|
81
|
-
iconNode: e,
|
|
82
|
-
className: u(
|
|
83
|
-
`lucide-${w(i(t))}`,
|
|
84
|
-
`lucide-${t}`,
|
|
85
|
-
o
|
|
86
|
-
),
|
|
87
|
-
...s
|
|
88
|
-
})
|
|
89
|
-
);
|
|
90
|
-
return r.displayName = i(t), r;
|
|
91
|
-
};
|
|
92
|
-
export {
|
|
93
|
-
k as c
|
|
94
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("react");/**
|
|
2
|
-
* @license lucide-react v0.546.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const C=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),w=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()),i=t=>{const e=w(t);return e.charAt(0).toUpperCase()+e.slice(1)},l=(...t)=>t.filter((e,r,o)=>!!e&&e.trim()!==""&&o.indexOf(e)===r).join(" ").trim(),f=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};/**
|
|
7
|
-
* @license lucide-react v0.546.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/var h={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
12
|
-
* @license lucide-react v0.546.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const g=s.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:n="",children:a,iconNode:u,...c},d)=>s.createElement("svg",{ref:d,...h,width:e,height:e,stroke:t,strokeWidth:o?Number(r)*24/Number(e):r,className:l("lucide",n),...!a&&!f(c)&&{"aria-hidden":"true"},...c},[...u.map(([m,p])=>s.createElement(m,p)),...Array.isArray(a)?a:[a]]));/**
|
|
17
|
-
* @license lucide-react v0.546.0 - ISC
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the ISC license.
|
|
20
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const A=(t,e)=>{const r=s.forwardRef(({className:o,...n},a)=>s.createElement(g,{ref:a,iconNode:e,className:l(`lucide-${C(i(t))}`,`lucide-${t}`,o),...n}));return r.displayName=i(t),r};exports.createLucideIcon=A;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { c } from "./createLucideIcon-B_8CJpcQ.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.546.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const e = [
|
|
9
|
-
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
10
|
-
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
11
|
-
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
12
|
-
], r = c("ellipsis", e);
|
|
13
|
-
export {
|
|
14
|
-
r as E
|
|
15
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("./createLucideIcon-CAtnV-yz.cjs");/**
|
|
2
|
-
* @license lucide-react v0.546.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const e=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],i=c.createLucideIcon("ellipsis",e);exports.Ellipsis=i;
|
package/dist/icon-DTx6Y_mx.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./jsx-runtime-BB_1_6y_.cjs"),m=require("./index-DoxiiusW.cjs");function x({symbol:t,size:n="24",fill:s=0,weight:e=200,grade:i=0,opticalSize:o=24,className:c,style:r,...u}){const l={fontSize:`${n}px`,fontVariationSettings:`
|
|
2
|
-
'FILL' ${s},
|
|
3
|
-
'wght' ${e},
|
|
4
|
-
'GRAD' ${i},
|
|
5
|
-
'opsz' ${o}
|
|
6
|
-
`,...r};return a.jsxRuntimeExports.jsx("span",{className:m.cn("material-symbols-outlined",c),style:l,...u,children:t})}exports.Icon=x;
|
package/dist/icon-DmU_SEHC.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { j as l } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
-
import { c as p } from "./index-CRiPKpXj.js";
|
|
3
|
-
function x({
|
|
4
|
-
symbol: t,
|
|
5
|
-
size: o = "24",
|
|
6
|
-
fill: s = 0,
|
|
7
|
-
weight: n = 200,
|
|
8
|
-
grade: e = 0,
|
|
9
|
-
opticalSize: i = 24,
|
|
10
|
-
className: r,
|
|
11
|
-
style: a,
|
|
12
|
-
...m
|
|
13
|
-
}) {
|
|
14
|
-
const c = {
|
|
15
|
-
fontSize: `${o}px`,
|
|
16
|
-
fontVariationSettings: `
|
|
17
|
-
'FILL' ${s},
|
|
18
|
-
'wght' ${n},
|
|
19
|
-
'GRAD' ${e},
|
|
20
|
-
'opsz' ${i}
|
|
21
|
-
`,
|
|
22
|
-
...a
|
|
23
|
-
};
|
|
24
|
-
return /* @__PURE__ */ l.jsx(
|
|
25
|
-
"span",
|
|
26
|
-
{
|
|
27
|
-
className: p("material-symbols-outlined", r),
|
|
28
|
-
style: c,
|
|
29
|
-
...m,
|
|
30
|
-
children: t
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
export {
|
|
35
|
-
x as I
|
|
36
|
-
};
|
package/dist/minus-C0pHPx21.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("./createLucideIcon-CAtnV-yz.cjs");/**
|
|
2
|
-
* @license lucide-react v0.546.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const e=[["path",{d:"M5 12h14",key:"1ays0h"}]],n=c.createLucideIcon("minus",e);exports.Minus=n;
|
package/dist/minus-DE-onYs2.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { c as o } from "./createLucideIcon-B_8CJpcQ.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.546.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const c = [["path", { d: "M5 12h14", key: "1ays0h" }]], e = o("minus", c);
|
|
9
|
-
export {
|
|
10
|
-
e as M
|
|
11
|
-
};
|
package/dist/x-CBKgg4YL.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./createLucideIcon-CAtnV-yz.cjs");/**
|
|
2
|
-
* @license lucide-react v0.546.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const c=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],t=e.createLucideIcon("x",c);exports.X=t;
|
package/dist/x-Dl66o_vF.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { c as o } from "./createLucideIcon-B_8CJpcQ.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.546.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const c = [
|
|
9
|
-
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
10
|
-
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
11
|
-
], t = o("x", c);
|
|
12
|
-
export {
|
|
13
|
-
t as X
|
|
14
|
-
};
|