cssier 0.2.1 → 0.2.3

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 (184) hide show
  1. package/LICENSE +12 -18
  2. package/README.md +20 -8
  3. package/dist/components/A.d.ts +1 -1
  4. package/dist/components/Abbr.d.ts +1 -1
  5. package/dist/components/Address.d.ts +1 -1
  6. package/dist/components/Animate.d.ts +1 -1
  7. package/dist/components/AnimateTransform.d.ts +1 -1
  8. package/dist/components/Area.d.ts +1 -1
  9. package/dist/components/Article.d.ts +1 -1
  10. package/dist/components/Aside.d.ts +1 -1
  11. package/dist/components/Audio.d.ts +1 -1
  12. package/dist/components/B.d.ts +1 -1
  13. package/dist/components/Base.d.ts +1 -1
  14. package/dist/components/Bdi.d.ts +1 -1
  15. package/dist/components/Bdo.d.ts +1 -1
  16. package/dist/components/Blockquote.d.ts +1 -1
  17. package/dist/components/Body.d.ts +1 -1
  18. package/dist/components/Br.d.ts +1 -1
  19. package/dist/components/Button.d.ts +1 -1
  20. package/dist/components/Canvas.d.ts +1 -1
  21. package/dist/components/Caption.d.ts +1 -1
  22. package/dist/components/Circle.d.ts +1 -1
  23. package/dist/components/Cite.d.ts +1 -1
  24. package/dist/components/ClipPath.d.ts +1 -1
  25. package/dist/components/Code.d.ts +1 -1
  26. package/dist/components/Col.d.ts +1 -1
  27. package/dist/components/Colgroup.d.ts +1 -1
  28. package/dist/components/Data.d.ts +1 -1
  29. package/dist/components/Datalist.d.ts +1 -1
  30. package/dist/components/Dd.d.ts +1 -1
  31. package/dist/components/Defs.d.ts +1 -1
  32. package/dist/components/Del.d.ts +1 -1
  33. package/dist/components/Desc.d.ts +1 -1
  34. package/dist/components/Details.d.ts +1 -1
  35. package/dist/components/Dfn.d.ts +1 -1
  36. package/dist/components/Dialog.d.ts +1 -1
  37. package/dist/components/Div.d.ts +1 -1
  38. package/dist/components/Dl.d.ts +1 -1
  39. package/dist/components/Dt.d.ts +1 -1
  40. package/dist/components/Ellipse.d.ts +1 -1
  41. package/dist/components/Em.d.ts +1 -1
  42. package/dist/components/Embed.d.ts +1 -1
  43. package/dist/components/FeBlend.d.ts +1 -1
  44. package/dist/components/FeColorMatrix.d.ts +1 -1
  45. package/dist/components/FeComponentTransfer.d.ts +1 -1
  46. package/dist/components/FeComposite.d.ts +1 -1
  47. package/dist/components/FeConvolveMatrix.d.ts +1 -1
  48. package/dist/components/FeDiffuseLighting.d.ts +1 -1
  49. package/dist/components/FeDisplacementMap.d.ts +1 -1
  50. package/dist/components/FeDistantLight.d.ts +1 -1
  51. package/dist/components/FeFlood.d.ts +1 -1
  52. package/dist/components/FeGaussianBlur.d.ts +1 -1
  53. package/dist/components/FeImage.d.ts +1 -1
  54. package/dist/components/FeMerge.d.ts +1 -1
  55. package/dist/components/FeMergeNode.d.ts +1 -1
  56. package/dist/components/FeMorphology.d.ts +1 -1
  57. package/dist/components/FeOffset.d.ts +1 -1
  58. package/dist/components/FePointLight.d.ts +1 -1
  59. package/dist/components/FeSpecularLighting.d.ts +1 -1
  60. package/dist/components/FeSpotLight.d.ts +1 -1
  61. package/dist/components/FeTile.d.ts +1 -1
  62. package/dist/components/FeTurbulence.d.ts +1 -1
  63. package/dist/components/Fieldset.d.ts +1 -1
  64. package/dist/components/Figcaption.d.ts +1 -1
  65. package/dist/components/Figure.d.ts +1 -1
  66. package/dist/components/Filter.d.ts +1 -1
  67. package/dist/components/Footer.d.ts +1 -1
  68. package/dist/components/ForeignObject.d.ts +1 -1
  69. package/dist/components/Form.d.ts +1 -1
  70. package/dist/components/G.d.ts +1 -1
  71. package/dist/components/H1.d.ts +1 -1
  72. package/dist/components/H2.d.ts +1 -1
  73. package/dist/components/H3.d.ts +1 -1
  74. package/dist/components/H4.d.ts +1 -1
  75. package/dist/components/H5.d.ts +1 -1
  76. package/dist/components/H6.d.ts +1 -1
  77. package/dist/components/Head.d.ts +1 -1
  78. package/dist/components/Header.d.ts +1 -1
  79. package/dist/components/Hgroup.d.ts +1 -1
  80. package/dist/components/Hr.d.ts +1 -1
  81. package/dist/components/Html.d.ts +1 -1
  82. package/dist/components/I.d.ts +1 -1
  83. package/dist/components/Iframe.d.ts +1 -1
  84. package/dist/components/Image.d.ts +1 -1
  85. package/dist/components/Img.d.ts +1 -1
  86. package/dist/components/Input.d.ts +1 -1
  87. package/dist/components/Ins.d.ts +1 -1
  88. package/dist/components/Kbd.d.ts +1 -1
  89. package/dist/components/Label.d.ts +1 -1
  90. package/dist/components/Legend.d.ts +1 -1
  91. package/dist/components/Li.d.ts +1 -1
  92. package/dist/components/Line.d.ts +1 -1
  93. package/dist/components/LinearGradient.d.ts +1 -1
  94. package/dist/components/Link.d.ts +1 -1
  95. package/dist/components/Main.d.ts +1 -1
  96. package/dist/components/Map.d.ts +1 -1
  97. package/dist/components/Mark.d.ts +1 -1
  98. package/dist/components/Marker.d.ts +1 -1
  99. package/dist/components/Mask.d.ts +1 -1
  100. package/dist/components/Meta.d.ts +1 -1
  101. package/dist/components/Metadata.d.ts +1 -1
  102. package/dist/components/Meter.d.ts +1 -1
  103. package/dist/components/Mpath.d.ts +1 -1
  104. package/dist/components/Nav.d.ts +1 -1
  105. package/dist/components/Noscript.d.ts +1 -1
  106. package/dist/components/Object.d.ts +1 -1
  107. package/dist/components/Ol.d.ts +1 -1
  108. package/dist/components/Optgroup.d.ts +1 -1
  109. package/dist/components/Option.d.ts +1 -1
  110. package/dist/components/Output.d.ts +1 -1
  111. package/dist/components/P.d.ts +1 -1
  112. package/dist/components/Param.d.ts +1 -1
  113. package/dist/components/Path.d.ts +1 -1
  114. package/dist/components/Pattern.d.ts +1 -1
  115. package/dist/components/Picture.d.ts +1 -1
  116. package/dist/components/Polygon.d.ts +1 -1
  117. package/dist/components/Polyline.d.ts +1 -1
  118. package/dist/components/Pre.d.ts +1 -1
  119. package/dist/components/Progress.d.ts +1 -1
  120. package/dist/components/Q.d.ts +1 -1
  121. package/dist/components/RadialGradient.d.ts +1 -1
  122. package/dist/components/Rect.d.ts +1 -1
  123. package/dist/components/Rp.d.ts +1 -1
  124. package/dist/components/Rt.d.ts +1 -1
  125. package/dist/components/Ruby.d.ts +1 -1
  126. package/dist/components/S.d.ts +1 -1
  127. package/dist/components/Samp.d.ts +1 -1
  128. package/dist/components/Script.d.ts +1 -1
  129. package/dist/components/Section.d.ts +1 -1
  130. package/dist/components/Select.d.ts +1 -1
  131. package/dist/components/Small.d.ts +1 -1
  132. package/dist/components/Source.d.ts +1 -1
  133. package/dist/components/Span.d.ts +1 -1
  134. package/dist/components/Stop.d.ts +1 -1
  135. package/dist/components/Strong.d.ts +1 -1
  136. package/dist/components/Style.d.ts +1 -1
  137. package/dist/components/Sub.d.ts +1 -1
  138. package/dist/components/Summary.d.ts +1 -1
  139. package/dist/components/Sup.d.ts +1 -1
  140. package/dist/components/Svg.d.ts +1 -1
  141. package/dist/components/Switch.d.ts +1 -1
  142. package/dist/components/Symbol.d.ts +1 -1
  143. package/dist/components/Table.d.ts +1 -1
  144. package/dist/components/Tbody.d.ts +1 -1
  145. package/dist/components/Td.d.ts +1 -1
  146. package/dist/components/Template.d.ts +1 -1
  147. package/dist/components/Text.d.ts +1 -1
  148. package/dist/components/TextPath.d.ts +1 -1
  149. package/dist/components/Textarea.d.ts +1 -1
  150. package/dist/components/Tfoot.d.ts +1 -1
  151. package/dist/components/Th.d.ts +1 -1
  152. package/dist/components/Thead.d.ts +1 -1
  153. package/dist/components/Time.d.ts +1 -1
  154. package/dist/components/Title.d.ts +1 -1
  155. package/dist/components/Tr.d.ts +1 -1
  156. package/dist/components/Tspan.d.ts +1 -1
  157. package/dist/components/U.d.ts +1 -1
  158. package/dist/components/Ul.d.ts +1 -1
  159. package/dist/components/Use.d.ts +1 -1
  160. package/dist/components/Var.d.ts +1 -1
  161. package/dist/components/Video.d.ts +1 -1
  162. package/dist/components/View.d.ts +1 -1
  163. package/dist/components/Wbr.d.ts +1 -1
  164. package/dist/components/index.d.ts +14 -14
  165. package/dist/components/index.js +805 -162
  166. package/dist/consts.d.ts +1 -1
  167. package/dist/cssier.js +165 -805
  168. package/dist/hooks/index.d.ts +2 -0
  169. package/dist/hooks/index.js +72 -189
  170. package/dist/hooks/useAnimation.d.ts +2 -0
  171. package/dist/hooks/useCssProperty.d.ts +2 -0
  172. package/dist/hooks/useStylesheet.d.ts +1 -1
  173. package/dist/index.d.ts +16 -14
  174. package/dist/templates/ChildlessComponentTemplate.d.ts +6 -0
  175. package/dist/templates/ChildlessStoryTemplate.d.ts +6 -0
  176. package/dist/templates/ComponentTemplate.d.ts +1 -1
  177. package/dist/templates/InputStoryTemplate.d.ts +6 -0
  178. package/dist/types.d.ts +23 -2
  179. package/dist/useStylesheet-42306f27.mjs +212 -0
  180. package/dist/utilities/createAnimation.d.ts +2 -0
  181. package/dist/utilities/createCssProperty.d.ts +2 -0
  182. package/dist/utilities/generateId.d.ts +1 -0
  183. package/dist/utilities/index.d.ts +4 -0
  184. package/package.json +20 -2
