@fluixi-css/core 0.1.0-next.0

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 (389) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -0
  3. package/base.css +4 -0
  4. package/components.css +1 -0
  5. package/dist/base.css +4 -0
  6. package/dist/components.css +1 -0
  7. package/dist/index.css +2 -0
  8. package/dist/package.json +139 -0
  9. package/dist/reset.css +168 -0
  10. package/dist/src/ast.d.ts +298 -0
  11. package/dist/src/ast.js +2240 -0
  12. package/dist/src/ast.js.map +1 -0
  13. package/dist/src/commons/constants.d.ts +1193 -0
  14. package/dist/src/commons/constants.js +1323 -0
  15. package/dist/src/commons/constants.js.map +1 -0
  16. package/dist/src/commons/helper.d.ts +1298 -0
  17. package/dist/src/commons/helper.js +1310 -0
  18. package/dist/src/commons/helper.js.map +1 -0
  19. package/dist/src/commons/index.d.ts +3 -0
  20. package/dist/src/commons/index.js +4 -0
  21. package/dist/src/commons/index.js.map +1 -0
  22. package/dist/src/commons/properties.d.ts +1431 -0
  23. package/dist/src/commons/properties.js +2855 -0
  24. package/dist/src/commons/properties.js.map +1 -0
  25. package/dist/src/commons/types.d.ts +359 -0
  26. package/dist/src/commons/types.js +4 -0
  27. package/dist/src/commons/types.js.map +1 -0
  28. package/dist/src/components/avatar/index.d.ts +19 -0
  29. package/dist/src/components/avatar/index.js +22 -0
  30. package/dist/src/components/avatar/index.js.map +1 -0
  31. package/dist/src/components/button/index.d.ts +48 -0
  32. package/dist/src/components/button/index.js +51 -0
  33. package/dist/src/components/button/index.js.map +1 -0
  34. package/dist/src/components/card/index.d.ts +44 -0
  35. package/dist/src/components/card/index.js +47 -0
  36. package/dist/src/components/card/index.js.map +1 -0
  37. package/dist/src/components/checkbox/index.d.ts +69 -0
  38. package/dist/src/components/checkbox/index.js +80 -0
  39. package/dist/src/components/checkbox/index.js.map +1 -0
  40. package/dist/src/components/daterangepicker/index.d.ts +147 -0
  41. package/dist/src/components/daterangepicker/index.js +150 -0
  42. package/dist/src/components/daterangepicker/index.js.map +1 -0
  43. package/dist/src/components/dialog/index.d.ts +71 -0
  44. package/dist/src/components/dialog/index.js +74 -0
  45. package/dist/src/components/dialog/index.js.map +1 -0
  46. package/dist/src/components/drawer/index.d.ts +26 -0
  47. package/dist/src/components/drawer/index.js +29 -0
  48. package/dist/src/components/drawer/index.js.map +1 -0
  49. package/dist/src/components/dropdown/index.d.ts +101 -0
  50. package/dist/src/components/dropdown/index.js +104 -0
  51. package/dist/src/components/dropdown/index.js.map +1 -0
  52. package/dist/src/components/forms/index.d.ts +58 -0
  53. package/dist/src/components/forms/index.js +62 -0
  54. package/dist/src/components/forms/index.js.map +1 -0
  55. package/dist/src/components/index.d.ts +1228 -0
  56. package/dist/src/components/index.js +64 -0
  57. package/dist/src/components/index.js.map +1 -0
  58. package/dist/src/components/layout/index.d.ts +28 -0
  59. package/dist/src/components/layout/index.js +33 -0
  60. package/dist/src/components/layout/index.js.map +1 -0
  61. package/dist/src/components/list/index.d.ts +65 -0
  62. package/dist/src/components/list/index.js +68 -0
  63. package/dist/src/components/list/index.js.map +1 -0
  64. package/dist/src/components/popover/index.d.ts +79 -0
  65. package/dist/src/components/popover/index.js +82 -0
  66. package/dist/src/components/popover/index.js.map +1 -0
  67. package/dist/src/components/radio/index.d.ts +77 -0
  68. package/dist/src/components/radio/index.js +80 -0
  69. package/dist/src/components/radio/index.js.map +1 -0
  70. package/dist/src/components/select/index.d.ts +102 -0
  71. package/dist/src/components/select/index.js +105 -0
  72. package/dist/src/components/select/index.js.map +1 -0
  73. package/dist/src/components/sidenav/index.d.ts +98 -0
  74. package/dist/src/components/sidenav/index.js +101 -0
  75. package/dist/src/components/sidenav/index.js.map +1 -0
  76. package/dist/src/components/table/index.d.ts +95 -0
  77. package/dist/src/components/table/index.js +98 -0
  78. package/dist/src/components/table/index.js.map +1 -0
  79. package/dist/src/constants.d.ts +3 -0
  80. package/dist/src/constants.js +29 -0
  81. package/dist/src/constants.js.map +1 -0
  82. package/dist/src/css-ast.d.ts +48 -0
  83. package/dist/src/css-ast.js +2 -0
  84. package/dist/src/css-ast.js.map +1 -0
  85. package/dist/src/css-generator.d.ts +29 -0
  86. package/dist/src/css-generator.js +104 -0
  87. package/dist/src/css-generator.js.map +1 -0
  88. package/dist/src/css-helpers.d.ts +76 -0
  89. package/dist/src/css-helpers.js +272 -0
  90. package/dist/src/css-helpers.js.map +1 -0
  91. package/dist/src/css-lexer.d.ts +48 -0
  92. package/dist/src/css-lexer.js +255 -0
  93. package/dist/src/css-lexer.js.map +1 -0
  94. package/dist/src/css-parser.cjs +2047 -0
  95. package/dist/src/css-parser.cjs.map +1 -0
  96. package/dist/src/css-parser.d.ts +100 -0
  97. package/dist/src/css-parser.js +1098 -0
  98. package/dist/src/css-parser.js.map +1 -0
  99. package/dist/src/css-parser.mjs +2028 -0
  100. package/dist/src/css-parser.mjs.map +1 -0
  101. package/dist/src/design-system.d.ts +210 -0
  102. package/dist/src/design-system.js +1034 -0
  103. package/dist/src/design-system.js.map +1 -0
  104. package/dist/src/engine/ast.d.ts +44 -0
  105. package/dist/src/engine/ast.js +92 -0
  106. package/dist/src/engine/ast.js.map +1 -0
  107. package/dist/src/engine/atom.d.ts +74 -0
  108. package/dist/src/engine/atom.js +227 -0
  109. package/dist/src/engine/atom.js.map +1 -0
  110. package/dist/src/engine/compile.d.ts +5 -0
  111. package/dist/src/engine/compile.js +79 -0
  112. package/dist/src/engine/compile.js.map +1 -0
  113. package/dist/src/engine/defaults.d.ts +2 -0
  114. package/dist/src/engine/defaults.js +14 -0
  115. package/dist/src/engine/defaults.js.map +1 -0
  116. package/dist/src/engine/directives.d.ts +2 -0
  117. package/dist/src/engine/directives.js +191 -0
  118. package/dist/src/engine/directives.js.map +1 -0
  119. package/dist/src/engine/index.d.ts +41 -0
  120. package/dist/src/engine/index.js +88 -0
  121. package/dist/src/engine/index.js.map +1 -0
  122. package/dist/src/engine/registry.d.ts +46 -0
  123. package/dist/src/engine/registry.js +49 -0
  124. package/dist/src/engine/registry.js.map +1 -0
  125. package/dist/src/engine/scanner.d.ts +1 -0
  126. package/dist/src/engine/scanner.js +45 -0
  127. package/dist/src/engine/scanner.js.map +1 -0
  128. package/dist/src/engine/source.d.ts +12 -0
  129. package/dist/src/engine/source.js +81 -0
  130. package/dist/src/engine/source.js.map +1 -0
  131. package/dist/src/engine/theme-defaults.d.ts +2 -0
  132. package/dist/src/engine/theme-defaults.js +54 -0
  133. package/dist/src/engine/theme-defaults.js.map +1 -0
  134. package/dist/src/engine/theme-source.d.ts +5 -0
  135. package/dist/src/engine/theme-source.js +71 -0
  136. package/dist/src/engine/theme-source.js.map +1 -0
  137. package/dist/src/engine/theme.d.ts +10 -0
  138. package/dist/src/engine/theme.js +42 -0
  139. package/dist/src/engine/theme.js.map +1 -0
  140. package/dist/src/engine/transform.d.ts +25 -0
  141. package/dist/src/engine/transform.js +91 -0
  142. package/dist/src/engine/transform.js.map +1 -0
  143. package/dist/src/engine/ui-preset.d.ts +4 -0
  144. package/dist/src/engine/ui-preset.js +56 -0
  145. package/dist/src/engine/ui-preset.js.map +1 -0
  146. package/dist/src/engine/utilities/backgrounds.d.ts +2 -0
  147. package/dist/src/engine/utilities/backgrounds.js +32 -0
  148. package/dist/src/engine/utilities/backgrounds.js.map +1 -0
  149. package/dist/src/engine/utilities/borders.d.ts +2 -0
  150. package/dist/src/engine/utilities/borders.js +95 -0
  151. package/dist/src/engine/utilities/borders.js.map +1 -0
  152. package/dist/src/engine/utilities/effects.d.ts +2 -0
  153. package/dist/src/engine/utilities/effects.js +61 -0
  154. package/dist/src/engine/utilities/effects.js.map +1 -0
  155. package/dist/src/engine/utilities/flexgrid.d.ts +2 -0
  156. package/dist/src/engine/utilities/flexgrid.js +125 -0
  157. package/dist/src/engine/utilities/flexgrid.js.map +1 -0
  158. package/dist/src/engine/utilities/index.d.ts +3 -0
  159. package/dist/src/engine/utilities/index.js +20 -0
  160. package/dist/src/engine/utilities/index.js.map +1 -0
  161. package/dist/src/engine/utilities/layout.d.ts +2 -0
  162. package/dist/src/engine/utilities/layout.js +84 -0
  163. package/dist/src/engine/utilities/layout.js.map +1 -0
  164. package/dist/src/engine/utilities/sizing.d.ts +2 -0
  165. package/dist/src/engine/utilities/sizing.js +21 -0
  166. package/dist/src/engine/utilities/sizing.js.map +1 -0
  167. package/dist/src/engine/utilities/spacing.d.ts +2 -0
  168. package/dist/src/engine/utilities/spacing.js +39 -0
  169. package/dist/src/engine/utilities/spacing.js.map +1 -0
  170. package/dist/src/engine/utilities/typography.d.ts +2 -0
  171. package/dist/src/engine/utilities/typography.js +120 -0
  172. package/dist/src/engine/utilities/typography.js.map +1 -0
  173. package/dist/src/engine/utilities/values.d.ts +16 -0
  174. package/dist/src/engine/utilities/values.js +91 -0
  175. package/dist/src/engine/utilities/values.js.map +1 -0
  176. package/dist/src/engine/variants.d.ts +2 -0
  177. package/dist/src/engine/variants.js +99 -0
  178. package/dist/src/engine/variants.js.map +1 -0
  179. package/dist/src/extractor.d.ts +146 -0
  180. package/dist/src/extractor.js +3862 -0
  181. package/dist/src/extractor.js.map +1 -0
  182. package/dist/src/index.cjs +4518 -0
  183. package/dist/src/index.cjs.map +1 -0
  184. package/dist/src/index.d.ts +1 -0
  185. package/dist/src/index.js +9 -0
  186. package/dist/src/index.js.map +1 -0
  187. package/dist/src/index.mjs +4480 -0
  188. package/dist/src/index.mjs.map +1 -0
  189. package/dist/src/keyframes.cjs +367 -0
  190. package/dist/src/keyframes.cjs.map +1 -0
  191. package/dist/src/keyframes.d.ts +27 -0
  192. package/dist/src/keyframes.js +188 -0
  193. package/dist/src/keyframes.js.map +1 -0
  194. package/dist/src/keyframes.mjs +362 -0
  195. package/dist/src/keyframes.mjs.map +1 -0
  196. package/dist/src/logger.d.ts +2 -0
  197. package/dist/src/logger.js +31 -0
  198. package/dist/src/logger.js.map +1 -0
  199. package/dist/src/plugin.cjs +43 -0
  200. package/dist/src/plugin.cjs.map +1 -0
  201. package/dist/src/plugin.d.ts +12 -0
  202. package/dist/src/plugin.js +39 -0
  203. package/dist/src/plugin.js.map +1 -0
  204. package/dist/src/plugin.mjs +41 -0
  205. package/dist/src/plugin.mjs.map +1 -0
  206. package/dist/src/presets-plugins.cjs +99 -0
  207. package/dist/src/presets-plugins.cjs.map +1 -0
  208. package/dist/src/presets-plugins.d.ts +1 -0
  209. package/dist/src/presets-plugins.js +56 -0
  210. package/dist/src/presets-plugins.js.map +1 -0
  211. package/dist/src/presets-plugins.mjs +97 -0
  212. package/dist/src/presets-plugins.mjs.map +1 -0
  213. package/dist/src/state.d.ts +76 -0
  214. package/dist/src/state.js +314 -0
  215. package/dist/src/state.js.map +1 -0
  216. package/dist/src/theme/constants.d.ts +22 -0
  217. package/dist/src/theme/constants.js +17 -0
  218. package/dist/src/theme/constants.js.map +1 -0
  219. package/dist/src/theme/index.d.ts +2 -0
  220. package/dist/src/theme/index.js +48 -0
  221. package/dist/src/theme/index.js.map +1 -0
  222. package/dist/src/theme/types.d.ts +13 -0
  223. package/dist/src/theme/types.js +2 -0
  224. package/dist/src/theme/types.js.map +1 -0
  225. package/dist/src/types/ast.d.ts +23 -0
  226. package/dist/src/types/ast.js +2 -0
  227. package/dist/src/types/ast.js.map +1 -0
  228. package/dist/src/types/base-types.d.ts +53 -0
  229. package/dist/src/types/base-types.js +2 -0
  230. package/dist/src/types/base-types.js.map +1 -0
  231. package/dist/src/types/components-types.d.ts +28 -0
  232. package/dist/src/types/components-types.js +2 -0
  233. package/dist/src/types/components-types.js.map +1 -0
  234. package/dist/src/types/config.d.ts +90 -0
  235. package/dist/src/types/config.js +3 -0
  236. package/dist/src/types/config.js.map +1 -0
  237. package/dist/src/types/css-parser.d.ts +361 -0
  238. package/dist/src/types/css-parser.js +2 -0
  239. package/dist/src/types/css-parser.js.map +1 -0
  240. package/dist/src/types/keyframes-type.d.ts +47 -0
  241. package/dist/src/types/keyframes-type.js +2 -0
  242. package/dist/src/types/keyframes-type.js.map +1 -0
  243. package/dist/src/types/plugin.d.ts +10 -0
  244. package/dist/src/types/plugin.js +2 -0
  245. package/dist/src/types/plugin.js.map +1 -0
  246. package/dist/src/types/screens-types.d.ts +47 -0
  247. package/dist/src/types/screens-types.js +2 -0
  248. package/dist/src/types/screens-types.js.map +1 -0
  249. package/dist/src/types/utilities-types.d.ts +147 -0
  250. package/dist/src/types/utilities-types.js +2 -0
  251. package/dist/src/types/utilities-types.js.map +1 -0
  252. package/dist/src/types.d.ts +77 -0
  253. package/dist/src/types.js +12 -0
  254. package/dist/src/types.js.map +1 -0
  255. package/dist/src/units/constants.d.ts +35 -0
  256. package/dist/src/units/constants.js +9 -0
  257. package/dist/src/units/constants.js.map +1 -0
  258. package/dist/src/units/index.d.ts +15 -0
  259. package/dist/src/units/index.js +7 -0
  260. package/dist/src/units/index.js.map +1 -0
  261. package/dist/src/units/types.d.ts +9 -0
  262. package/dist/src/units/types.js +2 -0
  263. package/dist/src/units/types.js.map +1 -0
  264. package/dist/src/utilities/backgrounds/constants.d.ts +2810 -0
  265. package/dist/src/utilities/backgrounds/constants.js +119 -0
  266. package/dist/src/utilities/backgrounds/constants.js.map +1 -0
  267. package/dist/src/utilities/backgrounds/index.d.ts +1 -0
  268. package/dist/src/utilities/backgrounds/index.js +2 -0
  269. package/dist/src/utilities/backgrounds/index.js.map +1 -0
  270. package/dist/src/utilities/borders/constants.d.ts +10586 -0
  271. package/dist/src/utilities/borders/constants.js +309 -0
  272. package/dist/src/utilities/borders/constants.js.map +1 -0
  273. package/dist/src/utilities/borders/index.d.ts +1 -0
  274. package/dist/src/utilities/borders/index.js +2 -0
  275. package/dist/src/utilities/borders/index.js.map +1 -0
  276. package/dist/src/utilities/breakpoints/constants.d.ts +330 -0
  277. package/dist/src/utilities/breakpoints/constants.js +269 -0
  278. package/dist/src/utilities/breakpoints/constants.js.map +1 -0
  279. package/dist/src/utilities/breakpoints/index.d.ts +2 -0
  280. package/dist/src/utilities/breakpoints/index.js +3 -0
  281. package/dist/src/utilities/breakpoints/index.js.map +1 -0
  282. package/dist/src/utilities/breakpoints/types.d.ts +8 -0
  283. package/dist/src/utilities/breakpoints/types.js +2 -0
  284. package/dist/src/utilities/breakpoints/types.js.map +1 -0
  285. package/dist/src/utilities/colors/base.d.ts +778 -0
  286. package/dist/src/utilities/colors/base.js +872 -0
  287. package/dist/src/utilities/colors/base.js.map +1 -0
  288. package/dist/src/utilities/colors/color.d.ts +1122 -0
  289. package/dist/src/utilities/colors/color.js +957 -0
  290. package/dist/src/utilities/colors/color.js.map +1 -0
  291. package/dist/src/utilities/colors/constants.d.ts +1 -0
  292. package/dist/src/utilities/colors/constants.js +2 -0
  293. package/dist/src/utilities/colors/constants.js.map +1 -0
  294. package/dist/src/utilities/colors/index.d.ts +4 -0
  295. package/dist/src/utilities/colors/index.js +29 -0
  296. package/dist/src/utilities/colors/index.js.map +1 -0
  297. package/dist/src/utilities/colors/types.d.ts +3 -0
  298. package/dist/src/utilities/colors/types.js +2 -0
  299. package/dist/src/utilities/colors/types.js.map +1 -0
  300. package/dist/src/utilities/effects/constants.d.ts +641 -0
  301. package/dist/src/utilities/effects/constants.js +83 -0
  302. package/dist/src/utilities/effects/constants.js.map +1 -0
  303. package/dist/src/utilities/effects/index.d.ts +1 -0
  304. package/dist/src/utilities/effects/index.js +2 -0
  305. package/dist/src/utilities/effects/index.js.map +1 -0
  306. package/dist/src/utilities/filters/constants.d.ts +406 -0
  307. package/dist/src/utilities/filters/constants.js +206 -0
  308. package/dist/src/utilities/filters/constants.js.map +1 -0
  309. package/dist/src/utilities/filters/index.d.ts +1 -0
  310. package/dist/src/utilities/filters/index.js +2 -0
  311. package/dist/src/utilities/filters/index.js.map +1 -0
  312. package/dist/src/utilities/flex/constants.d.ts +934 -0
  313. package/dist/src/utilities/flex/constants.js +221 -0
  314. package/dist/src/utilities/flex/constants.js.map +1 -0
  315. package/dist/src/utilities/flex/index.d.ts +1 -0
  316. package/dist/src/utilities/flex/index.js +2 -0
  317. package/dist/src/utilities/flex/index.js.map +1 -0
  318. package/dist/src/utilities/flex/types.d.ts +0 -0
  319. package/dist/src/utilities/flex/types.js +4 -0
  320. package/dist/src/utilities/flex/types.js.map +1 -0
  321. package/dist/src/utilities/index.d.ts +31338 -0
  322. package/dist/src/utilities/index.js +333 -0
  323. package/dist/src/utilities/index.js.map +1 -0
  324. package/dist/src/utilities/interactivity/constants.d.ts +1244 -0
  325. package/dist/src/utilities/interactivity/constants.js +165 -0
  326. package/dist/src/utilities/interactivity/constants.js.map +1 -0
  327. package/dist/src/utilities/interactivity/index.d.ts +1 -0
  328. package/dist/src/utilities/interactivity/index.js +2 -0
  329. package/dist/src/utilities/interactivity/index.js.map +1 -0
  330. package/dist/src/utilities/layout/constants.d.ts +837 -0
  331. package/dist/src/utilities/layout/constants.js +159 -0
  332. package/dist/src/utilities/layout/constants.js.map +1 -0
  333. package/dist/src/utilities/layout/index.d.ts +1 -0
  334. package/dist/src/utilities/layout/index.js +2 -0
  335. package/dist/src/utilities/layout/index.js.map +1 -0
  336. package/dist/src/utilities/layout/types.d.ts +0 -0
  337. package/dist/src/utilities/layout/types.js +2 -0
  338. package/dist/src/utilities/layout/types.js.map +1 -0
  339. package/dist/src/utilities/sizing/constants.d.ts +989 -0
  340. package/dist/src/utilities/sizing/constants.js +53 -0
  341. package/dist/src/utilities/sizing/constants.js.map +1 -0
  342. package/dist/src/utilities/sizing/index.d.ts +2 -0
  343. package/dist/src/utilities/sizing/index.js +3 -0
  344. package/dist/src/utilities/sizing/index.js.map +1 -0
  345. package/dist/src/utilities/sizing/types.d.ts +10 -0
  346. package/dist/src/utilities/sizing/types.js +2 -0
  347. package/dist/src/utilities/sizing/types.js.map +1 -0
  348. package/dist/src/utilities/spacing/constants.d.ts +1779 -0
  349. package/dist/src/utilities/spacing/constants.js +142 -0
  350. package/dist/src/utilities/spacing/constants.js.map +1 -0
  351. package/dist/src/utilities/spacing/index.d.ts +2 -0
  352. package/dist/src/utilities/spacing/index.js +3 -0
  353. package/dist/src/utilities/spacing/index.js.map +1 -0
  354. package/dist/src/utilities/spacing/types.d.ts +15 -0
  355. package/dist/src/utilities/spacing/types.js +8 -0
  356. package/dist/src/utilities/spacing/types.js.map +1 -0
  357. package/dist/src/utilities/svg/constants.d.ts +1062 -0
  358. package/dist/src/utilities/svg/constants.js +34 -0
  359. package/dist/src/utilities/svg/constants.js.map +1 -0
  360. package/dist/src/utilities/transforms/constants.d.ts +247 -0
  361. package/dist/src/utilities/transforms/constants.js +74 -0
  362. package/dist/src/utilities/transforms/constants.js.map +1 -0
  363. package/dist/src/utilities/transforms/index.d.ts +1 -0
  364. package/dist/src/utilities/transforms/index.js +2 -0
  365. package/dist/src/utilities/transforms/index.js.map +1 -0
  366. package/dist/src/utilities/transitions/constants.d.ts +116 -0
  367. package/dist/src/utilities/transitions/constants.js +91 -0
  368. package/dist/src/utilities/transitions/constants.js.map +1 -0
  369. package/dist/src/utilities/transitions/index.d.ts +1 -0
  370. package/dist/src/utilities/transitions/index.js +2 -0
  371. package/dist/src/utilities/transitions/index.js.map +1 -0
  372. package/dist/src/utilities/typography/constants.d.ts +2401 -0
  373. package/dist/src/utilities/typography/constants.js +401 -0
  374. package/dist/src/utilities/typography/constants.js.map +1 -0
  375. package/dist/src/utilities/typography/index.d.ts +1 -0
  376. package/dist/src/utilities/typography/index.js +2 -0
  377. package/dist/src/utilities/typography/index.js.map +1 -0
  378. package/dist/src/utils.d.ts +18 -0
  379. package/dist/src/utils.js +282 -0
  380. package/dist/src/utils.js.map +1 -0
  381. package/dist/src/watcher.d.ts +15 -0
  382. package/dist/src/watcher.js +62 -0
  383. package/dist/src/watcher.js.map +1 -0
  384. package/dist/tsconfig.tsbuildinfo +1 -0
  385. package/dist/utilities.css +1 -0
  386. package/index.css +2 -0
  387. package/package.json +139 -0
  388. package/reset.css +168 -0
  389. package/utilities.css +1 -0
