@sidekick-coder/zenith-kit 0.3.11 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sidekick-coder/zenith-kit",
3
- "version": "0.3.11",
3
+ "version": "0.4.0",
4
4
  "license": "MIT",
5
5
  "description": "Package to use with zenith framework",
6
6
  "author": "Henrique Oliveira <henriqueoliwork@gmail.com>",
@@ -50,10 +50,6 @@
50
50
  "require": "./dist/client/index.es.js"
51
51
  },
52
52
  "./components": {
53
- "development": {
54
- "types": "./src/client/components.ts",
55
- "import": "./src/client/components.ts"
56
- },
57
53
  "types": "./dist/components/src/client/components.d.ts",
58
54
  "import": "./dist/components/index.es.js",
59
55
  "require": "./dist/components/index.es.js"
@@ -78,9 +74,11 @@
78
74
  "release": "node artisan.js release"
79
75
  },
80
76
  "peerDependencies": {
81
- "vee-validate": "^4.15.1",
82
77
  "vue": "^3.5.41",
83
- "vue-router": "^5.0.6"
78
+ "vue-router": "^5.0.6",
79
+ "vee-validate": "^4.15.1",
80
+ "reka-ui": "^2.10.3",
81
+ "@vueuse/core": "^10.0.0"
84
82
  },
