@x-plat/design-system 0.20.0 → 0.21.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 (292) hide show
  1. package/dist/chunk-2EGVOUGV.cjs +93 -0
  2. package/dist/chunk-2T3BVV7R.js +0 -0
  3. package/dist/chunk-3FYYFDKQ.js +159 -0
  4. package/dist/chunk-3M3GFSHJ.js +67 -0
  5. package/dist/chunk-3WBHUFOA.cjs +48 -0
  6. package/dist/chunk-3XYYZQR5.cjs +22 -0
  7. package/dist/chunk-4EF7NVAL.js +67 -0
  8. package/dist/chunk-4ISERXK2.cjs +1 -0
  9. package/dist/chunk-4KYHHJ6Z.cjs +250 -0
  10. package/dist/chunk-4NSRDRXC.cjs +70 -0
  11. package/dist/chunk-4OXMRSVE.cjs +99 -0
  12. package/dist/chunk-55EPYLXN.js +30 -0
  13. package/dist/chunk-5CE3ADO5.js +254 -0
  14. package/dist/chunk-5F6Y2JD6.cjs +1 -0
  15. package/dist/chunk-5FMTMXSP.cjs +127 -0
  16. package/dist/chunk-5POCKDDY.js +36 -0
  17. package/dist/chunk-5VDI56BV.js +33 -0
  18. package/dist/chunk-5WLBUPSK.js +77 -0
  19. package/dist/chunk-5WNNWQHD.cjs +272 -0
  20. package/dist/chunk-66STZB6I.cjs +404 -0
  21. package/dist/chunk-6AIKCZN7.js +1455 -0
  22. package/dist/chunk-6IUJJUVP.js +18 -0
  23. package/dist/chunk-6P2B3ZGP.js +79 -0
  24. package/dist/chunk-764ILIDG.cjs +22 -0
  25. package/dist/chunk-7B44DWC4.js +0 -0
  26. package/dist/chunk-7BE6ETFY.js +18 -0
  27. package/dist/chunk-7BSUS5A4.js +97 -0
  28. package/dist/chunk-7RPWCDEW.cjs +20 -0
  29. package/dist/chunk-7ULXHGLO.cjs +77 -0
  30. package/dist/chunk-7YOI5XOW.js +55 -0
  31. package/dist/chunk-AFVTM5CP.js +0 -0
  32. package/dist/chunk-AN2WSL3B.cjs +1 -0
  33. package/dist/chunk-AT5Y5GLS.cjs +118 -0
  34. package/dist/chunk-AWPO2FI7.js +404 -0
  35. package/dist/chunk-BGXHIDUR.js +103 -0
  36. package/dist/chunk-BPZXL5TP.js +99 -0
  37. package/dist/chunk-BRTS5GWV.js +275 -0
  38. package/dist/chunk-BS3MLZCK.cjs +97 -0
  39. package/dist/chunk-BSPYYE2U.js +36 -0
  40. package/dist/chunk-BWJAEB42.js +48 -0
  41. package/dist/chunk-C4RMTISI.cjs +18 -0
  42. package/dist/chunk-C6M4XVR7.cjs +36 -0
  43. package/dist/chunk-CGC4D5MP.cjs +89 -0
  44. package/dist/chunk-CIRQYSQW.js +70 -0
  45. package/dist/chunk-CLOTWJNP.cjs +310 -0
  46. package/dist/chunk-CS7ZY35M.cjs +49 -0
  47. package/dist/chunk-CUV4RLDE.js +89 -0
  48. package/dist/chunk-CZAMLFSE.cjs +275 -0
  49. package/dist/chunk-D7QZLJ3Z.cjs +18 -0
  50. package/dist/chunk-DMSAAZ3M.cjs +92 -0
  51. package/dist/chunk-DUIZC7VJ.cjs +36 -0
  52. package/dist/chunk-DVBF4BDH.js +43 -0
  53. package/dist/chunk-EETYMP6K.cjs +584 -0
  54. package/dist/chunk-EFQL7JPX.js +0 -0
  55. package/dist/chunk-EFU7IAF5.cjs +12 -0
  56. package/dist/chunk-F3M2H5EX.cjs +79 -0
  57. package/dist/chunk-F436V2SX.cjs +254 -0
  58. package/dist/chunk-F664X2OY.js +250 -0
  59. package/dist/chunk-FF7ELUQW.cjs +1 -0
  60. package/dist/chunk-G3HE4S3Q.cjs +296 -0
  61. package/dist/chunk-GOPD5KUK.js +23 -0
  62. package/dist/chunk-GYTB24V6.cjs +107 -0
  63. package/dist/chunk-GZ657SGO.js +310 -0
  64. package/dist/chunk-H2QN65L6.cjs +1 -0
  65. package/dist/chunk-H6WUT7CK.js +22 -0
  66. package/dist/chunk-H76OQ75T.js +49 -0
  67. package/dist/chunk-HA3XONYI.js +18 -0
  68. package/dist/chunk-HF3UFXEU.js +296 -0
  69. package/dist/chunk-HGA47QVV.cjs +55 -0
  70. package/dist/chunk-HHPPAMXF.cjs +674 -0
  71. package/dist/chunk-HLV2XIE2.cjs +385 -0
  72. package/dist/chunk-HNQGIL45.cjs +96 -0
  73. package/dist/chunk-HQ37R7T3.js +53 -0
  74. package/dist/chunk-HXUGW4RR.js +187 -0
  75. package/dist/chunk-HYPRLWD3.js +272 -0
  76. package/dist/chunk-I7TLJUTP.cjs +6 -0
  77. package/dist/chunk-ICTWDTKC.cjs +1 -0
  78. package/dist/chunk-IPYKHDP4.cjs +187 -0
  79. package/dist/chunk-IRKREQ2X.cjs +18 -0
  80. package/dist/chunk-IVJJBMRY.js +92 -0
  81. package/dist/chunk-JPVIVOFG.js +26 -0
  82. package/dist/chunk-JYNBNSNF.js +151 -0
  83. package/dist/chunk-JZC3BXAC.js +93 -0
  84. package/dist/chunk-K5XPQWXN.cjs +92 -0
  85. package/dist/chunk-KQ3GOMHL.js +31 -0
  86. package/dist/chunk-KUJH72U6.cjs +159 -0
  87. package/dist/chunk-KVUXLC6M.cjs +479 -0
  88. package/dist/chunk-KZOJN57Q.js +19 -0
  89. package/dist/chunk-L3XPL4NP.cjs +53 -0
  90. package/dist/chunk-LOEMSXYB.js +0 -0
  91. package/dist/chunk-LU4KBPNG.cjs +23 -0
  92. package/dist/chunk-MWWWPQDB.js +26 -0
  93. package/dist/chunk-NCBB3WUJ.js +562 -0
  94. package/dist/chunk-NGCZTZST.cjs +562 -0
  95. package/dist/chunk-NSDKALIS.cjs +67 -0
  96. package/dist/chunk-NZHCRLNB.cjs +26 -0
  97. package/dist/chunk-OL4NANHB.js +0 -0
  98. package/dist/chunk-OTJRNKLR.js +96 -0
  99. package/dist/chunk-OWWFKTSK.js +0 -0
  100. package/dist/chunk-P2E3PB62.cjs +99 -0
  101. package/dist/chunk-P2QVFR7S.js +20 -0
  102. package/dist/chunk-P6ZGIYY7.cjs +18 -0
  103. package/dist/chunk-PFGSJJRY.cjs +19 -0
  104. package/dist/chunk-PNIUW7AJ.cjs +32 -0
  105. package/dist/chunk-Q2M2ONGO.js +70 -0
  106. package/dist/chunk-Q4PGP5KE.cjs +562 -0
  107. package/dist/chunk-QAI2YQPY.cjs +51 -0
  108. package/dist/chunk-QCD7UEZ3.cjs +59 -0
  109. package/dist/chunk-QEZ4R3SK.js +6 -0
  110. package/dist/chunk-QKDCPM2D.cjs +23 -0
  111. package/dist/chunk-QRGG3V7W.cjs +59 -0
  112. package/dist/chunk-QURIHUEC.js +107 -0
  113. package/dist/chunk-QY742LWN.js +30 -0
  114. package/dist/chunk-QYMRGYTN.js +127 -0
  115. package/dist/chunk-RLKJ2RZG.js +23 -0
  116. package/dist/chunk-RRR5BUOM.cjs +30 -0
  117. package/dist/chunk-RU3FCVXM.cjs +1 -0
  118. package/dist/chunk-RYTDVTV2.js +32 -0
  119. package/dist/chunk-RYYGUYDE.js +92 -0
  120. package/dist/chunk-SGLP4U3Y.cjs +67 -0
  121. package/dist/chunk-SJC543ZK.js +71 -0
  122. package/dist/chunk-SLYQK4SC.js +20 -0
  123. package/dist/chunk-SMLCOMLS.js +2888 -0
  124. package/dist/chunk-SNMOPLMH.cjs +372 -0
  125. package/dist/chunk-TRJUJYW7.cjs +151 -0
  126. package/dist/chunk-TTY5PE3P.js +30 -0
  127. package/dist/chunk-TXARYG3J.js +22 -0
  128. package/dist/chunk-TYXJU4EF.js +18 -0
  129. package/dist/chunk-U3PC7FYZ.cjs +26 -0
  130. package/dist/chunk-U67JM2WL.cjs +34 -0
  131. package/dist/chunk-UARGO5UG.js +59 -0
  132. package/dist/chunk-UCYE3H3F.cjs +43 -0
  133. package/dist/chunk-UGEGN35F.js +118 -0
  134. package/dist/chunk-UHUA3GQC.cjs +30 -0
  135. package/dist/chunk-UJQN477L.js +59 -0
  136. package/dist/chunk-UMX7DTFZ.cjs +70 -0
  137. package/dist/chunk-UT42P54P.js +372 -0
  138. package/dist/chunk-V76ZRGHQ.cjs +1 -0
  139. package/dist/chunk-VCIK366Y.cjs +1455 -0
  140. package/dist/chunk-VMA74ABT.cjs +137 -0
  141. package/dist/chunk-VSA62N2O.js +12 -0
  142. package/dist/chunk-WDAFLVQK.js +479 -0
  143. package/dist/chunk-WHMLMAMO.js +674 -0
  144. package/dist/chunk-WNBLKKLM.js +0 -0
  145. package/dist/chunk-WQ2GY7F3.js +46 -0
  146. package/dist/chunk-WRLCCK3M.cjs +30 -0
  147. package/dist/chunk-WVCZIOLY.js +562 -0
  148. package/dist/chunk-WZLGJQLW.js +385 -0
  149. package/dist/chunk-XB6FEBK6.js +34 -0
  150. package/dist/chunk-XMERDSRE.js +75 -0
  151. package/dist/chunk-XMLFKZYY.js +137 -0
  152. package/dist/chunk-XMM52J3T.js +584 -0
  153. package/dist/chunk-XZ7C5CGB.cjs +103 -0
  154. package/dist/chunk-YGFBAOKX.js +51 -0
  155. package/dist/chunk-YIN552MF.cjs +20 -0
  156. package/dist/chunk-YLC42E65.cjs +31 -0
  157. package/dist/chunk-YOTXRYJL.cjs +46 -0
  158. package/dist/chunk-ZAUGJZK7.js +99 -0
  159. package/dist/chunk-ZIZOQTDG.cjs +75 -0
  160. package/dist/chunk-ZMSV5VZI.cjs +2888 -0
  161. package/dist/chunk-ZN6MLZAE.cjs +71 -0
  162. package/dist/chunk-ZNCT6HXA.cjs +33 -0
  163. package/dist/components/Accordion/index.cjs +5 -1036
  164. package/dist/components/Accordion/index.js +5 -999
  165. package/dist/components/Alert/index.cjs +4 -69
  166. package/dist/components/Alert/index.js +4 -42
  167. package/dist/components/AutoResizeTextArea/index.cjs +6 -260
  168. package/dist/components/AutoResizeTextArea/index.js +6 -223
  169. package/dist/components/Avatar/index.cjs +4 -65
  170. package/dist/components/Avatar/index.js +4 -38
  171. package/dist/components/Badge/index.cjs +6 -69
  172. package/dist/components/Badge/index.js +5 -40
  173. package/dist/components/Box/index.cjs +4 -58
  174. package/dist/components/Box/index.js +4 -31
  175. package/dist/components/Breadcrumb/index.cjs +4 -42
  176. package/dist/components/Breadcrumb/index.js +3 -14
  177. package/dist/components/Button/index.cjs +5 -65
  178. package/dist/components/Button/index.js +5 -38
  179. package/dist/components/Calendar/index.cjs +6 -1317
  180. package/dist/components/Calendar/index.js +10 -1281
  181. package/dist/components/CardTab/index.cjs +4 -120
  182. package/dist/components/CardTab/index.js +4 -83
  183. package/dist/components/Chart/index.cjs +5 -708
  184. package/dist/components/Chart/index.js +4 -670
  185. package/dist/components/ChatInput/index.cjs +9 -390
  186. package/dist/components/ChatInput/index.js +9 -353
  187. package/dist/components/CheckBox/index.cjs +20 -1125
  188. package/dist/components/CheckBox/index.js +17 -1095
  189. package/dist/components/Chip/index.cjs +5 -55
  190. package/dist/components/Chip/index.js +5 -28
  191. package/dist/components/DatePicker/index.cjs +16 -2136
  192. package/dist/components/DatePicker/index.js +19 -2099
  193. package/dist/components/Divider/index.cjs +4 -58
  194. package/dist/components/Divider/index.js +4 -31
  195. package/dist/components/Drawer/index.cjs +5 -190
  196. package/dist/components/Drawer/index.js +5 -153
  197. package/dist/components/Dropdown/index.cjs +7 -375
  198. package/dist/components/Dropdown/index.js +7 -338
  199. package/dist/components/Editor/index.cjs +6 -1486
  200. package/dist/components/Editor/index.css +53 -0
  201. package/dist/components/Editor/index.d.cts +13 -0
  202. package/dist/components/Editor/index.d.ts +13 -0
  203. package/dist/components/Editor/index.js +6 -1453
  204. package/dist/components/EmptyState/index.cjs +4 -42
  205. package/dist/components/EmptyState/index.js +3 -14
  206. package/dist/components/FieldMessage/index.cjs +7 -182
  207. package/dist/components/FieldMessage/index.js +8 -154
  208. package/dist/components/FileUpload/index.cjs +7 -1171
  209. package/dist/components/FileUpload/index.js +7 -1134
  210. package/dist/components/HtmlTypeWriter/index.cjs +3 -171
  211. package/dist/components/HtmlTypeWriter/index.js +3 -133
  212. package/dist/components/IconButton/index.cjs +4 -65
  213. package/dist/components/IconButton/index.js +4 -38
  214. package/dist/components/ImageSelector/index.cjs +8 -1214
  215. package/dist/components/ImageSelector/index.js +8 -1177
  216. package/dist/components/Input/index.cjs +7 -429
  217. package/dist/components/Input/index.js +8 -392
  218. package/dist/components/Link/index.cjs +4 -61
  219. package/dist/components/Link/index.js +4 -34
  220. package/dist/components/LinkButton/index.cjs +5 -61
  221. package/dist/components/LinkButton/index.js +5 -34
  222. package/dist/components/Modal/index.cjs +5 -190
  223. package/dist/components/Modal/index.js +5 -153
  224. package/dist/components/NotificationBadge/index.cjs +5 -68
  225. package/dist/components/NotificationBadge/index.js +5 -40
  226. package/dist/components/Pagination/index.cjs +6 -1034
  227. package/dist/components/Pagination/index.js +6 -1007
  228. package/dist/components/PopOver/index.cjs +7 -363
  229. package/dist/components/PopOver/index.js +7 -326
  230. package/dist/components/Progress/index.cjs +5 -84
  231. package/dist/components/Progress/index.js +5 -57
  232. package/dist/components/Radio/index.cjs +7 -274
  233. package/dist/components/Radio/index.js +8 -237
  234. package/dist/components/Select/index.cjs +10 -1577
  235. package/dist/components/Select/index.js +11 -1540
  236. package/dist/components/Skeleton/index.cjs +4 -71
  237. package/dist/components/Skeleton/index.js +4 -44
  238. package/dist/components/Spinner/index.cjs +5 -88
  239. package/dist/components/Spinner/index.js +5 -61
  240. package/dist/components/Stat/index.cjs +5 -81
  241. package/dist/components/Stat/index.js +5 -54
  242. package/dist/components/Steps/index.cjs +7 -968
  243. package/dist/components/Steps/index.js +7 -941
  244. package/dist/components/Swiper/index.cjs +4 -357
  245. package/dist/components/Swiper/index.js +4 -320
  246. package/dist/components/Switch/index.cjs +7 -252
  247. package/dist/components/Switch/index.js +7 -215
  248. package/dist/components/Tab/index.cjs +4 -144
  249. package/dist/components/Tab/index.js +4 -107
  250. package/dist/components/Table/index.cjs +4 -337
  251. package/dist/components/Table/index.js +8 -300
  252. package/dist/components/Tag/index.cjs +6 -969
  253. package/dist/components/Tag/index.js +6 -942
  254. package/dist/components/TextArea/index.cjs +6 -229
  255. package/dist/components/TextArea/index.js +6 -192
  256. package/dist/components/TimePicker/index.cjs +9 -579
  257. package/dist/components/TimePicker/index.js +9 -542
  258. package/dist/components/Toast/index.cjs +5 -146
  259. package/dist/components/Toast/index.js +5 -108
  260. package/dist/components/ToggleChip/index.cjs +5 -66
  261. package/dist/components/ToggleChip/index.js +5 -39
  262. package/dist/components/Tooltip/index.cjs +6 -204
  263. package/dist/components/Tooltip/index.js +6 -167
  264. package/dist/components/Tour/index.cjs +6 -414
  265. package/dist/components/Tour/index.js +6 -377
  266. package/dist/components/Video/index.cjs +7 -796
  267. package/dist/components/Video/index.js +7 -759
  268. package/dist/components/index.cjs +140 -8342
  269. package/dist/components/index.js +190 -8288
  270. package/dist/index.cjs +903 -13318
  271. package/dist/index.js +524 -12526
  272. package/dist/layout/Grid/FullGrid/index.cjs +4 -46
  273. package/dist/layout/Grid/FullGrid/index.js +3 -18
  274. package/dist/layout/Grid/FullScreen/index.cjs +4 -46
  275. package/dist/layout/Grid/FullScreen/index.js +3 -18
  276. package/dist/layout/Grid/Item/index.cjs +5 -68
  277. package/dist/layout/Grid/Item/index.js +5 -41
  278. package/dist/layout/Grid/index.cjs +14 -109
  279. package/dist/layout/Grid/index.js +14 -79
  280. package/dist/layout/Header/index.cjs +4 -44
  281. package/dist/layout/Header/index.js +3 -16
  282. package/dist/layout/Layout/index.cjs +4 -42
  283. package/dist/layout/Layout/index.js +3 -14
  284. package/dist/layout/SideBar/index.cjs +6 -96
  285. package/dist/layout/SideBar/index.js +6 -57
  286. package/dist/layout/index.cjs +38 -209
  287. package/dist/layout/index.js +27 -153
  288. package/dist/tokens/index.cjs +627 -6119
  289. package/dist/tokens/index.js +324 -5489
  290. package/guidelines/components/editor.md +3 -0
  291. package/guidelines/setup.md +7 -0
  292. package/package.json +6 -3
