cssier 0.2.2 → 0.3.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 (183) hide show
  1. package/README.md +14 -6
  2. package/dist/components/A.d.ts +1 -1
  3. package/dist/components/Abbr.d.ts +1 -1
  4. package/dist/components/Address.d.ts +1 -1
  5. package/dist/components/Animate.d.ts +1 -1
  6. package/dist/components/AnimateTransform.d.ts +1 -1
  7. package/dist/components/Area.d.ts +1 -1
  8. package/dist/components/Article.d.ts +1 -1
  9. package/dist/components/Aside.d.ts +1 -1
  10. package/dist/components/Audio.d.ts +1 -1
  11. package/dist/components/B.d.ts +1 -1
  12. package/dist/components/Base.d.ts +1 -1
  13. package/dist/components/Bdi.d.ts +1 -1
  14. package/dist/components/Bdo.d.ts +1 -1
  15. package/dist/components/Blockquote.d.ts +1 -1
  16. package/dist/components/Body.d.ts +1 -1
  17. package/dist/components/Br.d.ts +1 -1
  18. package/dist/components/Button.d.ts +1 -1
  19. package/dist/components/Canvas.d.ts +1 -1
  20. package/dist/components/Caption.d.ts +1 -1
  21. package/dist/components/Circle.d.ts +1 -1
  22. package/dist/components/Cite.d.ts +1 -1
  23. package/dist/components/ClipPath.d.ts +1 -1
  24. package/dist/components/Code.d.ts +1 -1
  25. package/dist/components/Col.d.ts +1 -1
  26. package/dist/components/Colgroup.d.ts +1 -1
  27. package/dist/components/Data.d.ts +1 -1
  28. package/dist/components/Datalist.d.ts +1 -1
  29. package/dist/components/Dd.d.ts +1 -1
  30. package/dist/components/Defs.d.ts +1 -1
  31. package/dist/components/Del.d.ts +1 -1
  32. package/dist/components/Desc.d.ts +1 -1
  33. package/dist/components/Details.d.ts +1 -1
  34. package/dist/components/Dfn.d.ts +1 -1
  35. package/dist/components/Dialog.d.ts +1 -1
  36. package/dist/components/Div.d.ts +1 -1
  37. package/dist/components/Dl.d.ts +1 -1
  38. package/dist/components/Dt.d.ts +1 -1
  39. package/dist/components/Ellipse.d.ts +1 -1
  40. package/dist/components/Em.d.ts +1 -1
  41. package/dist/components/Embed.d.ts +1 -1
  42. package/dist/components/FeBlend.d.ts +1 -1
  43. package/dist/components/FeColorMatrix.d.ts +1 -1
  44. package/dist/components/FeComponentTransfer.d.ts +1 -1
  45. package/dist/components/FeComposite.d.ts +1 -1
  46. package/dist/components/FeConvolveMatrix.d.ts +1 -1
  47. package/dist/components/FeDiffuseLighting.d.ts +1 -1
  48. package/dist/components/FeDisplacementMap.d.ts +1 -1
  49. package/dist/components/FeDistantLight.d.ts +1 -1
  50. package/dist/components/FeFlood.d.ts +1 -1
  51. package/dist/components/FeGaussianBlur.d.ts +1 -1
  52. package/dist/components/FeImage.d.ts +1 -1
  53. package/dist/components/FeMerge.d.ts +1 -1
  54. package/dist/components/FeMergeNode.d.ts +1 -1
  55. package/dist/components/FeMorphology.d.ts +1 -1
  56. package/dist/components/FeOffset.d.ts +1 -1
  57. package/dist/components/FePointLight.d.ts +1 -1
  58. package/dist/components/FeSpecularLighting.d.ts +1 -1
  59. package/dist/components/FeSpotLight.d.ts +1 -1
  60. package/dist/components/FeTile.d.ts +1 -1
  61. package/dist/components/FeTurbulence.d.ts +1 -1
  62. package/dist/components/Fieldset.d.ts +1 -1
  63. package/dist/components/Figcaption.d.ts +1 -1
  64. package/dist/components/Figure.d.ts +1 -1
  65. package/dist/components/Filter.d.ts +1 -1
  66. package/dist/components/Footer.d.ts +1 -1
  67. package/dist/components/ForeignObject.d.ts +1 -1
  68. package/dist/components/Form.d.ts +1 -1
  69. package/dist/components/G.d.ts +1 -1
  70. package/dist/components/H1.d.ts +1 -1
  71. package/dist/components/H2.d.ts +1 -1
  72. package/dist/components/H3.d.ts +1 -1
  73. package/dist/components/H4.d.ts +1 -1
  74. package/dist/components/H5.d.ts +1 -1
  75. package/dist/components/H6.d.ts +1 -1
  76. package/dist/components/Head.d.ts +1 -1
  77. package/dist/components/Header.d.ts +1 -1
  78. package/dist/components/Hgroup.d.ts +1 -1
  79. package/dist/components/Hr.d.ts +1 -1
  80. package/dist/components/Html.d.ts +1 -1
  81. package/dist/components/I.d.ts +1 -1
  82. package/dist/components/Iframe.d.ts +1 -1
  83. package/dist/components/Image.d.ts +1 -1
  84. package/dist/components/Img.d.ts +1 -1
  85. package/dist/components/Input.d.ts +1 -1
  86. package/dist/components/Ins.d.ts +1 -1
  87. package/dist/components/Kbd.d.ts +1 -1
  88. package/dist/components/Label.d.ts +1 -1
  89. package/dist/components/Legend.d.ts +1 -1
  90. package/dist/components/Li.d.ts +1 -1
  91. package/dist/components/Line.d.ts +1 -1
  92. package/dist/components/LinearGradient.d.ts +1 -1
  93. package/dist/components/Link.d.ts +1 -1
  94. package/dist/components/Main.d.ts +1 -1
  95. package/dist/components/Map.d.ts +1 -1
  96. package/dist/components/Mark.d.ts +1 -1
  97. package/dist/components/Marker.d.ts +1 -1
  98. package/dist/components/Mask.d.ts +1 -1
  99. package/dist/components/Meta.d.ts +1 -1
  100. package/dist/components/Metadata.d.ts +1 -1
  101. package/dist/components/Meter.d.ts +1 -1
  102. package/dist/components/Mpath.d.ts +1 -1
  103. package/dist/components/Nav.d.ts +1 -1
  104. package/dist/components/Noscript.d.ts +1 -1
  105. package/dist/components/Object.d.ts +1 -1
  106. package/dist/components/Ol.d.ts +1 -1
  107. package/dist/components/Optgroup.d.ts +1 -1
  108. package/dist/components/Option.d.ts +1 -1
  109. package/dist/components/Output.d.ts +1 -1
  110. package/dist/components/P.d.ts +1 -1
  111. package/dist/components/Param.d.ts +1 -1
  112. package/dist/components/Path.d.ts +1 -1
  113. package/dist/components/Pattern.d.ts +1 -1
  114. package/dist/components/Picture.d.ts +1 -1
  115. package/dist/components/Polygon.d.ts +1 -1
  116. package/dist/components/Polyline.d.ts +1 -1
  117. package/dist/components/Pre.d.ts +1 -1
  118. package/dist/components/Progress.d.ts +1 -1
  119. package/dist/components/Q.d.ts +1 -1
  120. package/dist/components/RadialGradient.d.ts +1 -1
  121. package/dist/components/Rect.d.ts +1 -1
  122. package/dist/components/Rp.d.ts +1 -1
  123. package/dist/components/Rt.d.ts +1 -1
  124. package/dist/components/Ruby.d.ts +1 -1
  125. package/dist/components/S.d.ts +1 -1
  126. package/dist/components/Samp.d.ts +1 -1
  127. package/dist/components/Script.d.ts +1 -1
  128. package/dist/components/Section.d.ts +1 -1
  129. package/dist/components/Select.d.ts +1 -1
  130. package/dist/components/Small.d.ts +1 -1
  131. package/dist/components/Source.d.ts +1 -1
  132. package/dist/components/Span.d.ts +1 -1
  133. package/dist/components/Stop.d.ts +1 -1
  134. package/dist/components/Strong.d.ts +1 -1
  135. package/dist/components/Style.d.ts +1 -1
  136. package/dist/components/Sub.d.ts +1 -1
  137. package/dist/components/Summary.d.ts +1 -1
  138. package/dist/components/Sup.d.ts +1 -1
  139. package/dist/components/Svg.d.ts +1 -1
  140. package/dist/components/Switch.d.ts +1 -1
  141. package/dist/components/Symbol.d.ts +1 -1
  142. package/dist/components/Table.d.ts +1 -1
  143. package/dist/components/Tbody.d.ts +1 -1
  144. package/dist/components/Td.d.ts +1 -1
  145. package/dist/components/Template.d.ts +1 -1
  146. package/dist/components/Text.d.ts +1 -1
  147. package/dist/components/TextPath.d.ts +1 -1
  148. package/dist/components/Textarea.d.ts +1 -1
  149. package/dist/components/Tfoot.d.ts +1 -1
  150. package/dist/components/Th.d.ts +1 -1
  151. package/dist/components/Thead.d.ts +1 -1
  152. package/dist/components/Time.d.ts +1 -1
  153. package/dist/components/Title.d.ts +1 -1
  154. package/dist/components/Tr.d.ts +1 -1
  155. package/dist/components/Tspan.d.ts +1 -1
  156. package/dist/components/U.d.ts +1 -1
  157. package/dist/components/Ul.d.ts +1 -1
  158. package/dist/components/Use.d.ts +1 -1
  159. package/dist/components/Var.d.ts +1 -1
  160. package/dist/components/Video.d.ts +1 -1
  161. package/dist/components/View.d.ts +1 -1
  162. package/dist/components/Wbr.d.ts +1 -1
  163. package/dist/components/index.d.ts +14 -14
  164. package/dist/components/index.js +805 -162
  165. package/dist/consts.d.ts +1 -1
  166. package/dist/cssier.js +165 -805
  167. package/dist/hooks/index.d.ts +2 -0
  168. package/dist/hooks/index.js +72 -189
  169. package/dist/hooks/useAnimation.d.ts +2 -0
  170. package/dist/hooks/useCssProperty.d.ts +2 -0
  171. package/dist/hooks/useStylesheet.d.ts +1 -1
  172. package/dist/index.d.ts +16 -14
  173. package/dist/templates/ChildlessComponentTemplate.d.ts +6 -0
  174. package/dist/templates/ChildlessStoryTemplate.d.ts +6 -0
  175. package/dist/templates/ComponentTemplate.d.ts +1 -1
  176. package/dist/templates/InputStoryTemplate.d.ts +6 -0
  177. package/dist/types.d.ts +23 -2
  178. package/dist/useStylesheet-42306f27.mjs +212 -0
  179. package/dist/utilities/createAnimation.d.ts +2 -0
  180. package/dist/utilities/createCssProperty.d.ts +2 -0
  181. package/dist/utilities/generateId.d.ts +1 -0
  182. package/dist/utilities/index.d.ts +4 -0
  183. package/package.json +19 -2
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # 🎇cssier
2
2
 