85
83
  "devDependencies": {
86
84
  "@eslint/js": "^9.39.4",
@@ -143,6 +141,8 @@
143
141
  "mysql2": "^3.22.3",
144
142
  "node-schedule": "^2.1.1",
145
143
  "pg": "^8.20.0",
144
+ "postcss": "^8.5.26",
145
+ "postcss-selector-parser": "^7.1.5",
146
146
  "qs": "^6.15.1",
147
147
  "reka-ui": "^2.10.3",
148
148
  "supertest": "^7.2.2",
@@ -1,3 +1,4 @@
1
+ export * from './css/styles.css'
1
2
  export * from './composables/useBreakpoint.ts'
2
3
  export * from './composables/useColor.ts'
3
4
  export * from './composables/useDashboard.ts'
@@ -171,5 +172,4 @@ export { default as AdminLayoutPlainMenu } from './layouts/AdminLayoutPlainMenu.
171
172
  export * from './layouts/BaseLayout.vue'
172
173
  export { default as BaseLayout } from './layouts/BaseLayout.vue'
173
174
  export * from './layouts/SettingLayout.vue'
174
- export { default as SettingLayout } from './layouts/SettingLayout.vue'
175
- export * from './css/styles.css'
175
+ export { default as SettingLayout } from './layouts/SettingLayout.vue'
@@ -1,8 +1,11 @@
1
1
  @import "tailwindcss";
2
2
  @import "tw-animate-css";
3
+ @import "./theme.css";
3
4
 
4
5
  @custom-variant dark (&:is(.dark *));
5
6
 
7
+ @layer base {
8
+
6
9
  :root {
7
10
  --background: oklch(1 0 0);
8
11
  --foreground: oklch(0.141 0.005 285.823);
@@ -74,68 +77,6 @@
74
77
  --sidebar-ring: oklch(0.442 0.017 285.786);
75
78
  }
76
79
 
77
- @theme inline {
78
- --color-background: var(--background);
79
- --color-foreground: var(--foreground);
80
- --color-card: var(--card);
81
- --color-card-foreground: var(--card-foreground);
82
- --color-popover: var(--popover);
83
- --color-popover-foreground: var(--popover-foreground);
84
- --color-primary: var(--primary);
85
- --color-primary-foreground: var(--primary-foreground);
86
- --color-secondary: var(--secondary);
87
- --color-secondary-foreground: var(--secondary-foreground);
88
- --color-muted: var(--muted);
89
- --color-muted-foreground: var(--muted-foreground);
90
- --color-accent: var(--accent);
91
- --color-accent-foreground: var(--accent-foreground);
92
- --color-destructive: var(--destructive);
93
- --color-destructive-foreground: var(--destructive-foreground);
94
- --color-border: var(--border);
95
- --color-input: var(--input);
96
- --color-ring: var(--ring);
97
- --color-chart-1: var(--chart-1);
98
- --color-chart-2: var(--chart-2);
99
- --color-chart-3: var(--chart-3);
100
- --color-chart-4: var(--chart-4);
101
- --color-chart-5: var(--chart-5);
102
- --radius-sm: calc(var(--radius) - 4px);
103
- --radius-md: calc(var(--radius) - 2px);
104
- --radius-lg: var(--radius);
105
- --radius-xl: calc(var(--radius) + 4px);
106
- --color-sidebar: var(--sidebar);
107
- --color-sidebar-foreground: var(--sidebar-foreground);
108
- --color-sidebar-primary: var(--sidebar-primary);
109
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
110
- --color-sidebar-accent: var(--sidebar-accent);
111
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
112
- --color-sidebar-border: var(--sidebar-border);
113
- --color-sidebar-ring: var(--sidebar-ring);
114
- --animate-accordion-down: accordion-down 0.2s ease-out;
115
- --animate-accordion-up: accordion-up 0.2s ease-out;
116
-
117
- @keyframes accordion-down {
118
- from {
119
- height: 0;
120
- }
121
-
122
- to {
123
- height: var(--reka-accordion-content-height);
124
- }
125
- }
126
-
127
- @keyframes accordion-up {
128
- from {
129
- height: var(--reka-accordion-content-height);
130
- }
131
-
132
- to {
133
- height: 0;
134
- }
135
- }
136
- }
137
-
138
-
139
80
  * {
140
81
  @apply border-border outline-ring/50;
141
82
  }
@@ -154,3 +95,31 @@ iconify-icon {
154
95
  width: 1em;
155
96
  height: 1em;
156
97
  }
98
+
99
+ /* scrollbars */
100
+ /* .zenith-scrollbar { */
101
+ /* scrollbar-width: thin; */
102
+ /* scrollbar-color: var(--foreground) var(--background); */
103
+ /* scrollbar-gutter: stable both-edges; */
104
+ /* } */
105
+
106
+ .zenith-scrollbar::-webkit-scrollbar {
107
+ width: 8px;
108
+ height: 8px;
109
+ }
110
+
111
+ .zenith-scrollbar::-webkit-scrollbar-track {
112
+ background: var(--background);
113
+ }
114
+
115
+ .zenith-scrollbar::-webkit-scrollbar-thumb {
116
+ background-color: var(--foreground);
117
+ border-radius: 4px;
118
+ border: 2px solid var(--background);
119
+ }
120
+
121
+ .zenith-scrollbar::-webkit-scrollbar-corner {
122
+ background: var(--background);
123
+ }
124
+
125
+ }
@@ -0,0 +1,56 @@
1
+ @theme inline {
2
+ --color-background: var(--background);
3
+ --color-foreground: var(--foreground);
4
+ --color-card: var(--card);
5
+ --color-card-foreground: var(--card-foreground);
6
+ --color-popover: var(--popover);
7
+ --color-popover-foreground: var(--popover-foreground);
8
+ --color-primary: var(--primary);
9
+ --color-primary-foreground: var(--primary-foreground);
10
+ --color-secondary: var(--secondary);
11
+ --color-secondary-foreground: var(--secondary-foreground);
12
+ --color-muted: var(--muted);
13
+ --color-muted-foreground: var(--muted-foreground);
14
+ --color-accent: var(--accent);
15
+ --color-accent-foreground: var(--accent-foreground);
16
+ --color-destructive: var(--destructive);
17
+ --color-destructive-foreground: var(--destructive-foreground);
18
+ --color-border: var(--border);
19
+ --color-input: var(--input);
20
+ --color-ring: var(--ring);
21
+ --color-chart-1: var(--chart-1);
22
+ --color-chart-2: var(--chart-2);
23
+ --color-chart-3: var(--chart-3);
24
+ --color-chart-4: var(--chart-4);
25
+ --color-chart-5: var(--chart-5);
26
+ --radius-sm: calc(var(--radius) - 4px);
27
+ --radius-md: calc(var(--radius) - 2px);
28
+ --radius-lg: var(--radius);
29
+ --radius-xl: calc(var(--radius) + 4px);
30
+ --color-sidebar: var(--sidebar);
31
+ --color-sidebar-foreground: var(--sidebar-foreground);
32
+ --color-sidebar-primary: var(--sidebar-primary);
33
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
34
+ --color-sidebar-accent: var(--sidebar-accent);
35
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
36
+ --color-sidebar-border: var(--sidebar-border);
37
+ --color-sidebar-ring: var(--sidebar-ring);
38
+ --animate-accordion-down: accordion-down 0.2s ease-out;
39
+ --animate-accordion-up: accordion-up 0.2s ease-out;
40
+ @keyframes accordion-down {
41
+ from {
42
+ height: 0;
43
+ }
44
+ to {
45
+ height: var(--reka-accordion-content-height);
46
+ }
47
+ }
48
+ @keyframes accordion-up {
49
+ from {
50
+ height: var(--reka-accordion-content-height);
51
+ }
52
+ to {
53
+ height: 0;
54
+ }
55
+ }
56
+ }
@@ -35,13 +35,6 @@ export default function(options) {
35
35
  }
36
36
  }),
37
37
  tailwindcss(),
38
- // zenith({
39
- // imports: [
40
- // 'vue',
41
- // 'vue-router',
42
- // 'vee-validate'
43
- // ],
44
- // })
45
38
  ],
46
39
  build: {
47
40
  outDir: options.outDir,
@@ -52,6 +45,7 @@ export default function(options) {
52
45
  rollupOptions: {
53
46
  external: [
54
47
  'vue',
48
+ 'vee-validate',
55
49
  ],
56
50
  },
57
51
  lib: {