@mich8060/unified-design-system 0.2.13 → 0.2.14

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 (265) hide show
  1. package/dist/ai/discovery.json +33 -0
  2. package/dist/ai/examples/index.cjs +1 -0
  3. package/dist/ai/examples/index.js +1 -0
  4. package/dist/ai/examples/training.examples.cjs +1 -0
  5. package/dist/ai/examples/training.examples.js +1 -0
  6. package/dist/ai/index.cjs +1 -1
  7. package/dist/ai/index.js +1 -1
  8. package/dist/ai/manifest/components.manifest.cjs +1 -1
  9. package/dist/ai/manifest/components.manifest.js +1 -1
  10. package/dist/ai/manifest/composition.manifest.cjs +1 -0
  11. package/dist/ai/manifest/composition.manifest.js +1 -0
  12. package/dist/ai/manifest/governance.manifest.cjs +1 -1
  13. package/dist/ai/manifest/governance.manifest.js +1 -1
  14. package/dist/ai/manifest/index.cjs +1 -0
  15. package/dist/ai/manifest/index.js +1 -0
  16. package/dist/ai/manifest/layout.manifest.cjs +1 -1
  17. package/dist/ai/manifest/layout.manifest.js +1 -1
  18. package/dist/ai/manifest/prop-aliases.manifest.cjs +1 -0
  19. package/dist/ai/manifest/prop-aliases.manifest.js +1 -0
  20. package/dist/ai/manifest/system.manifest.cjs +1 -1
  21. package/dist/ai/manifest/system.manifest.js +1 -1
  22. package/dist/ai/manifest.json +2801 -0
  23. package/dist/ai/policies/policy.engine.cjs +1 -1
  24. package/dist/ai/policies/policy.engine.js +1 -1
  25. package/dist/ai/policies/rules/composition.rules.cjs +1 -1
  26. package/dist/ai/policies/rules/composition.rules.js +1 -1
  27. package/dist/ai/policies/rules/props.rules.cjs +1 -0
  28. package/dist/ai/policies/rules/props.rules.js +1 -0
  29. package/dist/ai/schemas/ai-output.schema.json +71 -0
  30. package/dist/ai/sdk/index.cjs +1 -0
  31. package/dist/ai/sdk/index.js +1 -0
  32. package/dist/ai/sdk/runtime-sdk.cjs +2 -0
  33. package/dist/ai/sdk/runtime-sdk.js +2 -0
  34. package/dist/ai/templates/layouts.json +181 -0
  35. package/dist/ai/validation/deterministicFeedback.cjs +1 -0
  36. package/dist/ai/validation/deterministicFeedback.js +1 -0
  37. package/dist/ai/validation/index.cjs +1 -0
  38. package/dist/ai/validation/index.js +1 -0
  39. package/dist/ai/validation/validateAIOutput.cjs +1 -1
  40. package/dist/ai/validation/validateAIOutput.js +1 -1
  41. package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -1
  42. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  43. package/dist/components/Button/Button.cjs +1 -1
  44. package/dist/components/Button/Button.js +1 -1
  45. package/dist/components/Chip/Chip.cjs +1 -1
  46. package/dist/components/Chip/Chip.js +1 -1
  47. package/dist/components/Dialog/Dialog.cjs +1 -1
  48. package/dist/components/Dialog/Dialog.js +1 -1
  49. package/dist/components/DotStatus/DotStatus.cjs +1 -1
  50. package/dist/components/DotStatus/DotStatus.js +1 -1
  51. package/dist/components/EmptyState/EmptyState.cjs +1 -1
  52. package/dist/components/EmptyState/EmptyState.js +1 -1
  53. package/dist/components/Field/Field.cjs +1 -1
  54. package/dist/components/Field/Field.js +1 -1
  55. package/dist/components/FileUpload/FileUpload.cjs +1 -1
  56. package/dist/components/FileUpload/FileUpload.js +1 -1
  57. package/dist/components/Menu/Menu.cjs +1 -1
  58. package/dist/components/Menu/Menu.js +1 -1
  59. package/dist/components/Modal/Modal.cjs +1 -1
  60. package/dist/components/Modal/Modal.js +1 -1
  61. package/dist/components/Pagination/Pagination.cjs +1 -1
  62. package/dist/components/Pagination/Pagination.js +1 -1
  63. package/dist/components/ProgressCircle/ProgressCircle.cjs +1 -1
  64. package/dist/components/ProgressCircle/ProgressCircle.js +1 -1
  65. package/dist/components/ProgressIndicator/ProgressIndicator.cjs +1 -1
  66. package/dist/components/ProgressIndicator/ProgressIndicator.js +1 -1
  67. package/dist/components/Steps/Steps.cjs +1 -1
  68. package/dist/components/Steps/Steps.js +1 -1
  69. package/dist/components/Text/Text.cjs +1 -1
  70. package/dist/components/Text/Text.js +1 -1
  71. package/dist/components/Tooltip/Tooltip.cjs +1 -1
  72. package/dist/components/Tooltip/Tooltip.js +1 -1
  73. package/dist/design-system/ai/audit/audit.types.d.ts +1 -0
  74. package/dist/design-system/ai/examples/index.d.ts +4 -0
  75. package/dist/design-system/ai/examples/training.examples.d.ts +22 -0
  76. package/dist/design-system/ai/index.d.ts +9 -3
  77. package/dist/design-system/ai/manifest/composition.manifest.d.ts +11 -0
  78. package/dist/design-system/ai/manifest/governance.manifest.d.ts +5 -0
  79. package/dist/design-system/ai/manifest/index.d.ts +9 -0
  80. package/dist/design-system/ai/manifest/prop-aliases.manifest.d.ts +10 -0
  81. package/dist/design-system/ai/manifest/system.manifest.d.ts +2 -0
  82. package/dist/design-system/ai/manifest/types.d.ts +3 -0
  83. package/dist/design-system/ai/policies/rules/props.rules.d.ts +2 -0
  84. package/dist/design-system/ai/sdk/index.d.ts +1 -0
  85. package/dist/design-system/ai/sdk/runtime-sdk.d.ts +21 -0
  86. package/dist/design-system/ai/validation/deterministicFeedback.d.ts +15 -0
  87. package/dist/design-system/ai/validation/index.d.ts +5 -0
  88. package/dist/design-system/ai/validation/validateAIOutput.d.ts +13 -0
  89. package/dist/design-system/components/Button/Button.d.ts +1 -1
  90. package/dist/design-system/components/Button/Button.types.d.ts +1 -0
  91. package/dist/design-system/components/Chip/Chip.d.ts +4 -3
  92. package/dist/design-system/components/Chip/Chip.types.d.ts +13 -9
  93. package/dist/design-system/components/Dialog/Dialog.types.d.ts +9 -8
  94. package/dist/design-system/components/Field/Field.d.ts +1 -1
  95. package/dist/design-system/components/Field/Field.types.d.ts +11 -9
  96. package/dist/design-system/components/FileUpload/FileUpload.d.ts +1 -1
  97. package/dist/design-system/components/FileUpload/FileUpload.types.d.ts +2 -0
  98. package/dist/design-system/components/Pagination/Pagination.d.ts +5 -3
  99. package/dist/design-system/components/Pagination/Pagination.types.d.ts +4 -1
  100. package/dist/design-system/components/ProgressCircle/ProgressCircle.d.ts +3 -2
  101. package/dist/design-system/components/ProgressCircle/ProgressCircle.types.d.ts +7 -3
  102. package/dist/design-system/components/ProgressIndicator/ProgressIndicator.d.ts +2 -1
  103. package/dist/design-system/components/ProgressIndicator/ProgressIndicator.types.d.ts +8 -4
  104. package/dist/design-system/components/Tooltip/Tooltip.d.ts +1 -1
  105. package/dist/design-system/components/Tooltip/Tooltip.types.d.ts +1 -0
  106. package/dist/design-system/generated/component-api.d.ts +1568 -0
  107. package/dist/design-system/index.d.ts +1 -2
  108. package/dist/generated/component-api.cjs +1 -0
  109. package/dist/generated/component-api.js +1 -0
  110. package/dist/index.cjs +1 -1
  111. package/dist/index.js +1 -1
  112. package/dist/style.css +1 -1
  113. package/package.json +23 -19
  114. package/dist/components/Accordion/Accordion.spec.cjs +0 -1
  115. package/dist/components/Accordion/Accordion.spec.js +0 -1
  116. package/dist/components/ActionMenu/ActionMenu.spec.cjs +0 -1
  117. package/dist/components/ActionMenu/ActionMenu.spec.js +0 -1
  118. package/dist/components/Avatar/Avatar.spec.cjs +0 -1
  119. package/dist/components/Avatar/Avatar.spec.js +0 -1
  120. package/dist/components/Badge/Badge.spec.cjs +0 -1
  121. package/dist/components/Badge/Badge.spec.js +0 -1
  122. package/dist/components/Branding/Branding.spec.cjs +0 -1
  123. package/dist/components/Branding/Branding.spec.js +0 -1
  124. package/dist/components/Breadcrumb/Breadcrumb.spec.cjs +0 -1
  125. package/dist/components/Breadcrumb/Breadcrumb.spec.js +0 -1
  126. package/dist/components/Button/Button.spec.cjs +0 -1
  127. package/dist/components/Button/Button.spec.js +0 -1
  128. package/dist/components/Calendar/Calendar.spec.cjs +0 -1
  129. package/dist/components/Calendar/Calendar.spec.js +0 -1
  130. package/dist/components/Card/Card.spec.cjs +0 -1
  131. package/dist/components/Card/Card.spec.js +0 -1
  132. package/dist/components/Checkbox/Checkbox.spec.cjs +0 -1
  133. package/dist/components/Checkbox/Checkbox.spec.js +0 -1
  134. package/dist/components/Chip/Chip.spec.cjs +0 -1
  135. package/dist/components/Chip/Chip.spec.js +0 -1
  136. package/dist/components/Code/Code.spec.cjs +0 -1
  137. package/dist/components/Code/Code.spec.js +0 -1
  138. package/dist/components/Container/Container.spec.cjs +0 -1
  139. package/dist/components/Container/Container.spec.js +0 -1
  140. package/dist/components/Datepicker/Datepicker.spec.cjs +0 -1
  141. package/dist/components/Datepicker/Datepicker.spec.js +0 -1
  142. package/dist/components/Dialog/Dialog.spec.cjs +0 -1
  143. package/dist/components/Dialog/Dialog.spec.js +0 -1
  144. package/dist/components/Divider/Divider.spec.cjs +0 -1
  145. package/dist/components/Divider/Divider.spec.js +0 -1
  146. package/dist/components/DotStatus/DotStatus.spec.cjs +0 -1
  147. package/dist/components/DotStatus/DotStatus.spec.js +0 -1
  148. package/dist/components/Dropdown/Dropdown.spec.cjs +0 -1
  149. package/dist/components/Dropdown/Dropdown.spec.js +0 -1
  150. package/dist/components/EmptyState/EmptyState.spec.cjs +0 -1
  151. package/dist/components/EmptyState/EmptyState.spec.js +0 -1
  152. package/dist/components/EventCard/EventCard.spec.cjs +0 -1
  153. package/dist/components/EventCard/EventCard.spec.js +0 -1
  154. package/dist/components/Field/Field.spec.cjs +0 -1
  155. package/dist/components/Field/Field.spec.js +0 -1
  156. package/dist/components/FileUpload/FileUpload.spec.cjs +0 -1
  157. package/dist/components/FileUpload/FileUpload.spec.js +0 -1
  158. package/dist/components/Flex/Flex.spec.cjs +0 -1
  159. package/dist/components/Flex/Flex.spec.js +0 -1
  160. package/dist/components/Icon/Icon.spec.cjs +0 -1
  161. package/dist/components/Icon/Icon.spec.js +0 -1
  162. package/dist/components/ImageAspect/ImageAspect.spec.cjs +0 -1
  163. package/dist/components/ImageAspect/ImageAspect.spec.js +0 -1
  164. package/dist/components/Key/Key.spec.cjs +0 -1
  165. package/dist/components/Key/Key.spec.js +0 -1
  166. package/dist/components/Menu/Menu.spec.cjs +0 -1
  167. package/dist/components/Menu/Menu.spec.js +0 -1
  168. package/dist/components/MicroCalendar/MicroCalendar.spec.cjs +0 -1
  169. package/dist/components/MicroCalendar/MicroCalendar.spec.js +0 -1
  170. package/dist/components/Modal/Modal.spec.cjs +0 -1
  171. package/dist/components/Modal/Modal.spec.js +0 -1
  172. package/dist/components/Pagination/Pagination.spec.cjs +0 -1
  173. package/dist/components/Pagination/Pagination.spec.js +0 -1
  174. package/dist/components/PillToggle/PillToggle.cjs +0 -1
  175. package/dist/components/PillToggle/PillToggle.js +0 -1
  176. package/dist/components/PillToggle/PillToggle.spec.cjs +0 -1
  177. package/dist/components/PillToggle/PillToggle.spec.js +0 -1
  178. package/dist/components/Playground/Playground.cjs +0 -9
  179. package/dist/components/Playground/Playground.js +0 -9
  180. package/dist/components/Playground/Playground.spec.cjs +0 -1
  181. package/dist/components/Playground/Playground.spec.js +0 -1
  182. package/dist/components/ProgressCircle/ProgressCircle.spec.cjs +0 -1
  183. package/dist/components/ProgressCircle/ProgressCircle.spec.js +0 -1
  184. package/dist/components/ProgressIndicator/ProgressIndicator.spec.cjs +0 -1
  185. package/dist/components/ProgressIndicator/ProgressIndicator.spec.js +0 -1
  186. package/dist/components/Radio/Radio.spec.cjs +0 -1
  187. package/dist/components/Radio/Radio.spec.js +0 -1
  188. package/dist/components/Slider/Slider.spec.cjs +0 -1
  189. package/dist/components/Slider/Slider.spec.js +0 -1
  190. package/dist/components/Status/Status.spec.cjs +0 -1
  191. package/dist/components/Status/Status.spec.js +0 -1
  192. package/dist/components/Steps/Steps.spec.cjs +0 -1
  193. package/dist/components/Steps/Steps.spec.js +0 -1
  194. package/dist/components/Table/Table.spec.cjs +0 -1
  195. package/dist/components/Table/Table.spec.js +0 -1
  196. package/dist/components/Tabs/Tabs.spec.cjs +0 -1
  197. package/dist/components/Tabs/Tabs.spec.js +0 -1
  198. package/dist/components/Tag/Tag.spec.cjs +0 -1
  199. package/dist/components/Tag/Tag.spec.js +0 -1
  200. package/dist/components/Text/Text.spec.cjs +0 -1
  201. package/dist/components/Text/Text.spec.js +0 -1
  202. package/dist/components/TextInput/TextInput.spec.cjs +0 -1
  203. package/dist/components/TextInput/TextInput.spec.js +0 -1
  204. package/dist/components/Textarea/Textarea.spec.cjs +0 -1
  205. package/dist/components/Textarea/Textarea.spec.js +0 -1
  206. package/dist/components/Toast/Toast.spec.cjs +0 -1
  207. package/dist/components/Toast/Toast.spec.js +0 -1
  208. package/dist/components/Toggle/Toggle.spec.cjs +0 -1
  209. package/dist/components/Toggle/Toggle.spec.js +0 -1
  210. package/dist/components/Tooltip/Tooltip.spec.cjs +0 -1
  211. package/dist/components/Tooltip/Tooltip.spec.js +0 -1
  212. package/dist/design-system/components/Accordion/Accordion.spec.d.ts +0 -4
  213. package/dist/design-system/components/ActionMenu/ActionMenu.spec.d.ts +0 -4
  214. package/dist/design-system/components/Avatar/Avatar.spec.d.ts +0 -6
  215. package/dist/design-system/components/Badge/Badge.spec.d.ts +0 -12
  216. package/dist/design-system/components/Branding/Branding.spec.d.ts +0 -6
  217. package/dist/design-system/components/Breadcrumb/Breadcrumb.spec.d.ts +0 -4
  218. package/dist/design-system/components/Button/Button.spec.d.ts +0 -12
  219. package/dist/design-system/components/Calendar/Calendar.spec.d.ts +0 -4
  220. package/dist/design-system/components/Card/Card.spec.d.ts +0 -4
  221. package/dist/design-system/components/Checkbox/Checkbox.spec.d.ts +0 -4
  222. package/dist/design-system/components/Chip/Chip.spec.d.ts +0 -13
  223. package/dist/design-system/components/Code/Code.spec.d.ts +0 -10
  224. package/dist/design-system/components/Container/Container.spec.d.ts +0 -2
  225. package/dist/design-system/components/Datepicker/Datepicker.spec.d.ts +0 -6
  226. package/dist/design-system/components/Dialog/Dialog.spec.d.ts +0 -8
  227. package/dist/design-system/components/Divider/Divider.spec.d.ts +0 -10
  228. package/dist/design-system/components/DotStatus/DotStatus.spec.d.ts +0 -10
  229. package/dist/design-system/components/Dropdown/Dropdown.spec.d.ts +0 -12
  230. package/dist/design-system/components/EmptyState/EmptyState.spec.d.ts +0 -2
  231. package/dist/design-system/components/EventCard/EventCard.spec.d.ts +0 -8
  232. package/dist/design-system/components/Field/Field.spec.d.ts +0 -4
  233. package/dist/design-system/components/FileUpload/FileUpload.spec.d.ts +0 -6
  234. package/dist/design-system/components/Flex/Flex.spec.d.ts +0 -2
  235. package/dist/design-system/components/Icon/Icon.spec.d.ts +0 -6
  236. package/dist/design-system/components/ImageAspect/ImageAspect.spec.d.ts +0 -8
  237. package/dist/design-system/components/Key/Key.spec.d.ts +0 -8
  238. package/dist/design-system/components/Menu/Menu.spec.d.ts +0 -6
  239. package/dist/design-system/components/MicroCalendar/MicroCalendar.spec.d.ts +0 -4
  240. package/dist/design-system/components/Modal/Modal.spec.d.ts +0 -8
  241. package/dist/design-system/components/Pagination/Pagination.spec.d.ts +0 -6
  242. package/dist/design-system/components/PillToggle/PillToggle.d.ts +0 -13
  243. package/dist/design-system/components/PillToggle/PillToggle.spec.d.ts +0 -6
  244. package/dist/design-system/components/PillToggle/PillToggle.types.d.ts +0 -9
  245. package/dist/design-system/components/PillToggle/index.d.ts +0 -3
  246. package/dist/design-system/components/Playground/Playground.d.ts +0 -12
  247. package/dist/design-system/components/Playground/Playground.spec.d.ts +0 -6
  248. package/dist/design-system/components/Playground/Playground.types.d.ts +0 -7
  249. package/dist/design-system/components/Playground/index.d.ts +0 -3
  250. package/dist/design-system/components/ProgressCircle/ProgressCircle.spec.d.ts +0 -10
  251. package/dist/design-system/components/ProgressIndicator/ProgressIndicator.spec.d.ts +0 -10
  252. package/dist/design-system/components/Radio/Radio.spec.d.ts +0 -4
  253. package/dist/design-system/components/Slider/Slider.spec.d.ts +0 -4
  254. package/dist/design-system/components/Status/Status.spec.d.ts +0 -11
  255. package/dist/design-system/components/Steps/Steps.spec.d.ts +0 -11
  256. package/dist/design-system/components/Table/Table.spec.d.ts +0 -4
  257. package/dist/design-system/components/Tabs/Tabs.spec.d.ts +0 -7
  258. package/dist/design-system/components/Tag/Tag.spec.d.ts +0 -13
  259. package/dist/design-system/components/Text/Text.spec.d.ts +0 -2
  260. package/dist/design-system/components/TextInput/TextInput.spec.d.ts +0 -12
  261. package/dist/design-system/components/Textarea/Textarea.spec.d.ts +0 -10
  262. package/dist/design-system/components/Toast/Toast.spec.d.ts +0 -8
  263. package/dist/design-system/components/Toggle/Toggle.spec.d.ts +0 -8
  264. package/dist/design-system/components/Tooltip/Tooltip.spec.d.ts +0 -8
  265. package/dist/design-system/specs/spec.types.d.ts +0 -18
