@szum-tech/design-system 3.21.3 → 3.21.5
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/chunk-3HJVMA3Y.js +1 -0
- package/dist/chunk-62XFAU6W.js +1 -0
- package/dist/chunk-7H6FG3WK.js +1 -0
- package/dist/chunk-ACNSHHAQ.cjs +1 -0
- package/dist/chunk-DZ7DT62T.cjs +1 -0
- package/dist/chunk-ENTQSC4A.cjs +1 -0
- package/dist/chunk-FLOFQPVA.js +1 -0
- package/dist/chunk-JRHO3R2D.cjs +1 -0
- package/dist/chunk-K7HD7TTL.js +1 -0
- package/dist/chunk-LKLBA46K.js +1 -0
- package/dist/chunk-M7WD2A7J.js +1 -0
- package/dist/chunk-MZSK7XYX.cjs +1 -0
- package/dist/chunk-NY7ACKFG.js +1 -0
- package/dist/chunk-OZOU5VIJ.cjs +1 -0
- package/dist/chunk-PCXW63TU.cjs +1 -0
- package/dist/chunk-VJOV24EO.cjs +1 -0
- package/dist/chunk-W5VNXRV6.js +1 -0
- package/dist/chunk-WNOZNJNR.cjs +1 -0
- package/dist/chunk-XFGLKGTI.cjs +1 -0
- package/dist/chunk-Y4B5ELOS.js +1 -0
- package/dist/components/alert-dialog/index.cjs +1 -1
- package/dist/components/alert-dialog/index.d.cts +0 -1
- package/dist/components/alert-dialog/index.d.ts +0 -1
- package/dist/components/alert-dialog/index.js +1 -1
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.d.cts +10 -11
- package/dist/components/button/index.d.ts +10 -11
- package/dist/components/button/index.js +1 -1
- package/dist/components/carousel/index.cjs +1 -1
- package/dist/components/carousel/index.d.cts +0 -1
- package/dist/components/carousel/index.d.ts +0 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/color-picker/index.cjs +1 -1
- package/dist/components/color-picker/index.d.cts +42 -3
- package/dist/components/color-picker/index.d.ts +42 -3
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.cjs +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/dialog/index.d.cts +6 -7
- package/dist/components/dialog/index.d.ts +6 -7
- package/dist/components/file-upload/index.cjs +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +1 -2
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +1 -1
- package/dist/components/input-group/index.cjs +1 -1
- package/dist/components/input-group/index.d.cts +0 -1
- package/dist/components/input-group/index.d.ts +0 -1
- package/dist/components/input-group/index.js +1 -1
- package/dist/components/item/index.d.cts +7 -8
- package/dist/components/item/index.d.ts +7 -8
- package/dist/components/pagination/index.cjs +1 -1
- package/dist/components/pagination/index.d.cts +0 -1
- package/dist/components/pagination/index.d.ts +0 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/sheet/index.d.cts +6 -7
- package/dist/components/sheet/index.d.ts +6 -7
- package/dist/components/sidebar/index.cjs +1 -1
- package/dist/components/sidebar/index.d.cts +0 -1
- package/dist/components/sidebar/index.d.ts +0 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/stepper/index.cjs +1 -1
- package/dist/components/stepper/index.d.cts +19 -20
- package/dist/components/stepper/index.d.ts +19 -20
- package/dist/components/stepper/index.js +1 -1
- package/dist/components/timeline/index.d.cts +6 -7
- package/dist/components/timeline/index.d.ts +6 -7
- package/dist/components/toaster/index.cjs +1 -1
- package/dist/components/toaster/index.js +1 -1
- package/dist/components/toggle-group/index.d.cts +0 -1
- package/dist/components/toggle-group/index.d.ts +0 -1
- package/dist/components/typing-text/index.d.cts +2 -3
- package/dist/components/typing-text/index.d.ts +2 -3
- package/dist/components/word-rotate/index.d.cts +2 -3
- package/dist/components/word-rotate/index.d.ts +2 -3
- package/package.json +1 -1
- package/tailwind/palette.css +66 -60
- package/dist/chunk-5NM76GZC.js +0 -1
- package/dist/chunk-HQ5NRJNW.js +0 -1
- package/dist/chunk-XA5JQP6T.cjs +0 -1
- package/dist/chunk-ZJFDF26G.cjs +0 -1
- package/dist/color-picker.types-GI7dq2Ig.d.cts +0 -42
- package/dist/color-picker.types-GI7dq2Ig.d.ts +0 -42
- /package/dist/{chunk-HCZZVUIL.js → chunk-3DN4QAKT.js} +0 -0
- /package/dist/{chunk-EU6HYEPG.cjs → chunk-EF3PDEN7.cjs} +0 -0
package/dist/chunk-ZJFDF26G.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkD5PAWOAZ_cjs=require('./chunk-D5PAWOAZ.cjs'),jsxRuntime=require('react/jsx-runtime'),reactSlot=require('@radix-ui/react-slot'),classVarianceAuthority=require('class-variance-authority'),lucideReact=require('lucide-react');function N({className:o,...n}){return jsxRuntime.jsx("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:chunkD5PAWOAZ_cjs.a("mx-auto flex w-full justify-center",o),...n})}function w({className:o,...n}){return jsxRuntime.jsx("ul",{"data-slot":"pagination-content",className:chunkD5PAWOAZ_cjs.a("flex items-center gap-0.5",o),...n})}function B({...o}){return jsxRuntime.jsx("li",{"data-slot":"pagination-item",...o})}var e=classVarianceAuthority.cva(["group/button inline-flex shrink-0 items-center justify-center rounded border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none","focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50","disabled:pointer-events-none disabled:opacity-50","active:not-aria-[haspopup]:translate-y-px","aria-invalid:border-error aria-invalid:ring-3 aria-invalid:ring-error/20 dark:aria-invalid:border-error/50 dark:aria-invalid:ring-error/40","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"],{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",error:"bg-error/10 text-error hover:bg-error/20 focus-visible:border-error/40 focus-visible:ring-error/20 dark:bg-error/20 dark:hover:bg-error/30 dark:focus-visible:ring-error/40",link:"text-primary underline-offset-4 hover:underline"},size:{xs:"h-6 gap-1 rounded px-2 text-xs in-data-[slot=button-group]:rounded has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2","icon-xs":"size-6 rounded in-data-[slot=button-group]:rounded [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded in-data-[slot=button-group]:rounded",icon:"size-8","icon-lg":"size-9"},fullWidth:{true:"w-full"}},defaultVariants:{variant:"default",size:"default",fullWidth:false}});function t({className:o,isActive:n,asChild:r,size:d="icon",children:l,...g}){return jsxRuntime.jsx(r?reactSlot.Slot:"a",{"aria-current":n?"page":void 0,"data-slot":"pagination-link","data-active":n,className:chunkD5PAWOAZ_cjs.a(e({variant:n?"outline":"ghost",size:d}),o),...g,children:l})}function T({className:o,text:n="Previous",...r}){return jsxRuntime.jsxs(t,{"aria-label":"Go to previous page",size:"default",className:chunkD5PAWOAZ_cjs.a("pl-1.5!",o),...r,children:[jsxRuntime.jsx(lucideReact.ChevronLeftIcon,{"data-icon":"inline-start",className:"cn-rtl-flip"}),jsxRuntime.jsx("span",{className:"hidden sm:block",children:n})]})}function A({className:o,text:n="Next",...r}){return jsxRuntime.jsxs(t,{"aria-label":"Go to next page",size:"default",className:chunkD5PAWOAZ_cjs.a("pr-1.5!",o),...r,children:[jsxRuntime.jsx("span",{className:"hidden sm:block",children:n}),jsxRuntime.jsx(lucideReact.ChevronRightIcon,{"data-icon":"inline-end",className:"cn-rtl-flip"})]})}function ro({className:o,...n}){return jsxRuntime.jsxs("span",{"aria-hidden":true,"data-slot":"pagination-ellipsis",className:chunkD5PAWOAZ_cjs.a("flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4",o),...n,children:[jsxRuntime.jsx(lucideReact.MoreHorizontalIcon,{}),jsxRuntime.jsx("span",{className:"sr-only",children:"More pages"})]})}exports.a=e;exports.b=N;exports.c=w;exports.d=B;exports.e=t;exports.f=T;exports.g=A;exports.h=ro;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare const COLOR_FORMATS: readonly ["hex", "rgb", "hsl", "hsb"];
|
|
2
|
-
|
|
3
|
-
type ColorFormat = (typeof COLOR_FORMATS)[number];
|
|
4
|
-
type Direction = "ltr" | "rtl";
|
|
5
|
-
type ColorValue = {
|
|
6
|
-
r: number;
|
|
7
|
-
g: number;
|
|
8
|
-
b: number;
|
|
9
|
-
a: number;
|
|
10
|
-
};
|
|
11
|
-
type HSVColorValue = {
|
|
12
|
-
h: number;
|
|
13
|
-
s: number;
|
|
14
|
-
v: number;
|
|
15
|
-
a: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* @see https://gist.github.com/bkrmendy/f4582173f50fab209ddfef1377ab31e3
|
|
19
|
-
*/
|
|
20
|
-
type EyeDropper = {
|
|
21
|
-
open: (options?: {
|
|
22
|
-
signal?: AbortSignal;
|
|
23
|
-
}) => Promise<{
|
|
24
|
-
sRGBHex: string;
|
|
25
|
-
}>;
|
|
26
|
-
};
|
|
27
|
-
declare global {
|
|
28
|
-
interface Window {
|
|
29
|
-
EyeDropper?: {
|
|
30
|
-
new (): EyeDropper;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
type ColorPickerContextValue = {
|
|
35
|
-
dir: Direction;
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
inline?: boolean;
|
|
38
|
-
readOnly?: boolean;
|
|
39
|
-
required?: boolean;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export type { ColorFormat as C, Direction as D, EyeDropper as E, HSVColorValue as H, ColorPickerContextValue as a, ColorValue as b };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare const COLOR_FORMATS: readonly ["hex", "rgb", "hsl", "hsb"];
|
|
2
|
-
|
|
3
|
-
type ColorFormat = (typeof COLOR_FORMATS)[number];
|
|
4
|
-
type Direction = "ltr" | "rtl";
|
|
5
|
-
type ColorValue = {
|
|
6
|
-
r: number;
|
|
7
|
-
g: number;
|
|
8
|
-
b: number;
|
|
9
|
-
a: number;
|
|
10
|
-
};
|
|
11
|
-
type HSVColorValue = {
|
|
12
|
-
h: number;
|
|
13
|
-
s: number;
|
|
14
|
-
v: number;
|
|
15
|
-
a: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* @see https://gist.github.com/bkrmendy/f4582173f50fab209ddfef1377ab31e3
|
|
19
|
-
*/
|
|
20
|
-
type EyeDropper = {
|
|
21
|
-
open: (options?: {
|
|
22
|
-
signal?: AbortSignal;
|
|
23
|
-
}) => Promise<{
|
|
24
|
-
sRGBHex: string;
|
|
25
|
-
}>;
|
|
26
|
-
};
|
|
27
|
-
declare global {
|
|
28
|
-
interface Window {
|
|
29
|
-
EyeDropper?: {
|
|
30
|
-
new (): EyeDropper;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
type ColorPickerContextValue = {
|
|
35
|
-
dir: Direction;
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
inline?: boolean;
|
|
38
|
-
readOnly?: boolean;
|
|
39
|
-
required?: boolean;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export type { ColorFormat as C, Direction as D, EyeDropper as E, HSVColorValue as H, ColorPickerContextValue as a, ColorValue as b };
|
|
File without changes
|
|
File without changes
|