@fpkit/acss 0.4.4

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 (297) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -0
  3. package/dist/chunk-77CZU5XZ.cjs +9 -0
  4. package/dist/chunk-77CZU5XZ.cjs.map +1 -0
  5. package/dist/chunk-D43FJIRQ.cjs +31 -0
  6. package/dist/chunk-D43FJIRQ.cjs.map +1 -0
  7. package/dist/chunk-GJWMCDFS.js +9 -0
  8. package/dist/chunk-GJWMCDFS.js.map +1 -0
  9. package/dist/chunk-PCDUGD3C.js +5 -0
  10. package/dist/chunk-PCDUGD3C.js.map +1 -0
  11. package/dist/hooks.cjs +10 -0
  12. package/dist/hooks.cjs.map +1 -0
  13. package/dist/hooks.d.cts +32 -0
  14. package/dist/hooks.d.ts +32 -0
  15. package/dist/hooks.js +8 -0
  16. package/dist/hooks.js.map +1 -0
  17. package/dist/icon-e6044c73.d.ts +227 -0
  18. package/dist/icons.cjs +73 -0
  19. package/dist/icons.cjs.map +1 -0
  20. package/dist/icons.d.cts +252 -0
  21. package/dist/icons.d.ts +252 -0
  22. package/dist/icons.js +4 -0
  23. package/dist/icons.js.map +1 -0
  24. package/dist/index.cjs +59 -0
  25. package/dist/index.cjs.map +1 -0
  26. package/dist/index.d.cts +566 -0
  27. package/dist/index.d.ts +566 -0
  28. package/dist/index.js +11 -0
  29. package/dist/index.js.map +1 -0
  30. package/libs/chunk-GCGKYLDG.js +7 -0
  31. package/libs/chunk-GCGKYLDG.js.map +1 -0
  32. package/libs/chunk-PDD4N5P5.cjs +10 -0
  33. package/libs/chunk-PDD4N5P5.cjs.map +1 -0
  34. package/libs/chunk-QHIABQNQ.js +8 -0
  35. package/libs/chunk-QHIABQNQ.js.map +1 -0
  36. package/libs/chunk-ZOHIKF6I.cjs +31 -0
  37. package/libs/chunk-ZOHIKF6I.cjs.map +1 -0
  38. package/libs/components/badge/badge.css +1 -0
  39. package/libs/components/badge/badge.css.map +1 -0
  40. package/libs/components/badge/badge.min.css +3 -0
  41. package/libs/components/breadcrumbs/breadcrumb.css +1 -0
  42. package/libs/components/breadcrumbs/breadcrumb.css.map +1 -0
  43. package/libs/components/breadcrumbs/breadcrumb.min.css +3 -0
  44. package/libs/components/buttons/button.css +1 -0
  45. package/libs/components/buttons/button.css.map +1 -0
  46. package/libs/components/buttons/button.min.css +3 -0
  47. package/libs/components/cards/card-style.css +1 -0
  48. package/libs/components/cards/card-style.css.map +1 -0
  49. package/libs/components/cards/card-style.min.css +3 -0
  50. package/libs/components/cards/card.css +1 -0
  51. package/libs/components/cards/card.css.map +1 -0
  52. package/libs/components/cards/card.min.css +3 -0
  53. package/libs/components/details/details.css +1 -0
  54. package/libs/components/details/details.css.map +1 -0
  55. package/libs/components/details/details.min.css +3 -0
  56. package/libs/components/form/form.css +1 -0
  57. package/libs/components/form/form.css.map +1 -0
  58. package/libs/components/form/form.min.css +3 -0
  59. package/libs/components/icons/icon.css +1 -0
  60. package/libs/components/icons/icon.css.map +1 -0
  61. package/libs/components/icons/icon.min.css +3 -0
  62. package/libs/components/images/img.css +1 -0
  63. package/libs/components/images/img.css.map +1 -0
  64. package/libs/components/images/img.min.css +3 -0
  65. package/libs/components/layout/landmarks.css +1 -0
  66. package/libs/components/layout/landmarks.css.map +1 -0
  67. package/libs/components/layout/landmarks.min.css +3 -0
  68. package/libs/components/link/link.css +1 -0
  69. package/libs/components/link/link.css.map +1 -0
  70. package/libs/components/link/link.min.css +3 -0
  71. package/libs/components/nav/nav.css +1 -0
  72. package/libs/components/nav/nav.css.map +1 -0
  73. package/libs/components/nav/nav.min.css +3 -0
  74. package/libs/components/progress/progress.css +1 -0
  75. package/libs/components/progress/progress.css.map +1 -0
  76. package/libs/components/progress/progress.min.css +3 -0
  77. package/libs/components/styles/index.css +1 -0
  78. package/libs/components/styles/index.css.map +1 -0
  79. package/libs/components/styles/index.min.css +3 -0
  80. package/libs/components/tag/tag.css +1 -0
  81. package/libs/components/tag/tag.css.map +1 -0
  82. package/libs/components/tag/tag.min.css +3 -0
  83. package/libs/components/text-to-speech/text-to-speech.css +1 -0
  84. package/libs/components/text-to-speech/text-to-speech.css.map +1 -0
  85. package/libs/components/text-to-speech/text-to-speech.min.css +3 -0
  86. package/libs/hooks.cjs +12 -0
  87. package/libs/hooks.cjs.map +1 -0
  88. package/libs/hooks.d.cts +32 -0
  89. package/libs/hooks.d.ts +32 -0
  90. package/libs/hooks.js +3 -0
  91. package/libs/hooks.js.map +1 -0
  92. package/libs/icons-1f5afc0c.d.ts +318 -0
  93. package/libs/icons.cjs +12 -0
  94. package/libs/icons.cjs.map +1 -0
  95. package/libs/icons.d.cts +2 -0
  96. package/libs/icons.d.ts +2 -0
  97. package/libs/icons.js +3 -0
  98. package/libs/icons.js.map +1 -0
  99. package/libs/index.cjs +71 -0
  100. package/libs/index.cjs.map +1 -0
  101. package/libs/index.css +1 -0
  102. package/libs/index.css.map +1 -0
  103. package/libs/index.d.cts +551 -0
  104. package/libs/index.d.ts +551 -0
  105. package/libs/index.js +11 -0
  106. package/libs/index.js.map +1 -0
  107. package/package.json +125 -0
  108. package/src/App.css +42 -0
  109. package/src/App.tsx +35 -0
  110. package/src/__snapshots__/App.test.tsx.snap +56 -0
  111. package/src/components/.gitkeep +0 -0
  112. package/src/components/__snapshots__/fp.test.tsx.snap +3 -0
  113. package/src/components/badge/badge.scss +20 -0
  114. package/src/components/badge/badge.stories.tsx +54 -0
  115. package/src/components/badge/badge.tsx +17 -0
  116. package/src/components/breadcrumbs/bc-item.tsx +20 -0
  117. package/src/components/breadcrumbs/breadcrumb.scss +35 -0
  118. package/src/components/breadcrumbs/breadcrumb.stories.tsx +92 -0
  119. package/src/components/breadcrumbs/breadcrumb.tsx +218 -0
  120. package/src/components/buttons/button.scss +115 -0
  121. package/src/components/buttons/button.stories.tsx +57 -0
  122. package/src/components/buttons/button.test.tsx +104 -0
  123. package/src/components/buttons/button.tsx +64 -0
  124. package/src/components/cards/card-style.scss +0 -0
  125. package/src/components/cards/card.scss +43 -0
  126. package/src/components/cards/card.stories.tsx +114 -0
  127. package/src/components/cards/card.test.tsx +30 -0
  128. package/src/components/cards/card.tsx +135 -0
  129. package/src/components/cards/flex-card.tsx +15 -0
  130. package/src/components/details/details.scss +75 -0
  131. package/src/components/details/details.stories.tsx +122 -0
  132. package/src/components/details/details.tsx +77 -0
  133. package/src/components/form/README.mdx +70 -0
  134. package/src/components/form/fields.tsx +45 -0
  135. package/src/components/form/form.scss +87 -0
  136. package/src/components/form/form.stories.tsx +49 -0
  137. package/src/components/form/form.tsx +71 -0
  138. package/src/components/form/input.stories.tsx +155 -0
  139. package/src/components/form/inputs.tsx +84 -0
  140. package/src/components/form/select.stories.tsx +38 -0
  141. package/src/components/form/select.tsx +112 -0
  142. package/src/components/form/textarea.tsx +87 -0
  143. package/src/components/fp.test.tsx +56 -0
  144. package/src/components/fp.tsx +78 -0
  145. package/src/components/heading/heading.stories.tsx +75 -0
  146. package/src/components/heading/heading.tsx +27 -0
  147. package/src/components/icons/components/add.tsx +42 -0
  148. package/src/components/icons/components/arrow-down.tsx +52 -0
  149. package/src/components/icons/components/arrow-left.tsx +49 -0
  150. package/src/components/icons/components/arrow-right.tsx +52 -0
  151. package/src/components/icons/components/arrow-up.tsx +49 -0
  152. package/src/components/icons/components/chat.tsx +44 -0
  153. package/src/components/icons/components/code.tsx +50 -0
  154. package/src/components/icons/components/copy.tsx +51 -0
  155. package/src/components/icons/components/down.tsx +33 -0
  156. package/src/components/icons/components/home.tsx +57 -0
  157. package/src/components/icons/components/left.tsx +43 -0
  158. package/src/components/icons/components/minus.tsx +42 -0
  159. package/src/components/icons/components/pause-solid.tsx +48 -0
  160. package/src/components/icons/components/pause.tsx +63 -0
  161. package/src/components/icons/components/play-solid.tsx +44 -0
  162. package/src/components/icons/components/play.tsx +51 -0
  163. package/src/components/icons/components/remove.tsx +42 -0
  164. package/src/components/icons/components/resume-solid.tsx +52 -0
  165. package/src/components/icons/components/resume.tsx +57 -0
  166. package/src/components/icons/components/right.tsx +43 -0
  167. package/src/components/icons/components/star.tsx +38 -0
  168. package/src/components/icons/components/stop-solid.tsx +44 -0
  169. package/src/components/icons/components/stop.tsx +54 -0
  170. package/src/components/icons/components/svg.tsx +44 -0
  171. package/src/components/icons/components/up.tsx +31 -0
  172. package/src/components/icons/components/user.tsx +46 -0
  173. package/src/components/icons/icon.scss +15 -0
  174. package/src/components/icons/icon.stories.tsx +208 -0
  175. package/src/components/icons/icon.tsx +100 -0
  176. package/src/components/icons/index.ts +29 -0
  177. package/src/components/icons/types.ts +12 -0
  178. package/src/components/images/README.mdx +43 -0
  179. package/src/components/images/figure.stories.tsx +34 -0
  180. package/src/components/images/figure.tsx +44 -0
  181. package/src/components/images/img.scss +43 -0
  182. package/src/components/images/img.stories.tsx +24 -0
  183. package/src/components/images/img.test.tsx +43 -0
  184. package/src/components/images/img.tsx +93 -0
  185. package/src/components/images/place-holder.png +0 -0
  186. package/src/components/kit.tsx +56 -0
  187. package/src/components/layout/_header.scss +72 -0
  188. package/src/components/layout/footer.stories.tsx +34 -0
  189. package/src/components/layout/landmarks.scss +51 -0
  190. package/src/components/layout/landmarks.stories.tsx +54 -0
  191. package/src/components/layout/landmarks.tsx +149 -0
  192. package/src/components/layout/main.stories.tsx +90 -0
  193. package/src/components/link/link.scss +92 -0
  194. package/src/components/link/link.stories.tsx +74 -0
  195. package/src/components/link/link.tsx +48 -0
  196. package/src/components/list/list.stories.tsx +52 -0
  197. package/src/components/list/list.tsx +74 -0
  198. package/src/components/modal/dialog.tsx +50 -0
  199. package/src/components/modal/modal.tsx +85 -0
  200. package/src/components/nav/nav.scss +90 -0
  201. package/src/components/nav/nav.stories.tsx +96 -0
  202. package/src/components/nav/nav.tsx +76 -0
  203. package/src/components/popover/node_modules/.vitest/results.json +1 -0
  204. package/src/components/popover/popover.stories.tsx +31 -0
  205. package/src/components/popover/popover.test.tsx +39 -0
  206. package/src/components/popover/popover.tsx +85 -0
  207. package/src/components/progress/progress.scss +70 -0
  208. package/src/components/progress/progress.stories.tsx +51 -0
  209. package/src/components/progress/progress.tsx +82 -0
  210. package/src/components/readme.stories.mdx +7 -0
  211. package/src/components/styles/index.css +520 -0
  212. package/src/components/styles/index.css.map +1 -0
  213. package/src/components/tables/table-elements.tsx +57 -0
  214. package/src/components/tables/table.tsx +57 -0
  215. package/src/components/tag/tag.scss +56 -0
  216. package/src/components/tag/tag.stories.tsx +39 -0
  217. package/src/components/tag/tag.tsx +25 -0
  218. package/src/components/text/text.stories.tsx +67 -0
  219. package/src/components/text/text.tsx +93 -0
  220. package/src/components/text-to-speech/README.mdx +192 -0
  221. package/src/components/text-to-speech/TextInput.tsx +19 -0
  222. package/src/components/text-to-speech/TextToSpeech.stories.tsx +145 -0
  223. package/src/components/text-to-speech/TextToSpeech.tsx +94 -0
  224. package/src/components/text-to-speech/text-to-speech.scss +31 -0
  225. package/src/components/text-to-speech/useTextToSpeech.mdx +182 -0
  226. package/src/components/text-to-speech/useTextToSpeech.tsx +176 -0
  227. package/src/components/text-to-speech/views/TextToSpeechControls.tsx +117 -0
  228. package/src/components/ui.tsx +67 -0
  229. package/src/favicon.svg +15 -0
  230. package/src/hooks/popover/__snapshots__/popover.test.tsx.snap +88 -0
  231. package/src/hooks/popover/node_modules/.vitest/results.json +1 -0
  232. package/src/hooks/popover/popover.tsx +71 -0
  233. package/src/hooks/popover/use-popover.tsx +83 -0
  234. package/src/hooks.ts +1 -0
  235. package/src/icons.ts +1 -0
  236. package/src/index.css +13 -0
  237. package/src/index.scss +19 -0
  238. package/src/index.ts +35 -0
  239. package/src/libs/content.ts +30 -0
  240. package/src/logo.svg +7 -0
  241. package/src/main.tsx +10 -0
  242. package/src/patterns/.gitkeep +0 -0
  243. package/src/patterns/page/page-header.stories.tsx +44 -0
  244. package/src/patterns/page/page-header.tsx +78 -0
  245. package/src/sass/_elements.scss +17 -0
  246. package/src/sass/_globals.scss +162 -0
  247. package/src/sass/_layout.scss +51 -0
  248. package/src/sass/_loading-animation.scss +35 -0
  249. package/src/sass/_mixins.scss +10 -0
  250. package/src/sass/_properties.scss +106 -0
  251. package/src/sass/_reset.scss +183 -0
  252. package/src/sass/_type.scss +43 -0
  253. package/src/setupTest.ts +1 -0
  254. package/src/styles/badge/badge.css +22 -0
  255. package/src/styles/badge/badge.css.map +1 -0
  256. package/src/styles/breadcrumbs/breadcrumb.css +42 -0
  257. package/src/styles/breadcrumbs/breadcrumb.css.map +1 -0
  258. package/src/styles/buttons/button.css +93 -0
  259. package/src/styles/buttons/button.css.map +1 -0
  260. package/src/styles/cards/card-style.css +3 -0
  261. package/src/styles/cards/card-style.css.map +1 -0
  262. package/src/styles/cards/card.css +48 -0
  263. package/src/styles/cards/card.css.map +1 -0
  264. package/src/styles/details/details.css +69 -0
  265. package/src/styles/details/details.css.map +1 -0
  266. package/src/styles/dropdowns/dropdown.css.map +1 -0
  267. package/src/styles/form/form.css +93 -0
  268. package/src/styles/form/form.css.map +1 -0
  269. package/src/styles/form/style.css.map +1 -0
  270. package/src/styles/icons/icon.css +16 -0
  271. package/src/styles/icons/icon.css.map +1 -0
  272. package/src/styles/images/img.css +42 -0
  273. package/src/styles/images/img.css.map +1 -0
  274. package/src/styles/index.css +1330 -0
  275. package/src/styles/index.css.map +1 -0
  276. package/src/styles/layout/landmarks.css +155 -0
  277. package/src/styles/layout/landmarks.css.map +1 -0
  278. package/src/styles/link/link.css +88 -0
  279. package/src/styles/link/link.css.map +1 -0
  280. package/src/styles/nav/nav.css +85 -0
  281. package/src/styles/nav/nav.css.map +1 -0
  282. package/src/styles/progress/progress.css +54 -0
  283. package/src/styles/progress/progress.css.map +1 -0
  284. package/src/styles/progress/sass/progress.css.map +1 -0
  285. package/src/styles/styles/index.css +562 -0
  286. package/src/styles/styles/index.css.map +1 -0
  287. package/src/styles/tag/badge.css.map +1 -0
  288. package/src/styles/tag/tag.css +71 -0
  289. package/src/styles/tag/tag.css.map +1 -0
  290. package/src/styles/text-to-speech/text-to-speech.css +32 -0
  291. package/src/styles/text-to-speech/text-to-speech.css.map +1 -0
  292. package/src/test/setup.ts +6 -0
  293. package/src/types/component-props.ts +36 -0
  294. package/src/types/index.ts +2 -0
  295. package/src/types/input-props.ts +28 -0
  296. package/src/types/shared.ts +57 -0
  297. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,57 @@
