@alpic-ai/ui 0.0.0-dev.g2fe4c7b → 0.0.0-dev.g2ffc380
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/accordion-card.d.mts +5 -6
- package/dist/components/accordion.d.mts +5 -6
- package/dist/components/alert.d.mts +9 -11
- package/dist/components/attachment-tile.d.mts +1 -3
- package/dist/components/avatar.d.mts +8 -10
- package/dist/components/badge.d.mts +2 -4
- package/dist/components/breadcrumb.d.mts +10 -11
- package/dist/components/button.d.mts +6 -8
- package/dist/components/card.d.mts +9 -10
- package/dist/components/checkbox.d.mts +2 -3
- package/dist/components/collapsible.d.mts +4 -5
- package/dist/components/combobox.d.mts +10 -11
- package/dist/components/command.d.mts +9 -10
- package/dist/components/copyable.d.mts +2 -3
- package/dist/components/description-list.d.mts +5 -6
- package/dist/components/dialog.d.mts +15 -17
- package/dist/components/dropdown-menu.d.mts +18 -20
- package/dist/components/form.d.mts +38 -21
- package/dist/components/form.mjs +6 -6
- package/dist/components/github-button.d.mts +1 -2
- package/dist/components/input-group.d.mts +5 -7
- package/dist/components/input.d.mts +4 -5
- package/dist/components/input.mjs +2 -2
- package/dist/components/label.d.mts +2 -3
- package/dist/components/page-loader.d.mts +1 -3
- package/dist/components/pagination.d.mts +3 -4
- package/dist/components/popover.d.mts +5 -6
- package/dist/components/radio-group.d.mts +3 -4
- package/dist/components/scroll-area.d.mts +3 -4
- package/dist/components/select-trigger-variants.d.mts +1 -3
- package/dist/components/select.d.mts +9 -10
- package/dist/components/separator.d.mts +2 -3
- package/dist/components/sheet.d.mts +11 -12
- package/dist/components/shimmer-text.d.mts +2 -2
- package/dist/components/sidebar.d.mts +34 -36
- package/dist/components/sidebar.mjs +10 -10
- package/dist/components/skeleton.d.mts +2 -4
- package/dist/components/sonner.d.mts +5 -6
- package/dist/components/spinner.d.mts +3 -5
- package/dist/components/status-dot.d.mts +2 -4
- package/dist/components/switch.d.mts +2 -3
- package/dist/components/table.d.mts +10 -11
- package/dist/components/tabs.d.mts +12 -14
- package/dist/components/tag.d.mts +3 -5
- package/dist/components/task-progress.d.mts +1 -3
- package/dist/components/textarea.d.mts +3 -4
- package/dist/components/textarea.mjs +2 -2
- package/dist/components/toggle-group.d.mts +4 -6
- package/dist/components/toggle-group.mjs +3 -3
- package/dist/components/tooltip-icon-button.d.mts +1 -2
- package/dist/components/tooltip.d.mts +5 -6
- package/dist/components/typography.d.mts +4 -5
- package/dist/components/wizard.d.mts +4 -5
- package/dist/hooks/use-mobile.mjs +3 -3
- package/package.json +29 -29
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
3
2
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
3
|
|
|
5
4
|
//#region src/components/tooltip.d.ts
|
|
6
5
|
declare function TooltipProvider({
|
|
7
6
|
delayDuration,
|
|
8
7
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Provider>):
|
|
8
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): React$1.JSX.Element;
|
|
10
9
|
declare function Tooltip({
|
|
11
10
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
11
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Root>): React$1.JSX.Element;
|
|
13
12
|
declare function TooltipTrigger({
|
|
14
13
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
14
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): React$1.JSX.Element;
|
|
16
15
|
declare function TooltipContent({
|
|
17
16
|
className,
|
|
18
17
|
sideOffset,
|
|
19
18
|
children,
|
|
20
19
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Content>):
|
|
20
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Content>): React$1.JSX.Element;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import { ReactNode } from "react";
|
|
3
2
|
|
|
4
3
|
//#region src/components/typography.d.ts
|
|
@@ -8,27 +7,27 @@ declare function H1({
|
|
|
8
7
|
}: {
|
|
9
8
|
children: ReactNode;
|
|
10
9
|
className?: string;
|
|
11
|
-
}):
|
|
10
|
+
}): import("react").JSX.Element;
|
|
12
11
|
declare function H2({
|
|
13
12
|
children,
|
|
14
13
|
className
|
|
15
14
|
}: {
|
|
16
15
|
children: ReactNode;
|
|
17
16
|
className?: string;
|
|
18
|
-
}):
|
|
17
|
+
}): import("react").JSX.Element;
|
|
19
18
|
declare function H3({
|
|
20
19
|
children,
|
|
21
20
|
className
|
|
22
21
|
}: {
|
|
23
22
|
children: ReactNode;
|
|
24
23
|
className?: string;
|
|
25
|
-
}):
|
|
24
|
+
}): import("react").JSX.Element;
|
|
26
25
|
declare function H4({
|
|
27
26
|
children,
|
|
28
27
|
className
|
|
29
28
|
}: {
|
|
30
29
|
children: ReactNode;
|
|
31
30
|
className?: string;
|
|
32
|
-
}):
|
|
31
|
+
}): import("react").JSX.Element;
|
|
33
32
|
//#endregion
|
|
34
33
|
export { H1, H2, H3, H4 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
3
2
|
|
|
4
3
|
//#region src/components/wizard.d.ts
|
|
5
4
|
interface WizardStep {
|
|
@@ -19,8 +18,8 @@ declare function WizardSteps({
|
|
|
19
18
|
onSelect,
|
|
20
19
|
ariaLabel,
|
|
21
20
|
className
|
|
22
|
-
}: WizardStepsProps):
|
|
23
|
-
interface WizardProgressProps extends React.ComponentProps<"div"> {
|
|
21
|
+
}: WizardStepsProps): React$1.JSX.Element;
|
|
22
|
+
interface WizardProgressProps extends React$1.ComponentProps<"div"> {
|
|
24
23
|
current: number;
|
|
25
24
|
total: number;
|
|
26
25
|
}
|
|
@@ -29,6 +28,6 @@ declare function WizardProgress({
|
|
|
29
28
|
total,
|
|
30
29
|
className,
|
|
31
30
|
...props
|
|
32
|
-
}: WizardProgressProps):
|
|
31
|
+
}: WizardProgressProps): React$1.JSX.Element;
|
|
33
32
|
//#endregion
|
|
34
33
|
export { WizardProgress, type WizardStep, WizardSteps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
//#region src/hooks/use-mobile.ts
|
|
3
3
|
const MOBILE_BREAKPOINT = 768;
|
|
4
4
|
function useIsMobile() {
|
|
5
|
-
const [isMobile, setIsMobile] = React.useState(void 0);
|
|
6
|
-
React.useEffect(() => {
|
|
5
|
+
const [isMobile, setIsMobile] = React$1.useState(void 0);
|
|
6
|
+
React$1.useEffect(() => {
|
|
7
7
|
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
|
|
8
8
|
const onChange = () => setIsMobile(mql.matches);
|
|
9
9
|
mql.addEventListener("change", onChange);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alpic-ai/ui",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.g2ffc380",
|
|
4
4
|
"description": "Alpic design system — shared UI components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -23,32 +23,32 @@
|
|
|
23
23
|
"src"
|
|
24
24
|
],
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"lucide-react": "^1.
|
|
27
|
-
"react": "^19.2.
|
|
28
|
-
"react-dom": "^19.2.
|
|
29
|
-
"react-hook-form": "^7.
|
|
26
|
+
"lucide-react": "^1.18.0",
|
|
27
|
+
"react": "^19.2.7",
|
|
28
|
+
"react-dom": "^19.2.7",
|
|
29
|
+
"react-hook-form": "^7.79.0",
|
|
30
30
|
"sonner": "^2.0.7",
|
|
31
|
-
"tailwindcss": "^4.3.
|
|
31
|
+
"tailwindcss": "^4.3.1",
|
|
32
32
|
"tw-animate-css": "^1.4.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@radix-ui/react-accordion": "^1.2.
|
|
36
|
-
"@radix-ui/react-avatar": "^1.1.
|
|
37
|
-
"@radix-ui/react-checkbox": "^1.3.
|
|
38
|
-
"@radix-ui/react-collapsible": "^1.1.
|
|
39
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
40
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
41
|
-
"@radix-ui/react-label": "^2.1.
|
|
42
|
-
"@radix-ui/react-popover": "^1.1.
|
|
43
|
-
"@radix-ui/react-radio-group": "^1.
|
|
44
|
-
"@radix-ui/react-scroll-area": "^1.2.
|
|
45
|
-
"@radix-ui/react-select": "^2.
|
|
46
|
-
"@radix-ui/react-separator": "^1.1.
|
|
47
|
-
"@radix-ui/react-slot": "^1.2.
|
|
48
|
-
"@radix-ui/react-switch": "^1.
|
|
49
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
50
|
-
"@radix-ui/react-toggle-group": "^1.1.
|
|
51
|
-
"@radix-ui/react-tooltip": "^1.2.
|
|
35
|
+
"@radix-ui/react-accordion": "^1.2.13",
|
|
36
|
+
"@radix-ui/react-avatar": "^1.1.12",
|
|
37
|
+
"@radix-ui/react-checkbox": "^1.3.4",
|
|
38
|
+
"@radix-ui/react-collapsible": "^1.1.13",
|
|
39
|
+
"@radix-ui/react-dialog": "^1.1.16",
|
|
40
|
+
"@radix-ui/react-dropdown-menu": "^2.1.17",
|
|
41
|
+
"@radix-ui/react-label": "^2.1.9",
|
|
42
|
+
"@radix-ui/react-popover": "^1.1.16",
|
|
43
|
+
"@radix-ui/react-radio-group": "^1.4.0",
|
|
44
|
+
"@radix-ui/react-scroll-area": "^1.2.11",
|
|
45
|
+
"@radix-ui/react-select": "^2.3.0",
|
|
46
|
+
"@radix-ui/react-separator": "^1.1.9",
|
|
47
|
+
"@radix-ui/react-slot": "^1.2.5",
|
|
48
|
+
"@radix-ui/react-switch": "^1.3.0",
|
|
49
|
+
"@radix-ui/react-tabs": "^1.1.14",
|
|
50
|
+
"@radix-ui/react-toggle-group": "^1.1.12",
|
|
51
|
+
"@radix-ui/react-tooltip": "^1.2.9",
|
|
52
52
|
"class-variance-authority": "^0.7.1",
|
|
53
53
|
"clsx": "^2.1.1",
|
|
54
54
|
"cmdk": "^1.1.1",
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@ladle/react": "^5.1.1",
|
|
59
|
-
"@tailwindcss/postcss": "^4.3.
|
|
60
|
-
"@types/react": "19.2.
|
|
59
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
60
|
+
"@types/react": "19.2.17",
|
|
61
61
|
"@types/react-dom": "19.2.3",
|
|
62
|
-
"lucide-react": "^1.
|
|
63
|
-
"react-hook-form": "^7.
|
|
62
|
+
"lucide-react": "^1.18.0",
|
|
63
|
+
"react-hook-form": "^7.79.0",
|
|
64
64
|
"shx": "^0.4.0",
|
|
65
65
|
"sonner": "^2.0.7",
|
|
66
|
-
"tailwindcss": "^4.3.
|
|
67
|
-
"tsdown": "^0.22.
|
|
66
|
+
"tailwindcss": "^4.3.1",
|
|
67
|
+
"tsdown": "^0.22.2",
|
|
68
68
|
"tw-animate-css": "^1.4.0",
|
|
69
69
|
"typescript": "^6.0.3"
|
|
70
70
|
},
|