@axzydev/axzy_ui_system 1.3.1 → 1.3.2

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.
Files changed (45) hide show
  1. package/README.md +6 -2
  2. package/dist/index.cjs +930 -544
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.css +1 -1
  5. package/dist/index.d.cts +187 -9
  6. package/dist/index.d.ts +187 -9
  7. package/dist/index.js +881 -495
  8. package/dist/index.js.map +1 -1
  9. package/package.json +1 -1
  10. package/src/App.tsx +150 -154
  11. package/src/components/molecules/table/table.doc.mdx +64 -21
  12. package/src/components/molecules/table/table.props.ts +81 -2
  13. package/src/components/molecules/table/table.stories.tsx +155 -0
  14. package/src/components/molecules/table/table.tsx +177 -36
  15. package/src/components/organisms/data-table/ITDataTable.doc.mdx +37 -3
  16. package/src/components/organisms/data-table/ITDataTable.stories.tsx +43 -0
  17. package/src/components/organisms/data-table/dataTable.props.ts +64 -0
  18. package/src/components/organisms/data-table/dataTable.tsx +240 -82
  19. package/src/components/organisms/sidebar/sidebar.doc.mdx +5 -0
  20. package/src/components/organisms/sidebar/sidebar.props.ts +5 -0
  21. package/src/components/organisms/sidebar/sidebar.stories.tsx +1 -1
  22. package/src/components/organisms/sidebar/sidebar.tsx +27 -7
  23. package/src/components/organisms/topbar/topbar.doc.mdx +3 -0
  24. package/src/components/organisms/topbar/topbar.props.ts +16 -0
  25. package/src/components/organisms/topbar/topbar.tsx +133 -98
  26. package/src/components/templates/layout/layout.doc.mdx +2 -0
  27. package/src/components/templates/layout/layout.tsx +7 -1
  28. package/src/components/templates/page/page.doc.mdx +8 -2
  29. package/src/components/templates/page/page.props.ts +11 -1
  30. package/src/components/templates/page/page.tsx +11 -1
  31. package/src/dev.css +58 -1
  32. package/src/hooks/useElementSize.ts +46 -0
  33. package/src/hooks/useVirtualRows.ts +123 -0
  34. package/src/index.ts +2 -0
  35. package/src/sandbox/LandingShowcase.tsx +465 -0
  36. package/src/sandbox/NotFoundShowcase.tsx +70 -0
  37. package/src/sandbox/TopbarSearch.tsx +85 -0
  38. package/src/sandbox/navigation.ts +148 -0
  39. package/src/sandbox/useHashRoute.ts +149 -0
  40. package/src/showcases/DataShowcases.tsx +321 -24
  41. package/src/showcases/PageShowcases.tsx +31 -0
  42. package/src/showcases/StructureShowcases.tsx +42 -4
  43. package/src/types/table.types.ts +48 -0
  44. package/src/utils/styles.ts +9 -4
  45. 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 # TypeScript + Vite
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` | TypeScript + Vite 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 |