@vadimcomanescu/nadicode-design-system 5.0.2 → 6.0.1

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 (188) hide show
  1. package/.agents/skills/seed/SKILL.md +2 -2
  2. package/.agents/skills/seed/references/composition.md +1 -1
  3. package/README.md +1 -1
  4. package/contracts/message-catalog-contract.json +9 -3
  5. package/contracts/release-governance-baseline.json +2 -2
  6. package/dist/{TeamPage-UO3V2JDK.js → TeamPage-XL574KIF.js} +54 -53
  7. package/dist/catalog/catalog.d.ts +290 -10
  8. package/dist/catalog/catalog.js +12 -12
  9. package/dist/catalog/components.d.ts +18 -16
  10. package/dist/catalog/components.js +53 -52
  11. package/dist/catalog/definitions/blocks-agent.d.ts +35 -2
  12. package/dist/catalog/definitions/blocks-agent.js +1 -1
  13. package/dist/catalog/definitions/blocks-auth.d.ts +40 -0
  14. package/dist/catalog/definitions/blocks-auth.js +1 -1
  15. package/dist/catalog/definitions/blocks-content.d.ts +22 -0
  16. package/dist/catalog/definitions/blocks-content.js +1 -1
  17. package/dist/catalog/definitions/blocks-crud.d.ts +102 -2
  18. package/dist/catalog/definitions/blocks-crud.js +1 -1
  19. package/dist/catalog/definitions/blocks-data.d.ts +58 -2
  20. package/dist/catalog/definitions/blocks-data.js +1 -1
  21. package/dist/catalog/definitions/blocks-marketing.d.ts +29 -4
  22. package/dist/catalog/definitions/blocks-marketing.js +1 -1
  23. package/dist/catalog/definitions/blocks-misc.d.ts +2 -0
  24. package/dist/catalog/definitions/blocks-misc.js +1 -1
  25. package/dist/catalog/definitions/display.d.ts +2 -0
  26. package/dist/catalog/definitions/display.js +1 -1
  27. package/dist/catalog/definitions/index.d.ts +290 -10
  28. package/dist/catalog/definitions/index.js +11 -11
  29. package/dist/catalog/primitives/chat.d.ts +2 -2
  30. package/dist/catalog/primitives/chat.js +1 -1
  31. package/dist/catalog/primitives/display.d.ts +7 -7
  32. package/dist/catalog/primitives/display.js +3 -3
  33. package/dist/catalog/primitives/form.d.ts +1 -1
  34. package/dist/catalog/primitives/form.js +1 -1
  35. package/dist/catalog/primitives/index.d.ts +14 -14
  36. package/dist/catalog/primitives/index.js +10 -10
  37. package/dist/catalog/primitives/layout.d.ts +1 -1
  38. package/dist/catalog/primitives/layout.js +1 -1
  39. package/dist/catalog/primitives/navigation.d.ts +4 -4
  40. package/dist/catalog/primitives/navigation.js +1 -1
  41. package/dist/catalog/primitives/overlay.d.ts +2 -2
  42. package/dist/catalog/primitives/overlay.js +1 -1
  43. package/dist/{chunk-PQOL3E2V.js → chunk-25QQEKGR.js} +7 -7
  44. package/dist/{chunk-XLN4NVKU.js → chunk-2BCMZV5U.js} +17 -10
  45. package/dist/{chunk-VQVWFCHF.js → chunk-2OEVKFZ2.js} +10 -10
  46. package/dist/{chunk-V4NBPGED.js → chunk-2UY4XZC6.js} +3 -1
  47. package/dist/{chunk-AP5SGSN7.js → chunk-3MGQGQTS.js} +8 -0
  48. package/dist/{chunk-WGQHM56J.js → chunk-4BG7ILL5.js} +43 -41
  49. package/dist/{chunk-OWWQP3YW.js → chunk-4DQMGKPG.js} +2 -2
  50. package/dist/{chunk-JDHD4L6N.js → chunk-4NRASS74.js} +1 -1
  51. package/dist/{chunk-4ZST7OY5.js → chunk-5DLTCQN4.js} +29 -7
  52. package/dist/{chunk-NBDUZA66.js → chunk-5HFOPRXI.js} +18 -13
  53. package/dist/{chunk-DSNPOAE6.js → chunk-5S34SGPQ.js} +7 -2
  54. package/dist/{chunk-BVXSAVKY.js → chunk-72EJ2TYY.js} +7 -10
  55. package/dist/{chunk-3BGWXRQC.js → chunk-7U55EQZD.js} +8 -11
  56. package/dist/{chunk-MPVYXUOD.js → chunk-A2IYJPTF.js} +3 -1
  57. package/dist/chunk-ACIJEUAH.js +213 -0
  58. package/dist/{chunk-PD6WW7E5.js → chunk-BRESMZ6G.js} +2 -5
  59. package/dist/{chunk-Q4CRHV5T.js → chunk-BVOJIX27.js} +55 -10
  60. package/dist/{chunk-PYRHNONA.js → chunk-CJDVIJEF.js} +6 -5
  61. package/dist/{chunk-FSU7ZM5V.js → chunk-CJT7SZNI.js} +8 -15
  62. package/dist/{chunk-PQBVNNEG.js → chunk-DEILZQEX.js} +12 -3
  63. package/dist/chunk-DORWHCRI.js +112 -0
  64. package/dist/{chunk-EJQ73FJ5.js → chunk-DW3XHDFX.js} +70 -15
  65. package/dist/{chunk-ZL6BPQNN.js → chunk-EKSXBDOA.js} +23 -11
  66. package/dist/{chunk-UCFR7GLW.js → chunk-EX5AIP2Q.js} +4 -4
  67. package/dist/chunk-F4BPNMAD.js +185 -0
  68. package/dist/{chunk-STNVWBJH.js → chunk-FGGGUS5L.js} +1 -1
  69. package/dist/{chunk-IZ7A62GI.js → chunk-GBKAQWME.js} +23 -23
  70. package/dist/{chunk-XYMFKNKG.js → chunk-GW7A5G4W.js} +26 -5
  71. package/dist/{chunk-IW36SVOH.js → chunk-HBVZYYTD.js} +79 -12
  72. package/dist/{chunk-P5I63ETD.js → chunk-HZ6WO2OD.js} +30 -3
  73. package/dist/{chunk-MOFWXBTK.js → chunk-IWFPYUHD.js} +1 -1
  74. package/dist/{chunk-CQ75K2DH.js → chunk-JA6QAEVX.js} +15 -13
  75. package/dist/{chunk-YEAJLVGB.js → chunk-JYDPEIAA.js} +31 -22
  76. package/dist/chunk-KEQFAIPJ.js +84 -0
  77. package/dist/{chunk-QCFDSOTV.js → chunk-KPRBRDSY.js} +6 -11
  78. package/dist/{chunk-W4KI424V.js → chunk-KRNAMBZZ.js} +5 -3
  79. package/dist/{chunk-XMGWLDNG.js → chunk-KSJUX6EA.js} +2 -2
  80. package/dist/{chunk-5RBO2IMZ.js → chunk-KYLXPIFE.js} +23 -16
  81. package/dist/{chunk-B4373MDA.js → chunk-M4AK7ZXY.js} +8 -1
  82. package/dist/{chunk-KANK5FAG.js → chunk-M5MUMF7S.js} +15 -6
  83. package/dist/{chunk-WAIZR4CR.js → chunk-MIVKO3MG.js} +3 -2
  84. package/dist/{chunk-FX3GYS5O.js → chunk-N3WTIJIB.js} +19 -3
  85. package/dist/{chunk-H3KTAHJP.js → chunk-NPJN6OLX.js} +11 -20
  86. package/dist/{chunk-7AUNUDHM.js → chunk-NPNQGXA7.js} +47 -13
  87. package/dist/{chunk-D6MFOI3N.js → chunk-OO2K4JUF.js} +35 -7
  88. package/dist/{chunk-3QMHVXSQ.js → chunk-OPX27RJE.js} +12 -2
  89. package/dist/{chunk-KKBTPNXT.js → chunk-QJ5ODJTH.js} +5 -1
  90. package/dist/{chunk-ZKA5X3E4.js → chunk-QLNATCF6.js} +5 -11
  91. package/dist/{chunk-ZU7MDRCI.js → chunk-RI4IK37T.js} +26 -11
  92. package/dist/{chunk-YMAEXGD2.js → chunk-RPUONGMF.js} +7 -2
  93. package/dist/{chunk-XUWKGDUY.js → chunk-S4ZZ3SJU.js} +32 -22
  94. package/dist/{chunk-6NL36QN3.js → chunk-T3ASBCI3.js} +8 -2
  95. package/dist/{chunk-R4SBK6Y5.js → chunk-T3J7RZV6.js} +9 -19
  96. package/dist/{chunk-UPMSE6PQ.js → chunk-TCDBSHAY.js} +4 -2
  97. package/dist/{chunk-PJ7DVYWA.js → chunk-TOMUOPVE.js} +4 -0
  98. package/dist/{chunk-OS2BLQ2G.js → chunk-TYNILBCP.js} +7 -2
  99. package/dist/{chunk-V5RSV4ZV.js → chunk-VTIT5C7L.js} +17 -3
  100. package/dist/{chunk-33UWVOQ6.js → chunk-WS6PKHGX.js} +1 -1
  101. package/dist/chunk-X5BYH7WG.js +27 -0
  102. package/dist/{chunk-IYK2ABFE.js → chunk-XMXH63A7.js} +2 -2
  103. package/dist/{chunk-3LROWCZE.js → chunk-XVV52J35.js} +24 -5
  104. package/dist/{chunk-OUXJUUCB.js → chunk-XZZVSBPC.js} +34 -3
  105. package/dist/{chunk-UMEBNHKR.js → chunk-YGB5BFFI.js} +4 -2
  106. package/dist/{chunk-CTVV6JS6.js → chunk-Z3NGVHHE.js} +1 -1
  107. package/dist/{chunk-A4QNTJUR.js → chunk-ZCYD22F2.js} +51 -7
  108. package/dist/components/blocks/AgentConversationBlock.d.ts +1 -1
  109. package/dist/components/blocks/AgentConversationBlock.js +107 -1
  110. package/dist/components/blocks/ApiKeysBlock.js +3 -1
  111. package/dist/components/blocks/AuthLayout.js +3 -2
  112. package/dist/components/blocks/BlogIndexBlock.d.ts +1 -1
  113. package/dist/components/blocks/BlogIndexBlock.js +1 -1
  114. package/dist/components/blocks/CallToActionBlock.d.ts +1 -1
  115. package/dist/components/blocks/CallToActionBlock.js +1 -2
  116. package/dist/components/blocks/ChartCollectionBlock.d.ts +1 -1
  117. package/dist/components/blocks/ChartCollectionBlock.js +2 -1
  118. package/dist/components/blocks/ChatLayout.d.ts +1 -1
  119. package/dist/components/blocks/ChatLayout.js +1 -2
  120. package/dist/components/blocks/CheckEmailBlock.js +2 -1
  121. package/dist/components/blocks/CommandPaletteBlock.js +1 -1
  122. package/dist/components/blocks/ContactBlock.js +2 -2
  123. package/dist/components/blocks/CreateBlock.js +2 -1
  124. package/dist/components/blocks/CrudListBlock.js +1 -1
  125. package/dist/components/blocks/DashboardBlock.js +2 -2
  126. package/dist/components/blocks/DataGridBlock.d.ts +3 -3
  127. package/dist/components/blocks/DataGridBlock.js +4 -2
  128. package/dist/components/blocks/DirectoryBlock.d.ts +1 -1
  129. package/dist/components/blocks/DirectoryBlock.js +1 -1
  130. package/dist/components/blocks/FAQBlock.d.ts +1 -1
  131. package/dist/components/blocks/FAQBlock.js +1 -1
  132. package/dist/components/blocks/FooterBlock.d.ts +1 -1
  133. package/dist/components/blocks/FooterBlock.js +1 -2
  134. package/dist/components/blocks/FormFieldBlock.d.ts +1 -1
  135. package/dist/components/blocks/FormFieldBlock.js +1 -1
  136. package/dist/components/blocks/GalleryBlock.d.ts +1 -1
  137. package/dist/components/blocks/GalleryBlock.js +1 -1
  138. package/dist/components/blocks/HeaderBlock.d.ts +1 -1
  139. package/dist/components/blocks/HeaderBlock.js +1 -2
  140. package/dist/components/blocks/HeroBlock.js +1 -2
  141. package/dist/components/blocks/IntegrationsBlock.js +2 -2
  142. package/dist/components/blocks/LoginBlock.js +2 -1
  143. package/dist/components/blocks/LogoCloud.js +2 -2
  144. package/dist/components/blocks/NewsletterBlock.js +2 -2
  145. package/dist/components/blocks/OnboardingFlowBlock.js +1 -1
  146. package/dist/components/blocks/PasswordRecoveryBlock.d.ts +3 -1
  147. package/dist/components/blocks/PasswordRecoveryBlock.js +2 -2
  148. package/dist/components/blocks/PricingBlock.d.ts +3 -1
  149. package/dist/components/blocks/PricingBlock.js +1 -1
  150. package/dist/components/blocks/ResetPasswordBlock.js +1 -1
  151. package/dist/components/blocks/SettingsNavBlock.d.ts +1 -1
  152. package/dist/components/blocks/SettingsNavBlock.js +1 -1
  153. package/dist/components/blocks/StatsMarketingBlock.js +1 -2
  154. package/dist/components/blocks/TeamManagementBlock.d.ts +3 -0
  155. package/dist/components/blocks/TeamManagementBlock.js +129 -0
  156. package/dist/components/blocks/TeamShowcaseBlock.d.ts +3 -0
  157. package/dist/components/blocks/{TeamBlock.js → TeamShowcaseBlock.js} +1 -1
  158. package/dist/components/blocks/TestimonialsBlock.js +2 -2
  159. package/dist/components/blocks/TwoFactorSetupBlock.d.ts +3 -1
  160. package/dist/components/blocks/TwoFactorSetupBlock.js +1 -2
  161. package/dist/components/blocks/WizardBlock.js +1 -1
  162. package/dist/components/blocks/user/InviteUserModal.js +2 -1
  163. package/dist/components/logos/index.js +1 -1
  164. package/dist/components/ui/CheckoutForm.js +1 -1
  165. package/dist/components/ui/DataTable.d.ts +4 -2
  166. package/dist/components/ui/DataTable.js +1 -1
  167. package/dist/components/ui/NavUser.d.ts +1 -1
  168. package/dist/components/ui/NavUser.js +1 -1
  169. package/dist/components/ui/SettingsModal.d.ts +2 -1
  170. package/dist/components/ui/SettingsModal.js +1 -1
  171. package/dist/components/ui/WorkspaceSwitcherBlock.js +1 -1
  172. package/dist/lib/json-render/app.js +1 -1
  173. package/dist/lib/json-render/catalog.d.ts +122 -8
  174. package/dist/lib/json-render/catalog.js +13 -13
  175. package/dist/lib/json-render/registry.js +13 -13
  176. package/dist/lib/json-render/showcase-spec.js +1 -1
  177. package/dist/messages/en.js +1 -1
  178. package/dist/messages/it.js +1 -1
  179. package/dist/test/PublicSeedTestProvider.js +2 -2
  180. package/eslint-rules/nadicode/data/catalog-names.json +2 -1
  181. package/eslint-rules/nadicode/rules/__tests__/require-catalog-import.test.js +0 -5
  182. package/eslint-rules/nadicode/rules/require-catalog-import.js +0 -1
  183. package/package.json +1 -1
  184. package/dist/chunk-6OBT3A5O.js +0 -21
  185. package/dist/chunk-NDQO7AO6.js +0 -105
  186. package/dist/chunk-TTDKPZ75.js +0 -45
  187. package/dist/chunk-YB3J4ZRZ.js +0 -180
  188. package/dist/components/blocks/TeamBlock.d.ts +0 -3
