@postxl/generators 1.0.10 → 1.0.11
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/frontend-admin/generators/admin-sidebar.generator.js +7 -12
- package/dist/frontend-admin/generators/admin-sidebar.generator.js.map +1 -1
- package/dist/frontend-admin/generators/audit-log-sidebar.generator.js +36 -53
- package/dist/frontend-admin/generators/audit-log-sidebar.generator.js.map +1 -1
- package/dist/frontend-core/template/src/components/ui/data-grid/cell-variants/checkbox-cell.tsx +3 -3
- package/dist/frontend-core/template/src/components/ui/data-grid/cell-variants/date-cell.tsx +1 -2
- package/dist/frontend-core/template/src/components/ui/data-grid/cell-variants/long-text-cell.tsx +1 -0
- package/dist/frontend-core/template/src/components/ui/data-grid/cell-variants/multi-select-cell.tsx +5 -9
- package/dist/frontend-core/template/src/components/ui/data-grid/cell-variants/number-cell.tsx +5 -3
- package/dist/frontend-core/template/src/components/ui/data-grid/cell-variants/react-node-cell.tsx +2 -1
- package/dist/frontend-core/template/src/components/ui/data-grid/cell-variants/select-cell.tsx +4 -4
- package/dist/frontend-core/template/src/components/ui/data-grid/cell-variants/short-text-cell.tsx +4 -3
- package/dist/frontend-core/template/src/components/ui/data-grid/cell-variants/utils/gantt-timeline.tsx +6 -5
- package/dist/frontend-core/template/src/components/ui/data-grid/data-grid-cell-wrapper.tsx +2 -2
- package/dist/frontend-core/template/src/components/ui/data-grid/data-grid-cell.tsx +7 -6
- package/dist/frontend-core/template/src/components/ui/data-grid/data-grid-column-header.tsx +13 -20
- package/dist/frontend-core/template/src/components/ui/data-grid/data-grid-row.tsx +2 -2
- package/dist/frontend-core/template/src/components/ui/data-grid/data-grid-search.tsx +2 -2
- package/dist/frontend-core/template/src/components/ui/data-grid/data-grid-utils.ts +3 -14
- package/dist/frontend-core/template/src/components/ui/data-grid/data-grid-view-menu.tsx +3 -3
- package/dist/frontend-core/template/src/components/ui/data-grid/data-grid.tsx +6 -6
- package/dist/frontend-core/template/src/components/ui/data-grid/styles.css +3 -0
- package/dist/frontend-core/template/src/components/ui/data-table/data-table.tsx +11 -12
- package/dist/frontend-core/template/src/context-providers/theme-context-provider.tsx +52 -67
- package/dist/frontend-core/template/src/main.tsx +1 -1
- package/dist/frontend-core/template/src/pages/dashboard/dashboard.page.tsx +4 -4
- package/dist/frontend-core/template/src/styles/styles.css +102 -2
- package/dist/frontend-core/template/src/styles/theme-default.css +108 -178
- package/package.json +1 -1
|
@@ -1,183 +1,113 @@
|
|
|
1
|
-
:root
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-moz-osx-font-smoothing: grayscale;
|
|
1
|
+
/* :root is the default fallback if no css classes are provided for the html element */
|
|
2
|
+
:root,
|
|
3
|
+
html.default.light {
|
|
4
|
+
--color-scheme: light;
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
--theme-ready-flag: 'dark';
|
|
61
|
-
|
|
62
|
-
--background: #09090B;
|
|
63
|
-
--foreground: #FAFAFA;
|
|
64
|
-
--card: #18181B;
|
|
65
|
-
--card-foreground: #FAFAFA;
|
|
66
|
-
--popover: #18181B;
|
|
67
|
-
--popover-foreground: #FAFAFA;
|
|
68
|
-
--primary: #1447E6;
|
|
69
|
-
--primary-foreground: #F8F8FF;
|
|
70
|
-
--secondary: #27272A;
|
|
71
|
-
--secondary-foreground: #FAFAFA;
|
|
72
|
-
--muted: #27272A;
|
|
73
|
-
--muted-foreground: #A1A1AA;
|
|
74
|
-
--accent: #27272A;
|
|
75
|
-
--accent-foreground: #FAFAFA;
|
|
76
|
-
--destructive: #F87171;
|
|
77
|
-
--border: #FFFFFF1A;
|
|
78
|
-
--input: #FFFFFF26;
|
|
79
|
-
--ring: #71717A;
|
|
80
|
-
/* chart colors won't change no definition for dark theme needed */
|
|
81
|
-
--sidebar: #18181B;
|
|
82
|
-
--sidebar-foreground: #FAFAFA;
|
|
83
|
-
--sidebar-primary: #2B7FFF;
|
|
84
|
-
--sidebar-primary-foreground: #F8F8FF;
|
|
85
|
-
--sidebar-accent: #27272A;
|
|
86
|
-
--sidebar-accent-foreground: #FAFAFA;
|
|
87
|
-
--sidebar-border: #FFFFFF1A;
|
|
88
|
-
--sidebar-ring: #52525B;
|
|
89
|
-
|
|
90
|
-
/* additional theme colors */
|
|
91
|
-
--discreet-border: #3f4143;
|
|
6
|
+
--background: hsl(0 0% 100%);
|
|
7
|
+
--foreground: hsl(0 0% 20%);
|
|
8
|
+
--card: hsl(0 0% 100%);
|
|
9
|
+
--card-foreground: hsl(0 0% 20%);
|
|
10
|
+
--popover: hsl(0 0% 100%);
|
|
11
|
+
--popover-foreground: hsl(0 0% 20%);
|
|
12
|
+
--primary: hsl(217.2193 91.2195% 59.8039%);
|
|
13
|
+
--primary-foreground: hsl(0 0% 100%);
|
|
14
|
+
--secondary: hsl(220 14.2857% 95.8824%);
|
|
15
|
+
--secondary-foreground: hsl(215 13.7931% 34.1176%);
|
|
16
|
+
--muted: hsl(210 20% 98.0392%);
|
|
17
|
+
--muted-foreground: hsl(220 8.9362% 46.0784%);
|
|
18
|
+
--accent: hsl(204 93.75% 93.7255%);
|
|
19
|
+
--accent-foreground: hsl(224.4444 64.2857% 32.9412%);
|
|
20
|
+
--destructive: hsl(0 84.2365% 60.1961%);
|
|
21
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
22
|
+
--border: hsl(220 13.0435% 90.9804%);
|
|
23
|
+
--input: hsl(220 13.0435% 90.9804%);
|
|
24
|
+
--ring: hsl(217.2193 91.2195% 59.8039%);
|
|
25
|
+
--chart-1: hsl(217.2193 91.2195% 59.8039%);
|
|
26
|
+
--chart-2: hsl(221.2121 83.1933% 53.3333%);
|
|
27
|
+
--chart-3: hsl(224.2781 76.3265% 48.0392%);
|
|
28
|
+
--chart-4: hsl(225.931 70.7317% 40.1961%);
|
|
29
|
+
--chart-5: hsl(224.4444 64.2857% 32.9412%);
|
|
30
|
+
--sidebar: hsl(210 20% 98.0392%);
|
|
31
|
+
--sidebar-foreground: hsl(0 0% 20%);
|
|
32
|
+
--sidebar-primary: hsl(217.2193 91.2195% 59.8039%);
|
|
33
|
+
--sidebar-primary-foreground: hsl(0 0% 100%);
|
|
34
|
+
--sidebar-accent: hsl(204 93.75% 93.7255%);
|
|
35
|
+
--sidebar-accent-foreground: hsl(224.4444 64.2857% 32.9412%);
|
|
36
|
+
--sidebar-border: hsl(220 13.0435% 90.9804%);
|
|
37
|
+
--sidebar-ring: hsl(217.2193 91.2195% 59.8039%);
|
|
38
|
+
--font-sans: Inter, sans-serif;
|
|
39
|
+
--font-serif: Source Serif 4, serif;
|
|
40
|
+
--font-mono: JetBrains Mono, monospace;
|
|
41
|
+
--radius: 0.375rem;
|
|
42
|
+
--shadow-x: 0;
|
|
43
|
+
--shadow-y: 1px;
|
|
44
|
+
--shadow-blur: 3px;
|
|
45
|
+
--shadow-spread: 0px;
|
|
46
|
+
--shadow-opacity: 0.1;
|
|
47
|
+
--shadow-color: oklch(0 0 0);
|
|
48
|
+
--shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
49
|
+
--shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
50
|
+
--shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
51
|
+
--shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
52
|
+
--shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
|
|
53
|
+
--shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
|
|
54
|
+
--shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
|
|
55
|
+
--shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);
|
|
56
|
+
--tracking-normal: 0em;
|
|
57
|
+
--spacing: 0.25rem;
|
|
92
58
|
}
|
|
93
59
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
* @see: https://tailwindcss.com/docs/theme#theme-variable-namespaces
|
|
97
|
-
* @see: defaults: https://tailwindcss.com/docs/theme#default-theme-variable-reference
|
|
98
|
-
* @see: usage of utility classes: https://tailwindcss.com/docs/styling-with-utility-classes
|
|
99
|
-
*/
|
|
100
|
-
@theme inline {
|
|
101
|
-
--font-sans: Helvetica, sans-serif;
|
|
102
|
-
|
|
103
|
-
/* table content and other space relevant text */
|
|
104
|
-
--text-sm: 11px;
|
|
105
|
-
--text-sm--line-height: 16px;
|
|
106
|
-
/* 12px (header buttons, dropdowns, menus) */
|
|
107
|
-
--text-base: 12px;
|
|
108
|
-
--text-base--line-height: 16px;
|
|
109
|
-
/* 14px (H3, tab nav menu, news copy) */
|
|
110
|
-
--text-lg: 14px;
|
|
111
|
-
--text-lg--line-height: 20px;
|
|
112
|
-
/* 16px (H2) */
|
|
113
|
-
--text-xl: 16px;
|
|
114
|
-
--text-xl--line-height: 24px;
|
|
115
|
-
/* 24px (H1, large value texts) */
|
|
116
|
-
--text-2xl: 24px;
|
|
117
|
-
--text-2xl--line-height: 32px;
|
|
118
|
-
|
|
119
|
-
/*--radius-xs: calc(var(--radius) - 4px);
|
|
120
|
-
--radius-sm: calc(var(--radius) - 2px);
|
|
121
|
-
--radius-md: var(--radius);
|
|
122
|
-
--radius-lg: calc(var(--radius) + 2px);
|
|
123
|
-
--radius-xl: calc(var(--radius) + 4px);
|
|
124
|
-
--radius-2xl: calc(var(--radius) + 6px);
|
|
125
|
-
!*probably not needed*!
|
|
126
|
-
--radius-3xl: calc(var(--radius) + 10px);
|
|
127
|
-
--radius-4xl: calc(var(--radius) + 16px);*/
|
|
128
|
-
|
|
129
|
-
/* Colors */
|
|
130
|
-
--color-background: var(--background);
|
|
131
|
-
--color-foreground: var(--foreground);
|
|
132
|
-
--color-card: var(--card);
|
|
133
|
-
--color-card-foreground: var(--card-foreground);
|
|
134
|
-
--color-popover: var(--popover);
|
|
135
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
136
|
-
--color-primary: var(--primary);
|
|
137
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
138
|
-
--color-secondary: var(--secondary);
|
|
139
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
140
|
-
--color-muted: var(--muted);
|
|
141
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
142
|
-
--color-accent: var(--accent);
|
|
143
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
144
|
-
--color-destructive: var(--destructive);
|
|
145
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
146
|
-
--color-border: var(--border);
|
|
147
|
-
--color-input: var(--input);
|
|
148
|
-
--color-ring: var(--ring);
|
|
149
|
-
--color-chart-1: var(--chart-1);
|
|
150
|
-
--color-chart-2: var(--chart-2);
|
|
151
|
-
--color-chart-3: var(--chart-3);
|
|
152
|
-
--color-chart-4: var(--chart-4);
|
|
153
|
-
--color-chart-5: var(--chart-5);
|
|
154
|
-
--color-sidebar: var(--sidebar);
|
|
155
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
156
|
-
--color-sidebar-background: light-dark(var(--color-gray-50), var(--color-gray-500));
|
|
157
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
158
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
159
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
160
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
161
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
162
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
@layer components {
|
|
166
|
-
h1 {
|
|
167
|
-
font-size: var(--text-2xl);
|
|
168
|
-
line-height: var(--text-2xl--line-height);
|
|
169
|
-
font-weight: var(--font-weight-semibold);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
h2 {
|
|
173
|
-
font-size: var(--text-xl);
|
|
174
|
-
line-height: var(--text-xl--line-height);
|
|
175
|
-
font-weight: var(--font-weight-semibold);
|
|
176
|
-
}
|
|
60
|
+
html.default.dark {
|
|
61
|
+
--color-scheme: dark;
|
|
177
62
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
63
|
+
--background: hsl(0 0% 9.0196%);
|
|
64
|
+
--foreground: hsl(0 0% 89.8039%);
|
|
65
|
+
--card: hsl(0 0% 14.902%);
|
|
66
|
+
--card-foreground: hsl(0 0% 89.8039%);
|
|
67
|
+
--popover: hsl(0 0% 14.902%);
|
|
68
|
+
--popover-foreground: hsl(0 0% 89.8039%);
|
|
69
|
+
--primary: hsl(217.2193 91.2195% 59.8039%);
|
|
70
|
+
--primary-foreground: hsl(0 0% 100%);
|
|
71
|
+
--secondary: hsl(0 0% 14.902%);
|
|
72
|
+
--secondary-foreground: hsl(0 0% 89.8039%);
|
|
73
|
+
--muted: hsl(0 0% 12.1569%);
|
|
74
|
+
--muted-foreground: hsl(0 0% 63.9216%);
|
|
75
|
+
--accent: hsl(224.4444 64.2857% 32.9412%);
|
|
76
|
+
--accent-foreground: hsl(213.3333 96.9231% 87.2549%);
|
|
77
|
+
--destructive: hsl(0 84.2365% 60.1961%);
|
|
78
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
79
|
+
--border: hsl(0 0% 25.098%);
|
|
80
|
+
--input: hsl(0 0% 25.098%);
|
|
81
|
+
--ring: hsl(217.2193 91.2195% 59.8039%);
|
|
82
|
+
--chart-1: hsl(213.1169 93.9024% 67.8431%);
|
|
83
|
+
--chart-2: hsl(217.2193 91.2195% 59.8039%);
|
|
84
|
+
--chart-3: hsl(221.2121 83.1933% 53.3333%);
|
|
85
|
+
--chart-4: hsl(224.2781 76.3265% 48.0392%);
|
|
86
|
+
--chart-5: hsl(225.931 70.7317% 40.1961%);
|
|
87
|
+
--sidebar: hsl(0 0% 9.0196%);
|
|
88
|
+
--sidebar-foreground: hsl(0 0% 89.8039%);
|
|
89
|
+
--sidebar-primary: hsl(217.2193 91.2195% 59.8039%);
|
|
90
|
+
--sidebar-primary-foreground: hsl(0 0% 100%);
|
|
91
|
+
--sidebar-accent: hsl(224.4444 64.2857% 32.9412%);
|
|
92
|
+
--sidebar-accent-foreground: hsl(213.3333 96.9231% 87.2549%);
|
|
93
|
+
--sidebar-border: hsl(0 0% 25.098%);
|
|
94
|
+
--sidebar-ring: hsl(217.2193 91.2195% 59.8039%);
|
|
95
|
+
--font-sans: Inter, sans-serif;
|
|
96
|
+
--font-serif: Source Serif 4, serif;
|
|
97
|
+
--font-mono: JetBrains Mono, monospace;
|
|
98
|
+
--radius: 0.375rem;
|
|
99
|
+
--shadow-x: 0;
|
|
100
|
+
--shadow-y: 1px;
|
|
101
|
+
--shadow-blur: 3px;
|
|
102
|
+
--shadow-spread: 0px;
|
|
103
|
+
--shadow-opacity: 0.1;
|
|
104
|
+
--shadow-color: oklch(0 0 0);
|
|
105
|
+
--shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
106
|
+
--shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
107
|
+
--shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
108
|
+
--shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
109
|
+
--shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
|
|
110
|
+
--shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
|
|
111
|
+
--shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
|
|
112
|
+
--shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);
|
|
183
113
|
}
|
package/package.json
CHANGED