create-nextjs-cms 0.5.23 → 0.5.25
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.js +11 -0
- package/package.json +6 -8
- package/templates/default/components/NewPage.tsx +2 -2
- package/templates/default/components/ProgressBar.tsx +46 -22
- package/templates/default/components/form/DateRangeFormInput.tsx +8 -6
- package/templates/default/components/form/helpers/_section-hot-reload.js +1 -1
- package/templates/default/components/form/inputs/DateFormInput.tsx +82 -34
- package/templates/default/components/form/inputs/MultipleSelectFormInput.tsx +40 -107
- package/templates/default/components/form/inputs/RichTextFormInput.tsx +2 -0
- package/templates/default/components/form/inputs/TagsFormInput.tsx +115 -26
- package/templates/default/components/form/inputs/TextFormInput.tsx +1 -1
- package/templates/default/components/multi-select.tsx +1144 -0
- package/templates/default/components/ui/badge.tsx +16 -12
- package/templates/default/components/ui/button.tsx +35 -30
- package/templates/default/components/ui/calendar.tsx +145 -47
- package/templates/default/components/ui/command.tsx +184 -0
- package/templates/default/components/ui/dialog.tsx +143 -0
- package/templates/default/components/ui/popover.tsx +39 -22
- package/templates/default/components/ui/progress.tsx +31 -0
- package/templates/default/components/ui/select.tsx +150 -149
- package/templates/default/components/ui/separator.tsx +28 -0
- package/templates/default/components.json +8 -3
- package/templates/default/{postinstall.js → lib/postinstall.js} +1 -1
- package/templates/default/lib/utils.ts +6 -0
- package/templates/default/{proxy.ts → middleware.ts} +3 -2
- package/templates/default/next-env.d.ts +1 -1
- package/templates/default/package.json +41 -53
- package/templates/default/public/tinymce/CHANGELOG.md +155 -0
- package/templates/default/public/tinymce/README.md +12 -12
- package/templates/default/public/tinymce/bower.json +1 -1
- package/templates/default/public/tinymce/composer.json +2 -2
- package/templates/default/public/tinymce/icons/default/icons.js +40 -32
- package/templates/default/public/tinymce/icons/default/icons.min.js +1 -1
- package/templates/default/public/tinymce/license.md +7 -4
- package/templates/default/public/tinymce/models/dom/model.js +36 -50
- package/templates/default/public/tinymce/models/dom/model.min.js +1 -1
- package/templates/default/public/tinymce/notices.txt +2 -2
- package/templates/default/public/tinymce/package.json +2 -2
- package/templates/default/public/tinymce/plugins/accordion/plugin.js +45 -21
- package/templates/default/public/tinymce/plugins/accordion/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/advlist/plugin.js +8 -6
- package/templates/default/public/tinymce/plugins/advlist/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/anchor/plugin.js +1 -1
- package/templates/default/public/tinymce/plugins/autolink/plugin.js +3 -6
- package/templates/default/public/tinymce/plugins/autolink/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/autoresize/plugin.js +4 -6
- package/templates/default/public/tinymce/plugins/autoresize/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/autosave/plugin.js +4 -7
- package/templates/default/public/tinymce/plugins/autosave/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/charmap/plugin.js +8 -8
- package/templates/default/public/tinymce/plugins/charmap/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/code/plugin.js +3 -2
- package/templates/default/public/tinymce/plugins/code/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/codesample/plugin.js +11 -10
- package/templates/default/public/tinymce/plugins/codesample/plugin.min.js +2 -2
- package/templates/default/public/tinymce/plugins/directionality/plugin.js +9 -11
- package/templates/default/public/tinymce/plugins/directionality/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/emoticons/plugin.js +7 -7
- package/templates/default/public/tinymce/plugins/emoticons/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/fullscreen/plugin.js +11 -13
- package/templates/default/public/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/bg-BG.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/fr-FR.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/he-IL.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/hu-HU.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/ko-KR.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/nb-NO.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/pt-BR.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/pt-PT.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/sl-SI.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/sv-SE.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/th-TH.js +93 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/zh-CN.js +87 -0
- package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/zh-TW.js +93 -0
- package/templates/default/public/tinymce/plugins/help/plugin.js +15 -17
- package/templates/default/public/tinymce/plugins/help/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/image/plugin.js +34 -32
- package/templates/default/public/tinymce/plugins/image/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/importcss/plugin.js +4 -6
- package/templates/default/public/tinymce/plugins/importcss/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/insertdatetime/plugin.js +4 -3
- package/templates/default/public/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/link/plugin.js +170 -38
- package/templates/default/public/tinymce/plugins/link/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/lists/plugin.js +111 -2053
- package/templates/default/public/tinymce/plugins/lists/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/media/plugin.js +15 -23
- package/templates/default/public/tinymce/plugins/media/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/nonbreaking/plugin.js +1 -1
- package/templates/default/public/tinymce/plugins/pagebreak/plugin.js +1 -1
- package/templates/default/public/tinymce/plugins/preview/plugin.js +88 -10
- package/templates/default/public/tinymce/plugins/preview/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/quickbars/plugin.js +9 -9
- package/templates/default/public/tinymce/plugins/quickbars/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/save/plugin.js +1 -1
- package/templates/default/public/tinymce/plugins/searchreplace/plugin.js +10 -13
- package/templates/default/public/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/table/plugin.js +13 -24
- package/templates/default/public/tinymce/plugins/table/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/visualblocks/plugin.js +1 -1
- package/templates/default/public/tinymce/plugins/visualchars/plugin.js +9 -10
- package/templates/default/public/tinymce/plugins/visualchars/plugin.min.js +1 -1
- package/templates/default/public/tinymce/plugins/wordcount/plugin.js +1 -1
- package/templates/default/public/tinymce/skins/content/dark/content.min.ts +3 -0
- package/templates/default/public/tinymce/skins/content/dark/content.ts +3 -0
- package/templates/default/public/tinymce/skins/content/default/content.min.ts +3 -0
- package/templates/default/public/tinymce/skins/content/default/content.ts +3 -0
- package/templates/default/public/tinymce/skins/content/document/content.min.ts +3 -0
- package/templates/default/public/tinymce/skins/content/document/content.ts +3 -0
- package/templates/default/public/tinymce/skins/content/tinymce-5/content.min.ts +3 -0
- package/templates/default/public/tinymce/skins/content/tinymce-5/content.ts +3 -0
- package/templates/default/public/tinymce/skins/content/tinymce-5-dark/content.min.ts +3 -0
- package/templates/default/public/tinymce/skins/content/tinymce-5-dark/content.ts +3 -0
- package/templates/default/public/tinymce/skins/content/writer/content.min.ts +3 -0
- package/templates/default/public/tinymce/skins/content/writer/content.ts +3 -0
- package/templates/default/public/tinymce/skins/ui/oxide/content.css +144 -0
- package/templates/default/public/tinymce/skins/ui/oxide/content.inline.css +144 -0
- package/templates/default/public/tinymce/skins/ui/oxide/content.inline.js +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide/content.inline.min.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/oxide/content.inline.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/oxide/content.js +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide/content.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide/content.min.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/oxide/content.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/oxide/skin.css +923 -449
- package/templates/default/public/tinymce/skins/ui/oxide/skin.js +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide/skin.min.ts +507 -0
- package/templates/default/public/tinymce/skins/ui/oxide/skin.shadowdom.min.ts +9 -0
- package/templates/default/public/tinymce/skins/ui/oxide/skin.shadowdom.ts +9 -0
- package/templates/default/public/tinymce/skins/ui/oxide/skin.ts +507 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.css +144 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.css +144 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.js +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.min.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.js +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.min.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/content.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.css +926 -452
- package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.js +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.min.ts +507 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.ts +9 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.ts +9 -0
- package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.ts +507 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.css +144 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.css +144 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.js +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.min.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.js +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.min.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/content.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.css +924 -450
- package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.js +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.min.ts +508 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.ts +9 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.shadowdom.ts +9 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.ts +508 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.css +144 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.css +144 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.js +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.min.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.js +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.min.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.ts +116 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.css +925 -451
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.js +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.min.ts +508 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.ts +9 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.ts +9 -0
- package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.ts +508 -0
- package/templates/default/public/tinymce/themes/silver/theme.js +543 -593
- package/templates/default/public/tinymce/themes/silver/theme.min.js +1 -1
- package/templates/default/public/tinymce/tinymce.d.ts +559 -496
- package/templates/default/public/tinymce/tinymce.js +6788 -3964
- package/templates/default/public/tinymce/tinymce.min.js +3 -4
- package/templates/default/styles/globals.css +132 -107
- package/templates/default/tsconfig.json +45 -45
- package/templates/default/.prettierrc.json +0 -19
- package/templates/default/eslint.config.mjs +0 -38
|
@@ -1,110 +1,110 @@
|
|
|
1
|
-
@import 'tailwindcss';
|
|
2
|
-
|
|
3
|
-
@plugin 'tailwindcss-animate';
|
|
4
|
-
|
|
5
|
-
@custom-variant dark (&:is(.dark *));
|
|
6
|
-
|
|
7
|
-
@utility container {
|
|
8
|
-
margin-inline: auto;
|
|
9
|
-
padding-inline: 2rem;
|
|
10
|
-
@media (width >= --theme(--breakpoint-sm-sidebar)) {
|
|
11
|
-
max-width: none;
|
|
12
|
-
}
|
|
13
|
-
@media (width >= 1400px) {
|
|
14
|
-
max-width: 1400px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@theme {
|
|
19
|
-
--breakpoint-sm-sidebar: 768px;
|
|
20
|
-
--breakpoint-md-sidebar: 1024px;
|
|
21
|
-
--breakpoint-lg-sidebar: 1280px;
|
|
22
|
-
--breakpoint-xl-sidebar: 1536px;
|
|
23
|
-
--breakpoint-2xl-sidebar: 1920px;
|
|
24
|
-
|
|
25
|
-
--font-sans:
|
|
26
|
-
var(--font-sans), ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
|
|
27
|
-
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
28
|
-
|
|
29
|
-
--color-border: hsl(var(--border));
|
|
30
|
-
--color-input: hsl(var(--input));
|
|
31
|
-
--color-ring: hsl(var(--ring));
|
|
32
|
-
--color-background: hsl(var(--background));
|
|
33
|
-
--color-foreground: hsl(var(--foreground));
|
|
34
|
-
|
|
35
|
-
--color-primary: hsl(var(--primary));
|
|
36
|
-
--color-primary-foreground: hsl(var(--primary-foreground));
|
|
37
|
-
|
|
38
|
-
--color-secondary: hsl(var(--secondary));
|
|
39
|
-
--color-secondary-foreground: hsl(var(--secondary-foreground));
|
|
40
|
-
|
|
41
|
-
--color-success: hsl(var(--success));
|
|
42
|
-
--color-success-foreground: hsl(var(--success-foreground));
|
|
43
|
-
|
|
44
|
-
--color-warning: hsl(var(--warning));
|
|
45
|
-
--color-warning-foreground: hsl(var(--warning-foreground));
|
|
46
|
-
|
|
47
|
-
--color-destructive: hsl(var(--destructive));
|
|
48
|
-
--color-destructive-foreground: hsl(var(--destructive-foreground));
|
|
49
|
-
|
|
50
|
-
--color-muted: hsl(var(--muted));
|
|
51
|
-
--color-muted-foreground: hsl(var(--muted-foreground));
|
|
52
|
-
|
|
53
|
-
--color-accent: hsl(var(--accent));
|
|
54
|
-
--color-accent-foreground: hsl(var(--accent-foreground));
|
|
55
|
-
|
|
56
|
-
--color-popover: hsl(var(--popover));
|
|
57
|
-
--color-popover-foreground: hsl(var(--popover-foreground));
|
|
58
|
-
|
|
59
|
-
--color-card: hsl(var(--card));
|
|
60
|
-
--color-card-foreground: hsl(var(--card-foreground));
|
|
61
|
-
|
|
62
|
-
--color-disabled: hsl(var(--disabled));
|
|
63
|
-
--color-disabled-foreground: hsl(var(--disabled-foreground));
|
|
64
|
-
|
|
65
|
-
--radius-lg: var(--radius);
|
|
66
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
67
|
-
--radius-sm: calc(var(--radius) - 4px);
|
|
68
|
-
|
|
69
|
-
--animate-accordion-down: accordion-down 0.2s ease-out;
|
|
70
|
-
--animate-accordion-up: accordion-up 0.2s ease-out;
|
|
71
|
-
|
|
72
|
-
@keyframes accordion-down {
|
|
73
|
-
from {
|
|
74
|
-
height: 0;
|
|
75
|
-
}
|
|
76
|
-
to {
|
|
77
|
-
height: var(--radix-accordion-content-height);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
@keyframes accordion-up {
|
|
81
|
-
from {
|
|
82
|
-
height: var(--radix-accordion-content-height);
|
|
83
|
-
}
|
|
84
|
-
to {
|
|
85
|
-
height: 0;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/*
|
|
91
|
-
The default border color has changed to `currentcolor` in Tailwind CSS v4,
|
|
92
|
-
so we've added these compatibility styles to make sure everything still
|
|
93
|
-
looks the same as it did with Tailwind CSS v3.
|
|
94
|
-
|
|
95
|
-
If we ever want to remove these styles, we need to add an explicit border
|
|
96
|
-
color utility to any element that depends on these defaults.
|
|
97
|
-
*/
|
|
98
|
-
@layer base {
|
|
99
|
-
*,
|
|
100
|
-
::after,
|
|
101
|
-
::before,
|
|
102
|
-
::backdrop,
|
|
103
|
-
::file-selector-button {
|
|
104
|
-
border-color: var(--color-gray-200, currentcolor);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
1
|
+
@import 'tailwindcss';
|
|
2
|
+
|
|
3
|
+
@plugin 'tailwindcss-animate';
|
|
4
|
+
|
|
5
|
+
@custom-variant dark (&:is(.dark *));
|
|
6
|
+
|
|
7
|
+
@utility container {
|
|
8
|
+
margin-inline: auto;
|
|
9
|
+
padding-inline: 2rem;
|
|
10
|
+
@media (width >= --theme(--breakpoint-sm-sidebar)) {
|
|
11
|
+
max-width: none;
|
|
12
|
+
}
|
|
13
|
+
@media (width >= 1400px) {
|
|
14
|
+
max-width: 1400px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@theme {
|
|
19
|
+
--breakpoint-sm-sidebar: 768px;
|
|
20
|
+
--breakpoint-md-sidebar: 1024px;
|
|
21
|
+
--breakpoint-lg-sidebar: 1280px;
|
|
22
|
+
--breakpoint-xl-sidebar: 1536px;
|
|
23
|
+
--breakpoint-2xl-sidebar: 1920px;
|
|
24
|
+
|
|
25
|
+
--font-sans:
|
|
26
|
+
var(--font-sans), ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
|
|
27
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
28
|
+
|
|
29
|
+
--color-border: hsl(var(--border));
|
|
30
|
+
--color-input: hsl(var(--input));
|
|
31
|
+
--color-ring: hsl(var(--ring));
|
|
32
|
+
--color-background: hsl(var(--background));
|
|
33
|
+
--color-foreground: hsl(var(--foreground));
|
|
34
|
+
|
|
35
|
+
--color-primary: hsl(var(--primary));
|
|
36
|
+
--color-primary-foreground: hsl(var(--primary-foreground));
|
|
37
|
+
|
|
38
|
+
--color-secondary: hsl(var(--secondary));
|
|
39
|
+
--color-secondary-foreground: hsl(var(--secondary-foreground));
|
|
40
|
+
|
|
41
|
+
--color-success: hsl(var(--success));
|
|
42
|
+
--color-success-foreground: hsl(var(--success-foreground));
|
|
43
|
+
|
|
44
|
+
--color-warning: hsl(var(--warning));
|
|
45
|
+
--color-warning-foreground: hsl(var(--warning-foreground));
|
|
46
|
+
|
|
47
|
+
--color-destructive: hsl(var(--destructive));
|
|
48
|
+
--color-destructive-foreground: hsl(var(--destructive-foreground));
|
|
49
|
+
|
|
50
|
+
--color-muted: hsl(var(--muted));
|
|
51
|
+
--color-muted-foreground: hsl(var(--muted-foreground));
|
|
52
|
+
|
|
53
|
+
--color-accent: hsl(var(--accent));
|
|
54
|
+
--color-accent-foreground: hsl(var(--accent-foreground));
|
|
55
|
+
|
|
56
|
+
--color-popover: hsl(var(--popover));
|
|
57
|
+
--color-popover-foreground: hsl(var(--popover-foreground));
|
|
58
|
+
|
|
59
|
+
--color-card: hsl(var(--card));
|
|
60
|
+
--color-card-foreground: hsl(var(--card-foreground));
|
|
61
|
+
|
|
62
|
+
--color-disabled: hsl(var(--disabled));
|
|
63
|
+
--color-disabled-foreground: hsl(var(--disabled-foreground));
|
|
64
|
+
|
|
65
|
+
--radius-lg: var(--radius);
|
|
66
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
67
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
68
|
+
|
|
69
|
+
--animate-accordion-down: accordion-down 0.2s ease-out;
|
|
70
|
+
--animate-accordion-up: accordion-up 0.2s ease-out;
|
|
71
|
+
|
|
72
|
+
@keyframes accordion-down {
|
|
73
|
+
from {
|
|
74
|
+
height: 0;
|
|
75
|
+
}
|
|
76
|
+
to {
|
|
77
|
+
height: var(--radix-accordion-content-height);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
@keyframes accordion-up {
|
|
81
|
+
from {
|
|
82
|
+
height: var(--radix-accordion-content-height);
|
|
83
|
+
}
|
|
84
|
+
to {
|
|
85
|
+
height: 0;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/*
|
|
91
|
+
The default border color has changed to `currentcolor` in Tailwind CSS v4,
|
|
92
|
+
so we've added these compatibility styles to make sure everything still
|
|
93
|
+
looks the same as it did with Tailwind CSS v3.
|
|
94
|
+
|
|
95
|
+
If we ever want to remove these styles, we need to add an explicit border
|
|
96
|
+
color utility to any element that depends on these defaults.
|
|
97
|
+
*/
|
|
98
|
+
@layer base {
|
|
99
|
+
*,
|
|
100
|
+
::after,
|
|
101
|
+
::before,
|
|
102
|
+
::backdrop,
|
|
103
|
+
::file-selector-button {
|
|
104
|
+
border-color: var(--color-gray-200, currentcolor);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
108
|
@layer base {
|
|
109
109
|
:root {
|
|
110
110
|
--background: 0 0% 100%;
|
|
@@ -188,4 +188,29 @@
|
|
|
188
188
|
body {
|
|
189
189
|
@apply bg-background text-foreground;
|
|
190
190
|
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* Progress bar indeterminate animation */
|
|
194
|
+
@keyframes progress-indeterminate {
|
|
195
|
+
0% {
|
|
196
|
+
transform: translateX(-100%);
|
|
197
|
+
}
|
|
198
|
+
50% {
|
|
199
|
+
transform: translateX(400%);
|
|
200
|
+
}
|
|
201
|
+
100% {
|
|
202
|
+
transform: translateX(-100%);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* Custom progress bar styling to match Material-UI appearance */
|
|
207
|
+
.progress-bar-custom [data-slot="progress"] {
|
|
208
|
+
background-color: var(--progress-bg, #eeeeee) !important;
|
|
209
|
+
border-radius: 5px !important;
|
|
210
|
+
height: 10px !important;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.progress-bar-custom [data-slot="progress-indicator"] {
|
|
214
|
+
background-color: var(--progress-fg, #1a90ff) !important;
|
|
215
|
+
border-radius: 5px !important;
|
|
191
216
|
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
"dom
|
|
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
|
-
".next/
|
|
41
|
-
|
|
42
|
-
"exclude": [
|
|
43
|
-
"node_modules"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"baseUrl": ".",
|
|
4
|
+
"target": "ES2020",
|
|
5
|
+
"lib": [
|
|
6
|
+
"dom",
|
|
7
|
+
"dom.iterable",
|
|
8
|
+
"esnext"
|
|
9
|
+
],
|
|
10
|
+
"allowJs": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"strict": true,
|
|
13
|
+
"strictNullChecks": true,
|
|
14
|
+
"noEmit": true,
|
|
15
|
+
"esModuleInterop": true,
|
|
16
|
+
"forceConsistentCasingInFileNames": true,
|
|
17
|
+
"module": "esnext",
|
|
18
|
+
"moduleResolution": "bundler",
|
|
19
|
+
"resolveJsonModule": true,
|
|
20
|
+
"isolatedModules": true,
|
|
21
|
+
"noImplicitOverride": true,
|
|
22
|
+
"noUncheckedIndexedAccess": true,
|
|
23
|
+
"jsx": "preserve",
|
|
24
|
+
"plugins": [
|
|
25
|
+
{
|
|
26
|
+
"name": "next"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"paths": {
|
|
30
|
+
"@/*": [
|
|
31
|
+
"./*"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"incremental": true
|
|
35
|
+
},
|
|
36
|
+
"include": [
|
|
37
|
+
"next-env.d.ts",
|
|
38
|
+
"**/*.ts",
|
|
39
|
+
"**/*.tsx",
|
|
40
|
+
".next/types/**/*.ts"
|
|
41
|
+
],
|
|
42
|
+
"exclude": [
|
|
43
|
+
"node_modules"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"arrowParens": "always",
|
|
3
|
-
"bracketSpacing": true,
|
|
4
|
-
"embeddedLanguageFormatting": "auto",
|
|
5
|
-
"htmlWhitespaceSensitivity": "css",
|
|
6
|
-
"insertPragma": false,
|
|
7
|
-
"jsxSingleQuote": true,
|
|
8
|
-
"printWidth": 120,
|
|
9
|
-
"proseWrap": "preserve",
|
|
10
|
-
"quoteProps": "as-needed",
|
|
11
|
-
"requirePragma": false,
|
|
12
|
-
"semi": false,
|
|
13
|
-
"singleQuote": true,
|
|
14
|
-
"tabWidth": 4,
|
|
15
|
-
"trailingComma": "all",
|
|
16
|
-
"useTabs": false,
|
|
17
|
-
"vueIndentScriptAndStyle": false,
|
|
18
|
-
"plugins": ["prettier-plugin-tailwindcss"]
|
|
19
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "eslint/config";
|
|
2
|
-
import next from "eslint-config-next";
|
|
3
|
-
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
|
|
4
|
-
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
|
5
|
-
import prettier from "eslint-plugin-prettier";
|
|
6
|
-
import drizzle from "eslint-plugin-drizzle";
|
|
7
|
-
import tsParser from "@typescript-eslint/parser";
|
|
8
|
-
import path from "node:path";
|
|
9
|
-
import { fileURLToPath } from "node:url";
|
|
10
|
-
import js from "@eslint/js";
|
|
11
|
-
import { FlatCompat } from "@eslint/eslintrc";
|
|
12
|
-
|
|
13
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
14
|
-
const __dirname = path.dirname(__filename);
|
|
15
|
-
const compat = new FlatCompat({
|
|
16
|
-
baseDirectory: __dirname,
|
|
17
|
-
recommendedConfig: js.configs.recommended,
|
|
18
|
-
allConfig: js.configs.all
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
export default defineConfig([{
|
|
22
|
-
extends: [
|
|
23
|
-
...nextCoreWebVitals,
|
|
24
|
-
...compat.extends("prettier"),
|
|
25
|
-
...next,
|
|
26
|
-
...compat.extends("plugin:drizzle/recommended")
|
|
27
|
-
],
|
|
28
|
-
|
|
29
|
-
plugins: {
|
|
30
|
-
"@typescript-eslint": typescriptEslint,
|
|
31
|
-
prettier,
|
|
32
|
-
drizzle,
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
languageOptions: {
|
|
36
|
-
parser: tsParser,
|
|
37
|
-
},
|
|
38
|
-
}]);
|