@@ -1,180 +0,0 @@
1
- import { HeatmapChartBlock } from './chunk-767GZSNJ.js';
2
- import { AreaChart } from './chunk-ZTNHUABC.js';
3
- import { BarChart } from './chunk-JICACDAV.js';
4
- import { LineChart } from './chunk-Z2NBLCSD.js';
5
- import { PieChart } from './chunk-O4QTL2EQ.js';
6
- import { RadarChart } from './chunk-UFZH45UL.js';
7
- import { RadialBarChart } from './chunk-RAVRFGA5.js';
8
- import { StaggerChildren } from './chunk-DQPK2XRL.js';
9
- import { Card, CardHeader, CardTitle, CardDescription, CardContent } from './chunk-7UY24UWL.js';
10
- import { jsxs, jsx } from 'react/jsx-runtime';
11
-
12
- var noop = () => {
13
- };
14
- var noopOn = () => ({ emit: noop, shouldPreventDefault: false, bound: false });
15
- var areaData = [
16
- { month: "Jan", desktop: 186, mobile: 80 },
17
- { month: "Feb", desktop: 305, mobile: 200 },
18
- { month: "Mar", desktop: 237, mobile: 120 },
19
- { month: "Apr", desktop: 73, mobile: 190 },
20
- { month: "May", desktop: 209, mobile: 130 },
21
- { month: "Jun", desktop: 214, mobile: 140 }
22
- ];
23
- var chartData = [
24
- { browser: "chrome", visitors: 275, fill: "rgb(var(--chart-1))" },
25
- { browser: "safari", visitors: 200, fill: "rgb(var(--chart-2))" },
26
- { browser: "firefox", visitors: 187, fill: "rgb(var(--chart-3))" },
27
- { browser: "edge", visitors: 173, fill: "rgb(var(--chart-4))" },
28
- { browser: "other", visitors: 90, fill: "rgb(var(--chart-5))" }
29
- ];
30
- var radarData = [
31
- { month: "January", desktop: 186 },
32
- { month: "February", desktop: 305 },
33
- { month: "March", desktop: 237 },
34
- { month: "April", desktop: 273 },
35
- { month: "May", desktop: 209 },
36
- { month: "June", desktop: 214 }
37
- ];
38
- var radialData = [
39
- { browser: "chrome", visitors: 275, fill: "rgb(var(--chart-1))" },
40
- { browser: "safari", visitors: 200, fill: "rgb(var(--chart-2))" },
41
- { browser: "firefox", visitors: 187, fill: "rgb(var(--chart-3))" },
42
- { browser: "edge", visitors: 173, fill: "rgb(var(--chart-4))" },
43
- { browser: "other", visitors: 90, fill: "rgb(var(--chart-5))" }
44
- ];
45
- var areaConfig = {
46
- desktop: {
47
- label: "Desktop",
48
- color: "rgb(var(--chart-1))"
49
- }
50
- };
51
- var barLineConfig = {
52
- desktop: {
53
- label: "Desktop",
54
- color: "rgb(var(--chart-1))"
55
- }
56
- };
57
- var pieConfig = {
58
- chrome: { label: "Chrome", color: "rgb(var(--chart-1))" },
59
- safari: { label: "Safari", color: "rgb(var(--chart-2))" },
60
- firefox: { label: "Firefox", color: "rgb(var(--chart-3))" },
61
- edge: { label: "Edge", color: "rgb(var(--chart-4))" },
62
- other: { label: "Other", color: "rgb(var(--chart-5))" }
63
- };
64
- var radarConfig = {
65
- desktop: {
66
- label: "Desktop",
67
- color: "rgb(var(--chart-1))"
68
- }
69
- };
70
- var radialConfig = {
71
- chrome: { label: "Chrome", color: "rgb(var(--chart-1))" },
72
- safari: { label: "Safari", color: "rgb(var(--chart-2))" },
73
- firefox: { label: "Firefox", color: "rgb(var(--chart-3))" },
74
- edge: { label: "Edge", color: "rgb(var(--chart-4))" },
75
- other: { label: "Other", color: "rgb(var(--chart-5))" }
76
- };
77
- function ChartCollectionBlock(_) {
78
- return /* @__PURE__ */ jsxs(StaggerChildren, { staggerMs: 100, className: "grid gap-6 md:grid-cols-2 lg:grid-cols-3", children: [
79
- /* @__PURE__ */ jsxs(Card, { children: [
80
- /* @__PURE__ */ jsxs(CardHeader, { children: [
81
- /* @__PURE__ */ jsx(CardTitle, { children: "Area Chart" }),
82
- /* @__PURE__ */ jsx(CardDescription, { children: "Usage overview" })
83
- ] }),
84
- /* @__PURE__ */ jsx(CardContent, { children: areaData.length > 0 && /* @__PURE__ */ jsx(
85
- AreaChart,
86
- {
87
- data: areaData,
88
- config: areaConfig,
89
- indexKey: "month",
90
- areas: ["desktop"],
91
- className: "h-[250px] w-full",
92
- showLegend: false
93
- }
94
- ) })
95
- ] }),
96
- /* @__PURE__ */ jsxs(Card, { children: [
97
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Bar Chart" }) }),
98
- /* @__PURE__ */ jsx(CardContent, { children: areaData.length > 0 && /* @__PURE__ */ jsx(
99
- BarChart,
100
- {
101
- data: areaData,
102
- config: barLineConfig,
103
- indexKey: "month",
104
- bars: ["desktop"],
105
- className: "h-[250px] w-full",
106
- showLegend: false
107
- }
108
- ) })
109
- ] }),
110
- /* @__PURE__ */ jsxs(Card, { children: [
111
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Line Chart" }) }),
112
- /* @__PURE__ */ jsx(CardContent, { children: areaData.length > 0 && /* @__PURE__ */ jsx(
113
- LineChart,
114
- {
115
- data: areaData,
116
- config: barLineConfig,
117
- indexKey: "month",
118
- lines: ["desktop"],
119
- className: "h-[250px] w-full",
120
- showLegend: false
121
- }
122
- ) })
123
- ] }),
124
- /* @__PURE__ */ jsxs(Card, { children: [
125
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Pie Chart" }) }),
126
- /* @__PURE__ */ jsx(CardContent, { children: chartData.length > 0 && /* @__PURE__ */ jsx(
127
- PieChart,
128
- {
129
- data: chartData,
130
- config: pieConfig,
131
- dataKey: "visitors",
132
- nameKey: "browser",
133
- variant: "donut",
134
- innerRadius: 60,
135
- showLegend: false
136
- }
137
- ) })
138
- ] }),
139
- /* @__PURE__ */ jsxs(Card, { children: [
140
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Radar Chart" }) }),
141
- /* @__PURE__ */ jsx(CardContent, { children: radarData.length > 0 && /* @__PURE__ */ jsx(
142
- RadarChart,
143
- {
144
- data: radarData,
145
- config: radarConfig,
146
- indexKey: "month",
147
- series: ["desktop"],
148
- className: "h-[250px] w-full",
149
- showLegend: false
150
- }
151
- ) })
152
- ] }),
153
- /* @__PURE__ */ jsxs(Card, { children: [
154
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Radial Chart" }) }),
155
- /* @__PURE__ */ jsx(CardContent, { children: radialData.length > 0 && /* @__PURE__ */ jsx(
156
- RadialBarChart,
157
- {
158
- data: radialData,
159
- config: radialConfig,
160
- dataKey: "visitors",
161
- nameKey: "browser",
162
- innerRadius: 40,
163
- outerRadius: 100,
164
- className: "h-[250px] w-full",
165
- showLegend: false
166
- }
167
- ) })
168
- ] }),
169
- /* @__PURE__ */ jsx(
170
- HeatmapChartBlock,
171
- {
172
- props: { data: null, config: null, title: null, description: null },
173
- emit: noop,
174
- on: noopOn
175
- }
176
- )
177
- ] });
178
- }
179
-
180
- export { ChartCollectionBlock };
@@ -1,3 +0,0 @@
1
- import { type BaseComponentProps } from '@json-render/react';
2
- import { type SeedProps } from '../../catalog/catalog';
3
- export declare function TeamBlock({ props }: BaseComponentProps<SeedProps<'TeamBlock'>>): import("react/jsx-runtime").JSX.Element;