@solidstarters/create-solid-app 1.2.12 → 1.2.14
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/helpers.js +7 -8
- package/index.js +21 -5
- package/package.json +1 -1
- package/templates/nest-template/package-lock.json +121 -8
- package/templates/nest-template/package.json +2 -2
- package/templates/nest-template/refresh.bat +15 -0
- package/templates/nest-template/src/main-cli.ts +22 -3
- package/templates/next-template/app/admin/core/[moduleName]/[modelName]/form/[id]/page.tsx +4 -79
- package/templates/next-template/app/admin/core/[moduleName]/[modelName]/kanban/page.tsx +1 -6
- package/templates/next-template/app/admin/core/[moduleName]/[modelName]/list/page.tsx +1 -6
- package/templates/next-template/app/admin/layout.tsx +5 -54
- package/templates/next-template/app/admin/page.tsx +3 -4
- package/templates/next-template/app/admin/settings/app-settings/page.tsx +11 -0
- package/templates/next-template/app/admin/settings/authentication-settings/page.tsx +10 -0
- package/templates/next-template/app/admin/settings/misc-settings/page.tsx +10 -0
- package/templates/next-template/app/api/auth/[...nextauth]/route.ts +3 -217
- package/templates/next-template/app/auth/confirm-forgot-password/page.tsx +1 -6
- package/templates/next-template/app/auth/initiate-forgot-password-thank-you/page.tsx +2 -37
- package/templates/next-template/app/auth/initiate-google-oauth/page.tsx +9 -0
- package/templates/next-template/app/auth/initiate-login/page.tsx +13 -0
- package/templates/next-template/app/auth/initiate-register/page.tsx +14 -0
- package/templates/next-template/app/auth/layout.tsx +6 -125
- package/templates/next-template/app/globals.css +277 -29
- package/templates/next-template/app/layout.tsx +4 -5
- package/templates/next-template/app/solid-global.css +2 -0
- package/templates/next-template/next-env.d.ts +1 -1
- package/templates/next-template/package-lock.json +6 -6
- package/templates/next-template/package.json +3 -3
- package/templates/next-template/public/favicon.ico +0 -0
- package/templates/next-template/public/images/Navigation/settings.png +0 -0
- package/templates/next-template/public/styles/layout/_main.scss +23 -4
- package/templates/next-template/public/themes/solid-dark-purple/theme.css +13 -3
- package/templates/next-template/public/themes/solid-light-purple/theme.css +68 -15
- package/templates/next-template/redux/store.ts +5 -3
|
@@ -139,8 +139,12 @@
|
|
|
139
139
|
--solid-light-100: #FBFCFF;
|
|
140
140
|
--solid-grey-500: #666666;
|
|
141
141
|
--solid-form-title: #4B4D52;
|
|
142
|
+
--solid-secondary-text-color: #4B4D52;
|
|
143
|
+
--solid-title: #4B4D52;
|
|
142
144
|
--solid-primary-border: #DADCE0;
|
|
143
145
|
--solid-stepper-border: #CFD6DC;
|
|
146
|
+
--solid-setting-title: rgba(0, 0, 0, 0.88);
|
|
147
|
+
--solid-dark-title: rgba(0, 0, 0, 0.88);
|
|
144
148
|
color-scheme: light;
|
|
145
149
|
}
|
|
146
150
|
|
|
@@ -267,10 +271,18 @@
|
|
|
267
271
|
--primary-900: #260955;
|
|
268
272
|
}
|
|
269
273
|
|
|
274
|
+
.solid-primary-title {
|
|
275
|
+
color: var(--solid-title) !important;
|
|
276
|
+
}
|
|
277
|
+
|
|
270
278
|
.secondary-dark-color {
|
|
271
279
|
color: var(--secondary-dark-color) !important;
|
|
272
280
|
}
|
|
273
281
|
|
|
282
|
+
.solid-secondary-text-color{
|
|
283
|
+
color: var(--solid-secondary-text-color) !important;
|
|
284
|
+
}
|
|
285
|
+
|
|
274
286
|
.p-editor-container .p-editor-toolbar {
|
|
275
287
|
background: #f9fafb;
|
|
276
288
|
border-top-right-radius: 6px;
|
|
@@ -1177,6 +1189,10 @@
|
|
|
1177
1189
|
outline-color: transparent;
|
|
1178
1190
|
}
|
|
1179
1191
|
|
|
1192
|
+
.solid-custom-filter-wrapper .p-chips .p-chips-multiple-container {
|
|
1193
|
+
padding: 0.12rem 0.65625rem;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1180
1196
|
.p-chips .p-chips-multiple-container .p-chips-token {
|
|
1181
1197
|
padding: 0.375rem 0.75rem;
|
|
1182
1198
|
margin-right: 0.5rem;
|
|
@@ -1201,7 +1217,7 @@
|
|
|
1201
1217
|
.p-chips .p-chips-multiple-container .p-chips-input-token input {
|
|
1202
1218
|
font-family: var(--font-family);
|
|
1203
1219
|
font-feature-settings: var(--font-feature-settings, normal);
|
|
1204
|
-
font-size:
|
|
1220
|
+
font-size: 0.875rem;
|
|
1205
1221
|
color: #4b5563;
|
|
1206
1222
|
padding: 0;
|
|
1207
1223
|
margin: 0;
|
|
@@ -1685,7 +1701,7 @@
|
|
|
1685
1701
|
}
|
|
1686
1702
|
|
|
1687
1703
|
.p-inputtext.p-invalid.p-component {
|
|
1688
|
-
border-color: #e24c4c;
|
|
1704
|
+
border-color: #e24c4c !important;
|
|
1689
1705
|
}
|
|
1690
1706
|
|
|
1691
1707
|
.p-inputtext.p-variant-filled {
|
|
@@ -2855,7 +2871,7 @@
|
|
|
2855
2871
|
}
|
|
2856
2872
|
|
|
2857
2873
|
.p-button.p-button-outlined:not(:disabled):hover {
|
|
2858
|
-
background: rgba(
|
|
2874
|
+
background: rgba(100, 116, 139, 0.16);
|
|
2859
2875
|
color: #722ED1;
|
|
2860
2876
|
border: 1px solid;
|
|
2861
2877
|
}
|
|
@@ -2888,7 +2904,7 @@
|
|
|
2888
2904
|
}
|
|
2889
2905
|
|
|
2890
2906
|
.p-button.p-button-text:not(:disabled):hover {
|
|
2891
|
-
background: rgba(
|
|
2907
|
+
background: rgba(100, 116, 139, 0.16);
|
|
2892
2908
|
color: #722ED1;
|
|
2893
2909
|
border-color: transparent;
|
|
2894
2910
|
}
|
|
@@ -3101,7 +3117,7 @@
|
|
|
3101
3117
|
.p-splitbutton.p-button-secondary>.p-button.p-button-text,
|
|
3102
3118
|
.p-fileupload-choose.p-button-secondary.p-button-text {
|
|
3103
3119
|
background-color: transparent;
|
|
3104
|
-
color: #
|
|
3120
|
+
color: #4B4D52;
|
|
3105
3121
|
border-color: transparent;
|
|
3106
3122
|
}
|
|
3107
3123
|
|
|
@@ -3111,7 +3127,7 @@
|
|
|
3111
3127
|
.p-fileupload-choose.p-button-secondary.p-button-text:not(:disabled):hover {
|
|
3112
3128
|
background: rgba(100, 116, 139, 0.04);
|
|
3113
3129
|
border-color: transparent;
|
|
3114
|
-
color: #
|
|
3130
|
+
color: #4B4D52;
|
|
3115
3131
|
}
|
|
3116
3132
|
|
|
3117
3133
|
.p-button.p-button-secondary.p-button-text:not(:disabled):active,
|
|
@@ -3120,7 +3136,7 @@
|
|
|
3120
3136
|
.p-fileupload-choose.p-button-secondary.p-button-text:not(:disabled):active {
|
|
3121
3137
|
background: rgba(100, 116, 139, 0.16);
|
|
3122
3138
|
border-color: transparent;
|
|
3123
|
-
color: #
|
|
3139
|
+
color: #4B4D52;
|
|
3124
3140
|
}
|
|
3125
3141
|
|
|
3126
3142
|
.p-button.p-button-info,
|
|
@@ -3680,7 +3696,7 @@
|
|
|
3680
3696
|
}
|
|
3681
3697
|
|
|
3682
3698
|
.p-splitbutton.p-button-outlined>.p-button:not(:disabled):hover {
|
|
3683
|
-
background: rgba(
|
|
3699
|
+
background: rgba(100, 116, 139, 0.16);
|
|
3684
3700
|
color: #722ED1;
|
|
3685
3701
|
}
|
|
3686
3702
|
|
|
@@ -3711,7 +3727,7 @@
|
|
|
3711
3727
|
}
|
|
3712
3728
|
|
|
3713
3729
|
.p-splitbutton.p-button-text>.p-button:not(:disabled):hover {
|
|
3714
|
-
background: rgba(
|
|
3730
|
+
background: rgba(100, 116, 139, 0.16);
|
|
3715
3731
|
color: #722ED1;
|
|
3716
3732
|
border-color: transparent;
|
|
3717
3733
|
}
|
|
@@ -4152,7 +4168,7 @@
|
|
|
4152
4168
|
padding: 0.954rem 1rem;
|
|
4153
4169
|
border: 1px solid #CED0D6;
|
|
4154
4170
|
border-width: 1px 0 1px 0;
|
|
4155
|
-
font-weight:
|
|
4171
|
+
font-weight: 600;
|
|
4156
4172
|
color: #374151;
|
|
4157
4173
|
background: #F5F5F5;
|
|
4158
4174
|
transition: box-shadow 0.2s;
|
|
@@ -5764,7 +5780,7 @@
|
|
|
5764
5780
|
}
|
|
5765
5781
|
|
|
5766
5782
|
.p-fieldset {
|
|
5767
|
-
border: 1px solid
|
|
5783
|
+
border: 1px solid rgba(216, 226, 234, 0.40);
|
|
5768
5784
|
background: #ffffff;
|
|
5769
5785
|
color: #4b5563;
|
|
5770
5786
|
border-radius: 6px;
|
|
@@ -6141,8 +6157,17 @@
|
|
|
6141
6157
|
|
|
6142
6158
|
.p-tabview .p-tabview-nav {
|
|
6143
6159
|
/* background: #ffffff; */
|
|
6144
|
-
border: 1px solid #CED0D6;
|
|
6145
|
-
border-width: 0 0
|
|
6160
|
+
/* border: 1px solid #CED0D6; */
|
|
6161
|
+
border-width: 0 0 1px 0;
|
|
6162
|
+
}
|
|
6163
|
+
|
|
6164
|
+
.p-unselectable-text {
|
|
6165
|
+
border-bottom: 1px solid #f0f0f0;
|
|
6166
|
+
}
|
|
6167
|
+
|
|
6168
|
+
|
|
6169
|
+
.p-unselectable-text.p-tabview-selected.p-highlight {
|
|
6170
|
+
border-bottom: 2px solid var(--primary-color);
|
|
6146
6171
|
}
|
|
6147
6172
|
|
|
6148
6173
|
.p-tabview .p-tabview-nav li {
|
|
@@ -7589,6 +7614,11 @@
|
|
|
7589
7614
|
outline: 0 none;
|
|
7590
7615
|
}
|
|
7591
7616
|
|
|
7617
|
+
.p-panelmenu-header-content .menuHead:hover {
|
|
7618
|
+
background-color: #F5F5F5;
|
|
7619
|
+
border-radius: 6px;
|
|
7620
|
+
}
|
|
7621
|
+
|
|
7592
7622
|
.p-panelmenu .p-panelmenu-header .p-panelmenu-header-content {
|
|
7593
7623
|
border: 1px solid #CED0D6;
|
|
7594
7624
|
color: #6b7280;
|
|
@@ -8907,7 +8937,8 @@
|
|
|
8907
8937
|
|
|
8908
8938
|
@layer primereact {
|
|
8909
8939
|
.p-button-label {
|
|
8910
|
-
|
|
8940
|
+
/* font-weight: 700; */
|
|
8941
|
+
font-weight: 400;
|
|
8911
8942
|
}
|
|
8912
8943
|
|
|
8913
8944
|
.p-selectbutton>.p-button,
|
|
@@ -9009,7 +9040,16 @@
|
|
|
9009
9040
|
background-image: url('/images/auth/solid-login-light.png');
|
|
9010
9041
|
}
|
|
9011
9042
|
|
|
9012
|
-
.auth-container.center {
|
|
9043
|
+
/* .auth-container.center {
|
|
9044
|
+
border-radius: 1.25rem;
|
|
9045
|
+
border: 1px solid #E0E0E0;
|
|
9046
|
+
background: rgba(255, 255, 255, 0.10);
|
|
9047
|
+
box-shadow: 0px 4px 4px 0px rgba(49, 106, 215, 0.05);
|
|
9048
|
+
backdrop-filter: blur(25px);
|
|
9049
|
+
padding: 54px;
|
|
9050
|
+
} */
|
|
9051
|
+
|
|
9052
|
+
.auth-container {
|
|
9013
9053
|
border-radius: 1.25rem;
|
|
9014
9054
|
border: 1px solid #E0E0E0;
|
|
9015
9055
|
background: rgba(255, 255, 255, 0.10);
|
|
@@ -9024,8 +9064,21 @@
|
|
|
9024
9064
|
color: var(--auth-title-color);
|
|
9025
9065
|
}
|
|
9026
9066
|
|
|
9067
|
+
.solid-auth-input-label.right {
|
|
9068
|
+
color: #fff !important;
|
|
9069
|
+
}
|
|
9070
|
+
|
|
9027
9071
|
.solid-auth-subtitle,
|
|
9028
9072
|
.solid-auth-subtitle a {
|
|
9029
9073
|
color: var(--auth-subtitle-color) !important;
|
|
9030
9074
|
}
|
|
9075
|
+
|
|
9076
|
+
.solid-auth-subtitle.left,
|
|
9077
|
+
.solid-auth-subtitle.left a {
|
|
9078
|
+
color: #fff !important;
|
|
9079
|
+
}
|
|
9080
|
+
|
|
9081
|
+
.solid-custom-title {
|
|
9082
|
+
color: var(--solid-form-title);
|
|
9083
|
+
}
|
|
9031
9084
|
}
|
|
@@ -19,7 +19,7 @@ import { popupReducer } from '@solidstarters/solid-core-ui';
|
|
|
19
19
|
import { themeReducer } from '@solidstarters/solid-core-ui';
|
|
20
20
|
import { userReducer } from "@solidstarters/solid-core-ui";
|
|
21
21
|
import { solidSettingsApi } from "@solidstarters/solid-core-ui";
|
|
22
|
-
|
|
22
|
+
import { roleApi } from "@solidstarters/solid-core-ui";
|
|
23
23
|
export function initializeStore(entities: string[] = []) {
|
|
24
24
|
|
|
25
25
|
const reducers = {
|
|
@@ -32,13 +32,14 @@ export function initializeStore(entities: string[] = []) {
|
|
|
32
32
|
[fieldsApi.reducerPath]: fieldsApi.reducer,
|
|
33
33
|
[mediaStorageProviderApi.reducerPath]: mediaStorageProviderApi.reducer,
|
|
34
34
|
[mediaApi.reducerPath]: mediaApi.reducer,
|
|
35
|
-
|
|
36
35
|
[solidViewsApi.reducerPath]: solidViewsApi.reducer,
|
|
37
36
|
[solidActionsApi.reducerPath]: solidActionsApi.reducer,
|
|
38
37
|
[solidMenusApi.reducerPath]: solidMenusApi.reducer,
|
|
39
38
|
[solidSettingsApi.reducerPath]: solidSettingsApi.reducer,
|
|
39
|
+
[roleApi.reducerPath]: roleApi.reducer,
|
|
40
40
|
// This has now become dynamica and is added using the for loop below
|
|
41
41
|
// [solidCountryApi.reducerPath]: solidCountryApi.reducer,
|
|
42
|
+
|
|
42
43
|
theme: themeReducer,
|
|
43
44
|
popup: popupReducer,
|
|
44
45
|
navbarState: navbarReducer,
|
|
@@ -56,7 +57,8 @@ export function initializeStore(entities: string[] = []) {
|
|
|
56
57
|
solidViewsApi.middleware,
|
|
57
58
|
solidActionsApi.middleware,
|
|
58
59
|
solidMenusApi.middleware,
|
|
59
|
-
solidSettingsApi.middleware
|
|
60
|
+
solidSettingsApi.middleware,
|
|
61
|
+
roleApi.middleware,
|
|
60
62
|
// This has now become dynamica and is added using the for loop below
|
|
61
63
|
// solidCountryApi.middleware
|
|
62
64
|
];
|