@voiceflow/style 1.7.0 → 1.9.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 (326) hide show
  1. package/build/cjs/ThemeContext.d.ts +0 -1
  2. package/build/cjs/ThemeContext.d.ts.map +1 -1
  3. package/build/cjs/ThemeContext.js +1 -0
  4. package/build/cjs/ThemeContext.js.map +1 -0
  5. package/build/cjs/__fixtures__/Button/Button.component.d.ts +0 -1
  6. package/build/cjs/__fixtures__/Button/Button.component.d.ts.map +1 -1
  7. package/build/cjs/__fixtures__/Button/Button.component.js +1 -0
  8. package/build/cjs/__fixtures__/Button/Button.component.js.map +1 -0
  9. package/build/cjs/__fixtures__/Button/Button.css.js +1 -0
  10. package/build/cjs/__fixtures__/Button/Button.css.js.map +1 -0
  11. package/build/cjs/__fixtures__/Button/Button.styled.d.ts +1 -2
  12. package/build/cjs/__fixtures__/Button/Button.styled.d.ts.map +1 -1
  13. package/build/cjs/__fixtures__/Button/Button.styled.js +1 -0
  14. package/build/cjs/__fixtures__/Button/Button.styled.js.map +1 -0
  15. package/build/cjs/__fixtures__/Button/index.d.ts +0 -1
  16. package/build/cjs/__fixtures__/Button/index.d.ts.map +1 -1
  17. package/build/cjs/__fixtures__/Button/index.js +1 -0
  18. package/build/cjs/__fixtures__/Button/index.js.map +1 -0
  19. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts +0 -1
  20. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts.map +1 -1
  21. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.js +1 -0
  22. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.js.map +1 -0
  23. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.css.js +1 -0
  24. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.css.js.map +1 -0
  25. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts +1 -1
  26. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts.map +1 -1
  27. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js +1 -0
  28. package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js.map +1 -0
  29. package/build/cjs/__fixtures__/InlineThemedButton/index.d.ts +0 -1
  30. package/build/cjs/__fixtures__/InlineThemedButton/index.d.ts.map +1 -1
  31. package/build/cjs/__fixtures__/InlineThemedButton/index.js +1 -0
  32. package/build/cjs/__fixtures__/InlineThemedButton/index.js.map +1 -0
  33. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts +0 -1
  34. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts.map +1 -1
  35. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.js +1 -0
  36. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.js.map +1 -0
  37. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.css.js +1 -0
  38. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.css.js.map +1 -0
  39. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts +1 -1
  40. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts.map +1 -1
  41. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.js +1 -0
  42. package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.js.map +1 -0
  43. package/build/cjs/__fixtures__/InlineVarButton/index.d.ts +0 -1
  44. package/build/cjs/__fixtures__/InlineVarButton/index.d.ts.map +1 -1
  45. package/build/cjs/__fixtures__/InlineVarButton/index.js +1 -0
  46. package/build/cjs/__fixtures__/InlineVarButton/index.js.map +1 -0
  47. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.d.ts +0 -1
  48. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.d.ts.map +1 -1
  49. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.js +1 -0
  50. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.js.map +1 -0
  51. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.css.js +1 -0
  52. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.css.js.map +1 -0
  53. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.styled.js +1 -0
  54. package/build/cjs/__fixtures__/RecipeButton/RecipeButton.styled.js.map +1 -0
  55. package/build/cjs/__fixtures__/RecipeButton/index.d.ts +0 -1
  56. package/build/cjs/__fixtures__/RecipeButton/index.d.ts.map +1 -1
  57. package/build/cjs/__fixtures__/RecipeButton/index.js +1 -0
  58. package/build/cjs/__fixtures__/RecipeButton/index.js.map +1 -0
  59. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts +0 -1
  60. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts.map +1 -1
  61. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.js +1 -0
  62. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.js.map +1 -0
  63. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.css.js +1 -0
  64. package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.css.js.map +1 -0
  65. package/build/cjs/__fixtures__/ReuseCSS/index.d.ts +0 -1
  66. package/build/cjs/__fixtures__/ReuseCSS/index.d.ts.map +1 -1
  67. package/build/cjs/__fixtures__/ReuseCSS/index.js +1 -0
  68. package/build/cjs/__fixtures__/ReuseCSS/index.js.map +1 -0
  69. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts +0 -1
  70. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts.map +1 -1
  71. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.js +1 -0
  72. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.js.map +1 -0
  73. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.css.js +1 -0
  74. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.css.js.map +1 -0
  75. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts +1 -2
  76. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts.map +1 -1
  77. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.js +1 -0
  78. package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.js.map +1 -0
  79. package/build/cjs/__fixtures__/ReuseStyled/index.d.ts +0 -1
  80. package/build/cjs/__fixtures__/ReuseStyled/index.d.ts.map +1 -1
  81. package/build/cjs/__fixtures__/ReuseStyled/index.js +1 -0
  82. package/build/cjs/__fixtures__/ReuseStyled/index.js.map +1 -0
  83. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.d.ts +0 -1
  84. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.d.ts.map +1 -1
  85. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.js +1 -0
  86. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.js.map +1 -0
  87. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.css.js +1 -0
  88. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.css.js.map +1 -0
  89. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.d.ts +1 -2
  90. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.d.ts.map +1 -1
  91. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.js +1 -0
  92. package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.js.map +1 -0
  93. package/build/cjs/__fixtures__/ThemedButton/index.d.ts +0 -1
  94. package/build/cjs/__fixtures__/ThemedButton/index.d.ts.map +1 -1
  95. package/build/cjs/__fixtures__/ThemedButton/index.js +1 -0
  96. package/build/cjs/__fixtures__/ThemedButton/index.js.map +1 -0
  97. package/build/cjs/__fixtures__/VariantButton/VariantButton.component.d.ts +0 -1
  98. package/build/cjs/__fixtures__/VariantButton/VariantButton.component.d.ts.map +1 -1
  99. package/build/cjs/__fixtures__/VariantButton/VariantButton.component.js +1 -0
  100. package/build/cjs/__fixtures__/VariantButton/VariantButton.component.js.map +1 -0
  101. package/build/cjs/__fixtures__/VariantButton/VariantButton.css.js +1 -0
  102. package/build/cjs/__fixtures__/VariantButton/VariantButton.css.js.map +1 -0
  103. package/build/cjs/__fixtures__/VariantButton/VariantButton.styled.js +1 -0
  104. package/build/cjs/__fixtures__/VariantButton/VariantButton.styled.js.map +1 -0
  105. package/build/cjs/__fixtures__/VariantButton/index.d.ts +0 -1
  106. package/build/cjs/__fixtures__/VariantButton/index.d.ts.map +1 -1
  107. package/build/cjs/__fixtures__/VariantButton/index.js +1 -0
  108. package/build/cjs/__fixtures__/VariantButton/index.js.map +1 -0
  109. package/build/cjs/__fixtures__/index.js +1 -0
  110. package/build/cjs/__fixtures__/index.js.map +1 -0
  111. package/build/cjs/__fixtures__/theme.css.js +1 -0
  112. package/build/cjs/__fixtures__/theme.css.js.map +1 -0
  113. package/build/cjs/main.js +1 -0
  114. package/build/cjs/main.js.map +1 -0
  115. package/build/cjs/styled/constants.js +1 -0
  116. package/build/cjs/styled/constants.js.map +1 -0
  117. package/build/cjs/styled/factory.d.ts +2 -1
  118. package/build/cjs/styled/factory.d.ts.map +1 -1
  119. package/build/cjs/styled/factory.js +1 -0
  120. package/build/cjs/styled/factory.js.map +1 -0
  121. package/build/cjs/styled/index.js +1 -0
  122. package/build/cjs/styled/index.js.map +1 -0
  123. package/build/cjs/styled/types.d.ts +5 -6
  124. package/build/cjs/styled/types.d.ts.map +1 -1
  125. package/build/cjs/styled/types.js +1 -0
  126. package/build/cjs/styled/types.js.map +1 -0
  127. package/build/cjs/styled/utils.d.ts +1 -1
  128. package/build/cjs/styled/utils.d.ts.map +1 -1
  129. package/build/cjs/styled/utils.js +1 -1
  130. package/build/cjs/styled/utils.js.map +1 -0
  131. package/build/cjs/testing.js +1 -0
  132. package/build/cjs/testing.js.map +1 -0
  133. package/build/cjs/types.js +1 -0
  134. package/build/cjs/types.js.map +1 -0
  135. package/build/esm/ThemeContext.d.ts +0 -1
  136. package/build/esm/ThemeContext.d.ts.map +1 -1
  137. package/build/esm/ThemeContext.js +1 -0
  138. package/build/esm/ThemeContext.js.map +1 -0
  139. package/build/esm/__fixtures__/Button/Button.component.d.ts +0 -1
  140. package/build/esm/__fixtures__/Button/Button.component.d.ts.map +1 -1
  141. package/build/esm/__fixtures__/Button/Button.component.js +1 -0
  142. package/build/esm/__fixtures__/Button/Button.component.js.map +1 -0
  143. package/build/esm/__fixtures__/Button/Button.css.js +1 -0
  144. package/build/esm/__fixtures__/Button/Button.css.js.map +1 -0
  145. package/build/esm/__fixtures__/Button/Button.styled.d.ts +1 -2
  146. package/build/esm/__fixtures__/Button/Button.styled.d.ts.map +1 -1
  147. package/build/esm/__fixtures__/Button/Button.styled.js +1 -0
  148. package/build/esm/__fixtures__/Button/Button.styled.js.map +1 -0
  149. package/build/esm/__fixtures__/Button/index.d.ts +0 -1
  150. package/build/esm/__fixtures__/Button/index.d.ts.map +1 -1
  151. package/build/esm/__fixtures__/Button/index.js +1 -0
  152. package/build/esm/__fixtures__/Button/index.js.map +1 -0
  153. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts +0 -1
  154. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts.map +1 -1
  155. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.js +1 -0
  156. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.js.map +1 -0
  157. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.css.js +1 -0
  158. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.css.js.map +1 -0
  159. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts +1 -1
  160. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts.map +1 -1
  161. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js +1 -0
  162. package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js.map +1 -0
  163. package/build/esm/__fixtures__/InlineThemedButton/index.d.ts +0 -1
  164. package/build/esm/__fixtures__/InlineThemedButton/index.d.ts.map +1 -1
  165. package/build/esm/__fixtures__/InlineThemedButton/index.js +1 -0
  166. package/build/esm/__fixtures__/InlineThemedButton/index.js.map +1 -0
  167. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts +0 -1
  168. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts.map +1 -1
  169. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.js +1 -0
  170. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.js.map +1 -0
  171. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.css.js +1 -0
  172. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.css.js.map +1 -0
  173. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts +1 -1
  174. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts.map +1 -1
  175. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.js +1 -0
  176. package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.js.map +1 -0
  177. package/build/esm/__fixtures__/InlineVarButton/index.d.ts +0 -1
  178. package/build/esm/__fixtures__/InlineVarButton/index.d.ts.map +1 -1
  179. package/build/esm/__fixtures__/InlineVarButton/index.js +1 -0
  180. package/build/esm/__fixtures__/InlineVarButton/index.js.map +1 -0
  181. package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.d.ts +0 -1
  182. package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.d.ts.map +1 -1
  183. package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.js +1 -0
  184. package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.js.map +1 -0
  185. package/build/esm/__fixtures__/RecipeButton/RecipeButton.css.js +1 -0
  186. package/build/esm/__fixtures__/RecipeButton/RecipeButton.css.js.map +1 -0
  187. package/build/esm/__fixtures__/RecipeButton/RecipeButton.styled.js +1 -0
  188. package/build/esm/__fixtures__/RecipeButton/RecipeButton.styled.js.map +1 -0
  189. package/build/esm/__fixtures__/RecipeButton/index.d.ts +0 -1
  190. package/build/esm/__fixtures__/RecipeButton/index.d.ts.map +1 -1
  191. package/build/esm/__fixtures__/RecipeButton/index.js +1 -0
  192. package/build/esm/__fixtures__/RecipeButton/index.js.map +1 -0
  193. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts +0 -1
  194. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts.map +1 -1
  195. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.js +1 -0
  196. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.js.map +1 -0
  197. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.css.js +1 -0
  198. package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.css.js.map +1 -0
  199. package/build/esm/__fixtures__/ReuseCSS/index.d.ts +0 -1
  200. package/build/esm/__fixtures__/ReuseCSS/index.d.ts.map +1 -1
  201. package/build/esm/__fixtures__/ReuseCSS/index.js +1 -0
  202. package/build/esm/__fixtures__/ReuseCSS/index.js.map +1 -0
  203. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts +0 -1
  204. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts.map +1 -1
  205. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.js +1 -0
  206. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.js.map +1 -0
  207. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.css.js +1 -0
  208. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.css.js.map +1 -0
  209. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts +1 -2
  210. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts.map +1 -1
  211. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.js +1 -0
  212. package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.js.map +1 -0
  213. package/build/esm/__fixtures__/ReuseStyled/index.d.ts +0 -1
  214. package/build/esm/__fixtures__/ReuseStyled/index.d.ts.map +1 -1
  215. package/build/esm/__fixtures__/ReuseStyled/index.js +1 -0
  216. package/build/esm/__fixtures__/ReuseStyled/index.js.map +1 -0
  217. package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.d.ts +0 -1
  218. package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.d.ts.map +1 -1
  219. package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.js +1 -0
  220. package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.js.map +1 -0
  221. package/build/esm/__fixtures__/ThemedButton/ThemedButton.css.js +1 -0
  222. package/build/esm/__fixtures__/ThemedButton/ThemedButton.css.js.map +1 -0
  223. package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.d.ts +1 -2
  224. package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.d.ts.map +1 -1
  225. package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.js +1 -0
  226. package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.js.map +1 -0
  227. package/build/esm/__fixtures__/ThemedButton/index.d.ts +0 -1
  228. package/build/esm/__fixtures__/ThemedButton/index.d.ts.map +1 -1
  229. package/build/esm/__fixtures__/ThemedButton/index.js +1 -0
  230. package/build/esm/__fixtures__/ThemedButton/index.js.map +1 -0
  231. package/build/esm/__fixtures__/VariantButton/VariantButton.component.d.ts +0 -1
  232. package/build/esm/__fixtures__/VariantButton/VariantButton.component.d.ts.map +1 -1
  233. package/build/esm/__fixtures__/VariantButton/VariantButton.component.js +1 -0
  234. package/build/esm/__fixtures__/VariantButton/VariantButton.component.js.map +1 -0
  235. package/build/esm/__fixtures__/VariantButton/VariantButton.css.js +1 -0
  236. package/build/esm/__fixtures__/VariantButton/VariantButton.css.js.map +1 -0
  237. package/build/esm/__fixtures__/VariantButton/VariantButton.styled.js +1 -0
  238. package/build/esm/__fixtures__/VariantButton/VariantButton.styled.js.map +1 -0
  239. package/build/esm/__fixtures__/VariantButton/index.d.ts +0 -1
  240. package/build/esm/__fixtures__/VariantButton/index.d.ts.map +1 -1
  241. package/build/esm/__fixtures__/VariantButton/index.js +1 -0
  242. package/build/esm/__fixtures__/VariantButton/index.js.map +1 -0
  243. package/build/esm/__fixtures__/index.js +1 -0
  244. package/build/esm/__fixtures__/index.js.map +1 -0
  245. package/build/esm/__fixtures__/theme.css.js +1 -0
  246. package/build/esm/__fixtures__/theme.css.js.map +1 -0
  247. package/build/esm/main.js +1 -0
  248. package/build/esm/main.js.map +1 -0
  249. package/build/esm/styled/constants.js +1 -0
  250. package/build/esm/styled/constants.js.map +1 -0
  251. package/build/esm/styled/factory.d.ts +2 -1
  252. package/build/esm/styled/factory.d.ts.map +1 -1
  253. package/build/esm/styled/factory.js +1 -0
  254. package/build/esm/styled/factory.js.map +1 -0
  255. package/build/esm/styled/index.js +1 -0
  256. package/build/esm/styled/index.js.map +1 -0
  257. package/build/esm/styled/types.d.ts +5 -6
  258. package/build/esm/styled/types.d.ts.map +1 -1
  259. package/build/esm/styled/types.js +1 -0
  260. package/build/esm/styled/types.js.map +1 -0
  261. package/build/esm/styled/utils.d.ts +1 -1
  262. package/build/esm/styled/utils.d.ts.map +1 -1
  263. package/build/esm/styled/utils.js +1 -1
  264. package/build/esm/styled/utils.js.map +1 -0
  265. package/build/esm/testing.js +1 -0
  266. package/build/esm/testing.js.map +1 -0
  267. package/build/esm/types.js +1 -0
  268. package/build/esm/types.js.map +1 -0
  269. package/package.json +24 -31
  270. package/CHANGELOG.md +0 -105
  271. package/build/cjs/styled/factory.test.d.ts +0 -2
  272. package/build/cjs/styled/factory.test.d.ts.map +0 -1
  273. package/build/cjs/styled/factory.test.js +0 -140
  274. package/build/esm/styled/factory.test.d.ts +0 -2
  275. package/build/esm/styled/factory.test.d.ts.map +0 -1
  276. package/build/esm/styled/factory.test.js +0 -138
  277. package/config/test/setup.js +0 -9
  278. package/sonar-project.properties +0 -10
  279. package/src/ThemeContext.tsx +0 -14
  280. package/src/__fixtures__/Button/Button.component.tsx +0 -7
  281. package/src/__fixtures__/Button/Button.css.ts +0 -7
  282. package/src/__fixtures__/Button/Button.styled.ts +0 -5
  283. package/src/__fixtures__/Button/index.ts +0 -7
  284. package/src/__fixtures__/InlineThemedButton/InlineThemedButton.component.tsx +0 -13
  285. package/src/__fixtures__/InlineThemedButton/InlineThemedButton.css.ts +0 -8
  286. package/src/__fixtures__/InlineThemedButton/InlineThemedButton.styled.ts +0 -7
  287. package/src/__fixtures__/InlineThemedButton/index.ts +0 -4
  288. package/src/__fixtures__/InlineVarButton/InlineVarButton.component.tsx +0 -12
  289. package/src/__fixtures__/InlineVarButton/InlineVarButton.css.ts +0 -12
  290. package/src/__fixtures__/InlineVarButton/InlineVarButton.styled.ts +0 -10
  291. package/src/__fixtures__/InlineVarButton/index.ts +0 -4
  292. package/src/__fixtures__/RecipeButton/RecipeButton.component.tsx +0 -13
  293. package/src/__fixtures__/RecipeButton/RecipeButton.css.ts +0 -22
  294. package/src/__fixtures__/RecipeButton/RecipeButton.styled.ts +0 -6
  295. package/src/__fixtures__/RecipeButton/index.ts +0 -4
  296. package/src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx +0 -8
  297. package/src/__fixtures__/ReuseCSS/ReuseCSS.css.ts +0 -11
  298. package/src/__fixtures__/ReuseCSS/index.ts +0 -4
  299. package/src/__fixtures__/ReuseStyled/ReuseStyled.component.tsx +0 -6
  300. package/src/__fixtures__/ReuseStyled/ReuseStyled.css.ts +0 -6
  301. package/src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts +0 -6
  302. package/src/__fixtures__/ReuseStyled/index.ts +0 -4
  303. package/src/__fixtures__/ThemedButton/ThemedButton.component.tsx +0 -6
  304. package/src/__fixtures__/ThemedButton/ThemedButton.css.ts +0 -8
  305. package/src/__fixtures__/ThemedButton/ThemedButton.styled.ts +0 -6
  306. package/src/__fixtures__/ThemedButton/index.ts +0 -4
  307. package/src/__fixtures__/VariantButton/VariantButton.component.tsx +0 -13
  308. package/src/__fixtures__/VariantButton/VariantButton.css.ts +0 -6
  309. package/src/__fixtures__/VariantButton/VariantButton.styled.ts +0 -6
  310. package/src/__fixtures__/VariantButton/index.ts +0 -4
  311. package/src/__fixtures__/index.ts +0 -9
  312. package/src/__fixtures__/theme.css.ts +0 -21
  313. package/src/main.ts +0 -9
  314. package/src/styled/constants.ts +0 -1
  315. package/src/styled/factory.test.tsx +0 -181
  316. package/src/styled/factory.tsx +0 -39
  317. package/src/styled/index.ts +0 -4
  318. package/src/styled/types.ts +0 -87
  319. package/src/styled/utils.ts +0 -56
  320. package/src/testing.ts +0 -15
  321. package/src/types.ts +0 -10
  322. package/tsconfig.build.cjs.json +0 -8
  323. package/tsconfig.build.esm.json +0 -11
  324. package/tsconfig.build.json +0 -5
  325. package/tsconfig.json +0 -9
  326. package/vitest.config.ts +0 -16
