@haklex/rich-editor-ui 0.0.93 → 0.0.94
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/components/action-button/index.d.ts +2 -1
- package/dist/components/action-button/index.d.ts.map +1 -1
- package/dist/components/action-button/styles.css.d.ts +11 -7
- package/dist/components/action-button/styles.css.d.ts.map +1 -1
- package/dist/components/alert/index.d.ts +9 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/styles.css.d.ts +23 -0
- package/dist/components/alert/styles.css.d.ts.map +1 -0
- package/dist/components/auto-resize-textarea/index.d.ts +7 -0
- package/dist/components/auto-resize-textarea/index.d.ts.map +1 -0
- package/dist/components/auto-resize-textarea/styles.css.d.ts +3 -0
- package/dist/components/auto-resize-textarea/styles.css.d.ts.map +1 -0
- package/dist/components/badge/index.d.ts +9 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/styles.css.d.ts +37 -0
- package/dist/components/badge/styles.css.d.ts.map +1 -0
- package/dist/components/code-block/CodeBlockCard.d.ts +13 -0
- package/dist/components/code-block/CodeBlockCard.d.ts.map +1 -0
- package/dist/components/code-block/constants.d.ts +4 -0
- package/dist/components/code-block/constants.d.ts.map +1 -0
- package/dist/components/code-block/index.d.ts +11 -0
- package/dist/components/code-block/index.d.ts.map +1 -0
- package/dist/components/code-block/shiki.d.ts +6 -0
- package/dist/components/code-block/shiki.d.ts.map +1 -0
- package/dist/components/code-block/styles.css.d.ts +12 -0
- package/dist/components/code-block/styles.css.d.ts.map +1 -0
- package/dist/components/collapsible/index.d.ts +16 -0
- package/dist/components/collapsible/index.d.ts.map +1 -0
- package/dist/components/collapsible/styles.css.d.ts +4 -0
- package/dist/components/collapsible/styles.css.d.ts.map +1 -0
- package/dist/components/combobox/index.d.ts +5 -1
- package/dist/components/combobox/index.d.ts.map +1 -1
- package/dist/components/scroll-area/index.d.ts +9 -0
- package/dist/components/scroll-area/index.d.ts.map +1 -0
- package/dist/components/scroll-area/styles.css.d.ts +2 -0
- package/dist/components/scroll-area/styles.css.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +37 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/styles.css.d.ts +11 -0
- package/dist/components/select/styles.css.d.ts.map +1 -0
- package/dist/components/spinner/index.d.ts +7 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/styles.css.d.ts +13 -0
- package/dist/components/spinner/styles.css.d.ts.map +1 -0
- package/dist/components/status-dot/index.d.ts +9 -0
- package/dist/components/status-dot/index.d.ts.map +1 -0
- package/dist/components/status-dot/styles.css.d.ts +60 -0
- package/dist/components/status-dot/styles.css.d.ts.map +1 -0
- package/dist/index.d.ts +26 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +507 -34
- package/dist/rich-editor-ui.css +1 -1
- package/package.json +9 -3
|
@@ -9,8 +9,9 @@ type ActionButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
9
9
|
end?: boolean;
|
|
10
10
|
danger?: boolean;
|
|
11
11
|
icon?: boolean;
|
|
12
|
+
rounded?: boolean;
|
|
12
13
|
};
|
|
13
|
-
export declare function ActionButton({ variant, size, end, danger, icon, className, type, ...props }: ActionButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function ActionButton({ variant, size, end, danger, icon, rounded, className, type, ...props }: ActionButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export declare function getActionButtonClassName(options?: {
|
|
15
16
|
variant?: 'ghost' | 'solid' | 'outline' | 'accent';
|
|
16
17
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/action-button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAMlE,KAAK,cAAc,GAAG,cAA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AgB,YAAY,CAAC,EAC3B,OAAO,EACP,IAAI,EACJ,GAAW,EACX,MAAc,EACd,IAAY,EACZ,OAAe,EACf,SAAS,EACT,IAAe,EACf,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAenB;AAED,wBAAgB,wBAAwB,CAAC,OAAO,CAAC,EAAE;IACjD,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IACnD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,UAEA;AAED,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -19,7 +19,7 @@ export declare const actionButton: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
19
19
|
solid: {
|
|
20
20
|
backgroundColor: `var(--${string})`;
|
|
21
21
|
color: `var(--${string})`;
|
|
22
|
-
transition: "background-color
|
|
22
|
+
transition: "background-color 150ms ease, border-color 150ms ease, color 150ms ease";
|
|
23
23
|
selectors: {
|
|
24
24
|
'&:hover:not(:disabled)': {
|
|
25
25
|
backgroundColor: `color-mix(in srgb, var(--${string}) 86%, transparent)`;
|
|
@@ -27,11 +27,10 @@ export declare const actionButton: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
outline: {
|
|
30
|
-
borderColor: `var(--${string})`;
|
|
31
30
|
background: `var(--${string})`;
|
|
32
31
|
color: `var(--${string})`;
|
|
33
32
|
border: `1px solid var(--${string})`;
|
|
34
|
-
transition: "background-color
|
|
33
|
+
transition: "background-color 150ms ease, border-color 150ms ease, color 150ms ease";
|
|
35
34
|
selectors: {
|
|
36
35
|
'&:hover:not(:disabled)': {
|
|
37
36
|
background: `var(--${string})`;
|
|
@@ -44,7 +43,6 @@ export declare const actionButton: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
44
43
|
color: "#fff";
|
|
45
44
|
selectors: {
|
|
46
45
|
'&:hover:not(:disabled)': {
|
|
47
|
-
backgroundColor: `var(--${string})`;
|
|
48
46
|
filter: "brightness(0.9)";
|
|
49
47
|
};
|
|
50
48
|
'&:disabled': {
|
|
@@ -62,9 +60,11 @@ export declare const actionButton: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
62
60
|
fontWeight: number;
|
|
63
61
|
padding: "4px 8px";
|
|
64
62
|
borderRadius: `var(--${string})`;
|
|
63
|
+
height: "24px";
|
|
65
64
|
whiteSpace: "nowrap";
|
|
66
65
|
};
|
|
67
66
|
md: {
|
|
67
|
+
gap: "6px";
|
|
68
68
|
fontSize: `var(--${string})`;
|
|
69
69
|
fontWeight: number;
|
|
70
70
|
padding: "4px 10px";
|
|
@@ -74,12 +74,12 @@ export declare const actionButton: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
74
74
|
whiteSpace: "nowrap";
|
|
75
75
|
};
|
|
76
76
|
lg: {
|
|
77
|
-
gap: "
|
|
77
|
+
gap: "8px";
|
|
78
78
|
fontSize: `var(--${string})`;
|
|
79
79
|
fontWeight: number;
|
|
80
|
-
padding: "0
|
|
80
|
+
padding: "0 14px";
|
|
81
81
|
borderRadius: `var(--${string})`;
|
|
82
|
-
height:
|
|
82
|
+
height: "36px";
|
|
83
83
|
whiteSpace: "nowrap";
|
|
84
84
|
};
|
|
85
85
|
};
|
|
@@ -97,5 +97,9 @@ export declare const actionButton: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
97
97
|
true: {};
|
|
98
98
|
false: {};
|
|
99
99
|
};
|
|
100
|
+
rounded: {
|
|
101
|
+
true: {};
|
|
102
|
+
false: {};
|
|
103
|
+
};
|
|
100
104
|
}>;
|
|
101
105
|
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/action-button/styles.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;CAMrB,CAAC;AAEX,eAAO,MAAM,SAAS,QAKpB,CAAC;AAMH,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/action-button/styles.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;CAMrB,CAAC;AAEX,eAAO,MAAM,SAAS,QAKpB,CAAC;AAMH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsNvB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface AlertProps {
|
|
3
|
+
action?: ReactNode;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
variant: 'info' | 'warning' | 'error';
|
|
7
|
+
}
|
|
8
|
+
export declare function Alert({ variant, children, action, className }: AlertProps): ReactElement;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/alert/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;CACvC;AAQD,wBAAgB,KAAK,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,UAAU,GAAG,YAAY,CASxF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const alert: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
|
+
variant: {
|
|
3
|
+
info: {
|
|
4
|
+
backgroundColor: "rgba(59, 130, 246, 0.06)";
|
|
5
|
+
borderColor: "rgba(59, 130, 246, 0.24)";
|
|
6
|
+
color: "#1e40af";
|
|
7
|
+
};
|
|
8
|
+
warning: {
|
|
9
|
+
backgroundColor: "rgba(245, 158, 11, 0.06)";
|
|
10
|
+
borderColor: "rgba(245, 158, 11, 0.24)";
|
|
11
|
+
color: "#92400e";
|
|
12
|
+
};
|
|
13
|
+
error: {
|
|
14
|
+
backgroundColor: "rgba(239, 68, 68, 0.06)";
|
|
15
|
+
borderColor: "rgba(239, 68, 68, 0.24)";
|
|
16
|
+
color: "#991b1b";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}>;
|
|
20
|
+
export declare const alertContent: string;
|
|
21
|
+
export declare const alertIcon: string;
|
|
22
|
+
export declare const alertAction: string;
|
|
23
|
+
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/alert/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;EA+BhB,CAAC;AAEH,eAAO,MAAM,YAAY,QAGvB,CAAC;AAEH,eAAO,MAAM,SAAS,QAKpB,CAAC;AAEH,eAAO,MAAM,WAAW,QAGtB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TextareaHTMLAttributes } from 'react';
|
|
2
|
+
export interface AutoResizeTextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
+
maxRows?: number;
|
|
4
|
+
minRows?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const AutoResizeTextArea: import('react').ForwardRefExoticComponent<AutoResizeTextAreaProps & import('react').RefAttributes<HTMLTextAreaElement>>;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/auto-resize-textarea/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAK5B,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB,CAAC,mBAAmB,CAAC;IAC1F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,yHAwC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/auto-resize-textarea/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,QAmBnB,CAAC;AAEH,eAAO,MAAM,WAAW,QAEtB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface BadgeProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
size?: 'sm' | 'md';
|
|
6
|
+
variant?: 'neutral' | 'success' | 'error' | 'warning' | 'info';
|
|
7
|
+
}
|
|
8
|
+
export declare function Badge({ variant, size, children, className }: BadgeProps): ReactElement;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/badge/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;CAChE;AAED,wBAAgB,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,UAAU,GAAG,YAAY,CAMtF"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const badge: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
|
+
variant: {
|
|
3
|
+
neutral: {
|
|
4
|
+
backgroundColor: `var(--${string})`;
|
|
5
|
+
color: `var(--${string})`;
|
|
6
|
+
};
|
|
7
|
+
success: {
|
|
8
|
+
backgroundColor: "rgba(34, 197, 94, 0.1)";
|
|
9
|
+
color: "#16a34a";
|
|
10
|
+
};
|
|
11
|
+
error: {
|
|
12
|
+
backgroundColor: "rgba(239, 68, 68, 0.1)";
|
|
13
|
+
color: "#dc2626";
|
|
14
|
+
};
|
|
15
|
+
warning: {
|
|
16
|
+
backgroundColor: "rgba(245, 158, 11, 0.1)";
|
|
17
|
+
color: "#d97706";
|
|
18
|
+
};
|
|
19
|
+
info: {
|
|
20
|
+
backgroundColor: "rgba(59, 130, 246, 0.1)";
|
|
21
|
+
color: "#2563eb";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
sm: {
|
|
26
|
+
fontSize: "11px";
|
|
27
|
+
padding: "2px 6px";
|
|
28
|
+
gap: "3px";
|
|
29
|
+
};
|
|
30
|
+
md: {
|
|
31
|
+
fontSize: "12px";
|
|
32
|
+
padding: "3px 8px";
|
|
33
|
+
gap: "4px";
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/badge/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
interface CodeBlockCardProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
code: string;
|
|
6
|
+
collapsible?: boolean;
|
|
7
|
+
language?: string;
|
|
8
|
+
showCopyButton?: boolean;
|
|
9
|
+
static?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function CodeBlockCard({ children, className, code, collapsible, language, showCopyButton, static: staticMode, }: CodeBlockCardProps): ReactElement;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=CodeBlockCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeBlockCard.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/CodeBlockCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUpE,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,WAAkB,EAClB,QAAQ,EACR,cAAqB,EACrB,MAAM,EAAE,UAAkB,GAC3B,EAAE,kBAAkB,GAAG,YAAY,CA8FnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA8BrD,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGlE;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAG3D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export interface CodeBlockProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
code: string;
|
|
5
|
+
language?: string;
|
|
6
|
+
collapsible?: boolean;
|
|
7
|
+
showCopyButton?: boolean;
|
|
8
|
+
showLineNumbers?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function CodeBlock({ className, collapsible, code, language, showCopyButton, showLineNumbers, }: CodeBlockProps): ReactElement;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAQ1C,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,WAAkB,EAClB,IAAI,EACJ,QAAQ,EACR,cAAqB,EACrB,eAAuB,GACxB,EAAE,cAAc,GAAG,YAAY,CA+D/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shiki.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/shiki.ts"],"names":[],"mappings":"AAcA,wBAAsB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,gBAe5D;AAED,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const card: string;
|
|
2
|
+
export declare const lang: string;
|
|
3
|
+
export declare const copyButton: string;
|
|
4
|
+
export declare const bodyBackground: string;
|
|
5
|
+
export declare const bodyBackgroundStatic: string;
|
|
6
|
+
export declare const scroll: string;
|
|
7
|
+
export declare const scrollCollapsed: string;
|
|
8
|
+
export declare const expandWrap: string;
|
|
9
|
+
export declare const expandButton: string;
|
|
10
|
+
export declare const lined: string;
|
|
11
|
+
export declare const linedWithNumbers: string;
|
|
12
|
+
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAWf,CAAC;AAEH,eAAO,MAAM,IAAI,QAWf,CAAC;AAEH,eAAO,MAAM,UAAU,QAuBrB,CAAC;AAEH,eAAO,MAAM,cAAc,QAIzB,CAAC;AAEH,eAAO,MAAM,oBAAoB,QAK/B,CAAC;AAEH,eAAO,MAAM,MAAM,QAIjB,CAAC;AAEH,eAAO,MAAM,eAAe,QAG1B,CAAC;AAEH,eAAO,MAAM,UAAU,QAUrB,CAAC;AAEH,eAAO,MAAM,YAAY,QAiBvB,CAAC;AAEH,eAAO,MAAM,KAAK,QAEhB,CAAC;AAiBH,eAAO,MAAM,gBAAgB,QAAY,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Collapsible as CollapsiblePrimitive } from '@base-ui/react/collapsible';
|
|
2
|
+
import { ComponentProps, ReactElement, ReactNode } from 'react';
|
|
3
|
+
export type CollapsibleProps = ComponentProps<typeof CollapsiblePrimitive.Root>;
|
|
4
|
+
export declare function Collapsible(props: CollapsibleProps): ReactElement;
|
|
5
|
+
export type CollapsibleTriggerProps = Omit<ComponentProps<typeof CollapsiblePrimitive.Trigger>, 'render'> & {
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
hideChevron?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function CollapsibleTrigger({ children, className, hideChevron, ...props }: CollapsibleTriggerProps): ReactElement;
|
|
11
|
+
export type CollapsiblePanelProps = Omit<ComponentProps<typeof CollapsiblePrimitive.Panel>, 'render'> & {
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
export declare function CollapsiblePanel({ children, className, ...props }: CollapsiblePanelProps): ReactElement;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collapsible/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEjF,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrE,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC;AAChF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,YAAY,CAEjE;AAED,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,cAAc,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,EACnD,QAAQ,CACT,GAAG;IACF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AACF,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,SAAS,EACT,WAAW,EACX,GAAG,KAAK,EACT,EAAE,uBAAuB,GAAG,YAAY,CAUxC;AAED,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,cAAc,CAAC,OAAO,oBAAoB,CAAC,KAAK,CAAC,EACjD,QAAQ,CACT,GAAG;IACF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,qBAAqB,GAAG,YAAY,CAStC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/collapsible/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,QAgBlB,CAAC;AAEH,eAAO,MAAM,OAAO,QAUlB,CAAC;AAEH,eAAO,MAAM,KAAK,QAgBhB,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { Combobox as ComboboxPrimitive } from '@base-ui/react/combobox';
|
|
2
2
|
import { ComponentProps, ReactNode } from 'react';
|
|
3
3
|
export declare function Combobox<Value, Multiple extends boolean | undefined = false>(props: ComponentProps<typeof ComboboxPrimitive.Root<Value, Multiple>>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
type ComboboxTriggerProps = ComponentProps<typeof ComboboxPrimitive.Trigger> & {
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function ComboboxTrigger({ className, ...props }: ComboboxTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
8
|
type ComboboxInputProps = ComponentProps<typeof ComboboxPrimitive.Input> & {
|
|
5
9
|
className?: string;
|
|
6
10
|
};
|
|
@@ -31,5 +35,5 @@ type ComboboxGroupProps = ComponentProps<typeof ComboboxPrimitive.Group>;
|
|
|
31
35
|
export declare function ComboboxGroup(props: ComboboxGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
32
36
|
type ComboboxGroupLabelProps = ComponentProps<typeof ComboboxPrimitive.GroupLabel>;
|
|
33
37
|
export declare function ComboboxGroupLabel(props: ComboboxGroupLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export type { ComboboxContentProps, ComboboxEmptyProps, ComboboxGroupLabelProps, ComboboxGroupProps, ComboboxInputProps, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxListProps, };
|
|
38
|
+
export type { ComboboxContentProps, ComboboxEmptyProps, ComboboxGroupLabelProps, ComboboxGroupProps, ComboboxInputProps, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxListProps, ComboboxTriggerProps, };
|
|
35
39
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/combobox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,KAAK,EAC1E,KAAK,EAAE,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,2CAGtE;AAID,KAAK,kBAAkB,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,KAAK,CAAC,GAAG;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAExE;AAcD,KAAK,oBAAoB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,GAAG;IAC3F,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,iBAAiB,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;IACrE,WAAW,CAAC,EAAE,cAAc,CAAC,OAAO,iBAAiB,CAAC,UAAU,CAAC,CAAC,aAAa,CAAC,CAAC;IACjF,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,iBAAiB,CAAC,U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,OAAO,iBAAiB,CAAC,KAAK,CAAC,GAAG;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAOxE;AAID,KAAK,kBAAkB,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,KAAK,CAAC,CAAC;AAEzE,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAEtD;AAID,KAAK,uBAAuB,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAEnF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,2CAEhE;AAID,YAAY,EACV,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,kBAAkB,EAClB,0BAA0B,EAC1B,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,GACrB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement, ReactNode, RefObject } from 'react';
|
|
2
|
+
export interface ScrollAreaProps {
|
|
3
|
+
autoScrollToBottom?: boolean;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
scrollRef?: RefObject<HTMLDivElement | null>;
|
|
7
|
+
}
|
|
8
|
+
export declare function ScrollArea({ children, className, autoScrollToBottom, scrollRef, }: ScrollAreaProps): ReactElement;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-area/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKhE,MAAM,WAAW,eAAe;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAC9C;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAS,EACT,kBAA0B,EAC1B,SAAS,GACV,EAAE,eAAe,GAAG,YAAY,CA4BhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-area/styles.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,QAcrB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Select as SelectPrimitive } from '@base-ui/react/select';
|
|
2
|
+
import { ComponentProps, ReactElement, ReactNode } from 'react';
|
|
3
|
+
export type SelectProps = ComponentProps<typeof SelectPrimitive.Root>;
|
|
4
|
+
export declare function Select(props: SelectProps): ReactElement;
|
|
5
|
+
export type SelectTriggerProps = Omit<ComponentProps<typeof SelectPrimitive.Trigger>, 'render'> & {
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare function SelectTrigger({ children, className, ...props }: SelectTriggerProps): ReactElement;
|
|
10
|
+
export type SelectValueProps = ComponentProps<typeof SelectPrimitive.Value>;
|
|
11
|
+
export declare function SelectValue(props: SelectValueProps): ReactElement;
|
|
12
|
+
export type SelectContentProps = Omit<ComponentProps<typeof SelectPrimitive.Popup>, 'render'> & {
|
|
13
|
+
align?: ComponentProps<typeof SelectPrimitive.Positioner>['align'];
|
|
14
|
+
alignItemWithTrigger?: ComponentProps<typeof SelectPrimitive.Positioner>['alignItemWithTrigger'];
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
className?: string;
|
|
17
|
+
side?: ComponentProps<typeof SelectPrimitive.Positioner>['side'];
|
|
18
|
+
sideOffset?: ComponentProps<typeof SelectPrimitive.Positioner>['sideOffset'];
|
|
19
|
+
};
|
|
20
|
+
export declare function SelectContent({ children, className, align, alignItemWithTrigger, side, sideOffset, ...props }: SelectContentProps): ReactElement;
|
|
21
|
+
export type SelectItemProps = ComponentProps<typeof SelectPrimitive.Item> & {
|
|
22
|
+
className?: string;
|
|
23
|
+
};
|
|
24
|
+
export declare function SelectItem({ className, children, ...props }: SelectItemProps): ReactElement;
|
|
25
|
+
export type SelectGroupProps = ComponentProps<typeof SelectPrimitive.Group> & {
|
|
26
|
+
className?: string;
|
|
27
|
+
};
|
|
28
|
+
export declare function SelectGroup({ className, ...props }: SelectGroupProps): ReactElement;
|
|
29
|
+
export type SelectGroupLabelProps = ComponentProps<typeof SelectPrimitive.GroupLabel> & {
|
|
30
|
+
className?: string;
|
|
31
|
+
};
|
|
32
|
+
export declare function SelectGroupLabel({ className, ...props }: SelectGroupLabelProps): ReactElement;
|
|
33
|
+
export type SelectSeparatorProps = {
|
|
34
|
+
className?: string;
|
|
35
|
+
};
|
|
36
|
+
export declare function SelectSeparator({ className }: SelectSeparatorProps): ReactElement;
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgBrE,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AACtE,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,YAAY,CAEvD;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,GAAG;IAChG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;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MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,GAAG;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,GAAG,YAAY,CAInF;AAED,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,UAAU,CAAC,GAAG;IACtF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,GAAG,YAAY,CAO7F;AAED,MAAM,MAAM,oBAAoB,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC1D,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,EAAE,oBAAoB,GAAG,YAAY,CAEjF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const triggerButton: string;
|
|
2
|
+
export declare const triggerIcon: string;
|
|
3
|
+
export declare const positioner: string;
|
|
4
|
+
export declare const popup: string;
|
|
5
|
+
export declare const group: string;
|
|
6
|
+
export declare const item: string;
|
|
7
|
+
export declare const itemIndicator: string;
|
|
8
|
+
export declare const groupLabel: string;
|
|
9
|
+
export declare const separator: string;
|
|
10
|
+
export declare const scrollButton: string;
|
|
11
|
+
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/select/styles.css.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,aAAa,QAmCxB,CAAA;AAEF,eAAO,MAAM,WAAW,QAMtB,CAAA;AAIF,eAAO,MAAM,UAAU,QAIrB,CAAA;AAIF,eAAO,MAAM,KAAK,QAgChB,CAAA;AAIF,eAAO,MAAM,KAAK,QAOhB,CAAA;AAIF,eAAO,MAAM,IAAI,QAwBf,CAAA;AAWF,eAAO,MAAM,aAAa,QAUxB,CAAA;AAQF,eAAO,MAAM,UAAU,QAMrB,CAAA;AAIF,eAAO,MAAM,SAAS,QAIpB,CAAA;AAIF,eAAO,MAAM,YAAY,QAUvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,MAAM,WAAW,YAAY;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,YAAY,GAAG,YAAY,CAQvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/styles.css.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO;;;;;;;;;;;EAgBlB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export interface StatusDotProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
pulse?: boolean;
|
|
5
|
+
size?: 'sm' | 'md';
|
|
6
|
+
status: 'idle' | 'active' | 'success' | 'error' | 'warning';
|
|
7
|
+
}
|
|
8
|
+
export declare function StatusDot({ status, pulse: showPulse, size, className, }: StatusDotProps): ReactElement;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/status-dot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;CAC7D;AAED,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,SAAS,GACV,EAAE,cAAc,GAAG,YAAY,CAO/B"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export declare const statusDotWrapper: string;
|
|
2
|
+
export declare const dot: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
3
|
+
status: {
|
|
4
|
+
idle: {
|
|
5
|
+
backgroundColor: "#a3a3a3";
|
|
6
|
+
};
|
|
7
|
+
active: {
|
|
8
|
+
backgroundColor: "#3b82f6";
|
|
9
|
+
};
|
|
10
|
+
success: {
|
|
11
|
+
backgroundColor: "#22c55e";
|
|
12
|
+
};
|
|
13
|
+
error: {
|
|
14
|
+
backgroundColor: "#ef4444";
|
|
15
|
+
};
|
|
16
|
+
warning: {
|
|
17
|
+
backgroundColor: "#f59e0b";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
size: {
|
|
21
|
+
sm: {
|
|
22
|
+
width: "8px";
|
|
23
|
+
height: "8px";
|
|
24
|
+
};
|
|
25
|
+
md: {
|
|
26
|
+
width: "12px";
|
|
27
|
+
height: "12px";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
export declare const pulseRing: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
32
|
+
status: {
|
|
33
|
+
idle: {
|
|
34
|
+
backgroundColor: "#a3a3a3";
|
|
35
|
+
};
|
|
36
|
+
active: {
|
|
37
|
+
backgroundColor: "#3b82f6";
|
|
38
|
+
};
|
|
39
|
+
success: {
|
|
40
|
+
backgroundColor: "#22c55e";
|
|
41
|
+
};
|
|
42
|
+
error: {
|
|
43
|
+
backgroundColor: "#ef4444";
|
|
44
|
+
};
|
|
45
|
+
warning: {
|
|
46
|
+
backgroundColor: "#f59e0b";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
size: {
|
|
50
|
+
sm: {
|
|
51
|
+
width: "8px";
|
|
52
|
+
height: "8px";
|
|
53
|
+
};
|
|
54
|
+
md: {
|
|
55
|
+
width: "12px";
|
|
56
|
+
height: "12px";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
}>;
|
|
60
|
+
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/status-dot/styles.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,QAM3B,CAAC;AAEH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBd,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBpB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,45 @@
|
|
|
1
|
-
export type { ActionBarProps, ActionButtonProps
|
|
2
|
-
export { ActionBar, ActionButton, getActionButtonClassName
|
|
3
|
-
export type {
|
|
1
|
+
export type { ActionBarProps, ActionButtonProps } from './components/action-button';
|
|
2
|
+
export { ActionBar, ActionButton, getActionButtonClassName } from './components/action-button';
|
|
3
|
+
export type { AlertProps } from './components/alert';
|
|
4
|
+
export { Alert } from './components/alert';
|
|
5
|
+
export type { AnimatedTabsProps, Tab as AnimatedTabsTab } from './components/animated-tabs';
|
|
4
6
|
export { AnimatedTabs } from './components/animated-tabs';
|
|
7
|
+
export type { AutoResizeTextAreaProps } from './components/auto-resize-textarea';
|
|
8
|
+
export { AutoResizeTextArea } from './components/auto-resize-textarea';
|
|
9
|
+
export type { BadgeProps } from './components/badge';
|
|
10
|
+
export { Badge } from './components/badge';
|
|
5
11
|
export type { AnimatedCheckboxProps } from './components/checkbox';
|
|
6
12
|
export { AnimatedCheckbox } from './components/checkbox';
|
|
13
|
+
export type { CodeBlockProps } from './components/code-block';
|
|
14
|
+
export { CodeBlock } from './components/code-block';
|
|
15
|
+
export type { CollapsiblePanelProps, CollapsibleProps, CollapsibleTriggerProps, } from './components/collapsible';
|
|
16
|
+
export { Collapsible, CollapsiblePanel, CollapsibleTrigger } from './components/collapsible';
|
|
7
17
|
export type { ColorPickerProps } from './components/color-picker';
|
|
8
18
|
export { ColorPicker } from './components/color-picker';
|
|
9
|
-
export type { ComboboxContentProps, ComboboxEmptyProps, ComboboxGroupLabelProps, ComboboxGroupProps, ComboboxInputProps, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxListProps, } from './components/combobox';
|
|
10
|
-
export { Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxList, } from './components/combobox';
|
|
19
|
+
export type { ComboboxContentProps, ComboboxEmptyProps, ComboboxGroupLabelProps, ComboboxGroupProps, ComboboxInputProps, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxListProps, ComboboxTriggerProps, } from './components/combobox';
|
|
20
|
+
export { Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxList, ComboboxTrigger, } from './components/combobox';
|
|
11
21
|
export type { DialogBackdropProps, DialogCloseProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogPopupProps, DialogPortalProps, DialogProps, DialogTitleProps, DialogTriggerProps, } from './components/dialog';
|
|
12
22
|
export { Dialog, DialogBackdrop, DialogClose, DialogDescription, DialogFooter, DialogHeader, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, } from './components/dialog';
|
|
13
23
|
export { DialogStackProvider } from './components/dialog/stack';
|
|
14
|
-
export type { DialogStackItem, DialogStackItemProps
|
|
24
|
+
export type { DialogStackItem, DialogStackItemProps } from './components/dialog/store';
|
|
15
25
|
export { dismissAllDialogs, dismissDialog, dismissTopDialog, presentDialog, } from './components/dialog/store';
|
|
16
26
|
export type { DropdownMenuCheckboxItemProps, DropdownMenuContentProps, DropdownMenuGroupProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuSeparatorProps, DropdownMenuTriggerProps, } from './components/dropdown-menu';
|
|
17
27
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, } from './components/dropdown-menu';
|
|
18
28
|
export type { PopoverArrowProps, PopoverCloseProps, PopoverDescriptionProps, PopoverPanelProps, PopoverPopupProps, PopoverPortalProps, PopoverPositionerProps, PopoverProps, PopoverTitleProps, PopoverTriggerProps, } from './components/popover';
|
|
19
29
|
export { Popover, PopoverArrow, PopoverClose, PopoverDescription, PopoverPanel, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverTitle, PopoverTrigger, usePopover, } from './components/popover';
|
|
20
|
-
export type {
|
|
30
|
+
export type { ScrollAreaProps } from './components/scroll-area';
|
|
31
|
+
export { ScrollArea } from './components/scroll-area';
|
|
32
|
+
export type { SegmentedControlItem, SegmentedControlProps } from './components/segmented-control';
|
|
21
33
|
export { SegmentedControl } from './components/segmented-control';
|
|
34
|
+
export type { SelectContentProps, SelectGroupLabelProps, SelectGroupProps, SelectItemProps, SelectProps, SelectSeparatorProps, SelectTriggerProps, SelectValueProps, } from './components/select';
|
|
35
|
+
export { Select, SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectSeparator, SelectTrigger, SelectValue, } from './components/select';
|
|
36
|
+
export type { SpinnerProps } from './components/spinner';
|
|
37
|
+
export { Spinner } from './components/spinner';
|
|
38
|
+
export type { StatusDotProps } from './components/status-dot';
|
|
39
|
+
export { StatusDot } from './components/status-dot';
|
|
22
40
|
export type { TooltipContentProps, TooltipPopupProps, TooltipPortalProps, TooltipPositionerProps, TooltipProviderProps, TooltipRootProps, TooltipTriggerProps, } from './components/tooltip';
|
|
23
41
|
export { createTooltipHandle, TooltipContent, TooltipPopup, TooltipPortal, TooltipPositioner, TooltipProvider, TooltipRoot, TooltipTrigger, } from './components/tooltip';
|
|
24
42
|
export type { ViewportGateProps } from './components/viewport-gate';
|
|
25
43
|
export { ViewportGate } from './components/viewport-gate';
|
|
26
|
-
export { PortalThemeProvider, PortalThemeWrapper, usePortalTheme
|
|
44
|
+
export { PortalThemeProvider, PortalThemeWrapper, usePortalTheme } from '@haklex/rich-style-token';
|
|
27
45
|
//# sourceMappingURL=index.d.ts.map
|