@open-mercato/core 0.6.7-develop.6785.1.1dd7cfac55 → 0.6.7-develop.6795.1.8a3f27921c

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 (196) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/dist/generated/entities.ids.generated.js +1 -0
  3. package/dist/generated/entities.ids.generated.js.map +2 -2
  4. package/dist/modules/auth/backend/settings/page.js +14 -9
  5. package/dist/modules/auth/backend/settings/page.js.map +2 -2
  6. package/dist/modules/customers/cli.js +17 -7
  7. package/dist/modules/customers/cli.js.map +2 -2
  8. package/dist/modules/customers/components/detail/ScheduleActivityDialog.js +229 -216
  9. package/dist/modules/customers/components/detail/ScheduleActivityDialog.js.map +2 -2
  10. package/dist/modules/customers/search.js +50 -29
  11. package/dist/modules/customers/search.js.map +2 -2
  12. package/dist/modules/data_sync/api/mappings/[id]/route.js +22 -9
  13. package/dist/modules/data_sync/api/mappings/[id]/route.js.map +2 -2
  14. package/dist/modules/data_sync/api/mappings/route.js +13 -4
  15. package/dist/modules/data_sync/api/mappings/route.js.map +2 -2
  16. package/dist/modules/data_sync/api/options.js +7 -2
  17. package/dist/modules/data_sync/api/options.js.map +2 -2
  18. package/dist/modules/data_sync/api/run.js +7 -2
  19. package/dist/modules/data_sync/api/run.js.map +2 -2
  20. package/dist/modules/data_sync/api/runs/[id]/cancel.js +8 -3
  21. package/dist/modules/data_sync/api/runs/[id]/cancel.js.map +2 -2
  22. package/dist/modules/data_sync/api/runs/[id]/retry.js +7 -2
  23. package/dist/modules/data_sync/api/runs/[id]/retry.js.map +2 -2
  24. package/dist/modules/data_sync/api/runs/[id]/route.js +8 -3
  25. package/dist/modules/data_sync/api/runs/[id]/route.js.map +2 -2
  26. package/dist/modules/data_sync/api/runs.js +7 -2
  27. package/dist/modules/data_sync/api/runs.js.map +2 -2
  28. package/dist/modules/data_sync/api/schedules/[id]/route.js +19 -6
  29. package/dist/modules/data_sync/api/schedules/[id]/route.js.map +2 -2
  30. package/dist/modules/data_sync/api/schedules/route.js +13 -4
  31. package/dist/modules/data_sync/api/schedules/route.js.map +2 -2
  32. package/dist/modules/data_sync/api/validate.js +9 -4
  33. package/dist/modules/data_sync/api/validate.js.map +2 -2
  34. package/dist/modules/design_system/acl.js +9 -0
  35. package/dist/modules/design_system/acl.js.map +7 -0
  36. package/dist/modules/design_system/backend/design-system/page.js +11 -0
  37. package/dist/modules/design_system/backend/design-system/page.js.map +7 -0
  38. package/dist/modules/design_system/backend/design-system/page.meta.js +15 -0
  39. package/dist/modules/design_system/backend/design-system/page.meta.js.map +7 -0
  40. package/dist/modules/design_system/gallery/components/CodeSnippet.js +52 -0
  41. package/dist/modules/design_system/gallery/components/CodeSnippet.js.map +7 -0
  42. package/dist/modules/design_system/gallery/components/EntryCard.js +63 -0
  43. package/dist/modules/design_system/gallery/components/EntryCard.js.map +7 -0
  44. package/dist/modules/design_system/gallery/components/GalleryShell.js +163 -0
  45. package/dist/modules/design_system/gallery/components/GalleryShell.js.map +7 -0
  46. package/dist/modules/design_system/gallery/components/VariantPreview.js +9 -0
  47. package/dist/modules/design_system/gallery/components/VariantPreview.js.map +7 -0
  48. package/dist/modules/design_system/gallery/entries/banners.js +186 -0
  49. package/dist/modules/design_system/gallery/entries/banners.js.map +7 -0
  50. package/dist/modules/design_system/gallery/entries/buttons.js +361 -0
  51. package/dist/modules/design_system/gallery/entries/buttons.js.map +7 -0
  52. package/dist/modules/design_system/gallery/entries/charts.js +457 -0
  53. package/dist/modules/design_system/gallery/entries/charts.js.map +7 -0
  54. package/dist/modules/design_system/gallery/entries/dates.js +306 -0
  55. package/dist/modules/design_system/gallery/entries/dates.js.map +7 -0
  56. package/dist/modules/design_system/gallery/entries/detail.js +358 -0
  57. package/dist/modules/design_system/gallery/entries/detail.js.map +7 -0
  58. package/dist/modules/design_system/gallery/entries/display.js +785 -0
  59. package/dist/modules/design_system/gallery/entries/display.js.map +7 -0
  60. package/dist/modules/design_system/gallery/entries/feedback.js +658 -0
  61. package/dist/modules/design_system/gallery/entries/feedback.js.map +7 -0
  62. package/dist/modules/design_system/gallery/entries/filters.js +505 -0
  63. package/dist/modules/design_system/gallery/entries/filters.js.map +7 -0
  64. package/dist/modules/design_system/gallery/entries/foundations.js +453 -0
  65. package/dist/modules/design_system/gallery/entries/foundations.js.map +7 -0
  66. package/dist/modules/design_system/gallery/entries/icons.js +140 -0
  67. package/dist/modules/design_system/gallery/entries/icons.js.map +7 -0
  68. package/dist/modules/design_system/gallery/entries/inputs.js +1217 -0
  69. package/dist/modules/design_system/gallery/entries/inputs.js.map +7 -0
  70. package/dist/modules/design_system/gallery/entries/messages.js +334 -0
  71. package/dist/modules/design_system/gallery/entries/messages.js.map +7 -0
  72. package/dist/modules/design_system/gallery/entries/navigation.js +475 -0
  73. package/dist/modules/design_system/gallery/entries/navigation.js.map +7 -0
  74. package/dist/modules/design_system/gallery/entries/notifications.js +257 -0
  75. package/dist/modules/design_system/gallery/entries/notifications.js.map +7 -0
  76. package/dist/modules/design_system/gallery/entries/overlays.js +576 -0
  77. package/dist/modules/design_system/gallery/entries/overlays.js.map +7 -0
  78. package/dist/modules/design_system/gallery/entries/scaffolding.js +378 -0
  79. package/dist/modules/design_system/gallery/entries/scaffolding.js.map +7 -0
  80. package/dist/modules/design_system/gallery/entries/schedule.js +297 -0
  81. package/dist/modules/design_system/gallery/entries/schedule.js.map +7 -0
  82. package/dist/modules/design_system/gallery/registry.js +139 -0
  83. package/dist/modules/design_system/gallery/registry.js.map +7 -0
  84. package/dist/modules/design_system/gallery/types.js +1 -0
  85. package/dist/modules/design_system/gallery/types.js.map +7 -0
  86. package/dist/modules/design_system/index.js +9 -0
  87. package/dist/modules/design_system/index.js.map +7 -0
  88. package/dist/modules/design_system/setup.js +14 -0
  89. package/dist/modules/design_system/setup.js.map +7 -0
  90. package/dist/modules/inbox_ops/search.js +15 -4
  91. package/dist/modules/inbox_ops/search.js.map +2 -2
  92. package/dist/modules/integrations/api/[id]/credentials/route.js +11 -5
  93. package/dist/modules/integrations/api/[id]/credentials/route.js.map +2 -2
  94. package/dist/modules/integrations/api/[id]/health/route.js +6 -3
  95. package/dist/modules/integrations/api/[id]/health/route.js.map +2 -2
  96. package/dist/modules/integrations/api/[id]/route.js +6 -3
  97. package/dist/modules/integrations/api/[id]/route.js.map +2 -2
  98. package/dist/modules/integrations/api/[id]/state/route.js +6 -3
  99. package/dist/modules/integrations/api/[id]/state/route.js.map +2 -2
  100. package/dist/modules/integrations/api/[id]/version/route.js +6 -3
  101. package/dist/modules/integrations/api/[id]/version/route.js.map +2 -2
  102. package/dist/modules/integrations/api/logs/route.js +6 -3
  103. package/dist/modules/integrations/api/logs/route.js.map +2 -2
  104. package/dist/modules/integrations/api/route.js +6 -3
  105. package/dist/modules/integrations/api/route.js.map +2 -2
  106. package/dist/modules/integrations/api/umes-read.js +2 -2
  107. package/dist/modules/integrations/api/umes-read.js.map +2 -2
  108. package/dist/modules/integrations/lib/organization-scope.js +2 -9
  109. package/dist/modules/integrations/lib/organization-scope.js.map +2 -2
  110. package/dist/modules/messages/search.js +10 -5
  111. package/dist/modules/messages/search.js.map +2 -2
  112. package/dist/modules/query_index/data/entities.js +2 -1
  113. package/dist/modules/query_index/data/entities.js.map +2 -2
  114. package/dist/modules/query_index/lib/engine.js +32 -50
  115. package/dist/modules/query_index/lib/engine.js.map +2 -2
  116. package/dist/modules/query_index/migrations/Migration20260731105052_query_index.js +17 -0
  117. package/dist/modules/query_index/migrations/Migration20260731105052_query_index.js.map +7 -0
  118. package/generated/entities.ids.generated.ts +1 -0
  119. package/package.json +16 -16
  120. package/src/modules/auth/backend/settings/page.tsx +17 -8
  121. package/src/modules/customers/cli.ts +17 -7
  122. package/src/modules/customers/components/detail/ScheduleActivityDialog.tsx +24 -13
  123. package/src/modules/customers/i18n/de.json +17 -0
  124. package/src/modules/customers/i18n/en.json +17 -0
  125. package/src/modules/customers/i18n/es.json +17 -0
  126. package/src/modules/customers/i18n/pl.json +17 -0
  127. package/src/modules/customers/search.ts +59 -27
  128. package/src/modules/data_sync/AGENTS.md +1 -0
  129. package/src/modules/data_sync/api/mappings/[id]/route.ts +22 -9
  130. package/src/modules/data_sync/api/mappings/route.ts +13 -4
  131. package/src/modules/data_sync/api/options.ts +7 -2
  132. package/src/modules/data_sync/api/run.ts +7 -2
  133. package/src/modules/data_sync/api/runs/[id]/cancel.ts +8 -3
  134. package/src/modules/data_sync/api/runs/[id]/retry.ts +7 -2
  135. package/src/modules/data_sync/api/runs/[id]/route.ts +8 -3
  136. package/src/modules/data_sync/api/runs.ts +7 -2
  137. package/src/modules/data_sync/api/schedules/[id]/route.ts +19 -6
  138. package/src/modules/data_sync/api/schedules/route.ts +13 -4
  139. package/src/modules/data_sync/api/validate.ts +9 -4
  140. package/src/modules/design_system/AGENTS.md +34 -0
  141. package/src/modules/design_system/acl.ts +5 -0
  142. package/src/modules/design_system/backend/design-system/page.meta.ts +11 -0
  143. package/src/modules/design_system/backend/design-system/page.tsx +14 -0
  144. package/src/modules/design_system/gallery/components/CodeSnippet.tsx +55 -0
  145. package/src/modules/design_system/gallery/components/EntryCard.tsx +95 -0
  146. package/src/modules/design_system/gallery/components/GalleryShell.tsx +206 -0
  147. package/src/modules/design_system/gallery/components/VariantPreview.tsx +15 -0
  148. package/src/modules/design_system/gallery/entries/banners.tsx +226 -0
  149. package/src/modules/design_system/gallery/entries/buttons.tsx +422 -0
  150. package/src/modules/design_system/gallery/entries/charts.tsx +518 -0
  151. package/src/modules/design_system/gallery/entries/dates.tsx +325 -0
  152. package/src/modules/design_system/gallery/entries/detail.tsx +403 -0
  153. package/src/modules/design_system/gallery/entries/display.tsx +893 -0
  154. package/src/modules/design_system/gallery/entries/feedback.tsx +746 -0
  155. package/src/modules/design_system/gallery/entries/filters.tsx +570 -0
  156. package/src/modules/design_system/gallery/entries/foundations.tsx +529 -0
  157. package/src/modules/design_system/gallery/entries/icons.tsx +168 -0
  158. package/src/modules/design_system/gallery/entries/inputs.tsx +1516 -0
  159. package/src/modules/design_system/gallery/entries/messages.tsx +339 -0
  160. package/src/modules/design_system/gallery/entries/navigation.tsx +573 -0
  161. package/src/modules/design_system/gallery/entries/notifications.tsx +285 -0
  162. package/src/modules/design_system/gallery/entries/overlays.tsx +677 -0
  163. package/src/modules/design_system/gallery/entries/scaffolding.tsx +430 -0
  164. package/src/modules/design_system/gallery/entries/schedule.tsx +307 -0
  165. package/src/modules/design_system/gallery/registry.ts +152 -0
  166. package/src/modules/design_system/gallery/types.ts +32 -0
  167. package/src/modules/design_system/i18n/.hardcoded-allowlist.json +71 -0
  168. package/src/modules/design_system/i18n/de.json +46 -0
  169. package/src/modules/design_system/i18n/en.json +46 -0
  170. package/src/modules/design_system/i18n/es.json +46 -0
  171. package/src/modules/design_system/i18n/pl.json +46 -0
  172. package/src/modules/design_system/index.ts +7 -0
  173. package/src/modules/design_system/setup.ts +12 -0
  174. package/src/modules/inbox_ops/i18n/de.json +3 -0
  175. package/src/modules/inbox_ops/i18n/en.json +3 -0
  176. package/src/modules/inbox_ops/i18n/es.json +3 -0
  177. package/src/modules/inbox_ops/i18n/pl.json +3 -0
  178. package/src/modules/inbox_ops/search.ts +20 -4
  179. package/src/modules/integrations/api/[id]/credentials/route.ts +11 -5
  180. package/src/modules/integrations/api/[id]/health/route.ts +6 -3
  181. package/src/modules/integrations/api/[id]/route.ts +6 -3
  182. package/src/modules/integrations/api/[id]/state/route.ts +6 -3
  183. package/src/modules/integrations/api/[id]/version/route.ts +6 -3
  184. package/src/modules/integrations/api/logs/route.ts +6 -3
  185. package/src/modules/integrations/api/route.ts +6 -3
  186. package/src/modules/integrations/api/umes-read.ts +2 -2
  187. package/src/modules/integrations/lib/organization-scope.ts +5 -25
  188. package/src/modules/messages/i18n/de.json +2 -0
  189. package/src/modules/messages/i18n/en.json +2 -0
  190. package/src/modules/messages/i18n/es.json +2 -0
  191. package/src/modules/messages/i18n/pl.json +2 -0
  192. package/src/modules/messages/search.ts +11 -5
  193. package/src/modules/query_index/data/entities.ts +7 -0
  194. package/src/modules/query_index/lib/engine.ts +40 -63
  195. package/src/modules/query_index/migrations/.snapshot-open-mercato.json +12 -0
  196. package/src/modules/query_index/migrations/Migration20260731105052_query_index.ts +35 -0
