@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,44 @@
1
+ export declare const CardStyles: (styles?: any) => {
2
+ font: {
3
+ size: string;
4
+ weight: string;
5
+ };
6
+ px: string;
7
+ py: string;
8
+ bg: {
9
+ light: string;
10
+ dark: string;
11
+ };
12
+ border: {
13
+ width: string;
14
+ color: {
15
+ light: string;
16
+ dark: string;
17
+ };
18
+ radius: string;
19
+ };
20
+ color: {
21
+ light: string;
22
+ dark: string;
23
+ };
24
+ header: {
25
+ px: string;
26
+ py: string;
27
+ title: {
28
+ font: {
29
+ size: string;
30
+ weight: string;
31
+ };
32
+ };
33
+ height: string;
34
+ };
35
+ body: {
36
+ px: string;
37
+ py: string;
38
+ };
39
+ footer: {
40
+ px: string;
41
+ py: string;
42
+ height: string;
43
+ };
44
+ };
@@ -0,0 +1,47 @@
1
+ export const CardStyles = (styles = {}) => {
2
+ return {
3
+ font: {
4
+ size: `theme(${'fontSize.base'})`,
5
+ weight: `theme(${'fontWeight.normal'})`,
6
+ },
7
+ px: `theme(${'padding.2'})`,
8
+ py: `theme(${'padding.2'})`,
9
+ bg: {
10
+ light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,
11
+ dark: `theme(${'backgroundColor.basic.tonal.dark'})`,
12
+ },
13
+ border: {
14
+ width: `theme(${'borderWidth.DEFAULT'})`,
15
+ color: {
16
+ light: `transparent`,
17
+ dark: `transparent`
18
+ },
19
+ radius: `theme(${'borderRadius.2xl'})`,
20
+ },
21
+ color: {
22
+ light: `theme(${'color.basic.text.DEFAULT'})`,
23
+ dark: `theme(${'color.basic.text.dark'})`
24
+ },
25
+ header: {
26
+ px: `theme(${'padding.2'})`,
27
+ py: `theme(${'padding.2'})`,
28
+ title: {
29
+ font: {
30
+ size: `theme(${'fontSize.md'})`,
31
+ weight: `theme(${'fontWeight.semibold'})`,
32
+ }
33
+ },
34
+ height: '0px'
35
+ },
36
+ body: {
37
+ px: `theme(${'padding.3'})`,
38
+ py: `theme(${'padding.2'})`,
39
+ },
40
+ footer: {
41
+ px: `theme(${'padding.2'})`,
42
+ py: `theme(${'padding.2'})`,
43
+ height: '0px'
44
+ }
45
+ };
46
+ };
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAa,EAAE,EAAC,EAAE;IACzC,OAAO;QACH,IAAI,EAAE;YACF,IAAI,EAAE,SAAS,eAAe,GAAG;YACjC,MAAM,EAAE,SAAS,mBAAmB,GAAG;SAC1C;QACD,EAAE,EAAE,SAAS,WAAW,GAAG;QAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;QAC3B,EAAE,EAAE;YACA,KAAK,EAAE,SAAS,qCAAqC,GAAG;YACxD,IAAI,EAAE,SAAS,kCAAkC,GAAG;SACvD;QACD,MAAM,EAAE;YACJ,KAAK,EAAE,SAAS,qBAAqB,GAAG;YACxC,KAAK,EAAE;gBACH,KAAK,EAAE,aAAa;gBACpB,IAAI,EAAE,aAAa;aACtB;YACD,MAAM,EAAE,SAAS,kBAAkB,GAAG;SACzC;QACD,KAAK,EAAE;YACH,KAAK,EAAE,SAAS,0BAA0B,GAAG;YAC7C,IAAI,EAAE,SAAS,uBAAuB,GAAG;SAC5C;QACD,MAAM,EAAE;YACJ,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,KAAK,EAAE;gBACH,IAAI,EAAE;oBACF,IAAI,EAAE,SAAS,aAAa,GAAG;oBAC/B,MAAM,EAAE,SAAS,qBAAqB,GAAG;iBAC5C;aACJ;YACD,MAAM,EAAE,KAAK;SAChB;QACD,IAAI,EAAE;YACF,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;SAC9B;QACD,MAAM,EAAE;YACJ,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,MAAM,EAAE,KAAK;SAChB;KACJ,CAAA;AACL,CAAC,CAAA","sourcesContent":["export const CardStyles = (styles:any = {})=>{\n return {\n font: {\n size: `theme(${'fontSize.base'})`,\n weight: `theme(${'fontWeight.normal'})`,\n },\n px: `theme(${'padding.2'})`,\n py: `theme(${'padding.2'})`,\n bg: {\n light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.tonal.dark'})`,\n },\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `transparent`,\n dark: `transparent`\n },\n radius: `theme(${'borderRadius.2xl'})`,\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`\n },\n header: {\n px: `theme(${'padding.2'})`,\n py: `theme(${'padding.2'})`,\n title: {\n font: {\n size: `theme(${'fontSize.md'})`,\n weight: `theme(${'fontWeight.semibold'})`,\n }\n },\n height: '0px'\n },\n body: {\n px: `theme(${'padding.3'})`,\n py: `theme(${'padding.2'})`,\n },\n footer: {\n px: `theme(${'padding.2'})`,\n py: `theme(${'padding.2'})`,\n height: '0px'\n }\n }\n}"]}
@@ -0,0 +1,69 @@
1
+ export declare const CheckboxStyles: (styles?: any) => {
2
+ font: {
3
+ size: string;
4
+ weight: string;
5
+ };
6
+ px: string;
7
+ py: string;
8
+ bg: {
9
+ light: string;
10
+ dark: string;
11
+ checked: {
12
+ light: string;
13
+ dark: string;
14
+ outlined: {
15
+ light: string;
16
+ dark: string;
17
+ };
18
+ };
19
+ };
20
+ color: {
21
+ light: string;
22
+ dark: string;
23
+ checked: {
24
+ light: string;
25
+ dark: string;
26
+ outlined: {
27
+ light: string;
28
+ dark: string;
29
+ };
30
+ };
31
+ };
32
+ w: string;
33
+ h: string;
34
+ mnw: string;
35
+ border: {
36
+ width: string;
37
+ color: {
38
+ light: string;
39
+ dark: string;
40
+ };
41
+ radius: string;
42
+ };
43
+ label: {
44
+ font: {
45
+ size: string;
46
+ weight: string;
47
+ };
48
+ color: {
49
+ light: string;
50
+ dark: string;
51
+ };
52
+ };
53
+ placeholder: {
54
+ font: {
55
+ size: string;
56
+ weight: string;
57
+ };
58
+ color: {
59
+ light: string;
60
+ dark: string;
61
+ };
62
+ };
63
+ hover: {
64
+ bg: {
65
+ light: string;
66
+ dark: string;
67
+ };
68
+ };
69
+ };
@@ -0,0 +1,80 @@
1
+ export const CheckboxStyles = (styles = {}) => {
2
+ return {
3
+ font: {
4
+ size: `theme(${'fontSize.base'})`,
5
+ weight: `theme(${'fontWeight.normal'})`,
6
+ },
7
+ px: `theme(${'padding.0'})`,
8
+ py: `theme(${'padding.0'})`,
9
+ bg: {
10
+ light: `theme(${'backgroundColor.basic.muted.DEFAULT'})`,
11
+ dark: `theme(${'backgroundColor.basic.muted.dark'})`,
12
+ checked: {
13
+ light: `theme(${'backgroundColor.secondary.light'})`,
14
+ dark: `theme(${'backgroundColor.secondary.dark'})`,
15
+ outlined: {
16
+ light: `theme(${'backgroundColor.basic.darker.light'})`,
17
+ dark: `theme(${'backgroundColor.basic.darker.dark'})`,
18
+ }
19
+ }
20
+ },
21
+ color: {
22
+ light: `theme(${'color.basic.text.DEFAULT'})`,
23
+ dark: `theme(${'color.basic.text.dark'})`,
24
+ checked: {
25
+ light: `#fff`,
26
+ dark: `#fff`,
27
+ outlined: {
28
+ light: `theme(${'color.secondary.light'})`,
29
+ dark: `theme(${'color.secondary.dark'})`,
30
+ }
31
+ }
32
+ },
33
+ w: `24px`,
34
+ h: `24px`,
35
+ mnw: `24px`,
36
+ border: {
37
+ width: `.1rem`,
38
+ color: {
39
+ light: `theme(${'borderColor.basic.border.DEFAULT'})`,
40
+ dark: `theme(${'borderColor.basic.border.dark'})`,
41
+ // valid: {
42
+ // light: `theme(${'borderColor.secondary.light'})`,
43
+ // dark: `theme(${'borderColor.secondary.dark'})`,
44
+ // },
45
+ // invalid: {
46
+ // light: `theme(${'borderColor.error.light'})`,
47
+ // dark: `theme(${'borderColor.error.dark'})`,
48
+ // }
49
+ },
50
+ radius: `theme(${'borderRadius.md'})`,
51
+ },
52
+ label: {
53
+ font: {
54
+ size: `theme(${'fontSize.sm'})`,
55
+ weight: `theme(${'fontWeight.normal'})`,
56
+ },
57
+ color: {
58
+ light: `theme(${'color.basic.text.DEFAULT'})`,
59
+ dark: `theme(${'color.basic.text.dark'})`
60
+ },
61
+ },
62
+ placeholder: {
63
+ font: {
64
+ size: `theme(${'fontSize.sm'})`,
65
+ weight: `theme(${'fontWeight.normal'})`,
66
+ },
67
+ color: {
68
+ light: `theme(${'color.basic.text.muted.light'})`,
69
+ dark: `theme(${'color.basic.text.muted.dark'})`
70
+ },
71
+ },
72
+ hover: {
73
+ bg: {
74
+ light: `theme(${'backgroundColor.basic.hover.light'})`,
75
+ dark: `theme(${'backgroundColor.basic.hover.dark'})`,
76
+ },
77
+ }
78
+ };
79
+ };
80
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,SAAa,EAAE,EAAC,EAAE;IAC7C,OAAO;QACH,IAAI,EAAE;YACF,IAAI,EAAE,SAAS,eAAe,GAAG;YACjC,MAAM,EAAE,SAAS,mBAAmB,GAAG;SAC1C;QACD,EAAE,EAAE,SAAS,WAAW,GAAG;QAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;QAC3B,EAAE,EAAE;YACA,KAAK,EAAE,SAAS,qCAAqC,GAAG;YACxD,IAAI,EAAE,SAAS,kCAAkC,GAAG;YACpD,OAAO,EAAE;gBACL,KAAK,EAAE,SAAS,iCAAiC,GAAG;gBACpD,IAAI,EAAE,SAAS,gCAAgC,GAAG;gBAClD,QAAQ,EAAE;oBACN,KAAK,EAAE,SAAS,oCAAoC,GAAG;oBACvD,IAAI,EAAE,SAAS,mCAAmC,GAAG;iBACxD;aACJ;SACJ;QACD,KAAK,EAAE;YACH,KAAK,EAAE,SAAS,0BAA0B,GAAG;YAC7C,IAAI,EA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`theme(${'fontSize.base'})`,\n weight: `theme(${'fontWeight.normal'})`,\n },\n px: `theme(${'padding.0'})`,\n py: `theme(${'padding.0'})`,\n bg: {\n light: `theme(${'backgroundColor.basic.muted.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.muted.dark'})`,\n checked: {\n light: `theme(${'backgroundColor.secondary.light'})`,\n dark: `theme(${'backgroundColor.secondary.dark'})`,\n outlined: {\n light: `theme(${'backgroundColor.basic.darker.light'})`,\n dark: `theme(${'backgroundColor.basic.darker.dark'})`,\n }\n }\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`,\n checked: {\n light: `#fff`,\n dark: `#fff`,\n outlined: {\n light: `theme(${'color.secondary.light'})`,\n dark: `theme(${'color.secondary.dark'})`,\n }\n }\n },\n w: `24px`,\n h: `24px`,\n mnw: `24px`,\n border: {\n width: `.1rem`,\n color: {\n light: `theme(${'borderColor.basic.border.DEFAULT'})`,\n dark: `theme(${'borderColor.basic.border.dark'})`,\n // valid: {\n // light: `theme(${'borderColor.secondary.light'})`,\n // dark: `theme(${'borderColor.secondary.dark'})`,\n // },\n // invalid: {\n // light: `theme(${'borderColor.error.light'})`,\n // dark: `theme(${'borderColor.error.dark'})`,\n // }\n },\n radius: `theme(${'borderRadius.md'})`,\n },\n label: {\n font: {\n size: `theme(${'fontSize.sm'})`,\n weight: `theme(${'fontWeight.normal'})`,\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`\n },\n },\n placeholder: {\n font: {\n size: `theme(${'fontSize.sm'})`,\n weight: `theme(${'fontWeight.normal'})`,\n },\n color: {\n light: `theme(${'color.basic.text.muted.light'})`,\n dark: `theme(${'color.basic.text.muted.dark'})`\n },\n },\n hover: {\n bg: {\n light: `theme(${'backgroundColor.basic.hover.light'})`,\n dark: `theme(${'backgroundColor.basic.hover.dark'})`,\n },\n }\n }\n}"]}
@@ -0,0 +1,147 @@
1
+ export declare const DateRangePickerStyles: (styles?: any) => {
2
+ font: {
3
+ size: string;
4
+ weight: string;
5
+ family: string;
6
+ };
7
+ bg: {
8
+ light: string;
9
+ dark: string;
10
+ };
11
+ menu: {
12
+ px: string;
13
+ py: string;
14
+ bg: {
15
+ light: string;
16
+ dark: string;
17
+ };
18
+ border: {
19
+ width: string;
20
+ color: {
21
+ light: string;
22
+ dark: string;
23
+ };
24
+ radius: string;
25
+ };
26
+ width: string;
27
+ minWidth: string;
28
+ minHeight: string;
29
+ maxHeight: string;
30
+ };
31
+ boxShadow: {
32
+ light: string;
33
+ dark: string;
34
+ };
35
+ border: {
36
+ width: string;
37
+ color: {
38
+ light: string;
39
+ dark: string;
40
+ };
41
+ radius: string;
42
+ };
43
+ color: {
44
+ light: string;
45
+ dark: string;
46
+ };
47
+ header: {
48
+ bg: {
49
+ light: string;
50
+ dark: string;
51
+ };
52
+ px: string;
53
+ py: string;
54
+ title: {
55
+ font: {
56
+ size: string;
57
+ weight: string;
58
+ };
59
+ };
60
+ };
61
+ day: {
62
+ bg: {
63
+ light: string;
64
+ dark: string;
65
+ };
66
+ inRange: {
67
+ bg: {
68
+ light: string;
69
+ dark: string;
70
+ };
71
+ };
72
+ selected: {
73
+ bg: {
74
+ light: string;
75
+ dark: string;
76
+ };
77
+ color: {
78
+ light: string;
79
+ dark: string;
80
+ };
81
+ border: {
82
+ radius: string;
83
+ };
84
+ };
85
+ hover: {
86
+ bg: {
87
+ light: string;
88
+ dark: string;
89
+ };
90
+ };
91
+ color: {
92
+ light: string;
93
+ dark: string;
94
+ };
95
+ border: {
96
+ width: string;
97
+ color: {
98
+ light: string;
99
+ dark: string;
100
+ };
101
+ radius: string;
102
+ };
103
+ px: string;
104
+ py: string;
105
+ w: string;
106
+ h: string;
107
+ disabled: {
108
+ color: {
109
+ light: string;
110
+ dark: string;
111
+ };
112
+ };
113
+ };
114
+ presets: {
115
+ px: string;
116
+ py: string;
117
+ border: {
118
+ width: string;
119
+ color: {
120
+ light: string;
121
+ dark: string;
122
+ };
123
+ };
124
+ item: {
125
+ px: string;
126
+ py: string;
127
+ mx: string;
128
+ border: {
129
+ width: string;
130
+ color: {
131
+ light: string;
132
+ dark: string;
133
+ };
134
+ };
135
+ bg: {
136
+ light: string;
137
+ dark: string;
138
+ };
139
+ hover: {
140
+ bg: {
141
+ light: string;
142
+ dark: string;
143
+ };
144
+ };
145
+ };
146
+ };
147
+ };
@@ -0,0 +1,150 @@
1
+ export const DateRangePickerStyles = (styles = {}) => {
2
+ return {
3
+ font: {
4
+ size: `theme(${'fontSize.base'})`,
5
+ weight: `theme(${'fontWeight.normal'})`,
6
+ family: `theme(${'fontFamily.sans'})`,
7
+ },
8
+ bg: {
9
+ light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,
10
+ dark: `theme(${'backgroundColor.basic.dark'})`,
11
+ },
12
+ menu: {
13
+ px: `theme(${'padding.1'})`,
14
+ py: `theme(${'padding.1'})`,
15
+ bg: {
16
+ light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,
17
+ dark: `theme(${'backgroundColor.basic.tonal.dark'})`,
18
+ },
19
+ border: {
20
+ width: `theme(${'borderWidth.DEFAULT'})`,
21
+ color: {
22
+ light: `theme(${'backgroundColor.basic.border.DEFAULT'})`,
23
+ dark: `theme(${'backgroundColor.basic.border.dark'})`
24
+ },
25
+ radius: `theme(${'borderRadius.2xl'})`,
26
+ },
27
+ width: 'auto',
28
+ minWidth: '200px',
29
+ minHeight: '20px',
30
+ maxHeight: '300px',
31
+ },
32
+ boxShadow: {
33
+ light: `0 2px 8px rgba(0,0,0,0.15)`,
34
+ dark: `0 2px 8px rgba(0,0,0,0.15)`,
35
+ },
36
+ border: {
37
+ width: `theme(${'borderWidth.DEFAULT'})`,
38
+ color: {
39
+ light: `transparent`,
40
+ dark: `transparent`,
41
+ },
42
+ radius: `theme(${'borderRadius.2xl'})`,
43
+ },
44
+ color: {
45
+ light: `theme(${'color.basic.text.DEFAULT'})`,
46
+ dark: `theme(${'color.basic.text.dark'})`,
47
+ },
48
+ header: {
49
+ bg: {
50
+ light: `theme(${'backgroundColor.basic.muted.DEFAULT'})`,
51
+ dark: `theme(${'backgroundColor.basic.muted.dark'})`,
52
+ },
53
+ px: `theme(${'padding.0'})`,
54
+ py: `theme(${'padding.0'})`,
55
+ title: {
56
+ font: {
57
+ size: `theme(${'fontSize.md'})`,
58
+ weight: `theme(${'fontWeight.semibold'})`,
59
+ },
60
+ },
61
+ },
62
+ day: {
63
+ bg: {
64
+ light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,
65
+ dark: `theme(${'backgroundColor.basic.dark'})`,
66
+ },
67
+ inRange: {
68
+ bg: {
69
+ light: `theme(${'backgroundColor.basic.hover.light'})`,
70
+ dark: `theme(${'backgroundColor.basic.hover.dark'})`,
71
+ },
72
+ },
73
+ selected: {
74
+ bg: {
75
+ light: `theme(${'backgroundColor.secondary.light'})`,
76
+ dark: `theme(${'backgroundColor.secondary.dark'})`,
77
+ },
78
+ color: {
79
+ light: `#fff`,
80
+ dark: `#fff`,
81
+ },
82
+ border: {
83
+ radius: `theme(${'borderRadius.md'})`,
84
+ },
85
+ },
86
+ hover: {
87
+ bg: {
88
+ light: `theme(${'backgroundColor.basic.hover.light'})`,
89
+ dark: `theme(${'backgroundColor.basic.hover.dark'})`,
90
+ },
91
+ },
92
+ color: {
93
+ light: `theme(${'color.basic.text.DEFAULT'})`,
94
+ dark: `theme(${'color.basic.text.dark'})`,
95
+ },
96
+ border: {
97
+ width: `theme(${'borderWidth.DEFAULT'})`,
98
+ color: {
99
+ light: `theme(${'color.basic.text.border.light'})`,
100
+ dark: `theme(${'color--flx-basetext.border.dark'})`,
101
+ },
102
+ radius: `theme(${'borderRadius.none'})`,
103
+ },
104
+ px: `theme(${'padding.4'})`,
105
+ py: `theme(${'padding.4'})`,
106
+ w: '36px',
107
+ h: '36px',
108
+ disabled: {
109
+ color: {
110
+ light: `#ccc`,
111
+ dark: `#ccc`,
112
+ },
113
+ },
114
+ },
115
+ presets: {
116
+ px: `theme(${'padding.3'})`,
117
+ py: `theme(${'padding.2'})`,
118
+ border: {
119
+ width: `theme(${'borderWidth.DEFAULT'})`,
120
+ color: {
121
+ light: `theme(${'color.basic.border.DEFAULT'})`,
122
+ dark: `theme(${'color.basic.border.dark'})`,
123
+ },
124
+ },
125
+ item: {
126
+ px: `theme(${'padding.3'})`,
127
+ py: `theme(${'padding.3'})`,
128
+ mx: `theme(${'margin.0'})`,
129
+ border: {
130
+ width: `theme(${'borderWidth.0'})`,
131
+ color: {
132
+ light: `theme(${'color.transparent'})`,
133
+ dark: `theme(${'color.transparent'})`,
134
+ },
135
+ },
136
+ bg: {
137
+ light: `theme(${'backgroundColor.transparent'})`,
138
+ dark: `theme(${'backgroundColor.transparent'})`,
139
+ },
140
+ hover: {
141
+ bg: {
142
+ light: `theme(${'backgroundColor.basic.hover.light'})`,
143
+ dark: `theme(${'backgroundColor.basic.hover.dark'})`,
144
+ },
145
+ },
146
+ },
147
+ },
148
+ };
149
+ };
150
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/daterangepicker/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,SAAc,EAAE,EAAE,EAAE;IACtD,OAAO;QACH,IAAI,EAAE;YACF,IAAI,EAAE,SAAS,eAAe,GAAG;YACjC,MAAM,EAAE,SAAS,mBAAmB,GAAG;YACvC,MAAM,EAAE,SAAS,iBAAiB,GAAG;SACxC;QACD,EAAE,EAAE;YACA,KAAK,EAAE,SAAS,qCAAqC,GAAG;YACxD,IAAI,EAAE,SAAS,4BAA4B,GAAG;SACjD;QACD,IAAI,EAAE;YACF,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,EAAE,EAAE;gBACA,KAAK,EAAE,SAAS,qCAAqC,GAAG;gBACxD,IAA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ACN,EAAE,EAAE,SAAS,WAAW,GAAG;gBAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;gBAC3B,EAAE,EAAE,SAAS,UAAU,GAAG;gBAC1B,MAAM,EAAE;oBACJ,KAAK,EAAE,SAAS,eAAe,GAAG;oBAClC,KAAK,EAAE;wBACP,KAAK,EAAE,SAAS,mBAAmB,GAAG;wBACtC,IAAI,EAAE,SAAS,mBAAmB,GAAG;qBACpC;iBACJ;gBACD,EAAE,EAAE;oBACA,KAAK,EAAE,SAAS,6BAA6B,GAAG;oBAChD,IAAI,EAAE,SAAS,6BAA6B,GAAG;iBAClD;gBACD,KAAK,EAAE;oBACH,EAAE,EAAE;wBACJ,KAAK,EAAE,SAAS,mCAAmC,GAAG;wBACtD,IAAI,EAAE,SAAS,kCAAkC,GAAG;qBACnD;iBACJ;aACA;SACJ;KACJ,CAAC;AACN,CAAC,CAAC","sourcesContent":["export const DateRangePickerStyles = (styles: any = {}) => {\n return {\n font: {\n size: `theme(${'fontSize.base'})`,\n weight: `theme(${'fontWeight.normal'})`,\n family: `theme(${'fontFamily.sans'})`,\n },\n bg: {\n light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.dark'})`,\n },\n menu: {\n px: `theme(${'padding.1'})`,\n py: `theme(${'padding.1'})`,\n bg: {\n light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.tonal.dark'})`,\n },\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `theme(${'backgroundColor.basic.border.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.border.dark'})`\n },\n radius: `theme(${'borderRadius.2xl'})`,\n },\n width: 'auto',\n minWidth: '200px',\n minHeight: '20px',\n maxHeight: '300px',\n },\n boxShadow: {\n light: `0 2px 8px rgba(0,0,0,0.15)`,\n dark: `0 2px 8px rgba(0,0,0,0.15)`,\n },\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `transparent`,\n dark: `transparent`,\n },\n radius: `theme(${'borderRadius.2xl'})`,\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`,\n },\n header: {\n bg: {\n light: `theme(${'backgroundColor.basic.muted.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.muted.dark'})`,\n },\n px: `theme(${'padding.0'})`,\n py: `theme(${'padding.0'})`,\n title: {\n font: {\n size: `theme(${'fontSize.md'})`,\n weight: `theme(${'fontWeight.semibold'})`,\n },\n },\n },\n day: {\n bg: {\n light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.dark'})`,\n },\n inRange: {\n bg: {\n light: `theme(${'backgroundColor.basic.hover.light'})`,\n dark: `theme(${'backgroundColor.basic.hover.dark'})`,\n },\n },\n selected: {\n bg: {\n light: `theme(${'backgroundColor.secondary.light'})`,\n dark: `theme(${'backgroundColor.secondary.dark'})`,\n },\n color: {\n light: `#fff`,\n dark: `#fff`,\n },\n border: {\n radius: `theme(${'borderRadius.md'})`,\n },\n },\n hover: {\n bg: {\n light: `theme(${'backgroundColor.basic.hover.light'})`,\n dark: `theme(${'backgroundColor.basic.hover.dark'})`,\n },\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`,\n },\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `theme(${'color.basic.text.border.light'})`,\n dark: `theme(${'color--flx-basetext.border.dark'})`,\n },\n radius: `theme(${'borderRadius.none'})`,\n },\n px: `theme(${'padding.4'})`,\n py: `theme(${'padding.4'})`,\n w: '36px',\n h: '36px',\n disabled: {\n color: {\n light: `#ccc`,\n dark: `#ccc`,\n },\n },\n },\n presets: {\n px: `theme(${'padding.3'})`,\n py: `theme(${'padding.2'})`,\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `theme(${'color.basic.border.DEFAULT'})`,\n dark: `theme(${'color.basic.border.dark'})`,\n },\n },\n item: {\n px: `theme(${'padding.3'})`,\n py: `theme(${'padding.3'})`,\n mx: `theme(${'margin.0'})`,\n border: {\n width: `theme(${'borderWidth.0'})`,\n color: {\n light: `theme(${'color.transparent'})`,\n dark: `theme(${'color.transparent'})`,\n },\n },\n bg: {\n light: `theme(${'backgroundColor.transparent'})`,\n dark: `theme(${'backgroundColor.transparent'})`,\n },\n hover: {\n bg: {\n light: `theme(${'backgroundColor.basic.hover.light'})`,\n dark: `theme(${'backgroundColor.basic.hover.dark'})`,\n },\n },\n },\n },\n };\n};\n"]}
@@ -0,0 +1,71 @@
1
+ export declare const DialogStyles: (styles?: any) => {
2
+ font: {
3
+ size: string;
4
+ weight: string;
5
+ };
6
+ backdrop: {
7
+ bg: {
8
+ light: string;
9
+ dark: string;
10
+ };
11
+ };
12
+ height: string;
13
+ bg: {
14
+ light: string;
15
+ dark: string;
16
+ };
17
+ menu: {
18
+ px: string;
19
+ py: string;
20
+ bg: {
21
+ light: string;
22
+ dark: string;
23
+ };
24
+ border: {
25
+ width: string;
26
+ color: {
27
+ light: string;
28
+ dark: string;
29
+ };
30
+ radius: string;
31
+ };
32
+ width: string;
33
+ minWidth: string;
34
+ minHeight: string;
35
+ maxHeight: string;
36
+ };
37
+ border: {
38
+ width: string;
39
+ color: {
40
+ light: string;
41
+ dark: string;
42
+ };
43
+ radius: string;
44
+ };
45
+ boxShadow: string;
46
+ maxWidth: string;
47
+ color: {
48
+ light: string;
49
+ dark: string;
50
+ };
51
+ header: {
52
+ px: string;
53
+ py: string;
54
+ title: {
55
+ font: {
56
+ size: string;
57
+ weight: string;
58
+ };
59
+ };
60
+ height: string;
61
+ };
62
+ body: {
63
+ px: string;
64
+ py: string;
65
+ };
66
+ footer: {
67
+ px: string;
68
+ py: string;
69
+ height: string;
70
+ };
71
+ };