cetec-design-system 0.0.7 → 0.0.8

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 (516) hide show
  1. package/package.json +2 -2
  2. package/src/App.tsx +478 -0
  3. package/src/components/Box/Box.tsx +26 -0
  4. package/src/components/Box/index.tsx +1 -0
  5. package/src/components/Button/Button.stories.tsx +129 -0
  6. package/src/components/Button/Button.tsx +45 -0
  7. package/src/components/Button/ButtonContent.tsx +32 -0
  8. package/src/components/Button/index.tsx +1 -0
  9. package/src/components/CheckBox/CheckBox.tsx +36 -0
  10. package/src/components/CheckBox/index.tsx +1 -0
  11. package/src/components/Code/Code.tsx +35 -0
  12. package/src/components/Code/Pre.tsx +35 -0
  13. package/src/components/Code/copy-to-clipboard-button.tsx +41 -0
  14. package/src/components/Code/index.tsx +2 -0
  15. package/src/components/Divider/Divider.tsx +26 -0
  16. package/src/components/Divider/index.tsx +1 -0
  17. package/src/components/Heading/Heading.tsx +33 -0
  18. package/src/components/Heading/index.tsx +1 -0
  19. package/src/components/Icon/Icon.stories.tsx +31 -0
  20. package/src/components/Icon/Icon.tsx +46 -0
  21. package/src/components/Icon/iconNames.ts +219 -0
  22. package/src/components/Icon/icons.d.ts +1 -0
  23. package/src/components/Icon/index.tsx +3 -0
  24. package/src/components/IconButton/IconButton.tsx +58 -0
  25. package/src/components/IconButton/index.tsx +1 -0
  26. package/src/components/Input/Input.tsx +42 -0
  27. package/src/components/Input/index.tsx +1 -0
  28. package/src/components/Label/Label.tsx +33 -0
  29. package/src/components/Label/index.tsx +1 -0
  30. package/src/components/Link/Link.tsx +54 -0
  31. package/src/components/Link/index.tsx +1 -0
  32. package/src/components/PandaPatterns.tsx +23 -0
  33. package/src/components/Radio/Radio.tsx +28 -0
  34. package/src/components/Radio/index.tsx +1 -0
  35. package/src/components/Slot.tsx +16 -0
  36. package/src/components/Spinner/Spinner.tsx +22 -0
  37. package/src/components/Spinner/index.tsx +1 -0
  38. package/src/components/Text/Text.stories.tsx +106 -0
  39. package/src/components/Text/Text.tsx +39 -0
  40. package/src/components/Text/index.tsx +1 -0
  41. package/src/components/TextInput/TextInput.tsx +33 -0
  42. package/src/components/TextInput/index.tsx +1 -0
  43. package/src/components/Textarea/Textarea.tsx +36 -0
  44. package/src/components/Textarea/index.tsx +1 -0
  45. package/src/components/ThemeSwitcher/ThemeSwitcher.tsx +20 -0
  46. package/src/components/ThemeSwitcher/index.tsx +1 -0
  47. package/src/contexts/ThemeContext.tsx +77 -0
  48. package/src/main.tsx +10 -0
  49. package/src/recipes/box.ts +16 -0
  50. package/src/recipes/button.ts +220 -0
  51. package/src/recipes/checkbox.ts +81 -0
  52. package/src/recipes/code.ts +37 -0
  53. package/src/recipes/divider.ts +40 -0
  54. package/src/recipes/index.ts +12 -0
  55. package/src/recipes/input.ts +56 -0
  56. package/src/recipes/radio.ts +71 -0
  57. package/src/recipes/spinner.ts +42 -0
  58. package/src/recipes/text.ts +193 -0
  59. package/src/recipes/textarea.ts +78 -0
  60. package/src/recipes/textinput.ts +76 -0
  61. package/src/storybook/Tokens.mdx +169 -0
  62. package/src/storybook/components/Colors.tsx +78 -0
  63. package/src/storybook/doctemplate.mdx +36 -0
  64. package/src/storybook/intro.mdx +15 -0
  65. package/src/styles/conditions.ts +108 -0
  66. package/src/styles/font-imports.css +35 -0
  67. package/src/styles/globalStyle.ts +90 -0
  68. package/src/styles/index.css +3 -0
  69. package/src/styles/semanticTokens.ts +110 -0
  70. package/src/styles/tokens.ts +580 -0
  71. package/src/utils/forwardRefWithAs.ts +26 -0
  72. package/src/utils/generate-sprite.js +174 -0
  73. package/src/utils/splitProps.ts +11 -0
  74. package/src/utils/sprite-config.js +25 -0
  75. package/src/utils/svgsSource/Building.svg +3 -0
  76. package/src/utils/svgsSource/aa-placeholder.svg +3 -0
  77. package/src/utils/svgsSource/alarm.svg +3 -0
  78. package/src/utils/svgsSource/apps.svg +3 -0
  79. package/src/utils/svgsSource/arrow-down.svg +3 -0
  80. package/src/utils/svgsSource/arrow-drop-down.svg +3 -0
  81. package/src/utils/svgsSource/arrow-drop-up.svg +3 -0
  82. package/src/utils/svgsSource/arrow-left.svg +3 -0
  83. package/src/utils/svgsSource/arrow-line-down.svg +3 -0
  84. package/src/utils/svgsSource/arrow-line-left.svg +3 -0
  85. package/src/utils/svgsSource/arrow-line-right.svg +3 -0
  86. package/src/utils/svgsSource/arrow-line-up.svg +3 -0
  87. package/src/utils/svgsSource/arrow-prompt.svg +3 -0
  88. package/src/utils/svgsSource/arrow-redo.svg +3 -0
  89. package/src/utils/svgsSource/arrow-right.svg +3 -0
  90. package/src/utils/svgsSource/arrow-square-in.svg +4 -0
  91. package/src/utils/svgsSource/arrow-square-out.svg +4 -0
  92. package/src/utils/svgsSource/arrow-undo.svg +3 -0
  93. package/src/utils/svgsSource/arrow-up.svg +3 -0
  94. package/src/utils/svgsSource/arrows-down-up.svg +3 -0
  95. package/src/utils/svgsSource/arrows-left-right.svg +3 -0
  96. package/src/utils/svgsSource/at.svg +3 -0
  97. package/src/utils/svgsSource/attachment.svg +3 -0
  98. package/src/utils/svgsSource/barcode-reader.svg +3 -0
  99. package/src/utils/svgsSource/barcode.svg +10 -0
  100. package/src/utils/svgsSource/basket.svg +6 -0
  101. package/src/utils/svgsSource/bell-active.svg +3 -0
  102. package/src/utils/svgsSource/bell-slash.svg +3 -0
  103. package/src/utils/svgsSource/bell.svg +3 -0
  104. package/src/utils/svgsSource/bin.svg +3 -0
  105. package/src/utils/svgsSource/bookmark-outlined.svg +3 -0
  106. package/src/utils/svgsSource/bookmark.svg +3 -0
  107. package/src/utils/svgsSource/bookmarks.svg +3 -0
  108. package/src/utils/svgsSource/calendar-add.svg +3 -0
  109. package/src/utils/svgsSource/calendar-view-day.svg +3 -0
  110. package/src/utils/svgsSource/calendar-view-month.svg +3 -0
  111. package/src/utils/svgsSource/calendar-view-week.svg +3 -0
  112. package/src/utils/svgsSource/calendar.svg +3 -0
  113. package/src/utils/svgsSource/caret-down.svg +3 -0
  114. package/src/utils/svgsSource/caret-left.svg +3 -0
  115. package/src/utils/svgsSource/caret-right.svg +3 -0
  116. package/src/utils/svgsSource/caret-up.svg +3 -0
  117. package/src/utils/svgsSource/cart.svg +3 -0
  118. package/src/utils/svgsSource/check-thick.svg +3 -0
  119. package/src/utils/svgsSource/check.svg +3 -0
  120. package/src/utils/svgsSource/checkbox-checked.svg +3 -0
  121. package/src/utils/svgsSource/checkbox-focus.svg +3 -0
  122. package/src/utils/svgsSource/checkbox-indeterminate.svg +3 -0
  123. package/src/utils/svgsSource/checkbox.svg +3 -0
  124. package/src/utils/svgsSource/circle-check.svg +3 -0
  125. package/src/utils/svgsSource/circle.svg +3 -0
  126. package/src/utils/svgsSource/circles-add.svg +3 -0
  127. package/src/utils/svgsSource/clipboard.svg +3 -0
  128. package/src/utils/svgsSource/clock-countdown.svg +3 -0
  129. package/src/utils/svgsSource/clock.svg +3 -0
  130. package/src/utils/svgsSource/cloud-synced.svg +3 -0
  131. package/src/utils/svgsSource/code.svg +3 -0
  132. package/src/utils/svgsSource/color.svg +3 -0
  133. package/src/utils/svgsSource/copy.svg +4 -0
  134. package/src/utils/svgsSource/credit-card.svg +3 -0
  135. package/src/utils/svgsSource/cut.svg +3 -0
  136. package/src/utils/svgsSource/database.svg +3 -0
  137. package/src/utils/svgsSource/devices.svg +3 -0
  138. package/src/utils/svgsSource/dictionary.svg +3 -0
  139. package/src/utils/svgsSource/dots.svg +3 -0
  140. package/src/utils/svgsSource/download-cloud.svg +3 -0
  141. package/src/utils/svgsSource/download.svg +3 -0
  142. package/src/utils/svgsSource/dragger.svg +3 -0
  143. package/src/utils/svgsSource/edit.svg +3 -0
  144. package/src/utils/svgsSource/encrypted.svg +3 -0
  145. package/src/utils/svgsSource/envelope.svg +3 -0
  146. package/src/utils/svgsSource/equal.svg +3 -0
  147. package/src/utils/svgsSource/eraser.svg +3 -0
  148. package/src/utils/svgsSource/error.svg +3 -0
  149. package/src/utils/svgsSource/event-list.svg +3 -0
  150. package/src/utils/svgsSource/export.svg +4 -0
  151. package/src/utils/svgsSource/extension.svg +3 -0
  152. package/src/utils/svgsSource/eye-slash.svg +3 -0
  153. package/src/utils/svgsSource/eye.svg +3 -0
  154. package/src/utils/svgsSource/file-add.svg +3 -0
  155. package/src/utils/svgsSource/file.svg +3 -0
  156. package/src/utils/svgsSource/files.svg +3 -0
  157. package/src/utils/svgsSource/filter-remove.svg +6 -0
  158. package/src/utils/svgsSource/filter.svg +5 -0
  159. package/src/utils/svgsSource/finish.svg +3 -0
  160. package/src/utils/svgsSource/flag.svg +3 -0
  161. package/src/utils/svgsSource/forklift.svg +3 -0
  162. package/src/utils/svgsSource/garage.svg +3 -0
  163. package/src/utils/svgsSource/globe.svg +3 -0
  164. package/src/utils/svgsSource/hash.svg +3 -0
  165. package/src/utils/svgsSource/heart-outlined.svg +3 -0
  166. package/src/utils/svgsSource/heart.svg +3 -0
  167. package/src/utils/svgsSource/help.svg +3 -0
  168. package/src/utils/svgsSource/history.svg +3 -0
  169. package/src/utils/svgsSource/home.svg +3 -0
  170. package/src/utils/svgsSource/image.svg +3 -0
  171. package/src/utils/svgsSource/images.svg +3 -0
  172. package/src/utils/svgsSource/inbox.svg +3 -0
  173. package/src/utils/svgsSource/infinity.svg +3 -0
  174. package/src/utils/svgsSource/info.svg +3 -0
  175. package/src/utils/svgsSource/inventory.svg +5 -0
  176. package/src/utils/svgsSource/invoice.svg +4 -0
  177. package/src/utils/svgsSource/jump-back.svg +3 -0
  178. package/src/utils/svgsSource/jump-forward.svg +3 -0
  179. package/src/utils/svgsSource/kbd-backspace.svg +3 -0
  180. package/src/utils/svgsSource/kbd-capslock.svg +3 -0
  181. package/src/utils/svgsSource/kbd-command.svg +3 -0
  182. package/src/utils/svgsSource/kbd-control.svg +3 -0
  183. package/src/utils/svgsSource/kbd-hide.svg +3 -0
  184. package/src/utils/svgsSource/kbd-option.svg +3 -0
  185. package/src/utils/svgsSource/kbd-return.svg +3 -0
  186. package/src/utils/svgsSource/kbd-shift.svg +3 -0
  187. package/src/utils/svgsSource/kbd-space.svg +3 -0
  188. package/src/utils/svgsSource/kbd.svg +3 -0
  189. package/src/utils/svgsSource/link-slash.svg +3 -0
  190. package/src/utils/svgsSource/link.svg +3 -0
  191. package/src/utils/svgsSource/list-bullets.svg +8 -0
  192. package/src/utils/svgsSource/list-checks.svg +7 -0
  193. package/src/utils/svgsSource/list-numbers.svg +7 -0
  194. package/src/utils/svgsSource/lock-open.svg +3 -0
  195. package/src/utils/svgsSource/lock.svg +3 -0
  196. package/src/utils/svgsSource/map-pin.svg +3 -0
  197. package/src/utils/svgsSource/mark-unread.svg +3 -0
  198. package/src/utils/svgsSource/menu-close.svg +3 -0
  199. package/src/utils/svgsSource/menu.svg +3 -0
  200. package/src/utils/svgsSource/message.svg +3 -0
  201. package/src/utils/svgsSource/messages.svg +4 -0
  202. package/src/utils/svgsSource/minus-thick.svg +3 -0
  203. package/src/utils/svgsSource/minus.svg +3 -0
  204. package/src/utils/svgsSource/money.svg +3 -0
  205. package/src/utils/svgsSource/monitor.svg +3 -0
  206. package/src/utils/svgsSource/moon.svg +5 -0
  207. package/src/utils/svgsSource/note.svg +3 -0
  208. package/src/utils/svgsSource/nut.svg +3 -0
  209. package/src/utils/svgsSource/order.svg +3 -0
  210. package/src/utils/svgsSource/package.svg +3 -0
  211. package/src/utils/svgsSource/page-first.svg +3 -0
  212. package/src/utils/svgsSource/page-last.svg +3 -0
  213. package/src/utils/svgsSource/parts.svg +7 -0
  214. package/src/utils/svgsSource/password.svg +5 -0
  215. package/src/utils/svgsSource/pause.svg +3 -0
  216. package/src/utils/svgsSource/pencil.svg +4 -0
  217. package/src/utils/svgsSource/percent.svg +3 -0
  218. package/src/utils/svgsSource/play-pause.svg +3 -0
  219. package/src/utils/svgsSource/play.svg +3 -0
  220. package/src/utils/svgsSource/plus.svg +3 -0
  221. package/src/utils/svgsSource/printer.svg +3 -0
  222. package/src/utils/svgsSource/prohibit.svg +3 -0
  223. package/src/utils/svgsSource/question-mark.svg +3 -0
  224. package/src/utils/svgsSource/quote.svg +3 -0
  225. package/src/utils/svgsSource/radio-checked.svg +4 -0
  226. package/src/utils/svgsSource/radio-focus.svg +3 -0
  227. package/src/utils/svgsSource/radio.svg +3 -0
  228. package/src/utils/svgsSource/receipt.svg +3 -0
  229. package/src/utils/svgsSource/refresh.svg +3 -0
  230. package/src/utils/svgsSource/repeat.svg +3 -0
  231. package/src/utils/svgsSource/reply-all.svg +3 -0
  232. package/src/utils/svgsSource/reply.svg +3 -0
  233. package/src/utils/svgsSource/ribbon.svg +3 -0
  234. package/src/utils/svgsSource/rows-add.svg +5 -0
  235. package/src/utils/svgsSource/rules.svg +3 -0
  236. package/src/utils/svgsSource/search-items.svg +3 -0
  237. package/src/utils/svgsSource/search.svg +3 -0
  238. package/src/utils/svgsSource/send.svg +3 -0
  239. package/src/utils/svgsSource/settings.svg +3 -0
  240. package/src/utils/svgsSource/share.svg +4 -0
  241. package/src/utils/svgsSource/shuffle.svg +3 -0
  242. package/src/utils/svgsSource/skip-back.svg +3 -0
  243. package/src/utils/svgsSource/skip-forward.svg +3 -0
  244. package/src/utils/svgsSource/skull.svg +3 -0
  245. package/src/utils/svgsSource/sliders.svg +3 -0
  246. package/src/utils/svgsSource/sort-alpha-down.svg +5 -0
  247. package/src/utils/svgsSource/sort-alpha-up.svg +5 -0
  248. package/src/utils/svgsSource/sort-ascending.svg +6 -0
  249. package/src/utils/svgsSource/sort-descending.svg +6 -0
  250. package/src/utils/svgsSource/sort-time-down.svg +4 -0
  251. package/src/utils/svgsSource/sort-time-up.svg +4 -0
  252. package/src/utils/svgsSource/square-add.svg +3 -0
  253. package/src/utils/svgsSource/square.svg +3 -0
  254. package/src/utils/svgsSource/stamp.svg +3 -0
  255. package/src/utils/svgsSource/star-outlined.svg +3 -0
  256. package/src/utils/svgsSource/star.svg +3 -0
  257. package/src/utils/svgsSource/start.svg +3 -0
  258. package/src/utils/svgsSource/stop.svg +3 -0
  259. package/src/utils/svgsSource/success.svg +3 -0
  260. package/src/utils/svgsSource/sun.svg +3 -0
  261. package/src/utils/svgsSource/support.svg +3 -0
  262. package/src/utils/svgsSource/sync.svg +4 -0
  263. package/src/utils/svgsSource/tag.svg +3 -0
  264. package/src/utils/svgsSource/target.svg +3 -0
  265. package/src/utils/svgsSource/text-add.svg +3 -0
  266. package/src/utils/svgsSource/time-add.svg +3 -0
  267. package/src/utils/svgsSource/timer.svg +3 -0
  268. package/src/utils/svgsSource/toolbox.svg +3 -0
  269. package/src/utils/svgsSource/tools.svg +3 -0
  270. package/src/utils/svgsSource/trash.svg +3 -0
  271. package/src/utils/svgsSource/trophy.svg +3 -0
  272. package/src/utils/svgsSource/truck-trailer.svg +3 -0
  273. package/src/utils/svgsSource/update.svg +3 -0
  274. package/src/utils/svgsSource/upload-cloud.svg +3 -0
  275. package/src/utils/svgsSource/upload.svg +3 -0
  276. package/src/utils/svgsSource/user-add.svg +3 -0
  277. package/src/utils/svgsSource/user-details.svg +7 -0
  278. package/src/utils/svgsSource/user-group.svg +3 -0
  279. package/src/utils/svgsSource/user-id-badge.svg +3 -0
  280. package/src/utils/svgsSource/user-id-card.svg +3 -0
  281. package/src/utils/svgsSource/user.svg +3 -0
  282. package/src/utils/svgsSource/verified.svg +3 -0
  283. package/src/utils/svgsSource/video.svg +3 -0
  284. package/src/utils/svgsSource/view-cards.svg +6 -0
  285. package/src/utils/svgsSource/view-doc.svg +7 -0
  286. package/src/utils/svgsSource/view-grid.svg +3 -0
  287. package/src/utils/svgsSource/view-rows.svg +4 -0
  288. package/src/utils/svgsSource/view-table.svg +3 -0
  289. package/src/utils/svgsSource/warning.svg +3 -0
  290. package/src/utils/svgsSource/work-order.svg +3 -0
  291. package/src/utils/svgsSource/x.svg +3 -0
  292. package/src/vite-env.d.ts +1 -0
  293. package/dist/cetec-components.css +0 -1
  294. package/dist/cetec-components.es.js +0 -26778
  295. package/dist/sprite.svg +0 -1
  296. package/dist/sprite.symbol.html +0 -4091
  297. package/dist/svgs/Building.svg +0 -1
  298. package/dist/svgs/aa-placeholder.svg +0 -1
  299. package/dist/svgs/alarm.svg +0 -1
  300. package/dist/svgs/apps.svg +0 -1
  301. package/dist/svgs/arrow-down.svg +0 -1
  302. package/dist/svgs/arrow-drop-down.svg +0 -1
  303. package/dist/svgs/arrow-drop-up.svg +0 -1
  304. package/dist/svgs/arrow-left.svg +0 -1
  305. package/dist/svgs/arrow-line-down.svg +0 -1
  306. package/dist/svgs/arrow-line-left.svg +0 -1
  307. package/dist/svgs/arrow-line-right.svg +0 -1
  308. package/dist/svgs/arrow-line-up.svg +0 -1
  309. package/dist/svgs/arrow-prompt.svg +0 -1
  310. package/dist/svgs/arrow-redo.svg +0 -1
  311. package/dist/svgs/arrow-right.svg +0 -1
  312. package/dist/svgs/arrow-square-in.svg +0 -1
  313. package/dist/svgs/arrow-square-out.svg +0 -1
  314. package/dist/svgs/arrow-undo.svg +0 -1
  315. package/dist/svgs/arrow-up.svg +0 -1
  316. package/dist/svgs/arrows-down-up.svg +0 -1
  317. package/dist/svgs/arrows-left-right.svg +0 -1
  318. package/dist/svgs/at.svg +0 -1
  319. package/dist/svgs/attachment.svg +0 -1
  320. package/dist/svgs/barcode-reader.svg +0 -1
  321. package/dist/svgs/barcode.svg +0 -1
  322. package/dist/svgs/basket.svg +0 -1
  323. package/dist/svgs/bell-active.svg +0 -1
  324. package/dist/svgs/bell-slash.svg +0 -1
  325. package/dist/svgs/bell.svg +0 -1
  326. package/dist/svgs/bin.svg +0 -1
  327. package/dist/svgs/bookmark-outlined.svg +0 -1
  328. package/dist/svgs/bookmark.svg +0 -1
  329. package/dist/svgs/bookmarks.svg +0 -1
  330. package/dist/svgs/calendar-add.svg +0 -1
  331. package/dist/svgs/calendar-view-day.svg +0 -1
  332. package/dist/svgs/calendar-view-month.svg +0 -1
  333. package/dist/svgs/calendar-view-week.svg +0 -1
  334. package/dist/svgs/calendar.svg +0 -1
  335. package/dist/svgs/caret-down.svg +0 -1
  336. package/dist/svgs/caret-left.svg +0 -1
  337. package/dist/svgs/caret-right.svg +0 -1
  338. package/dist/svgs/caret-up.svg +0 -1
  339. package/dist/svgs/cart.svg +0 -1
  340. package/dist/svgs/check-thick.svg +0 -1
  341. package/dist/svgs/check.svg +0 -1
  342. package/dist/svgs/checkbox-checked.svg +0 -1
  343. package/dist/svgs/checkbox-focus.svg +0 -1
  344. package/dist/svgs/checkbox-indeterminate.svg +0 -1
  345. package/dist/svgs/checkbox.svg +0 -1
  346. package/dist/svgs/circle-check.svg +0 -1
  347. package/dist/svgs/circle.svg +0 -1
  348. package/dist/svgs/circles-add.svg +0 -1
  349. package/dist/svgs/clipboard.svg +0 -1
  350. package/dist/svgs/clock-countdown.svg +0 -1
  351. package/dist/svgs/clock.svg +0 -1
  352. package/dist/svgs/cloud-synced.svg +0 -1
  353. package/dist/svgs/code.svg +0 -1
  354. package/dist/svgs/color.svg +0 -1
  355. package/dist/svgs/copy.svg +0 -1
  356. package/dist/svgs/credit-card.svg +0 -1
  357. package/dist/svgs/cut.svg +0 -1
  358. package/dist/svgs/database.svg +0 -1
  359. package/dist/svgs/devices.svg +0 -1
  360. package/dist/svgs/dictionary.svg +0 -1
  361. package/dist/svgs/dots.svg +0 -1
  362. package/dist/svgs/download-cloud.svg +0 -1
  363. package/dist/svgs/download.svg +0 -1
  364. package/dist/svgs/dragger.svg +0 -1
  365. package/dist/svgs/edit.svg +0 -1
  366. package/dist/svgs/encrypted.svg +0 -1
  367. package/dist/svgs/envelope.svg +0 -1
  368. package/dist/svgs/equal.svg +0 -1
  369. package/dist/svgs/eraser.svg +0 -1
  370. package/dist/svgs/error.svg +0 -1
  371. package/dist/svgs/event-list.svg +0 -1
  372. package/dist/svgs/export.svg +0 -1
  373. package/dist/svgs/extension.svg +0 -1
  374. package/dist/svgs/eye-slash.svg +0 -1
  375. package/dist/svgs/eye.svg +0 -1
  376. package/dist/svgs/file-add.svg +0 -1
  377. package/dist/svgs/file.svg +0 -1
  378. package/dist/svgs/files.svg +0 -1
  379. package/dist/svgs/filter-remove.svg +0 -1
  380. package/dist/svgs/filter.svg +0 -1
  381. package/dist/svgs/finish.svg +0 -1
  382. package/dist/svgs/flag.svg +0 -1
  383. package/dist/svgs/forklift.svg +0 -1
  384. package/dist/svgs/garage.svg +0 -1
  385. package/dist/svgs/globe.svg +0 -1
  386. package/dist/svgs/hash.svg +0 -1
  387. package/dist/svgs/heart-outlined.svg +0 -1
  388. package/dist/svgs/heart.svg +0 -1
  389. package/dist/svgs/help.svg +0 -1
  390. package/dist/svgs/history.svg +0 -1
  391. package/dist/svgs/home.svg +0 -1
  392. package/dist/svgs/image.svg +0 -1
  393. package/dist/svgs/images.svg +0 -1
  394. package/dist/svgs/inbox.svg +0 -1
  395. package/dist/svgs/infinity.svg +0 -1
  396. package/dist/svgs/info.svg +0 -1
  397. package/dist/svgs/inventory.svg +0 -1
  398. package/dist/svgs/invoice.svg +0 -1
  399. package/dist/svgs/jump-back.svg +0 -1
  400. package/dist/svgs/jump-forward.svg +0 -1
  401. package/dist/svgs/kbd-backspace.svg +0 -1
  402. package/dist/svgs/kbd-capslock.svg +0 -1
  403. package/dist/svgs/kbd-command.svg +0 -1
  404. package/dist/svgs/kbd-control.svg +0 -1
  405. package/dist/svgs/kbd-hide.svg +0 -1
  406. package/dist/svgs/kbd-option.svg +0 -1
  407. package/dist/svgs/kbd-return.svg +0 -1
  408. package/dist/svgs/kbd-shift.svg +0 -1
  409. package/dist/svgs/kbd-space.svg +0 -1
  410. package/dist/svgs/kbd.svg +0 -1
  411. package/dist/svgs/link-slash.svg +0 -1
  412. package/dist/svgs/link.svg +0 -1
  413. package/dist/svgs/list-bullets.svg +0 -1
  414. package/dist/svgs/list-checks.svg +0 -1
  415. package/dist/svgs/list-numbers.svg +0 -1
  416. package/dist/svgs/lock-open.svg +0 -1
  417. package/dist/svgs/lock.svg +0 -1
  418. package/dist/svgs/map-pin.svg +0 -1
  419. package/dist/svgs/mark-unread.svg +0 -1
  420. package/dist/svgs/menu-close.svg +0 -1
  421. package/dist/svgs/menu.svg +0 -1
  422. package/dist/svgs/message.svg +0 -1
  423. package/dist/svgs/messages.svg +0 -1
  424. package/dist/svgs/minus-thick.svg +0 -1
  425. package/dist/svgs/minus.svg +0 -1
  426. package/dist/svgs/money.svg +0 -1
  427. package/dist/svgs/monitor.svg +0 -1
  428. package/dist/svgs/moon.svg +0 -1
  429. package/dist/svgs/note.svg +0 -1
  430. package/dist/svgs/nut.svg +0 -1
  431. package/dist/svgs/order.svg +0 -1
  432. package/dist/svgs/package.svg +0 -1
  433. package/dist/svgs/page-first.svg +0 -1
  434. package/dist/svgs/page-last.svg +0 -1
  435. package/dist/svgs/parts.svg +0 -1
  436. package/dist/svgs/password.svg +0 -1
  437. package/dist/svgs/pause.svg +0 -1
  438. package/dist/svgs/pencil.svg +0 -1
  439. package/dist/svgs/percent.svg +0 -1
  440. package/dist/svgs/placeholder.svg +0 -1
  441. package/dist/svgs/plan.svg +0 -1
  442. package/dist/svgs/play-pause.svg +0 -1
  443. package/dist/svgs/play.svg +0 -1
  444. package/dist/svgs/plus.svg +0 -1
  445. package/dist/svgs/printer.svg +0 -1
  446. package/dist/svgs/prohibit.svg +0 -1
  447. package/dist/svgs/question-mark.svg +0 -1
  448. package/dist/svgs/quote.svg +0 -1
  449. package/dist/svgs/radio-checked.svg +0 -1
  450. package/dist/svgs/radio-focus.svg +0 -1
  451. package/dist/svgs/radio.svg +0 -1
  452. package/dist/svgs/receipt.svg +0 -1
  453. package/dist/svgs/refresh.svg +0 -1
  454. package/dist/svgs/repeat.svg +0 -1
  455. package/dist/svgs/reply-all.svg +0 -1
  456. package/dist/svgs/reply.svg +0 -1
  457. package/dist/svgs/ribbon.svg +0 -1
  458. package/dist/svgs/rows-add.svg +0 -1
  459. package/dist/svgs/rules.svg +0 -1
  460. package/dist/svgs/search-items.svg +0 -1
  461. package/dist/svgs/search.svg +0 -1
  462. package/dist/svgs/send.svg +0 -1
  463. package/dist/svgs/settings.svg +0 -1
  464. package/dist/svgs/share.svg +0 -1
  465. package/dist/svgs/shuffle.svg +0 -1
  466. package/dist/svgs/skip-back.svg +0 -1
  467. package/dist/svgs/skip-forward.svg +0 -1
  468. package/dist/svgs/skull.svg +0 -1
  469. package/dist/svgs/sliders.svg +0 -1
  470. package/dist/svgs/sort-alpha-down.svg +0 -1
  471. package/dist/svgs/sort-alpha-up.svg +0 -1
  472. package/dist/svgs/sort-ascending.svg +0 -1
  473. package/dist/svgs/sort-descending.svg +0 -1
  474. package/dist/svgs/sort-time-down.svg +0 -1
  475. package/dist/svgs/sort-time-up.svg +0 -1
  476. package/dist/svgs/square-add.svg +0 -1
  477. package/dist/svgs/square.svg +0 -1
  478. package/dist/svgs/stamp.svg +0 -1
  479. package/dist/svgs/star-outlined.svg +0 -1
  480. package/dist/svgs/star.svg +0 -1
  481. package/dist/svgs/start.svg +0 -1
  482. package/dist/svgs/stop.svg +0 -1
  483. package/dist/svgs/success.svg +0 -1
  484. package/dist/svgs/sun.svg +0 -1
  485. package/dist/svgs/support.svg +0 -1
  486. package/dist/svgs/sync.svg +0 -1
  487. package/dist/svgs/tag.svg +0 -1
  488. package/dist/svgs/target.svg +0 -1
  489. package/dist/svgs/text-add.svg +0 -1
  490. package/dist/svgs/time-add.svg +0 -1
  491. package/dist/svgs/timer.svg +0 -1
  492. package/dist/svgs/toolbox.svg +0 -1
  493. package/dist/svgs/tools.svg +0 -1
  494. package/dist/svgs/trash.svg +0 -1
  495. package/dist/svgs/trophy.svg +0 -1
  496. package/dist/svgs/truck-trailer.svg +0 -1
  497. package/dist/svgs/update.svg +0 -1
  498. package/dist/svgs/upload-cloud.svg +0 -1
  499. package/dist/svgs/upload.svg +0 -1
  500. package/dist/svgs/user-add.svg +0 -1
  501. package/dist/svgs/user-details.svg +0 -1
  502. package/dist/svgs/user-group.svg +0 -1
  503. package/dist/svgs/user-id-badge.svg +0 -1
  504. package/dist/svgs/user-id-card.svg +0 -1
  505. package/dist/svgs/user.svg +0 -1
  506. package/dist/svgs/verified.svg +0 -1
  507. package/dist/svgs/video.svg +0 -1
  508. package/dist/svgs/view-cards.svg +0 -1
  509. package/dist/svgs/view-doc.svg +0 -1
  510. package/dist/svgs/view-grid.svg +0 -1
  511. package/dist/svgs/view-rows.svg +0 -1
  512. package/dist/svgs/view-table.svg +0 -1
  513. package/dist/svgs/warning.svg +0 -1
  514. package/dist/svgs/work-order.svg +0 -1
  515. package/dist/svgs/x.svg +0 -1
  516. package/dist/vite.svg +0 -1