3
+ ![sizeMin](https://img.shields.io/bundlephobia/min/cssier)
4
+ ![sizeMinZip](https://img.shields.io/bundlephobia/minzip/cssier)
5
+ ![languages](https://img.shields.io/github/languages/top/danbermantech/cssier)
6
+ ![GitHub package.json version](https://img.shields.io/github/package-json/v/danbermantech/cssier)
7
+ ![NPM License](https://img.shields.io/npm/l/cssier)
8
+
3
9
  cssier allows you to use inline styling for pseudo-classes and pseudo-elements on React components. With `cssier`, you can easily manage and apply custom styles for standard HTML and SVG elements, making your styling both dynamic and maintainable.
4
10
 
5
11
  ## Features
@@ -39,14 +45,16 @@ You can import pre-built React components for HTML and SVG tags from `cssier/com
39
45
  #### Example
40
46
 
41
47
  ```jsx
42
- import { Button, Svg } from 'cssier/components'
48
+ import { Button } from 'cssier/components'
43
49
 
44
50
  const MyComponent = () => (
51
+ const [count, setCount] = useState(0)
45
52
  <div>
46
- <Button onClick={() => alert('Clicked!')}>Click Me</Button>
47
- <Svg width="100" height="100">
48
- <circle cx="50" cy="50" r="40" stroke="black" strokeWidth="3" fill="red" />
49
- </Svg>
53
+ <Button pseudo={{
54
+ hover:{
55
+ background:['red','green','blue'][count%3],
56
+ transform:`scale(${1+count/10})`
57
+ }}} onClick={() => setCount(prev=>prev+1)}>Click Me</Button>
50
58
  </div>
51
59
  )
52
60
  ```
@@ -157,7 +165,7 @@ To contribute to `cssier`:
157
165
 
158
166
  ## License
159
167
 
160
- `cssier` is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
168
+ `cssier` is licensed under the ISC License. See the [LICENSE](LICENSE) file for more details.
161
169
 
162
170
  ## Additional Resources
163
171
 
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function A(props: ComponentProps<'a'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Abbr(props: ComponentProps<'abbr'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Address(props: ComponentProps<'address'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Animate(props: ComponentProps<'animate'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function AnimateTransform(props: ComponentProps<'animateTransform'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Area(props: ComponentProps<'area'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Article(props: ComponentProps<'article'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Aside(props: ComponentProps<'aside'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Audio(props: ComponentProps<'audio'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function B(props: ComponentProps<'b'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Base(props: ComponentProps<'base'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Bdi(props: ComponentProps<'bdi'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Bdo(props: ComponentProps<'bdo'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Blockquote(props: ComponentProps<'blockquote'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Body(props: ComponentProps<'body'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Br(props: ComponentProps<'br'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Button(props: ComponentProps<'button'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Canvas(props: ComponentProps<'canvas'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Caption(props: ComponentProps<'caption'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Circle(props: ComponentProps<'circle'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Cite(props: ComponentProps<'cite'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function ClipPath(props: ComponentProps<'clipPath'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Code(props: ComponentProps<'code'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Col(props: ComponentProps<'col'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Colgroup(props: ComponentProps<'colgroup'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Data(props: ComponentProps<'data'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Datalist(props: ComponentProps<'datalist'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Dd(props: ComponentProps<'dd'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Defs(props: ComponentProps<'defs'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Del(props: ComponentProps<'del'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Desc(props: ComponentProps<'desc'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Details(props: ComponentProps<'details'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Dfn(props: ComponentProps<'dfn'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Dialog(props: ComponentProps<'dialog'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Div(props: ComponentProps<'div'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Dl(props: ComponentProps<'dl'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Dt(props: ComponentProps<'dt'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Ellipse(props: ComponentProps<'ellipse'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Em(props: ComponentProps<'em'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Embed(props: ComponentProps<'embed'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeBlend(props: ComponentProps<'feBlend'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeColorMatrix(props: ComponentProps<'feColorMatrix'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeComponentTransfer(props: ComponentProps<'feComponentTransfer'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeComposite(props: ComponentProps<'feComposite'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeConvolveMatrix(props: ComponentProps<'feConvolveMatrix'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeDiffuseLighting(props: ComponentProps<'feDiffuseLighting'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeDisplacementMap(props: ComponentProps<'feDisplacementMap'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeDistantLight(props: ComponentProps<'feDistantLight'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeFlood(props: ComponentProps<'feFlood'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeGaussianBlur(props: ComponentProps<'feGaussianBlur'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeImage(props: ComponentProps<'feImage'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeMerge(props: ComponentProps<'feMerge'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeMergeNode(props: ComponentProps<'feMergeNode'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeMorphology(props: ComponentProps<'feMorphology'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeOffset(props: ComponentProps<'feOffset'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FePointLight(props: ComponentProps<'fePointLight'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeSpecularLighting(props: ComponentProps<'feSpecularLighting'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeSpotLight(props: ComponentProps<'feSpotLight'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeTile(props: ComponentProps<'feTile'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function FeTurbulence(props: ComponentProps<'feTurbulence'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Fieldset(props: ComponentProps<'fieldset'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Figcaption(props: ComponentProps<'figcaption'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Figure(props: ComponentProps<'figure'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Filter(props: ComponentProps<'filter'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Footer(props: ComponentProps<'footer'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function ForeignObject(props: ComponentProps<'foreignObject'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function Form(props: ComponentProps<'form'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function G(props: ComponentProps<'g'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../types';
3
3
  export default function H1(props: ComponentProps<'h1'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;