@nomosui/react 0.5.0 → 0.5.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.
package/README.md CHANGED
@@ -54,12 +54,18 @@ npm run build:package # dist/index.js + dist/mcp/bin.js + types
54
54
  npm run smoke:consumer # installs the tarball in a fresh project and exercises it
55
55
  ```
56
56
 
57
+ ## Roadmap
58
+
59
+ The milestones — v1.0 (a public static site, docs and a component showcase) and v2.0
60
+ (an app-bootstrapper MCP, the north star) — live in [`ROADMAP.md`](ROADMAP.md).
61
+
57
62
  ## Decisions
58
63
 
59
64
  The structural decisions live in `docs/adr/`. Start with 0002 (app-agnostic core), 0003 (the
60
65
  theme interface), 0004 (`tokens.json` as the single source), 0005 (the catalogue manifest),
61
- 0017 (the name), 0024 (the public surface), 0026 (Nomos goes public) and 0027 (overlay:
62
- layer, scrim and motion as tokens).
66
+ 0017 (the name), 0024 (the public surface), 0026 (Nomos goes public), 0027 (overlay:
67
+ layer, scrim and motion as tokens) and 0028 (the repo root is the package and its
68
+ ancillaries).
63
69
 
64
70
  ## License
65
71
 
package/dist/index.js CHANGED
@@ -297,7 +297,7 @@ var alertDialogManifest = {
297
297
  summary: "Une modale de confirmation bloquante : un titre, une description, et deux issues — agir ou annuler. Livrée en parts importables séparément ; tous les libellés viennent de l’app.",
298
298
  level: "bloc",
299
299
  example: {
300
- open: true,
300
+ defaultOpen: true,
301
301
  children: createElement(Fragment$1, null, createElement(AlertDialogTrigger, { className: buttonVariants({ variant: "outline" }) }, "Supprimer"), createElement(AlertDialogContent, null, createElement(AlertDialogHeader, null, createElement(AlertDialogTitle, null, "Supprimer ?"), createElement(AlertDialogDescription, null, "Cette action est définitive.")), createElement(AlertDialogFooter, null, createElement(AlertDialogCancel, null, "Annuler"), createElement(AlertDialogAction, null, "Supprimer"))))
302
302
  },
303
303
  variants: [],
@@ -1074,7 +1074,7 @@ var dialogManifest = {
1074
1074
  body: "Le contenu de la modale.",
1075
1075
  footer: "Actions",
1076
1076
  closeLabel: "Fermer",
1077
- open: true
1077
+ defaultOpen: true
1078
1078
  },
1079
1079
  variants: [],
1080
1080
  props: [
@@ -1259,7 +1259,7 @@ var dropdownMenuManifest = {
1259
1259
  summary: "Un menu flottant ouvert par un déclencheur : des items simples, à cocher, radio, ou un sous-menu, séparés par des traits. Livré en parts importables séparément ; l’app fournit les libellés et les actions.",
1260
1260
  level: "primitive",
1261
1261
  example: {
1262
- open: true,
1262
+ defaultOpen: true,
1263
1263
  children: createElement(Fragment$1, null, createElement(DropdownMenuTrigger, { className: buttonVariants({ variant: "outline" }) }, "Actions"), createElement(DropdownMenuContent, { align: "start" }, createElement(DropdownMenuLabel, null, "Colonnes"), createElement(DropdownMenuItem, null, "Nom"), createElement(DropdownMenuItem, null, "Statut"), createElement(DropdownMenuSeparator, null), createElement(DropdownMenuItem, null, "Réinitialiser")))
1264
1264
  },
1265
1265
  variants: [],
@@ -1792,7 +1792,7 @@ var popoverManifest = {
1792
1792
  summary: "Une surface flottante de contenu riche, ouverte au clic d’un déclencheur. Livrée en parts importables séparément ; le contenu et ses libellés viennent de l’app.",
1793
1793
  level: "primitive",
1794
1794
  example: {
1795
- open: true,
1795
+ defaultOpen: true,
1796
1796
  children: createElement(Fragment$1, null, createElement(PopoverTrigger, { className: buttonVariants({ variant: "outline" }) }, "Filtres"), createElement(PopoverContent, { align: "start" }, "Le contenu de la bulle."))
1797
1797
  },
1798
1798
  variants: [],
@@ -3041,6 +3041,7 @@ function FacetedDataTable({ data, renderColumns, facets, globalFilterFn, labels,
3041
3041
  features: dataTableFeatures,
3042
3042
  data,
3043
3043
  columns,
3044
+ autoResetPageIndex: false,
3044
3045
  state: {
3045
3046
  sorting,
3046
3047
  globalFilter: current.globalFilter,
@@ -3213,7 +3214,7 @@ var sheetManifest = {
3213
3214
  summary: "Un panneau ancré à un bord de l’écran, sur un voile : un déclencheur, un en-tête (titre, description), un corps et un pied. Livré en parts importables séparément ; `side=\"bottom\"` est le drawer.",
3214
3215
  level: "bloc",
3215
3216
  example: {
3216
- open: true,
3217
+ defaultOpen: true,
3217
3218
  children: createElement(Fragment$1, null, createElement(SheetTrigger, { className: buttonVariants({ variant: "outline" }) }, "Ouvrir"), createElement(SheetContent, { side: "right" }, createElement(SheetHeader, null, createElement(SheetTitle, null, "Panneau"), createElement(SheetDescription, null, "Une description courte.")), "Le contenu du panneau."))
3218
3219
  },
3219
3220
  variants: [{