package/LICENSE CHANGED
@@ -1,21 +1,15 @@
1
- MIT License
1
+ ISC License
2
2
 
3
- Copyright (c) [2023] [Ignacio Andrés Miranda Figueroa]
3
+ Copyright (c) [2024] [Dan Berman]
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
11
8
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
package/README.md CHANGED
@@ -1,6 +1,12 @@
1
- # 🪅cssier
1
+ # 🎇cssier
2
2
 
3
- `cssier` is a React component library designed to simplify inline styling for pseudo-classes and pseudo-elements. With `cssier`, you can easily manage and apply custom styles for standard HTML and SVG elements, making your styling both dynamic and maintainable.
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
+
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
6
12
 
@@ -36,15 +42,19 @@ pnpm add cssier
36
42
 
37
43
  You can import pre-built React components for HTML and SVG tags from `cssier/components`:
38
44
 
45
+ #### Example
46
+
39
47
  ```jsx
40
- import { Button, Svg } from 'cssier/components'
48
+ import { Button } from 'cssier/components'
41
49
 
42
50
  const MyComponent = () => (
51
+ const [count, setCount] = useState(0)
43
52
  <div>
44
- <Button onClick={() => alert('Clicked!')}>Click Me</Button>
45
- <Svg width="100" height="100">
46
- <circle cx="50" cy="50" r="40" stroke="black" strokeWidth="3" fill="red" />
47
- </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>
48
58
  </div>
49
59
  )
50
60
  ```
@@ -60,6 +70,8 @@ The `useStylesheet` hook returns an array where:
60
70
  - The first element is a unique CSS class ID that can be applied to the component.
61
71
  - The second element is a string of CSS styles that were injected into the document. This is useful for debugging, though you typically won't need to use it in production.
62
72
 
73
+ #### Example
74
+
63
75
  ```jsx
64
76
  import { useStylesheet } from 'cssier/hooks'
65
77
 
@@ -153,7 +165,7 @@ To contribute to `cssier`:
153
165
 
154
166
  ## License
155
167
 
156
- `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.
157
169
 
158
170
  ## Additional Resources
159
171
 
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { PseudoCss } from '../lib/types';
2
+ import type { PseudoCss } from '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/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 '../lib/types';
3
3
  export default function Figure(props: ComponentProps<'figure'> & {
4
4
  pseudo?: PseudoCss;
5
5
  pseudoId?: string;