1
+ import { IconProps } from '../types'
2
+ import React from 'react'
3
+ import Svg from './svg'
4
+
5
+ const defaultStyles = {
6
+ ...Svg.styles,
7
+ fill: 'currentColor',
8
+ stroke: 'none',
9
+ }
10
+
11
+ /**
12
+ * Renders a home icon.
13
+ *
14
+ * @param {string} strokeColor - The color of the icon's stroke.
15
+ * @param {string} fill - The color of the icon's fill.
16
+ * @param {string} size - The size of the icon.
17
+ * @param {string} viewBox - The viewBox of the icon.
18
+ * @param {string} name - The name of the icon.
19
+ * @param {Object} styles - The styles of the icon.
20
+ * @param {Object} props - The props of the icon.
21
+ * @returns {JSX.Element} - A home icon.
22
+ */
23
+ export const Home = ({
24
+ strokeColor = 'currentColor',
25
+ fill = 'none',
26
+ size = 16,
27
+ styles = defaultStyles,
28
+ role = 'img',
29
+ alt = 'Home icon',
30
+ ...props
31
+ }: Pick<
32
+ IconProps,
33
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
34
+ >) => {
35
+ return (
36
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
37
+ <g
38
+ fill={fill}
39
+ stroke={strokeColor}
40
+ strokeLinecap="square"
41
+ strokeLinejoin="miter"
42
+ strokeMiterlimit="10"
43
+ strokeWidth="2"
44
+ >
45
+ <polygon
46
+ fill="none"
47
+ points="12 2 2 10 2 23 9 23 9 16 15 16 15 23 22 23 22 10 12 2"
48
+ stroke={strokeColor}
49
+ />
50
+ </g>
51
+ </Svg>
52
+ )
53
+ }
54
+
55
+ export default Home
56
+ Home.displayName = 'Home'
57
+ Home.styles = defaultStyles
@@ -0,0 +1,43 @@
1
+ import { IconProps } from '../types'
2
+ import React from 'react'
3
+ import Svg from './svg'
4
+
5
+ const defaultStyles = {
6
+ ...Svg.styles,
7
+ fill: 'currentColor',
8
+ }
9
+
10
+ /**
11
+ * Left arrow icon
12
+ * @param {string} fill - Icon fill color (default: 'currentColor')
13
+ * @param {string} size - Icon size (default: '24')
14
+ * @param {React.CSSProperties} styles - Icon styles (default: {})
15
+ * @param {IconProps} props - Any other valid props for an SVG element
16
+ * @returns {JSX.Element} - Rendered icon component
17
+ */
18
+ export const Left = ({
19
+ fill = 'currentColor',
20
+ size = 16,
21
+ styles,
22
+ role = 'img',
23
+ alt = 'Left arrow icon',
24
+ ...props
25
+ }: Pick<
26
+ IconProps,
27
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
28
+ >) => {
29
+ return (
30
+ <Svg size={size} styles={styles} alt={alt} role={role} {...props}>
31
+ <g fill={fill}>
32
+ <path
33
+ d="M17,23a1,1,0,0,1-.707-.293l-10-10a1,1,0,0,1,0-1.414l10-10a1,1,0,0,1,1.414,1.414L8.414,12l9.293,9.293A1,1,0,0,1,17,23Z"
34
+ fill={fill}
35
+ />
36
+ </g>
37
+ </Svg>
38
+ )
39
+ }
40
+
41
+ export default Left
42
+ Left.displayName = 'Left'
43
+ Left.styles = defaultStyles
@@ -0,0 +1,42 @@
1
+ import { IconProps } from '../types'
2
+ import React from 'react'
3
+ import Svg from './svg'
4
+
5
+ const defaultStyles = {
6
+ fill: 'currentColor',
7
+ }
8
+
9
+ /**
10
+ * Minus icon component
11
+ * @param {string} size - Icon size (default: 24)
12
+ * @param {string} fill - Icon fill color (default: 'currentColor')
13
+ * @param {object} styles - Inline styles for the SVG element
14
+ * @param {object} props - Any other SVG attributes
15
+ * @returns {JSX.Element} - Rendered Minus icon component
16
+ */
17
+ export const Minus = ({
18
+ size = 24,
19
+ fill = 'currentColor',
20
+ styles,
21
+ role = 'img',
22
+ alt = 'Minus icon',
23
+ ...props
24
+ }: Pick<
25
+ IconProps,
26
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
27
+ >) => {
28
+ return (
29
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
30
+ <g fill={fill}>
31
+ <path
32
+ d="M17,11H7c-.553,0-1,.447-1,1s.447,1,1,1h10c.553,0,1-.447,1-1s-.447-1-1-1Z"
33
+ fill={fill}
34
+ />
35
+ </g>
36
+ </Svg>
37
+ )
38
+ }
39
+
40
+ export default Minus
41
+ Minus.displayName = 'Minus'
42
+ Minus.styles = defaultStyles
@@ -0,0 +1,48 @@
1
+ import * as React from 'react'
2
+
3
+ import { IconProps } from '../types'
4
+ import Svg from './svg'
5
+
6
+ const defaultStyles = {
7
+ ...Svg.styles,
8
+ fill: 'none',
9
+ stroke: 'currentColor',
10
+ }
11
+
12
+ /**
13
+ * ArrowUp icon component
14
+ * @param fill - Icon fill color
15
+ * @param strokeColor - Icon stroke color
16
+ * @param styles - Icon styles
17
+ * @param size - Icon size
18
+ */
19
+ export const PauseSolid = ({
20
+ strokeColor = 'currentColor',
21
+ styles,
22
+ size = 24,
23
+ role = 'img',
24
+ alt = 'Pause arrow icon',
25
+ ...props
26
+ }: Pick<
27
+ IconProps,
28
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
29
+ >) => {
30
+ return (
31
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
32
+ <g fill={strokeColor}>
33
+ <path
34
+ d="M7,1H2A1,1,0,0,0,1,2V22a1,1,0,0,0,1,1H7a1,1,0,0,0,1-1V2A1,1,0,0,0,7,1Z"
35
+ fill={strokeColor}
36
+ ></path>
37
+ <path
38
+ d="M22,1H17a1,1,0,0,0-1,1V22a1,1,0,0,0,1,1h5a1,1,0,0,0,1-1V2A1,1,0,0,0,22,1Z"
39
+ fill={strokeColor}
40
+ ></path>
41
+ </g>
42
+ </Svg>
43
+ )
44
+ }
45
+
46
+ export default PauseSolid
47
+ PauseSolid.displayName = 'PauseSolid'
48
+ PauseSolid.style = defaultStyles
@@ -0,0 +1,63 @@
1
+ import * as React from 'react'
2
+
3
+ import { IconProps } from '../types'
4
+ import Svg from './svg'
5
+
6
+ const defaultStyles = {
7
+ ...Svg.styles,
8
+ fill: 'none',
9
+ stroke: 'currentColor',
10
+ }
11
+
12
+ /**
13
+ * ArrowUp icon component
14
+ * @param fill - Icon fill color
15
+ * @param strokeColor - Icon stroke color
16
+ * @param styles - Icon styles
17
+ * @param size - Icon size
18
+ */
19
+ export const Pause = ({
20
+ strokeColor = 'currentColor',
21
+ styles,
22
+ size = 16,
23
+ role = 'img',
24
+ alt = 'Up arrow icon',
25
+ ...props
26
+ }: Pick<
27
+ IconProps,
28
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
29
+ >) => {
30
+ return (
31
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
32
+ <g
33
+ fill="none"
34
+ stroke-linecap="square"
35
+ stroke-linejoin="miter"
36
+ stroke-miterlimit="10"
37
+ >
38
+ <rect
39
+ x="2"
40
+ y="2"
41
+ width="6"
42
+ height="20"
43
+ fill="none"
44
+ stroke={strokeColor}
45
+ stroke-width="2"
46
+ ></rect>
47
+ <rect
48
+ x="16"
49
+ y="2"
50
+ width="6"
51
+ height="20"
52
+ fill="none"
53
+ stroke={strokeColor}
54
+ stroke-width="2"
55
+ ></rect>
56
+ </g>
57
+ </Svg>
58
+ )
59
+ }
60
+
61
+ export default Pause
62
+ Pause.displayName = 'Pause'
63
+ Pause.style = defaultStyles
@@ -0,0 +1,44 @@
1
+ import * as React from 'react'
2
+
3
+ import { IconProps } from '../types'
4
+ import Svg from './svg'
5
+
6
+ const defaultStyles = {
7
+ ...Svg.styles,
8
+ fill: 'none',
9
+ stroke: 'currentColor',
10
+ }
11
+
12
+ /**
13
+ * ArrowUp icon component
14
+ * @param fill - Icon fill color
15
+ * @param strokeColor - Icon stroke color
16
+ * @param styles - Icon styles
17
+ * @param size - Icon size
18
+ */
19
+ export const PlaySolid = ({
20
+ strokeColor = 'currentColor',
21
+ styles,
22
+ size = 24,
23
+ role = 'img',
24
+ alt = 'Up arrow icon',
25
+ ...props
26
+ }: Pick<
27
+ IconProps,
28
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
29
+ >) => {
30
+ return (
31
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
32
+ <g fill={strokeColor}>
33
+ <path
34
+ fill={strokeColor}
35
+ d="M20.555,11.168l-15-10c-0.307-0.204-0.702-0.224-1.026-0.05C4.203,1.292,4,1.631,4,2v20 c0,0.369,0.203,0.708,0.528,0.882C4.676,22.961,4.838,23,5,23c0.194,0,0.388-0.057,0.555-0.168l15-10C20.833,12.646,21,12.334,21,12 S20.833,11.354,20.555,11.168z"
36
+ ></path>
37
+ </g>
38
+ </Svg>
39
+ )
40
+ }
41
+
42
+ export default PlaySolid
43
+ PlaySolid.displayName = 'PlaySolid'
44
+ PlaySolid.style = defaultStyles
@@ -0,0 +1,51 @@
1
+ import * as React from 'react'
2
+
3
+ import { IconProps } from '../types'
4
+ import Svg from './svg'
5
+
6
+ const defaultStyles = {
7
+ ...Svg.styles,
8
+ fill: 'none',
9
+ stroke: 'currentColor',
10
+ }
11
+
12
+ /**
13
+ * ArrowUp icon component
14
+ * @param fill - Icon fill color
15
+ * @param strokeColor - Icon stroke color
16
+ * @param styles - Icon styles
17
+ * @param size - Icon size
18
+ */
19
+ export const Play = ({
20
+ strokeColor = 'currentColor',
21
+ styles,
22
+ size = 24,
23
+ role = 'img',
24
+ alt = 'Up arrow icon',
25
+ ...props
26
+ }: Pick<
27
+ IconProps,
28
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
29
+ >) => {
30
+ return (
31
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
32
+ <g
33
+ fill="none"
34
+ stroke-linecap="square"
35
+ stroke-linejoin="miter"
36
+ stroke-miterlimit="10"
37
+ >
38
+ <path
39
+ d="M7 21L7 3L19 12L7 21Z"
40
+ stroke={strokeColor}
41
+ stroke-width="2"
42
+ fill="none"
43
+ ></path>{' '}
44
+ </g>
45
+ </Svg>
46
+ )
47
+ }
48
+
49
+ export default Play
50
+ Play.displayName = 'PlayIcon'
51
+ Play.style = defaultStyles
@@ -0,0 +1,42 @@
1
+ import { IconProps } from '../types'
2
+ import React from 'react'
3
+ import Svg from './svg'
4
+
5
+ const defaultStyles = {
6
+ fill: 'currenStyle',
7
+ }
8
+
9
+ /**
10
+ * Remove icon component
11
+ * @param {string} size - The size of the icon
12
+ * @param {string} fill - The fill color of the icon
13
+ * @param {object} styles - The styles to apply to the icon
14
+ * @param {object} props - The additional props to pass to the icon
15
+ * @returns {JSX.Element} - The Remove icon component
16
+ */
17
+ export const Remove = ({
18
+ size = 16,
19
+ fill = 'currentColor',
20
+ styles,
21
+ role = 'img',
22
+ alt = 'Remove icon',
23
+ ...props
24
+ }: Pick<
25
+ IconProps,
26
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
27
+ >) => {
28
+ return (
29
+ <Svg size={size} alt={alt} styles={styles} role={role} {...props}>
30
+ <g fill={fill}>
31
+ <path
32
+ d="M19.7,4.3c-0.4-0.4-1-0.4-1.4,0L12,10.6L5.7,4.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l6.3,6.3l-6.3,6.3 c-0.4,0.4-0.4,1,0,1.4C4.5,19.9,4.7,20,5,20s0.5-0.1,0.7-0.3l6.3-6.3l6.3,6.3c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3 c0.4-0.4,0.4-1,0-1.4L13.4,12l6.3-6.3C20.1,5.3,20.1,4.7,19.7,4.3z"
33
+ fill={fill}
34
+ />
35
+ </g>
36
+ </Svg>
37
+ )
38
+ }
39
+
40
+ export default Remove
41
+ Remove.displayName = 'Remove'
42
+ Remove.styles = defaultStyles
@@ -0,0 +1,52 @@
1
+ import * as React from 'react'
2
+
3
+ import { IconProps } from '../types'
4
+ import Svg from './svg'
5
+
6
+ const defaultStyles = {
7
+ ...Svg.styles,
8
+ fill: 'none',
9
+ stroke: 'currentColor',
10
+ }
11
+
12
+ /**
13
+ * Resume icon component
14
+ * @param fill - Icon fill color
15
+ * @param strokeColor - Icon stroke color
16
+ * @param styles - Icon styles
17
+ * @param size - Icon size
18
+ */
19
+ export const ResumeSolid = ({
20
+ strokeColor = 'currentColor',
21
+ styles,
22
+ size = 16,
23
+ role = 'img',
24
+ alt = 'Up arrow icon',
25
+ ...props
26
+ }: Pick<
27
+ IconProps,
28
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
29
+ >) => {
30
+ return (
31
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
32
+ <g fill={strokeColor}>
33
+ <path
34
+ fill={strokeColor}
35
+ fill-rule="evenodd"
36
+ clip-rule="evenodd"
37
+ d="M3 21.8685L17.8028 12L3 2.1315L3 21.8685Z"
38
+ ></path>
39
+ <path
40
+ fill={strokeColor}
41
+ fill-rule="evenodd"
42
+ clip-rule="evenodd"
43
+ d="M19 2L19 22L21 22L21 2L19 2Z"
44
+ ></path>
45
+ </g>
46
+ </Svg>
47
+ )
48
+ }
49
+
50
+ export default ResumeSolid
51
+ ResumeSolid.displayName = 'ResumeSolid'
52
+ ResumeSolid.style = defaultStyles
@@ -0,0 +1,57 @@
1
+ import * as React from 'react'
2
+
3
+ import { IconProps } from '../types'
4
+ import Svg from './svg'
5
+
6
+ const defaultStyles = {
7
+ ...Svg.styles,
8
+ fill: 'none',
9
+ stroke: 'currentColor',
10
+ }
11
+
12
+ /**
13
+ * Resume icon component
14
+ * @param fill - Icon fill color
15
+ * @param strokeColor - Icon stroke color
16
+ * @param styles - Icon styles
17
+ * @param size - Icon size
18
+ */
19
+ export const Resume = ({
20
+ strokeColor = 'currentColor',
21
+ styles,
22
+ size = 16,
23
+ role = 'img',
24
+ alt = 'Up arrow icon',
25
+ ...props
26
+ }: Pick<
27
+ IconProps,
28
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
29
+ >) => {
30
+ return (
31
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
32
+ <g
33
+ fill="none"
34
+ stroke-linecap="square"
35
+ stroke-linejoin="miter"
36
+ stroke-miterlimit="10"
37
+ >
38
+ <path
39
+ d="M20 21L20 3"
40
+ stroke={strokeColor}
41
+ stroke-width="2"
42
+ fill="none"
43
+ ></path>
44
+ <path
45
+ d="M4 4L4 20L16 12L4 4Z"
46
+ stroke={strokeColor}
47
+ stroke-width="2"
48
+ fill="none"
49
+ ></path>
50
+ </g>
51
+ </Svg>
52
+ )
53
+ }
54
+
55
+ export default Resume
56
+ Resume.displayName = 'Resume'
57
+ Resume.style = defaultStyles
@@ -0,0 +1,43 @@
1
+ import { IconProps } from '../types'
2
+ import React from 'react'
3
+ import Svg from './svg'
4
+
5
+ const defaultStyles = {
6
+ fill: 'currentColor',
7
+ }
8
+
9
+ /**
10
+ * Renders a right arrow icon.
11
+ *
12
+ * @param {string} size - The size of the icon.
13
+ * @param {string} fill - The fill color of the icon.
14
+ * @param {React.CSSProperties} styles - The styles to apply to the icon.
15
+ * @param {IconProps} props - The props to pass down to the icon.
16
+ * @returns {JSX.Element} - A right arrow icon.
17
+ */
18
+ export const Right = ({
19
+ size = 16,
20
+ fill = 'currentColor',
21
+ styles,
22
+ role = 'img',
23
+ alt = 'Right arrow icon',
24
+ ...props
25
+ }: Pick<
26
+ IconProps,
27
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
28
+ >) => {
29
+ return (
30
+ <Svg size={size} alt={alt} styles={styles} role={role} {...props}>
31
+ <g fill={fill}>
32
+ <path
33
+ d="M7,23a1,1,0,0,1-.707-1.707L15.586,12,6.293,2.707A1,1,0,0,1,7.707,1.293l10,10a1,1,0,0,1,0,1.414l-10,10A1,1,0,0,1,7,23Z"
34
+ fill={fill}
35
+ />
36
+ </g>
37
+ </Svg>
38
+ )
39
+ }
40
+
41
+ export default Right
42
+ Right.displayName = 'Right'
43
+ Right.styles = defaultStyles
@@ -0,0 +1,38 @@
1
+ import { IconProps } from '../types'
2
+ import React from 'react'
3
+ import Svg from './svg'
4
+
5
+ export function Star({
6
+ size = 16,
7
+ fill,
8
+ strokeColor = 'currentColor',
9
+ styles,
10
+ role = 'img',
11
+ alt = 'Star icon',
12
+ ...props
13
+ }: Pick<
14
+ IconProps,
15
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
16
+ >) {
17
+ return (
18
+ <Svg size={size} alt={alt} styles={styles} role={role} {...props}>
19
+ <g
20
+ fill={fill}
21
+ stroke={strokeColor}
22
+ strokeLinecap="square"
23
+ strokeLinejoin="miter"
24
+ strokeMiterlimit="10"
25
+ strokeWidth="2"
26
+ >
27
+ <polygon
28
+ fill="none"
29
+ points="12,2.49 15.09,8.75 22,9.754 17,14.628 18.18,21.51 12,18.262 5.82,21.51 7,14.628 2,9.754 8.91,8.75 "
30
+ stroke={strokeColor}
31
+ />
32
+ </g>
33
+ </Svg>
34
+ )
35
+ }
36
+
37
+ export default Star
38
+ Star.displayName = 'Star'
@@ -0,0 +1,44 @@
1
+ import * as React from 'react'
2
+
3
+ import { IconProps } from '../types'
4
+ import Svg from './svg'
5
+
6
+ const defaultStyles = {
7
+ ...Svg.styles,
8
+ fill: 'none',
9
+ stroke: 'currentColor',
10
+ }
11
+
12
+ /**
13
+ * Stop icon component
14
+ * @param fill - Icon fill color
15
+ * @param strokeColor - Icon stroke color
16
+ * @param styles - Icon styles
17
+ * @param size - Icon size
18
+ */
19
+ export const StopSolid = ({
20
+ strokeColor = 'currentColor',
21
+ styles,
22
+ size = 24,
23
+ role = 'img',
24
+ alt = 'Stop icon',
25
+ ...props
26
+ }: Pick<
27
+ IconProps,
28
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
29
+ >) => {
30
+ return (
31
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
32
+ <g fill={strokeColor}>
33
+ <path
34
+ fill={strokeColor}
35
+ d="M22,1H2C1.447,1,1,1.447,1,2v20c0,0.553,0.447,1,1,1h20c0.553,0,1-0.447,1-1V2C23,1.447,22.553,1,22,1z"
36
+ ></path>
37
+ </g>
38
+ </Svg>
39
+ )
40
+ }
41
+
42
+ export default StopSolid
43
+ StopSolid.displayName = 'StopSolid'
44
+ StopSolid.style = defaultStyles
@@ -0,0 +1,54 @@
1
+ import * as React from 'react'
2
+
3
+ import { IconProps } from '../types'
4
+ import Svg from './svg'
5
+
6
+ const defaultStyles = {
7
+ ...Svg.styles,
8
+ fill: 'none',
9
+ stroke: 'currentColor',
10
+ }
11
+
12
+ /**
13
+ * Stop icon component
14
+ * @param fill - Icon fill color
15
+ * @param strokeColor - Icon stroke color
16
+ * @param styles - Icon styles
17
+ * @param size - Icon size
18
+ */
19
+ export const Stop = ({
20
+ strokeColor = 'currentColor',
21
+ styles,
22
+ size = 16,
23
+ role = 'img',
24
+ alt = 'Up arrow icon',
25
+ ...props
26
+ }: Pick<
27
+ IconProps,
28
+ 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'
29
+ >) => {
30
+ return (
31
+ <Svg size={size} styles={styles} role={role} alt={alt} {...props}>
32
+ <g
33
+ fill="none"
34
+ stroke-linecap="square"
35
+ stroke-linejoin="miter"
36
+ stroke-miterlimit="10"
37
+ >
38
+ <rect
39
+ x="2"
40
+ y="2"
41
+ fill="none"
42
+ stroke={strokeColor}
43
+ stroke-width="2"
44
+ width="20"
45
+ height="20"
46
+ ></rect>
47
+ </g>
48
+ </Svg>
49
+ )
50
+ }
51
+
52
+ export default Stop
53
+ Stop.displayName = 'Stop'
54
+ Stop.style = defaultStyles