@@ -1 +1 @@
1
- {"version":3,"file":"ReuseCSS.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAI1C,CAAC"}
1
+ {"version":3,"file":"ReuseCSS.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAI1C,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { base } from './ReuseCSS.css.js';
3
3
  export const ReuseCSS = ({ onClick, children }) => (_jsx("button", { className: base, onClick: onClick, children: children }));
4
+ //# sourceMappingURL=ReuseCSS.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReuseCSS.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAA0B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACxE,iBAAQ,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,YACtC,QAAQ,GACF,CACV,CAAC"}
@@ -7,3 +7,4 @@ export const base = style([
7
7
  borderRadius: 0,
8
8
  },
9
9
  ]);
10
+ //# sourceMappingURL=ReuseCSS.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReuseCSS.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/ReuseCSS.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,CAAC;IACxB,MAAM,CAAC,GAAG,CAAC,IAAI;IACf;QACE,eAAe,EAAE,KAAK;QACtB,YAAY,EAAE,CAAC;KAChB;CACF,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as css from './ReuseCSS.css.js';
3
2
  export declare const ReuseCSS: import("react").FC<import("../index.js").ButtonProps> & {
4
3
  css: typeof css;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AAEtC,eAAO,MAAM,QAAQ;;CAA4C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AAEtC,eAAO,MAAM,QAAQ;;CAA4C,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { ReuseCSS as ReuseCSSComponent } from './ReuseCSS.component.js';
2
2
  import * as css from './ReuseCSS.css.js';
3
3
  export const ReuseCSS = Object.assign(ReuseCSSComponent, { css });
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,iBAAiB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from '../Button/index.js';
3
2
  export declare const ReuseStyled: React.FC<ButtonProps>;
4
3
  //# sourceMappingURL=ReuseStyled.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReuseStyled.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.component.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAE7C,CAAC"}
1
+ {"version":3,"file":"ReuseStyled.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAE7C,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as S from './ReuseStyled.styled.js';
3
3
  export const ReuseStyled = ({ onClick, children }) => (_jsx(S.Base, { onClick: onClick, children: children }));
4
+ //# sourceMappingURL=ReuseStyled.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReuseStyled.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.component.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,CAAC,MAAM,sBAAsB,CAAC;AAE1C,MAAM,CAAC,MAAM,WAAW,GAA0B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC3E,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,YAAG,QAAQ,GAAU,CAC9C,CAAC"}
@@ -3,3 +3,4 @@ export const override = style({
3
3
  border: '1px solid red',
4
4
  margin: 2,
5
5
  });
6
+ //# sourceMappingURL=ReuseStyled.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReuseStyled.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,CAAC;CACV,CAAC,CAAC"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const Base: import("../../main.js").StyledComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">>;
1
+ export declare const Base: import("../../main.js").StyledComponent<import("../../main.js").StyledComponentProps<"button", null, null, object>>;
3
2
  //# sourceMappingURL=ReuseStyled.styled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReuseStyled.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,IAAI,8JAAyC,CAAC"}
1
+ {"version":3,"file":"ReuseStyled.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,uGAAyC,CAAC"}
@@ -2,3 +2,4 @@ import { styled } from '../../main.js';
2
2
  import { Button } from '../Button/index.js';
3
3
  import { override } from './ReuseStyled.css.js';
4
4
  export const Base = styled.button([Button.Base, override]);
5
+ //# sourceMappingURL=ReuseStyled.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReuseStyled.styled.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as css from './ReuseStyled.css.js';
3
2
  export declare const ReuseStyled: import("react").FC<import("../index.js").ButtonProps> & {
4
3
  css: typeof css;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AAEzC,eAAO,MAAM,WAAW;;CAA+C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AAEzC,eAAO,MAAM,WAAW;;CAA+C,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { ReuseStyled as ReuseStyledComponent } from './ReuseStyled.component.js';
2
2
  import * as css from './ReuseStyled.css.js';
3
3
  export const ReuseStyled = Object.assign(ReuseStyledComponent, { css });
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AAEzC,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from '../Button/index.js';
3
2
  export declare const ThemedButton: React.FC<ButtonProps>;
4
3
  //# sourceMappingURL=ThemedButton.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemedButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.component.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAE9C,CAAC"}
1
+ {"version":3,"file":"ThemedButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAE9C,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as S from './ThemedButton.styled.js';
3
3
  export const ThemedButton = ({ onClick, children }) => (_jsx(S.Base, { onClick: onClick, children: children }));
4
+ //# sourceMappingURL=ThemedButton.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemedButton.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.component.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,CAAC,MAAM,uBAAuB,CAAC;AAE3C,MAAM,CAAC,MAAM,YAAY,GAA0B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC5E,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,YAAG,QAAQ,GAAU,CAC9C,CAAC"}
@@ -4,3 +4,4 @@ export const themed = style({
4
4
  color: Theme.vars.color.brand,
5
5
  borderRadius: 0,
6
6
  });
7
+ //# sourceMappingURL=ThemedButton.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemedButton.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.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,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const Base: import("../../main.js").StyledComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">>;
1
+ export declare const Base: import("../../main.js").StyledComponent<import("../../main.js").StyledComponentProps<"button", null, null, object>>;
3
2
  //# sourceMappingURL=ThemedButton.styled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemedButton.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,IAAI,8JAAuC,CAAC"}
1
+ {"version":3,"file":"ThemedButton.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,uGAAuC,CAAC"}
@@ -2,3 +2,4 @@ import { styled } from '../../main.js';
2
2
  import { Button } from '../Button/index.js';
3
3
  import { themed } from './ThemedButton.css.js';
4
4
  export const Base = styled.button([Button.Base, themed]);
5
+ //# sourceMappingURL=ThemedButton.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemedButton.styled.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as css from './ThemedButton.css.js';
3
2
  export declare const ThemedButton: import("react").FC<import("../index.js").ButtonProps> & {
4
3
  css: typeof css;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,YAAY;;CAAgD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,YAAY;;CAAgD,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { ThemedButton as ThemedButtonComponent } from './ThemedButton.component.js';
2
2
  import * as css from './ThemedButton.css.js';
3
3
  export const ThemedButton = Object.assign(ThemedButtonComponent, { css });
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from '../Button/index.js';
3
2
  import type { variants } from './VariantButton.css.js';
4
3
  export interface VariantButtonProps extends ButtonProps {
@@ -1 +1 @@
1
- {"version":3,"file":"VariantButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAGpD,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,OAAO,EAAE,MAAM,OAAO,QAAQ,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAItD,CAAC"}
1
+ {"version":3,"file":"VariantButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAGpD,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,OAAO,EAAE,MAAM,OAAO,QAAQ,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAItD,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as S from './VariantButton.styled.js';
3
3
  export const VariantButton = ({ variant, onClick, children }) => (_jsx(S.Base, { variant: variant, onClick: onClick, children: children }));
4
+ //# sourceMappingURL=VariantButton.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VariantButton.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,CAAC,MAAM,wBAAwB,CAAC;AAM5C,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC7F,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,YACvC,QAAQ,GACF,CACV,CAAC"}
@@ -3,3 +3,4 @@ export const variants = styleVariants({
3
3
  primary: { borderWidth: 2, borderColor: 'pink' },
4
4
  secondary: { borderWidth: 2, borderColor: 'blue' },
5
5
  });
6
+ //# sourceMappingURL=VariantButton.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VariantButton.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC;IACpC,OAAO,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE;IAChD,SAAS,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE;CACnD,CAAC,CAAC"}
@@ -2,3 +2,4 @@ import { styled } from '../../main.js';
2
2
  import { Button } from '../Button/index.js';
3
3
  import { variants } from './VariantButton.css.js';
4
4
  export const Base = styled.button(variants, [Button.Base]);
5
+ //# sourceMappingURL=VariantButton.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VariantButton.styled.js","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as css from './VariantButton.css.js';
3
2
  export declare const VariantButton: import("react").FC<import("./VariantButton.component.js").VariantButtonProps> & {
4
3
  css: typeof css;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAE3C,eAAO,MAAM,aAAa;;CAAiD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAE3C,eAAO,MAAM,aAAa;;CAAiD,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { VariantButton as VariantButtonComponent } from './VariantButton.component.js';
2
2
  import * as css from './VariantButton.css.js';
3
3
  export const VariantButton = Object.assign(VariantButtonComponent, { css });
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAE3C,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,sBAAsB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
@@ -7,3 +7,4 @@ export * from './ReuseStyled/index.js';
7
7
  export * as Theme from './theme.css.js';
8
8
  export * from './ThemedButton/index.js';
9
9
  export * from './VariantButton/index.js';
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
@@ -16,3 +16,4 @@ export const dark = createTheme(vars, {
16
16
  },
17
17
  spacing,
18
18
  });
19
+ //# sourceMappingURL=theme.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.css.js","sourceRoot":"","sources":["../../../src/__fixtures__/theme.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,WAAW,CAAC;IACvC,KAAK,EAAE;QACL,KAAK,EAAE,KAAK;KACb;IACD,OAAO;CACR,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,EAAE;IACpC,KAAK,EAAE;QACL,KAAK,EAAE,MAAM;KACd;IACD,OAAO;CACR,CAAC,CAAC"}
package/build/esm/main.js CHANGED
@@ -6,3 +6,4 @@ export * from '@vanilla-extract/css';
6
6
  export * from '@vanilla-extract/dynamic';
7
7
  export { recipe } from '@vanilla-extract/recipes';
8
8
  export { clsx } from 'clsx';
9
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.js","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;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC"}
@@ -1 +1,2 @@
1
1
  export const STYLED_CLASS = Symbol('styled_class');
2
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/styled/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC"}
@@ -88,6 +88,7 @@ export declare const styled: {
88
88
  ruby: StyledFactory<"ruby">;
89
89
  s: StyledFactory<"s">;
90
90
  samp: StyledFactory<"samp">;
91
+ search: StyledFactory<"search">;
91
92
  slot: StyledFactory<"slot">;
92
93
  script: StyledFactory<"script">;
93
94
  section: StyledFactory<"section">;
@@ -168,6 +169,7 @@ export declare const styled: {
168
169
  polyline: StyledFactory<"polyline">;
169
170
  radialGradient: StyledFactory<"radialGradient">;
170
171
  rect: StyledFactory<"rect">;
172
+ set: StyledFactory<"set">;
171
173
  stop: StyledFactory<"stop">;
172
174
  switch: StyledFactory<"switch">;
173
175
  symbol: StyledFactory<"symbol">;
@@ -176,6 +178,5 @@ export declare const styled: {
176
178
  tspan: StyledFactory<"tspan">;
177
179
  use: StyledFactory<"use">;
178
180
  view: StyledFactory<"view">;
179
- search: StyledFactory<"search">;
180
181
  };
181
182
  //# sourceMappingURL=factory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/styled/factory.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAMV,aAAa,EACd,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBjB,CAAC"}
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/styled/factory.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAMV,aAAa,EACd,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBjB,CAAC"}
@@ -20,3 +20,4 @@ export const styled = new Proxy({}, {
20
20
  return Object.assign(StyledComponent, { [STYLED_CLASS]: staticClass });
21
21
  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AO,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,WAAW,EAAE,CAAyB,CAAC;IACjG,CAAC;CACJ,CAAC,CAAC"}
@@ -2,3 +2,4 @@ export * from './constants.js';
2
2
  export * from './factory.js';
3
3
  export * from './types.js';
4
4
  export * from './utils.js';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { assignInlineVars } from '@vanilla-extract/dynamic';
3
2
  import type { RecipeVariants, RuntimeFn } from '@vanilla-extract/recipes';
4
3
  import type { STYLED_CLASS } from './constants.js';
@@ -18,7 +17,7 @@ export type DynamicThemeProps<Theme> = Theme extends ThemeContract ? {
18
17
  * inline override for the theme used to style this component
19
18
  */
20
19
  theme?: Parameters<typeof assignInlineVars<Theme>>[1];
21
- } : {};
20
+ } : object;
22
21
  export type DynamicVariablesProps<Variables> = Variables extends Record<string, string> ? {
23
22
  /**
24
23
  * inline override for variables used to styled this component
@@ -26,9 +25,9 @@ export type DynamicVariablesProps<Variables> = Variables extends Record<string,
26
25
  vars?: Partial<{
27
26
  [K in keyof Variables]: string;
28
27
  }>;
29
- } : {};
30
- export type StyledComponentProps<Tag extends keyof JSX.IntrinsicElements, Theme, Variables, Extras extends object = {}> = React.ComponentPropsWithoutRef<Tag> & DynamicThemeProps<Theme> & DynamicVariablesProps<Variables> & Extras;
31
- export interface StyledComponent<Props = {}> extends React.FunctionComponent<Props> {
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> {
32
31
  (props: Props, context?: any): React.ReactElement<any, any> | null;
33
32
  [STYLED_CLASS]: string | null;
34
33
  }
@@ -42,6 +41,6 @@ export interface StyledFactory<Tag extends keyof JSX.IntrinsicElements> {
42
41
  }>>;
43
42
  <Theme extends ThemeContract | null = null, Variables extends Record<string, string> | null = null>(sources: StyleSource[], dynamic?: DynamicOptions<Theme, Variables>): StyledComponent<StyledComponentProps<Tag, Theme, Variables>>;
44
43
  }
45
- export type FirstStyledArgument<Variants extends {} = any> = RuntimeFn<Variants> | Record<string, string> | StyleSource[];
44
+ export type FirstStyledArgument<Variants extends Record<string, any> = any> = RuntimeFn<Variants> | Record<string, string> | StyleSource[];
46
45
  export type SecondStyledArgument = StyleSource[] | DynamicOptions;
47
46
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/styled/types.ts"],"names":[],"mappings":";AACA,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,S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,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 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/styled/types.ts"],"names":[],"mappings":""}
@@ -4,6 +4,6 @@ export declare const getDynamicOptions: (secondArg?: SecondStyledArgument, third
4
4
  export declare const useDynamicClass: (firstArg: FirstStyledArgument<any>, props: {
5
5
  variant?: string;
6
6
  variants?: Record<string, any>;
7
- }) => string | null;
7
+ }) => string | null | undefined;
8
8
  export declare const useInlineStyle: (props: StyledComponentProps<keyof JSX.IntrinsicElements, ThemeContract, Record<string, string>>, dynamicOptions: DynamicOptions | null) => {};
9
9
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
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,aAAc,mBAAmB,cAAc,oBAAoB,KAAG,MAAM,GAAG,IAOzG,CAAC;AAEF,eAAO,MAAM,iBAAiB,eAAgB,oBAAoB,aAAa,cAAc,KAAG,cAAc,GAAG,IACtD,CAAC;AAE5D,eAAO,MAAM,eAAe,aAChB,oBAAoB,GAAG,CAAC,SAC3B;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,kBAOd,CAAC;AAEhD,eAAO,MAAM,cAAc,UAClB,qBAAqB,MAAM,IAAI,iBAAiB,EAAE,aAAa,EAAE,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,kBAC/E,cAAc,GAAG,IAAI,OAiBtC,CAAC"}
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,aAAc,mBAAmB,cAAc,oBAAoB,KAAG,MAAM,GAAG,IAMzG,CAAC;AAEF,eAAO,MAAM,iBAAiB,eAAgB,oBAAoB,aAAa,cAAc,KAAG,cAAc,GAAG,IACtD,CAAC;AAE5D,eAAO,MAAM,eAAe,aAChB,mBAAmB,CAAC,GAAG,CAAC,SAC3B;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,8BAOd,CAAC;AAEhD,eAAO,MAAM,cAAc,UAClB,oBAAoB,CAAC,MAAM,GAAG,CAAC,iBAAiB,EAAE,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,kBAC/E,cAAc,GAAG,IAAI,OAiBtC,CAAC"}
@@ -3,7 +3,6 @@ import { clsx } from 'clsx';
3
3
  import { useMemo } from 'react';
4
4
  import { STYLED_CLASS } from './constants.js';
5
5
  export const getStaticClass = (firstArg, secondArg) => {
6
- // eslint-disable-next-line no-nested-ternary
7
6
  const classNames = (Array.isArray(firstArg) ? firstArg : Array.isArray(secondArg) ? secondArg : []).map((source) => typeof source === 'string' ? source : source[STYLED_CLASS]);
8
7
  return classNames.length ? clsx(classNames) : null;
9
8
  };
@@ -28,3 +27,4 @@ export const useInlineStyle = (props, dynamicOptions) => {
28
27
  return style;
29
28
  }, [props.theme, props.vars]);
30
29
  };
30
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/styled/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAS3C,MAAM,CAAC,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,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I,KAAK,CAAC,IAAI,EAAE,CAAC;YACvB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,gBAAgB,CAAC,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"}
@@ -11,3 +11,4 @@ export const tid = (block, elements, modifier) => {
11
11
  return blockElement;
12
12
  return `${blockElement}--${modifier}`;
13
13
  };
14
+ //# sourceMappingURL=testing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testing.js","sourceRoot":"","sources":["../../src/testing.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,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"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voiceflow/style",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./build/cjs/main.d.ts",
@@ -10,46 +10,39 @@
10
10
  },
11
11
  "main": "build/cjs/main.js",
12
12
  "types": "build/cjs/main.d.ts",
13
+ "files": [
14
+ "build"
15
+ ],
13
16
  "scripts": {
14
- "build": "yarn g:run-p build:cjs build:esm",
15
- "prebuild:cjs": "yarn g:rimraf build/cjs",
16
- "build:cjs": "yarn prebuild:cjs && yarn g:tsc -p tsconfig.build.cjs.json && yarn g:tsc-alias -p tsconfig.build.cjs.json && yarn postbuild:cjs",
17
- "postbuild:cjs": "touch build/cjs/package.json && echo '{ \"type\": \"commonjs\" }' > build/cjs/package.json",
18
- "prebuild:esm": "yarn g:rimraf build/esm",
19
- "build:esm": "yarn prebuild:esm && yarn g:tsc -p tsconfig.build.esm.json && yarn g:tsc-alias -p tsconfig.build.esm.json && yarn postbuild:esm",
20
- "postbuild:esm": "touch build/esm/package.json && echo '{ \"type\": \"module\" }' > build/esm/package.json",
21
- "lint": "yarn g:run-p lint:eslint \"lint:prettier --check\"",
22
- "lint:eslint": "yarn g:eslint \"src/**/*.{js,ts}\"",
23
- "lint:fix": "yarn g:run-p \"lint:eslint --fix\" \"lint:prettier --write\"",
24
- "lint:prettier": "yarn g:prettier . \"!**/*.{js,ts}\"",
25
- "lint:report": "yarn g:eslint-output --quiet './src/**/*.{js,ts}'",
26
- "test": "yarn g:vitest",
27
- "test:check": "yarn g:tsc --noEmit",
28
- "test:dependencies": "yarn g:depcheck",
29
- "test:unit": "yarn g:vitest run"
30
- },
31
- "prettier": "@voiceflow-meta/prettier-config",
32
- "eslintConfig": {
33
- "extends": "@voiceflow-meta/eslint-config"
17
+ "build": "yarn g:turbo run build:cmd --filter=@voiceflow/style...",
18
+ "build:cjs": "yarn g:build:pkg cjs",
19
+ "build:cmd": "yarn g:run-p build:cjs build:esm",
20
+ "build:esm": "yarn g:build:pkg esm",
21
+ "clean": "yarn g:rimraf build",
22
+ "lint": "yarn g:run-p -c lint:eslint lint:prettier",
23
+ "lint:eslint": "yarn g:eslint",
24
+ "lint:fix": "yarn g:run-p -c \"lint:eslint --fix\" \"lint:prettier --write\"",
25
+ "lint:prettier": "yarn g:prettier --check",
26
+ "tdd": "yarn g:vitest",
27
+ "test": "yarn g:run-p -c test:dependencies test:types test:unit",
28
+ "test:dependencies": "yarn g:depcruise",
29
+ "test:types": "yarn g:tsc --noEmit",
30
+ "test:unit": "yarn g:vitest run --coverage"
34
31
  },
35
32
  "dependencies": {
36
33
  "@vanilla-extract/css": "1.13.0",
37
34
  "@vanilla-extract/dynamic": "2.0.3",
38
35
  "@vanilla-extract/recipes": "0.4.0",
39
36
  "clsx": "1.2.1",
40
- "type-fest": "3.13.1"
37
+ "type-fest": "4.15.0"
41
38
  },
42
39
  "devDependencies": {
43
- "@testing-library/jest-dom": "5.16.5",
44
- "@testing-library/react": "14.0.0",
45
- "@types/react": "18.0.35",
40
+ "@testing-library/jest-dom": "6.4.2",
41
+ "@testing-library/react": "15.0.2",
42
+ "@types/react": "18.2.77",
46
43
  "@vanilla-extract/vite-plugin": "3.9.0",
47
- "@voiceflow-meta/eslint-config": "1.3.2",
48
- "@voiceflow-meta/prettier-config": "1.1.2",
49
- "@voiceflow-meta/typescript-config": "1.0.2",
50
44
  "jsdom": "21.1.1",
51
- "react": "18.2.0",
52
- "vite-tsconfig-paths": "4.2.0"
45
+ "react": "18.2.0"
53
46
  },
54
47
  "peerDependencies": {
55
48
  "react": "^18"
@@ -57,5 +50,5 @@
57
50
  "volta": {
58
51
  "extends": "../../package.json"
59
52
  },
60
- "gitHead": "83548e11925159b32fb98bfcf849e7f2fe7a72b3"
53
+ "gitHead": "90bd960ef1e445f806cf6fbb8902eec5bc667da6"
61
54
  }