@sqrzro/admin 4.0.0-alpha.17 → 4.0.0-alpha.18
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.
|
@@ -89,9 +89,10 @@ const classNameConfig = twx({
|
|
|
89
89
|
},
|
|
90
90
|
dropdown: {
|
|
91
91
|
item: {
|
|
92
|
-
default: '
|
|
92
|
+
default: 'flex flex-col items-start justify-center gap-1.5 border-b border-slate-100 p-3',
|
|
93
93
|
states: { isSelected: 'bg-slate-100' },
|
|
94
94
|
},
|
|
95
|
+
details: 'text-xs leading-none text-slate-500',
|
|
95
96
|
},
|
|
96
97
|
editableForm: {
|
|
97
98
|
root: 'page-content-block grid grid-cols-[25%_1fr] gap-20 rounded bg-white p-8 shadow',
|
|
@@ -159,7 +160,10 @@ const classNameConfig = twx({
|
|
|
159
160
|
},
|
|
160
161
|
details: 'mb-2 text-xs font-normal text-slate-500',
|
|
161
162
|
optional: 'pl-2 text-xs font-normal leading-none text-slate-500',
|
|
162
|
-
error:
|
|
163
|
+
error: {
|
|
164
|
+
default: 'text-error mt-2 flex items-start gap-1.5',
|
|
165
|
+
props: { isEditable: 'col-start-2' },
|
|
166
|
+
},
|
|
163
167
|
},
|
|
164
168
|
infoPanel: {
|
|
165
169
|
root: {
|
|
@@ -254,11 +258,11 @@ const classNameConfig = twx({
|
|
|
254
258
|
},
|
|
255
259
|
staticTextInput: {
|
|
256
260
|
root: {
|
|
257
|
-
default: 'text-md flex min-h-10 flex-col justify-center rounded border border-slate-300 bg-white p-3',
|
|
261
|
+
default: 'text-md flex min-h-10 flex-col items-start justify-center gap-1.5 rounded border border-slate-300 bg-white p-3',
|
|
258
262
|
states: { isError: 'border-red-500' },
|
|
259
263
|
},
|
|
260
264
|
label: 'block leading-none',
|
|
261
|
-
details: '
|
|
265
|
+
details: 'block text-xs leading-none text-slate-500',
|
|
262
266
|
placeholder: 'block leading-none text-slate-400',
|
|
263
267
|
icon: 'mr-2 h-4 w-4 rounded-full bg-slate-500 text-white',
|
|
264
268
|
clear: 'mr-2 h-4 w-4 flex-none rounded-full border border-slate-500 text-slate-600',
|
package/dist/styles/icons.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, EyeIcon, EyeSlashIcon, XMarkIcon, } from '@heroicons/react/16/solid';
|
|
2
|
-
import { ArrowUpTrayIcon, CheckCircleIcon, XCircleIcon } from '@heroicons/react/24/outline';
|
|
2
|
+
import { ArrowUpTrayIcon, CheckCircleIcon, ExclamationCircleIcon, XCircleIcon, } from '@heroicons/react/24/outline';
|
|
3
3
|
const iconConfig = {
|
|
4
4
|
'appNavigation.menu': ChevronDownIcon,
|
|
5
5
|
'calendar.next': ChevronRightIcon,
|
|
@@ -8,6 +8,7 @@ const iconConfig = {
|
|
|
8
8
|
'csvInput.upload': ArrowUpTrayIcon,
|
|
9
9
|
'dropdown.control': ChevronDownIcon,
|
|
10
10
|
'filter.clear': XCircleIcon,
|
|
11
|
+
'formField.error': ExclamationCircleIcon,
|
|
11
12
|
'passwordComplexity.invalid': XCircleIcon,
|
|
12
13
|
'passwordComplexity.valid': CheckCircleIcon,
|
|
13
14
|
'passwordInput.visible': EyeIcon,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqrzro/admin",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-alpha.
|
|
4
|
+
"version": "4.0.0-alpha.18",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "ISC",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"react": "^19.2.4",
|
|
24
24
|
"react-dom": "^19.2.4",
|
|
25
25
|
"tailwindcss": "^4.2.1",
|
|
26
|
-
"@sqrzro/addon-auth": "^4.0.0-alpha.
|
|
27
|
-
"@sqrzro/ui": "^4.0.0-alpha.
|
|
26
|
+
"@sqrzro/addon-auth": "^4.0.0-alpha.8",
|
|
27
|
+
"@sqrzro/ui": "^4.0.0-alpha.46"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/react": "^19.2.14",
|