@@ -1,4 +0,0 @@
1
- export declare const BreadcrumbSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {};
4
- };
@@ -1,12 +0,0 @@
1
- export declare const ButtonSpec: {
2
- readonly allowedVariants: {
3
- readonly layout: readonly ["label-only", "icon-left", "icon-right", "icon-only", "only"];
4
- readonly appearance: readonly ["primary", "soft", "outline", "text", "ghost", "disabled", "destructive"];
5
- readonly size: readonly ["large", "default", "small", "xsmall"];
6
- };
7
- readonly defaults: {
8
- readonly appearance: "primary";
9
- readonly layout: "label-only";
10
- readonly size: "default";
11
- };
12
- };
@@ -1,4 +0,0 @@
1
- export declare const CalendarSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {};
4
- };
@@ -1,4 +0,0 @@
1
- export declare const CardSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {};
4
- };
@@ -1,4 +0,0 @@
1
- export declare const CheckboxSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {};
4
- };
@@ -1,13 +0,0 @@
1
- export declare const ChipSpec: {
2
- readonly allowedVariants: {
3
- readonly appearance: readonly ["outline", "primary"];
4
- readonly shape: readonly ["pill", "rounded"];
5
- readonly iconplacement: readonly ["both", "left", "right", "none"];
6
- };
7
- readonly defaults: {
8
- readonly appearance: "outline";
9
- readonly shape: "pill";
10
- readonly iconPlacement: "none";
11
- readonly badgeVariant: "red";
12
- };
13
- };
@@ -1,10 +0,0 @@
1
- export declare const CodeSpec: {
2
- readonly allowedVariants: {
3
- readonly language: readonly ["markup", "css", "clike", "javascript", "typescript", "tsx", "jsx", "json", "bash", "sql"];
4
- readonly inline: readonly [true, false];
5
- };
6
- readonly defaults: {
7
- readonly language: "javascript";
8
- readonly inline: false;
9
- };
10
- };
@@ -1,2 +0,0 @@
1
- import type { ComponentSpec } from "../../specs/spec.types";
2
- export declare const ContainerSpec: ComponentSpec;
@@ -1,6 +0,0 @@
1
- export declare const DatepickerSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly size: "desktop";
5
- };
6
- };
@@ -1,8 +0,0 @@
1
- export declare const DialogSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly intent: "info";
5
- readonly confirmLabel: "Confirm";
6
- readonly cancelLabel: "Cancel";
7
- };
8
- };
@@ -1,10 +0,0 @@
1
- export declare const DividerSpec: {
2
- readonly allowedVariants: {
3
- readonly alignment: readonly ["left", "center", "right"];
4
- readonly variant: readonly ["line", "solid"];
5
- };
6
- readonly defaults: {
7
- readonly variant: "line";
8
- readonly alignment: "center";
9
- };
10
- };
@@ -1,10 +0,0 @@
1
- export declare const DotStatusSpec: {
2
- readonly allowedVariants: {
3
- readonly variant: readonly ["light-gray", "red", "orange", "yellow", "light-green", "green", "blue", "dark-blue", "teal", "purple", "pink", "magenta", "dark-red", "dark-gray"];
4
- readonly size: readonly ["small", "medium", "large"];
5
- };
6
- readonly defaults: {
7
- readonly variant: "blue";
8
- readonly size: "medium";
9
- };
10
- };
@@ -1,12 +0,0 @@
1
- export declare const DropdownSpec: {
2
- readonly allowedVariants: {
3
- readonly size: readonly ["compact", "default"];
4
- readonly state: readonly ["default", "focused", "error", "disabled"];
5
- };
6
- readonly defaults: {
7
- readonly placeholder: "Select an option";
8
- readonly size: "default";
9
- readonly state: "default";
10
- readonly placement: "bottom-start";
11
- };
12
- };
@@ -1,2 +0,0 @@
1
- import type { ComponentSpec } from "../../specs/spec.types";
2
- export declare const EmptyStateSpec: ComponentSpec;
@@ -1,8 +0,0 @@
1
- export declare const EventCardSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly title: "Title";
5
- readonly type: "travel";
6
- readonly status: "active";
7
- };
8
- };
@@ -1,4 +0,0 @@
1
- export declare const FieldSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {};
4
- };
@@ -1,6 +0,0 @@
1
- export declare const FileUploadSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly instructionText: "Drop files here or click to upload";
5
- };
6
- };
@@ -1,2 +0,0 @@
1
- import type { ComponentSpec } from "../../specs/spec.types";
2
- export declare const FlexSpec: ComponentSpec;
@@ -1,6 +0,0 @@
1
- export declare const IconSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly appearance: "regular";
5
- };
6
- };
@@ -1,8 +0,0 @@
1
- export declare const ImageAspectSpec: {
2
- readonly allowedVariants: {
3
- readonly aspectratio: readonly ["square", "video", "4-3", "3-2", "21-9", "portrait", "auto"];
4
- };
5
- readonly defaults: {
6
- readonly ratio: "square";
7
- };
8
- };
@@ -1,8 +0,0 @@
1
- export declare const KeySpec: {
2
- readonly allowedVariants: {
3
- readonly appearance: readonly ["light", "dark"];
4
- };
5
- readonly defaults: {
6
- readonly appearance: "light";
7
- };
8
- };
@@ -1,6 +0,0 @@
1
- export declare const MenuSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly identity: "design-system";
5
- };
6
- };
@@ -1,4 +0,0 @@
1
- export declare const MicroCalendarSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {};
4
- };
@@ -1,8 +0,0 @@
1
- export declare const ModalSpec: {
2
- readonly allowedVariants: {
3
- readonly size: readonly ["small", "default", "large", "fullscreen"];
4
- };
5
- readonly defaults: {
6
- readonly size: "default";
7
- };
8
- };
@@ -1,6 +0,0 @@
1
- export declare const PaginationSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly variant: "default";
5
- };
6
- };
@@ -1,13 +0,0 @@
1
- import "./_pill-toggle.scss";
2
- import type { PillToggleProps } from "./PillToggle.types";
3
- /**
4
- * PillToggle component for switching between selected and unselected states
5
- * @param {string} label - The text content of the toggle
6
- * @param {boolean} selected - Whether the toggle is selected
7
- * @param {function} onChange - Callback function when toggle state changes
8
- * @param {string} id - Unique identifier for the toggle input
9
- * @param {boolean} disabled - Whether the toggle is disabled
10
- * @param {string} className - Additional CSS classes
11
- * @param {object} props - Additional props to pass to the toggle
12
- */
13
- export default function PillToggle({ label, selected, onChange, id, disabled, className, ...props }: PillToggleProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- export declare const PillToggleSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly label: "Label States";
5
- };
6
- };
@@ -1,9 +0,0 @@
1
- import type { InputHTMLAttributes } from "react";
2
- export interface PillToggleProps extends InputHTMLAttributes<HTMLInputElement> {
3
- label?: string;
4
- selected?: boolean;
5
- onChange?: (...args: unknown[]) => void;
6
- id?: unknown;
7
- disabled?: boolean;
8
- className?: string;
9
- }
@@ -1,3 +0,0 @@
1
- export { default } from "./PillToggle";
2
- export { default as PillToggle } from "./PillToggle";
3
- export type { PillToggleProps } from "./PillToggle.types";
@@ -1,12 +0,0 @@
1
- import "./_playground.scss";
2
- import type { PlaygroundProps } from "./Playground.types";
3
- /**
4
- * Playground component for interactive component prop manipulation
5
- * Matches Figma design with Canvas + Inspector/Code Panel layout
6
- * @param {React.Component} component - The component to render
7
- * @param {object} propDefinitions - Object defining props and their controls
8
- * @param {string} title - Optional title for the playground
9
- * @param {object} initialProps - Initial prop values
10
- * @param {function} renderComponent - Optional custom render function
11
- */
12
- export default function Playground({ component: Component, propDefinitions, title, initialProps, renderComponent, }: PlaygroundProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- export declare const PlaygroundSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly title: "Playground";
5
- };
6
- };
@@ -1,7 +0,0 @@
1
- import type { ButtonHTMLAttributes } from "react";
2
- export interface PlaygroundProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3
- propDefinitions?: Record<string, unknown>;
4
- title?: string;
5
- initialProps?: Record<string, unknown>;
6
- renderComponent?: unknown;
7
- }
@@ -1,3 +0,0 @@
1
- export { default } from "./Playground";
2
- export { default as Playground } from "./Playground";
3
- export type { PlaygroundProps } from "./Playground.types";
@@ -1,10 +0,0 @@
1
- export declare const ProgressCircleSpec: {
2
- readonly allowedVariants: {
3
- readonly size: readonly ["xxs", "xs", "sm", "md", "lg"];
4
- readonly shape: readonly ["circle", "half-circle"];
5
- };
6
- readonly defaults: {
7
- readonly size: "md";
8
- readonly shape: "circle";
9
- };
10
- };
@@ -1,10 +0,0 @@
1
- export declare const ProgressIndicatorSpec: {
2
- readonly allowedVariants: {
3
- readonly variant: readonly ["default", "blue", "green", "success", "orange", "warning", "red", "error", "purple"];
4
- readonly size: readonly ["small", "medium", "large"];
5
- };
6
- readonly defaults: {
7
- readonly variant: "default";
8
- readonly size: "medium";
9
- };
10
- };
@@ -1,4 +0,0 @@
1
- export declare const RadioSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {};
4
- };
@@ -1,4 +0,0 @@
1
- export declare const SliderSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {};
4
- };
@@ -1,11 +0,0 @@
1
- export declare const StatusSpec: {
2
- readonly allowedVariants: {
3
- readonly appearance: readonly ["light-gray", "white"];
4
- readonly shape: readonly ["pill", "rounded"];
5
- };
6
- readonly defaults: {
7
- readonly variant: "blue";
8
- readonly appearance: "light-gray";
9
- readonly shape: "pill";
10
- };
11
- };
@@ -1,11 +0,0 @@
1
- export declare const StepsSpec: {
2
- readonly allowedVariants: {
3
- readonly orientation: readonly ["horizontal", "vertical"];
4
- readonly status: readonly ["complete", "active", "incomplete", "disabled", "error", "warning"];
5
- readonly size: readonly ["default", "compact"];
6
- };
7
- readonly defaults: {
8
- readonly orientation: "horizontal";
9
- readonly size: "default";
10
- };
11
- };
@@ -1,4 +0,0 @@
1
- export declare const TableSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {};
4
- };
@@ -1,7 +0,0 @@
1
- export declare const TabsSpec: {
2
- readonly allowedVariants: {};
3
- readonly defaults: {
4
- readonly appearance: "underline";
5
- readonly tagVariant: "red";
6
- };
7
- };
@@ -1,13 +0,0 @@
1
- export declare const TagSpec: {
2
- readonly allowedVariants: {
3
- readonly appearance: readonly ["label-only", "icon-left"];
4
- readonly size: readonly ["compact", "default"];
5
- readonly color: readonly ["transparent", "neutral", "red", "orange", "yellow", "emerald", "green", "sky", "cyan", "blue", "indigo", "purple", "fuchsia", "magenta", "inverse"];
6
- };
7
- readonly defaults: {
8
- readonly label: "Label";
9
- readonly appearance: "label-only";
10
- readonly size: "compact";
11
- readonly color: "transparent";
12
- };
13
- };
@@ -1,2 +0,0 @@
1
- import type { ComponentSpec } from "../../specs/spec.types";
2
- export declare const TextSpec: ComponentSpec;
@@ -1,12 +0,0 @@
1
- export declare const TextInputSpec: {
2
- readonly allowedVariants: {
3
- readonly size: readonly ["compact", "default"];
4
- readonly state: readonly ["default", "focused", "error", "disabled"];
5
- };
6
- readonly defaults: {
7
- readonly type: "text";
8
- readonly size: "default";
9
- readonly state: "default";
10
- readonly iconPosition: "right";
11
- };
12
- };
@@ -1,10 +0,0 @@
1
- export declare const TextareaSpec: {
2
- readonly allowedVariants: {
3
- readonly size: readonly ["compact", "default"];
4
- readonly state: readonly ["default", "focused", "error", "disabled"];
5
- };
6
- readonly defaults: {
7
- readonly size: "default";
8
- readonly state: "default";
9
- };
10
- };
@@ -1,8 +0,0 @@
1
- export declare const ToastSpec: {
2
- readonly allowedVariants: {
3
- readonly variant: readonly ["success", "error", "warning", "info"];
4
- };
5
- readonly defaults: {
6
- readonly variant: "info";
7
- };
8
- };
@@ -1,8 +0,0 @@
1
- export declare const ToggleSpec: {
2
- readonly allowedVariants: {
3
- readonly size: readonly ["large", "small"];
4
- };
5
- readonly defaults: {
6
- readonly size: "large";
7
- };
8
- };
@@ -1,8 +0,0 @@
1
- export declare const TooltipSpec: {
2
- readonly allowedVariants: {
3
- readonly placement: readonly ["top", "bottom", "left", "right"];
4
- };
5
- readonly defaults: {
6
- readonly placement: "top";
7
- };
8
- };
@@ -1,18 +0,0 @@
1
- export type ComponentTier = 1 | 2 | 3 | 4;
2
- export interface ComponentSpec {
3
- name: string;
4
- tier: ComponentTier;
5
- purpose: string;
6
- variants: Record<string, {
7
- type: "enum" | "boolean";
8
- values?: string[];
9
- default: string | boolean;
10
- }>;
11
- states: string[];
12
- tokensUsed: string[];
13
- accessibility: {
14
- role: string;
15
- keyboard: string[];
16
- };
17
- antiPatterns?: string[];
18
- }