@aminnausin/cedar-ui 0.0.1 → 0.0.3

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/index.d.ts CHANGED
@@ -1,8 +1,5 @@
1
- import { AllowedComponentProps } from 'vue';
2
1
  import { Component } from 'vue';
3
- import { ComponentCustomProps } from 'vue';
4
2
  import { ComponentOptions } from 'vue';
5
- import { ComponentOptionsMixin } from 'vue';
6
3
  import { ComponentProvideOptions } from 'vue';
7
4
  import { ComputedOptions } from 'vue';
8
5
  import { ComputedRef } from 'vue';
@@ -10,294 +7,9 @@ import { DefineComponent } from 'vue';
10
7
  import { FunctionalComponent } from 'vue';
11
8
  import { MethodOptions } from 'vue';
12
9
  import { ModelRef } from 'vue';
13
- import { PublicProps } from 'vue';
14
10
  import { Ref } from 'vue';
15
11
  import { ShallowRef } from 'vue';
16
- import { ShallowUnwrapRef } from 'vue';
17
12
  import { UnwrapRef } from 'vue';
18
- import { VNode } from 'vue';
19
- import { VNodeProps } from 'vue';
20
-
21
- declare const __VLS_component: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
22
-
23
- declare const __VLS_component_2: DefineComponent<{
24
- label?: any;
25
- colour?: any;
26
- textClass?: any;
27
- URL?: any;
28
- removeable?: any;
29
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
30
- label?: any;
31
- colour?: any;
32
- textClass?: any;
33
- URL?: any;
34
- removeable?: any;
35
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
36
-
37
- declare const __VLS_component_3: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
38
- hoverCardDelay: number;
39
- hoverCardLeaveDelay: number;
40
- icon: Component;
41
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
42
-
43
- declare const __VLS_component_4: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
44
-
45
- declare const __VLS_component_5: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
46
- disabled: boolean;
47
- hoverCardDelay: number;
48
- hoverCardLeaveDelay: number;
49
- icon: Component;
50
- margin: number;
51
- paddingLeft: number;
52
- scrollContainer: "body" | "window";
53
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
54
-
55
- declare const __VLS_component_6: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {
56
- type: "button" | "submit" | "reset";
57
- disabled: boolean;
58
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
59
-
60
- declare const __VLS_component_7: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
61
- modalTitle: HTMLHeadingElement;
62
- }, any>;
63
-
64
- declare const __VLS_component_8: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
65
- disabled: boolean;
66
- underline: boolean;
67
- sticky: boolean;
68
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLIElement>;
69
-
70
- declare type __VLS_PrettifyLocal<T> = {
71
- [K in keyof T]: T[K];
72
- } & {};
73
-
74
- declare type __VLS_Props = {
75
- field: FormField;
76
- textSize?: string;
77
- class?: string;
78
- };
79
-
80
- declare type __VLS_Props_10 = {
81
- currentPage?: number;
82
- pageNumber?: number;
83
- text?: string;
84
- underline?: boolean;
85
- sticky?: boolean;
86
- disabled?: boolean;
87
- };
88
-
89
- declare type __VLS_Props_11 = {
90
- listLength: number;
91
- currentPage: number;
92
- itemsPerPage: number;
93
- useIcons: boolean;
94
- maxVisiblePages?: number;
95
- };
96
-
97
- declare type __VLS_Props_2 = {
98
- errors: Record<string, any>;
99
- fieldName?: string;
100
- };
101
-
102
- declare type __VLS_Props_3 = {
103
- name?: string;
104
- text?: string;
105
- subtext?: string;
106
- class?: string;
107
- subtextClass?: string;
108
- };
109
-
110
- declare type __VLS_Props_4 = {
111
- content?: string;
112
- positionClasses?: string;
113
- hoverCardDelay?: number;
114
- hoverCardLeaveDelay?: number;
115
- iconHidden?: boolean;
116
- icon?: Component;
117
- };
118
-
119
- declare type __VLS_Props_5 = {
120
- content?: string;
121
- contentTitle?: string;
122
- positionClasses?: string;
123
- hoverCardDelay?: number;
124
- hoverCardLeaveDelay?: number;
125
- margin?: number;
126
- iconHidden?: boolean;
127
- paddingLeft?: number;
128
- scrollContainer?: 'body' | 'window';
129
- disabled?: boolean;
130
- icon?: Component;
131
- };
132
-
133
- declare type __VLS_Props_6 = {
134
- disabled?: boolean;
135
- type?: 'button' | 'submit' | 'reset';
136
- variant?: 'default' | 'submit' | 'reset' | 'auth';
137
- };
138
-
139
- declare type __VLS_Props_7 = {
140
- field: FormField;
141
- };
142
-
143
- declare type __VLS_Props_8 = {
144
- onSuccess?: () => void;
145
- };
146
-
147
- declare type __VLS_Props_9 = {
148
- modal: ReturnType<typeof createModalCore>;
149
- };
150
-
151
- declare type __VLS_PublicProps = {
152
- modelValue?: any;
153
- } & __VLS_Props_7;
154
-
155
- declare function __VLS_template(): {
156
- attrs: Partial<{}>;
157
- slots: {
158
- default?(_: {}): any;
159
- };
160
- refs: {};
161
- rootEl: any;
162
- };
163
-
164
- declare function __VLS_template_2(): {
165
- attrs: Partial<{}>;
166
- slots: {
167
- content?(_: {}): any;
168
- content?(_: {}): any;
169
- };
170
- refs: {};
171
- rootEl: any;
172
- };
173
-
174
- declare function __VLS_template_3(): {
175
- attrs: Partial<{}>;
176
- slots: {
177
- trigger?(_: {}): any;
178
- icon?(_: {}): any;
179
- content?(_: {}): any;
180
- };
181
- refs: {};
182
- rootEl: HTMLDivElement;
183
- };
184
-
185
- declare function __VLS_template_4(): {
186
- attrs: Partial<{}>;
187
- slots: {
188
- heading?(_: {}): any;
189
- content?(_: {}): any;
190
- };
191
- refs: {};
192
- rootEl: HTMLElement;
193
- };
194
-
195
- declare function __VLS_template_5(): {
196
- attrs: Partial<{}>;
197
- slots: {
198
- trigger?(_: {}): any;
199
- icon?(_: {}): any;
200
- content?(_: {}): any;
201
- };
202
- refs: {};
203
- rootEl: HTMLDivElement;
204
- };
205
-
206
- declare function __VLS_template_6(): {
207
- attrs: Partial<{}>;
208
- slots: {
209
- text?(_: {}): any;
210
- default?(_: {}): any;
211
- };
212
- refs: {};
213
- rootEl: HTMLButtonElement;
214
- };
215
-
216
- declare function __VLS_template_7(): {
217
- attrs: Partial<{}>;
218
- slots: {
219
- title?(_: {}): any;
220
- description?(_: {}): any;
221
- default?(_: {}): any;
222
- };
223
- refs: {
224
- modalTitle: HTMLHeadingElement;
225
- };
226
- rootEl: any;
227
- };
228
-
229
- declare function __VLS_template_8(): {
230
- attrs: Partial<{}>;
231
- slots: {
232
- content?(_: {}): any;
233
- };
234
- refs: {};
235
- rootEl: HTMLLIElement;
236
- };
237
-
238
- declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
239
-
240
- declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
241
-
242
- declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
243
-
244
- declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
245
-
246
- declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
247
-
248
- declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
249
-
250
- declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
251
-
252
- declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
253
-
254
- declare type __VLS_WithTemplateSlots<T, S> = T & {
255
- new (): {
256
- $slots: S;
257
- };
258
- };
259
-
260
- declare type __VLS_WithTemplateSlots_2<T, S> = T & {
261
- new (): {
262
- $slots: S;
263
- };
264
- };
265
-
266
- declare type __VLS_WithTemplateSlots_3<T, S> = T & {
267
- new (): {
268
- $slots: S;
269
- };
270
- };
271
-
272
- declare type __VLS_WithTemplateSlots_4<T, S> = T & {
273
- new (): {
274
- $slots: S;
275
- };
276
- };
277
-
278
- declare type __VLS_WithTemplateSlots_5<T, S> = T & {
279
- new (): {
280
- $slots: S;
281
- };
282
- };
283
-
284
- declare type __VLS_WithTemplateSlots_6<T, S> = T & {
285
- new (): {
286
- $slots: S;
287
- };
288
- };
289
-
290
- declare type __VLS_WithTemplateSlots_7<T, S> = T & {
291
- new (): {
292
- $slots: S;
293
- };
294
- };
295
-
296
- declare type __VLS_WithTemplateSlots_8<T, S> = T & {
297
- new (): {
298
- $slots: S;
299
- };
300
- };
301
13
 
302
14
  export declare interface AccordionItem {
303
15
  id: string;
@@ -305,18 +17,12 @@ export declare interface AccordionItem {
305
17
  content: string;
306
18
  }
307
19
 
308
- export declare const BaseModal: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
309
-
310
20
  export declare interface BreadCrumbItem {
311
21
  name: string;
312
22
  url: string;
313
23
  icon?: Component;
314
24
  }
315
25
 
316
- export declare const ButtonForm: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
317
-
318
- export declare const ChipTag: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
319
-
320
26
  export declare const CompareStrategies: {
321
27
  stringInsensitive: (a: any, b: any) => number;
322
28
  date: (a: any, b: any) => number;
@@ -373,8 +79,6 @@ declare interface DatePickerProps {
373
79
 
374
80
  export declare const DEFAULT_GAP = 16;
375
81
 
376
- export declare const DeleteAccountModal: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
377
-
378
82
  export declare interface DropdownMenuItem {
379
83
  name: string;
380
84
  url?: string;
@@ -397,8 +101,6 @@ export declare interface ExternalToast {
397
101
 
398
102
  export declare type FieldType = 'text' | 'textArea' | 'number' | 'date' | 'url' | 'multi' | 'select' | 'password';
399
103
 
400
- export declare const FormErrorList: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
401
-
402
104
  export declare interface FormField {
403
105
  name: string;
404
106
  text?: string;
@@ -429,14 +131,6 @@ export declare interface FormHooks {
429
131
  onFinish?: () => any;
430
132
  }
431
133
 
432
- export declare const FormInput: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
433
- "update:modelValue": (value: any) => any;
434
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
435
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
436
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLInputElement>;
437
-
438
- export declare const FormInputLabel: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
439
-
440
134
  export declare interface FormState<T> {
441
135
  fields: FormFields<T>;
442
136
  errors: {
@@ -455,16 +149,8 @@ export declare interface FormState<T> {
455
149
  }) => void;
456
150
  }
457
151
 
458
- export declare const GlobalModal: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
459
-
460
- export declare const HoverCard: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
461
-
462
- export declare const InputLabel: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
463
-
464
152
  export declare function isInputLikeElement(element: EventTarget | null, key: string): boolean;
465
153
 
466
- export declare const LogoutSessionsModal: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
467
-
468
154
  export declare interface Message<T extends Component = Component> {
469
155
  id: string;
470
156
  title: string;
@@ -519,8 +205,6 @@ export declare interface PopoverItem {
519
205
  selectedIcon?: Component;
520
206
  }
521
207
 
522
- export declare const RelativeHoverCard: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
523
-
524
208
  export declare const SCALE_STEP = 0.06;
525
209
 
526
210
  export declare interface SelectItem {
@@ -529,8 +213,6 @@ export declare interface SelectItem {
529
213
  relationships?: any;
530
214
  }
531
215
 
532
- export declare const SettingsCard: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
533
-
534
216
  export declare type SortDir = 1 | -1;
535
217
 
536
218
  export declare interface SortKey<T> {
@@ -546,45 +228,6 @@ export declare const SWIPE_THRESHOLD = 45;
546
228
 
547
229
  export declare type SwipeDirection = 'top' | 'right' | 'bottom' | 'left';
548
230
 
549
- export declare const TableBase: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
550
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
551
- readonly onSearch?: ((value: string) => any) | undefined;
552
- readonly "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
553
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onSearch"> & ({
554
- modelValue?: string | undefined;
555
- } & TableProps<T>) & Partial<{}>> & PublicProps;
556
- expose(exposed: ShallowUnwrapRef<{}>): void;
557
- attrs: any;
558
- slots: Readonly<{
559
- row(props: {
560
- row: T;
561
- index: number;
562
- selectedID: any;
563
- }): any;
564
- }> & {
565
- row(props: {
566
- row: T;
567
- index: number;
568
- selectedID: any;
569
- }): any;
570
- };
571
- emit: ((e: "search", value: string) => void) & ((evt: "update:modelValue", value: string | undefined) => void);
572
- }>) => VNode & {
573
- __ctx?: Awaited<typeof __VLS_setup>;
574
- };
575
-
576
- export declare const TablePagination: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
577
- setPage: (...args: any[]) => void;
578
- }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
579
- onSetPage?: ((...args: any[]) => any) | undefined;
580
- }>, {
581
- maxVisiblePages: number;
582
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
583
- $element: HTMLDivElement;
584
- }, HTMLDivElement>;
585
-
586
- export declare const TablePaginationButton: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
587
-
588
231
  export declare interface TableProps<T> {
589
232
  useToolbar?: boolean;
590
233
  usePagination?: boolean;
@@ -628,18 +271,6 @@ export declare const TOAST_LIFE = 3000;
628
271
 
629
272
  export declare const TOAST_WIDTH = 0;
630
273
 
631
- export declare const ToastController: DefineComponent<ToastControllerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastControllerProps> & Readonly<{}>, {
632
- position: ToastPostion;
633
- maxVisibleToasts: number;
634
- layout: "default" | "expanded";
635
- defaultLife: number;
636
- viewportOffset: string | number;
637
- mobileViewportOffset: string | number;
638
- paddingBetweenToasts: number;
639
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
640
- container: HTMLOListElement;
641
- }, any>;
642
-
643
274
  export declare interface ToastControllerProps {
644
275
  layout?: 'default' | 'expanded';
645
276
  position?: ToastPostion;
@@ -710,7 +341,7 @@ export declare function useDatePicker(props: DatePickerProps, datePickerInput: R
710
341
  datePickerCalendar: Ref<HTMLElement | null, HTMLElement | null>;
711
342
  datePickerOpen: Ref<boolean, boolean>;
712
343
  datePickerValue: Ref<string, string>;
713
- datePickerPanel: Ref<"D" | "M" | "Y", "D" | "M" | "Y">;
344
+ datePickerPanel: Ref<"Y" | "M" | "D", "Y" | "M" | "D">;
714
345
  datePickerFormat: Ref<"F d, Y" | "d M, Y" | "Y M d" | "MM-DD-YYYY" | "DD-MM-YYYY" | "YYYY-MM-DD" | "D d M, Y", "F d, Y" | "d M, Y" | "Y M d" | "MM-DD-YYYY" | "DD-MM-YYYY" | "YYYY-MM-DD" | "D d M, Y">;
715
346
  datePickerMonth: Ref<number, number>;
716
347
  datePickerMonthVerbose: ComputedRef<string>;
@@ -721,7 +352,7 @@ export declare function useDatePicker(props: DatePickerProps, datePickerInput: R
721
352
  datePickerBlankDaysInMonth: Ref<number[], number[]>;
722
353
  datePickerMonthNames: string[];
723
354
  datePickerDays: string[];
724
- datePickerPosition: Ref<"top" | "bottom", "top" | "bottom">;
355
+ datePickerPosition: Ref<"bottom" | "top", "bottom" | "top">;
725
356
  toggleDatePicker: (state?: boolean) => void;
726
357
  datePickerValueClicked: (value: number) => void;
727
358
  datePickerPrevious: () => void;
package/package.json CHANGED
@@ -1,61 +1,85 @@
1
- {
2
- "name": "@aminnausin/cedar-ui",
3
- "version": "0.0.1",
4
- "main": "./dist/cedar-ui.umd.mjs",
5
- "module": "./dist/cedar-ui.mjs",
6
- "types": "./dist/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./dist/index.d.ts",
10
- "import": "./dist/cedar-ui.mjs",
11
- "require": "./dist/cedar-ui.umd.mjs"
12
- }
13
- },
14
- "files": [
15
- "./dist"
16
- ],
17
- "scripts": {
18
- "dev": "vite",
19
- "build": "npm run type-check && npm run build-only",
20
- "preview": "vite preview",
21
- "build-only": "vite build",
22
- "type-check": "vue-tsc --build",
23
- "lint": "eslint . --fix",
24
- "format": "prettier --write src/"
25
- },
26
- "dependencies": {
27
- "@tailwindcss/aspect-ratio": "^0.4.2",
28
- "@tailwindcss/forms": "^0.5.9",
29
- "@vueuse/components": "^10.11.0",
30
- "@vueuse/core": "^10.11.0",
31
- "@vueuse/integrations": "^11.0.0",
32
- "fast-deep-equal": "^3.1.3",
33
- "focus-trap": "^7.5.4",
34
- "tailwindcss": "^3.4.17",
35
- "tailwind-scrollbar-hide": "^2.0.0"
36
- },
37
- "peerDependencies": {
38
- "vue": "^3.5.13",
39
- "vue-router": "^4.5.0"
40
- },
41
- "devDependencies": {
42
- "@eslint/js": "^9.7.0",
43
- "@iconify/vue": "^5.0.0",
44
- "@tsconfig/node22": "^22.0.1",
45
- "@types/node": "^22.10.2",
46
- "@vitejs/plugin-vue": "^5.2.1",
47
- "@vue/eslint-config-prettier": "^10.1.0",
48
- "@vue/eslint-config-typescript": "^14.1.3",
49
- "@vue/tsconfig": "^0.7.0",
50
- "autoprefixer": "^10.4.20",
51
- "eslint": "^9.22.0",
52
- "eslint-plugin-vue": "~10.0.0",
53
- "postcss": "^8.4.49",
54
- "prettier": "3.5.3",
55
- "typescript": "~5.8.0",
56
- "vite": "^6.2.6",
57
- "vite-plugin-dts": "^4.5.4",
58
- "vite-plugin-vue-devtools": "^7.6.8",
59
- "vue-tsc": "^2.2.8"
60
- }
61
- }
1
+ {
2
+ "name": "@aminnausin/cedar-ui",
3
+ "version": "0.0.3",
4
+ "license": "MIT",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/aminnausin/cedar-ui.git",
8
+ "directory": "packages/cedar-ui"
9
+ },
10
+ "publishConfig": {
11
+ "registry": "https://registry.npmjs.org/"
12
+ },
13
+ "keywords": [
14
+ "vue",
15
+ "ui",
16
+ "components",
17
+ "shadcn",
18
+ "cedar-ui",
19
+ "tailwind",
20
+ "typescript",
21
+ "pines-ui"
22
+ ],
23
+ "main": "./dist/cedar-ui.umd.mjs",
24
+ "module": "./dist/cedar-ui.mjs",
25
+ "types": "./dist/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "types": "./dist/index.d.ts",
29
+ "import": "./dist/cedar-ui.mjs",
30
+ "require": "./dist/cedar-ui.umd.mjs"
31
+ }
32
+ },
33
+ "files": [
34
+ "./dist",
35
+ "LICENSE",
36
+ "README.MD"
37
+ ],
38
+ "dependencies": {
39
+ "@tailwindcss/aspect-ratio": "^0.4.2",
40
+ "@tailwindcss/forms": "^0.5.10",
41
+ "@vueuse/components": "^10.11.1",
42
+ "@vueuse/core": "^10.11.1",
43
+ "@vueuse/integrations": "^11.3.0",
44
+ "fast-deep-equal": "^3.1.3",
45
+ "focus-trap": "^7.6.5",
46
+ "tailwind-scrollbar-hide": "^2.0.0",
47
+ "tailwindcss": "^3.4.17"
48
+ },
49
+ "peerDependencies": {
50
+ "vue": "^3.5.13",
51
+ "vue-router": "^4.5.0"
52
+ },
53
+ "devDependencies": {
54
+ "@eslint/js": "^9.32.0",
55
+ "@iconify/vue": "^5.0.0",
56
+ "@tsconfig/node22": "^22.0.2",
57
+ "@types/node": "^22.17.0",
58
+ "@vitejs/plugin-vue": "^5.2.4",
59
+ "@vue/eslint-config-prettier": "^10.2.0",
60
+ "@vue/eslint-config-typescript": "^14.6.0",
61
+ "@vue/tsconfig": "^0.7.0",
62
+ "autoprefixer": "^10.4.21",
63
+ "eslint": "^9.32.0",
64
+ "eslint-plugin-vue": "~10.4.0",
65
+ "postcss": "^8.5.6",
66
+ "prettier": "3.5.3",
67
+ "typescript": "~5.9.2",
68
+ "vite": "^6.3.5",
69
+ "vite-plugin-dts": "^4.5.4",
70
+ "vite-plugin-vue-devtools": "^7.7.7",
71
+ "vue-tsc": "^2.2.12"
72
+ },
73
+ "scripts": {
74
+ "dev": "vite",
75
+ "build": "npm run type-check && npm run build-only",
76
+ "preview": "vite preview",
77
+ "build-only": "vite build",
78
+ "type-check": "vue-tsc --build",
79
+ "lint": "eslint . --fix",
80
+ "format": "prettier --write src/",
81
+ "pub:beta": "pnpm build && pnpm publish --no-git-checks --access public --tag beta",
82
+ "pub:next": "pnpm build && pnpm publish --no-git-checks --access public --tag next",
83
+ "pub:release": "pnpm build && pnpm publish --no-git-checks --access public"
84
+ }
85
+ }