@axzydev/axzy_ui_system 1.3.1 → 1.3.3
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/README.md +6 -2
- package/dist/index.cjs +957 -554
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.cts +191 -9
- package/dist/index.d.ts +191 -9
- package/dist/index.js +908 -505
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/App.tsx +150 -154
- package/src/components/molecules/table/table.doc.mdx +64 -21
- package/src/components/molecules/table/table.props.ts +81 -2
- package/src/components/molecules/table/table.stories.tsx +155 -0
- package/src/components/molecules/table/table.tsx +178 -36
- package/src/components/organisms/data-table/ITDataTable.doc.mdx +37 -3
- package/src/components/organisms/data-table/ITDataTable.stories.tsx +43 -0
- package/src/components/organisms/data-table/dataTable.props.ts +64 -0
- package/src/components/organisms/data-table/dataTable.tsx +241 -82
- package/src/components/organisms/sidebar/sidebar.doc.mdx +5 -0
- package/src/components/organisms/sidebar/sidebar.props.ts +5 -0
- package/src/components/organisms/sidebar/sidebar.stories.tsx +1 -1
- package/src/components/organisms/sidebar/sidebar.tsx +27 -7
- package/src/components/organisms/topbar/topbar.doc.mdx +3 -0
- package/src/components/organisms/topbar/topbar.props.ts +16 -0
- package/src/components/organisms/topbar/topbar.tsx +133 -98
- package/src/components/templates/layout/layout.doc.mdx +2 -0
- package/src/components/templates/layout/layout.tsx +7 -1
- package/src/components/templates/page/page.doc.mdx +8 -2
- package/src/components/templates/page/page.props.ts +11 -1
- package/src/components/templates/page/page.tsx +11 -1
- package/src/components/theme-provider/themePresets.ts +6 -0
- package/src/components/theme-provider/themeProvider.doc.mdx +1 -0
- package/src/components/theme-provider/themeProvider.props.ts +2 -0
- package/src/components/theme-provider/themeProvider.tsx +13 -2
- package/src/dev.css +58 -1
- package/src/hooks/useElementSize.ts +46 -0
- package/src/hooks/useVirtualRows.ts +123 -0
- package/src/index.ts +2 -0
- package/src/sandbox/LandingShowcase.tsx +654 -0
- package/src/sandbox/NotFoundShowcase.tsx +70 -0
- package/src/sandbox/TopbarSearch.tsx +85 -0
- package/src/sandbox/navigation.ts +148 -0
- package/src/sandbox/useHashRoute.ts +149 -0
- package/src/showcases/DataShowcases.tsx +321 -24
- package/src/showcases/PageShowcases.tsx +31 -0
- package/src/showcases/StructureShowcases.tsx +42 -4
- package/src/theme/theme.types.ts +2 -0
- package/src/types/table.types.ts +48 -0
- package/src/utils/styles.ts +12 -5
- package/src/utils/table.utils.ts +31 -0
package/README.md
CHANGED
|
@@ -116,6 +116,10 @@ pnpm dev
|
|
|
116
116
|
|
|
117
117
|
Abre `http://localhost:5173` para ver el Interactive Sandbox con todos los componentes.
|
|
118
118
|
|
|
119
|
+
El sandbox usa hash routing: `#ui-system` (landing), `#ui-system/<grupo>/<item>` (componente), p. ej.
|
|
120
|
+
`http://localhost:5173/#ui-system/forms/input`. La tabla de rutas y slugs vive en
|
|
121
|
+
`src/sandbox/navigation.ts`.
|
|
122
|
+
|
|
119
123
|
### 3. Storybook (documentación visual)
|
|
120
124
|
|
|
121
125
|
```bash
|
|
@@ -125,7 +129,7 @@ pnpm storybook
|
|
|
125
129
|
### 4. Build de producción
|
|
126
130
|
|
|
127
131
|
```bash
|
|
128
|
-
pnpm build #
|
|
132
|
+
pnpm build # alias de pnpm bundle (tsup + CSS)
|
|
129
133
|
pnpm bundle # tsup + CSS
|
|
130
134
|
```
|
|
131
135
|
|
|
@@ -136,7 +140,7 @@ pnpm bundle # tsup + CSS
|
|
|
136
140
|
| Comando | Descripción |
|
|
137
141
|
|---------|-------------|
|
|
138
142
|
| `pnpm dev` | Sandbox interactivo (Vite) |
|
|
139
|
-
| `pnpm build` |
|
|
143
|
+
| `pnpm build` | Alias de `pnpm bundle` (tsup + CSS) |
|
|
140
144
|
| `pnpm build:app` | Build de la app sandbox |
|
|
141
145
|
| `pnpm bundle` | Bundle del paquete (tsup + CSS) |
|
|
142
146
|
| `pnpm watch` | Watch mode para desarrollo del paquete |
|