@hardimpactdev/craft-ui 0.0.23 → 0.0.26
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/craft-ui.css +1 -1
- package/dist/craft-ui.js +24472 -20635
- package/dist/src/components/AppContent.vue.d.ts +3 -2
- package/dist/src/components/NavFooter.vue.d.ts +3 -6
- package/dist/src/components/NavMain.vue.d.ts +1 -3
- package/dist/src/components/ai/chat-conversation/ChatConversation.vue.d.ts +27 -0
- package/dist/src/components/ai/chat-conversation/ChatConversationContent.vue.d.ts +21 -0
- package/dist/src/components/ai/chat-conversation/ChatConversationEmptyState.vue.d.ts +21 -0
- package/dist/src/components/ai/chat-conversation/ChatConversationLoadMore.vue.d.ts +8 -0
- package/dist/src/components/ai/chat-conversation/ChatConversationScrollButton.vue.d.ts +21 -0
- package/dist/src/components/ai/chat-conversation/__tests__/ChatConversation.test.d.ts +1 -0
- package/dist/src/components/ai/chat-conversation/index.d.ts +7 -0
- package/dist/src/components/ai/chat-conversation/types.d.ts +14 -0
- package/dist/src/components/ai/chat-conversation/useChatConversation.d.ts +2 -0
- package/dist/src/components/ai/chat-message/ChatMessage.vue.d.ts +23 -0
- package/dist/src/components/ai/chat-message/ChatMessageContent.vue.d.ts +21 -0
- package/dist/src/components/ai/chat-message/ChatMessageToolbar.vue.d.ts +21 -0
- package/dist/src/components/ai/chat-message/index.d.ts +5 -0
- package/dist/src/components/ai/chat-message/types.d.ts +6 -0
- package/dist/src/components/ai/chat-message/useChatMessage.d.ts +2 -0
- package/dist/src/components/ai/chat-message-action/ChatMessageAction.vue.d.ts +23 -0
- package/dist/src/components/ai/chat-message-action/ChatMessageActions.vue.d.ts +21 -0
- package/dist/src/components/ai/chat-message-action/index.d.ts +2 -0
- package/dist/src/components/ai/chat-response/ChatResponse.vue.d.ts +9 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseBlockquote.vue.d.ts +17 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseBr.vue.d.ts +2 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseCode.vue.d.ts +6 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseCodespan.vue.d.ts +5 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseDel.vue.d.ts +17 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseEm.vue.d.ts +17 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseHeading.vue.d.ts +20 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseHr.vue.d.ts +2 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseHtml.vue.d.ts +5 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseImage.vue.d.ts +7 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseLink.vue.d.ts +21 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseList.vue.d.ts +22 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseListItem.vue.d.ts +23 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseParagraph.vue.d.ts +17 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseStrong.vue.d.ts +17 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseTable.vue.d.ts +8 -0
- package/dist/src/components/ai/chat-response/components/ChatResponseText.vue.d.ts +20 -0
- package/dist/src/components/ai/chat-response/components/index.d.ts +19 -0
- package/dist/src/components/ai/chat-response/index.d.ts +4 -0
- package/dist/src/components/ai/chat-response/renderTokens.d.ts +4 -0
- package/dist/src/components/ai/chat-response/types.d.ts +20 -0
- package/dist/src/components/ai/chat-suggestions/ChatSuggestion.vue.d.ts +11 -0
- package/dist/src/components/ai/chat-suggestions/ChatSuggestions.vue.d.ts +21 -0
- package/dist/src/components/ai/chat-suggestions/index.d.ts +2 -0
- package/dist/src/components/ai/index.d.ts +5 -0
- package/dist/src/components/ai/prompt-input/PromptInputAddAttachment.vue.d.ts +1 -1
- package/dist/src/components/ai/prompt-input/PromptInputButton.vue.d.ts +1 -1
- package/dist/src/components/ai/prompt-input/PromptInputSubmit.vue.d.ts +1 -1
- package/dist/src/components/alert-dialog/AlertDialogContent.vue.d.ts +2 -2
- package/dist/src/components/badge/index.d.ts +1 -1
- package/dist/src/components/button/buttonVariants.d.ts +2 -2
- package/dist/src/components/carousel/CarouselNext.vue.d.ts +2 -2
- package/dist/src/components/carousel/CarouselPrevious.vue.d.ts +2 -2
- package/dist/src/components/context-menu/ContextMenuRadioGroup.vue.d.ts +2 -2
- package/dist/src/components/context-menu/ContextMenuSubContent.vue.d.ts +4 -4
- package/dist/src/components/dialog/DialogContent.vue.d.ts +2 -2
- package/dist/src/components/dialog/DialogScrollContent.vue.d.ts +2 -2
- package/dist/src/components/drawer/DrawerContent.vue.d.ts +2 -2
- package/dist/src/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +2 -2
- package/dist/src/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +4 -4
- package/dist/src/components/editor/Editor.vue.d.ts +1 -1
- package/dist/src/components/input-group/InputGroupButton.vue.d.ts +1 -1
- package/dist/src/components/menubar/MenubarRadioGroup.vue.d.ts +2 -2
- package/dist/src/components/menubar/MenubarSubContent.vue.d.ts +4 -4
- package/dist/src/components/native-select/NativeSelectOptGroup.vue.d.ts +2 -2
- package/dist/src/components/native-select/NativeSelectOption.vue.d.ts +2 -2
- package/dist/src/components/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationItem.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationLink.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationPrevious.vue.d.ts +1 -1
- package/dist/src/components/popover/PopoverContent.vue.d.ts +2 -2
- package/dist/src/components/radio-group/RadioGroup.vue.d.ts +2 -2
- package/dist/src/components/sheet/SheetContent.vue.d.ts +2 -2
- package/dist/src/components/sidebar/SidebarProvider.vue.d.ts +1 -1
- package/dist/src/layouts/auth/AuthLayout.vue.d.ts +6 -1
- package/dist/src/pages/auth/ConfirmPassword.vue.d.ts +5 -0
- package/dist/src/pages/auth/ForgotPassword.vue.d.ts +5 -0
- package/dist/src/pages/auth/Login.vue.d.ts +5 -0
- package/dist/src/pages/auth/Register.vue.d.ts +5 -0
- package/dist/src/pages/auth/ResetPassword.vue.d.ts +5 -0
- package/dist/src/pages/auth/TwoFactorChallenge.vue.d.ts +5 -0
- package/dist/src/pages/auth/VerifyEmail.vue.d.ts +5 -0
- package/dist/src/pages/auth/types.d.ts +1 -0
- package/package.json +42 -39
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AuthLayoutVariant } from './types';
|
|
1
2
|
export interface LoginForm {
|
|
2
3
|
email: string;
|
|
3
4
|
password: string;
|
|
@@ -26,6 +27,10 @@ type __VLS_Props = {
|
|
|
26
27
|
processing?: boolean;
|
|
27
28
|
/** Initial form values */
|
|
28
29
|
modelValue?: Partial<LoginForm>;
|
|
30
|
+
/** Layout variant */
|
|
31
|
+
variant?: AuthLayoutVariant;
|
|
32
|
+
/** App name (shown in split layout) */
|
|
33
|
+
name?: string;
|
|
29
34
|
};
|
|
30
35
|
declare function __VLS_template(): {
|
|
31
36
|
attrs: Partial<{}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AuthLayoutVariant } from './types';
|
|
1
2
|
export interface RegisterForm {
|
|
2
3
|
name: string;
|
|
3
4
|
email: string;
|
|
@@ -21,6 +22,10 @@ type __VLS_Props = {
|
|
|
21
22
|
processing?: boolean;
|
|
22
23
|
/** Initial form values */
|
|
23
24
|
modelValue?: Partial<RegisterForm>;
|
|
25
|
+
/** Layout variant */
|
|
26
|
+
variant?: AuthLayoutVariant;
|
|
27
|
+
/** App name (shown in split layout) */
|
|
28
|
+
name?: string;
|
|
24
29
|
};
|
|
25
30
|
declare function __VLS_template(): {
|
|
26
31
|
attrs: Partial<{}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AuthLayoutVariant } from './types';
|
|
1
2
|
export interface ResetPasswordForm {
|
|
2
3
|
email: string;
|
|
3
4
|
password: string;
|
|
@@ -20,6 +21,10 @@ type __VLS_Props = {
|
|
|
20
21
|
errors?: ResetPasswordErrors;
|
|
21
22
|
/** Whether form is submitting */
|
|
22
23
|
processing?: boolean;
|
|
24
|
+
/** Layout variant */
|
|
25
|
+
variant?: AuthLayoutVariant;
|
|
26
|
+
/** App name (shown in split layout) */
|
|
27
|
+
name?: string;
|
|
23
28
|
};
|
|
24
29
|
declare function __VLS_template(): {
|
|
25
30
|
attrs: Partial<{}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AuthLayoutVariant } from './types';
|
|
1
2
|
export interface TwoFactorForm {
|
|
2
3
|
code: string;
|
|
3
4
|
}
|
|
@@ -15,6 +16,10 @@ type __VLS_Props = {
|
|
|
15
16
|
errors?: TwoFactorErrors;
|
|
16
17
|
/** Whether form is submitting */
|
|
17
18
|
processing?: boolean;
|
|
19
|
+
/** Layout variant */
|
|
20
|
+
variant?: AuthLayoutVariant;
|
|
21
|
+
/** App name (shown in split layout) */
|
|
22
|
+
name?: string;
|
|
18
23
|
};
|
|
19
24
|
declare function __VLS_template(): {
|
|
20
25
|
attrs: Partial<{}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AuthLayoutVariant } from './types';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
/** Status message (e.g., "verification-link-sent") */
|
|
3
4
|
status?: string;
|
|
@@ -7,6 +8,10 @@ type __VLS_Props = {
|
|
|
7
8
|
logoLink?: string;
|
|
8
9
|
/** Whether form is submitting */
|
|
9
10
|
processing?: boolean;
|
|
11
|
+
/** Layout variant */
|
|
12
|
+
variant?: AuthLayoutVariant;
|
|
13
|
+
/** App name (shown in split layout) */
|
|
14
|
+
name?: string;
|
|
10
15
|
};
|
|
11
16
|
declare function __VLS_template(): {
|
|
12
17
|
attrs: Partial<{}>;
|
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"types": "./dist/src/vite/defineCraftConfig.d.ts"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"version": "0.0.
|
|
60
|
+
"version": "0.0.26",
|
|
61
61
|
"type": "module",
|
|
62
62
|
"scripts": {
|
|
63
63
|
"dev": "vite",
|
|
@@ -74,71 +74,74 @@
|
|
|
74
74
|
"test": "vitest --project=unit --run",
|
|
75
75
|
"test:watch": "vitest --project=unit",
|
|
76
76
|
"test:storybook": "vitest --project=storybook --run",
|
|
77
|
-
"test:all": "vitest --run"
|
|
77
|
+
"test:all": "vitest --run",
|
|
78
|
+
"style-watch": "npx @tailwindcss/cli -i ./src/style.css -o ./dist/craft-ui.css --watch"
|
|
78
79
|
},
|
|
79
80
|
"dependencies": {
|
|
80
81
|
"@iconify/vue": "^5.0.0",
|
|
81
|
-
"@inertiajs/core": "^2.3.
|
|
82
|
-
"@inertiajs/vue3": "^2.
|
|
83
|
-
"@tailwindcss/vite": "^4.
|
|
82
|
+
"@inertiajs/core": "^2.3.16",
|
|
83
|
+
"@inertiajs/vue3": "^2.3.16",
|
|
84
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
84
85
|
"@tanstack/vue-table": "^8.21.3",
|
|
85
|
-
"@tiptap/extension-bubble-menu": "^3.
|
|
86
|
-
"@tiptap/extension-link": "^3.
|
|
87
|
-
"@tiptap/extension-placeholder": "^3.
|
|
88
|
-
"@tiptap/starter-kit": "^3.
|
|
89
|
-
"@tiptap/vue-3": "^3.
|
|
90
|
-
"@types/node": "^25.0
|
|
91
|
-
"@unovis/ts": "^1.6.
|
|
92
|
-
"@unovis/vue": "^1.6.
|
|
86
|
+
"@tiptap/extension-bubble-menu": "^3.20.0",
|
|
87
|
+
"@tiptap/extension-link": "^3.20.0",
|
|
88
|
+
"@tiptap/extension-placeholder": "^3.20.0",
|
|
89
|
+
"@tiptap/starter-kit": "^3.20.0",
|
|
90
|
+
"@tiptap/vue-3": "^3.20.0",
|
|
91
|
+
"@types/node": "^25.3.0",
|
|
92
|
+
"@unovis/ts": "^1.6.4",
|
|
93
|
+
"@unovis/vue": "^1.6.4",
|
|
93
94
|
"@vee-validate/zod": "^4.15.1",
|
|
94
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
95
|
-
"@vueuse/core": "^14.1
|
|
95
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
96
|
+
"@vueuse/core": "^14.2.1",
|
|
96
97
|
"chart.js": "^4.5.1",
|
|
97
98
|
"class-variance-authority": "^0.7.1",
|
|
98
99
|
"clsx": "^2.1.1",
|
|
99
100
|
"embla-carousel-vue": "^8.6.0",
|
|
100
|
-
"laravel-vite-plugin": "^2.0
|
|
101
|
+
"laravel-vite-plugin": "^2.1.0",
|
|
101
102
|
"laravel-vue-i18n": "^2.8.0",
|
|
102
|
-
"lucide-vue-next": "^0.
|
|
103
|
+
"lucide-vue-next": "^0.575.0",
|
|
104
|
+
"marked": "^17.0.3",
|
|
103
105
|
"nanoid": "^5.1.6",
|
|
104
|
-
"oxlint": "^1.
|
|
105
|
-
"reka-ui": "^2.
|
|
106
|
-
"tailwind-merge": "^3.
|
|
107
|
-
"tailwindcss": "^4.1
|
|
106
|
+
"oxlint": "^1.50.0",
|
|
107
|
+
"reka-ui": "^2.8.2",
|
|
108
|
+
"tailwind-merge": "^3.5.0",
|
|
109
|
+
"tailwindcss": "^4.2.1",
|
|
108
110
|
"tw-animate-css": "^1.4.0",
|
|
109
111
|
"vaul-vue": "^0.4.1",
|
|
110
112
|
"vee-validate": "^4.15.1",
|
|
111
113
|
"vite-plugin-run": "^0.6.1",
|
|
112
|
-
"vite-plugin-vue-devtools": "^8.0.
|
|
113
|
-
"vue": "^3.5.
|
|
114
|
+
"vite-plugin-vue-devtools": "^8.0.6",
|
|
115
|
+
"vue": "^3.5.29",
|
|
114
116
|
"vue-chartjs": "^5.3.3",
|
|
115
117
|
"vue-input-otp": "^0.3.2",
|
|
116
118
|
"vue-sonner": "^2.0.9",
|
|
119
|
+
"vue-stick-to-bottom": "^0.1.0",
|
|
117
120
|
"zod": "^3.25.76"
|
|
118
121
|
},
|
|
119
122
|
"devDependencies": {
|
|
120
123
|
"@chromatic-com/storybook": "^4.1.3",
|
|
121
|
-
"@storybook/addon-docs": "^10.
|
|
122
|
-
"@storybook/addon-themes": "^10.
|
|
123
|
-
"@storybook/addon-vitest": "10.
|
|
124
|
-
"@storybook/vue3-vite": "^10.
|
|
125
|
-
"@vitest/browser": "^4.0.
|
|
126
|
-
"@vitest/browser-playwright": "^4.0.
|
|
127
|
-
"@vitest/coverage-v8": "^4.0.
|
|
124
|
+
"@storybook/addon-docs": "^10.2.12",
|
|
125
|
+
"@storybook/addon-themes": "^10.2.12",
|
|
126
|
+
"@storybook/addon-vitest": "^10.2.12",
|
|
127
|
+
"@storybook/vue3-vite": "^10.2.12",
|
|
128
|
+
"@vitest/browser": "^4.0.18",
|
|
129
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
130
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
128
131
|
"@vue/test-utils": "^2.4.6",
|
|
129
132
|
"@vue/tsconfig": "^0.8.1",
|
|
130
|
-
"glob": "^13.0.
|
|
131
|
-
"happy-dom": "^20.
|
|
132
|
-
"oxfmt": "^0.
|
|
133
|
-
"playwright": "^1.
|
|
134
|
-
"storybook": "^10.
|
|
133
|
+
"glob": "^13.0.6",
|
|
134
|
+
"happy-dom": "^20.7.0",
|
|
135
|
+
"oxfmt": "^0.35.0",
|
|
136
|
+
"playwright": "^1.58.2",
|
|
137
|
+
"storybook": "^10.2.12",
|
|
135
138
|
"typescript": "~5.9.3",
|
|
136
|
-
"vite": "^7.3.
|
|
139
|
+
"vite": "^7.3.1",
|
|
137
140
|
"vite-plugin-dts": "^4.5.4",
|
|
138
|
-
"vitest": "^4.0.
|
|
139
|
-
"vue-draggable-plus": "^0.6.
|
|
141
|
+
"vitest": "^4.0.18",
|
|
142
|
+
"vue-draggable-plus": "^0.6.1",
|
|
140
143
|
"vue-router": "^4.6.4",
|
|
141
|
-
"vue-tsc": "^3.2.
|
|
144
|
+
"vue-tsc": "^3.2.5"
|
|
142
145
|
},
|
|
143
146
|
"peerDependencies": {
|
|
144
147
|
"@inertiajs/vue3": "^2.0.0",
|