@voiceflow/style 1.12.2-f7f1a591.90 → 1.12.2

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 (421) hide show
  1. package/build/ThemeContext.d.ts.map +1 -0
  2. package/build/ThemeContext.js.map +1 -0
  3. package/build/__fixtures__/Button/Button.component.d.ts.map +1 -0
  4. package/build/__fixtures__/Button/Button.component.js.map +1 -0
  5. package/build/__fixtures__/Button/Button.css.d.ts.map +1 -0
  6. package/build/__fixtures__/Button/Button.css.js.map +1 -0
  7. package/build/__fixtures__/Button/Button.styled.d.ts.map +1 -0
  8. package/build/__fixtures__/Button/Button.styled.js.map +1 -0
  9. package/build/__fixtures__/Button/index.d.ts.map +1 -0
  10. package/build/__fixtures__/Button/index.js.map +1 -0
  11. package/build/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts.map +1 -0
  12. package/build/__fixtures__/InlineThemedButton/InlineThemedButton.component.js.map +1 -0
  13. package/build/__fixtures__/InlineThemedButton/InlineThemedButton.css.d.ts.map +1 -0
  14. package/build/__fixtures__/InlineThemedButton/InlineThemedButton.css.js.map +1 -0
  15. package/build/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts.map +1 -0
  16. package/build/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js.map +1 -0
  17. package/build/__fixtures__/InlineThemedButton/index.d.ts.map +1 -0
  18. package/build/__fixtures__/InlineThemedButton/index.js.map +1 -0
  19. package/build/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts.map +1 -0
  20. package/build/__fixtures__/InlineVarButton/InlineVarButton.component.js.map +1 -0
  21. package/build/__fixtures__/InlineVarButton/InlineVarButton.css.d.ts.map +1 -0
  22. package/build/__fixtures__/InlineVarButton/InlineVarButton.css.js.map +1 -0
  23. package/build/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts.map +1 -0
  24. package/build/__fixtures__/InlineVarButton/InlineVarButton.styled.js.map +1 -0
  25. package/build/__fixtures__/InlineVarButton/index.d.ts.map +1 -0
  26. package/build/__fixtures__/InlineVarButton/index.js.map +1 -0
  27. package/build/__fixtures__/RecipeButton/RecipeButton.component.d.ts.map +1 -0
  28. package/build/__fixtures__/RecipeButton/RecipeButton.component.js.map +1 -0
  29. package/build/__fixtures__/RecipeButton/RecipeButton.css.d.ts.map +1 -0
  30. package/build/__fixtures__/RecipeButton/RecipeButton.css.js.map +1 -0
  31. package/build/__fixtures__/RecipeButton/RecipeButton.styled.d.ts.map +1 -0
  32. package/build/__fixtures__/RecipeButton/RecipeButton.styled.js.map +1 -0
  33. package/build/__fixtures__/RecipeButton/index.d.ts.map +1 -0
  34. package/build/__fixtures__/RecipeButton/index.js.map +1 -0
  35. package/build/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts.map +1 -0
  36. package/build/__fixtures__/ReuseCSS/ReuseCSS.component.js.map +1 -0
  37. package/build/__fixtures__/ReuseCSS/ReuseCSS.css.d.ts.map +1 -0
  38. package/build/__fixtures__/ReuseCSS/ReuseCSS.css.js.map +1 -0
  39. package/build/__fixtures__/ReuseCSS/index.d.ts.map +1 -0
  40. package/build/__fixtures__/ReuseCSS/index.js.map +1 -0
  41. package/build/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts.map +1 -0
  42. package/build/__fixtures__/ReuseStyled/ReuseStyled.component.js.map +1 -0
  43. package/build/__fixtures__/ReuseStyled/ReuseStyled.css.d.ts.map +1 -0
  44. package/build/__fixtures__/ReuseStyled/ReuseStyled.css.js.map +1 -0
  45. package/build/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts.map +1 -0
  46. package/build/__fixtures__/ReuseStyled/ReuseStyled.styled.js.map +1 -0
  47. package/build/__fixtures__/ReuseStyled/index.d.ts.map +1 -0
  48. package/build/__fixtures__/ReuseStyled/index.js.map +1 -0
  49. package/build/__fixtures__/ThemedButton/ThemedButton.component.d.ts.map +1 -0
  50. package/build/__fixtures__/ThemedButton/ThemedButton.component.js.map +1 -0
  51. package/build/__fixtures__/ThemedButton/ThemedButton.css.d.ts.map +1 -0
  52. package/build/__fixtures__/ThemedButton/ThemedButton.css.js.map +1 -0
  53. package/build/__fixtures__/ThemedButton/ThemedButton.styled.d.ts.map +1 -0
  54. package/build/__fixtures__/ThemedButton/ThemedButton.styled.js.map +1 -0
  55. package/build/__fixtures__/ThemedButton/index.d.ts.map +1 -0
  56. package/build/__fixtures__/ThemedButton/index.js.map +1 -0
  57. package/build/__fixtures__/VariantButton/VariantButton.component.d.ts.map +1 -0
  58. package/build/__fixtures__/VariantButton/VariantButton.component.js.map +1 -0
  59. package/build/__fixtures__/VariantButton/VariantButton.css.d.ts.map +1 -0
  60. package/build/__fixtures__/VariantButton/VariantButton.css.js.map +1 -0
  61. package/build/__fixtures__/VariantButton/VariantButton.styled.d.ts.map +1 -0
  62. package/build/__fixtures__/VariantButton/VariantButton.styled.js.map +1 -0
  63. package/build/__fixtures__/VariantButton/index.d.ts.map +1 -0
  64. package/build/__fixtures__/VariantButton/index.js.map +1 -0
  65. package/build/__fixtures__/index.d.ts.map +1 -0
  66. package/build/__fixtures__/index.js.map +1 -0
  67. package/build/__fixtures__/theme.css.d.ts.map +1 -0
  68. package/build/__fixtures__/theme.css.js.map +1 -0
  69. package/build/main.d.ts.map +1 -0
  70. package/build/main.js.map +1 -0
  71. package/build/styled/constants.d.ts.map +1 -0
  72. package/build/styled/constants.js.map +1 -0
  73. package/build/{cjs/styled → styled}/factory.d.ts.map +1 -1
  74. package/build/styled/factory.js.map +1 -0
  75. package/build/styled/index.d.ts.map +1 -0
  76. package/build/styled/index.js.map +1 -0
  77. package/build/styled/types.d.ts.map +1 -0
  78. package/build/{cjs → styled}/types.js.map +1 -1
  79. package/build/styled/utils.d.ts.map +1 -0
  80. package/build/styled/utils.js.map +1 -0
  81. package/build/testing.d.ts.map +1 -0
  82. package/build/testing.js.map +1 -0
  83. package/build/types.d.ts.map +1 -0
  84. package/build/types.js.map +1 -0
  85. package/package.json +8 -10
  86. package/build/cjs/ThemeContext.d.ts.map +0 -1
  87. package/build/cjs/ThemeContext.js +0 -12
  88. package/build/cjs/ThemeContext.js.map +0 -1
  89. package/build/cjs/__fixtures__/Button/Button.component.d.ts.map +0 -1
  90. package/build/cjs/__fixtures__/Button/Button.component.js +0 -41
  91. package/build/cjs/__fixtures__/Button/Button.component.js.map +0 -1
  92. package/build/cjs/__fixtures__/Button/Button.css.d.ts.map +0 -1
  93. package/build/cjs/__fixtures__/Button/Button.css.js +0 -10
  94. package/build/cjs/__fixtures__/Button/Button.css.js.map +0 -1
  95. package/build/cjs/__fixtures__/Button/Button.styled.d.ts +0 -2
  96. package/build/cjs/__fixtures__/Button/Button.styled.d.ts.map +0 -1
  97. package/build/cjs/__fixtures__/Button/Button.styled.js +0 -7
  98. package/build/cjs/__fixtures__/Button/Button.styled.js.map +0 -1
  99. package/build/cjs/__fixtures__/Button/index.d.ts +0 -7
  100. package/build/cjs/__fixtures__/Button/index.d.ts.map +0 -1
  101. package/build/cjs/__fixtures__/Button/index.js +0 -41
  102. package/build/cjs/__fixtures__/Button/index.js.map +0 -1
  103. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts +0 -6
  104. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts.map +0 -1
  105. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.js +0 -42
  106. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.js.map +0 -1
  107. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.css.d.ts.map +0 -1
  108. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.css.js +0 -43
  109. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.css.js.map +0 -1
  110. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts +0 -11
  111. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts.map +0 -1
  112. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js +0 -42
  113. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js.map +0 -1
  114. package/build/cjs/__fixtures__/InlineThemedButton/index.d.ts +0 -5
  115. package/build/cjs/__fixtures__/InlineThemedButton/index.d.ts.map +0 -1
  116. package/build/cjs/__fixtures__/InlineThemedButton/index.js +0 -40
  117. package/build/cjs/__fixtures__/InlineThemedButton/index.js.map +0 -1
  118. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts +0 -6
  119. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts.map +0 -1
  120. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.js +0 -41
  121. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.js.map +0 -1
  122. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.css.d.ts.map +0 -1
  123. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.css.js +0 -13
  124. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.css.js.map +0 -1
  125. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts +0 -4
  126. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts.map +0 -1
  127. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.js +0 -12
  128. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.js.map +0 -1
  129. package/build/cjs/__fixtures__/InlineVarButton/index.d.ts +0 -5
  130. package/build/cjs/__fixtures__/InlineVarButton/index.d.ts.map +0 -1
  131. package/build/cjs/__fixtures__/InlineVarButton/index.js +0 -40
  132. package/build/cjs/__fixtures__/InlineVarButton/index.js.map +0 -1
  133. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.d.ts +0 -7
  134. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.d.ts.map +0 -1
  135. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.js +0 -41
  136. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.js.map +0 -1
  137. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.css.d.ts.map +0 -1
  138. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.css.js +0 -24
  139. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.css.js.map +0 -1
  140. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.styled.d.ts +0 -7
  141. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.styled.d.ts.map +0 -1
  142. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.styled.js +0 -8
  143. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.styled.js.map +0 -1
  144. package/build/cjs/__fixtures__/RecipeButton/index.d.ts +0 -5
  145. package/build/cjs/__fixtures__/RecipeButton/index.d.ts.map +0 -1
  146. package/build/cjs/__fixtures__/RecipeButton/index.js +0 -40
  147. package/build/cjs/__fixtures__/RecipeButton/index.js.map +0 -1
  148. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts +0 -3
  149. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts.map +0 -1
  150. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.js +0 -8
  151. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.js.map +0 -1
  152. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.css.d.ts.map +0 -1
  153. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.css.js +0 -13
  154. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.css.js.map +0 -1
  155. package/build/cjs/__fixtures__/ReuseCSS/index.d.ts +0 -5
  156. package/build/cjs/__fixtures__/ReuseCSS/index.d.ts.map +0 -1
  157. package/build/cjs/__fixtures__/ReuseCSS/index.js +0 -40
  158. package/build/cjs/__fixtures__/ReuseCSS/index.js.map +0 -1
  159. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts +0 -3
  160. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts.map +0 -1
  161. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.js +0 -41
  162. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.js.map +0 -1
  163. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.css.d.ts.map +0 -1
  164. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.css.js +0 -9
  165. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.css.js.map +0 -1
  166. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts +0 -2
  167. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts.map +0 -1
  168. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.js +0 -8
  169. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.js.map +0 -1
  170. package/build/cjs/__fixtures__/ReuseStyled/index.d.ts +0 -5
  171. package/build/cjs/__fixtures__/ReuseStyled/index.d.ts.map +0 -1
  172. package/build/cjs/__fixtures__/ReuseStyled/index.js +0 -40
  173. package/build/cjs/__fixtures__/ReuseStyled/index.js.map +0 -1
  174. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.d.ts +0 -3
  175. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.d.ts.map +0 -1
  176. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.js +0 -41
  177. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.js.map +0 -1
  178. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.css.d.ts.map +0 -1
  179. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.css.js +0 -43
  180. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.css.js.map +0 -1
  181. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.d.ts +0 -2
  182. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.d.ts.map +0 -1
  183. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.js +0 -8
  184. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.js.map +0 -1
  185. package/build/cjs/__fixtures__/ThemedButton/index.d.ts +0 -5
  186. package/build/cjs/__fixtures__/ThemedButton/index.d.ts.map +0 -1
  187. package/build/cjs/__fixtures__/ThemedButton/index.js +0 -40
  188. package/build/cjs/__fixtures__/ThemedButton/index.js.map +0 -1
  189. package/build/cjs/__fixtures__/VariantButton/VariantButton.component.d.ts +0 -7
  190. package/build/cjs/__fixtures__/VariantButton/VariantButton.component.d.ts.map +0 -1
  191. package/build/cjs/__fixtures__/VariantButton/VariantButton.component.js +0 -41
  192. package/build/cjs/__fixtures__/VariantButton/VariantButton.component.js.map +0 -1
  193. package/build/cjs/__fixtures__/VariantButton/VariantButton.css.d.ts.map +0 -1
  194. package/build/cjs/__fixtures__/VariantButton/VariantButton.css.js +0 -9
  195. package/build/cjs/__fixtures__/VariantButton/VariantButton.css.js.map +0 -1
  196. package/build/cjs/__fixtures__/VariantButton/VariantButton.styled.d.ts +0 -4
  197. package/build/cjs/__fixtures__/VariantButton/VariantButton.styled.d.ts.map +0 -1
  198. package/build/cjs/__fixtures__/VariantButton/VariantButton.styled.js +0 -8
  199. package/build/cjs/__fixtures__/VariantButton/VariantButton.styled.js.map +0 -1
  200. package/build/cjs/__fixtures__/VariantButton/index.d.ts +0 -5
  201. package/build/cjs/__fixtures__/VariantButton/index.d.ts.map +0 -1
  202. package/build/cjs/__fixtures__/VariantButton/index.js +0 -40
  203. package/build/cjs/__fixtures__/VariantButton/index.js.map +0 -1
  204. package/build/cjs/__fixtures__/index.d.ts +0 -10
  205. package/build/cjs/__fixtures__/index.d.ts.map +0 -1
  206. package/build/cjs/__fixtures__/index.js +0 -49
  207. package/build/cjs/__fixtures__/index.js.map +0 -1
  208. package/build/cjs/__fixtures__/theme.css.d.ts.map +0 -1
  209. package/build/cjs/__fixtures__/theme.css.js +0 -23
  210. package/build/cjs/__fixtures__/theme.css.js.map +0 -1
  211. package/build/cjs/main.d.ts +0 -10
  212. package/build/cjs/main.d.ts.map +0 -1
  213. package/build/cjs/main.js +0 -28
  214. package/build/cjs/main.js.map +0 -1
  215. package/build/cjs/package.json +0 -1
  216. package/build/cjs/styled/constants.d.ts.map +0 -1
  217. package/build/cjs/styled/constants.js +0 -5
  218. package/build/cjs/styled/constants.js.map +0 -1
  219. package/build/cjs/styled/factory.d.ts +0 -182
  220. package/build/cjs/styled/factory.js +0 -26
  221. package/build/cjs/styled/factory.js.map +0 -1
  222. package/build/cjs/styled/index.d.ts +0 -5
  223. package/build/cjs/styled/index.d.ts.map +0 -1
  224. package/build/cjs/styled/index.js +0 -21
  225. package/build/cjs/styled/index.js.map +0 -1
  226. package/build/cjs/styled/types.d.ts +0 -46
  227. package/build/cjs/styled/types.d.ts.map +0 -1
  228. package/build/cjs/styled/types.js +0 -3
  229. package/build/cjs/styled/types.js.map +0 -1
  230. package/build/cjs/styled/utils.d.ts +0 -9
  231. package/build/cjs/styled/utils.d.ts.map +0 -1
  232. package/build/cjs/styled/utils.js +0 -37
  233. package/build/cjs/styled/utils.js.map +0 -1
  234. package/build/cjs/testing.d.ts.map +0 -1
  235. package/build/cjs/testing.js +0 -18
  236. package/build/cjs/testing.js.map +0 -1
  237. package/build/cjs/types.d.ts.map +0 -1
  238. package/build/cjs/types.js +0 -3
  239. package/build/esm/ThemeContext.d.ts +0 -8
  240. package/build/esm/ThemeContext.d.ts.map +0 -1
  241. package/build/esm/ThemeContext.js.map +0 -1
  242. package/build/esm/__fixtures__/Button/Button.component.d.ts +0 -5
  243. package/build/esm/__fixtures__/Button/Button.component.d.ts.map +0 -1
  244. package/build/esm/__fixtures__/Button/Button.component.js.map +0 -1
  245. package/build/esm/__fixtures__/Button/Button.css.d.ts +0 -2
  246. package/build/esm/__fixtures__/Button/Button.css.d.ts.map +0 -1
  247. package/build/esm/__fixtures__/Button/Button.css.js.map +0 -1
  248. package/build/esm/__fixtures__/Button/Button.styled.d.ts.map +0 -1
  249. package/build/esm/__fixtures__/Button/Button.styled.js.map +0 -1
  250. package/build/esm/__fixtures__/Button/index.d.ts.map +0 -1
  251. package/build/esm/__fixtures__/Button/index.js.map +0 -1
  252. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts.map +0 -1
  253. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.js.map +0 -1
  254. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.css.d.ts +0 -2
  255. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.css.d.ts.map +0 -1
  256. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.css.js.map +0 -1
  257. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts.map +0 -1
  258. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js.map +0 -1
  259. package/build/esm/__fixtures__/InlineThemedButton/index.d.ts.map +0 -1
  260. package/build/esm/__fixtures__/InlineThemedButton/index.js.map +0 -1
  261. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts.map +0 -1
  262. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.js.map +0 -1
  263. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.css.d.ts +0 -3
  264. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.css.d.ts.map +0 -1
  265. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.css.js.map +0 -1
  266. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts.map +0 -1
  267. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.js.map +0 -1
  268. package/build/esm/__fixtures__/InlineVarButton/index.d.ts.map +0 -1
  269. package/build/esm/__fixtures__/InlineVarButton/index.js.map +0 -1
  270. package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.d.ts.map +0 -1
  271. package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.js.map +0 -1
  272. package/build/esm/__fixtures__/RecipeButton/RecipeButton.css.d.ts +0 -22
  273. package/build/esm/__fixtures__/RecipeButton/RecipeButton.css.d.ts.map +0 -1
  274. package/build/esm/__fixtures__/RecipeButton/RecipeButton.css.js.map +0 -1
  275. package/build/esm/__fixtures__/RecipeButton/RecipeButton.styled.d.ts.map +0 -1
  276. package/build/esm/__fixtures__/RecipeButton/RecipeButton.styled.js.map +0 -1
  277. package/build/esm/__fixtures__/RecipeButton/index.d.ts.map +0 -1
  278. package/build/esm/__fixtures__/RecipeButton/index.js.map +0 -1
  279. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts.map +0 -1
  280. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.js.map +0 -1
  281. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.css.d.ts +0 -2
  282. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.css.d.ts.map +0 -1
  283. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.css.js.map +0 -1
  284. package/build/esm/__fixtures__/ReuseCSS/index.d.ts.map +0 -1
  285. package/build/esm/__fixtures__/ReuseCSS/index.js.map +0 -1
  286. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts.map +0 -1
  287. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.js.map +0 -1
  288. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.css.d.ts +0 -2
  289. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.css.d.ts.map +0 -1
  290. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.css.js.map +0 -1
  291. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts.map +0 -1
  292. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.js.map +0 -1
  293. package/build/esm/__fixtures__/ReuseStyled/index.d.ts.map +0 -1
  294. package/build/esm/__fixtures__/ReuseStyled/index.js.map +0 -1
  295. package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.d.ts.map +0 -1
  296. package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.js.map +0 -1
  297. package/build/esm/__fixtures__/ThemedButton/ThemedButton.css.d.ts +0 -2
  298. package/build/esm/__fixtures__/ThemedButton/ThemedButton.css.d.ts.map +0 -1
  299. package/build/esm/__fixtures__/ThemedButton/ThemedButton.css.js.map +0 -1
  300. package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.d.ts.map +0 -1
  301. package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.js.map +0 -1
  302. package/build/esm/__fixtures__/ThemedButton/index.d.ts.map +0 -1
  303. package/build/esm/__fixtures__/ThemedButton/index.js.map +0 -1
  304. package/build/esm/__fixtures__/VariantButton/VariantButton.component.d.ts.map +0 -1
  305. package/build/esm/__fixtures__/VariantButton/VariantButton.component.js.map +0 -1
  306. package/build/esm/__fixtures__/VariantButton/VariantButton.css.d.ts +0 -2
  307. package/build/esm/__fixtures__/VariantButton/VariantButton.css.d.ts.map +0 -1
  308. package/build/esm/__fixtures__/VariantButton/VariantButton.css.js.map +0 -1
  309. package/build/esm/__fixtures__/VariantButton/VariantButton.styled.d.ts.map +0 -1
  310. package/build/esm/__fixtures__/VariantButton/VariantButton.styled.js.map +0 -1
  311. package/build/esm/__fixtures__/VariantButton/index.d.ts.map +0 -1
  312. package/build/esm/__fixtures__/VariantButton/index.js.map +0 -1
  313. package/build/esm/__fixtures__/index.d.ts.map +0 -1
  314. package/build/esm/__fixtures__/index.js.map +0 -1
  315. package/build/esm/__fixtures__/theme.css.d.ts +0 -17
  316. package/build/esm/__fixtures__/theme.css.d.ts.map +0 -1
  317. package/build/esm/__fixtures__/theme.css.js.map +0 -1
  318. package/build/esm/main.d.ts.map +0 -1
  319. package/build/esm/main.js.map +0 -1
  320. package/build/esm/package.json +0 -1
  321. package/build/esm/styled/constants.d.ts +0 -2
  322. package/build/esm/styled/constants.d.ts.map +0 -1
  323. package/build/esm/styled/constants.js.map +0 -1
  324. package/build/esm/styled/factory.d.ts.map +0 -1
  325. package/build/esm/styled/factory.js.map +0 -1
  326. package/build/esm/styled/index.d.ts.map +0 -1
  327. package/build/esm/styled/index.js.map +0 -1
  328. package/build/esm/styled/types.d.ts.map +0 -1
  329. package/build/esm/styled/types.js.map +0 -1
  330. package/build/esm/styled/utils.d.ts.map +0 -1
  331. package/build/esm/styled/utils.js.map +0 -1
  332. package/build/esm/testing.d.ts +0 -6
  333. package/build/esm/testing.d.ts.map +0 -1
  334. package/build/esm/testing.js.map +0 -1
  335. package/build/esm/types.d.ts +0 -6
  336. package/build/esm/types.d.ts.map +0 -1
  337. package/build/esm/types.js.map +0 -1
  338. /package/build/{cjs/ThemeContext.d.ts → ThemeContext.d.ts} +0 -0
  339. /package/build/{esm/ThemeContext.js → ThemeContext.js} +0 -0
  340. /package/build/{cjs/__fixtures__ → __fixtures__}/Button/Button.component.d.ts +0 -0
  341. /package/build/{esm/__fixtures__ → __fixtures__}/Button/Button.component.js +0 -0
  342. /package/build/{cjs/__fixtures__ → __fixtures__}/Button/Button.css.d.ts +0 -0
  343. /package/build/{esm/__fixtures__ → __fixtures__}/Button/Button.css.js +0 -0
  344. /package/build/{esm/__fixtures__ → __fixtures__}/Button/Button.styled.d.ts +0 -0
  345. /package/build/{esm/__fixtures__ → __fixtures__}/Button/Button.styled.js +0 -0
  346. /package/build/{esm/__fixtures__ → __fixtures__}/Button/index.d.ts +0 -0
  347. /package/build/{esm/__fixtures__ → __fixtures__}/Button/index.js +0 -0
  348. /package/build/{esm/__fixtures__ → __fixtures__}/InlineThemedButton/InlineThemedButton.component.d.ts +0 -0
  349. /package/build/{esm/__fixtures__ → __fixtures__}/InlineThemedButton/InlineThemedButton.component.js +0 -0
  350. /package/build/{cjs/__fixtures__ → __fixtures__}/InlineThemedButton/InlineThemedButton.css.d.ts +0 -0
  351. /package/build/{esm/__fixtures__ → __fixtures__}/InlineThemedButton/InlineThemedButton.css.js +0 -0
  352. /package/build/{esm/__fixtures__ → __fixtures__}/InlineThemedButton/InlineThemedButton.styled.d.ts +0 -0
  353. /package/build/{esm/__fixtures__ → __fixtures__}/InlineThemedButton/InlineThemedButton.styled.js +0 -0
  354. /package/build/{esm/__fixtures__ → __fixtures__}/InlineThemedButton/index.d.ts +0 -0
  355. /package/build/{esm/__fixtures__ → __fixtures__}/InlineThemedButton/index.js +0 -0
  356. /package/build/{esm/__fixtures__ → __fixtures__}/InlineVarButton/InlineVarButton.component.d.ts +0 -0
  357. /package/build/{esm/__fixtures__ → __fixtures__}/InlineVarButton/InlineVarButton.component.js +0 -0
  358. /package/build/{cjs/__fixtures__ → __fixtures__}/InlineVarButton/InlineVarButton.css.d.ts +0 -0
  359. /package/build/{esm/__fixtures__ → __fixtures__}/InlineVarButton/InlineVarButton.css.js +0 -0
  360. /package/build/{esm/__fixtures__ → __fixtures__}/InlineVarButton/InlineVarButton.styled.d.ts +0 -0
  361. /package/build/{esm/__fixtures__ → __fixtures__}/InlineVarButton/InlineVarButton.styled.js +0 -0
  362. /package/build/{esm/__fixtures__ → __fixtures__}/InlineVarButton/index.d.ts +0 -0
  363. /package/build/{esm/__fixtures__ → __fixtures__}/InlineVarButton/index.js +0 -0
  364. /package/build/{esm/__fixtures__ → __fixtures__}/RecipeButton/RecipeButton.component.d.ts +0 -0
  365. /package/build/{esm/__fixtures__ → __fixtures__}/RecipeButton/RecipeButton.component.js +0 -0
  366. /package/build/{cjs/__fixtures__ → __fixtures__}/RecipeButton/RecipeButton.css.d.ts +0 -0
  367. /package/build/{esm/__fixtures__ → __fixtures__}/RecipeButton/RecipeButton.css.js +0 -0
  368. /package/build/{esm/__fixtures__ → __fixtures__}/RecipeButton/RecipeButton.styled.d.ts +0 -0
  369. /package/build/{esm/__fixtures__ → __fixtures__}/RecipeButton/RecipeButton.styled.js +0 -0
  370. /package/build/{esm/__fixtures__ → __fixtures__}/RecipeButton/index.d.ts +0 -0
  371. /package/build/{esm/__fixtures__ → __fixtures__}/RecipeButton/index.js +0 -0
  372. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseCSS/ReuseCSS.component.d.ts +0 -0
  373. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseCSS/ReuseCSS.component.js +0 -0
  374. /package/build/{cjs/__fixtures__ → __fixtures__}/ReuseCSS/ReuseCSS.css.d.ts +0 -0
  375. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseCSS/ReuseCSS.css.js +0 -0
  376. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseCSS/index.d.ts +0 -0
  377. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseCSS/index.js +0 -0
  378. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseStyled/ReuseStyled.component.d.ts +0 -0
  379. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseStyled/ReuseStyled.component.js +0 -0
  380. /package/build/{cjs/__fixtures__ → __fixtures__}/ReuseStyled/ReuseStyled.css.d.ts +0 -0
  381. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseStyled/ReuseStyled.css.js +0 -0
  382. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseStyled/ReuseStyled.styled.d.ts +0 -0
  383. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseStyled/ReuseStyled.styled.js +0 -0
  384. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseStyled/index.d.ts +0 -0
  385. /package/build/{esm/__fixtures__ → __fixtures__}/ReuseStyled/index.js +0 -0
  386. /package/build/{esm/__fixtures__ → __fixtures__}/ThemedButton/ThemedButton.component.d.ts +0 -0
  387. /package/build/{esm/__fixtures__ → __fixtures__}/ThemedButton/ThemedButton.component.js +0 -0
  388. /package/build/{cjs/__fixtures__ → __fixtures__}/ThemedButton/ThemedButton.css.d.ts +0 -0
  389. /package/build/{esm/__fixtures__ → __fixtures__}/ThemedButton/ThemedButton.css.js +0 -0
  390. /package/build/{esm/__fixtures__ → __fixtures__}/ThemedButton/ThemedButton.styled.d.ts +0 -0
  391. /package/build/{esm/__fixtures__ → __fixtures__}/ThemedButton/ThemedButton.styled.js +0 -0
  392. /package/build/{esm/__fixtures__ → __fixtures__}/ThemedButton/index.d.ts +0 -0
  393. /package/build/{esm/__fixtures__ → __fixtures__}/ThemedButton/index.js +0 -0
  394. /package/build/{esm/__fixtures__ → __fixtures__}/VariantButton/VariantButton.component.d.ts +0 -0
  395. /package/build/{esm/__fixtures__ → __fixtures__}/VariantButton/VariantButton.component.js +0 -0
  396. /package/build/{cjs/__fixtures__ → __fixtures__}/VariantButton/VariantButton.css.d.ts +0 -0
  397. /package/build/{esm/__fixtures__ → __fixtures__}/VariantButton/VariantButton.css.js +0 -0
  398. /package/build/{esm/__fixtures__ → __fixtures__}/VariantButton/VariantButton.styled.d.ts +0 -0
  399. /package/build/{esm/__fixtures__ → __fixtures__}/VariantButton/VariantButton.styled.js +0 -0
  400. /package/build/{esm/__fixtures__ → __fixtures__}/VariantButton/index.d.ts +0 -0
  401. /package/build/{esm/__fixtures__ → __fixtures__}/VariantButton/index.js +0 -0
  402. /package/build/{esm/__fixtures__ → __fixtures__}/index.d.ts +0 -0
  403. /package/build/{esm/__fixtures__ → __fixtures__}/index.js +0 -0
  404. /package/build/{cjs/__fixtures__ → __fixtures__}/theme.css.d.ts +0 -0
  405. /package/build/{esm/__fixtures__ → __fixtures__}/theme.css.js +0 -0
  406. /package/build/{esm/main.d.ts → main.d.ts} +0 -0
  407. /package/build/{esm/main.js → main.js} +0 -0
  408. /package/build/{cjs/styled → styled}/constants.d.ts +0 -0
  409. /package/build/{esm/styled → styled}/constants.js +0 -0
  410. /package/build/{esm/styled → styled}/factory.d.ts +0 -0
  411. /package/build/{esm/styled → styled}/factory.js +0 -0
  412. /package/build/{esm/styled → styled}/index.d.ts +0 -0
  413. /package/build/{esm/styled → styled}/index.js +0 -0
  414. /package/build/{esm/styled → styled}/types.d.ts +0 -0
  415. /package/build/{esm/styled → styled}/types.js +0 -0
  416. /package/build/{esm/styled → styled}/utils.d.ts +0 -0
  417. /package/build/{esm/styled → styled}/utils.js +0 -0
  418. /package/build/{cjs/testing.d.ts → testing.d.ts} +0 -0
  419. /package/build/{esm/testing.js → testing.js} +0 -0
  420. /package/build/{cjs/types.d.ts → types.d.ts} +0 -0
  421. /package/build/{esm/types.js → types.js} +0 -0
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var _a;
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.dark = exports.vars = exports.light = exports.spacing = void 0;
5
- const main_1 = require("../main");
6
- exports.spacing = {
7
- sm: '2px',
8
- md: '4px',
9
- lg: '8px',
10
- };
11
- _a = (0, main_1.createTheme)({
12
- color: {
13
- brand: 'red',
14
- },
15
- spacing: exports.spacing,
16
- }), exports.light = _a[0], exports.vars = _a[1];
17
- exports.dark = (0, main_1.createTheme)(exports.vars, {
18
- color: {
19
- brand: 'blue',
20
- },
21
- spacing: exports.spacing,
22
- });
23
- //# sourceMappingURL=theme.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.css.js","sourceRoot":"","sources":["../../../src/__fixtures__/theme.css.ts"],"names":[],"mappings":";;;;AAAA,iCAAqC;AAExB,QAAA,OAAO,GAAG;IACrB,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;CACV,CAAC;AAEW,KAAgB,IAAA,kBAAW,EAAC;IACvC,KAAK,EAAE;QACL,KAAK,EAAE,KAAK;KACb;IACD,OAAO,EAAP,eAAO;CACR,CAAC,EALY,aAAK,UAAE,YAAI,SAKtB;AAEU,QAAA,IAAI,GAAG,IAAA,kBAAW,EAAC,YAAI,EAAE;IACpC,KAAK,EAAE;QACL,KAAK,EAAE,MAAM;KACd;IACD,OAAO,EAAP,eAAO;CACR,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- export * from './styled';
2
- export * from './testing';
3
- export * from './ThemeContext';
4
- export * from './types';
5
- export * from '@vanilla-extract/css';
6
- export * from '@vanilla-extract/dynamic';
7
- export type { RuntimeFn } from '@vanilla-extract/recipes';
8
- export { recipe } from '@vanilla-extract/recipes';
9
- export { clsx } from 'clsx';
10
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC"}
package/build/cjs/main.js DELETED
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.clsx = exports.recipe = void 0;
18
- __exportStar(require("./styled"), exports);
19
- __exportStar(require("./testing"), exports);
20
- __exportStar(require("./ThemeContext"), exports);
21
- __exportStar(require("./types"), exports);
22
- __exportStar(require("@vanilla-extract/css"), exports);
23
- __exportStar(require("@vanilla-extract/dynamic"), exports);
24
- var recipes_1 = require("@vanilla-extract/recipes");
25
- Object.defineProperty(exports, "recipe", { enumerable: true, get: function () { return recipes_1.recipe; } });
26
- var clsx_1 = require("clsx");
27
- Object.defineProperty(exports, "clsx", { enumerable: true, get: function () { return clsx_1.clsx; } });
28
- //# sourceMappingURL=main.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B;AAC1B,iDAA+B;AAC/B,0CAAwB;AACxB,uDAAqC;AACrC,2DAAyC;AAEzC,oDAAkD;AAAzC,iGAAA,MAAM,OAAA;AACf,6BAA4B;AAAnB,4FAAA,IAAI,OAAA"}
@@ -1 +0,0 @@
1
- { "type": "commonjs" }
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/styled/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,eAAyB,CAAC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.STYLED_CLASS = void 0;
4
- exports.STYLED_CLASS = Symbol('styled_class');
5
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/styled/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC"}
@@ -1,182 +0,0 @@
1
- import type { StyledFactory } from './types';
2
- export declare const styled: {
3
- a: StyledFactory<"a">;
4
- abbr: StyledFactory<"abbr">;
5
- address: StyledFactory<"address">;
6
- area: StyledFactory<"area">;
7
- article: StyledFactory<"article">;
8
- aside: StyledFactory<"aside">;
9
- audio: StyledFactory<"audio">;
10
- b: StyledFactory<"b">;
11
- base: StyledFactory<"base">;
12
- bdi: StyledFactory<"bdi">;
13
- bdo: StyledFactory<"bdo">;
14
- big: StyledFactory<"big">;
15
- blockquote: StyledFactory<"blockquote">;
16
- body: StyledFactory<"body">;
17
- br: StyledFactory<"br">;
18
- button: StyledFactory<"button">;
19
- canvas: StyledFactory<"canvas">;
20
- caption: StyledFactory<"caption">;
21
- center: StyledFactory<"center">;
22
- cite: StyledFactory<"cite">;
23
- code: StyledFactory<"code">;
24
- col: StyledFactory<"col">;
25
- colgroup: StyledFactory<"colgroup">;
26
- data: StyledFactory<"data">;
27
- datalist: StyledFactory<"datalist">;
28
- dd: StyledFactory<"dd">;
29
- del: StyledFactory<"del">;
30
- details: StyledFactory<"details">;
31
- dfn: StyledFactory<"dfn">;
32
- dialog: StyledFactory<"dialog">;
33
- div: StyledFactory<"div">;
34
- dl: StyledFactory<"dl">;
35
- dt: StyledFactory<"dt">;
36
- em: StyledFactory<"em">;
37
- embed: StyledFactory<"embed">;
38
- fieldset: StyledFactory<"fieldset">;
39
- figcaption: StyledFactory<"figcaption">;
40
- figure: StyledFactory<"figure">;
41
- footer: StyledFactory<"footer">;
42
- form: StyledFactory<"form">;
43
- h1: StyledFactory<"h1">;
44
- h2: StyledFactory<"h2">;
45
- h3: StyledFactory<"h3">;
46
- h4: StyledFactory<"h4">;
47
- h5: StyledFactory<"h5">;
48
- h6: StyledFactory<"h6">;
49
- head: StyledFactory<"head">;
50
- header: StyledFactory<"header">;
51
- hgroup: StyledFactory<"hgroup">;
52
- hr: StyledFactory<"hr">;
53
- html: StyledFactory<"html">;
54
- i: StyledFactory<"i">;
55
- iframe: StyledFactory<"iframe">;
56
- img: StyledFactory<"img">;
57
- input: StyledFactory<"input">;
58
- ins: StyledFactory<"ins">;
59
- kbd: StyledFactory<"kbd">;
60
- keygen: StyledFactory<"keygen">;
61
- label: StyledFactory<"label">;
62
- legend: StyledFactory<"legend">;
63
- li: StyledFactory<"li">;
64
- link: StyledFactory<"link">;
65
- main: StyledFactory<"main">;
66
- map: StyledFactory<"map">;
67
- mark: StyledFactory<"mark">;
68
- menu: StyledFactory<"menu">;
69
- menuitem: StyledFactory<"menuitem">;
70
- meta: StyledFactory<"meta">;
71
- meter: StyledFactory<"meter">;
72
- nav: StyledFactory<"nav">;
73
- noindex: StyledFactory<"noindex">;
74
- noscript: StyledFactory<"noscript">;
75
- object: StyledFactory<"object">;
76
- ol: StyledFactory<"ol">;
77
- optgroup: StyledFactory<"optgroup">;
78
- option: StyledFactory<"option">;
79
- output: StyledFactory<"output">;
80
- p: StyledFactory<"p">;
81
- param: StyledFactory<"param">;
82
- picture: StyledFactory<"picture">;
83
- pre: StyledFactory<"pre">;
84
- progress: StyledFactory<"progress">;
85
- q: StyledFactory<"q">;
86
- rp: StyledFactory<"rp">;
87
- rt: StyledFactory<"rt">;
88
- ruby: StyledFactory<"ruby">;
89
- s: StyledFactory<"s">;
90
- samp: StyledFactory<"samp">;
91
- search: StyledFactory<"search">;
92
- slot: StyledFactory<"slot">;
93
- script: StyledFactory<"script">;
94
- section: StyledFactory<"section">;
95
- select: StyledFactory<"select">;
96
- small: StyledFactory<"small">;
97
- source: StyledFactory<"source">;
98
- span: StyledFactory<"span">;
99
- strong: StyledFactory<"strong">;
100
- style: StyledFactory<"style">;
101
- sub: StyledFactory<"sub">;
102
- summary: StyledFactory<"summary">;
103
- sup: StyledFactory<"sup">;
104
- table: StyledFactory<"table">;
105
- template: StyledFactory<"template">;
106
- tbody: StyledFactory<"tbody">;
107
- td: StyledFactory<"td">;
108
- textarea: StyledFactory<"textarea">;
109
- tfoot: StyledFactory<"tfoot">;
110
- th: StyledFactory<"th">;
111
- thead: StyledFactory<"thead">;
112
- time: StyledFactory<"time">;
113
- title: StyledFactory<"title">;
114
- tr: StyledFactory<"tr">;
115
- track: StyledFactory<"track">;
116
- u: StyledFactory<"u">;
117
- ul: StyledFactory<"ul">;
118
- var: StyledFactory<"var">;
119
- video: StyledFactory<"video">;
120
- wbr: StyledFactory<"wbr">;
121
- webview: StyledFactory<"webview">;
122
- svg: StyledFactory<"svg">;
123
- animate: StyledFactory<"animate">;
124
- animateMotion: StyledFactory<"animateMotion">;
125
- animateTransform: StyledFactory<"animateTransform">;
126
- circle: StyledFactory<"circle">;
127
- clipPath: StyledFactory<"clipPath">;
128
- defs: StyledFactory<"defs">;
129
- desc: StyledFactory<"desc">;
130
- ellipse: StyledFactory<"ellipse">;
131
- feBlend: StyledFactory<"feBlend">;
132
- feColorMatrix: StyledFactory<"feColorMatrix">;
133
- feComponentTransfer: StyledFactory<"feComponentTransfer">;
134
- feComposite: StyledFactory<"feComposite">;
135
- feConvolveMatrix: StyledFactory<"feConvolveMatrix">;
136
- feDiffuseLighting: StyledFactory<"feDiffuseLighting">;
137
- feDisplacementMap: StyledFactory<"feDisplacementMap">;
138
- feDistantLight: StyledFactory<"feDistantLight">;
139
- feDropShadow: StyledFactory<"feDropShadow">;
140
- feFlood: StyledFactory<"feFlood">;
141
- feFuncA: StyledFactory<"feFuncA">;
142
- feFuncB: StyledFactory<"feFuncB">;
143
- feFuncG: StyledFactory<"feFuncG">;
144
- feFuncR: StyledFactory<"feFuncR">;
145
- feGaussianBlur: StyledFactory<"feGaussianBlur">;
146
- feImage: StyledFactory<"feImage">;
147
- feMerge: StyledFactory<"feMerge">;
148
- feMergeNode: StyledFactory<"feMergeNode">;
149
- feMorphology: StyledFactory<"feMorphology">;
150
- feOffset: StyledFactory<"feOffset">;
151
- fePointLight: StyledFactory<"fePointLight">;
152
- feSpecularLighting: StyledFactory<"feSpecularLighting">;
153
- feSpotLight: StyledFactory<"feSpotLight">;
154
- feTile: StyledFactory<"feTile">;
155
- feTurbulence: StyledFactory<"feTurbulence">;
156
- filter: StyledFactory<"filter">;
157
- foreignObject: StyledFactory<"foreignObject">;
158
- g: StyledFactory<"g">;
159
- image: StyledFactory<"image">;
160
- line: StyledFactory<"line">;
161
- linearGradient: StyledFactory<"linearGradient">;
162
- marker: StyledFactory<"marker">;
163
- mask: StyledFactory<"mask">;
164
- metadata: StyledFactory<"metadata">;
165
- mpath: StyledFactory<"mpath">;
166
- path: StyledFactory<"path">;
167
- pattern: StyledFactory<"pattern">;
168
- polygon: StyledFactory<"polygon">;
169
- polyline: StyledFactory<"polyline">;
170
- radialGradient: StyledFactory<"radialGradient">;
171
- rect: StyledFactory<"rect">;
172
- set: StyledFactory<"set">;
173
- stop: StyledFactory<"stop">;
174
- switch: StyledFactory<"switch">;
175
- symbol: StyledFactory<"symbol">;
176
- text: StyledFactory<"text">;
177
- textPath: StyledFactory<"textPath">;
178
- tspan: StyledFactory<"tspan">;
179
- use: StyledFactory<"use">;
180
- view: StyledFactory<"view">;
181
- };
182
- //# sourceMappingURL=factory.d.ts.map
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.styled = void 0;
4
- const clsx_1 = require("clsx");
5
- const react_1 = require("react");
6
- const ThemeContext_1 = require("../ThemeContext");
7
- const constants_1 = require("./constants");
8
- const utils_1 = require("./utils");
9
- exports.styled = new Proxy({}, {
10
- get: (_target, tag) => (firstArg, secondArg, thirdArg) => {
11
- const staticClass = (0, utils_1.getStaticClass)(firstArg, secondArg);
12
- const dynamicOptions = (0, utils_1.getDynamicOptions)(secondArg, thirdArg);
13
- const StyledComponent = (props) => {
14
- const themeClass = (0, ThemeContext_1.useTheme)();
15
- const dynamicClass = (0, utils_1.useDynamicClass)(firstArg, props);
16
- const inlineStyle = (0, utils_1.useInlineStyle)(props, dynamicOptions);
17
- return (0, react_1.createElement)(tag, {
18
- ...props,
19
- className: (0, clsx_1.clsx)(themeClass, staticClass, dynamicClass, props.className),
20
- style: { ...inlineStyle, ...props.style },
21
- });
22
- };
23
- return Object.assign(StyledComponent, { [constants_1.STYLED_CLASS]: staticClass });
24
- },
25
- });
26
- //# sourceMappingURL=factory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../src/styled/factory.tsx"],"names":[],"mappings":";;;AAAA,+BAA4B;AAC5B,iCAAsC;AAEtC,kDAA2C;AAC3C,2CAA2C;AAS3C,mCAA6F;AAEhF,QAAA,MAAM,GAAG,IAAI,KAAK,CAE5B,EAAS,EAAE;IACZ,GAAG,EACD,CAA0C,OAAgB,EAAE,GAAQ,EAAsB,EAAE,CAC5F,CAAC,QAA6B,EAAE,SAAgC,EAAE,QAAyB,EAAE,EAAE;QAC7F,MAAM,WAAW,GAAG,IAAA,sBAAc,EAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;QACxD,MAAM,cAAc,GAAG,IAAA,yBAAiB,EAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAE9D,MAAM,eAAe,GAAG,CAAC,KAA6E,EAAE,EAAE;YACxG,MAAM,UAAU,GAAG,IAAA,uBAAQ,GAAE,CAAC;YAC9B,MAAM,YAAY,GAAG,IAAA,uBAAe,EAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;YACtD,MAAM,WAAW,GAAG,IAAA,sBAAc,EAAC,KAAK,EAAE,cAAc,CAAC,CAAC;YAE1D,OAAO,IAAA,qBAAa,EAAC,GAAG,EAAE;gBACxB,GAAI,KAA6C;gBACjD,SAAS,EAAE,IAAA,WAAI,EAAC,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC;gBACvE,KAAK,EAAE,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC,KAAK,EAAE;aAC1C,CAAC,CAAC;QACL,CAAC,CAAC;QAEF,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,EAAE,CAAC,wBAAY,CAAC,EAAE,WAAW,EAAE,CAAyB,CAAC;IACjG,CAAC;CACJ,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- export * from './constants';
2
- export * from './factory';
3
- export * from './types';
4
- export * from './utils';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/styled/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./constants"), exports);
18
- __exportStar(require("./factory"), exports);
19
- __exportStar(require("./types"), exports);
20
- __exportStar(require("./utils"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styled/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,4CAA0B;AAC1B,0CAAwB;AACxB,0CAAwB"}
@@ -1,46 +0,0 @@
1
- import type { assignInlineVars } from '@vanilla-extract/dynamic';
2
- import type { RecipeVariants, RuntimeFn } from '@vanilla-extract/recipes';
3
- import type { STYLED_CLASS } from './constants';
4
- export type ThemeContract = Parameters<typeof assignInlineVars>[0];
5
- export interface DynamicOptions<Theme extends ThemeContract | null = ThemeContract, Variables extends Record<string, string> | null = Record<string, string>> {
6
- /**
7
- * the contract for a theme that can be overridden via a `theme` prop
8
- */
9
- theme?: Theme;
10
- /**
11
- * variables that can be overridden via a `vars` prop
12
- */
13
- vars?: Variables;
14
- }
15
- export type DynamicThemeProps<Theme> = Theme extends ThemeContract ? {
16
- /**
17
- * inline override for the theme used to style this component
18
- */
19
- theme?: Parameters<typeof assignInlineVars<Theme>>[1];
20
- } : object;
21
- export type DynamicVariablesProps<Variables> = Variables extends Record<string, string> ? {
22
- /**
23
- * inline override for variables used to styled this component
24
- */
25
- vars?: Partial<{
26
- [K in keyof Variables]: string;
27
- }>;
28
- } : object;
29
- export type StyledComponentProps<Tag extends keyof JSX.IntrinsicElements, Theme, Variables, Extras extends object = object> = React.ComponentPropsWithoutRef<Tag> & DynamicThemeProps<Theme> & DynamicVariablesProps<Variables> & Extras;
30
- export interface StyledComponent<Props = object> extends React.FunctionComponent<Props> {
31
- (props: Props, context?: any): React.ReactElement<any, any> | null;
32
- [STYLED_CLASS]: string | null;
33
- }
34
- export type StyleSource = StyledComponent | string;
35
- export interface StyledFactory<Tag extends keyof JSX.IntrinsicElements> {
36
- <Recipe extends RuntimeFn<Record<string, any>>, Theme extends ThemeContract | null = null, Variables extends Record<string, string> | null = null>(recipe: Recipe, sources?: StyleSource[], dynamic?: DynamicOptions<Theme, Variables>): StyledComponent<StyledComponentProps<Tag, Theme, Variables, {
37
- variants: RecipeVariants<Recipe>;
38
- }>>;
39
- <Variant extends string, Theme extends ThemeContract | null = null, Variables extends Record<string, string> | null = null>(variants: Record<Variant, string>, sources?: StyleSource[], dynamic?: DynamicOptions<Theme, Variables>): StyledComponent<StyledComponentProps<Tag, Theme, Variables, {
40
- variant: Variant;
41
- }>>;
42
- <Theme extends ThemeContract | null = null, Variables extends Record<string, string> | null = null>(sources: StyleSource[], dynamic?: DynamicOptions<Theme, Variables>): StyledComponent<StyledComponentProps<Tag, Theme, Variables>>;
43
- }
44
- export type FirstStyledArgument<Variants extends Record<string, any> = any> = RuntimeFn<Variants> | Record<string, string> | StyleSource[];
45
- export type SecondStyledArgument = StyleSource[] | DynamicOptions;
46
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/styled/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnE,MAAM,WAAW,cAAc,CAC7B,KAAK,SAAS,aAAa,GAAG,IAAI,GAAG,aAAa,EAClD,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAExE;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,MAAM,iBAAiB,CAAC,KAAK,IAAI,KAAK,SAAS,aAAa,GAC9D;IACE;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACvD,GACD,MAAM,CAAC;AAEX,MAAM,MAAM,qBAAqB,CAAC,SAAS,IACzC,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACpC;IACE;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;SAAG,CAAC,IAAI,MAAM,SAAS,GAAG,MAAM;KAAE,CAAC,CAAC;CACpD,GACD,MAAM,CAAC;AAEb,MAAM,MAAM,oBAAoB,CAC9B,GAAG,SAAS,MAAM,GAAG,CAAC,iBAAiB,EACvC,KAAK,EACL,SAAS,EACT,MAAM,SAAS,MAAM,GAAG,MAAM,IAC5B,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,qBAAqB,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;AAE/G,MAAM,WAAW,eAAe,CAAC,KAAK,GAAG,MAAM,CAAE,SAAQ,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC;IACrF,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,GAAG,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACnE,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,MAAM,WAAW,GAAG,eAAe,GAAG,MAAM,CAAC;AAEnD,MAAM,WAAW,aAAa,CAAC,GAAG,SAAS,MAAM,GAAG,CAAC,iBAAiB;IACpE,CACE,MAAM,SAAS,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,EAC7C,KAAK,SAAS,aAAa,GAAG,IAAI,GAAG,IAAI,EACzC,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,IAAI,EAEtD,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,WAAW,EAAE,EACvB,OAAO,CAAC,EAAE,cAAc,CAAC,KAAK,EAAE,SAAS,CAAC,GACzC,eAAe,CAAC,oBAAoB,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;QAAE,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC,CAAC,CAAC;IAEtG,CACE,OAAO,SAAS,MAAM,EACtB,KAAK,SAAS,aAAa,GAAG,IAAI,GAAG,IAAI,EACzC,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,IAAI,EAEtD,QAAQ,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EACjC,OAAO,CAAC,EAAE,WAAW,EAAE,EACvB,OAAO,CAAC,EAAE,cAAc,CAAC,KAAK,EAAE,SAAS,CAAC,GACzC,eAAe,CAAC,oBAAoB,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC,CAAC;IAEtF,CAAC,KAAK,SAAS,aAAa,GAAG,IAAI,GAAG,IAAI,EAAE,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,IAAI,EAChG,OAAO,EAAE,WAAW,EAAE,EACtB,OAAO,CAAC,EAAE,cAAc,CAAC,KAAK,EAAE,SAAS,CAAC,GACzC,eAAe,CAAC,oBAAoB,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;CACjE;AAED,MAAM,MAAM,mBAAmB,CAAC,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,IACtE,SAAS,CAAC,QAAQ,CAAC,GACnB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACtB,WAAW,EAAE,CAAC;AAElB,MAAM,MAAM,oBAAoB,GAAG,WAAW,EAAE,GAAG,cAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/styled/types.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- import type { DynamicOptions, FirstStyledArgument, SecondStyledArgument, StyledComponentProps, ThemeContract } from './types';
2
- export declare const getStaticClass: (firstArg: FirstStyledArgument, secondArg?: SecondStyledArgument) => string | null;
3
- export declare const getDynamicOptions: (secondArg?: SecondStyledArgument, thirdArg?: DynamicOptions) => DynamicOptions | null;
4
- export declare const useDynamicClass: (firstArg: FirstStyledArgument<any>, props: {
5
- variant?: string;
6
- variants?: Record<string, any>;
7
- }) => string | null | undefined;
8
- export declare const useInlineStyle: (props: StyledComponentProps<keyof JSX.IntrinsicElements, ThemeContract, Record<string, string>>, dynamicOptions: DynamicOptions | null) => {};
9
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/styled/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,cAAc,GAAI,UAAU,mBAAmB,EAAE,YAAY,oBAAoB,KAAG,MAAM,GAAG,IAMzG,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,YAAY,oBAAoB,EAAE,WAAW,cAAc,KAAG,cAAc,GAAG,IACtD,CAAC;AAE5D,eAAO,MAAM,eAAe,GAC1B,UAAU,mBAAmB,CAAC,GAAG,CAAC,EAClC,OAAO;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,8BAOd,CAAC;AAEhD,eAAO,MAAM,cAAc,GACzB,OAAO,oBAAoB,CAAC,MAAM,GAAG,CAAC,iBAAiB,EAAE,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAC/F,gBAAgB,cAAc,GAAG,IAAI,OAiBtC,CAAC"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useInlineStyle = exports.useDynamicClass = exports.getDynamicOptions = exports.getStaticClass = void 0;
4
- const dynamic_1 = require("@vanilla-extract/dynamic");
5
- const clsx_1 = require("clsx");
6
- const react_1 = require("react");
7
- const constants_1 = require("./constants");
8
- const getStaticClass = (firstArg, secondArg) => {
9
- const classNames = (Array.isArray(firstArg) ? firstArg : Array.isArray(secondArg) ? secondArg : []).map((source) => typeof source === 'string' ? source : source[constants_1.STYLED_CLASS]);
10
- return classNames.length ? (0, clsx_1.clsx)(classNames) : null;
11
- };
12
- exports.getStaticClass = getStaticClass;
13
- const getDynamicOptions = (secondArg, thirdArg) => (Array.isArray(secondArg) ? thirdArg : secondArg) ?? null;
14
- exports.getDynamicOptions = getDynamicOptions;
15
- const useDynamicClass = (firstArg, props) => (0, react_1.useMemo)(() => {
16
- if (typeof firstArg === 'function')
17
- return firstArg(props.variants);
18
- if (Array.isArray(firstArg) || !props.variant)
19
- return null;
20
- return firstArg[props.variant];
21
- }, [firstArg, props.variants, props.variant]);
22
- exports.useDynamicClass = useDynamicClass;
23
- const useInlineStyle = (props, dynamicOptions) => {
24
- const { theme, vars } = dynamicOptions ?? {};
25
- return (0, react_1.useMemo)(() => {
26
- const style = {};
27
- if (theme && props.theme) {
28
- Object.assign(style, (0, dynamic_1.assignInlineVars)(theme, props.theme));
29
- }
30
- if (vars && props.vars) {
31
- Object.assign(style, (0, dynamic_1.assignInlineVars)(props.vars));
32
- }
33
- return style;
34
- }, [props.theme, props.vars]);
35
- };
36
- exports.useInlineStyle = useInlineStyle;
37
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/styled/utils.ts"],"names":[],"mappings":";;;AAAA,sDAA4D;AAC5D,+BAA4B;AAC5B,iCAAgC;AAEhC,2CAA2C;AASpC,MAAM,cAAc,GAAG,CAAC,QAA6B,EAAE,SAAgC,EAAiB,EAAE;IAC/G,MAAM,UAAU,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CACjH,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,wBAAY,CAAC,CAC3D,CAAC;IAEF,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,IAAA,WAAI,EAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACrD,CAAC,CAAC;AANW,QAAA,cAAc,kBAMzB;AAEK,MAAM,iBAAiB,GAAG,CAAC,SAAgC,EAAE,QAAyB,EAAyB,EAAE,CACtH,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC;AAD/C,QAAA,iBAAiB,qBAC8B;AAErD,MAAM,eAAe,GAAG,CAC7B,QAAkC,EAClC,KAA2D,EAC3D,EAAE,CACF,IAAA,eAAO,EAAC,GAAG,EAAE;IACX,IAAI,OAAO,QAAQ,KAAK,UAAU;QAAE,OAAO,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACpE,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE3D,OAAO,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AACjC,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AATnC,QAAA,eAAe,mBASoB;AAEzC,MAAM,cAAc,GAAG,CAC5B,KAA+F,EAC/F,cAAqC,EACrC,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,cAAc,IAAI,EAAE,CAAC;IAE7C,OAAO,IAAA,eAAO,EAAC,GAAG,EAAE;QAClB,MAAM,KAAK,GAAG,EAAE,CAAC;QAEjB,IAAI,KAAK,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;YACzB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,IAAA,0BAAgB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,IAAI,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;YACvB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,IAAA,0BAAgB,EAAC,KAAK,CAAC,IAA8B,CAAC,CAAC,CAAC;QAC/E,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AAChC,CAAC,CAAC;AAnBW,QAAA,cAAc,kBAmBzB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../src/testing.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,GAAG,GAAI,OAAO,MAAM,GAAG,SAAS,EAAE,UAAU,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,EAAE,WAAW,MAAM,uBASjH,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- /**
3
- * the pattern for data-testid attributes is based off of BEM naming
4
- * https://getbem.com/naming/
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.tid = void 0;
8
- const tid = (block, elements, modifier) => {
9
- if (!block)
10
- return undefined;
11
- const elementList = typeof elements === 'string' ? [elements] : elements;
12
- const blockElement = [block, ...elementList].join('__');
13
- if (!modifier)
14
- return blockElement;
15
- return `${blockElement}--${modifier}`;
16
- };
17
- exports.tid = tid;
18
- //# sourceMappingURL=testing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"testing.js","sourceRoot":"","sources":["../../src/testing.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEI,MAAM,GAAG,GAAG,CAAC,KAAyB,EAAE,QAAgD,EAAE,QAAiB,EAAE,EAAE;IACpH,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAC;IAE7B,MAAM,WAAW,GAAG,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;IACzE,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAExD,IAAI,CAAC,QAAQ;QAAE,OAAO,YAAY,CAAC;IAEnC,OAAO,GAAG,YAAY,KAAK,QAAQ,EAAE,CAAC;AACxC,CAAC,CAAC;AATW,QAAA,GAAG,OASd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAAC,CAAC,CAAC;AAE1F,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,SAAS,CAAC,iBAAiB,CAAC,IAAI,OAAO,CAC/E,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,EAClC,SAAS,GAAG,IAAI,CACjB,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1,8 +0,0 @@
1
- export declare const ThemeContext: import("react").Context<string | null>;
2
- export declare const ThemeConsumer: import("react").Consumer<string | null>;
3
- export interface ThemeProviderProps extends React.PropsWithChildren {
4
- theme: string;
5
- }
6
- export declare const ThemeProvider: React.FC<ThemeProviderProps>;
7
- export declare const useTheme: () => string | null;
8
- //# sourceMappingURL=ThemeContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../src/ThemeContext.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,wCAAqC,CAAC;AAC/D,eAAO,MAAkB,aAAa,yCAAiB,CAAC;AAExD,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,iBAAiB;IACjE,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAC;AAEF,eAAO,MAAM,QAAQ,qBAAiC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../../src/ThemeContext.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAgB,IAAI,CAAC,CAAC;AAC/D,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,YAAY,CAAC;AAMxD,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAClF,KAAC,YAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YAAG,QAAQ,GAAyB,CACxE,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- export interface ButtonProps extends React.PropsWithChildren {
2
- onClick?: React.MouseEventHandler<HTMLButtonElement>;
3
- }
4
- export declare const Button: React.FC<ButtonProps>;
5
- //# sourceMappingURL=Button.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/Button/Button.component.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,iBAAiB;IAC1D,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAA4E,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/Button/Button.component.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AAMrC,MAAM,CAAC,MAAM,MAAM,GAA0B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,YAAG,QAAQ,GAAU,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const base: string;
2
- //# sourceMappingURL=Button.css.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/Button/Button.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,QAIf,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/Button/Button.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,CAAC;IACxB,OAAO,EAAE,EAAE;IACX,YAAY,EAAE,EAAE;IAChB,MAAM,EAAE,EAAE;CACX,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/Button/Button.styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,uGAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.styled.js","sourceRoot":"","sources":["../../../../src/__fixtures__/Button/Button.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/Button/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAE1C,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,eAAO,MAAM,MAAM;;CAAkD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAI1C,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineThemedButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAI7C,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC1D,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAIhE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineThemedButton.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.component.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,CAAC,MAAM,6BAA6B,CAAC;AAMjD,MAAM,CAAC,MAAM,kBAAkB,GAAsC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC1G,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,YACtF,QAAQ,GACF,CACV,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const themed: string;
2
- //# sourceMappingURL=InlineThemedButton.css.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineThemedButton.css.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM,QAGjB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineThemedButton.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,MAAM,CAAC,MAAM,MAAM,GAAG,KAAK,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK;IAC7B,YAAY,EAAE,CAAC;CAChB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineThemedButton.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.styled.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;iBAA8D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineThemedButton.styled.js","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineThemedButton/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,0BAA0B,CAAC;AAEhD,eAAO,MAAM,kBAAkB;;CAAsD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineThemedButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AACnG,OAAO,KAAK,GAAG,MAAM,0BAA0B,CAAC;AAEhD,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineVarButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineVarButton/InlineVarButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAI1D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineVarButton.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/InlineVarButton/InlineVarButton.component.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,CAAC,MAAM,0BAA0B,CAAC;AAM9C,MAAM,CAAC,MAAM,eAAe,GAAmC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACpG,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,YAC3C,QAAQ,GACF,CACV,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare const colorVar: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2
- export declare const base: string;
3
- //# sourceMappingURL=InlineVarButton.css.d.ts.map