@native-systems/ui 1.0.7 → 1.0.9
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.cjs +38 -54
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +38 -54
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -115,6 +115,7 @@ function InputField({
|
|
|
115
115
|
hideLabel = false,
|
|
116
116
|
register,
|
|
117
117
|
type,
|
|
118
|
+
disabled = false,
|
|
118
119
|
required,
|
|
119
120
|
autoCompleteId = 'off',
|
|
120
121
|
isPasswordField = false,
|
|
@@ -165,6 +166,7 @@ function InputField({
|
|
|
165
166
|
id: id,
|
|
166
167
|
required: required,
|
|
167
168
|
type: type,
|
|
169
|
+
disabled: disabled,
|
|
168
170
|
autoComplete: autoCompleteId,
|
|
169
171
|
placeholder: label,
|
|
170
172
|
className: `relative w-full block py-3 pr-10 pl-3 text-sm text-font-950 bg-base-0 border rounded-lg border-base-500/15 appearance-none focus:outline-none focus:ring-primary-500 placeholder-font-400 dark:text-font-0 dark:text-font-100 dark:bg-base-950 dark:placeholder-font-600 ${type === 'number' ? 'text-right' : ''}`,
|
|
@@ -462,73 +464,55 @@ function Pagination({
|
|
|
462
464
|
return jsxRuntime.jsxs('div', {
|
|
463
465
|
className: 'w-full flex justify-center items-center gap-x-2 mt-6',
|
|
464
466
|
children: [
|
|
465
|
-
jsxRuntime.
|
|
466
|
-
onClick: goToFirstPage,
|
|
467
|
-
disabled: !hasPrevPage,
|
|
468
|
-
|
|
467
|
+
jsxRuntime.jsx('button', {
|
|
468
|
+
'onClick': goToFirstPage,
|
|
469
|
+
'disabled': !hasPrevPage,
|
|
470
|
+
'aria-label': 'Zur ersten Seite',
|
|
471
|
+
'className':
|
|
469
472
|
'flex gap-0.5 px-4 py-2.5 text-sm text-white bg-primary-500 rounded-lg transition-colors disabled:bg-zinc-300 enabled:hover:bg-primary-400 dark:disabled:bg-zinc-800',
|
|
470
|
-
children:
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
}),
|
|
474
|
-
'Erste',
|
|
475
|
-
],
|
|
473
|
+
'children': jsxRuntime.jsx(ForwardRef$3, {
|
|
474
|
+
className: 'w-5 h-auto',
|
|
475
|
+
}),
|
|
476
476
|
}),
|
|
477
|
-
jsxRuntime.
|
|
478
|
-
onClick: goToPreviousPage,
|
|
479
|
-
disabled: !hasPrevPage,
|
|
480
|
-
|
|
477
|
+
jsxRuntime.jsx('button', {
|
|
478
|
+
'onClick': goToPreviousPage,
|
|
479
|
+
'disabled': !hasPrevPage,
|
|
480
|
+
'aria-label': 'Zur vorherigen Seite',
|
|
481
|
+
'className':
|
|
481
482
|
'flex gap-0.5 px-4 py-2.5 text-sm text-white bg-primary-500 rounded-lg transition-colors disabled:bg-zinc-300 enabled:hover:bg-primary-400 dark:disabled:bg-zinc-800',
|
|
482
|
-
children:
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
}),
|
|
486
|
-
'Zurück',
|
|
487
|
-
],
|
|
488
|
-
}),
|
|
489
|
-
jsxRuntime.jsxs('span', {
|
|
490
|
-
className: 'px-3 text-sm text-black dark:text-white',
|
|
491
|
-
children: [
|
|
492
|
-
'Seite ',
|
|
493
|
-
jsxRuntime.jsx('strong', {
|
|
494
|
-
children: currentPage,
|
|
495
|
-
}),
|
|
496
|
-
' von',
|
|
497
|
-
' ',
|
|
498
|
-
jsxRuntime.jsx('strong', {
|
|
499
|
-
children:
|
|
500
|
-
totalPages !== null && totalPages !== void 0 ? totalPages : 1,
|
|
501
|
-
}),
|
|
502
|
-
],
|
|
483
|
+
'children': jsxRuntime.jsx(ForwardRef$1, {
|
|
484
|
+
className: 'w-5 h-auto',
|
|
485
|
+
}),
|
|
503
486
|
}),
|
|
504
|
-
jsxRuntime.
|
|
505
|
-
onClick: goToNextPage,
|
|
506
|
-
disabled: !hasNextPage,
|
|
487
|
+
jsxRuntime.jsx('span', {
|
|
507
488
|
className:
|
|
489
|
+
'size-10 flex justify-center items-center text-sm text-black rounded-md dark:text-white',
|
|
490
|
+
children: currentPage,
|
|
491
|
+
}),
|
|
492
|
+
jsxRuntime.jsx('button', {
|
|
493
|
+
'onClick': goToNextPage,
|
|
494
|
+
'disabled': !hasNextPage,
|
|
495
|
+
'aria-label': 'Zur nächsten Seite',
|
|
496
|
+
'className':
|
|
508
497
|
'flex gap-0.5 px-4 py-2.5 text-sm text-white bg-primary-500 rounded-lg transition-colors disabled:bg-zinc-300 enabled:hover:bg-primary-400 dark:disabled:bg-zinc-800',
|
|
509
|
-
children:
|
|
510
|
-
'
|
|
511
|
-
|
|
512
|
-
className: 'w-5 h-5',
|
|
513
|
-
}),
|
|
514
|
-
],
|
|
498
|
+
'children': jsxRuntime.jsx(ForwardRef, {
|
|
499
|
+
className: 'w-5 h-5',
|
|
500
|
+
}),
|
|
515
501
|
}),
|
|
516
|
-
jsxRuntime.
|
|
517
|
-
onClick: () =>
|
|
502
|
+
jsxRuntime.jsx('button', {
|
|
503
|
+
'onClick': () =>
|
|
518
504
|
goToLastPage(
|
|
519
505
|
totalPages !== null && totalPages !== void 0
|
|
520
506
|
? totalPages
|
|
521
507
|
: currentPage
|
|
522
508
|
),
|
|
523
|
-
disabled: !hasNextPage,
|
|
524
|
-
|
|
509
|
+
'disabled': !hasNextPage,
|
|
510
|
+
'aria-label': 'Zur letzten Seite',
|
|
511
|
+
'className':
|
|
525
512
|
'flex gap-0.5 px-4 py-2.5 text-sm text-white bg-primary-500 rounded-lg transition-colors disabled:bg-zinc-300 enabled:hover:bg-primary-400 dark:disabled:bg-zinc-800',
|
|
526
|
-
children:
|
|
527
|
-
'
|
|
528
|
-
|
|
529
|
-
className: 'w-5 h-5',
|
|
530
|
-
}),
|
|
531
|
-
],
|
|
513
|
+
'children': jsxRuntime.jsx(ForwardRef$2, {
|
|
514
|
+
className: 'w-5 h-5',
|
|
515
|
+
}),
|
|
532
516
|
}),
|
|
533
517
|
],
|
|
534
518
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -7,9 +7,10 @@ declare module "@native-systems/ui" {
|
|
|
7
7
|
type: string;
|
|
8
8
|
required: boolean;
|
|
9
9
|
autoCompleteId?: string;
|
|
10
|
+
disabled?: boolean;
|
|
10
11
|
isPasswordField?: boolean;
|
|
11
12
|
};
|
|
12
|
-
export function InputField({ id, label, hideLabel, register, type, required, autoCompleteId, isPasswordField, }: InputFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export function InputField({ id, label, hideLabel, register, type, disabled, required, autoCompleteId, isPasswordField, }: InputFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
declare module "@native-systems/ui" {
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["src/components/util/views/Input.tsx","src/components/auth/widgets/SigninForm.tsx","src/components/auth/layout/SigninLayout.tsx","src/components/util/layout/MainContentFrame.tsx","src/components/util/widgets/Pagination.tsx","src/components/util/views/CancelButton.tsx","src/components/util/views/ErrorDisplay.tsx","src/components/util/views/HowToCloseText.tsx","src/components/util/views/LoadingSpinner.tsx","src/components/util/views/SaveButton.tsx","src/components/util/views/Textarea.tsx","src/context/TemplateParserContext.tsx","src/index.ts"],"names":[],"mappings":";IAIA,KAAK,eAAe,GAAG;QACrB,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,EAAE,GAAG,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,CAAC;IAEF,MAAM,UAAU,UAAU,CAAC,EACzB,EAAE,EACF,KAAK,EACL,SAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,cAAsB,EACtB,eAAuB,GACxB,EAAE,eAAe,GAAA,OAAA,mBAAA,EAAA,GAAA,CAAA,OAAA,
|
|
1
|
+
{"version":3,"sources":["src/components/util/views/Input.tsx","src/components/auth/widgets/SigninForm.tsx","src/components/auth/layout/SigninLayout.tsx","src/components/util/layout/MainContentFrame.tsx","src/components/util/widgets/Pagination.tsx","src/components/util/views/CancelButton.tsx","src/components/util/views/ErrorDisplay.tsx","src/components/util/views/HowToCloseText.tsx","src/components/util/views/LoadingSpinner.tsx","src/components/util/views/SaveButton.tsx","src/components/util/views/Textarea.tsx","src/context/TemplateParserContext.tsx","src/index.ts"],"names":[],"mappings":";IAIA,KAAK,eAAe,GAAG;QACrB,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,EAAE,GAAG,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,CAAC;IAEF,MAAM,UAAU,UAAU,CAAC,EACzB,EAAE,EACF,KAAK,EACL,SAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,QAAgB,EAChB,QAAQ,EACR,cAAsB,EACtB,eAAuB,GACxB,EAAE,eAAe,GAAA,OAAA,mBAAA,EAAA,GAAA,CAAA,OAAA,CAwDjB;;;;;;;;ICzED,KAAK,gBAAgB,GAAG;QACtB,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;QACjC,QAAQ,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;QAChC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK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B;IAC1C,OAAO,KAAK,GAAG,2BAAkB;;;;;;;;;;;;;;;;;;;;;;;;;IAEjC,eAAA,QAAA,CAIE","file":"index.d.ts","sourceRoot":".."}
|
package/dist/index.esm.js
CHANGED
|
@@ -92,6 +92,7 @@ function InputField({
|
|
|
92
92
|
hideLabel = false,
|
|
93
93
|
register,
|
|
94
94
|
type,
|
|
95
|
+
disabled = false,
|
|
95
96
|
required,
|
|
96
97
|
autoCompleteId = 'off',
|
|
97
98
|
isPasswordField = false,
|
|
@@ -142,6 +143,7 @@ function InputField({
|
|
|
142
143
|
id: id,
|
|
143
144
|
required: required,
|
|
144
145
|
type: type,
|
|
146
|
+
disabled: disabled,
|
|
145
147
|
autoComplete: autoCompleteId,
|
|
146
148
|
placeholder: label,
|
|
147
149
|
className: `relative w-full block py-3 pr-10 pl-3 text-sm text-font-950 bg-base-0 border rounded-lg border-base-500/15 appearance-none focus:outline-none focus:ring-primary-500 placeholder-font-400 dark:text-font-0 dark:text-font-100 dark:bg-base-950 dark:placeholder-font-600 ${type === 'number' ? 'text-right' : ''}`,
|
|
@@ -435,73 +437,55 @@ function Pagination({
|
|
|
435
437
|
return jsxs('div', {
|
|
436
438
|
className: 'w-full flex justify-center items-center gap-x-2 mt-6',
|
|
437
439
|
children: [
|
|
438
|
-
|
|
439
|
-
onClick: goToFirstPage,
|
|
440
|
-
disabled: !hasPrevPage,
|
|
441
|
-
|
|
440
|
+
jsx('button', {
|
|
441
|
+
'onClick': goToFirstPage,
|
|
442
|
+
'disabled': !hasPrevPage,
|
|
443
|
+
'aria-label': 'Zur ersten Seite',
|
|
444
|
+
'className':
|
|
442
445
|
'flex gap-0.5 px-4 py-2.5 text-sm text-white bg-primary-500 rounded-lg transition-colors disabled:bg-zinc-300 enabled:hover:bg-primary-400 dark:disabled:bg-zinc-800',
|
|
443
|
-
children:
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
}),
|
|
447
|
-
'Erste',
|
|
448
|
-
],
|
|
446
|
+
'children': jsx(ForwardRef$3, {
|
|
447
|
+
className: 'w-5 h-auto',
|
|
448
|
+
}),
|
|
449
449
|
}),
|
|
450
|
-
|
|
451
|
-
onClick: goToPreviousPage,
|
|
452
|
-
disabled: !hasPrevPage,
|
|
453
|
-
|
|
450
|
+
jsx('button', {
|
|
451
|
+
'onClick': goToPreviousPage,
|
|
452
|
+
'disabled': !hasPrevPage,
|
|
453
|
+
'aria-label': 'Zur vorherigen Seite',
|
|
454
|
+
'className':
|
|
454
455
|
'flex gap-0.5 px-4 py-2.5 text-sm text-white bg-primary-500 rounded-lg transition-colors disabled:bg-zinc-300 enabled:hover:bg-primary-400 dark:disabled:bg-zinc-800',
|
|
455
|
-
children:
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
}),
|
|
459
|
-
'Zurück',
|
|
460
|
-
],
|
|
461
|
-
}),
|
|
462
|
-
jsxs('span', {
|
|
463
|
-
className: 'px-3 text-sm text-black dark:text-white',
|
|
464
|
-
children: [
|
|
465
|
-
'Seite ',
|
|
466
|
-
jsx('strong', {
|
|
467
|
-
children: currentPage,
|
|
468
|
-
}),
|
|
469
|
-
' von',
|
|
470
|
-
' ',
|
|
471
|
-
jsx('strong', {
|
|
472
|
-
children:
|
|
473
|
-
totalPages !== null && totalPages !== void 0 ? totalPages : 1,
|
|
474
|
-
}),
|
|
475
|
-
],
|
|
456
|
+
'children': jsx(ForwardRef$1, {
|
|
457
|
+
className: 'w-5 h-auto',
|
|
458
|
+
}),
|
|
476
459
|
}),
|
|
477
|
-
|
|
478
|
-
onClick: goToNextPage,
|
|
479
|
-
disabled: !hasNextPage,
|
|
460
|
+
jsx('span', {
|
|
480
461
|
className:
|
|
462
|
+
'size-10 flex justify-center items-center text-sm text-black rounded-md dark:text-white',
|
|
463
|
+
children: currentPage,
|
|
464
|
+
}),
|
|
465
|
+
jsx('button', {
|
|
466
|
+
'onClick': goToNextPage,
|
|
467
|
+
'disabled': !hasNextPage,
|
|
468
|
+
'aria-label': 'Zur nächsten Seite',
|
|
469
|
+
'className':
|
|
481
470
|
'flex gap-0.5 px-4 py-2.5 text-sm text-white bg-primary-500 rounded-lg transition-colors disabled:bg-zinc-300 enabled:hover:bg-primary-400 dark:disabled:bg-zinc-800',
|
|
482
|
-
children:
|
|
483
|
-
'
|
|
484
|
-
|
|
485
|
-
className: 'w-5 h-5',
|
|
486
|
-
}),
|
|
487
|
-
],
|
|
471
|
+
'children': jsx(ForwardRef, {
|
|
472
|
+
className: 'w-5 h-5',
|
|
473
|
+
}),
|
|
488
474
|
}),
|
|
489
|
-
|
|
490
|
-
onClick: () =>
|
|
475
|
+
jsx('button', {
|
|
476
|
+
'onClick': () =>
|
|
491
477
|
goToLastPage(
|
|
492
478
|
totalPages !== null && totalPages !== void 0
|
|
493
479
|
? totalPages
|
|
494
480
|
: currentPage
|
|
495
481
|
),
|
|
496
|
-
disabled: !hasNextPage,
|
|
497
|
-
|
|
482
|
+
'disabled': !hasNextPage,
|
|
483
|
+
'aria-label': 'Zur letzten Seite',
|
|
484
|
+
'className':
|
|
498
485
|
'flex gap-0.5 px-4 py-2.5 text-sm text-white bg-primary-500 rounded-lg transition-colors disabled:bg-zinc-300 enabled:hover:bg-primary-400 dark:disabled:bg-zinc-800',
|
|
499
|
-
children:
|
|
500
|
-
'
|
|
501
|
-
|
|
502
|
-
className: 'w-5 h-5',
|
|
503
|
-
}),
|
|
504
|
-
],
|
|
486
|
+
'children': jsx(ForwardRef$2, {
|
|
487
|
+
className: 'w-5 h-5',
|
|
488
|
+
}),
|
|
505
489
|
}),
|
|
506
490
|
],
|
|
507
491
|
});
|