@@ -0,0 +1,220 @@
1
+ import { defineRecipe } from '@pandacss/dev';
2
+
3
+ const buttonBase = {
4
+ position: 'relative',
5
+ appearance: 'none',
6
+ minWidth: '0',
7
+ transitionDuration: 'fast',
8
+ transitionProperty: 'background, border-color, color, box-shadow',
9
+ transitionTimingFunction: 'default',
10
+ userSelect: 'none',
11
+ verticalAlign: 'middle',
12
+ display: 'flex',
13
+ alignItems: 'center',
14
+ gap: '4',
15
+ fontFamily: 'body',
16
+ fontSize: '16',
17
+ fontWeight: 'medium',
18
+ lineHeight: 'default',
19
+ borderWidth: '1',
20
+ borderStyle: 'solid',
21
+ borderColor: 'transparent',
22
+ borderRadius: '4',
23
+ outlineWidth: '2',
24
+ outlineStyle: 'solid',
25
+ outlineColor: 'transparent',
26
+ outlineOffset: '1',
27
+ textDecoration: 'none',
28
+ whiteSpace: 'nowrap',
29
+ cursor: 'pointer',
30
+ _disabled: {
31
+ opacity: 0.4,
32
+ cursor: 'not-allowed',
33
+ },
34
+ _focusVisible: {
35
+ outlineColor: { base: 'slate.80', _dark: 'slate.5' },
36
+ },
37
+ '& svg': {
38
+ fill: 'current',
39
+ },
40
+ };
41
+
42
+ const buttonVariants = {
43
+ variant: {
44
+ primary: {
45
+ bg: { base: 'slate.90', _dark: 'slate.5' },
46
+ color: { base: 'slate.0', _dark: 'slate.90' },
47
+ _hover: {
48
+ bg: { base: 'slate.70', _dark: 'slate.10' },
49
+ },
50
+ _active: {
51
+ bg: { base: 'slate.100', _dark: 'slate.20' },
52
+ },
53
+ _disabled: {
54
+ _hover: {
55
+ bg: { base: 'slate.90', _dark: 'slate.5' },
56
+ },
57
+ },
58
+ _selected: {
59
+ bg: { base: 'slate.5', _dark: 'slate.90' },
60
+ color: { base: 'slate.90', _dark: 'slate.0' },
61
+ },
62
+ },
63
+ standard: {
64
+ bg: { base: 'slate.5', _dark: 'slate.70' },
65
+ color: { base: 'slate.90', _dark: 'slate.0' },
66
+ _hover: {
67
+ bg: { base: 'slate.10', _dark: 'slate.60' },
68
+ },
69
+ _active: {
70
+ bg: { base: 'slate.20', _dark: 'slate.80' },
71
+ },
72
+ _disabled: {
73
+ _hover: {
74
+ bg: { base: 'slate.5', _dark: 'slate.70' },
75
+ },
76
+ },
77
+ _selected: {
78
+ bg: { base: 'slate.90', _dark: 'slate.5' },
79
+ color: { base: 'slate.0', _dark: 'slate.90' },
80
+ },
81
+ },
82
+ hollow: {
83
+ bg: 'transparent',
84
+ borderColor: { base: 'slate.30', _dark: 'slate.60' },
85
+ color: { base: 'slate.90', _dark: 'slate.0' },
86
+ _hover: {
87
+ bg: { base: 'slate.10', _dark: 'slate.60' },
88
+ borderColor: { base: 'slate.10', _dark: 'slate.60' },
89
+ },
90
+ _active: {
91
+ bg: { base: 'slate.20', _dark: 'slate.80' },
92
+ borderColor: { base: 'slate.20', _dark: 'slate.80' },
93
+ },
94
+ _disabled: {
95
+ _hover: {
96
+ bg: 'transparent',
97
+ },
98
+ },
99
+ _selected: {
100
+ bg: { base: 'slate.90', _dark: 'slate.5' },
101
+ color: { base: 'slate.0', _dark: 'slate.90' },
102
+ borderColor: 'transparent',
103
+ },
104
+ },
105
+ ghost: {
106
+ bg: 'transparent',
107
+ color: { base: 'slate.90', _dark: 'slate.0' },
108
+ _hover: {
109
+ bg: { base: 'slate.10', _dark: 'slate.60' },
110
+ },
111
+ _active: {
112
+ bg: { base: 'slate.20', _dark: 'slate.70' },
113
+ },
114
+ _disabled: {
115
+ _hover: {
116
+ bg: 'transparent',
117
+ },
118
+ },
119
+ _selected: {
120
+ bg: { base: 'slate.90', _dark: 'slate.5' },
121
+ color: { base: 'slate.0', _dark: 'slate.90' },
122
+ },
123
+ },
124
+ cta: {
125
+ bg: { base: 'gold.20', _dark: 'gold.30' },
126
+ color: 'slate.90',
127
+ _hover: {
128
+ bg: { base: 'gold.10', _dark: 'gold.20' },
129
+ },
130
+ _active: {
131
+ bg: { base: 'gold.30', _dark: 'gold.40' },
132
+ },
133
+ _disabled: {
134
+ _hover: {
135
+ bg: { base: 'gold.20', _dark: 'gold.30' },
136
+ },
137
+ },
138
+ },
139
+ danger: {
140
+ bg: 'red.50',
141
+ color: 'slate.0',
142
+ _hover: {
143
+ bg: 'red.40',
144
+ },
145
+ _active: {
146
+ bg: 'red.60',
147
+ },
148
+ _disabled: {
149
+ _hover: {
150
+ bg: 'red.50',
151
+ },
152
+ },
153
+ },
154
+ },
155
+ };
156
+
157
+ export const buttonRecipe = defineRecipe({
158
+ className: 'button',
159
+ jsx: ['Button'],
160
+ base: buttonBase,
161
+ variants: {
162
+ ...buttonVariants,
163
+ size: {
164
+ medium: {
165
+ fontSize: '16',
166
+ py: '3',
167
+ px: '10',
168
+ },
169
+ large: {
170
+ fontSize: '16',
171
+ py: '7',
172
+ px: '12',
173
+ },
174
+ small: {
175
+ fontSize: '14',
176
+ py: '0',
177
+ px: '8',
178
+ '& svg': {
179
+ mt: '-1',
180
+ mb: '-1',
181
+ },
182
+ },
183
+ },
184
+ },
185
+ defaultVariants: {
186
+ variant: 'standard',
187
+ size: 'medium',
188
+ },
189
+ });
190
+
191
+ export const iconButtonRecipe = defineRecipe({
192
+ className: 'icon-button',
193
+ jsx: ['IconButton'],
194
+ base: buttonBase,
195
+ variants: {
196
+ ...buttonVariants,
197
+ size: {
198
+ medium: {
199
+ fontSize: '16',
200
+ p: '3',
201
+ },
202
+ large: {
203
+ fontSize: '16',
204
+ p: '7',
205
+ },
206
+ small: {
207
+ fontSize: '14',
208
+ p: '0',
209
+ '& svg': {
210
+ mt: '-1',
211
+ mb: '-1',
212
+ },
213
+ },
214
+ },
215
+ },
216
+ defaultVariants: {
217
+ variant: 'standard',
218
+ size: 'medium',
219
+ },
220
+ });
@@ -0,0 +1,81 @@
1
+ import { defineSlotRecipe } from '@pandacss/dev';
2
+
3
+ export const checkBoxRecipe = defineSlotRecipe({
4
+ className: 'checkbox',
5
+ jsx: ['CheckBox'],
6
+ slots: ['container', 'input', 'indicator'],
7
+ base: {
8
+ container: {
9
+ position: 'relative',
10
+ display: 'inline-grid',
11
+ gridTemplateColumns: 'auto 1fr',
12
+ gap: 4,
13
+ alignItems: 'start',
14
+ cursor: 'pointer',
15
+ userSelect: 'none',
16
+ },
17
+ input: {
18
+ position: 'absolute',
19
+ opacity: 0,
20
+ width: 'full',
21
+ height: 'full',
22
+ margin: '0',
23
+ padding: '0',
24
+ zIndex: 1,
25
+ cursor: 'inherit',
26
+ "& ~ [name='checkbox']": {
27
+ display: 'inline-grid',
28
+ },
29
+ _checked: {
30
+ "& ~ [name='checkbox-checked']": {
31
+ display: 'inline-grid',
32
+ fill: { base: 'slate.90', _dark: 'slate.0' },
33
+ },
34
+ "& ~ [name='checkbox']": {
35
+ display: 'none',
36
+ },
37
+ },
38
+ _indeterminate: {
39
+ "& ~ [name='checkbox-indeterminate']": {
40
+ display: 'inline-grid',
41
+ fill: { base: 'slate.90', _dark: 'slate.0' },
42
+ _disabled: {},
43
+ },
44
+ "& ~ [name='checkbox']": {
45
+ display: 'none',
46
+ },
47
+ },
48
+ _disabled: {
49
+ '& ~ svg': {
50
+ opacity: 0.4,
51
+ pointerEvents: 'none',
52
+ cursor: 'none',
53
+ },
54
+ display: 'inline-grid',
55
+ },
56
+ _error: {
57
+ display: 'inline-grid',
58
+ '& ~ svg': {
59
+ fill: 'error.default',
60
+ },
61
+ },
62
+ _focusVisible: {
63
+ "& ~ [name='checkbox-focus']": {
64
+ display: 'inline-grid',
65
+ position: 'absolute',
66
+ fill: { base: 'slate.90', _dark: 'slate.1' },
67
+ },
68
+ },
69
+ },
70
+ indicator: {
71
+ placeContent: 'center',
72
+ display: 'none',
73
+ width: 24,
74
+ height: 24,
75
+ "&:is([name='checkbox'])": {
76
+ display: 'inline-grid',
77
+ fill: { base: 'slate.30', _dark: 'slate.20' },
78
+ },
79
+ },
80
+ },
81
+ });
@@ -0,0 +1,37 @@
1
+ import { defineRecipe } from '@pandacss/dev';
2
+
3
+ const codeBase = {
4
+ bg: 'slate.80',
5
+ position: "relative",
6
+ overflow: "auto",
7
+ p: "4",
8
+ whiteSpace: "pre",
9
+ fontSize: "14",
10
+ };
11
+
12
+ const preBase = {
13
+ borderRadius: "8",
14
+ overflow: "hidden",
15
+ borderWidth: "0",
16
+ borderColor: "slate.60",
17
+ bg: "slate.80",
18
+ color: "slate.5",
19
+ px: "16",
20
+ py: "8",
21
+ my: "8",
22
+ whiteSpace: "pre",
23
+ };
24
+
25
+ export const codeRecipe = defineRecipe({
26
+ className: 'code',
27
+ jsx:['Code'],
28
+ base: codeBase,
29
+ });
30
+
31
+ export const preRecipe = defineRecipe({
32
+ className: 'pre',
33
+ jsx: ['Pre'],
34
+ base: preBase,
35
+ });
36
+
37
+
@@ -0,0 +1,40 @@
1
+ import { defineRecipe } from '@pandacss/dev';
2
+
3
+ const dividerBase = {
4
+ '--divider-weight': 'sizes.1',
5
+ borderStyle: 'solid',
6
+ color: { base: 'slate.20', _dark: 'slate.80' },
7
+ borderColor: 'current',
8
+ minWidth: '1',
9
+ minHeight: '1',
10
+ };
11
+
12
+ const dividerVariants = {
13
+ direction: {
14
+ horizontal: {
15
+ width: 'full',
16
+ borderTopWidth: 'var(--divider-weight)',
17
+ },
18
+ vertical: {
19
+ height: 'full',
20
+ borderLeftWidth: 'var(--divider-weight)',
21
+ },
22
+ },
23
+ weight: {
24
+ thin: { '--divider-weight': 'sizes.1' },
25
+ medium: { '--divider-weight': 'sizes.2' },
26
+ thick: { '--divider-weight': 'sizes.4' },
27
+ thicker: { '--divider-weight': 'sizes.6' },
28
+ },
29
+ };
30
+
31
+ export const dividerRecipe = defineRecipe({
32
+ className: 'divider',
33
+ jsx: ['Divider'],
34
+ base: dividerBase,
35
+ variants: dividerVariants,
36
+ defaultVariants: {
37
+ direction: 'horizontal',
38
+ weight: 'thin',
39
+ },
40
+ });
@@ -0,0 +1,12 @@
1
+ export { buttonRecipe, iconButtonRecipe } from './button';
2
+ export { inputRecipe } from './input';
3
+ export { textareaRecipe } from './textarea';
4
+ export { textRecipe, headingRecipe, linkRecipe, labelRecipe } from './text';
5
+ export { checkBoxRecipe } from "./checkbox"
6
+ export { spinnerRecipe } from "./spinner"
7
+ export { dividerRecipe } from "./divider"
8
+ export { preRecipe, codeRecipe } from "./code"
9
+ export { boxRecipe } from './box';
10
+ export { radioRecipe } from './radio';
11
+ export { textinputRecipe } from './textinput';
12
+
@@ -0,0 +1,56 @@
1
+ import { defineRecipe } from '@pandacss/dev';
2
+ const inputBase = {
3
+ position: 'relative',
4
+ display: 'inline-grid',
5
+ verticalAlign: 'top',
6
+ alignItems: 'center',
7
+ padding: '0',
8
+ fontFamily: 'body',
9
+ fontSize: '16',
10
+ fontWeight: 'normal',
11
+ lineHeight: 'normal',
12
+ color: { base: 'slate.90', _osDark: 'slate.5' },
13
+ borderRadius: '8',
14
+ '& input': {
15
+ width: 'auto',
16
+ minWidth: '16',
17
+ maxWidth: 'full',
18
+ font: 'inherit',
19
+ py: '4',
20
+ px: '8',
21
+ m: '0',
22
+ resize: 'none',
23
+ appearance: 'none',
24
+ borderWidth: '1',
25
+ borderStyle: 'solid',
26
+ borderRadius: '4',
27
+ borderColor: 'transparent',
28
+ background: { base: 'slate.0', _osDark: 'slate.90' },
29
+ },
30
+ gridTemplateColumns: 'auto 1fr',
31
+ };
32
+
33
+ const inputVariants = {
34
+ variant: {
35
+ stacked: {
36
+ gridTemplateRows: 'auto 1fr',
37
+ alignItems: 'stretch',
38
+ '& input': {
39
+ gridArea: '2 / 1',
40
+ background: { base: 'slate.0', _osDark: 'slate.90' },
41
+ borderColor: { base: 'slate.40', _osDark: 'slate.50' },
42
+ },
43
+ },
44
+ internalLabel: {},
45
+ },
46
+ };
47
+
48
+ export const inputRecipe = defineRecipe({
49
+ className: 'input',
50
+ jsx: ['Input'],
51
+ base: inputBase,
52
+ variants: inputVariants,
53
+ defaultVariants: {
54
+ variant: 'stacked',
55
+ },
56
+ });
@@ -0,0 +1,71 @@
1
+ import { defineSlotRecipe } from "@pandacss/dev";
2
+
3
+ export const radioRecipe = defineSlotRecipe({
4
+ className: "radio",
5
+ jsx: ['Radio'],
6
+ slots: ["container", "input", "indicator"],
7
+ base: {
8
+ container: {
9
+ position: "relative",
10
+ display: "inline-grid",
11
+ gridTemplateColumns: "auto 1fr",
12
+ gap: 4,
13
+ alignItems: "start",
14
+ cursor: "pointer",
15
+ userSelect: "none",
16
+ },
17
+ input: {
18
+ position: "absolute",
19
+ opacity: 0 ,
20
+ width: "full",
21
+ height: "full",
22
+ margin: "0",
23
+ padding: "0",
24
+ zIndex: 1,
25
+ cursor: "inherit",
26
+ "& ~ [name='radio']": {
27
+ display: "inline-grid",
28
+ },
29
+ _checked: {
30
+ "& ~ [name='radio-checked']": {
31
+ display: "inline-grid",
32
+ fill: { base: "slate.90", _dark: "slate.0" },
33
+ },
34
+ "& ~ [name='radio']": {
35
+ display: "none",
36
+ },
37
+ },
38
+ _disabled: {
39
+ "& ~ svg": {
40
+ opacity: 0.4,
41
+ pointerEvents: 'none',
42
+ cursor: 'none',
43
+ },
44
+ display: "inline-grid",
45
+ },
46
+ _error: {
47
+ display: "inline-grid",
48
+ "& ~ svg": {
49
+ fill: "red.50",
50
+ }
51
+ },
52
+ _focusVisible: {
53
+ "& ~ [name='radio-focus']": {
54
+ display: 'inline-grid',
55
+ position: 'absolute',
56
+ fill: { base: 'slate.90', _dark: 'slate.1' },
57
+ },
58
+ },
59
+ },
60
+ indicator: {
61
+ placeContent: "center",
62
+ display: 'none',
63
+ width: 24,
64
+ height: 24,
65
+ "&:is([name='radio'])": {
66
+ display: "inline-grid",
67
+ fill: "slate.20",
68
+ },
69
+ },
70
+ },
71
+ })
@@ -0,0 +1,42 @@
1
+ import { defineRecipe } from '@pandacss/dev';
2
+
3
+ const spinnerBase = {
4
+ aspectRatio: 'square',
5
+ rounded: '100',
6
+ borderWidth: '3',
7
+ borderStyle: 'solid',
8
+ borderColor: 'transparent',
9
+ borderTopColor: 'slate.90',
10
+ borderBottomColor: 'slate.90',
11
+ animation: 'spin',
12
+ filter: 'invert(1)',
13
+ mixBlendMode: 'difference',
14
+ isolation: 'isolate',
15
+ };
16
+
17
+ const spinnerVariants = {
18
+ size: {
19
+ medium: {
20
+ height: '24',
21
+ minHeight: '24',
22
+ },
23
+ small: {
24
+ height: '16',
25
+ minHeight: '16',
26
+ },
27
+ large: {
28
+ height: '32',
29
+ minHeight: '32',
30
+ },
31
+ }
32
+ };
33
+
34
+ export const spinnerRecipe = defineRecipe({
35
+ className: 'spinner',
36
+ jsx:['Spinner'],
37
+ base: spinnerBase,
38
+ variants: spinnerVariants,
39
+ defaultVariants: {
40
+ size: 'medium',
41
+ },
42
+ });