@@ -0,0 +1,1217 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import { Copy, Globe, Info, Link2, Send, User } from "lucide-react";
4
+ import { Input } from "@open-mercato/ui/primitives/input";
5
+ import { Textarea } from "@open-mercato/ui/primitives/textarea";
6
+ import {
7
+ Select,
8
+ SelectContent,
9
+ SelectGroup,
10
+ SelectItem,
11
+ SelectLabel,
12
+ SelectSeparator,
13
+ SelectTrigger,
14
+ SelectTriggerLeading,
15
+ SelectValue
16
+ } from "@open-mercato/ui/primitives/select";
17
+ import { CompactSelectTrigger } from "@open-mercato/ui/primitives/compact-select";
18
+ import { InlineSelectTrigger } from "@open-mercato/ui/primitives/inline-select";
19
+ import { InlineInput } from "@open-mercato/ui/primitives/inline-input";
20
+ import { Checkbox } from "@open-mercato/ui/primitives/checkbox";
21
+ import { CheckboxField } from "@open-mercato/ui/primitives/checkbox-field";
22
+ import { Radio, RadioGroup } from "@open-mercato/ui/primitives/radio";
23
+ import { RadioField } from "@open-mercato/ui/primitives/radio-field";
24
+ import { Switch } from "@open-mercato/ui/primitives/switch";
25
+ import { SwitchField } from "@open-mercato/ui/primitives/switch-field";
26
+ import { Slider } from "@open-mercato/ui/primitives/slider";
27
+ import { FormField } from "@open-mercato/ui/primitives/form-field";
28
+ import { SearchInput } from "@open-mercato/ui/primitives/search-input";
29
+ import { EmailInput } from "@open-mercato/ui/primitives/email-input";
30
+ import { PasswordInput } from "@open-mercato/ui/primitives/password-input";
31
+ import { WebsiteInput } from "@open-mercato/ui/primitives/website-input";
32
+ import { AmountInput } from "@open-mercato/ui/primitives/amount-input";
33
+ import { CounterInput } from "@open-mercato/ui/primitives/counter-input";
34
+ import { DigitInput } from "@open-mercato/ui/primitives/digit-input";
35
+ import { CardInput } from "@open-mercato/ui/primitives/card-input";
36
+ import { ButtonInput } from "@open-mercato/ui/primitives/button-input";
37
+ import {
38
+ ColorPicker,
39
+ COLOR_PICKER_DEFAULT_SWATCHES
40
+ } from "@open-mercato/ui/primitives/color-picker";
41
+ import { TagInput } from "@open-mercato/ui/primitives/tag-input";
42
+ import { RichEditor } from "@open-mercato/ui/primitives/rich-editor";
43
+ import { IconButton } from "@open-mercato/ui/primitives/icon-button";
44
+ function DemoSearchInput({ size }) {
45
+ const [value, setValue] = React.useState("open orders");
46
+ return /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(SearchInput, { value, onChange: setValue, size }) });
47
+ }
48
+ function DemoAmountInput({ showCurrency }) {
49
+ const [value, setValue] = React.useState({ amount: "1250.00", currency: "EUR" });
50
+ return /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(AmountInput, { value, onChange: setValue, showCurrency }) });
51
+ }
52
+ function DemoCounterInput({
53
+ initial = 2,
54
+ step,
55
+ precision,
56
+ min,
57
+ max
58
+ }) {
59
+ const [value, setValue] = React.useState(initial);
60
+ return /* @__PURE__ */ jsx("div", { className: "w-36", children: /* @__PURE__ */ jsx(
61
+ CounterInput,
62
+ {
63
+ value,
64
+ onChange: setValue,
65
+ step,
66
+ precision,
67
+ min,
68
+ max
69
+ }
70
+ ) });
71
+ }
72
+ function DemoCardInput({ initial = "" }) {
73
+ const [value, setValue] = React.useState(initial);
74
+ return /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(CardInput, { value, onChange: setValue }) });
75
+ }
76
+ function DemoColorPicker({
77
+ allowCustom,
78
+ swatches
79
+ }) {
80
+ const [color, setColor] = React.useState("#6366F1");
81
+ return /* @__PURE__ */ jsx(
82
+ ColorPicker,
83
+ {
84
+ value: color,
85
+ onChange: setColor,
86
+ allowCustom,
87
+ swatches,
88
+ "aria-label": "Pick color"
89
+ }
90
+ );
91
+ }
92
+ function DemoTagInput({
93
+ initial = [],
94
+ maxTags,
95
+ placeholder
96
+ }) {
97
+ const [tags, setTags] = React.useState(initial);
98
+ return /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(TagInput, { value: tags, onChange: setTags, maxTags, placeholder }) });
99
+ }
100
+ function DemoRichEditor({ variant }) {
101
+ const [html, setHtml] = React.useState(
102
+ "<p>Ship the <strong>Q3 release notes</strong> before Friday.</p>"
103
+ );
104
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(RichEditor, { value: html, onChange: setHtml, variant }) });
105
+ }
106
+ const inputEntry = {
107
+ id: "input",
108
+ title: "Input",
109
+ importPath: "@open-mercato/ui/primitives/input",
110
+ variants: [
111
+ {
112
+ id: "default",
113
+ title: "default",
114
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(Input, { placeholder: "Product name" }) }),
115
+ code: `import { Input } from '@open-mercato/ui/primitives/input'
116
+
117
+ <Input placeholder="Product name" />`
118
+ },
119
+ {
120
+ id: "icon-slots",
121
+ title: "Icon slots",
122
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
123
+ /* @__PURE__ */ jsx("div", { className: "w-56", children: /* @__PURE__ */ jsx(Input, { leftIcon: /* @__PURE__ */ jsx(User, {}), placeholder: "Assignee" }) }),
124
+ /* @__PURE__ */ jsx("div", { className: "w-56", children: /* @__PURE__ */ jsx(Input, { rightIcon: /* @__PURE__ */ jsx(Info, {}), placeholder: "SKU" }) })
125
+ ] }),
126
+ code: `import { Info, User } from 'lucide-react'
127
+ import { Input } from '@open-mercato/ui/primitives/input'
128
+
129
+ <Input leftIcon={<User />} placeholder="Assignee" />
130
+ <Input rightIcon={<Info />} placeholder="SKU" />`
131
+ },
132
+ {
133
+ id: "sizes",
134
+ title: "Sizes",
135
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
136
+ /* @__PURE__ */ jsx("div", { className: "w-44", children: /* @__PURE__ */ jsx(Input, { size: "lg", placeholder: "Large" }) }),
137
+ /* @__PURE__ */ jsx("div", { className: "w-44", children: /* @__PURE__ */ jsx(Input, { size: "default", placeholder: "Default" }) }),
138
+ /* @__PURE__ */ jsx("div", { className: "w-44", children: /* @__PURE__ */ jsx(Input, { size: "sm", placeholder: "Small" }) })
139
+ ] }),
140
+ code: `import { Input } from '@open-mercato/ui/primitives/input'
141
+
142
+ <Input size="lg" placeholder="Large" />
143
+ <Input size="default" placeholder="Default" />
144
+ <Input size="sm" placeholder="Small" />`
145
+ },
146
+ {
147
+ id: "states",
148
+ title: "States",
149
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
150
+ /* @__PURE__ */ jsx("div", { className: "w-56", children: /* @__PURE__ */ jsx(Input, { "aria-invalid": true, defaultValue: "not-a-number" }) }),
151
+ /* @__PURE__ */ jsx("div", { className: "w-56", children: /* @__PURE__ */ jsx(Input, { disabled: true, placeholder: "Disabled" }) })
152
+ ] }),
153
+ code: `import { Input } from '@open-mercato/ui/primitives/input'
154
+
155
+ <Input aria-invalid defaultValue="not-a-number" />
156
+ <Input disabled placeholder="Disabled" />`
157
+ }
158
+ ]
159
+ };
160
+ const textareaEntry = {
161
+ id: "textarea",
162
+ title: "Textarea",
163
+ importPath: "@open-mercato/ui/primitives/textarea",
164
+ variants: [
165
+ {
166
+ id: "default",
167
+ title: "default",
168
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(Textarea, { placeholder: "Internal note for the fulfillment team" }) }),
169
+ code: `import { Textarea } from '@open-mercato/ui/primitives/textarea'
170
+
171
+ <Textarea placeholder="Internal note for the fulfillment team" />`
172
+ },
173
+ {
174
+ id: "character-count",
175
+ title: "Character counter",
176
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
177
+ Textarea,
178
+ {
179
+ showCount: true,
180
+ maxLength: 200,
181
+ defaultValue: "Customer prefers delivery after 4 PM."
182
+ }
183
+ ) }),
184
+ code: `import { Textarea } from '@open-mercato/ui/primitives/textarea'
185
+
186
+ <Textarea showCount maxLength={200} defaultValue="Customer prefers delivery after 4 PM." />`
187
+ },
188
+ {
189
+ id: "states",
190
+ title: "States",
191
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
192
+ /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(Textarea, { "aria-invalid": true, defaultValue: "Too short" }) }),
193
+ /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(Textarea, { disabled: true, placeholder: "Disabled" }) })
194
+ ] }),
195
+ code: `import { Textarea } from '@open-mercato/ui/primitives/textarea'
196
+
197
+ <Textarea aria-invalid defaultValue="Too short" />
198
+ <Textarea disabled placeholder="Disabled" />`
199
+ }
200
+ ]
201
+ };
202
+ const selectEntry = {
203
+ id: "select",
204
+ title: "Select",
205
+ importPath: "@open-mercato/ui/primitives/select",
206
+ variants: [
207
+ {
208
+ id: "default",
209
+ title: "default",
210
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-56", children: /* @__PURE__ */ jsxs(Select, { defaultValue: "pln", children: [
211
+ /* @__PURE__ */ jsx(SelectTrigger, { children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Choose currency" }) }),
212
+ /* @__PURE__ */ jsxs(SelectContent, { children: [
213
+ /* @__PURE__ */ jsx(SelectItem, { value: "eur", children: "Euro (EUR)" }),
214
+ /* @__PURE__ */ jsx(SelectItem, { value: "pln", children: "Polish Z\u0142oty (PLN)" }),
215
+ /* @__PURE__ */ jsx(SelectItem, { value: "usd", children: "US Dollar (USD)" })
216
+ ] })
217
+ ] }) }),
218
+ code: `import {
219
+ Select,
220
+ SelectContent,
221
+ SelectItem,
222
+ SelectTrigger,
223
+ SelectValue,
224
+ } from '@open-mercato/ui/primitives/select'
225
+
226
+ <Select defaultValue="pln">
227
+ <SelectTrigger>
228
+ <SelectValue placeholder="Choose currency" />
229
+ </SelectTrigger>
230
+ <SelectContent>
231
+ <SelectItem value="eur">Euro (EUR)</SelectItem>
232
+ <SelectItem value="pln">Polish Z\u0142oty (PLN)</SelectItem>
233
+ <SelectItem value="usd">US Dollar (USD)</SelectItem>
234
+ </SelectContent>
235
+ </Select>`
236
+ },
237
+ {
238
+ id: "groups-leading",
239
+ title: "Groups + leading slot",
240
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-56", children: /* @__PURE__ */ jsxs(Select, { children: [
241
+ /* @__PURE__ */ jsxs(SelectTrigger, { children: [
242
+ /* @__PURE__ */ jsx(SelectTriggerLeading, { children: /* @__PURE__ */ jsx(Globe, {}) }),
243
+ /* @__PURE__ */ jsx(SelectValue, { placeholder: "Sales channel" })
244
+ ] }),
245
+ /* @__PURE__ */ jsxs(SelectContent, { children: [
246
+ /* @__PURE__ */ jsxs(SelectGroup, { children: [
247
+ /* @__PURE__ */ jsx(SelectLabel, { children: "Online" }),
248
+ /* @__PURE__ */ jsx(SelectItem, { value: "webstore", children: "Webstore" }),
249
+ /* @__PURE__ */ jsx(SelectItem, { value: "marketplace", children: "Marketplace" })
250
+ ] }),
251
+ /* @__PURE__ */ jsx(SelectSeparator, {}),
252
+ /* @__PURE__ */ jsxs(SelectGroup, { children: [
253
+ /* @__PURE__ */ jsx(SelectLabel, { children: "Offline" }),
254
+ /* @__PURE__ */ jsx(SelectItem, { value: "retail", children: "Retail store" })
255
+ ] })
256
+ ] })
257
+ ] }) }),
258
+ code: `import { Globe } from 'lucide-react'
259
+ import {
260
+ Select,
261
+ SelectContent,
262
+ SelectGroup,
263
+ SelectItem,
264
+ SelectLabel,
265
+ SelectSeparator,
266
+ SelectTrigger,
267
+ SelectTriggerLeading,
268
+ SelectValue,
269
+ } from '@open-mercato/ui/primitives/select'
270
+
271
+ <Select>
272
+ <SelectTrigger>
273
+ <SelectTriggerLeading><Globe /></SelectTriggerLeading>
274
+ <SelectValue placeholder="Sales channel" />
275
+ </SelectTrigger>
276
+ <SelectContent>
277
+ <SelectGroup>
278
+ <SelectLabel>Online</SelectLabel>
279
+ <SelectItem value="webstore">Webstore</SelectItem>
280
+ <SelectItem value="marketplace">Marketplace</SelectItem>
281
+ </SelectGroup>
282
+ <SelectSeparator />
283
+ <SelectGroup>
284
+ <SelectLabel>Offline</SelectLabel>
285
+ <SelectItem value="retail">Retail store</SelectItem>
286
+ </SelectGroup>
287
+ </SelectContent>
288
+ </Select>`
289
+ },
290
+ {
291
+ id: "sizes",
292
+ title: "Sizes",
293
+ render: () => /* @__PURE__ */ jsx(Fragment, { children: ["lg", "default", "sm", "xs"].map((size) => /* @__PURE__ */ jsx("div", { className: "w-40", children: /* @__PURE__ */ jsxs(Select, { defaultValue: "active", children: [
294
+ /* @__PURE__ */ jsx(SelectTrigger, { size, children: /* @__PURE__ */ jsx(SelectValue, {}) }),
295
+ /* @__PURE__ */ jsxs(SelectContent, { children: [
296
+ /* @__PURE__ */ jsx(SelectItem, { value: "active", children: "Active" }),
297
+ /* @__PURE__ */ jsx(SelectItem, { value: "archived", children: "Archived" })
298
+ ] })
299
+ ] }) }, size)) }),
300
+ code: `import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@open-mercato/ui/primitives/select'
301
+
302
+ <SelectTrigger size="lg" />
303
+ <SelectTrigger size="default" />
304
+ <SelectTrigger size="sm" />
305
+ <SelectTrigger size="xs" />`
306
+ },
307
+ {
308
+ id: "states",
309
+ title: "States",
310
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
311
+ /* @__PURE__ */ jsx("div", { className: "w-48", children: /* @__PURE__ */ jsxs(Select, { children: [
312
+ /* @__PURE__ */ jsx(SelectTrigger, { "aria-invalid": "true", children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Required" }) }),
313
+ /* @__PURE__ */ jsx(SelectContent, { children: /* @__PURE__ */ jsx(SelectItem, { value: "a", children: "Option A" }) })
314
+ ] }) }),
315
+ /* @__PURE__ */ jsx("div", { className: "w-48", children: /* @__PURE__ */ jsxs(Select, { children: [
316
+ /* @__PURE__ */ jsx(SelectTrigger, { disabled: true, children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Disabled" }) }),
317
+ /* @__PURE__ */ jsx(SelectContent, { children: /* @__PURE__ */ jsx(SelectItem, { value: "a", children: "Option A" }) })
318
+ ] }) })
319
+ ] }),
320
+ code: `import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@open-mercato/ui/primitives/select'
321
+
322
+ <SelectTrigger aria-invalid="true"><SelectValue placeholder="Required" /></SelectTrigger>
323
+ <SelectTrigger disabled><SelectValue placeholder="Disabled" /></SelectTrigger>`
324
+ }
325
+ ]
326
+ };
327
+ const compactSelectEntry = {
328
+ id: "compact-select",
329
+ title: "CompactSelectTrigger",
330
+ importPath: "@open-mercato/ui/primitives/compact-select",
331
+ variants: [
332
+ {
333
+ id: "trigger-label",
334
+ title: "With trigger label",
335
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-44", children: /* @__PURE__ */ jsxs(Select, { defaultValue: "newest", children: [
336
+ /* @__PURE__ */ jsx(CompactSelectTrigger, { triggerLabel: "Sort:", children: /* @__PURE__ */ jsx(SelectValue, {}) }),
337
+ /* @__PURE__ */ jsxs(SelectContent, { children: [
338
+ /* @__PURE__ */ jsx(SelectItem, { value: "newest", children: "Newest" }),
339
+ /* @__PURE__ */ jsx(SelectItem, { value: "oldest", children: "Oldest" }),
340
+ /* @__PURE__ */ jsx(SelectItem, { value: "value", children: "Highest value" })
341
+ ] })
342
+ ] }) }),
343
+ code: `import {
344
+ CompactSelectTrigger,
345
+ Select,
346
+ SelectContent,
347
+ SelectItem,
348
+ SelectValue,
349
+ } from '@open-mercato/ui/primitives/compact-select'
350
+
351
+ <Select defaultValue="newest">
352
+ <CompactSelectTrigger triggerLabel="Sort:">
353
+ <SelectValue />
354
+ </CompactSelectTrigger>
355
+ <SelectContent>
356
+ <SelectItem value="newest">Newest</SelectItem>
357
+ <SelectItem value="oldest">Oldest</SelectItem>
358
+ <SelectItem value="value">Highest value</SelectItem>
359
+ </SelectContent>
360
+ </Select>`
361
+ },
362
+ {
363
+ id: "plain",
364
+ title: "Without label",
365
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-36", children: /* @__PURE__ */ jsxs(Select, { defaultValue: "table", children: [
366
+ /* @__PURE__ */ jsx(CompactSelectTrigger, { children: /* @__PURE__ */ jsx(SelectValue, {}) }),
367
+ /* @__PURE__ */ jsxs(SelectContent, { children: [
368
+ /* @__PURE__ */ jsx(SelectItem, { value: "table", children: "Table" }),
369
+ /* @__PURE__ */ jsx(SelectItem, { value: "board", children: "Board" })
370
+ ] })
371
+ ] }) }),
372
+ code: `import {
373
+ CompactSelectTrigger,
374
+ Select,
375
+ SelectContent,
376
+ SelectItem,
377
+ SelectValue,
378
+ } from '@open-mercato/ui/primitives/compact-select'
379
+
380
+ <Select defaultValue="table">
381
+ <CompactSelectTrigger>
382
+ <SelectValue />
383
+ </CompactSelectTrigger>
384
+ <SelectContent>
385
+ <SelectItem value="table">Table</SelectItem>
386
+ <SelectItem value="board">Board</SelectItem>
387
+ </SelectContent>
388
+ </Select>`
389
+ }
390
+ ]
391
+ };
392
+ const inlineSelectEntry = {
393
+ id: "inline-select",
394
+ title: "InlineSelectTrigger",
395
+ importPath: "@open-mercato/ui/primitives/inline-select",
396
+ variants: [
397
+ {
398
+ id: "default",
399
+ title: "default (border on hover)",
400
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-40", children: /* @__PURE__ */ jsxs(Select, { defaultValue: "high", children: [
401
+ /* @__PURE__ */ jsx(InlineSelectTrigger, { children: /* @__PURE__ */ jsx(SelectValue, {}) }),
402
+ /* @__PURE__ */ jsxs(SelectContent, { children: [
403
+ /* @__PURE__ */ jsx(SelectItem, { value: "low", children: "Low" }),
404
+ /* @__PURE__ */ jsx(SelectItem, { value: "medium", children: "Medium" }),
405
+ /* @__PURE__ */ jsx(SelectItem, { value: "high", children: "High" })
406
+ ] })
407
+ ] }) }),
408
+ code: `import {
409
+ InlineSelectTrigger,
410
+ Select,
411
+ SelectContent,
412
+ SelectItem,
413
+ SelectValue,
414
+ } from '@open-mercato/ui/primitives/inline-select'
415
+
416
+ <Select defaultValue="high">
417
+ <InlineSelectTrigger>
418
+ <SelectValue />
419
+ </InlineSelectTrigger>
420
+ <SelectContent>
421
+ <SelectItem value="low">Low</SelectItem>
422
+ <SelectItem value="medium">Medium</SelectItem>
423
+ <SelectItem value="high">High</SelectItem>
424
+ </SelectContent>
425
+ </Select>`
426
+ },
427
+ {
428
+ id: "invisible",
429
+ title: "Invisible until focus",
430
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-40", children: /* @__PURE__ */ jsxs(Select, { defaultValue: "draft", children: [
431
+ /* @__PURE__ */ jsx(InlineSelectTrigger, { showBorderOnHover: false, children: /* @__PURE__ */ jsx(SelectValue, {}) }),
432
+ /* @__PURE__ */ jsxs(SelectContent, { children: [
433
+ /* @__PURE__ */ jsx(SelectItem, { value: "draft", children: "Draft" }),
434
+ /* @__PURE__ */ jsx(SelectItem, { value: "published", children: "Published" })
435
+ ] })
436
+ ] }) }),
437
+ code: `import {
438
+ InlineSelectTrigger,
439
+ Select,
440
+ SelectContent,
441
+ SelectItem,
442
+ SelectValue,
443
+ } from '@open-mercato/ui/primitives/inline-select'
444
+
445
+ <InlineSelectTrigger showBorderOnHover={false}>
446
+ <SelectValue />
447
+ </InlineSelectTrigger>`
448
+ }
449
+ ]
450
+ };
451
+ const inlineInputEntry = {
452
+ id: "inline-input",
453
+ title: "InlineInput",
454
+ importPath: "@open-mercato/ui/primitives/inline-input",
455
+ variants: [
456
+ {
457
+ id: "default",
458
+ title: "default (border on hover)",
459
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-56", children: /* @__PURE__ */ jsx(InlineInput, { defaultValue: "Aurora desk lamp", "aria-label": "Product name" }) }),
460
+ code: `import { InlineInput } from '@open-mercato/ui/primitives/inline-input'
461
+
462
+ <InlineInput defaultValue="Aurora desk lamp" aria-label="Product name" onBlur={save} />`
463
+ },
464
+ {
465
+ id: "invisible",
466
+ title: "Invisible until focus",
467
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-56", children: /* @__PURE__ */ jsx(
468
+ InlineInput,
469
+ {
470
+ showBorderOnHover: false,
471
+ defaultValue: "SKU-2041",
472
+ "aria-label": "SKU"
473
+ }
474
+ ) }),
475
+ code: `import { InlineInput } from '@open-mercato/ui/primitives/inline-input'
476
+
477
+ <InlineInput showBorderOnHover={false} defaultValue="SKU-2041" aria-label="SKU" />`
478
+ }
479
+ ]
480
+ };
481
+ const checkboxEntry = {
482
+ id: "checkbox",
483
+ title: "Checkbox",
484
+ importPath: "@open-mercato/ui/primitives/checkbox",
485
+ variants: [
486
+ {
487
+ id: "states",
488
+ title: "States",
489
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
490
+ /* @__PURE__ */ jsx(Checkbox, { "aria-label": "Unchecked" }),
491
+ /* @__PURE__ */ jsx(Checkbox, { defaultChecked: true, "aria-label": "Checked" }),
492
+ /* @__PURE__ */ jsx(Checkbox, { checked: "indeterminate", "aria-label": "Indeterminate" })
493
+ ] }),
494
+ code: `import { Checkbox } from '@open-mercato/ui/primitives/checkbox'
495
+
496
+ <Checkbox />
497
+ <Checkbox defaultChecked />
498
+ <Checkbox checked="indeterminate" />`
499
+ },
500
+ {
501
+ id: "sizes",
502
+ title: "Sizes",
503
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
504
+ /* @__PURE__ */ jsx(Checkbox, { size: "sm", defaultChecked: true, "aria-label": "Small" }),
505
+ /* @__PURE__ */ jsx(Checkbox, { size: "md", defaultChecked: true, "aria-label": "Medium" })
506
+ ] }),
507
+ code: `import { Checkbox } from '@open-mercato/ui/primitives/checkbox'
508
+
509
+ <Checkbox size="sm" defaultChecked />
510
+ <Checkbox size="md" defaultChecked />`
511
+ },
512
+ {
513
+ id: "disabled",
514
+ title: "Disabled",
515
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
516
+ /* @__PURE__ */ jsx(Checkbox, { disabled: true, "aria-label": "Disabled" }),
517
+ /* @__PURE__ */ jsx(Checkbox, { disabled: true, defaultChecked: true, "aria-label": "Disabled checked" })
518
+ ] }),
519
+ code: `import { Checkbox } from '@open-mercato/ui/primitives/checkbox'
520
+
521
+ <Checkbox disabled />
522
+ <Checkbox disabled defaultChecked />`
523
+ }
524
+ ]
525
+ };
526
+ const checkboxFieldEntry = {
527
+ id: "checkbox-field",
528
+ title: "CheckboxField",
529
+ importPath: "@open-mercato/ui/primitives/checkbox-field",
530
+ variants: [
531
+ {
532
+ id: "default",
533
+ title: "default",
534
+ render: () => /* @__PURE__ */ jsx(CheckboxField, { label: "Email notifications", defaultChecked: true }),
535
+ code: `import { CheckboxField } from '@open-mercato/ui/primitives/checkbox-field'
536
+
537
+ <CheckboxField label="Email notifications" defaultChecked />`
538
+ },
539
+ {
540
+ id: "with-description",
541
+ title: "With sublabel + description",
542
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
543
+ CheckboxField,
544
+ {
545
+ label: "Auto-archive",
546
+ sublabel: "(recommended)",
547
+ description: "Closed conversations move to the archive after 30 days."
548
+ }
549
+ ) }),
550
+ code: `import { CheckboxField } from '@open-mercato/ui/primitives/checkbox-field'
551
+
552
+ <CheckboxField
553
+ label="Auto-archive"
554
+ sublabel="(recommended)"
555
+ description="Closed conversations move to the archive after 30 days."
556
+ />`
557
+ },
558
+ {
559
+ id: "flip",
560
+ title: "Flipped (checkbox right)",
561
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(CheckboxField, { flip: true, label: "Include shipping costs", defaultChecked: true }) }),
562
+ code: `import { CheckboxField } from '@open-mercato/ui/primitives/checkbox-field'
563
+
564
+ <CheckboxField flip label="Include shipping costs" defaultChecked />`
565
+ }
566
+ ]
567
+ };
568
+ const radioEntry = {
569
+ id: "radio",
570
+ title: "Radio",
571
+ importPath: "@open-mercato/ui/primitives/radio",
572
+ keywords: ["radiobutton", "radio button", "option group"],
573
+ variants: [
574
+ {
575
+ id: "group",
576
+ title: "RadioGroup",
577
+ render: () => /* @__PURE__ */ jsxs(RadioGroup, { defaultValue: "card", className: "flex-row gap-3", "aria-label": "Payment method", children: [
578
+ /* @__PURE__ */ jsx(Radio, { value: "card", "aria-label": "Card" }),
579
+ /* @__PURE__ */ jsx(Radio, { value: "transfer", "aria-label": "Bank transfer" }),
580
+ /* @__PURE__ */ jsx(Radio, { value: "cash", "aria-label": "Cash" })
581
+ ] }),
582
+ code: `import { Radio, RadioGroup } from '@open-mercato/ui/primitives/radio'
583
+
584
+ <RadioGroup defaultValue="card" aria-label="Payment method">
585
+ <Radio value="card" aria-label="Card" />
586
+ <Radio value="transfer" aria-label="Bank transfer" />
587
+ <Radio value="cash" aria-label="Cash" />
588
+ </RadioGroup>`
589
+ },
590
+ {
591
+ id: "disabled",
592
+ title: "Disabled",
593
+ render: () => /* @__PURE__ */ jsxs(RadioGroup, { defaultValue: "a", disabled: true, className: "flex-row gap-3", "aria-label": "Disabled group", children: [
594
+ /* @__PURE__ */ jsx(Radio, { value: "a", "aria-label": "Selected disabled" }),
595
+ /* @__PURE__ */ jsx(Radio, { value: "b", "aria-label": "Unselected disabled" })
596
+ ] }),
597
+ code: `import { Radio, RadioGroup } from '@open-mercato/ui/primitives/radio'
598
+
599
+ <RadioGroup defaultValue="a" disabled>
600
+ <Radio value="a" />
601
+ <Radio value="b" />
602
+ </RadioGroup>`
603
+ }
604
+ ]
605
+ };
606
+ const radioFieldEntry = {
607
+ keywords: ["radiobutton", "radio button"],
608
+ id: "radio-field",
609
+ title: "RadioField",
610
+ importPath: "@open-mercato/ui/primitives/radio-field",
611
+ variants: [
612
+ {
613
+ id: "default",
614
+ title: "default",
615
+ render: () => /* @__PURE__ */ jsxs(RadioGroup, { defaultValue: "standard", "aria-label": "Shipping speed", children: [
616
+ /* @__PURE__ */ jsx(RadioField, { value: "standard", label: "Standard" }),
617
+ /* @__PURE__ */ jsx(RadioField, { value: "express", label: "Express" })
618
+ ] }),
619
+ code: `import { RadioGroup } from '@open-mercato/ui/primitives/radio'
620
+ import { RadioField } from '@open-mercato/ui/primitives/radio-field'
621
+
622
+ <RadioGroup defaultValue="standard" aria-label="Shipping speed">
623
+ <RadioField value="standard" label="Standard" />
624
+ <RadioField value="express" label="Express" />
625
+ </RadioGroup>`
626
+ },
627
+ {
628
+ id: "with-description",
629
+ title: "With description",
630
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsxs(RadioGroup, { defaultValue: "invoice", "aria-label": "Billing", children: [
631
+ /* @__PURE__ */ jsx(
632
+ RadioField,
633
+ {
634
+ value: "invoice",
635
+ label: "Invoice",
636
+ description: "Pay within 14 days of delivery."
637
+ }
638
+ ),
639
+ /* @__PURE__ */ jsx(
640
+ RadioField,
641
+ {
642
+ value: "prepaid",
643
+ label: "Prepaid",
644
+ description: "Order ships after payment clears."
645
+ }
646
+ )
647
+ ] }) }),
648
+ code: `import { RadioGroup } from '@open-mercato/ui/primitives/radio'
649
+ import { RadioField } from '@open-mercato/ui/primitives/radio-field'
650
+
651
+ <RadioGroup defaultValue="invoice" aria-label="Billing">
652
+ <RadioField value="invoice" label="Invoice" description="Pay within 14 days of delivery." />
653
+ <RadioField value="prepaid" label="Prepaid" description="Order ships after payment clears." />
654
+ </RadioGroup>`
655
+ }
656
+ ]
657
+ };
658
+ const switchEntry = {
659
+ id: "switch",
660
+ title: "Switch",
661
+ importPath: "@open-mercato/ui/primitives/switch",
662
+ variants: [
663
+ {
664
+ id: "states",
665
+ title: "States",
666
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
667
+ /* @__PURE__ */ jsx(Switch, { "aria-label": "Off" }),
668
+ /* @__PURE__ */ jsx(Switch, { defaultChecked: true, "aria-label": "On" })
669
+ ] }),
670
+ code: `import { Switch } from '@open-mercato/ui/primitives/switch'
671
+
672
+ <Switch />
673
+ <Switch defaultChecked />`
674
+ },
675
+ {
676
+ id: "disabled",
677
+ title: "Disabled",
678
+ render: () => /* @__PURE__ */ jsxs(Fragment, { children: [
679
+ /* @__PURE__ */ jsx(Switch, { disabled: true, "aria-label": "Disabled off" }),
680
+ /* @__PURE__ */ jsx(Switch, { disabled: true, defaultChecked: true, "aria-label": "Disabled on" })
681
+ ] }),
682
+ code: `import { Switch } from '@open-mercato/ui/primitives/switch'
683
+
684
+ <Switch disabled />
685
+ <Switch disabled defaultChecked />`
686
+ }
687
+ ]
688
+ };
689
+ const switchFieldEntry = {
690
+ id: "switch-field",
691
+ title: "SwitchField",
692
+ importPath: "@open-mercato/ui/primitives/switch-field",
693
+ variants: [
694
+ {
695
+ id: "default",
696
+ title: "default (switch right)",
697
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(SwitchField, { label: "Two-factor authentication", defaultChecked: true }) }),
698
+ code: `import { SwitchField } from '@open-mercato/ui/primitives/switch-field'
699
+
700
+ <SwitchField label="Two-factor authentication" defaultChecked />`
701
+ },
702
+ {
703
+ id: "with-description",
704
+ title: "With description",
705
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
706
+ SwitchField,
707
+ {
708
+ label: "Low-stock alerts",
709
+ description: "Notify purchasing when stock drops below the reorder point."
710
+ }
711
+ ) }),
712
+ code: `import { SwitchField } from '@open-mercato/ui/primitives/switch-field'
713
+
714
+ <SwitchField
715
+ label="Low-stock alerts"
716
+ description="Notify purchasing when stock drops below the reorder point."
717
+ />`
718
+ },
719
+ {
720
+ id: "flip",
721
+ title: "Flipped (switch left)",
722
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(SwitchField, { flip: true, label: "Sync inventory nightly", defaultChecked: true }) }),
723
+ code: `import { SwitchField } from '@open-mercato/ui/primitives/switch-field'
724
+
725
+ <SwitchField flip label="Sync inventory nightly" defaultChecked />`
726
+ }
727
+ ]
728
+ };
729
+ const sliderEntry = {
730
+ id: "slider",
731
+ title: "Slider",
732
+ importPath: "@open-mercato/ui/primitives/slider",
733
+ variants: [
734
+ {
735
+ id: "single",
736
+ title: "Single value",
737
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(Slider, { defaultValue: [40], min: 0, max: 100, step: 5, "aria-label": "Discount" }) }),
738
+ code: `import { Slider } from '@open-mercato/ui/primitives/slider'
739
+
740
+ <Slider defaultValue={[40]} min={0} max={100} step={5} aria-label="Discount" />`
741
+ },
742
+ {
743
+ id: "range",
744
+ title: "Range (two thumbs)",
745
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(Slider, { defaultValue: [20, 60], min: 0, max: 100, "aria-label": "Price range" }) }),
746
+ code: `import { Slider } from '@open-mercato/ui/primitives/slider'
747
+
748
+ <Slider defaultValue={[20, 60]} min={0} max={100} aria-label="Price range" />`
749
+ },
750
+ {
751
+ id: "disabled",
752
+ title: "Disabled",
753
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(Slider, { defaultValue: [45], disabled: true, "aria-label": "Disabled slider" }) }),
754
+ code: `import { Slider } from '@open-mercato/ui/primitives/slider'
755
+
756
+ <Slider defaultValue={[45]} disabled />`
757
+ }
758
+ ]
759
+ };
760
+ const formFieldEntry = {
761
+ id: "form-field",
762
+ title: "FormField",
763
+ importPath: "@open-mercato/ui/primitives/form-field",
764
+ variants: [
765
+ {
766
+ id: "default",
767
+ title: "Label + description",
768
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(FormField, { label: "Warehouse code", description: "Short identifier used on labels.", children: /* @__PURE__ */ jsx(Input, { placeholder: "WAW-01" }) }) }),
769
+ code: `import { FormField } from '@open-mercato/ui/primitives/form-field'
770
+ import { Input } from '@open-mercato/ui/primitives/input'
771
+
772
+ <FormField label="Warehouse code" description="Short identifier used on labels.">
773
+ <Input placeholder="WAW-01" />
774
+ </FormField>`
775
+ },
776
+ {
777
+ id: "required",
778
+ title: "Required",
779
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(FormField, { label: "Company name", required: true, children: /* @__PURE__ */ jsx(Input, { placeholder: "Acme sp. z o.o." }) }) }),
780
+ code: `import { FormField } from '@open-mercato/ui/primitives/form-field'
781
+ import { Input } from '@open-mercato/ui/primitives/input'
782
+
783
+ <FormField label="Company name" required>
784
+ <Input placeholder="Acme sp. z o.o." />
785
+ </FormField>`
786
+ },
787
+ {
788
+ id: "error",
789
+ title: "Error",
790
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(FormField, { label: "VAT ID", error: "VAT ID must have 10 digits.", children: /* @__PURE__ */ jsx(Input, { defaultValue: "52601" }) }) }),
791
+ code: `import { FormField } from '@open-mercato/ui/primitives/form-field'
792
+ import { Input } from '@open-mercato/ui/primitives/input'
793
+
794
+ <FormField label="VAT ID" error="VAT ID must have 10 digits.">
795
+ <Input defaultValue="52601" />
796
+ </FormField>`
797
+ },
798
+ {
799
+ id: "horizontal",
800
+ title: "Horizontal",
801
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(FormField, { label: "Enable webhooks", orientation: "horizontal", children: /* @__PURE__ */ jsx(Switch, { defaultChecked: true }) }) }),
802
+ code: `import { FormField } from '@open-mercato/ui/primitives/form-field'
803
+ import { Switch } from '@open-mercato/ui/primitives/switch'
804
+
805
+ <FormField label="Enable webhooks" orientation="horizontal">
806
+ <Switch defaultChecked />
807
+ </FormField>`
808
+ }
809
+ ]
810
+ };
811
+ const searchInputEntry = {
812
+ id: "search-input",
813
+ title: "SearchInput",
814
+ importPath: "@open-mercato/ui/primitives/search-input",
815
+ variants: [
816
+ {
817
+ id: "default",
818
+ title: "default (clearable)",
819
+ render: () => /* @__PURE__ */ jsx(DemoSearchInput, {}),
820
+ code: `import { SearchInput } from '@open-mercato/ui/primitives/search-input'
821
+
822
+ const [query, setQuery] = React.useState('')
823
+
824
+ <SearchInput value={query} onChange={setQuery} />`
825
+ },
826
+ {
827
+ id: "small",
828
+ title: "Small",
829
+ render: () => /* @__PURE__ */ jsx(DemoSearchInput, { size: "sm" }),
830
+ code: `import { SearchInput } from '@open-mercato/ui/primitives/search-input'
831
+
832
+ <SearchInput size="sm" value={query} onChange={setQuery} />`
833
+ }
834
+ ]
835
+ };
836
+ const emailInputEntry = {
837
+ id: "email-input",
838
+ title: "EmailInput",
839
+ importPath: "@open-mercato/ui/primitives/email-input",
840
+ variants: [
841
+ {
842
+ id: "default",
843
+ title: "default",
844
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(EmailInput, {}) }),
845
+ code: `import { EmailInput } from '@open-mercato/ui/primitives/email-input'
846
+
847
+ <EmailInput />`
848
+ },
849
+ {
850
+ id: "no-icon",
851
+ title: "Without icon",
852
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(EmailInput, { showIcon: false }) }),
853
+ code: `import { EmailInput } from '@open-mercato/ui/primitives/email-input'
854
+
855
+ <EmailInput showIcon={false} />`
856
+ },
857
+ {
858
+ id: "invalid",
859
+ title: "Invalid",
860
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(EmailInput, { "aria-invalid": true, defaultValue: "not-an-email" }) }),
861
+ code: `import { EmailInput } from '@open-mercato/ui/primitives/email-input'
862
+
863
+ <EmailInput aria-invalid defaultValue="not-an-email" />`
864
+ }
865
+ ]
866
+ };
867
+ const passwordInputEntry = {
868
+ id: "password-input",
869
+ title: "PasswordInput",
870
+ importPath: "@open-mercato/ui/primitives/password-input",
871
+ variants: [
872
+ {
873
+ id: "default",
874
+ title: "default (reveal toggle)",
875
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(PasswordInput, { defaultValue: "correct-horse-battery", autoComplete: "off" }) }),
876
+ code: `import { PasswordInput } from '@open-mercato/ui/primitives/password-input'
877
+
878
+ <PasswordInput autoComplete="current-password" />`
879
+ },
880
+ {
881
+ id: "no-lock",
882
+ title: "Without lock icon",
883
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(PasswordInput, { showLockIcon: false, autoComplete: "off" }) }),
884
+ code: `import { PasswordInput } from '@open-mercato/ui/primitives/password-input'
885
+
886
+ <PasswordInput showLockIcon={false} />`
887
+ },
888
+ {
889
+ id: "disabled",
890
+ title: "Disabled",
891
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(PasswordInput, { disabled: true, autoComplete: "off" }) }),
892
+ code: `import { PasswordInput } from '@open-mercato/ui/primitives/password-input'
893
+
894
+ <PasswordInput disabled />`
895
+ }
896
+ ]
897
+ };
898
+ const websiteInputEntry = {
899
+ id: "website-input",
900
+ title: "WebsiteInput",
901
+ importPath: "@open-mercato/ui/primitives/website-input",
902
+ variants: [
903
+ {
904
+ id: "default",
905
+ title: "default (https:// prefix)",
906
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(WebsiteInput, {}) }),
907
+ code: `import { WebsiteInput } from '@open-mercato/ui/primitives/website-input'
908
+
909
+ <WebsiteInput />`
910
+ },
911
+ {
912
+ id: "custom-prefix",
913
+ title: "Custom prefix",
914
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(WebsiteInput, { prefix: "http://" }) }),
915
+ code: `import { WebsiteInput } from '@open-mercato/ui/primitives/website-input'
916
+
917
+ <WebsiteInput prefix="http://" />`
918
+ },
919
+ {
920
+ id: "no-prefix",
921
+ title: "Without prefix",
922
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-72", children: /* @__PURE__ */ jsx(WebsiteInput, { showPrefix: false }) }),
923
+ code: `import { WebsiteInput } from '@open-mercato/ui/primitives/website-input'
924
+
925
+ <WebsiteInput showPrefix={false} />`
926
+ }
927
+ ]
928
+ };
929
+ const amountInputEntry = {
930
+ id: "amount-input",
931
+ title: "AmountInput",
932
+ importPath: "@open-mercato/ui/primitives/amount-input",
933
+ variants: [
934
+ {
935
+ id: "default",
936
+ title: "default (currency picker)",
937
+ render: () => /* @__PURE__ */ jsx(DemoAmountInput, {}),
938
+ code: `import { AmountInput, type AmountValue } from '@open-mercato/ui/primitives/amount-input'
939
+
940
+ const [value, setValue] = React.useState<AmountValue>({ amount: '', currency: 'EUR' })
941
+
942
+ <AmountInput value={value} onChange={setValue} />`
943
+ },
944
+ {
945
+ id: "no-currency",
946
+ title: "Without currency picker",
947
+ render: () => /* @__PURE__ */ jsx(DemoAmountInput, { showCurrency: false }),
948
+ code: `import { AmountInput } from '@open-mercato/ui/primitives/amount-input'
949
+
950
+ <AmountInput value={value} onChange={setValue} showCurrency={false} />`
951
+ }
952
+ ]
953
+ };
954
+ const counterInputEntry = {
955
+ id: "counter-input",
956
+ title: "CounterInput",
957
+ importPath: "@open-mercato/ui/primitives/counter-input",
958
+ variants: [
959
+ {
960
+ id: "default",
961
+ title: "default",
962
+ render: () => /* @__PURE__ */ jsx(DemoCounterInput, { min: 0, max: 10 }),
963
+ code: `import { CounterInput } from '@open-mercato/ui/primitives/counter-input'
964
+
965
+ const [qty, setQty] = React.useState<number | null>(2)
966
+
967
+ <CounterInput value={qty} onChange={setQty} min={0} max={10} />`
968
+ },
969
+ {
970
+ id: "step-precision",
971
+ title: "Step + precision",
972
+ render: () => /* @__PURE__ */ jsx(DemoCounterInput, { initial: 2.5, step: 0.5, precision: 1, min: 0 }),
973
+ code: `import { CounterInput } from '@open-mercato/ui/primitives/counter-input'
974
+
975
+ <CounterInput value={weight} onChange={setWeight} step={0.5} precision={1} min={0} />`
976
+ },
977
+ {
978
+ id: "disabled",
979
+ title: "Disabled",
980
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-36", children: /* @__PURE__ */ jsx(CounterInput, { value: 5, disabled: true }) }),
981
+ code: `import { CounterInput } from '@open-mercato/ui/primitives/counter-input'
982
+
983
+ <CounterInput value={5} disabled />`
984
+ }
985
+ ]
986
+ };
987
+ const digitInputEntry = {
988
+ id: "digit-input",
989
+ title: "DigitInput",
990
+ importPath: "@open-mercato/ui/primitives/digit-input",
991
+ variants: [
992
+ {
993
+ id: "default",
994
+ title: "default (6 cells)",
995
+ render: () => /* @__PURE__ */ jsx(DigitInput, { "aria-label": "Verification code" }),
996
+ code: `import { DigitInput } from '@open-mercato/ui/primitives/digit-input'
997
+
998
+ <DigitInput onComplete={(code) => verify(code)} />`
999
+ },
1000
+ {
1001
+ id: "masked",
1002
+ title: "Masked (4 cells)",
1003
+ render: () => /* @__PURE__ */ jsx(DigitInput, { length: 4, mask: true, value: "1234", "aria-label": "PIN" }),
1004
+ code: `import { DigitInput } from '@open-mercato/ui/primitives/digit-input'
1005
+
1006
+ <DigitInput length={4} mask aria-label="PIN" />`
1007
+ },
1008
+ {
1009
+ id: "states",
1010
+ title: "States",
1011
+ render: () => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3", children: [
1012
+ /* @__PURE__ */ jsx(DigitInput, { length: 4, value: "4921", "aria-invalid": true, "aria-label": "Invalid code" }),
1013
+ /* @__PURE__ */ jsx(DigitInput, { length: 4, disabled: true, "aria-label": "Disabled code" })
1014
+ ] }),
1015
+ code: `import { DigitInput } from '@open-mercato/ui/primitives/digit-input'
1016
+
1017
+ <DigitInput length={4} aria-invalid />
1018
+ <DigitInput length={4} disabled />`
1019
+ }
1020
+ ]
1021
+ };
1022
+ const cardInputEntry = {
1023
+ id: "card-input",
1024
+ title: "CardInput",
1025
+ importPath: "@open-mercato/ui/primitives/card-input",
1026
+ variants: [
1027
+ {
1028
+ id: "default",
1029
+ title: "default (empty)",
1030
+ render: () => /* @__PURE__ */ jsx(DemoCardInput, {}),
1031
+ code: `import { CardInput } from '@open-mercato/ui/primitives/card-input'
1032
+
1033
+ const [digits, setDigits] = React.useState('')
1034
+
1035
+ <CardInput value={digits} onChange={setDigits} />`
1036
+ },
1037
+ {
1038
+ id: "brand-detected",
1039
+ title: "Brand detected",
1040
+ render: () => /* @__PURE__ */ jsx(DemoCardInput, { initial: "4242424242424242" }),
1041
+ code: `import { CardInput } from '@open-mercato/ui/primitives/card-input'
1042
+
1043
+ <CardInput value={digits} onChange={setDigits} onBrandChange={setBrand} />`
1044
+ }
1045
+ ]
1046
+ };
1047
+ const buttonInputEntry = {
1048
+ id: "button-input",
1049
+ title: "ButtonInput",
1050
+ importPath: "@open-mercato/ui/primitives/button-input",
1051
+ variants: [
1052
+ {
1053
+ id: "copy-link",
1054
+ title: "Copy link",
1055
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
1056
+ ButtonInput,
1057
+ {
1058
+ readOnly: true,
1059
+ defaultValue: "https://app.example.com/i/8f2c",
1060
+ leftIcon: /* @__PURE__ */ jsx(Link2, {}),
1061
+ trailingAction: /* @__PURE__ */ jsx(IconButton, { variant: "ghost", "aria-label": "Copy link", children: /* @__PURE__ */ jsx(Copy, {}) })
1062
+ }
1063
+ ) }),
1064
+ code: `import { Copy, Link2 } from 'lucide-react'
1065
+ import { ButtonInput } from '@open-mercato/ui/primitives/button-input'
1066
+ import { IconButton } from '@open-mercato/ui/primitives/icon-button'
1067
+
1068
+ <ButtonInput
1069
+ readOnly
1070
+ defaultValue="https://app.example.com/i/8f2c"
1071
+ leftIcon={<Link2 />}
1072
+ trailingAction={
1073
+ <IconButton variant="ghost" aria-label="Copy link"><Copy /></IconButton>
1074
+ }
1075
+ />`
1076
+ },
1077
+ {
1078
+ id: "send",
1079
+ title: "Send action",
1080
+ render: () => /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
1081
+ ButtonInput,
1082
+ {
1083
+ placeholder: "Invite by email",
1084
+ trailingAction: /* @__PURE__ */ jsx(IconButton, { variant: "ghost", "aria-label": "Send invite", children: /* @__PURE__ */ jsx(Send, {}) })
1085
+ }
1086
+ ) }),
1087
+ code: `import { Send } from 'lucide-react'
1088
+ import { ButtonInput } from '@open-mercato/ui/primitives/button-input'
1089
+ import { IconButton } from '@open-mercato/ui/primitives/icon-button'
1090
+
1091
+ <ButtonInput
1092
+ placeholder="Invite by email"
1093
+ trailingAction={
1094
+ <IconButton variant="ghost" aria-label="Send invite"><Send /></IconButton>
1095
+ }
1096
+ />`
1097
+ }
1098
+ ]
1099
+ };
1100
+ const colorPickerEntry = {
1101
+ id: "color-picker",
1102
+ title: "ColorPicker",
1103
+ importPath: "@open-mercato/ui/primitives/color-picker",
1104
+ variants: [
1105
+ {
1106
+ id: "default",
1107
+ title: "default",
1108
+ render: () => /* @__PURE__ */ jsx(DemoColorPicker, {}),
1109
+ code: `import { ColorPicker } from '@open-mercato/ui/primitives/color-picker'
1110
+
1111
+ const [color, setColor] = React.useState('#6366F1')
1112
+
1113
+ <ColorPicker value={color} onChange={setColor} />`
1114
+ },
1115
+ {
1116
+ id: "locked-palette",
1117
+ title: "Locked palette",
1118
+ render: () => /* @__PURE__ */ jsx(
1119
+ DemoColorPicker,
1120
+ {
1121
+ allowCustom: false,
1122
+ swatches: COLOR_PICKER_DEFAULT_SWATCHES.slice(0, 5)
1123
+ }
1124
+ ),
1125
+ code: `import { ColorPicker, COLOR_PICKER_DEFAULT_SWATCHES } from '@open-mercato/ui/primitives/color-picker'
1126
+
1127
+ <ColorPicker
1128
+ value={color}
1129
+ onChange={setColor}
1130
+ swatches={COLOR_PICKER_DEFAULT_SWATCHES.slice(0, 5)}
1131
+ allowCustom={false}
1132
+ />`
1133
+ }
1134
+ ]
1135
+ };
1136
+ const tagInputEntry = {
1137
+ id: "tag-input",
1138
+ title: "TagInput",
1139
+ importPath: "@open-mercato/ui/primitives/tag-input",
1140
+ variants: [
1141
+ {
1142
+ id: "default",
1143
+ title: "default",
1144
+ render: () => /* @__PURE__ */ jsx(DemoTagInput, { initial: ["wholesale", "priority", "eu"], placeholder: "Add tag" }),
1145
+ code: `import { TagInput } from '@open-mercato/ui/primitives/tag-input'
1146
+
1147
+ const [tags, setTags] = React.useState<string[]>(['wholesale', 'priority', 'eu'])
1148
+
1149
+ <TagInput value={tags} onChange={setTags} placeholder="Add tag" />`
1150
+ },
1151
+ {
1152
+ id: "max-tags",
1153
+ title: "Max tags reached",
1154
+ render: () => /* @__PURE__ */ jsx(DemoTagInput, { initial: ["red", "green", "blue"], maxTags: 3, placeholder: "Add tag" }),
1155
+ code: `import { TagInput } from '@open-mercato/ui/primitives/tag-input'
1156
+
1157
+ <TagInput value={tags} onChange={setTags} maxTags={3} />`
1158
+ }
1159
+ ]
1160
+ };
1161
+ const richEditorEntry = {
1162
+ id: "rich-editor",
1163
+ title: "RichEditor",
1164
+ importPath: "@open-mercato/ui/primitives/rich-editor",
1165
+ variants: [
1166
+ {
1167
+ id: "minimal",
1168
+ title: "minimal",
1169
+ render: () => /* @__PURE__ */ jsx(DemoRichEditor, { variant: "minimal" }),
1170
+ code: `import { RichEditor } from '@open-mercato/ui/primitives/rich-editor'
1171
+
1172
+ const [html, setHtml] = React.useState('')
1173
+
1174
+ <RichEditor value={html} onChange={setHtml} variant="minimal" />`
1175
+ },
1176
+ {
1177
+ id: "standard",
1178
+ title: "standard",
1179
+ render: () => /* @__PURE__ */ jsx(DemoRichEditor, { variant: "standard" }),
1180
+ code: `import { RichEditor } from '@open-mercato/ui/primitives/rich-editor'
1181
+
1182
+ <RichEditor value={html} onChange={setHtml} variant="standard" />`
1183
+ }
1184
+ ]
1185
+ };
1186
+ const entries = [
1187
+ inputEntry,
1188
+ textareaEntry,
1189
+ selectEntry,
1190
+ compactSelectEntry,
1191
+ inlineSelectEntry,
1192
+ inlineInputEntry,
1193
+ checkboxEntry,
1194
+ checkboxFieldEntry,
1195
+ radioEntry,
1196
+ radioFieldEntry,
1197
+ switchEntry,
1198
+ switchFieldEntry,
1199
+ sliderEntry,
1200
+ formFieldEntry,
1201
+ searchInputEntry,
1202
+ emailInputEntry,
1203
+ passwordInputEntry,
1204
+ websiteInputEntry,
1205
+ amountInputEntry,
1206
+ counterInputEntry,
1207
+ digitInputEntry,
1208
+ cardInputEntry,
1209
+ buttonInputEntry,
1210
+ colorPickerEntry,
1211
+ tagInputEntry,
1212
+ richEditorEntry
1213
+ ];
1214
+ export {
1215
+ entries
1216
+ };
1217
+ //# sourceMappingURL=inputs.js.map