@rubenpazch/ui 0.12.0 → 0.13.0
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/AGENTS.md +67 -23
- package/dist/index.cjs.js +94 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.esm.js +7 -2
- package/dist/index.esm.js.map +1 -1
- package/docs/COMPONENTES.md +440 -85
- package/docs/ICONOS.md +90 -78
- package/docs/catalogo.json +1562 -89
- package/package.json +37 -32
package/AGENTS.md
CHANGED
|
@@ -83,33 +83,77 @@ rutas internas (`dist/…`).
|
|
|
83
83
|
```
|
|
84
84
|
- Para ajustar un componente usa sus props (`variant`, `color`, `size`, `fullWidth`…) y, si hace
|
|
85
85
|
falta, `className` para márgenes o posición. No sobrescribas sus clases internas.
|
|
86
|
-
- Para
|
|
86
|
+
- Para **ubicar y alinear** bloques usa los componentes de maquetación (ver **Maquetación**) en
|
|
87
|
+
vez de escribir `display: flex` o clases `flex`/`grid` de Tailwind; para color, tipografía,
|
|
87
88
|
radios, sombras y espacios del sistema, las `lb-*`.
|
|
88
89
|
|
|
90
|
+
## Maquetación (sin escribir CSS)
|
|
91
|
+
|
|
92
|
+
`Flex`, `Stack`, `Inline`, `Center`, `Grid`/`GridItem`, `Container` y `Spacer` se configuran solo
|
|
93
|
+
con props. Los espacios (`gap`, `padding`, `paddingX`, `paddingY`) usan la escala `--lb-space-*`
|
|
94
|
+
(0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16) y **todas las props aceptan valores por punto de quiebre**
|
|
95
|
+
(mobile first): `{ base, sm: 640px, md: 768px, lg: 1024px, xl: 1280px }`.
|
|
96
|
+
|
|
97
|
+
| Necesito… | Usa |
|
|
98
|
+
| ------------------------------------------- | ----------------------------------------------------------------------------- |
|
|
99
|
+
| Apilar en vertical con espacio uniforme | `<Stack gap={6}>` |
|
|
100
|
+
| Una fila de botones/chips que se ajusta | `<Inline gap={2}>`; a la derecha: `<Inline justify="end">` |
|
|
101
|
+
| Logo a la izquierda y acciones a la derecha | `<Inline><Logo /><Spacer /><Button /></Inline>` o `justify="between"` |
|
|
102
|
+
| Centrar vertical y horizontalmente (login) | `<Center minHeight="screen">` |
|
|
103
|
+
| Columna en móvil, fila en escritorio | `<Flex direction={{ base: "column", md: "row" }} gap={4}>` |
|
|
104
|
+
| Tarjetas en grilla que se acomodan solas | `<Grid minItemWidth="16rem">`; columnas fijas: `columns={{ base: 1, md: 3 }}` |
|
|
105
|
+
| Una celda que ocupa varias columnas | `<GridItem span={2}>` (o `"full"`) |
|
|
106
|
+
| El ancho máximo de la página | `<Container size="lg">` |
|
|
107
|
+
| Ocultar algo en móvil | `hide={{ base: true, md: false }}` |
|
|
108
|
+
|
|
109
|
+
```tsx
|
|
110
|
+
<Container as="main" paddingY={8}>
|
|
111
|
+
<Stack gap={6}>
|
|
112
|
+
<Inline justify="between">
|
|
113
|
+
<h1>Clientes</h1>
|
|
114
|
+
<Button variant="contained">Nuevo</Button>
|
|
115
|
+
</Inline>
|
|
116
|
+
<Grid columns={{ base: 1, md: 2, lg: 4 }}>
|
|
117
|
+
<Card>…</Card>
|
|
118
|
+
<GridItem span={{ base: "full", lg: 2 }}>
|
|
119
|
+
<Card>…</Card>
|
|
120
|
+
</GridItem>
|
|
121
|
+
</Grid>
|
|
122
|
+
</Stack>
|
|
123
|
+
</Container>
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Todos aceptan `as` (`section`, `ul`, `nav`, `main`…) para usar la etiqueta HTML correcta, y
|
|
127
|
+
`className` solo para casos puntuales.
|
|
128
|
+
|
|
89
129
|
## Qué usar para cada cosa
|
|
90
130
|
|
|
91
|
-
| Necesito…
|
|
92
|
-
|
|
|
93
|
-
| El layout de un panel (menú lateral, cabecera, contenido)
|
|
94
|
-
| La cabecera de cada página
|
|
95
|
-
| Un listado de registros
|
|
96
|
-
|
|
|
97
|
-
|
|
|
98
|
-
|
|
|
99
|
-
|
|
|
100
|
-
|
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
|
|
|
104
|
-
|
|
|
105
|
-
|
|
|
106
|
-
|
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
|
|
|
110
|
-
|
|
|
111
|
-
|
|
|
112
|
-
|
|
|
131
|
+
| Necesito… | Usa |
|
|
132
|
+
| ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
133
|
+
| El layout de un panel (menú lateral, cabecera, contenido) | `AppShell` (o solo `Sidebar`) en `app/(panel)/layout.tsx`, con `currentPath={usePathname()}` y `linkComponent={Link}` |
|
|
134
|
+
| La cabecera de cada página | `PageHeader` (migas, título h1, acciones) |
|
|
135
|
+
| Un listado de registros | `DataTable` + `Pagination` (`onPageChange`) + `EmptyState` |
|
|
136
|
+
| Alinear, centrar o distribuir bloques de una pantalla | `Stack`, `Inline`, `Center`, `Grid`, `Container` (ver **Maquetación**) |
|
|
137
|
+
| Un formulario | `FormRow` (columnas) + campos (`TextInput`, `Textarea`, `Select`, `Autocomplete`, `DateInput`, `MoneyInput`, `Switch`…) + `FormActions` |
|
|
138
|
+
| Prefijo o sufijo pegado al campo ("S/", ".pe", "kg", botón Buscar) | `TextInput` con `startAddon` / `endAddon` |
|
|
139
|
+
| Elegir varias opciones de una lista corta (permisos, días) | `CheckboxGroup` (`selectAll`, `maxSelected`, `columns`) |
|
|
140
|
+
| Código de verificación (OTP) o PIN | `PinInput` (`onComplete` para enviar; pegar el código funciona solo) |
|
|
141
|
+
| Montos de dinero | `MoneyInput` para editar, `formatMoney()` para mostrar |
|
|
142
|
+
| Elegir el mes de trabajo | `MonthNavigator` |
|
|
143
|
+
| Filtrar por un periodo (desde/hasta) | `DateRangePicker` (con atajos); una sola fecha: `DateInput` |
|
|
144
|
+
| Anti-robots en un formulario público | `Turnstile` (cambia `resetKey` tras cada envío) |
|
|
145
|
+
| Mostrar un estado | `Badge` |
|
|
146
|
+
| Agrupar información | `Card` + `CardHeader` / `CardBody` / `CardFooter` |
|
|
147
|
+
| Aviso fijo en la página / mensaje del servidor | `Alert` / `useToast()` (ver **Mensajes**) |
|
|
148
|
+
| Confirmar / editar en ventana | `ConfirmationDialog` / `Modal` |
|
|
149
|
+
| Acciones de una fila | `Menu` (⋮) |
|
|
150
|
+
| Historial / seguimiento de algo en orden | `Timeline` (la app convierte sus estados en `items`); pasos que el usuario recorre ahora: `Stepper` |
|
|
151
|
+
| Resumen de datos de un registro (solo lectura) | `DescriptionList` (etiqueta/valor en columnas) |
|
|
152
|
+
| Adjuntar archivos | `FileUpload` (varios, con validación); una sola imagen con vista previa: `ImageUpload` |
|
|
153
|
+
| Personas en cuadrícula (usuarios, socios, clientes) | `UserCard` |
|
|
154
|
+
| Raíz de una app con sesión | `AuthGate` envolviendo `AppShell` (ver decisión 0006) |
|
|
155
|
+
| Login único: espera, "Cerraste sesión", error al volver | `AuthScreen` (`busy={false}`, `description`, `action`, `tone="error"`); sin pantalla de login propia (decisión 0011) |
|
|
156
|
+
| Cargando | `Skeleton` (contenido), `LoadingSpinner` (botón), `OverlayLoader` (pantalla), `ProgressBar` (avance) |
|
|
113
157
|
|
|
114
158
|
```tsx
|
|
115
159
|
// app/(panel)/layout.tsx
|
package/dist/index.cjs.js
CHANGED
|
@@ -7,10 +7,12 @@ var authGate = require('@rubenpazch/auth-gate');
|
|
|
7
7
|
var autocomplete = require('@rubenpazch/autocomplete');
|
|
8
8
|
var avatar = require('@rubenpazch/avatar');
|
|
9
9
|
var badge = require('@rubenpazch/badge');
|
|
10
|
+
var bottomNavigation = require('@rubenpazch/bottom-navigation');
|
|
10
11
|
var button = require('@rubenpazch/button');
|
|
11
12
|
var card = require('@rubenpazch/card');
|
|
12
13
|
var checkboxInput = require('@rubenpazch/checkbox-input');
|
|
13
14
|
var chip = require('@rubenpazch/chip');
|
|
15
|
+
var collapsible = require('@rubenpazch/collapsible');
|
|
14
16
|
var confirmationDialog = require('@rubenpazch/confirmation-dialog');
|
|
15
17
|
var dataTable = require('@rubenpazch/data-table');
|
|
16
18
|
var dateInput = require('@rubenpazch/date-input');
|
|
@@ -27,6 +29,8 @@ var icons = require('@rubenpazch/icons');
|
|
|
27
29
|
var identificationInput = require('@rubenpazch/identification-input');
|
|
28
30
|
var imageUpload = require('@rubenpazch/image-upload');
|
|
29
31
|
var infoRow = require('@rubenpazch/info-row');
|
|
32
|
+
var layout = require('@rubenpazch/layout');
|
|
33
|
+
var list = require('@rubenpazch/list');
|
|
30
34
|
var loadingSpinner = require('@rubenpazch/loading-spinner');
|
|
31
35
|
var menu = require('@rubenpazch/menu');
|
|
32
36
|
var modal = require('@rubenpazch/modal');
|
|
@@ -39,6 +43,7 @@ var pageHeader = require('@rubenpazch/page-header');
|
|
|
39
43
|
var pagination = require('@rubenpazch/pagination');
|
|
40
44
|
var patientDetails = require('@rubenpazch/patient-details');
|
|
41
45
|
var patientSearch = require('@rubenpazch/patient-search');
|
|
46
|
+
var pinInput = require('@rubenpazch/pin-input');
|
|
42
47
|
var prescriptionCard = require('@rubenpazch/prescription-card');
|
|
43
48
|
var prescriptionEyeCard = require('@rubenpazch/prescription-eye-card');
|
|
44
49
|
var progressBar = require('@rubenpazch/progress-bar');
|
|
@@ -79,6 +84,7 @@ Object.defineProperty(exports, "AvatarGroup", {
|
|
|
79
84
|
get: function () { return avatar.AvatarGroup; }
|
|
80
85
|
});
|
|
81
86
|
exports.Badge = badge;
|
|
87
|
+
exports.BottomNavigation = bottomNavigation;
|
|
82
88
|
exports.Button = button;
|
|
83
89
|
exports.Card = card;
|
|
84
90
|
Object.defineProperty(exports, "CardBody", {
|
|
@@ -93,8 +99,13 @@ Object.defineProperty(exports, "CardHeader", {
|
|
|
93
99
|
enumerable: true,
|
|
94
100
|
get: function () { return card.CardHeader; }
|
|
95
101
|
});
|
|
102
|
+
Object.defineProperty(exports, "CheckboxGroup", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return checkboxInput.CheckboxGroup; }
|
|
105
|
+
});
|
|
96
106
|
exports.CheckboxInput = checkboxInput;
|
|
97
107
|
exports.Chip = chip;
|
|
108
|
+
exports.Collapsible = collapsible;
|
|
98
109
|
exports.ConfirmationDialog = confirmationDialog;
|
|
99
110
|
exports.DataTable = dataTable;
|
|
100
111
|
exports.DateInput = dateInput;
|
|
@@ -143,14 +154,26 @@ Object.defineProperty(exports, "ArrowDetailsIcon", {
|
|
|
143
154
|
enumerable: true,
|
|
144
155
|
get: function () { return icons.ArrowDetailsIcon; }
|
|
145
156
|
});
|
|
157
|
+
Object.defineProperty(exports, "ArrowDownIcon", {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function () { return icons.ArrowDownIcon; }
|
|
160
|
+
});
|
|
146
161
|
Object.defineProperty(exports, "ArrowLeftIcon", {
|
|
147
162
|
enumerable: true,
|
|
148
163
|
get: function () { return icons.ArrowLeftIcon; }
|
|
149
164
|
});
|
|
165
|
+
Object.defineProperty(exports, "ArrowLeftRightIcon", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return icons.ArrowLeftRightIcon; }
|
|
168
|
+
});
|
|
150
169
|
Object.defineProperty(exports, "ArrowRightIcon", {
|
|
151
170
|
enumerable: true,
|
|
152
171
|
get: function () { return icons.ArrowRightIcon; }
|
|
153
172
|
});
|
|
173
|
+
Object.defineProperty(exports, "ArrowUpIcon", {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () { return icons.ArrowUpIcon; }
|
|
176
|
+
});
|
|
154
177
|
Object.defineProperty(exports, "BankIcon", {
|
|
155
178
|
enumerable: true,
|
|
156
179
|
get: function () { return icons.BankIcon; }
|
|
@@ -323,6 +346,10 @@ Object.defineProperty(exports, "FoldersIcon", {
|
|
|
323
346
|
enumerable: true,
|
|
324
347
|
get: function () { return icons.FoldersIcon; }
|
|
325
348
|
});
|
|
349
|
+
Object.defineProperty(exports, "FootballIcon", {
|
|
350
|
+
enumerable: true,
|
|
351
|
+
get: function () { return icons.FootballIcon; }
|
|
352
|
+
});
|
|
326
353
|
Object.defineProperty(exports, "GalleryPhotoIcon", {
|
|
327
354
|
enumerable: true,
|
|
328
355
|
get: function () { return icons.GalleryPhotoIcon; }
|
|
@@ -351,6 +378,10 @@ Object.defineProperty(exports, "ICONOS", {
|
|
|
351
378
|
enumerable: true,
|
|
352
379
|
get: function () { return icons.ICONOS; }
|
|
353
380
|
});
|
|
381
|
+
Object.defineProperty(exports, "IdCardIcon", {
|
|
382
|
+
enumerable: true,
|
|
383
|
+
get: function () { return icons.IdCardIcon; }
|
|
384
|
+
});
|
|
354
385
|
Object.defineProperty(exports, "InfoIcon", {
|
|
355
386
|
enumerable: true,
|
|
356
387
|
get: function () { return icons.InfoIcon; }
|
|
@@ -419,6 +450,10 @@ Object.defineProperty(exports, "MoreIcon", {
|
|
|
419
450
|
enumerable: true,
|
|
420
451
|
get: function () { return icons.MoreIcon; }
|
|
421
452
|
});
|
|
453
|
+
Object.defineProperty(exports, "NewspaperIcon", {
|
|
454
|
+
enumerable: true,
|
|
455
|
+
get: function () { return icons.NewspaperIcon; }
|
|
456
|
+
});
|
|
422
457
|
Object.defineProperty(exports, "NotificationIcon", {
|
|
423
458
|
enumerable: true,
|
|
424
459
|
get: function () { return icons.NotificationIcon; }
|
|
@@ -471,10 +506,18 @@ Object.defineProperty(exports, "QrCodeIcon", {
|
|
|
471
506
|
enumerable: true,
|
|
472
507
|
get: function () { return icons.QrCodeIcon; }
|
|
473
508
|
});
|
|
509
|
+
Object.defineProperty(exports, "RadioIcon", {
|
|
510
|
+
enumerable: true,
|
|
511
|
+
get: function () { return icons.RadioIcon; }
|
|
512
|
+
});
|
|
474
513
|
Object.defineProperty(exports, "ReceiptIcon", {
|
|
475
514
|
enumerable: true,
|
|
476
515
|
get: function () { return icons.ReceiptIcon; }
|
|
477
516
|
});
|
|
517
|
+
Object.defineProperty(exports, "RectangleVerticalIcon", {
|
|
518
|
+
enumerable: true,
|
|
519
|
+
get: function () { return icons.RectangleVerticalIcon; }
|
|
520
|
+
});
|
|
478
521
|
Object.defineProperty(exports, "RefreshIcon", {
|
|
479
522
|
enumerable: true,
|
|
480
523
|
get: function () { return icons.RefreshIcon; }
|
|
@@ -551,6 +594,14 @@ Object.defineProperty(exports, "TrendingUpIcon", {
|
|
|
551
594
|
enumerable: true,
|
|
552
595
|
get: function () { return icons.TrendingUpIcon; }
|
|
553
596
|
});
|
|
597
|
+
Object.defineProperty(exports, "TrophyIcon", {
|
|
598
|
+
enumerable: true,
|
|
599
|
+
get: function () { return icons.TrophyIcon; }
|
|
600
|
+
});
|
|
601
|
+
Object.defineProperty(exports, "UndoIcon", {
|
|
602
|
+
enumerable: true,
|
|
603
|
+
get: function () { return icons.UndoIcon; }
|
|
604
|
+
});
|
|
554
605
|
Object.defineProperty(exports, "UploadIcon", {
|
|
555
606
|
enumerable: true,
|
|
556
607
|
get: function () { return icons.UploadIcon; }
|
|
@@ -559,6 +610,10 @@ Object.defineProperty(exports, "UserCogIcon", {
|
|
|
559
610
|
enumerable: true,
|
|
560
611
|
get: function () { return icons.UserCogIcon; }
|
|
561
612
|
});
|
|
613
|
+
Object.defineProperty(exports, "UserIcon", {
|
|
614
|
+
enumerable: true,
|
|
615
|
+
get: function () { return icons.UserIcon; }
|
|
616
|
+
});
|
|
562
617
|
Object.defineProperty(exports, "UserManagementIcon", {
|
|
563
618
|
enumerable: true,
|
|
564
619
|
get: function () { return icons.UserManagementIcon; }
|
|
@@ -575,6 +630,10 @@ Object.defineProperty(exports, "UsersIcon", {
|
|
|
575
630
|
enumerable: true,
|
|
576
631
|
get: function () { return icons.UsersIcon; }
|
|
577
632
|
});
|
|
633
|
+
Object.defineProperty(exports, "VideoIcon", {
|
|
634
|
+
enumerable: true,
|
|
635
|
+
get: function () { return icons.VideoIcon; }
|
|
636
|
+
});
|
|
578
637
|
Object.defineProperty(exports, "WalletOpenIcon", {
|
|
579
638
|
enumerable: true,
|
|
580
639
|
get: function () { return icons.WalletOpenIcon; }
|
|
@@ -602,6 +661,40 @@ Object.defineProperty(exports, "DEFAULT_IMAGE_UPLOAD_LABELS", {
|
|
|
602
661
|
});
|
|
603
662
|
exports.ImageUpload = imageUpload;
|
|
604
663
|
exports.InfoRow = infoRow;
|
|
664
|
+
Object.defineProperty(exports, "Center", {
|
|
665
|
+
enumerable: true,
|
|
666
|
+
get: function () { return layout.Center; }
|
|
667
|
+
});
|
|
668
|
+
Object.defineProperty(exports, "Container", {
|
|
669
|
+
enumerable: true,
|
|
670
|
+
get: function () { return layout.Container; }
|
|
671
|
+
});
|
|
672
|
+
exports.Flex = layout;
|
|
673
|
+
Object.defineProperty(exports, "Grid", {
|
|
674
|
+
enumerable: true,
|
|
675
|
+
get: function () { return layout.Grid; }
|
|
676
|
+
});
|
|
677
|
+
Object.defineProperty(exports, "GridItem", {
|
|
678
|
+
enumerable: true,
|
|
679
|
+
get: function () { return layout.GridItem; }
|
|
680
|
+
});
|
|
681
|
+
Object.defineProperty(exports, "Inline", {
|
|
682
|
+
enumerable: true,
|
|
683
|
+
get: function () { return layout.Inline; }
|
|
684
|
+
});
|
|
685
|
+
Object.defineProperty(exports, "Spacer", {
|
|
686
|
+
enumerable: true,
|
|
687
|
+
get: function () { return layout.Spacer; }
|
|
688
|
+
});
|
|
689
|
+
Object.defineProperty(exports, "Stack", {
|
|
690
|
+
enumerable: true,
|
|
691
|
+
get: function () { return layout.Stack; }
|
|
692
|
+
});
|
|
693
|
+
exports.List = list;
|
|
694
|
+
Object.defineProperty(exports, "ListItem", {
|
|
695
|
+
enumerable: true,
|
|
696
|
+
get: function () { return list.ListItem; }
|
|
697
|
+
});
|
|
605
698
|
exports.LoadingSpinner = loadingSpinner;
|
|
606
699
|
exports.Menu = menu;
|
|
607
700
|
exports.Modal = modal;
|
|
@@ -640,6 +733,7 @@ Object.defineProperty(exports, "PaginationItem", {
|
|
|
640
733
|
});
|
|
641
734
|
exports.PatientDetails = patientDetails;
|
|
642
735
|
exports.PatientSearch = patientSearch;
|
|
736
|
+
exports.PinInput = pinInput;
|
|
643
737
|
exports.PrescriptionCard = prescriptionCard;
|
|
644
738
|
exports.PrescriptionEyeCard = prescriptionEyeCard;
|
|
645
739
|
exports.ProgressBar = progressBar;
|
package/dist/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,10 +4,12 @@ export { default as AuthGate, AuthGateLabels, AuthGateProps, AuthScreen, AuthScr
|
|
|
4
4
|
export { default as Autocomplete, AutocompleteOption, AutocompleteProps } from '@rubenpazch/autocomplete';
|
|
5
5
|
export { Avatar, AvatarGroup, AvatarGroupProps, AvatarGroupSpacing, AvatarProps, AvatarSize, AvatarVariant } from '@rubenpazch/avatar';
|
|
6
6
|
export { default as Badge, BadgeColor, BadgeProps, BadgeVariant } from '@rubenpazch/badge';
|
|
7
|
+
export { default as BottomNavigation, BottomNavigationItem, BottomNavigationProps } from '@rubenpazch/bottom-navigation';
|
|
7
8
|
export { default as Button, ButtonColor, ButtonProps, ButtonSize, ButtonSizeProp, ButtonVariant } from '@rubenpazch/button';
|
|
8
9
|
export { default as Card, CardBody, CardFooter, CardHeader, CardHeaderProps, CardProps } from '@rubenpazch/card';
|
|
9
|
-
export { default as CheckboxInput, CheckboxInputProps } from '@rubenpazch/checkbox-input';
|
|
10
|
+
export { CheckboxGroup, CheckboxGroupProps, default as CheckboxInput, CheckboxInputProps, CheckboxOption } from '@rubenpazch/checkbox-input';
|
|
10
11
|
export { default as Chip, ChipColor, ChipProps, ChipSize, ChipVariant } from '@rubenpazch/chip';
|
|
12
|
+
export { default as Collapsible, CollapsibleProps } from '@rubenpazch/collapsible';
|
|
11
13
|
export { default as ConfirmationDialog, ConfirmationDialogProps } from '@rubenpazch/confirmation-dialog';
|
|
12
14
|
export { default as DataTable, DataTableColumn, DataTableProps, SortDirection, SortState } from '@rubenpazch/data-table';
|
|
13
15
|
export { default as DateInput, DateInputLabels, DateInputProps } from '@rubenpazch/date-input';
|
|
@@ -20,10 +22,12 @@ export { default as EmptyState, EmptyStateProps } from '@rubenpazch/empty-state'
|
|
|
20
22
|
export { DEFAULT_FILE_UPLOAD_LABELS, FileRejection, default as FileUpload, FileUploadLabels, FileUploadProps, aceptaArchivo } from '@rubenpazch/file-upload';
|
|
21
23
|
export { FormActions, FormActionsProps, default as FormField, FormFieldControlProps, FormFieldProps, FormRow, FormRowProps } from '@rubenpazch/form-field';
|
|
22
24
|
export { default as IconButton, IconButtonFocusStyle, IconButtonFocusTrigger, IconButtonProps, IconButtonShape, IconButtonSize, IconButtonVariant, IconPosition, LabelPosition, TooltipPosition } from '@rubenpazch/icon-button';
|
|
23
|
-
export { ArchiveIcon, ArrowDetailsIcon, ArrowLeftIcon, ArrowRightIcon, BankIcon, BanknoteIcon, BrandingIcon, BriefcaseIcon, BuildingIcon, BusinessPlanIcon, CalculatorIcon, CalendarIcon, CategoriaIcono, ChartBarIcon, ChartPieIcon, CheckIcon, CheckOutIcon, CheckmarkIcon, ChecksIcon, ChevronBarIcon, ChevronIcon, CircleXIcon, CityIcon, ClinicalNotesIcon, ClipboardListIcon, ClockIcon, CloseIcon, CoinsAcceptedIcon, CoinsHandIcon, CopyIcon, CreditCardIcon, DashboardIcon, DocumentIcon, DownloadIcon, DragHandleIcon, EditIcon, EmailIcon, ErrorIcon, ExclamationTriangleIcon, ExternalLinkIcon, EyeCheckIcon, EyeIcon, EyeOffIcon, FileSpreadsheetIcon, FileTextIcon, FilterIcon, FingerprintIcon, FoldersIcon, GalleryPhotoIcon, GlassesIcon, GlobeIcon, HelpIcon, HistoryIcon, HomeIcon, ICONOS, IconoInfo, InfoIcon, KeyIcon, LinkIcon, ListIcon, LocationIcon, LockIcon, LockOpenIcon, LogInIcon, LogOutIcon, ManualIdentifierIcon, MapIcon, MaterialIcon, MenuGridIcon, MenuIcon, MinusIcon, MoonIcon, MoreIcon, NotificationIcon, PaletteIcon, PatientIcon, PatientListIcon, PatientsIcon, PhoneIcon, PiggyBankIcon, PlusIcon, PowerIcon, PrescriptionIcon, PresentationChartIcon, PrintIcon, QrCodeIcon, ReceiptIcon, RefreshIcon, RobotIcon, RobotOffIcon, SaveIcon, SearchIcon, SendIcon, SettingsIcon, ShieldCheckIcon, SmartphoneIcon, SortIcon, SpinnerIcon, StarIcon, SunIcon, SystemIdentifierIcon, TagIcon, TargetIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UploadIcon, UserCogIcon, UserManagementIcon, UserPlusIcon, UserSelectIcon, UsersIcon, WalletOpenIcon, WhatsAppIcon, ZoomInIcon, ZoomOutIcon } from '@rubenpazch/icons';
|
|
25
|
+
export { ArchiveIcon, ArrowDetailsIcon, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpIcon, BankIcon, BanknoteIcon, BrandingIcon, BriefcaseIcon, BuildingIcon, BusinessPlanIcon, CalculatorIcon, CalendarIcon, CategoriaIcono, ChartBarIcon, ChartPieIcon, CheckIcon, CheckOutIcon, CheckmarkIcon, ChecksIcon, ChevronBarIcon, ChevronIcon, CircleXIcon, CityIcon, ClinicalNotesIcon, ClipboardListIcon, ClockIcon, CloseIcon, CoinsAcceptedIcon, CoinsHandIcon, CopyIcon, CreditCardIcon, DashboardIcon, DocumentIcon, DownloadIcon, DragHandleIcon, EditIcon, EmailIcon, ErrorIcon, ExclamationTriangleIcon, ExternalLinkIcon, EyeCheckIcon, EyeIcon, EyeOffIcon, FileSpreadsheetIcon, FileTextIcon, FilterIcon, FingerprintIcon, FoldersIcon, FootballIcon, GalleryPhotoIcon, GlassesIcon, GlobeIcon, HelpIcon, HistoryIcon, HomeIcon, ICONOS, IconoInfo, IdCardIcon, InfoIcon, KeyIcon, LinkIcon, ListIcon, LocationIcon, LockIcon, LockOpenIcon, LogInIcon, LogOutIcon, ManualIdentifierIcon, MapIcon, MaterialIcon, MenuGridIcon, MenuIcon, MinusIcon, MoonIcon, MoreIcon, NewspaperIcon, NotificationIcon, PaletteIcon, PatientIcon, PatientListIcon, PatientsIcon, PhoneIcon, PiggyBankIcon, PlusIcon, PowerIcon, PrescriptionIcon, PresentationChartIcon, PrintIcon, QrCodeIcon, RadioIcon, ReceiptIcon, RectangleVerticalIcon, RefreshIcon, RobotIcon, RobotOffIcon, SaveIcon, SearchIcon, SendIcon, SettingsIcon, ShieldCheckIcon, SmartphoneIcon, SortIcon, SpinnerIcon, StarIcon, SunIcon, SystemIdentifierIcon, TagIcon, TargetIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TrophyIcon, UndoIcon, UploadIcon, UserCogIcon, UserIcon, UserManagementIcon, UserPlusIcon, UserSelectIcon, UsersIcon, VideoIcon, WalletOpenIcon, WhatsAppIcon, ZoomInIcon, ZoomOutIcon } from '@rubenpazch/icons';
|
|
24
26
|
export { DEFAULT_IDENTIFICATION_LABELS, default as IdentificationInput } from '@rubenpazch/identification-input';
|
|
25
27
|
export { DEFAULT_IMAGE_UPLOAD_LABELS, default as ImageUpload, ImageUploadLabels, ImageUploadProps } from '@rubenpazch/image-upload';
|
|
26
28
|
export { default as InfoRow } from '@rubenpazch/info-row';
|
|
29
|
+
export { Align, Center, CenterProps, Container, ContainerProps, ContainerSize, Direction, default as Flex, FlexProps, Grid, GridColumns, GridItem, GridItemProps, GridProps, Inline, InlineProps, Justify, LayoutBreakpoint, LayoutElement, PaddingProps, Responsive, Space, Spacer, SpacerProps, Stack, StackProps } from '@rubenpazch/layout';
|
|
30
|
+
export { default as List, ListItem, ListItemProps, ListProps } from '@rubenpazch/list';
|
|
27
31
|
export { default as LoadingSpinner } from '@rubenpazch/loading-spinner';
|
|
28
32
|
export { default as Menu, MenuItem, MenuProps } from '@rubenpazch/menu';
|
|
29
33
|
export { default as Modal, ModalProps, ModalSize } from '@rubenpazch/modal';
|
|
@@ -36,6 +40,7 @@ export { Breadcrumb, default as PageHeader, PageHeaderProps } from '@rubenpazch/
|
|
|
36
40
|
export { Pagination, PaginationItem, PaginationItemProps, PaginationItemType, PaginationProps, PaginationShape, PaginationSize, PaginationVariant } from '@rubenpazch/pagination';
|
|
37
41
|
export { default as PatientDetails } from '@rubenpazch/patient-details';
|
|
38
42
|
export { default as PatientSearch } from '@rubenpazch/patient-search';
|
|
43
|
+
export { default as PinInput, PinInputProps } from '@rubenpazch/pin-input';
|
|
39
44
|
export { default as PrescriptionCard } from '@rubenpazch/prescription-card';
|
|
40
45
|
export { default as PrescriptionEyeCard, PrescriptionEyeCardLabels, PrescriptionEyeCardProps, PrescriptionEyeInfo } from '@rubenpazch/prescription-eye-card';
|
|
41
46
|
export { default as ProgressBar, ProgressBarProps } from '@rubenpazch/progress-bar';
|
package/dist/index.esm.js
CHANGED
|
@@ -5,10 +5,12 @@ export { default as AuthGate, AuthScreen } from '@rubenpazch/auth-gate';
|
|
|
5
5
|
export { default as Autocomplete } from '@rubenpazch/autocomplete';
|
|
6
6
|
export { Avatar, AvatarGroup } from '@rubenpazch/avatar';
|
|
7
7
|
export { default as Badge } from '@rubenpazch/badge';
|
|
8
|
+
export { default as BottomNavigation } from '@rubenpazch/bottom-navigation';
|
|
8
9
|
export { default as Button } from '@rubenpazch/button';
|
|
9
10
|
export { default as Card, CardBody, CardFooter, CardHeader } from '@rubenpazch/card';
|
|
10
|
-
export { default as CheckboxInput } from '@rubenpazch/checkbox-input';
|
|
11
|
+
export { CheckboxGroup, default as CheckboxInput } from '@rubenpazch/checkbox-input';
|
|
11
12
|
export { default as Chip } from '@rubenpazch/chip';
|
|
13
|
+
export { default as Collapsible } from '@rubenpazch/collapsible';
|
|
12
14
|
export { default as ConfirmationDialog } from '@rubenpazch/confirmation-dialog';
|
|
13
15
|
export { default as DataTable } from '@rubenpazch/data-table';
|
|
14
16
|
export { default as DateInput } from '@rubenpazch/date-input';
|
|
@@ -21,10 +23,12 @@ export { default as EmptyState } from '@rubenpazch/empty-state';
|
|
|
21
23
|
export { DEFAULT_FILE_UPLOAD_LABELS, default as FileUpload, aceptaArchivo } from '@rubenpazch/file-upload';
|
|
22
24
|
export { FormActions, default as FormField, FormRow } from '@rubenpazch/form-field';
|
|
23
25
|
export { default as IconButton } from '@rubenpazch/icon-button';
|
|
24
|
-
export { ArchiveIcon, ArrowDetailsIcon, ArrowLeftIcon, ArrowRightIcon, BankIcon, BanknoteIcon, BrandingIcon, BriefcaseIcon, BuildingIcon, BusinessPlanIcon, CalculatorIcon, CalendarIcon, ChartBarIcon, ChartPieIcon, CheckIcon, CheckOutIcon, CheckmarkIcon, ChecksIcon, ChevronBarIcon, ChevronIcon, CircleXIcon, CityIcon, ClinicalNotesIcon, ClipboardListIcon, ClockIcon, CloseIcon, CoinsAcceptedIcon, CoinsHandIcon, CopyIcon, CreditCardIcon, DashboardIcon, DocumentIcon, DownloadIcon, DragHandleIcon, EditIcon, EmailIcon, ErrorIcon, ExclamationTriangleIcon, ExternalLinkIcon, EyeCheckIcon, EyeIcon, EyeOffIcon, FileSpreadsheetIcon, FileTextIcon, FilterIcon, FingerprintIcon, FoldersIcon, GalleryPhotoIcon, GlassesIcon, GlobeIcon, HelpIcon, HistoryIcon, HomeIcon, ICONOS, InfoIcon, KeyIcon, LinkIcon, ListIcon, LocationIcon, LockIcon, LockOpenIcon, LogInIcon, LogOutIcon, ManualIdentifierIcon, MapIcon, MaterialIcon, MenuGridIcon, MenuIcon, MinusIcon, MoonIcon, MoreIcon, NotificationIcon, PaletteIcon, PatientIcon, PatientListIcon, PatientsIcon, PhoneIcon, PiggyBankIcon, PlusIcon, PowerIcon, PrescriptionIcon, PresentationChartIcon, PrintIcon, QrCodeIcon, ReceiptIcon, RefreshIcon, RobotIcon, RobotOffIcon, SaveIcon, SearchIcon, SendIcon, SettingsIcon, ShieldCheckIcon, SmartphoneIcon, SortIcon, SpinnerIcon, StarIcon, SunIcon, SystemIdentifierIcon, TagIcon, TargetIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UploadIcon, UserCogIcon, UserManagementIcon, UserPlusIcon, UserSelectIcon, UsersIcon, WalletOpenIcon, WhatsAppIcon, ZoomInIcon, ZoomOutIcon } from '@rubenpazch/icons';
|
|
26
|
+
export { ArchiveIcon, ArrowDetailsIcon, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpIcon, BankIcon, BanknoteIcon, BrandingIcon, BriefcaseIcon, BuildingIcon, BusinessPlanIcon, CalculatorIcon, CalendarIcon, ChartBarIcon, ChartPieIcon, CheckIcon, CheckOutIcon, CheckmarkIcon, ChecksIcon, ChevronBarIcon, ChevronIcon, CircleXIcon, CityIcon, ClinicalNotesIcon, ClipboardListIcon, ClockIcon, CloseIcon, CoinsAcceptedIcon, CoinsHandIcon, CopyIcon, CreditCardIcon, DashboardIcon, DocumentIcon, DownloadIcon, DragHandleIcon, EditIcon, EmailIcon, ErrorIcon, ExclamationTriangleIcon, ExternalLinkIcon, EyeCheckIcon, EyeIcon, EyeOffIcon, FileSpreadsheetIcon, FileTextIcon, FilterIcon, FingerprintIcon, FoldersIcon, FootballIcon, GalleryPhotoIcon, GlassesIcon, GlobeIcon, HelpIcon, HistoryIcon, HomeIcon, ICONOS, IdCardIcon, InfoIcon, KeyIcon, LinkIcon, ListIcon, LocationIcon, LockIcon, LockOpenIcon, LogInIcon, LogOutIcon, ManualIdentifierIcon, MapIcon, MaterialIcon, MenuGridIcon, MenuIcon, MinusIcon, MoonIcon, MoreIcon, NewspaperIcon, NotificationIcon, PaletteIcon, PatientIcon, PatientListIcon, PatientsIcon, PhoneIcon, PiggyBankIcon, PlusIcon, PowerIcon, PrescriptionIcon, PresentationChartIcon, PrintIcon, QrCodeIcon, RadioIcon, ReceiptIcon, RectangleVerticalIcon, RefreshIcon, RobotIcon, RobotOffIcon, SaveIcon, SearchIcon, SendIcon, SettingsIcon, ShieldCheckIcon, SmartphoneIcon, SortIcon, SpinnerIcon, StarIcon, SunIcon, SystemIdentifierIcon, TagIcon, TargetIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TrophyIcon, UndoIcon, UploadIcon, UserCogIcon, UserIcon, UserManagementIcon, UserPlusIcon, UserSelectIcon, UsersIcon, VideoIcon, WalletOpenIcon, WhatsAppIcon, ZoomInIcon, ZoomOutIcon } from '@rubenpazch/icons';
|
|
25
27
|
export { DEFAULT_IDENTIFICATION_LABELS, default as IdentificationInput } from '@rubenpazch/identification-input';
|
|
26
28
|
export { DEFAULT_IMAGE_UPLOAD_LABELS, default as ImageUpload } from '@rubenpazch/image-upload';
|
|
27
29
|
export { default as InfoRow } from '@rubenpazch/info-row';
|
|
30
|
+
export { Center, Container, default as Flex, Grid, GridItem, Inline, Spacer, Stack } from '@rubenpazch/layout';
|
|
31
|
+
export { default as List, ListItem } from '@rubenpazch/list';
|
|
28
32
|
export { default as LoadingSpinner } from '@rubenpazch/loading-spinner';
|
|
29
33
|
export { default as Menu } from '@rubenpazch/menu';
|
|
30
34
|
export { default as Modal } from '@rubenpazch/modal';
|
|
@@ -37,6 +41,7 @@ export { default as PageHeader } from '@rubenpazch/page-header';
|
|
|
37
41
|
export { Pagination, PaginationItem } from '@rubenpazch/pagination';
|
|
38
42
|
export { default as PatientDetails } from '@rubenpazch/patient-details';
|
|
39
43
|
export { default as PatientSearch } from '@rubenpazch/patient-search';
|
|
44
|
+
export { default as PinInput } from '@rubenpazch/pin-input';
|
|
40
45
|
export { default as PrescriptionCard } from '@rubenpazch/prescription-card';
|
|
41
46
|
export { default as PrescriptionEyeCard } from '@rubenpazch/prescription-eye-card';
|
|
42
47
|
export { default as ProgressBar } from '@rubenpazch/progress-bar';
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|