@thetwin_13/vue-components 1.0.0
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/README.md +205 -0
- package/dist/components/VAccordion.vue.d.ts +29 -0
- package/dist/components/VAccordion.vue.d.ts.map +1 -0
- package/dist/components/VAlert.vue.d.ts +28 -0
- package/dist/components/VAlert.vue.d.ts.map +1 -0
- package/dist/components/VAvatar.vue.d.ts +27 -0
- package/dist/components/VAvatar.vue.d.ts.map +1 -0
- package/dist/components/VBadge.vue.d.ts +23 -0
- package/dist/components/VBadge.vue.d.ts.map +1 -0
- package/dist/components/VBreadcrumb.vue.d.ts +13 -0
- package/dist/components/VBreadcrumb.vue.d.ts.map +1 -0
- package/dist/components/VButton.vue.d.ts +29 -0
- package/dist/components/VButton.vue.d.ts.map +1 -0
- package/dist/components/VCallout.vue.d.ts +22 -0
- package/dist/components/VCallout.vue.d.ts.map +1 -0
- package/dist/components/VCard.vue.d.ts +22 -0
- package/dist/components/VCard.vue.d.ts.map +1 -0
- package/dist/components/VCarousel.vue.d.ts +28 -0
- package/dist/components/VCarousel.vue.d.ts.map +1 -0
- package/dist/components/VCheckbox.vue.d.ts +33 -0
- package/dist/components/VCheckbox.vue.d.ts.map +1 -0
- package/dist/components/VChip.vue.d.ts +31 -0
- package/dist/components/VChip.vue.d.ts.map +1 -0
- package/dist/components/VCode.vue.d.ts +18 -0
- package/dist/components/VCode.vue.d.ts.map +1 -0
- package/dist/components/VCol.vue.d.ts +23 -0
- package/dist/components/VCol.vue.d.ts.map +1 -0
- package/dist/components/VColorPicker.vue.d.ts +17 -0
- package/dist/components/VColorPicker.vue.d.ts.map +1 -0
- package/dist/components/VContainer.vue.d.ts +20 -0
- package/dist/components/VContainer.vue.d.ts.map +1 -0
- package/dist/components/VDatePicker.vue.d.ts +21 -0
- package/dist/components/VDatePicker.vue.d.ts.map +1 -0
- package/dist/components/VDivider.vue.d.ts +12 -0
- package/dist/components/VDivider.vue.d.ts.map +1 -0
- package/dist/components/VDrawer.vue.d.ts +36 -0
- package/dist/components/VDrawer.vue.d.ts.map +1 -0
- package/dist/components/VDropdown.vue.d.ts +22 -0
- package/dist/components/VDropdown.vue.d.ts.map +1 -0
- package/dist/components/VEmpty.vue.d.ts +22 -0
- package/dist/components/VEmpty.vue.d.ts.map +1 -0
- package/dist/components/VFileUpload.vue.d.ts +28 -0
- package/dist/components/VFileUpload.vue.d.ts.map +1 -0
- package/dist/components/VImage.vue.d.ts +26 -0
- package/dist/components/VImage.vue.d.ts.map +1 -0
- package/dist/components/VInput.vue.d.ts +43 -0
- package/dist/components/VInput.vue.d.ts.map +1 -0
- package/dist/components/VKbd.vue.d.ts +19 -0
- package/dist/components/VKbd.vue.d.ts.map +1 -0
- package/dist/components/VList.vue.d.ts +40 -0
- package/dist/components/VList.vue.d.ts.map +1 -0
- package/dist/components/VMenu.vue.d.ts +40 -0
- package/dist/components/VMenu.vue.d.ts.map +1 -0
- package/dist/components/VModal.vue.d.ts +34 -0
- package/dist/components/VModal.vue.d.ts.map +1 -0
- package/dist/components/VNavbar.vue.d.ts +28 -0
- package/dist/components/VNavbar.vue.d.ts.map +1 -0
- package/dist/components/VPageHeader.vue.d.ts +20 -0
- package/dist/components/VPageHeader.vue.d.ts.map +1 -0
- package/dist/components/VPagination.vue.d.ts +19 -0
- package/dist/components/VPagination.vue.d.ts.map +1 -0
- package/dist/components/VPaginationSimple.vue.d.ts +18 -0
- package/dist/components/VPaginationSimple.vue.d.ts.map +1 -0
- package/dist/components/VPopover.vue.d.ts +31 -0
- package/dist/components/VPopover.vue.d.ts.map +1 -0
- package/dist/components/VProgress.vue.d.ts +21 -0
- package/dist/components/VProgress.vue.d.ts.map +1 -0
- package/dist/components/VQuote.vue.d.ts +20 -0
- package/dist/components/VQuote.vue.d.ts.map +1 -0
- package/dist/components/VRadio.vue.d.ts +33 -0
- package/dist/components/VRadio.vue.d.ts.map +1 -0
- package/dist/components/VRating.vue.d.ts +23 -0
- package/dist/components/VRating.vue.d.ts.map +1 -0
- package/dist/components/VResult.vue.d.ts +24 -0
- package/dist/components/VResult.vue.d.ts.map +1 -0
- package/dist/components/VRow.vue.d.ts +22 -0
- package/dist/components/VRow.vue.d.ts.map +1 -0
- package/dist/components/VSelect.vue.d.ts +32 -0
- package/dist/components/VSelect.vue.d.ts.map +1 -0
- package/dist/components/VSidebar.vue.d.ts +24 -0
- package/dist/components/VSidebar.vue.d.ts.map +1 -0
- package/dist/components/VSkeleton.vue.d.ts +14 -0
- package/dist/components/VSkeleton.vue.d.ts.map +1 -0
- package/dist/components/VSlider.vue.d.ts +24 -0
- package/dist/components/VSlider.vue.d.ts.map +1 -0
- package/dist/components/VSpinner.vue.d.ts +11 -0
- package/dist/components/VSpinner.vue.d.ts.map +1 -0
- package/dist/components/VStat.vue.d.ts +15 -0
- package/dist/components/VStat.vue.d.ts.map +1 -0
- package/dist/components/VStepper.vue.d.ts +14 -0
- package/dist/components/VStepper.vue.d.ts.map +1 -0
- package/dist/components/VTable.vue.d.ts +41 -0
- package/dist/components/VTable.vue.d.ts.map +1 -0
- package/dist/components/VTabs.vue.d.ts +31 -0
- package/dist/components/VTabs.vue.d.ts.map +1 -0
- package/dist/components/VTextarea.vue.d.ts +31 -0
- package/dist/components/VTextarea.vue.d.ts.map +1 -0
- package/dist/components/VTimePicker.vue.d.ts +17 -0
- package/dist/components/VTimePicker.vue.d.ts.map +1 -0
- package/dist/components/VTimeline.vue.d.ts +32 -0
- package/dist/components/VTimeline.vue.d.ts.map +1 -0
- package/dist/components/VToggle.vue.d.ts +31 -0
- package/dist/components/VToggle.vue.d.ts.map +1 -0
- package/dist/components/VTooltip.vue.d.ts +21 -0
- package/dist/components/VTooltip.vue.d.ts.map +1 -0
- package/dist/components/VVideo.vue.d.ts +24 -0
- package/dist/components/VVideo.vue.d.ts.map +1 -0
- package/dist/composables/useSize.d.ts +5 -0
- package/dist/composables/useSize.d.ts.map +1 -0
- package/dist/composables/useVariant.d.ts +5 -0
- package/dist/composables/useVariant.d.ts.map +1 -0
- package/dist/i18n/index.d.ts +25 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/locales/de.d.ts +3 -0
- package/dist/i18n/locales/de.d.ts.map +1 -0
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.d.ts.map +1 -0
- package/dist/i18n/locales/es.d.ts +3 -0
- package/dist/i18n/locales/es.d.ts.map +1 -0
- package/dist/i18n/locales/fr.d.ts +3 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -0
- package/dist/i18n/locales/it.d.ts +3 -0
- package/dist/i18n/locales/it.d.ts.map +1 -0
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -0
- package/dist/i18n/locales/ko.d.ts +3 -0
- package/dist/i18n/locales/ko.d.ts.map +1 -0
- package/dist/i18n/locales/pt.d.ts +3 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -0
- package/dist/i18n/locales/zh.d.ts +3 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6829 -0
- package/dist/plugin.d.ts +23 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/theme/index.d.ts +87 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/presets.d.ts +14 -0
- package/dist/theme/presets.d.ts.map +1 -0
- package/dist/types/i18n.d.ts +110 -0
- package/dist/types/i18n.d.ts.map +1 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/theme.d.ts +65 -0
- package/dist/types/theme.d.ts.map +1 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/package.json +75 -0
- package/tailwind.preset.js +44 -0
package/dist/plugin.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Plugin } from 'vue';
|
|
2
|
+
import type { ThemeName, ColorMode, ThemeMode } from '@/types/theme';
|
|
3
|
+
import type { LocaleCode, LocaleMessages } from '@/types/i18n';
|
|
4
|
+
import { useTheme, themePresets } from '@/theme';
|
|
5
|
+
import { useI18n, locales } from '@/i18n';
|
|
6
|
+
export interface VueComponentsOptions {
|
|
7
|
+
theme?: {
|
|
8
|
+
defaultTheme?: ThemeName;
|
|
9
|
+
defaultMode?: ColorMode;
|
|
10
|
+
customThemes?: Record<string, ThemeMode>;
|
|
11
|
+
storageKey?: string;
|
|
12
|
+
enableTransitions?: boolean;
|
|
13
|
+
};
|
|
14
|
+
i18n?: {
|
|
15
|
+
locale?: LocaleCode;
|
|
16
|
+
fallbackLocale?: LocaleCode;
|
|
17
|
+
customLocales?: Record<string, LocaleMessages>;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
declare const VueComponentsPlugin: Plugin<VueComponentsOptions>;
|
|
21
|
+
export { useTheme, useI18n, themePresets, locales };
|
|
22
|
+
export default VueComponentsPlugin;
|
|
23
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,KAAK,CAAA;AACtC,OAAO,KAAK,EAAwB,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1F,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC9D,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAEzC,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE;QACN,YAAY,CAAC,EAAE,SAAS,CAAA;QACxB,WAAW,CAAC,EAAE,SAAS,CAAA;QACvB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;QACxC,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAC5B,CAAA;IACD,IAAI,CAAC,EAAE;QACL,MAAM,CAAC,EAAE,UAAU,CAAA;QACnB,cAAc,CAAC,EAAE,UAAU,CAAA;QAC3B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;KAC/C,CAAA;CACF;AAED,QAAA,MAAM,mBAAmB,EAAE,MAAM,CAAC,oBAAoB,CA6CrD,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,CAAA;AAEnD,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { ThemeConfig, ThemeName, ColorMode, ThemeProviderOptions, ThemeMode } from '@/types/theme';
|
|
2
|
+
export declare function useTheme(): {
|
|
3
|
+
currentTheme: import("vue").ComputedRef<ThemeConfig>;
|
|
4
|
+
currentThemeName: import("vue").ComputedRef<ThemeName>;
|
|
5
|
+
currentMode: import("vue").ComputedRef<ColorMode>;
|
|
6
|
+
effectiveMode: import("vue").ComputedRef<"light" | "dark">;
|
|
7
|
+
isDark: import("vue").ComputedRef<boolean>;
|
|
8
|
+
availableThemes: import("vue").ComputedRef<string[]>;
|
|
9
|
+
setTheme: (themeName: ThemeName) => void;
|
|
10
|
+
setMode: (mode: ColorMode) => void;
|
|
11
|
+
toggleMode: () => void;
|
|
12
|
+
registerCustomTheme: (name: string, themeMode: ThemeMode) => void;
|
|
13
|
+
init: (options?: ThemeProviderOptions) => (() => void) | undefined;
|
|
14
|
+
applyTheme: () => void;
|
|
15
|
+
themes: Record<string, ThemeMode>;
|
|
16
|
+
};
|
|
17
|
+
export declare const themePresets: {
|
|
18
|
+
default: {
|
|
19
|
+
light: ThemeConfig;
|
|
20
|
+
dark: ThemeConfig;
|
|
21
|
+
};
|
|
22
|
+
green: {
|
|
23
|
+
light: {
|
|
24
|
+
name: string;
|
|
25
|
+
colors: import("@/types/theme").ThemeColors;
|
|
26
|
+
radius: import("@/types/theme").ThemeRadius;
|
|
27
|
+
spacing: import("@/types/theme").ThemeSpacing;
|
|
28
|
+
fonts: import("@/types/theme").ThemeFonts;
|
|
29
|
+
};
|
|
30
|
+
dark: {
|
|
31
|
+
name: string;
|
|
32
|
+
colors: import("@/types/theme").ThemeColors;
|
|
33
|
+
radius: import("@/types/theme").ThemeRadius;
|
|
34
|
+
spacing: import("@/types/theme").ThemeSpacing;
|
|
35
|
+
fonts: import("@/types/theme").ThemeFonts;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
purple: {
|
|
39
|
+
light: {
|
|
40
|
+
name: string;
|
|
41
|
+
colors: import("@/types/theme").ThemeColors;
|
|
42
|
+
radius: import("@/types/theme").ThemeRadius;
|
|
43
|
+
spacing: import("@/types/theme").ThemeSpacing;
|
|
44
|
+
fonts: import("@/types/theme").ThemeFonts;
|
|
45
|
+
};
|
|
46
|
+
dark: {
|
|
47
|
+
name: string;
|
|
48
|
+
colors: import("@/types/theme").ThemeColors;
|
|
49
|
+
radius: import("@/types/theme").ThemeRadius;
|
|
50
|
+
spacing: import("@/types/theme").ThemeSpacing;
|
|
51
|
+
fonts: import("@/types/theme").ThemeFonts;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
red: {
|
|
55
|
+
light: {
|
|
56
|
+
name: string;
|
|
57
|
+
colors: import("@/types/theme").ThemeColors;
|
|
58
|
+
radius: import("@/types/theme").ThemeRadius;
|
|
59
|
+
spacing: import("@/types/theme").ThemeSpacing;
|
|
60
|
+
fonts: import("@/types/theme").ThemeFonts;
|
|
61
|
+
};
|
|
62
|
+
dark: {
|
|
63
|
+
name: string;
|
|
64
|
+
colors: import("@/types/theme").ThemeColors;
|
|
65
|
+
radius: import("@/types/theme").ThemeRadius;
|
|
66
|
+
spacing: import("@/types/theme").ThemeSpacing;
|
|
67
|
+
fonts: import("@/types/theme").ThemeFonts;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
orange: {
|
|
71
|
+
light: {
|
|
72
|
+
name: string;
|
|
73
|
+
colors: import("@/types/theme").ThemeColors;
|
|
74
|
+
radius: import("@/types/theme").ThemeRadius;
|
|
75
|
+
spacing: import("@/types/theme").ThemeSpacing;
|
|
76
|
+
fonts: import("@/types/theme").ThemeFonts;
|
|
77
|
+
};
|
|
78
|
+
dark: {
|
|
79
|
+
name: string;
|
|
80
|
+
colors: import("@/types/theme").ThemeColors;
|
|
81
|
+
radius: import("@/types/theme").ThemeRadius;
|
|
82
|
+
spacing: import("@/types/theme").ThemeSpacing;
|
|
83
|
+
fonts: import("@/types/theme").ThemeFonts;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAwDvG,wBAAgB,QAAQ;;;;;;;0BAUO,SAAS;oBAMf,SAAS;;gCAgBG,MAAM,aAAa,SAAS;qBAiIxC,oBAAoB;;;EA2C5C;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBxB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ThemeConfig, ThemeColors } from '@/types/theme';
|
|
2
|
+
export declare const lightColors: ThemeColors;
|
|
3
|
+
export declare const darkColors: ThemeColors;
|
|
4
|
+
export declare const defaultLightTheme: ThemeConfig;
|
|
5
|
+
export declare const defaultDarkTheme: ThemeConfig;
|
|
6
|
+
export declare const greenLightColors: ThemeColors;
|
|
7
|
+
export declare const greenDarkColors: ThemeColors;
|
|
8
|
+
export declare const purpleLightColors: ThemeColors;
|
|
9
|
+
export declare const purpleDarkColors: ThemeColors;
|
|
10
|
+
export declare const redLightColors: ThemeColors;
|
|
11
|
+
export declare const redDarkColors: ThemeColors;
|
|
12
|
+
export declare const orangeLightColors: ThemeColors;
|
|
13
|
+
export declare const orangeDarkColors: ThemeColors;
|
|
14
|
+
//# sourceMappingURL=presets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../src/theme/presets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAyC,MAAM,eAAe,CAAA;AA4BpG,eAAO,MAAM,WAAW,EAAE,WA+EzB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,WA+ExB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,WAM/B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,WAM9B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,WAe9B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,WAe7B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,WAe/B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,WAe9B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,WAe5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,WAe3B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,WAe/B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,WAe9B,CAAA"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export type LocaleCode = 'es' | 'en' | 'fr' | 'de' | 'pt' | 'it' | 'ja' | 'zh' | 'ko';
|
|
2
|
+
export interface LocaleMessages {
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
close: string;
|
|
7
|
+
save: string;
|
|
8
|
+
delete: string;
|
|
9
|
+
edit: string;
|
|
10
|
+
search: string;
|
|
11
|
+
loading: string;
|
|
12
|
+
noResults: string;
|
|
13
|
+
noData: string;
|
|
14
|
+
error: string;
|
|
15
|
+
success: string;
|
|
16
|
+
warning: string;
|
|
17
|
+
info: string;
|
|
18
|
+
required: string;
|
|
19
|
+
optional: string;
|
|
20
|
+
};
|
|
21
|
+
pagination: {
|
|
22
|
+
previous: string;
|
|
23
|
+
next: string;
|
|
24
|
+
first: string;
|
|
25
|
+
last: string;
|
|
26
|
+
page: string;
|
|
27
|
+
of: string;
|
|
28
|
+
items: string;
|
|
29
|
+
itemsPerPage: string;
|
|
30
|
+
showing: string;
|
|
31
|
+
};
|
|
32
|
+
select: {
|
|
33
|
+
placeholder: string;
|
|
34
|
+
noOptions: string;
|
|
35
|
+
searchPlaceholder: string;
|
|
36
|
+
};
|
|
37
|
+
input: {
|
|
38
|
+
placeholder: string;
|
|
39
|
+
clear: string;
|
|
40
|
+
};
|
|
41
|
+
fileUpload: {
|
|
42
|
+
dragAndDrop: string;
|
|
43
|
+
or: string;
|
|
44
|
+
browse: string;
|
|
45
|
+
maxSize: string;
|
|
46
|
+
acceptedFormats: string;
|
|
47
|
+
uploading: string;
|
|
48
|
+
uploadComplete: string;
|
|
49
|
+
uploadFailed: string;
|
|
50
|
+
removeFile: string;
|
|
51
|
+
};
|
|
52
|
+
modal: {
|
|
53
|
+
close: string;
|
|
54
|
+
};
|
|
55
|
+
alert: {
|
|
56
|
+
close: string;
|
|
57
|
+
};
|
|
58
|
+
table: {
|
|
59
|
+
noData: string;
|
|
60
|
+
loading: string;
|
|
61
|
+
actions: string;
|
|
62
|
+
sortBy: string;
|
|
63
|
+
filterBy: string;
|
|
64
|
+
};
|
|
65
|
+
date: {
|
|
66
|
+
today: string;
|
|
67
|
+
yesterday: string;
|
|
68
|
+
tomorrow: string;
|
|
69
|
+
days: string[];
|
|
70
|
+
months: string[];
|
|
71
|
+
monthsShort: string[];
|
|
72
|
+
};
|
|
73
|
+
time: {
|
|
74
|
+
hours: string;
|
|
75
|
+
minutes: string;
|
|
76
|
+
seconds: string;
|
|
77
|
+
am: string;
|
|
78
|
+
pm: string;
|
|
79
|
+
};
|
|
80
|
+
validation: {
|
|
81
|
+
required: string;
|
|
82
|
+
email: string;
|
|
83
|
+
minLength: string;
|
|
84
|
+
maxLength: string;
|
|
85
|
+
min: string;
|
|
86
|
+
max: string;
|
|
87
|
+
pattern: string;
|
|
88
|
+
match: string;
|
|
89
|
+
};
|
|
90
|
+
stepper: {
|
|
91
|
+
step: string;
|
|
92
|
+
of: string;
|
|
93
|
+
};
|
|
94
|
+
empty: {
|
|
95
|
+
title: string;
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
result: {
|
|
99
|
+
success: string;
|
|
100
|
+
error: string;
|
|
101
|
+
warning: string;
|
|
102
|
+
info: string;
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export interface I18nConfig {
|
|
106
|
+
locale: LocaleCode;
|
|
107
|
+
messages: Record<LocaleCode, LocaleMessages>;
|
|
108
|
+
fallbackLocale: LocaleCode;
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/types/i18n.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAErF,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,CAAA;QACf,MAAM,EAAE,MAAM,CAAA;QACd,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,IAAI,EAAE,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AAM,CAAC,UAAU,EAAE,cAAc,CAAC,CAAA;IAC5C,cAAc,EAAE,UAAU,CAAA;CAC3B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type ComponentSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
export type ComponentVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'success';
|
|
3
|
+
export type ComponentColor = 'primary' | 'neutral' | 'danger' | 'success' | 'warning';
|
|
4
|
+
export type ComponentRounded = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
5
|
+
export interface BaseComponentProps {
|
|
6
|
+
class?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface ButtonProps extends BaseComponentProps {
|
|
11
|
+
variant?: ComponentVariant;
|
|
12
|
+
size?: ComponentSize;
|
|
13
|
+
rounded?: ComponentRounded;
|
|
14
|
+
type?: 'button' | 'submit' | 'reset';
|
|
15
|
+
}
|
|
16
|
+
export interface InputProps extends BaseComponentProps {
|
|
17
|
+
modelValue?: string | number;
|
|
18
|
+
type?: string;
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
size?: ComponentSize;
|
|
21
|
+
rounded?: ComponentRounded;
|
|
22
|
+
error?: string;
|
|
23
|
+
label?: string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAA;AACnG,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAA;AACrF,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;AAE1E,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;CACrC;AAED,MAAM,WAAW,UAAW,SAAQ,kBAAkB;IACpD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export interface ColorPalette {
|
|
2
|
+
50: string;
|
|
3
|
+
100: string;
|
|
4
|
+
200: string;
|
|
5
|
+
300: string;
|
|
6
|
+
400: string;
|
|
7
|
+
500: string;
|
|
8
|
+
600: string;
|
|
9
|
+
700: string;
|
|
10
|
+
800: string;
|
|
11
|
+
900: string;
|
|
12
|
+
950: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ThemeColors {
|
|
15
|
+
primary: ColorPalette;
|
|
16
|
+
neutral: ColorPalette;
|
|
17
|
+
success: ColorPalette;
|
|
18
|
+
warning: ColorPalette;
|
|
19
|
+
danger: ColorPalette;
|
|
20
|
+
info: ColorPalette;
|
|
21
|
+
}
|
|
22
|
+
export interface ThemeRadius {
|
|
23
|
+
none: string;
|
|
24
|
+
sm: string;
|
|
25
|
+
DEFAULT: string;
|
|
26
|
+
md: string;
|
|
27
|
+
lg: string;
|
|
28
|
+
xl: string;
|
|
29
|
+
'2xl': string;
|
|
30
|
+
full: string;
|
|
31
|
+
}
|
|
32
|
+
export interface ThemeSpacing {
|
|
33
|
+
xs: string;
|
|
34
|
+
sm: string;
|
|
35
|
+
md: string;
|
|
36
|
+
lg: string;
|
|
37
|
+
xl: string;
|
|
38
|
+
'2xl': string;
|
|
39
|
+
}
|
|
40
|
+
export interface ThemeFonts {
|
|
41
|
+
sans: string;
|
|
42
|
+
serif: string;
|
|
43
|
+
mono: string;
|
|
44
|
+
}
|
|
45
|
+
export interface ThemeConfig {
|
|
46
|
+
name: string;
|
|
47
|
+
colors: ThemeColors;
|
|
48
|
+
radius: ThemeRadius;
|
|
49
|
+
spacing: ThemeSpacing;
|
|
50
|
+
fonts: ThemeFonts;
|
|
51
|
+
}
|
|
52
|
+
export interface ThemeMode {
|
|
53
|
+
light: ThemeConfig;
|
|
54
|
+
dark: ThemeConfig;
|
|
55
|
+
}
|
|
56
|
+
export type ThemeName = 'default' | 'blue' | 'green' | 'purple' | 'red' | 'orange' | 'custom';
|
|
57
|
+
export type ColorMode = 'light' | 'dark' | 'system';
|
|
58
|
+
export interface ThemeProviderOptions {
|
|
59
|
+
defaultTheme?: ThemeName;
|
|
60
|
+
defaultMode?: ColorMode;
|
|
61
|
+
customThemes?: Record<string, ThemeMode>;
|
|
62
|
+
storageKey?: string;
|
|
63
|
+
enableTransitions?: boolean;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/types/theme.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE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,EAAE,YAAY,CAAA;IACrB,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,WAAW,CAAA;IAClB,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAC7F,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEnD,MAAM,WAAW,oBAAoB;IACnC,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IACxC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/utils/cn.ts"],"names":[],"mappings":"AAGA,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,EAAE,UAElE"}
|
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@thetwin_13/vue-components",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Una librería de componentes Vue 3 con Tailwind CSS",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./styles": "./dist/style.css",
|
|
16
|
+
"./tailwind": "./tailwind.preset.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"tailwind.preset.js"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"build": "vite build && npm run build:types",
|
|
25
|
+
"build:types": "vue-tsc --project tsconfig.build.json --emitDeclarationOnly",
|
|
26
|
+
"preview": "vite preview",
|
|
27
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts",
|
|
28
|
+
"typecheck": "vue-tsc --noEmit",
|
|
29
|
+
"storybook": "storybook dev -p 6006",
|
|
30
|
+
"build-storybook": "storybook build"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"vue": "^3.4.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
37
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
38
|
+
"@storybook/addon-links": "^8.6.18",
|
|
39
|
+
"@storybook/blocks": "^8.6.14",
|
|
40
|
+
"@storybook/vue3": "^8.6.18",
|
|
41
|
+
"@storybook/vue3-vite": "^8.6.18",
|
|
42
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
43
|
+
"@vue/compiler-sfc": "^3.4.21",
|
|
44
|
+
"autoprefixer": "^10.4.18",
|
|
45
|
+
"eslint": "^8.57.0",
|
|
46
|
+
"eslint-plugin-vue": "^9.23.0",
|
|
47
|
+
"postcss": "^8.4.35",
|
|
48
|
+
"storybook": "^8.6.18",
|
|
49
|
+
"tailwindcss": "^3.4.1",
|
|
50
|
+
"typescript": "^5.4.2",
|
|
51
|
+
"vite": "^5.1.6",
|
|
52
|
+
"vite-plugin-dts": "^3.7.3",
|
|
53
|
+
"vue": "^3.4.21",
|
|
54
|
+
"vue-tsc": "^2.0.6"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"class-variance-authority": "^0.7.0",
|
|
58
|
+
"clsx": "^2.1.0",
|
|
59
|
+
"tailwind-merge": "^2.2.1"
|
|
60
|
+
},
|
|
61
|
+
"keywords": [
|
|
62
|
+
"vue",
|
|
63
|
+
"vue3",
|
|
64
|
+
"components",
|
|
65
|
+
"ui",
|
|
66
|
+
"tailwindcss",
|
|
67
|
+
"design-system"
|
|
68
|
+
],
|
|
69
|
+
"author": "",
|
|
70
|
+
"license": "MIT",
|
|
71
|
+
"repository": {
|
|
72
|
+
"type": "git",
|
|
73
|
+
"url": ""
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
export default {
|
|
3
|
+
content: [],
|
|
4
|
+
darkMode: 'class',
|
|
5
|
+
theme: {
|
|
6
|
+
extend: {
|
|
7
|
+
colors: {
|
|
8
|
+
primary: {
|
|
9
|
+
50: 'hsl(var(--color-primary-50))',
|
|
10
|
+
100: 'hsl(var(--color-primary-100))',
|
|
11
|
+
200: 'hsl(var(--color-primary-200))',
|
|
12
|
+
300: 'hsl(var(--color-primary-300))',
|
|
13
|
+
400: 'hsl(var(--color-primary-400))',
|
|
14
|
+
500: 'hsl(var(--color-primary-500))',
|
|
15
|
+
600: 'hsl(var(--color-primary-600))',
|
|
16
|
+
700: 'hsl(var(--color-primary-700))',
|
|
17
|
+
800: 'hsl(var(--color-primary-800))',
|
|
18
|
+
900: 'hsl(var(--color-primary-900))',
|
|
19
|
+
950: 'hsl(var(--color-primary-950))'
|
|
20
|
+
},
|
|
21
|
+
neutral: {
|
|
22
|
+
50: 'hsl(var(--color-neutral-50))',
|
|
23
|
+
100: 'hsl(var(--color-neutral-100))',
|
|
24
|
+
200: 'hsl(var(--color-neutral-200))',
|
|
25
|
+
300: 'hsl(var(--color-neutral-300))',
|
|
26
|
+
400: 'hsl(var(--color-neutral-400))',
|
|
27
|
+
500: 'hsl(var(--color-neutral-500))',
|
|
28
|
+
600: 'hsl(var(--color-neutral-600))',
|
|
29
|
+
700: 'hsl(var(--color-neutral-700))',
|
|
30
|
+
800: 'hsl(var(--color-neutral-800))',
|
|
31
|
+
900: 'hsl(var(--color-neutral-900))',
|
|
32
|
+
950: 'hsl(var(--color-neutral-950))'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
borderRadius: {
|
|
36
|
+
sm: 'var(--radius-sm)',
|
|
37
|
+
DEFAULT: 'var(--radius)',
|
|
38
|
+
md: 'var(--radius-md)',
|
|
39
|
+
lg: 'var(--radius-lg)',
|
|
40
|
+
xl: 'var(--radius-xl)'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|