@@ -0,0 +1,333 @@
1
+ import { flattenObjectValue, pickSub } from '../commons/helper.js';
2
+ import { BackgroundsShorthands, BackgroundsVariants, BackgroundProperties } from './backgrounds/constants.js';
3
+ import { BordersAllShorthands, BordersVariants, borderPropertiesData } from './borders/constants.js';
4
+ import { EffectsShorthands, EffectsVariants, EffectsProperties } from './effects/constants.js';
5
+ import { FiltersProperties, FiltersShorthands, FiltersVariants } from './filters/constants.js';
6
+ import { GridShorthands, FlexBoxShorthands, GridsVariants, FlexBoxVariants, GridProperties, FlexBoxProperties } from './flex/constants.js';
7
+ import { InteractivityProperties, InteractivityShorthands, InteractivityVariants } from './interactivity/constants.js';
8
+ import { LayoutShorthands, LayoutVariants, LayoutProperties } from './layout/constants.js';
9
+ import { SizingShorthands, SizingVariants, SizingProperties } from './sizing/constants.js';
10
+ import { SpacingShorthands, SpacingVariants, SpacingProperties } from './spacing/constants.js';
11
+ import { SvgProperties, SvgShorthands, SvgVariants } from './svg/constants.js';
12
+ import { TransformsProperties, TransformsShorthands, TransformsVariants } from './transforms/constants.js';
13
+ import { TransitionsProperties, TransitionsShorthands, TransitionsVariants } from './transitions/constants.js';
14
+ import { TypographyShorthands, TypographyVariants, TypographyProperties } from './typography/constants.js';
15
+ export const UtilitiesShorthands = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, BackgroundsShorthands), BordersAllShorthands), LayoutShorthands), SizingShorthands), SpacingShorthands), TypographyShorthands), GridShorthands), FlexBoxShorthands), EffectsShorthands), InteractivityShorthands), TransformsShorthands), TransitionsShorthands), FiltersShorthands), SvgShorthands);
16
+ export const UtilitiesVariantsProps = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, BackgroundsVariants), BordersVariants), LayoutVariants), SizingVariants), SpacingVariants), TypographyVariants), GridsVariants), FlexBoxVariants), EffectsVariants), InteractivityVariants), TransformsVariants), TransitionsVariants), FiltersVariants), SvgVariants);
17
+ export const UtilitiesVariants = flattenObjectValue(UtilitiesVariantsProps, 'variants');
18
+ export const UtilitiesPropertiesConfig = {
19
+ backgrounds: Object.assign({}, BackgroundProperties),
20
+ borders: Object.assign({}, borderPropertiesData),
21
+ layout: Object.assign({}, LayoutProperties),
22
+ sizing: Object.assign({}, SizingProperties),
23
+ spacing: Object.assign({}, SpacingProperties),
24
+ typograhy: Object.assign({}, TypographyProperties),
25
+ grid: Object.assign({}, GridProperties),
26
+ flexBox: Object.assign({}, FlexBoxProperties),
27
+ effects: Object.assign({}, EffectsProperties),
28
+ interactivity: Object.assign({}, InteractivityProperties),
29
+ transforms: Object.assign({}, TransformsProperties),
30
+ transitions: Object.assign({}, TransitionsProperties),
31
+ filters: Object.assign({}, FiltersProperties),
32
+ svgs: Object.assign({}, SvgProperties)
33
+ };
34
+ export const UtilitiesData = Object.assign({}, pickSub(UtilitiesPropertiesConfig));
35
+ export const ColorsPropertiesKeys = ['backgroundColor', 'borderColor', 'boxShadowColor', 'color', 'ringColor', 'ringOffsetColor', 'accentColor', 'divideColor', 'placeholderColor', 'gradientStopFrom', 'gradientStopVia', 'gradientStopTo', 'gradientColorStops'];
36
+ export const SizingPropertiesKeys = [
37
+ 'width',
38
+ 'minWidth',
39
+ 'maxWidth',
40
+ 'height',
41
+ 'minHeight',
42
+ 'maxHeight'
43
+ ];
44
+ export const SpacingPropertiesKeys = [
45
+ 'padding',
46
+ 'paddingLeft',
47
+ 'paddingRight',
48
+ 'paddingTop',
49
+ 'paddingBottom',
50
+ 'margin',
51
+ 'marginLeft',
52
+ 'marginRight',
53
+ 'marginTop',
54
+ 'marginBottom'
55
+ ];
56
+ export const BorderPropertiesKeys = ['border', 'borderLeft', 'borderRight', 'borderTop', 'borderBottom'];
57
+ export const BorderRadiusPropertiesKeys = ['borderRadius', 'borderTopLeftRadius', 'borderTopRightRadius', 'borderBottomLeftRadius', 'borderBottomRightRadius'];
58
+ export const TypographyPropertiesKeys = [
59
+ 'fontSize',
60
+ 'fontWeight',
61
+ 'lineHeight',
62
+ ];
63
+ export const OpacityProperties = ['backgroundOpacity', 'borderOpacity', 'colorOpacity', 'ringOpacity', 'divideOpacity', 'placeholderOpacity'];
64
+ export const DEFAULT_KEYFRAMES = {
65
+ spin: {
66
+ 'from': 'transform: rotate(0deg)',
67
+ 'to': 'transform: rotate(360deg)',
68
+ },
69
+ ping: {
70
+ '75%, 100%': 'transform: scale(2); opacity: 0',
71
+ 'to': 'transform: rotate(360deg)',
72
+ },
73
+ pulse: {
74
+ '0%, 100%': 'opacity: 1',
75
+ '50%': 'opacity: .5',
76
+ },
77
+ bounce: {
78
+ '0%, 100%': 'transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1)',
79
+ '50%': 'transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1)',
80
+ },
81
+ };
82
+ export const BaseStyles = {
83
+ 'h1': { fontSize: 'inherit', fontWeight: 'inherit' },
84
+ 'h2': { fontSize: 'inherit', fontWeight: 'inherit' },
85
+ 'h3': { fontSize: 'inherit', fontWeight: 'inherit' },
86
+ 'h4': { fontSize: 'inherit', fontWeight: 'inherit' },
87
+ 'h5': { fontSize: 'inherit', fontWeight: 'inherit' },
88
+ 'h6': { fontSize: 'inherit', fontWeight: 'inherit' },
89
+ 'ol': { listStyle: 'none', margin: '0', padding: '0' },
90
+ 'ul': { listStyle: 'none', margin: '0', padding: '0' },
91
+ 'img': { display: 'block', verticalAlign: 'middle', maxWidth: '100%', height: 'auto' },
92
+ 'svg': { display: 'block', verticalAlign: 'middle' },
93
+ 'video': { display: 'block', verticalAlign: 'middle', maxWidth: '100%', height: 'auto' },
94
+ 'canvas': { display: 'block', verticalAlign: 'middle' },
95
+ 'audio': { display: 'block', verticalAlign: 'middle' },
96
+ 'iframe': { display: 'block', verticalAlign: 'middle' },
97
+ 'embed': { display: 'block', verticalAlign: 'middle' },
98
+ 'object': { display: 'block', verticalAlign: 'middle' },
99
+ 'input': { font: 'inherit', lineHeight: 'inherit', color: 'inherit' },
100
+ 'button': {
101
+ font: 'inherit', lineHeight: 'inherit',
102
+ color: 'inherit', cursor: 'pointer', backgroundColor: ['transparent'],
103
+ '-webkitTapHighlightColor': 'transparent',
104
+ ':focus': {
105
+ outline: 0
106
+ }
107
+ },
108
+ '[role="button"]': {
109
+ font: 'inherit', lineHeight: 'inherit',
110
+ color: 'inherit', cursor: 'pointer', backgroundColor: ['transparent'],
111
+ '-webkitTapHighlightColor': 'transparent',
112
+ ':focus': {
113
+ outline: 0
114
+ }
115
+ },
116
+ 'a': { cursor: 'pointer', color: 'inherit', textDecoration: 'inherit', '-webkitTapHighlightColor': 'transparent' },
117
+ 'textarea': {
118
+ font: 'inherit',
119
+ lineHeight: 'inherit',
120
+ color: 'inherit',
121
+ overflow: 'auto',
122
+ 'appearance': 'none',
123
+ 'width': '100%',
124
+ ':focus': {
125
+ outline: 0
126
+ }
127
+ },
128
+ 'select': {
129
+ font: 'inherit',
130
+ lineHeight: 'inherit',
131
+ color: 'inherit',
132
+ 'appearance': 'none',
133
+ 'width': '100%',
134
+ ':focus': {
135
+ outline: 0
136
+ }
137
+ },
138
+ '[type=date]': {
139
+ 'appearance': 'none',
140
+ 'width': '100%',
141
+ ':focus': {
142
+ outline: 0
143
+ }
144
+ },
145
+ '[type=datetime]': {
146
+ 'appearance': 'none',
147
+ 'width': '100%',
148
+ ':focus': {
149
+ outline: 0
150
+ }
151
+ },
152
+ '[type=datetime-local]': {
153
+ 'appearance': 'none',
154
+ 'width': '100%',
155
+ ':focus': {
156
+ outline: 0
157
+ }
158
+ },
159
+ '[type=email]': {
160
+ 'appearance': 'none',
161
+ 'width': '100%',
162
+ ':focus': {
163
+ outline: 0
164
+ }
165
+ },
166
+ '[type=password]': {
167
+ 'appearance': 'none',
168
+ 'width': '100%',
169
+ ':focus': {
170
+ outline: 0
171
+ }
172
+ },
173
+ '[type=month]': {
174
+ 'appearance': 'none',
175
+ 'width': '100%',
176
+ ':focus': {
177
+ outline: 0
178
+ }
179
+ },
180
+ '[type=number]': {
181
+ 'appearance': 'none',
182
+ 'width': '100%',
183
+ ':focus': {
184
+ outline: 0
185
+ }
186
+ },
187
+ '[type=text]': {
188
+ 'appearance': 'none',
189
+ 'width': '100%',
190
+ ':focus': {
191
+ outline: 0
192
+ }
193
+ },
194
+ '[type=search]': {
195
+ 'appearance': 'none',
196
+ 'width': '100%',
197
+ ':focus': {
198
+ outline: 0
199
+ }
200
+ },
201
+ '[type=tel]': {
202
+ 'appearance': 'none',
203
+ 'width': '100%',
204
+ ':focus': {
205
+ outline: 0
206
+ }
207
+ },
208
+ '[type=time]': {
209
+ 'appearance': 'none',
210
+ 'width': '100%',
211
+ ':focus': {
212
+ outline: 0
213
+ }
214
+ },
215
+ '[type=url]': {
216
+ 'appearance': 'none',
217
+ 'width': '100%',
218
+ ':focus': {
219
+ outline: 0
220
+ }
221
+ },
222
+ '[type=week]': {
223
+ 'appearance': 'none',
224
+ 'width': '100%',
225
+ ':focus': {
226
+ outline: 0
227
+ }
228
+ },
229
+ '[type=checkbox]': {
230
+ 'appearance': 'none',
231
+ 'width': '100%',
232
+ ':focus': {
233
+ outline: 0
234
+ }
235
+ },
236
+ '[type=radio]': {
237
+ 'appearance': 'none',
238
+ 'width': '100%',
239
+ ':focus': {
240
+ outline: 0
241
+ }
242
+ },
243
+ '*': {
244
+ boxSizing: 'border-box',
245
+ borderWidth: '0',
246
+ borderStyle: 'solid',
247
+ borderColor: 'currentColor',
248
+ margin: 0,
249
+ padding: 0,
250
+ },
251
+ '::before': {
252
+ boxSizing: 'border-box',
253
+ borderWidth: '0',
254
+ borderStyle: 'solid',
255
+ borderColor: 'currentColor'
256
+ },
257
+ '::after': {
258
+ boxSizing: 'border-box',
259
+ borderWidth: '0',
260
+ borderStyle: 'solid',
261
+ borderColor: 'currentColor'
262
+ },
263
+ '::-moz-placeholder': {
264
+ opacity: 1
265
+ },
266
+ "*, ::before, ::after, ::backdrop": {
267
+ "--flx-border-spacing-x": "0",
268
+ "--flx-border-spacing-y": "0",
269
+ "--flx-translate-x": "0",
270
+ "--flx-translate-y": "0",
271
+ "--flx-rotate": "0",
272
+ "--flx-skew-x": "0",
273
+ "--flx-skew-y": "0",
274
+ "--flx-scale-x": "1",
275
+ "--flx-scale-y": "1",
276
+ "--flx-pan-x": " ",
277
+ "--flx-pan-y": " ",
278
+ "--flx-pinch-zoom": " ",
279
+ "--flx-scroll-snap-strictness": "proximity",
280
+ "--flx-gradient-from-position": " ",
281
+ "--flx-gradient-via-position": " ",
282
+ "--flx-gradient-to-position": " ",
283
+ "--flx-ordinal": " ",
284
+ "--flx-slashed-zero": " ",
285
+ "--flx-numeric-figure": " ",
286
+ "--flx-numeric-spacing": " ",
287
+ "--flx-numeric-fraction": " ",
288
+ "--flx-ring-inset": " ",
289
+ "--flx-ring-offset-width": "0px",
290
+ "--flx-ring-offset-color": "#fff",
291
+ "--flx-ring-color": "rgb(59 130 246 / 0.5)",
292
+ "--flx-ring-offset-shadow": "0 0 #0000",
293
+ "--flx-ring-shadow": "0 0 #0000",
294
+ "--flx-shadow": "0 0 #0000",
295
+ "--flx-shadow-colored": "0 0 #0000",
296
+ "--flx-blur": " ",
297
+ "--flx-brightness": " ",
298
+ "--flx-contrast": " ",
299
+ "--flx-grayscale": " ",
300
+ "--flx-hue-rotate": " ",
301
+ "--flx-invert": " ",
302
+ "--flx-saturate": " ",
303
+ "--flx-sepia": " ",
304
+ "--flx-drop-shadow": " ",
305
+ "--flx-backdrop-blur": " ",
306
+ "--flx-backdrop-brightness": " ",
307
+ "--flx-backdrop-contrast": " ",
308
+ "--flx-backdrop-grayscale": " ",
309
+ "--flx-backdrop-hue-rotate": " ",
310
+ "--flx-backdrop-invert": " ",
311
+ "--flx-backdrop-opacity": " ",
312
+ "--flx-backdrop-saturate": " ",
313
+ "--flx-backdrop-sepia": " ",
314
+ "--flx-contain-size": " ",
315
+ "--flx-contain-layout": " ",
316
+ "--flx-contain-paint": " ",
317
+ "--flx-contain-style": " "
318
+ }
319
+ };
320
+ export * from './spacing/index.js';
321
+ export * from './sizing/index.js';
322
+ export * from './layout/index.js';
323
+ export * from './flex/index.js';
324
+ export * from './borders/index.js';
325
+ export * from './colors/color.js';
326
+ export * from './backgrounds/index.js';
327
+ export * from './effects/index.js';
328
+ export * from './interactivity/index.js';
329
+ export * from './typography/index.js';
330
+ export * from './transforms/index.js';
331
+ export * from './transitions/index.js';
332
+ export * from './effects/index.js';
333
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utilities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAC7G,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AACpG,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC9F,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC9F,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC1I,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AACtH,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC1F,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC1F,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC9F,OAAO,EAAE,aA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E,IAAI;QAC/B,sBAAsB,EAAE,IAAI;QAC5B,oBAAoB,EAAE,IAAI;QAC1B,sBAAsB,EAAE,IAAI;QAC5B,qBAAqB,EAAE,IAAI;QAC3B,qBAAqB,EAAE,IAAI;KAC9B;CACK,CAAC;AAGX,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC","sourcesContent":["import { flattenObjectValue, pickSub } from '../commons/helper.js'\nimport { BackgroundsShorthands, BackgroundsVariants, BackgroundProperties } from './backgrounds/constants.js'\nimport { BordersAllShorthands, BordersVariants, borderPropertiesData } from './borders/constants.js'\nimport { EffectsShorthands, EffectsVariants, EffectsProperties } from './effects/constants.js'\nimport { FiltersProperties, FiltersShorthands, FiltersVariants } from './filters/constants.js'\nimport { GridShorthands, FlexBoxShorthands, GridsVariants, FlexBoxVariants, GridProperties, FlexBoxProperties } from './flex/constants.js'\nimport { InteractivityProperties, InteractivityShorthands, InteractivityVariants } from './interactivity/constants.js'\nimport { LayoutShorthands, LayoutVariants, LayoutProperties } from './layout/constants.js'\nimport { SizingShorthands, SizingVariants, SizingProperties } from './sizing/constants.js'\nimport { SpacingShorthands, SpacingVariants, SpacingProperties } from './spacing/constants.js'\nimport { SvgProperties, SvgShorthands, SvgVariants } from './svg/constants.js'\nimport { TransformsProperties, TransformsShorthands, TransformsVariants } from './transforms/constants.js'\nimport { TransitionsProperties, TransitionsShorthands, TransitionsVariants } from './transitions/constants.js'\nimport { TypographyShorthands, TypographyVariants, TypographyProperties } from './typography/constants.js'\n\n\nexport const UtilitiesShorthands = {\n ...BackgroundsShorthands,\n ...BordersAllShorthands,\n ...LayoutShorthands,\n ...SizingShorthands,\n ...SpacingShorthands,\n ...TypographyShorthands,\n ...GridShorthands,\n ...FlexBoxShorthands,\n ...EffectsShorthands,\n ...InteractivityShorthands,\n ...TransformsShorthands,\n ...TransitionsShorthands,\n ...FiltersShorthands,\n ...SvgShorthands\n} as const\nexport const UtilitiesVariantsProps = {\n ...BackgroundsVariants,\n ...BordersVariants,\n ...LayoutVariants,\n ...SizingVariants,\n ...SpacingVariants,\n ...TypographyVariants,\n ...GridsVariants,\n ...FlexBoxVariants,\n ...EffectsVariants,\n ...InteractivityVariants,\n ...TransformsVariants,\n ...TransitionsVariants,\n ...FiltersVariants,\n ...SvgVariants\n} as const\n\nexport const UtilitiesVariants = flattenObjectValue(UtilitiesVariantsProps, 'variants')\n\n\nexport const UtilitiesPropertiesConfig = {\n backgrounds: {...BackgroundProperties},\n borders: {...borderPropertiesData},\n layout: {...LayoutProperties},\n sizing: {...SizingProperties},\n spacing: {...SpacingProperties},\n typograhy: {...TypographyProperties},\n grid: {...GridProperties},\n flexBox: {...FlexBoxProperties},\n effects: {...EffectsProperties},\n interactivity: {...InteractivityProperties},\n transforms: {...TransformsProperties},\n transitions: {...TransitionsProperties},\n filters: {...FiltersProperties},\n svgs: {...SvgProperties}\n} as const\n\n\nexport const UtilitiesData = {...pickSub(UtilitiesPropertiesConfig)} as const\n\nexport const ColorsPropertiesKeys = ['backgroundColor', 'borderColor', 'boxShadowColor', 'color', 'ringColor', 'ringOffsetColor', 'accentColor', 'divideColor', 'placeholderColor', 'gradientStopFrom', 'gradientStopVia', 'gradientStopTo', 'gradientColorStops'] as const;\nexport const SizingPropertiesKeys = [\n 'width',\n 'minWidth',\n 'maxWidth',\n 'height',\n 'minHeight',\n 'maxHeight'\n] as const;\n\nexport const SpacingPropertiesKeys = [\n 'padding',\n 'paddingLeft',\n 'paddingRight',\n 'paddingTop',\n 'paddingBottom',\n 'margin',\n 'marginLeft',\n 'marginRight',\n 'marginTop',\n 'marginBottom'\n]\n\nexport const BorderPropertiesKeys = ['border', 'borderLeft', 'borderRight', 'borderTop', 'borderBottom']\nexport const BorderRadiusPropertiesKeys = ['borderRadius', 'borderTopLeftRadius', 'borderTopRightRadius', 'borderBottomLeftRadius', 'borderBottomRightRadius']\n\nexport const TypographyPropertiesKeys = [\n 'fontSize',\n 'fontWeight',\n 'lineHeight',\n]\nexport const OpacityProperties = ['backgroundOpacity', 'borderOpacity', 'colorOpacity', 'ringOpacity', 'divideOpacity', 'placeholderOpacity'] as const;\n\nexport const DEFAULT_KEYFRAMES = {\n spin: {\n 'from': 'transform: rotate(0deg)',\n 'to': 'transform: rotate(360deg)',\n },\n ping: {\n '75%, 100%': 'transform: scale(2); opacity: 0',\n 'to': 'transform: rotate(360deg)',\n },\n pulse: {\n '0%, 100%': 'opacity: 1',\n '50%': 'opacity: .5',\n },\n bounce: {\n '0%, 100%': 'transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1)',\n '50%': 'transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1)',\n },\n} as const;\n\n\nexport const BaseStyles = {\n 'h1': {fontSize: 'inherit', fontWeight: 'inherit'},\n 'h2': {fontSize: 'inherit', fontWeight: 'inherit'},\n 'h3': {fontSize: 'inherit', fontWeight: 'inherit'},\n 'h4': {fontSize: 'inherit', fontWeight: 'inherit'},\n 'h5': {fontSize: 'inherit', fontWeight: 'inherit'},\n 'h6': {fontSize: 'inherit', fontWeight: 'inherit'},\n 'ol': {listStyle: 'none', margin: '0', padding: '0'},\n 'ul': {listStyle: 'none', margin: '0', padding: '0'},\n 'img': {display: 'block', verticalAlign: 'middle', maxWidth: '100%', height: 'auto'},\n 'svg': {display: 'block', verticalAlign: 'middle'},\n 'video': {display: 'block', verticalAlign: 'middle', maxWidth: '100%', height: 'auto'},\n 'canvas': {display: 'block', verticalAlign: 'middle'},\n 'audio': {display: 'block', verticalAlign: 'middle'},\n 'iframe': {display: 'block', verticalAlign: 'middle'},\n 'embed': {display: 'block', verticalAlign: 'middle'},\n 'object': {display: 'block', verticalAlign: 'middle'},\n 'input': {font: 'inherit', lineHeight: 'inherit', color: 'inherit'},\n 'button': {\n font: 'inherit', lineHeight: 'inherit', \n color: 'inherit', cursor: 'pointer', backgroundColor: ['transparent'],\n '-webkitTapHighlightColor': 'transparent',\n ':focus': {\n outline: 0\n }\n },\n '[role=\"button\"]': {\n font: 'inherit', lineHeight: 'inherit', \n color: 'inherit', cursor: 'pointer', backgroundColor: ['transparent'],\n '-webkitTapHighlightColor': 'transparent',\n ':focus': {\n outline: 0\n }\n },\n 'a': {cursor: 'pointer', color: 'inherit', textDecoration: 'inherit', '-webkitTapHighlightColor': 'transparent'},\n 'textarea': {\n font: 'inherit', \n lineHeight: 'inherit', \n color: 'inherit', \n overflow: 'auto',\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n 'select': {\n font: 'inherit', \n lineHeight: 'inherit', \n color: 'inherit', \n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=date]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=datetime]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=datetime-local]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=email]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=password]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=month]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=number]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=text]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=search]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=tel]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=time]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=url]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=week]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=checkbox]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '[type=radio]': {\n 'appearance': 'none',\n 'width': '100%',\n ':focus': {\n outline: 0\n }\n },\n '*':{\n boxSizing: 'border-box',\n borderWidth: '0',\n borderStyle: 'solid',\n borderColor: 'currentColor',\n margin: 0,\n padding: 0,\n },\n '::before':{\n boxSizing: 'border-box',\n borderWidth: '0',\n borderStyle: 'solid',\n borderColor: 'currentColor'\n },\n '::after':{\n boxSizing: 'border-box',\n borderWidth: '0',\n borderStyle: 'solid',\n borderColor: 'currentColor'\n },\n '::-moz-placeholder': {\n opacity: 1\n },\n \"*, ::before, ::after, ::backdrop\": {\n \"--flx-border-spacing-x\": \"0\",\n \"--flx-border-spacing-y\": \"0\",\n \"--flx-translate-x\": \"0\",\n \"--flx-translate-y\": \"0\",\n \"--flx-rotate\": \"0\",\n \"--flx-skew-x\": \"0\",\n \"--flx-skew-y\": \"0\",\n \"--flx-scale-x\": \"1\",\n \"--flx-scale-y\": \"1\",\n \"--flx-pan-x\": \" \",\n \"--flx-pan-y\": \" \",\n \"--flx-pinch-zoom\": \" \",\n \"--flx-scroll-snap-strictness\": \"proximity\",\n \"--flx-gradient-from-position\": \" \",\n \"--flx-gradient-via-position\": \" \",\n \"--flx-gradient-to-position\": \" \",\n \"--flx-ordinal\": \" \",\n \"--flx-slashed-zero\": \" \",\n \"--flx-numeric-figure\": \" \",\n \"--flx-numeric-spacing\": \" \",\n \"--flx-numeric-fraction\": \" \",\n \"--flx-ring-inset\": \" \",\n \"--flx-ring-offset-width\": \"0px\",\n \"--flx-ring-offset-color\": \"#fff\",\n \"--flx-ring-color\": \"rgb(59 130 246 / 0.5)\",\n \"--flx-ring-offset-shadow\": \"0 0 #0000\",\n \"--flx-ring-shadow\": \"0 0 #0000\",\n \"--flx-shadow\": \"0 0 #0000\",\n \"--flx-shadow-colored\": \"0 0 #0000\",\n \"--flx-blur\": \" \",\n \"--flx-brightness\": \" \",\n \"--flx-contrast\": \" \",\n \"--flx-grayscale\": \" \",\n \"--flx-hue-rotate\": \" \",\n \"--flx-invert\": \" \",\n \"--flx-saturate\": \" \",\n \"--flx-sepia\": \" \",\n \"--flx-drop-shadow\": \" \",\n \"--flx-backdrop-blur\": \" \",\n \"--flx-backdrop-brightness\": \" \",\n \"--flx-backdrop-contrast\": \" \",\n \"--flx-backdrop-grayscale\": \" \",\n \"--flx-backdrop-hue-rotate\": \" \",\n \"--flx-backdrop-invert\": \" \",\n \"--flx-backdrop-opacity\": \" \",\n \"--flx-backdrop-saturate\": \" \",\n \"--flx-backdrop-sepia\": \" \",\n \"--flx-contain-size\": \" \",\n \"--flx-contain-layout\": \" \",\n \"--flx-contain-paint\": \" \",\n \"--flx-contain-style\": \" \"\n }\n} as const;\n\n\nexport * from './spacing/index.js';\nexport * from './sizing/index.js';\nexport * from './layout/index.js';\nexport * from './flex/index.js';\nexport * from './borders/index.js';\nexport * from './colors/color.js';\nexport * from './backgrounds/index.js';\nexport * from './effects/index.js';\nexport * from './interactivity/index.js';\nexport * from './typography/index.js';\nexport * from './transforms/index.js';\nexport * from './transitions/index.js';\nexport * from './effects/index.js';"]}