@@ -1,762 +1,10 @@
1
- // src/components/Video/Video.tsx
2
- import React from "react";
3
-
4
- // src/tokens/svg/action/CopyIcon.tsx
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
-
7
- // src/tokens/svg/action/CropIcon.tsx
8
- import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
9
-
10
- // src/tokens/svg/action/DeleteIcon.tsx
11
- import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
12
-
13
- // src/tokens/svg/action/DownloadCloudIcon.tsx
14
- import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
15
-
16
- // src/tokens/svg/action/DownloadIcon.tsx
17
- import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
18
- var DownloadIcon = () => /* @__PURE__ */ jsxs5(
19
- "svg",
20
- {
21
- xmlns: "http://www.w3.org/2000/svg",
22
- width: "1em",
23
- height: "1em",
24
- viewBox: "0 0 20 20",
25
- fill: "none",
26
- children: [
27
- /* @__PURE__ */ jsx5("path", { d: "M17.5 11.75C17.9142 11.75 18.25 12.0858 18.25 12.5V15.833C18.25 16.4739 17.9952 17.0888 17.542 17.542C17.0888 17.9952 16.4739 18.25 15.833 18.25H4.16699C3.52605 18.25 2.91122 17.9952 2.45801 17.542C2.00479 17.0888 1.75 16.4739 1.75 15.833V12.5C1.75 12.0858 2.08579 11.75 2.5 11.75C2.91421 11.75 3.25 12.0858 3.25 12.5V15.833C3.25 16.0761 3.34665 16.3095 3.51855 16.4814C3.69046 16.6534 3.92388 16.75 4.16699 16.75H15.833C16.0761 16.75 16.3095 16.6534 16.4814 16.4814C16.6534 16.3095 16.75 16.0761 16.75 15.833V12.5C16.75 12.0858 17.0858 11.75 17.5 11.75Z", fill: "currentColor" }),
28
- /* @__PURE__ */ jsx5("path", { d: "M10 1.75C10.4142 1.75 10.75 2.08579 10.75 2.5V10.6885L13.6367 7.80273C13.9296 7.51026 14.4045 7.51013 14.6973 7.80273C14.9899 8.09552 14.9898 8.5704 14.6973 8.86328L10.5312 13.0303C10.4709 13.0906 10.4007 13.1354 10.3281 13.1709C10.3146 13.1776 10.3021 13.1865 10.2881 13.1924C10.253 13.207 10.2163 13.2156 10.1797 13.2246C10.1691 13.2272 10.1592 13.2322 10.1484 13.2344C10.1429 13.2355 10.1374 13.2363 10.1318 13.2373C10.0896 13.2448 10.0463 13.2489 10.002 13.249L10 13.25C9.95423 13.25 9.90972 13.2442 9.86621 13.2363C9.86168 13.2355 9.85706 13.2353 9.85254 13.2344C9.82836 13.2295 9.80551 13.221 9.78223 13.2139C9.76008 13.2071 9.73738 13.2022 9.71582 13.1934C9.68772 13.1818 9.66201 13.1661 9.63574 13.1514C9.5804 13.1204 9.52713 13.0842 9.47949 13.0381C9.47469 13.0334 9.46952 13.0292 9.46484 13.0244L5.30371 8.86328C5.01082 8.57039 5.01082 8.09563 5.30371 7.80273C5.59663 7.51021 6.07149 7.50996 6.36426 7.80273L9.25 10.6885V2.5C9.25 2.08579 9.58579 1.75 10 1.75Z", fill: "currentColor" })
29
- ]
30
- }
31
- );
32
- var DownloadIcon_default = DownloadIcon;
33
-
34
- // src/tokens/svg/action/Edit2Icon.tsx
35
- import { jsx as jsx6 } from "react/jsx-runtime";
36
-
37
- // src/tokens/svg/action/Edit3Icon.tsx
38
- import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
39
-
40
- // src/tokens/svg/action/EditIcon.tsx
41
- import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
42
-
43
- // src/tokens/svg/action/ExternalLinkIcon.tsx
44
- import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
45
-
46
- // src/tokens/svg/action/FilterIcon.tsx
47
- import { jsx as jsx10 } from "react/jsx-runtime";
48
-
49
- // src/tokens/svg/action/Link2Icon.tsx
50
- import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
51
-
52
- // src/tokens/svg/action/LinkIcon.tsx
53
- import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
54
-
55
- // src/tokens/svg/action/MoveIcon.tsx
56
- import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
57
-
58
- // src/tokens/svg/action/RefreshCcwIcon.tsx
59
- import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
60
-
61
- // src/tokens/svg/action/RefreshCwIcon.tsx
62
- import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
63
-
64
- // src/tokens/svg/action/RotateCcwIcon.tsx
65
- import { jsx as jsx16 } from "react/jsx-runtime";
66
-
67
- // src/tokens/svg/action/RotateCwIcon.tsx
68
- import { jsx as jsx17 } from "react/jsx-runtime";
69
-
70
- // src/tokens/svg/action/SaveIcon.tsx
71
- import { jsx as jsx18 } from "react/jsx-runtime";
72
-
73
- // src/tokens/svg/action/ScissorsIcon.tsx
74
- import { jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
75
-
76
- // src/tokens/svg/action/SearchIcon.tsx
77
- import { jsx as jsx20 } from "react/jsx-runtime";
78
-
79
- // src/tokens/svg/action/Share2Icon.tsx
80
- import { jsx as jsx21 } from "react/jsx-runtime";
81
-
82
- // src/tokens/svg/action/ShareIcon.tsx
83
- import { jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
84
-
85
- // src/tokens/svg/action/Trash2Icon.tsx
86
- import { jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
87
-
88
- // src/tokens/svg/action/TrashIcon.tsx
89
- import { jsx as jsx24 } from "react/jsx-runtime";
90
-
91
- // src/tokens/svg/action/UploadCloudIcon.tsx
92
- import { jsx as jsx25, jsxs as jsxs17 } from "react/jsx-runtime";
93
-
94
- // src/tokens/svg/action/UploadIcon.tsx
95
- import { jsx as jsx26, jsxs as jsxs18 } from "react/jsx-runtime";
96
-
97
- // src/tokens/svg/action/ZoomInIcon.tsx
98
- import { jsx as jsx27, jsxs as jsxs19 } from "react/jsx-runtime";
99
-
100
- // src/tokens/svg/action/ZoomOutIcon.tsx
101
- import { jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
102
-
103
- // src/tokens/svg/edit/AlignCenterIcon.tsx
104
- import { jsx as jsx29, jsxs as jsxs21 } from "react/jsx-runtime";
105
-
106
- // src/tokens/svg/edit/AlignJustifyIcon.tsx
107
- import { jsx as jsx30, jsxs as jsxs22 } from "react/jsx-runtime";
108
-
109
- // src/tokens/svg/edit/AlignLeftIcon.tsx
110
- import { jsx as jsx31, jsxs as jsxs23 } from "react/jsx-runtime";
111
-
112
- // src/tokens/svg/edit/AlignRightIcon.tsx
113
- import { jsx as jsx32, jsxs as jsxs24 } from "react/jsx-runtime";
114
-
115
- // src/tokens/svg/edit/BoldIcon.tsx
116
- import { jsx as jsx33 } from "react/jsx-runtime";
117
-
118
- // src/tokens/svg/edit/ItalicIcon.tsx
119
- import { jsx as jsx34 } from "react/jsx-runtime";
120
-
121
- // src/tokens/svg/edit/PenToolIcon.tsx
122
- import { jsx as jsx35, jsxs as jsxs25 } from "react/jsx-runtime";
123
-
124
- // src/tokens/svg/edit/TypeIcon.tsx
125
- import { jsx as jsx36 } from "react/jsx-runtime";
126
- var TypeIcon = () => /* @__PURE__ */ jsx36(
127
- "svg",
128
- {
129
- xmlns: "http://www.w3.org/2000/svg",
130
- width: "1em",
131
- height: "1em",
132
- viewBox: "0 0 20 20",
133
- fill: "none",
134
- children: /* @__PURE__ */ jsx36("path", { d: "M16.667 2.58301C17.0809 2.58327 17.4169 2.91907 17.417 3.33301V5.83301C17.417 6.24706 17.081 6.58274 16.667 6.58301C16.2529 6.58283 15.917 6.24711 15.917 5.83301V4.08301H10.75V15.917H12.5C12.9142 15.917 13.25 16.2528 13.25 16.667C13.2499 17.0811 12.9141 17.417 12.5 17.417H7.5C7.08587 17.417 6.75013 17.0811 6.75 16.667C6.75 16.2528 7.08579 15.917 7.5 15.917H9.25V4.08301H4.08398V5.83301C4.08398 6.24706 3.74797 6.58274 3.33398 6.58301C2.91977 6.58301 2.58301 6.24722 2.58301 5.83301V3.33301C2.58314 2.91891 2.91985 2.58301 3.33398 2.58301H16.667Z", fill: "currentColor" })
135
- }
136
- );
137
- var TypeIcon_default = TypeIcon;
138
-
139
- // src/tokens/svg/edit/UnderlineIcon.tsx
140
- import { jsx as jsx37, jsxs as jsxs26 } from "react/jsx-runtime";
141
-
142
- // src/tokens/svg/layout/ColumnsIcon.tsx
143
- import { jsx as jsx38 } from "react/jsx-runtime";
144
-
145
- // src/tokens/svg/layout/GridIcon.tsx
146
- import { jsx as jsx39, jsxs as jsxs27 } from "react/jsx-runtime";
147
-
148
- // src/tokens/svg/layout/LayoutIcon.tsx
149
- import { jsx as jsx40 } from "react/jsx-runtime";
150
-
151
- // src/tokens/svg/layout/ListIcon.tsx
152
- import { jsx as jsx41, jsxs as jsxs28 } from "react/jsx-runtime";
153
-
154
- // src/tokens/svg/layout/Maximize2Icon.tsx
155
- import { jsx as jsx42, jsxs as jsxs29 } from "react/jsx-runtime";
156
-
157
- // src/tokens/svg/layout/MaximizeIcon.tsx
158
- import { jsx as jsx43, jsxs as jsxs30 } from "react/jsx-runtime";
159
- var MaximizeIcon = () => /* @__PURE__ */ jsxs30(
160
- "svg",
161
- {
162
- xmlns: "http://www.w3.org/2000/svg",
163
- width: "1em",
164
- height: "1em",
165
- viewBox: "0 0 20 20",
166
- fill: "none",
167
- children: [
168
- /* @__PURE__ */ jsx43("path", { d: "M2.5 12.583C2.91411 12.583 3.24982 12.9189 3.25 13.333V15.833C3.25 16.0761 3.34665 16.3095 3.51855 16.4814C3.69046 16.6534 3.92388 16.75 4.16699 16.75H6.66699C7.08106 16.7502 7.41699 17.0859 7.41699 17.5C7.41699 17.9141 7.08106 18.2498 6.66699 18.25H4.16699C3.52605 18.25 2.91122 17.9952 2.45801 17.542C2.00479 17.0888 1.75 16.4739 1.75 15.833V13.333C1.75018 12.9189 2.08589 12.583 2.5 12.583Z", fill: "currentColor" }),
169
- /* @__PURE__ */ jsx43("path", { d: "M17.5 12.583C17.9141 12.583 18.2498 12.9189 18.25 13.333V15.833C18.25 16.4739 17.9952 17.0888 17.542 17.542C17.0888 17.9952 16.4739 18.25 15.833 18.25H13.333C12.9189 18.2498 12.583 17.9141 12.583 17.5C12.583 17.0859 12.9189 16.7502 13.333 16.75H15.833C16.0761 16.75 16.3095 16.6534 16.4814 16.4814C16.6534 16.3095 16.75 16.0761 16.75 15.833V13.333C16.7502 12.9189 17.0859 12.583 17.5 12.583Z", fill: "currentColor" }),
170
- /* @__PURE__ */ jsx43("path", { d: "M6.66699 1.75C7.08106 1.75018 7.41699 2.08589 7.41699 2.5C7.41699 2.91411 7.08106 3.24982 6.66699 3.25H4.16699C3.92388 3.25 3.69046 3.34665 3.51855 3.51855C3.34665 3.69046 3.25 3.92388 3.25 4.16699V6.66699C3.24982 7.08106 2.91411 7.41699 2.5 7.41699C2.08589 7.41699 1.75018 7.08106 1.75 6.66699V4.16699C1.75 3.52605 2.00479 2.91122 2.45801 2.45801C2.91122 2.00479 3.52605 1.75 4.16699 1.75H6.66699Z", fill: "currentColor" }),
171
- /* @__PURE__ */ jsx43("path", { d: "M15.833 1.75C16.4739 1.75 17.0888 2.00479 17.542 2.45801C17.9952 2.91122 18.25 3.52605 18.25 4.16699V6.66699C18.2498 7.08106 17.9141 7.41699 17.5 7.41699C17.0859 7.41699 16.7502 7.08106 16.75 6.66699V4.16699C16.75 3.92388 16.6534 3.69046 16.4814 3.51855C16.3095 3.34665 16.0761 3.25 15.833 3.25H13.333C12.9189 3.24982 12.583 2.91411 12.583 2.5C12.583 2.08589 12.9189 1.75018 13.333 1.75H15.833Z", fill: "currentColor" })
172
- ]
173
- }
174
- );
175
- var MaximizeIcon_default = MaximizeIcon;
176
-
177
- // src/tokens/svg/layout/MenuIcon.tsx
178
- import { jsx as jsx44, jsxs as jsxs31 } from "react/jsx-runtime";
179
-
180
- // src/tokens/svg/layout/Minimize2Icon.tsx
181
- import { jsx as jsx45, jsxs as jsxs32 } from "react/jsx-runtime";
182
-
183
- // src/tokens/svg/layout/MinimizeIcon.tsx
184
- import { jsx as jsx46, jsxs as jsxs33 } from "react/jsx-runtime";
185
- var MinimizeIcon = () => /* @__PURE__ */ jsxs33(
186
- "svg",
187
- {
188
- xmlns: "http://www.w3.org/2000/svg",
189
- width: "1em",
190
- height: "1em",
191
- viewBox: "0 0 20 20",
192
- fill: "none",
193
- children: [
194
- /* @__PURE__ */ jsx46("path", { d: "M5 12.583C5.64094 12.583 6.25577 12.8378 6.70898 13.291C7.1622 13.7442 7.41699 14.3591 7.41699 15V17.5C7.41699 17.9141 7.08106 18.2498 6.66699 18.25C6.25278 18.25 5.91699 17.9142 5.91699 17.5V15C5.91699 14.7569 5.82035 14.5235 5.64844 14.3516C5.47653 14.1797 5.24311 14.083 5 14.083H2.5C2.08579 14.083 1.75 13.7472 1.75 13.333C1.75018 12.9189 2.08589 12.583 2.5 12.583H5Z", fill: "currentColor" }),
195
- /* @__PURE__ */ jsx46("path", { d: "M17.5 12.583C17.9141 12.583 18.2498 12.9189 18.25 13.333C18.25 13.7472 17.9142 14.083 17.5 14.083H15C14.7569 14.083 14.5235 14.1797 14.3516 14.3516C14.1797 14.5235 14.083 14.7569 14.083 15V17.5C14.083 17.9142 13.7472 18.25 13.333 18.25C12.9189 18.2498 12.583 17.9141 12.583 17.5V15C12.583 14.3591 12.8378 13.7442 13.291 13.291C13.7442 12.8378 14.3591 12.583 15 12.583H17.5Z", fill: "currentColor" }),
196
- /* @__PURE__ */ jsx46("path", { d: "M6.66699 1.75C7.08106 1.75018 7.41699 2.08589 7.41699 2.5V5C7.41699 5.64094 7.1622 6.25577 6.70898 6.70898C6.25577 7.1622 5.64094 7.41699 5 7.41699H2.5C2.08589 7.41699 1.75018 7.08106 1.75 6.66699C1.75 6.25278 2.08579 5.91699 2.5 5.91699H5C5.24312 5.91699 5.47653 5.82035 5.64844 5.64844C5.82035 5.47653 5.91699 5.24312 5.91699 5V2.5C5.91699 2.08579 6.25278 1.75 6.66699 1.75Z", fill: "currentColor" }),
197
- /* @__PURE__ */ jsx46("path", { d: "M13.333 1.75C13.7472 1.75 14.083 2.08579 14.083 2.5V5C14.083 5.24311 14.1797 5.47653 14.3516 5.64844C14.5235 5.82035 14.7569 5.91699 15 5.91699H17.5C17.9142 5.91699 18.25 6.25278 18.25 6.66699C18.2498 7.08106 17.9141 7.41699 17.5 7.41699H15C14.3591 7.41699 13.7442 7.1622 13.291 6.70898C12.8378 6.25577 12.583 5.64094 12.583 5V2.5C12.583 2.08589 12.9189 1.75018 13.333 1.75Z", fill: "currentColor" })
198
- ]
199
- }
200
- );
201
- var MinimizeIcon_default = MinimizeIcon;
202
-
203
- // src/tokens/svg/layout/MoreHorizontalIcon.tsx
204
- import { jsx as jsx47, jsxs as jsxs34 } from "react/jsx-runtime";
205
-
206
- // src/tokens/svg/layout/MoreVerticalIcon.tsx
207
- import { jsx as jsx48, jsxs as jsxs35 } from "react/jsx-runtime";
208
-
209
- // src/tokens/svg/layout/SidebarIcon.tsx
210
- import { jsx as jsx49 } from "react/jsx-runtime";
211
-
212
- // src/tokens/svg/media/AirplayIcon.tsx
213
- import { jsx as jsx50, jsxs as jsxs36 } from "react/jsx-runtime";
214
-
215
- // src/tokens/svg/media/CameraIcon.tsx
216
- import { jsx as jsx51, jsxs as jsxs37 } from "react/jsx-runtime";
217
-
218
- // src/tokens/svg/media/CameraOffIcon.tsx
219
- import { jsx as jsx52, jsxs as jsxs38 } from "react/jsx-runtime";
220
-
221
- // src/tokens/svg/media/CastIcon.tsx
222
- import { jsx as jsx53, jsxs as jsxs39 } from "react/jsx-runtime";
223
-
224
- // src/tokens/svg/media/DiscIcon.tsx
225
- import { jsx as jsx54, jsxs as jsxs40 } from "react/jsx-runtime";
226
-
227
- // src/tokens/svg/media/FastForwardIcon.tsx
228
- import { jsx as jsx55, jsxs as jsxs41 } from "react/jsx-runtime";
229
-
230
- // src/tokens/svg/media/FilmIcon.tsx
231
- import { jsx as jsx56, jsxs as jsxs42 } from "react/jsx-runtime";
232
-
233
- // src/tokens/svg/media/HeadphonesIcon.tsx
234
- import { jsx as jsx57 } from "react/jsx-runtime";
235
-
236
- // src/tokens/svg/media/ImageIcon.tsx
237
- import { jsx as jsx58, jsxs as jsxs43 } from "react/jsx-runtime";
238
-
239
- // src/tokens/svg/media/MicIcon.tsx
240
- import { jsx as jsx59, jsxs as jsxs44 } from "react/jsx-runtime";
241
-
242
- // src/tokens/svg/media/MicOffIcon.tsx
243
- import { jsx as jsx60, jsxs as jsxs45 } from "react/jsx-runtime";
244
-
245
- // src/tokens/svg/media/MusicIcon.tsx
246
- import { jsx as jsx61 } from "react/jsx-runtime";
247
-
248
- // src/tokens/svg/media/PauseCircleIcon.tsx
249
- import { jsx as jsx62, jsxs as jsxs46 } from "react/jsx-runtime";
250
-
251
- // src/tokens/svg/media/PauseIcon.tsx
252
- import { jsx as jsx63, jsxs as jsxs47 } from "react/jsx-runtime";
253
- var PauseIcon = () => /* @__PURE__ */ jsxs47(
254
- "svg",
255
- {
256
- xmlns: "http://www.w3.org/2000/svg",
257
- width: "1em",
258
- height: "1em",
259
- viewBox: "0 0 20 20",
260
- fill: "none",
261
- children: [
262
- /* @__PURE__ */ jsx63("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.33301 2.58301C8.74714 2.58301 9.08288 2.91891 9.08301 3.33301V16.666C9.08301 17.0802 8.74722 17.416 8.33301 17.416H5C4.58579 17.416 4.25 17.0802 4.25 16.666V3.33301C4.25013 2.91891 4.58587 2.58301 5 2.58301H8.33301ZM5.75 15.916H7.58301V4.08301H5.75V15.916Z", fill: "currentColor" }),
263
- /* @__PURE__ */ jsx63("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15 2.58301C15.4139 2.58327 15.7499 2.91907 15.75 3.33301V16.666C15.75 17.0801 15.414 17.4158 15 17.416H11.667C11.2528 17.416 10.917 17.0802 10.917 16.666V3.33301C10.9171 2.91891 11.2529 2.58301 11.667 2.58301H15ZM12.417 15.916H14.25V4.08301H12.417V15.916Z", fill: "currentColor" })
264
- ]
265
- }
266
- );
267
- var PauseIcon_default = PauseIcon;
268
-
269
- // src/tokens/svg/media/PlayCircleIcon.tsx
270
- import { jsx as jsx64, jsxs as jsxs48 } from "react/jsx-runtime";
271
- var PlayCircleIcon = () => /* @__PURE__ */ jsxs48(
272
- "svg",
273
- {
274
- xmlns: "http://www.w3.org/2000/svg",
275
- width: "1em",
276
- height: "1em",
277
- viewBox: "0 0 20 20",
278
- fill: "none",
279
- children: [
280
- /* @__PURE__ */ jsxs48("g", { clipPath: "url(#playcircle-clip)", children: [
281
- /* @__PURE__ */ jsx64("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.98047 6.00586C8.22424 5.87564 8.52002 5.88965 8.75 6.04297L13.75 9.37598C13.9583 9.51505 14.0839 9.74954 14.084 10C14.0839 10.2505 13.9584 10.4849 13.75 10.624L8.75 13.958C8.52015 14.1112 8.22412 14.1251 7.98047 13.9951C7.73677 13.8647 7.58419 13.6104 7.58398 13.334V6.66699L7.59082 6.56445C7.6233 6.32874 7.7671 6.12005 7.98047 6.00586ZM9.08398 11.9316L11.9814 10L9.08398 8.06738V11.9316Z", fill: "currentColor" }),
282
- /* @__PURE__ */ jsx64("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 0.916992C15.0163 0.917256 19.0838 4.98373 19.084 10C19.0839 15.0163 15.0163 19.0837 10 19.084C4.98364 19.0838 0.916148 15.0164 0.916016 10C0.916191 4.98367 4.98367 0.917168 10 0.916992ZM10 2.41699C5.8121 2.41717 2.41717 5.8121 2.41699 10C2.41712 14.1879 5.81207 17.5838 10 17.584C14.1879 17.5837 17.5839 14.1879 17.584 10C17.5838 5.81215 14.1878 2.41726 10 2.41699Z", fill: "currentColor" })
283
- ] }),
284
- /* @__PURE__ */ jsx64("defs", { children: /* @__PURE__ */ jsx64("clipPath", { id: "playcircle-clip", children: /* @__PURE__ */ jsx64("rect", { width: "20", height: "20", fill: "currentColor" }) }) })
285
- ]
286
- }
287
- );
288
- var PlayCircleIcon_default = PlayCircleIcon;
289
-
290
- // src/tokens/svg/media/PlayIcon.tsx
291
- import { jsx as jsx65 } from "react/jsx-runtime";
292
- var PlayIcon = () => /* @__PURE__ */ jsx65(
293
- "svg",
294
- {
295
- xmlns: "http://www.w3.org/2000/svg",
296
- width: "1em",
297
- height: "1em",
298
- viewBox: "0 0 20 20",
299
- fill: "none",
300
- children: /* @__PURE__ */ jsx65("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.80762 1.84203C4.0483 1.71076 4.3416 1.72119 4.57227 1.86937L16.2393 9.36937C16.4536 9.50742 16.584 9.74522 16.584 10.0002C16.5839 10.2552 16.4537 10.4931 16.2393 10.6311L4.57227 18.1311C4.34166 18.2792 4.04826 18.2896 3.80762 18.1584C3.56689 18.027 3.4161 17.7745 3.41602 17.5002V2.50023C3.41602 2.22588 3.56682 1.9735 3.80762 1.84203ZM4.91699 16.1262L14.4463 10.0002L4.91699 3.87328V16.1262Z", fill: "currentColor" })
301
- }
302
- );
303
- var PlayIcon_default = PlayIcon;
304
-
305
- // src/tokens/svg/media/RepeatIcon.tsx
306
- import { jsx as jsx66, jsxs as jsxs49 } from "react/jsx-runtime";
307
-
308
- // src/tokens/svg/media/RewindIcon.tsx
309
- import { jsx as jsx67, jsxs as jsxs50 } from "react/jsx-runtime";
310
-
311
- // src/tokens/svg/media/SkipBackIcon.tsx
312
- import { jsx as jsx68, jsxs as jsxs51 } from "react/jsx-runtime";
313
-
314
- // src/tokens/svg/media/SkipForwardIcon.tsx
315
- import { jsx as jsx69, jsxs as jsxs52 } from "react/jsx-runtime";
316
-
317
- // src/tokens/svg/media/SpeakerIcon.tsx
318
- import { jsx as jsx70, jsxs as jsxs53 } from "react/jsx-runtime";
319
-
320
- // src/tokens/svg/media/StopCircleIcon.tsx
321
- import { jsx as jsx71, jsxs as jsxs54 } from "react/jsx-runtime";
322
-
323
- // src/tokens/svg/media/VideoIcon.tsx
324
- import { jsx as jsx72 } from "react/jsx-runtime";
325
-
326
- // src/tokens/svg/media/VideoOffIcon.tsx
327
- import { jsx as jsx73, jsxs as jsxs55 } from "react/jsx-runtime";
328
-
329
- // src/tokens/svg/media/Volume1Icon.tsx
330
- import { jsx as jsx74, jsxs as jsxs56 } from "react/jsx-runtime";
331
-
332
- // src/tokens/svg/media/Volume2Icon.tsx
333
- import { jsx as jsx75, jsxs as jsxs57 } from "react/jsx-runtime";
334
- var Volume2Icon = () => /* @__PURE__ */ jsxs57(
335
- "svg",
336
- {
337
- xmlns: "http://www.w3.org/2000/svg",
338
- width: "1em",
339
- height: "1em",
340
- viewBox: "0 0 20 20",
341
- fill: "none",
342
- children: [
343
- /* @__PURE__ */ jsx75("path", { d: "M15.3613 3.57827C15.6542 3.28549 16.129 3.28554 16.4219 3.57827C18.1247 5.28162 19.082 7.59163 19.082 10.0001C19.082 12.4087 18.1247 14.7187 16.4219 16.422C16.129 16.7147 15.6542 16.7147 15.3613 16.422C15.0687 16.1292 15.0687 15.6543 15.3613 15.3615C16.7829 13.9394 17.582 12.0109 17.582 10.0001C17.582 7.98938 16.7829 6.06088 15.3613 4.63882C15.0686 4.34597 15.0687 3.87112 15.3613 3.57827Z", fill: "currentColor" }),
344
- /* @__PURE__ */ jsx75("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.69824 3.5812C8.92336 3.40117 9.23238 3.36648 9.49219 3.49135C9.75153 3.61641 9.91699 3.87916 9.91699 4.16714V15.8341C9.91671 16.122 9.75157 16.385 9.49219 16.5099C9.23253 16.6347 8.92333 16.5988 8.69824 16.4191L4.7373 13.2501H1.66699C1.25291 13.2501 0.916235 12.9142 0.916016 12.5001V7.50014C0.916192 7.08608 1.25289 6.75014 1.66699 6.75014H4.73828L8.69824 3.5812ZM5.46875 8.08608C5.3359 8.19235 5.17011 8.25003 5 8.25014H2.41699V11.7501H5C5.17013 11.7503 5.33589 11.8089 5.46875 11.9152L8.41699 14.2726V5.72768L5.46875 8.08608Z", fill: "currentColor" }),
345
- /* @__PURE__ */ jsx75("path", { d: "M12.4199 6.51967C12.7128 6.22695 13.1876 6.22696 13.4805 6.51967C14.4022 7.44168 14.9199 8.69255 14.9199 9.99624C14.9198 11.2998 14.4021 12.5499 13.4805 13.4718C13.1876 13.7647 12.7128 13.7646 12.4199 13.4718C12.1273 13.179 12.1272 12.7041 12.4199 12.4113C13.0602 11.7707 13.4198 10.902 13.4199 9.99624C13.4199 9.0903 13.0604 8.22093 12.4199 7.58022C12.1271 7.28731 12.1271 6.81251 12.4199 6.51967Z", fill: "currentColor" })
346
- ]
347
- }
348
- );
349
- var Volume2Icon_default = Volume2Icon;
350
-
351
- // src/tokens/svg/media/VolumeIcon.tsx
352
- import { jsx as jsx76 } from "react/jsx-runtime";
353
- var VolumeIcon = () => /* @__PURE__ */ jsx76(
354
- "svg",
355
- {
356
- xmlns: "http://www.w3.org/2000/svg",
357
- width: "1em",
358
- height: "1em",
359
- viewBox: "0 0 20 20",
360
- fill: "none",
361
- children: /* @__PURE__ */ jsx76("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.69824 3.58112C8.92336 3.40111 9.23239 3.36641 9.49219 3.49127C9.75155 3.61632 9.91699 3.87906 9.91699 4.16705V15.834C9.91675 16.1219 9.75157 16.3849 9.49219 16.5098C9.23251 16.6346 8.92333 16.5988 8.69824 16.419L4.7373 13.2501H1.66699C1.25288 13.2501 0.916186 12.9141 0.916016 12.5001V7.50006C0.916192 7.086 1.25289 6.75006 1.66699 6.75006H4.73828L8.69824 3.58112ZM5.46875 8.086C5.3359 8.19226 5.17011 8.24995 5 8.25006H2.41699V11.7501H5C5.17013 11.7502 5.33589 11.8088 5.46875 11.9151L8.41699 14.2725V5.7276L5.46875 8.086Z", fill: "currentColor" })
362
- }
363
- );
364
- var VolumeIcon_default = VolumeIcon;
365
-
366
- // src/tokens/svg/media/VolumeXIcon.tsx
367
- import { jsx as jsx77, jsxs as jsxs58 } from "react/jsx-runtime";
368
- var VolumeXIcon = () => /* @__PURE__ */ jsxs58(
369
- "svg",
370
- {
371
- xmlns: "http://www.w3.org/2000/svg",
372
- width: "1em",
373
- height: "1em",
374
- viewBox: "0 0 20 20",
375
- fill: "none",
376
- children: [
377
- /* @__PURE__ */ jsx77("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.69824 3.58112C8.92336 3.40111 9.23239 3.36641 9.49219 3.49127C9.75155 3.61632 9.91699 3.87906 9.91699 4.16705V15.834C9.91675 16.1219 9.75157 16.3849 9.49219 16.5098C9.23251 16.6346 8.92333 16.5988 8.69824 16.419L4.7373 13.2501H1.66699C1.25288 13.2501 0.916186 12.9141 0.916016 12.5001V7.50006C0.916192 7.086 1.25289 6.75006 1.66699 6.75006H4.73828L8.69824 3.58112ZM5.46875 8.086C5.3359 8.19226 5.17011 8.24995 5 8.25006H2.41699V11.7501H5C5.17013 11.7502 5.33589 11.8088 5.46875 11.9151L8.41699 14.2725V5.7276L5.46875 8.086Z", fill: "currentColor" }),
378
- /* @__PURE__ */ jsx77("path", { d: "M18.6367 6.96979C18.9296 6.6771 19.4044 6.67696 19.6973 6.96979C19.9898 7.26263 19.9899 7.73752 19.6973 8.03033L17.7275 10.0001L19.6973 11.9698C19.9898 12.2626 19.9899 12.7375 19.6973 13.0303C19.4045 13.3231 18.9296 13.3229 18.6367 13.0303L16.667 11.0606L14.6973 13.0303C14.4045 13.3231 13.9296 13.3229 13.6367 13.0303C13.3438 12.7374 13.3438 12.2627 13.6367 11.9698L15.6064 10.0001L13.6367 8.03033C13.3438 7.73744 13.3438 7.26268 13.6367 6.96979C13.9296 6.6771 14.4044 6.67696 14.6973 6.96979L16.667 8.93951L18.6367 6.96979Z", fill: "currentColor" })
379
- ]
380
- }
381
- );
382
- var VolumeXIcon_default = VolumeXIcon;
383
-
384
- // ../../node_modules/clsx/dist/clsx.mjs
385
- function r(e) {
386
- var t, f, n = "";
387
- if ("string" == typeof e || "number" == typeof e) n += e;
388
- else if ("object" == typeof e) if (Array.isArray(e)) {
389
- var o = e.length;
390
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
391
- } else for (f in e) e[f] && (n && (n += " "), n += f);
392
- return n;
393
- }
394
- function clsx() {
395
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
396
- return n;
397
- }
398
- var clsx_default = clsx;
399
-
400
- // src/components/Video/Video.tsx
401
- import { jsx as jsx78, jsxs as jsxs59 } from "react/jsx-runtime";
402
- var PipIcon = () => /* @__PURE__ */ jsxs59("svg", { viewBox: "0 0 24 24", width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
403
- /* @__PURE__ */ jsx78("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }),
404
- /* @__PURE__ */ jsx78("rect", { x: "12", y: "11", width: "7", height: "6", rx: "1", fill: "currentColor" })
405
- ] });
406
- var formatTime = (sec) => {
407
- if (!Number.isFinite(sec) || sec < 0) return "0:00";
408
- const m = Math.floor(sec / 60);
409
- const s = Math.floor(sec % 60);
410
- return `${m}:${s.toString().padStart(2, "0")}`;
411
- };
412
- var Video = React.forwardRef((props, ref) => {
413
- const {
414
- src,
415
- poster,
416
- autoPlay,
417
- muted,
418
- loop,
419
- playsInline,
420
- showControls = true,
421
- showCenterPlay = true,
422
- playbackRates,
423
- showCaptions = false,
424
- showPip = false,
425
- showDownload = false,
426
- downloadFileName,
427
- onPlay,
428
- onPause,
429
- onTimeUpdate,
430
- onVolumeChange,
431
- onLoadedMetadata,
432
- onRateChange,
433
- children,
434
- ...rest
435
- } = props;
436
- const containerRef = React.useRef(null);
437
- const videoRef = React.useRef(null);
438
- const [isPlaying, setIsPlaying] = React.useState(Boolean(autoPlay));
439
- const [isLoaded, setIsLoaded] = React.useState(false);
440
- const [currentTime, setCurrentTime] = React.useState(0);
441
- const [duration, setDuration] = React.useState(0);
442
- const [buffered, setBuffered] = React.useState(0);
443
- const [volume, setVolume] = React.useState(1);
444
- const [isMuted, setIsMuted] = React.useState(Boolean(muted));
445
- const [isFullscreen, setIsFullscreen] = React.useState(false);
446
- const [playbackRate, setPlaybackRate] = React.useState(1);
447
- const [rateMenuOpen, setRateMenuOpen] = React.useState(false);
448
- const [captionsOn, setCaptionsOn] = React.useState(false);
449
- const [isPip, setIsPip] = React.useState(false);
450
- const setRefs = React.useCallback(
451
- (el) => {
452
- videoRef.current = el;
453
- if (typeof ref === "function") ref(el);
454
- else if (ref) ref.current = el;
455
- },
456
- [ref]
457
- );
458
- React.useEffect(() => {
459
- const onFsChange = () => {
460
- setIsFullscreen(document.fullscreenElement === containerRef.current);
461
- };
462
- document.addEventListener("fullscreenchange", onFsChange);
463
- return () => document.removeEventListener("fullscreenchange", onFsChange);
464
- }, []);
465
- React.useEffect(() => {
466
- const v = videoRef.current;
467
- if (!v) return;
468
- const onEnter = () => setIsPip(true);
469
- const onLeave = () => setIsPip(false);
470
- v.addEventListener("enterpictureinpicture", onEnter);
471
- v.addEventListener("leavepictureinpicture", onLeave);
472
- return () => {
473
- v.removeEventListener("enterpictureinpicture", onEnter);
474
- v.removeEventListener("leavepictureinpicture", onLeave);
475
- };
476
- }, []);
477
- const handlePlay = (e) => {
478
- setIsPlaying(true);
479
- onPlay?.(e);
480
- };
481
- const handlePause = (e) => {
482
- setIsPlaying(false);
483
- onPause?.(e);
484
- };
485
- const handleLoadedMetadata = (e) => {
486
- const v = e.currentTarget;
487
- setDuration(v.duration);
488
- setIsLoaded(true);
489
- onLoadedMetadata?.(e);
490
- };
491
- const handleTimeUpdate = (e) => {
492
- const v = e.currentTarget;
493
- setCurrentTime(v.currentTime);
494
- if (v.buffered.length > 0) {
495
- setBuffered(v.buffered.end(v.buffered.length - 1));
496
- }
497
- onTimeUpdate?.(e);
498
- };
499
- const handleVolumeChange = (e) => {
500
- const v = e.currentTarget;
501
- setVolume(v.volume);
502
- setIsMuted(v.muted);
503
- onVolumeChange?.(e);
504
- };
505
- const handleRateChange = (e) => {
506
- setPlaybackRate(e.currentTarget.playbackRate);
507
- onRateChange?.(e);
508
- };
509
- const togglePlay = () => {
510
- const v = videoRef.current;
511
- if (!v) return;
512
- if (v.paused) v.play();
513
- else v.pause();
514
- };
515
- const toggleMute = () => {
516
- const v = videoRef.current;
517
- if (!v) return;
518
- v.muted = !v.muted;
519
- };
520
- const toggleFullscreen = () => {
521
- const el = containerRef.current;
522
- if (!el) return;
523
- if (document.fullscreenElement === el) {
524
- document.exitFullscreen();
525
- } else {
526
- el.requestFullscreen?.();
527
- }
528
- };
529
- const togglePip = async () => {
530
- const v = videoRef.current;
531
- if (!v) return;
532
- try {
533
- if (document.pictureInPictureElement === v) {
534
- await document.exitPictureInPicture?.();
535
- } else {
536
- await v.requestPictureInPicture?.();
537
- }
538
- } catch {
539
- }
540
- };
541
- const toggleCaptions = () => {
542
- const v = videoRef.current;
543
- if (!v) return;
544
- const next = !captionsOn;
545
- for (let i = 0; i < v.textTracks.length; i++) {
546
- const t = v.textTracks[i];
547
- if (t.kind === "captions" || t.kind === "subtitles") {
548
- t.mode = next ? "showing" : "hidden";
549
- }
550
- }
551
- setCaptionsOn(next);
552
- };
553
- const selectRate = (rate) => {
554
- const v = videoRef.current;
555
- if (!v) return;
556
- v.playbackRate = rate;
557
- setRateMenuOpen(false);
558
- };
559
- const handleSeek = (e) => {
560
- const v = videoRef.current;
561
- if (!v) return;
562
- const next = Number(e.target.value);
563
- v.currentTime = next;
564
- setCurrentTime(next);
565
- };
566
- const handleVolumeSlider = (e) => {
567
- const v = videoRef.current;
568
- if (!v) return;
569
- const next = Number(e.target.value);
570
- v.volume = next;
571
- if (next > 0 && v.muted) v.muted = false;
572
- if (next === 0) v.muted = true;
573
- };
574
- const progressPct = duration > 0 ? currentTime / duration * 100 : 0;
575
- const bufferedPct = duration > 0 ? buffered / duration * 100 : 0;
576
- const volumePct = (isMuted ? 0 : volume) * 100;
577
- const VolumeGlyph = isMuted || volume === 0 ? VolumeXIcon_default : volume < 0.5 ? VolumeIcon_default : Volume2Icon_default;
578
- const pipSupported = typeof document !== "undefined" && "pictureInPictureEnabled" in document && document.pictureInPictureEnabled;
579
- return /* @__PURE__ */ jsxs59(
580
- "div",
581
- {
582
- ref: containerRef,
583
- className: clsx_default("lib-xplat-video", showControls && "has-controls"),
584
- children: [
585
- /* @__PURE__ */ jsx78(
586
- "video",
587
- {
588
- ref: setRefs,
589
- src,
590
- poster,
591
- autoPlay,
592
- muted,
593
- loop,
594
- playsInline: playsInline ?? true,
595
- onPlay: handlePlay,
596
- onPause: handlePause,
597
- onLoadedMetadata: handleLoadedMetadata,
598
- onTimeUpdate: handleTimeUpdate,
599
- onVolumeChange: handleVolumeChange,
600
- onRateChange: handleRateChange,
601
- onClick: showControls || showCenterPlay ? togglePlay : void 0,
602
- ...rest,
603
- children
604
- }
605
- ),
606
- showCenterPlay && /* @__PURE__ */ jsx78(
607
- "button",
608
- {
609
- type: "button",
610
- className: clsx_default(
611
- "center-play",
612
- isPlaying && "is-playing",
613
- !isLoaded && "is-loading"
614
- ),
615
- onClick: togglePlay,
616
- "aria-label": isPlaying ? "\uC77C\uC2DC\uC815\uC9C0" : "\uC7AC\uC0DD",
617
- tabIndex: -1,
618
- children: /* @__PURE__ */ jsx78("span", { className: "center-play-icon", children: /* @__PURE__ */ jsx78(PlayCircleIcon_default, {}) })
619
- }
620
- ),
621
- showControls && /* @__PURE__ */ jsxs59("div", { className: "controls", onClick: (e) => e.stopPropagation(), children: [
622
- /* @__PURE__ */ jsx78(
623
- "input",
624
- {
625
- type: "range",
626
- className: "seekbar",
627
- min: 0,
628
- max: duration || 0,
629
- step: 0.1,
630
- value: currentTime,
631
- onChange: handleSeek,
632
- "aria-label": "\uC7AC\uC0DD \uC704\uCE58",
633
- style: {
634
- ["--progress"]: `${progressPct}%`,
635
- ["--buffered"]: `${bufferedPct}%`
636
- }
637
- }
638
- ),
639
- /* @__PURE__ */ jsxs59("div", { className: "controls-row", children: [
640
- /* @__PURE__ */ jsx78(
641
- "button",
642
- {
643
- type: "button",
644
- className: "control-btn",
645
- onClick: togglePlay,
646
- "aria-label": isPlaying ? "\uC77C\uC2DC\uC815\uC9C0" : "\uC7AC\uC0DD",
647
- children: isPlaying ? /* @__PURE__ */ jsx78(PauseIcon_default, {}) : /* @__PURE__ */ jsx78(PlayIcon_default, {})
648
- }
649
- ),
650
- /* @__PURE__ */ jsxs59("div", { className: "volume-group", children: [
651
- /* @__PURE__ */ jsx78(
652
- "button",
653
- {
654
- type: "button",
655
- className: "control-btn",
656
- onClick: toggleMute,
657
- "aria-label": isMuted ? "\uC74C\uC18C\uAC70 \uD574\uC81C" : "\uC74C\uC18C\uAC70",
658
- children: /* @__PURE__ */ jsx78(VolumeGlyph, {})
659
- }
660
- ),
661
- /* @__PURE__ */ jsx78(
662
- "input",
663
- {
664
- type: "range",
665
- className: "volume-slider",
666
- min: 0,
667
- max: 1,
668
- step: 0.05,
669
- value: isMuted ? 0 : volume,
670
- onChange: handleVolumeSlider,
671
- "aria-label": "\uBCFC\uB968",
672
- style: { ["--volume"]: `${volumePct}%` }
673
- }
674
- )
675
- ] }),
676
- /* @__PURE__ */ jsxs59("span", { className: "time", children: [
677
- formatTime(currentTime),
678
- " / ",
679
- formatTime(duration)
680
- ] }),
681
- /* @__PURE__ */ jsx78("div", { className: "controls-spacer" }),
682
- playbackRates && playbackRates.length > 0 && /* @__PURE__ */ jsxs59("div", { className: clsx_default("rate-group", rateMenuOpen && "is-open"), children: [
683
- /* @__PURE__ */ jsxs59(
684
- "button",
685
- {
686
- type: "button",
687
- className: "control-btn rate-btn",
688
- onClick: () => setRateMenuOpen((o) => !o),
689
- "aria-label": "\uC7AC\uC0DD \uC18D\uB3C4",
690
- "aria-expanded": rateMenuOpen,
691
- children: [
692
- playbackRate,
693
- "x"
694
- ]
695
- }
696
- ),
697
- rateMenuOpen && /* @__PURE__ */ jsx78("ul", { className: "rate-menu", role: "menu", children: playbackRates.map((r2) => /* @__PURE__ */ jsx78("li", { children: /* @__PURE__ */ jsxs59(
698
- "button",
699
- {
700
- type: "button",
701
- role: "menuitem",
702
- className: clsx_default("rate-item", r2 === playbackRate && "is-active"),
703
- onClick: () => selectRate(r2),
704
- children: [
705
- r2,
706
- "x"
707
- ]
708
- }
709
- ) }, r2)) })
710
- ] }),
711
- showCaptions && /* @__PURE__ */ jsx78(
712
- "button",
713
- {
714
- type: "button",
715
- className: clsx_default("control-btn", captionsOn && "is-active"),
716
- onClick: toggleCaptions,
717
- "aria-label": captionsOn ? "\uC790\uB9C9 \uB044\uAE30" : "\uC790\uB9C9 \uCF1C\uAE30",
718
- "aria-pressed": captionsOn,
719
- children: /* @__PURE__ */ jsx78(TypeIcon_default, {})
720
- }
721
- ),
722
- showPip && pipSupported && /* @__PURE__ */ jsx78(
723
- "button",
724
- {
725
- type: "button",
726
- className: clsx_default("control-btn", isPip && "is-active"),
727
- onClick: togglePip,
728
- "aria-label": isPip ? "PIP \uC885\uB8CC" : "PIP",
729
- children: /* @__PURE__ */ jsx78(PipIcon, {})
730
- }
731
- ),
732
- showDownload && /* @__PURE__ */ jsx78(
733
- "a",
734
- {
735
- className: "control-btn",
736
- href: src,
737
- download: downloadFileName ?? true,
738
- "aria-label": "\uB2E4\uC6B4\uB85C\uB4DC",
739
- children: /* @__PURE__ */ jsx78(DownloadIcon_default, {})
740
- }
741
- ),
742
- /* @__PURE__ */ jsx78(
743
- "button",
744
- {
745
- type: "button",
746
- className: "control-btn",
747
- onClick: toggleFullscreen,
748
- "aria-label": isFullscreen ? "\uC804\uCCB4\uD654\uBA74 \uC885\uB8CC" : "\uC804\uCCB4\uD654\uBA74",
749
- children: isFullscreen ? /* @__PURE__ */ jsx78(MinimizeIcon_default, {}) : /* @__PURE__ */ jsx78(MaximizeIcon_default, {})
750
- }
751
- )
752
- ] })
753
- ] })
754
- ]
755
- }
756
- );
757
- });
758
- Video.displayName = "Video";
759
- var Video_default = Video;
1
+ import {
2
+ Video_default
3
+ } from "../../chunk-WZLGJQLW.js";
4
+ import "../../chunk-AWPO2FI7.js";
5
+ import "../../chunk-WVCZIOLY.js";
6
+ import "../../chunk-NCBB3WUJ.js";
7
+ import "../../chunk-KZOJN57Q.js";
760
8
  export {
761
9
  Video_default as Video
762
10
  };