@blukavantui/community 0.0.0-stage → 1.0.1

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 (884) hide show
  1. package/LICENSE.txt +103 -0
  2. package/README.md +171 -2
  3. package/THIRD_PARTY_NOTICES.txt +58 -0
  4. package/assets/fonts/dm-sans-LICENSE.txt +93 -0
  5. package/assets/fonts/dm-sans-latin-ext-wght-italic.woff2 +0 -0
  6. package/assets/fonts/dm-sans-latin-ext-wght-normal.woff2 +0 -0
  7. package/assets/fonts/dm-sans-latin-wght-italic.woff2 +0 -0
  8. package/assets/fonts/dm-sans-latin-wght-normal.woff2 +0 -0
  9. package/assets/fonts/ibm-plex-mono-LICENSE.txt +93 -0
  10. package/assets/fonts/ibm-plex-mono-latin-100-italic.woff2 +0 -0
  11. package/assets/fonts/ibm-plex-mono-latin-100-normal.woff2 +0 -0
  12. package/assets/fonts/ibm-plex-mono-latin-200-italic.woff2 +0 -0
  13. package/assets/fonts/ibm-plex-mono-latin-200-normal.woff2 +0 -0
  14. package/assets/fonts/ibm-plex-mono-latin-300-italic.woff2 +0 -0
  15. package/assets/fonts/ibm-plex-mono-latin-300-normal.woff2 +0 -0
  16. package/assets/fonts/ibm-plex-mono-latin-400-italic.woff2 +0 -0
  17. package/assets/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
  18. package/assets/fonts/ibm-plex-mono-latin-500-italic.woff2 +0 -0
  19. package/assets/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
  20. package/assets/fonts/ibm-plex-mono-latin-600-italic.woff2 +0 -0
  21. package/assets/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
  22. package/assets/fonts/ibm-plex-mono-latin-700-italic.woff2 +0 -0
  23. package/assets/fonts/ibm-plex-mono-latin-700-normal.woff2 +0 -0
  24. package/assets/fonts/ibm-plex-mono-latin-ext-100-italic.woff2 +0 -0
  25. package/assets/fonts/ibm-plex-mono-latin-ext-100-normal.woff2 +0 -0
  26. package/assets/fonts/ibm-plex-mono-latin-ext-200-italic.woff2 +0 -0
  27. package/assets/fonts/ibm-plex-mono-latin-ext-200-normal.woff2 +0 -0
  28. package/assets/fonts/ibm-plex-mono-latin-ext-300-italic.woff2 +0 -0
  29. package/assets/fonts/ibm-plex-mono-latin-ext-300-normal.woff2 +0 -0
  30. package/assets/fonts/ibm-plex-mono-latin-ext-400-italic.woff2 +0 -0
  31. package/assets/fonts/ibm-plex-mono-latin-ext-400-normal.woff2 +0 -0
  32. package/assets/fonts/ibm-plex-mono-latin-ext-500-italic.woff2 +0 -0
  33. package/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2 +0 -0
  34. package/assets/fonts/ibm-plex-mono-latin-ext-600-italic.woff2 +0 -0
  35. package/assets/fonts/ibm-plex-mono-latin-ext-600-normal.woff2 +0 -0
  36. package/assets/fonts/ibm-plex-mono-latin-ext-700-italic.woff2 +0 -0
  37. package/assets/fonts/ibm-plex-mono-latin-ext-700-normal.woff2 +0 -0
  38. package/assets/fonts/inter-LICENSE.txt +93 -0
  39. package/assets/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
  40. package/assets/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
  41. package/assets/fonts/inter-latin-wght-italic.woff2 +0 -0
  42. package/assets/fonts/inter-latin-wght-normal.woff2 +0 -0
  43. package/assets/fonts/jetbrains-mono-LICENSE.txt +93 -0
  44. package/assets/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
  45. package/assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
  46. package/assets/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
  47. package/assets/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  48. package/assets/fonts/lora-LICENSE.txt +93 -0
  49. package/assets/fonts/lora-latin-ext-wght-italic.woff2 +0 -0
  50. package/assets/fonts/lora-latin-ext-wght-normal.woff2 +0 -0
  51. package/assets/fonts/lora-latin-wght-italic.woff2 +0 -0
  52. package/assets/fonts/lora-latin-wght-normal.woff2 +0 -0
  53. package/assets/fonts/manifest.json +618 -0
  54. package/assets/fonts/manrope-LICENSE.txt +93 -0
  55. package/assets/fonts/manrope-latin-ext-wght-normal.woff2 +0 -0
  56. package/assets/fonts/manrope-latin-wght-normal.woff2 +0 -0
  57. package/assets/fonts/merriweather-LICENSE.txt +93 -0
  58. package/assets/fonts/merriweather-latin-ext-wght-italic.woff2 +0 -0
  59. package/assets/fonts/merriweather-latin-ext-wght-normal.woff2 +0 -0
  60. package/assets/fonts/merriweather-latin-wght-italic.woff2 +0 -0
  61. package/assets/fonts/merriweather-latin-wght-normal.woff2 +0 -0
  62. package/assets/fonts/montserrat-LICENSE.txt +93 -0
  63. package/assets/fonts/montserrat-latin-ext-wght-italic.woff2 +0 -0
  64. package/assets/fonts/montserrat-latin-ext-wght-normal.woff2 +0 -0
  65. package/assets/fonts/montserrat-latin-wght-italic.woff2 +0 -0
  66. package/assets/fonts/montserrat-latin-wght-normal.woff2 +0 -0
  67. package/assets/fonts/playfair-display-LICENSE.txt +93 -0
  68. package/assets/fonts/playfair-display-latin-ext-wght-italic.woff2 +0 -0
  69. package/assets/fonts/playfair-display-latin-ext-wght-normal.woff2 +0 -0
  70. package/assets/fonts/playfair-display-latin-wght-italic.woff2 +0 -0
  71. package/assets/fonts/playfair-display-latin-wght-normal.woff2 +0 -0
  72. package/assets/fonts/roboto-LICENSE.txt +93 -0
  73. package/assets/fonts/roboto-latin-ext-wght-italic.woff2 +0 -0
  74. package/assets/fonts/roboto-latin-ext-wght-normal.woff2 +0 -0
  75. package/assets/fonts/roboto-latin-wght-italic.woff2 +0 -0
  76. package/assets/fonts/roboto-latin-wght-normal.woff2 +0 -0
  77. package/assets/fonts/source-sans-3-LICENSE.txt +93 -0
  78. package/assets/fonts/source-sans-3-latin-ext-wght-italic.woff2 +0 -0
  79. package/assets/fonts/source-sans-3-latin-ext-wght-normal.woff2 +0 -0
  80. package/assets/fonts/source-sans-3-latin-wght-italic.woff2 +0 -0
  81. package/assets/fonts/source-sans-3-latin-wght-normal.woff2 +0 -0
  82. package/dist/advanced-types.d.ts +114 -0
  83. package/dist/app-layout.css +115 -0
  84. package/dist/app-layout.d.ts +2 -0
  85. package/dist/app-layout.js +1 -0
  86. package/dist/badge.css +131 -0
  87. package/dist/badge.d.ts +2 -0
  88. package/dist/badge.js +1 -0
  89. package/dist/bluui-community-grid.js +72 -0
  90. package/dist/bluui-community.js +1 -0
  91. package/dist/breadcrumbs.css +77 -0
  92. package/dist/breadcrumbs.d.ts +2 -0
  93. package/dist/breadcrumbs.js +1 -0
  94. package/dist/build-audit.json +388 -0
  95. package/dist/button.css +625 -0
  96. package/dist/button.d.ts +2 -0
  97. package/dist/button.js +1 -0
  98. package/dist/card.css +119 -0
  99. package/dist/card.d.ts +2 -0
  100. package/dist/card.js +1 -0
  101. package/dist/cascader.css +152 -0
  102. package/dist/cascader.d.ts +2 -0
  103. package/dist/cascader.js +1 -0
  104. package/dist/chat-widget.css +121 -0
  105. package/dist/chat-widget.d.ts +2 -0
  106. package/dist/chat-widget.js +1 -0
  107. package/dist/chat.css +66 -0
  108. package/dist/chat.d.ts +2 -0
  109. package/dist/chat.js +1 -0
  110. package/dist/chip-group.css +44 -0
  111. package/dist/chip-group.d.ts +2 -0
  112. package/dist/chip-group.js +1 -0
  113. package/dist/chip.css +191 -0
  114. package/dist/chip.d.ts +2 -0
  115. package/dist/chip.js +1 -0
  116. package/dist/chunk-2HFI6CC6.js +0 -0
  117. package/dist/chunk-2MQNFEGJ.js +1 -0
  118. package/dist/chunk-2TCNAQC6.js +1 -0
  119. package/dist/chunk-3LWXPCWY.js +1 -0
  120. package/dist/chunk-3ZS5YITP.js +1 -0
  121. package/dist/chunk-4RM3B4L7.js +1 -0
  122. package/dist/chunk-4USJBOSC.js +1 -0
  123. package/dist/chunk-5TEIXA4R.js +1 -0
  124. package/dist/chunk-64LOE3FU.js +1 -0
  125. package/dist/chunk-6EHKOVZK.js +1 -0
  126. package/dist/chunk-6EJIIQNF.js +1 -0
  127. package/dist/chunk-6XOMFIPU.js +1 -0
  128. package/dist/chunk-75BQYII5.js +1 -0
  129. package/dist/chunk-7HXX66DB.js +3 -0
  130. package/dist/chunk-7KMRDQZG.js +0 -0
  131. package/dist/chunk-AICXIQKD.js +1 -0
  132. package/dist/chunk-BLDXIO7P.js +1 -0
  133. package/dist/chunk-C3CLLZH2.js +1 -0
  134. package/dist/chunk-CTLZIWMX.js +1 -0
  135. package/dist/chunk-CZXYS6CY.js +1 -0
  136. package/dist/chunk-GEG3TNB4.js +1 -0
  137. package/dist/chunk-GK3INPAZ.js +1 -0
  138. package/dist/chunk-H5IEGCAK.js +72 -0
  139. package/dist/chunk-H7ETPJVW.js +1 -0
  140. package/dist/chunk-IHKCC6WJ.js +1 -0
  141. package/dist/chunk-IIKSMXQE.js +1 -0
  142. package/dist/chunk-J7BV4KHG.js +1 -0
  143. package/dist/chunk-K2P2BHV5.js +1 -0
  144. package/dist/chunk-KBOMPMSI.js +1 -0
  145. package/dist/chunk-KR3UUTB2.js +1 -0
  146. package/dist/chunk-LGJVLEAH.js +1 -0
  147. package/dist/chunk-LJ4O6YTN.js +1 -0
  148. package/dist/chunk-MBC4UVTS.js +1 -0
  149. package/dist/chunk-MCVO25PZ.js +1 -0
  150. package/dist/chunk-MEEQNPGM.js +1 -0
  151. package/dist/chunk-MHHJZYXW.js +1 -0
  152. package/dist/chunk-MSMNEIWA.js +0 -0
  153. package/dist/chunk-MZBB5ROJ.js +1 -0
  154. package/dist/chunk-NB5PGEDY.js +1 -0
  155. package/dist/chunk-NTFHNL7T.js +1 -0
  156. package/dist/chunk-O3MRWAI5.js +1 -0
  157. package/dist/chunk-RGTLYBOY.js +3 -0
  158. package/dist/chunk-RZ5YSY7Y.js +0 -0
  159. package/dist/chunk-SDMH2EVD.js +1 -0
  160. package/dist/chunk-SEJUHKS5.js +1 -0
  161. package/dist/chunk-SIU7DSOA.js +1 -0
  162. package/dist/chunk-T45UAWNI.js +3 -0
  163. package/dist/chunk-TIXCZTJ7.js +0 -0
  164. package/dist/chunk-U4ZP73V4.js +1 -0
  165. package/dist/chunk-U73BNLZ3.js +1 -0
  166. package/dist/chunk-UEOCR2C3.js +2 -0
  167. package/dist/chunk-UUZ4HU7L.js +0 -0
  168. package/dist/chunk-VBRSAI3K.js +1 -0
  169. package/dist/chunk-W27NAI62.js +1 -0
  170. package/dist/chunk-W4SW4RWX.js +1 -0
  171. package/dist/chunk-WHA6UO5X.js +1 -0
  172. package/dist/chunk-XDYBNO4P.js +1 -0
  173. package/dist/chunk-XIOI5PKM.js +1 -0
  174. package/dist/chunk-Y4TCT2K6.js +1 -0
  175. package/dist/chunk-Y4WEMSE4.js +0 -0
  176. package/dist/collection-layout.css +30 -0
  177. package/dist/collection-layout.d.ts +2 -0
  178. package/dist/collection-layout.js +1 -0
  179. package/dist/colors.d.ts +2 -0
  180. package/dist/command-palette.css +35 -0
  181. package/dist/command-palette.d.ts +2 -0
  182. package/dist/command-palette.js +1 -0
  183. package/dist/component-factories/app-layout.d.ts +2 -0
  184. package/dist/component-factories/breadcrumbs.d.ts +2 -0
  185. package/dist/component-factories/cascader.d.ts +2 -0
  186. package/dist/component-factories/chat-widget.d.ts +2 -0
  187. package/dist/component-factories/chat.d.ts +2 -0
  188. package/dist/component-factories/collection-layout.d.ts +2 -0
  189. package/dist/component-factories/command-palette.d.ts +2 -0
  190. package/dist/component-factories/content-carousel.d.ts +2 -0
  191. package/dist/component-factories/dashboard-canvas.d.ts +3 -0
  192. package/dist/component-factories/dashboard-panel.d.ts +3 -0
  193. package/dist/component-factories/date-picker.d.ts +2 -0
  194. package/dist/component-factories/date-range-picker.d.ts +2 -0
  195. package/dist/component-factories/date-time-picker.d.ts +2 -0
  196. package/dist/component-factories/descriptions.d.ts +2 -0
  197. package/dist/component-factories/drawer.d.ts +2 -0
  198. package/dist/component-factories/float-button.d.ts +2 -0
  199. package/dist/component-factories/font-provider.d.ts +2 -0
  200. package/dist/component-factories/hero-section.d.ts +2 -0
  201. package/dist/component-factories/image-compare.d.ts +2 -0
  202. package/dist/component-factories/logo-cloud.d.ts +2 -0
  203. package/dist/component-factories/media-card.d.ts +2 -0
  204. package/dist/component-factories/media-image.d.ts +2 -0
  205. package/dist/component-factories/modal.d.ts +2 -0
  206. package/dist/component-factories/notification-center.d.ts +3 -0
  207. package/dist/component-factories/notification.d.ts +5 -0
  208. package/dist/component-factories/page-header.d.ts +2 -0
  209. package/dist/component-factories/page-layout.d.ts +2 -0
  210. package/dist/component-factories/pagination.d.ts +2 -0
  211. package/dist/component-factories/profile-card.d.ts +2 -0
  212. package/dist/component-factories/qr-code.d.ts +2 -0
  213. package/dist/component-factories/quote-card.d.ts +2 -0
  214. package/dist/component-factories/shape-mask.d.ts +2 -0
  215. package/dist/component-factories/sidebar.d.ts +2 -0
  216. package/dist/component-factories/sparkline.d.ts +2 -0
  217. package/dist/component-factories/split-section.d.ts +2 -0
  218. package/dist/component-factories/splitter.d.ts +2 -0
  219. package/dist/component-factories/statistic.d.ts +2 -0
  220. package/dist/component-factories/text-highlight.d.ts +2 -0
  221. package/dist/component-factories/time-picker.d.ts +2 -0
  222. package/dist/component-factories/timeline.d.ts +2 -0
  223. package/dist/component-factories/tour.d.ts +2 -0
  224. package/dist/component-factories/transfer-list.d.ts +2 -0
  225. package/dist/component-factories/tree-select.d.ts +2 -0
  226. package/dist/component-factories/tree-view.d.ts +2 -0
  227. package/dist/component-factories/upload-manager.d.ts +2 -0
  228. package/dist/component-factories/video-lightbox.d.ts +2 -0
  229. package/dist/component-factories/video-player.d.ts +2 -0
  230. package/dist/component-runtime.d.ts +2 -0
  231. package/dist/content-carousel.css +34 -0
  232. package/dist/content-carousel.d.ts +2 -0
  233. package/dist/content-carousel.js +1 -0
  234. package/dist/content.css +2085 -0
  235. package/dist/content.d.ts +13 -0
  236. package/dist/content.js +1 -0
  237. package/dist/core.css +1070 -0
  238. package/dist/core.d.ts +6 -0
  239. package/dist/core.js +1 -0
  240. package/dist/dashboard-canvas.css +49 -0
  241. package/dist/dashboard-canvas.d.ts +2 -0
  242. package/dist/dashboard-canvas.js +1 -0
  243. package/dist/dashboard-panel.css +2 -0
  244. package/dist/dashboard-panel.d.ts +2 -0
  245. package/dist/dashboard-panel.js +1 -0
  246. package/dist/data.css +813 -0
  247. package/dist/data.d.ts +9 -0
  248. package/dist/data.js +1 -0
  249. package/dist/date-picker.css +78 -0
  250. package/dist/date-picker.d.ts +2 -0
  251. package/dist/date-picker.js +1 -0
  252. package/dist/date-range-picker.css +78 -0
  253. package/dist/date-range-picker.d.ts +2 -0
  254. package/dist/date-range-picker.js +1 -0
  255. package/dist/date-time-picker.css +78 -0
  256. package/dist/date-time-picker.d.ts +2 -0
  257. package/dist/date-time-picker.js +1 -0
  258. package/dist/descriptions.css +113 -0
  259. package/dist/descriptions.d.ts +2 -0
  260. package/dist/descriptions.js +1 -0
  261. package/dist/dom.d.ts +7 -0
  262. package/dist/drawer.css +215 -0
  263. package/dist/drawer.d.ts +2 -0
  264. package/dist/drawer.js +1 -0
  265. package/dist/empty-state.css +110 -0
  266. package/dist/empty-state.d.ts +2 -0
  267. package/dist/empty-state.js +1 -0
  268. package/dist/essentials.css +1295 -0
  269. package/dist/essentials.d.ts +11 -0
  270. package/dist/essentials.js +1 -0
  271. package/dist/feedback.css +1136 -0
  272. package/dist/feedback.d.ts +10 -0
  273. package/dist/feedback.js +1 -0
  274. package/dist/float-button.css +28 -0
  275. package/dist/float-button.d.ts +2 -0
  276. package/dist/float-button.js +1 -0
  277. package/dist/font-provider.css +5 -0
  278. package/dist/font-provider.d.ts +2 -0
  279. package/dist/font-provider.js +1 -0
  280. package/dist/fonts/dm-sans-LICENSE.txt +93 -0
  281. package/dist/fonts/dm-sans-latin-ext-wght-italic.woff2 +0 -0
  282. package/dist/fonts/dm-sans-latin-ext-wght-normal.woff2 +0 -0
  283. package/dist/fonts/dm-sans-latin-wght-italic.woff2 +0 -0
  284. package/dist/fonts/dm-sans-latin-wght-normal.woff2 +0 -0
  285. package/dist/fonts/ibm-plex-mono-LICENSE.txt +93 -0
  286. package/dist/fonts/ibm-plex-mono-latin-100-italic.woff2 +0 -0
  287. package/dist/fonts/ibm-plex-mono-latin-100-normal.woff2 +0 -0
  288. package/dist/fonts/ibm-plex-mono-latin-200-italic.woff2 +0 -0
  289. package/dist/fonts/ibm-plex-mono-latin-200-normal.woff2 +0 -0
  290. package/dist/fonts/ibm-plex-mono-latin-300-italic.woff2 +0 -0
  291. package/dist/fonts/ibm-plex-mono-latin-300-normal.woff2 +0 -0
  292. package/dist/fonts/ibm-plex-mono-latin-400-italic.woff2 +0 -0
  293. package/dist/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
  294. package/dist/fonts/ibm-plex-mono-latin-500-italic.woff2 +0 -0
  295. package/dist/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
  296. package/dist/fonts/ibm-plex-mono-latin-600-italic.woff2 +0 -0
  297. package/dist/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
  298. package/dist/fonts/ibm-plex-mono-latin-700-italic.woff2 +0 -0
  299. package/dist/fonts/ibm-plex-mono-latin-700-normal.woff2 +0 -0
  300. package/dist/fonts/ibm-plex-mono-latin-ext-100-italic.woff2 +0 -0
  301. package/dist/fonts/ibm-plex-mono-latin-ext-100-normal.woff2 +0 -0
  302. package/dist/fonts/ibm-plex-mono-latin-ext-200-italic.woff2 +0 -0
  303. package/dist/fonts/ibm-plex-mono-latin-ext-200-normal.woff2 +0 -0
  304. package/dist/fonts/ibm-plex-mono-latin-ext-300-italic.woff2 +0 -0
  305. package/dist/fonts/ibm-plex-mono-latin-ext-300-normal.woff2 +0 -0
  306. package/dist/fonts/ibm-plex-mono-latin-ext-400-italic.woff2 +0 -0
  307. package/dist/fonts/ibm-plex-mono-latin-ext-400-normal.woff2 +0 -0
  308. package/dist/fonts/ibm-plex-mono-latin-ext-500-italic.woff2 +0 -0
  309. package/dist/fonts/ibm-plex-mono-latin-ext-500-normal.woff2 +0 -0
  310. package/dist/fonts/ibm-plex-mono-latin-ext-600-italic.woff2 +0 -0
  311. package/dist/fonts/ibm-plex-mono-latin-ext-600-normal.woff2 +0 -0
  312. package/dist/fonts/ibm-plex-mono-latin-ext-700-italic.woff2 +0 -0
  313. package/dist/fonts/ibm-plex-mono-latin-ext-700-normal.woff2 +0 -0
  314. package/dist/fonts/inter-LICENSE.txt +93 -0
  315. package/dist/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
  316. package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
  317. package/dist/fonts/inter-latin-wght-italic.woff2 +0 -0
  318. package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
  319. package/dist/fonts/jetbrains-mono-LICENSE.txt +93 -0
  320. package/dist/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
  321. package/dist/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
  322. package/dist/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
  323. package/dist/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  324. package/dist/fonts/lora-LICENSE.txt +93 -0
  325. package/dist/fonts/lora-latin-ext-wght-italic.woff2 +0 -0
  326. package/dist/fonts/lora-latin-ext-wght-normal.woff2 +0 -0
  327. package/dist/fonts/lora-latin-wght-italic.woff2 +0 -0
  328. package/dist/fonts/lora-latin-wght-normal.woff2 +0 -0
  329. package/dist/fonts/manifest.json +618 -0
  330. package/dist/fonts/manrope-LICENSE.txt +93 -0
  331. package/dist/fonts/manrope-latin-ext-wght-normal.woff2 +0 -0
  332. package/dist/fonts/manrope-latin-wght-normal.woff2 +0 -0
  333. package/dist/fonts/merriweather-LICENSE.txt +93 -0
  334. package/dist/fonts/merriweather-latin-ext-wght-italic.woff2 +0 -0
  335. package/dist/fonts/merriweather-latin-ext-wght-normal.woff2 +0 -0
  336. package/dist/fonts/merriweather-latin-wght-italic.woff2 +0 -0
  337. package/dist/fonts/merriweather-latin-wght-normal.woff2 +0 -0
  338. package/dist/fonts/montserrat-LICENSE.txt +93 -0
  339. package/dist/fonts/montserrat-latin-ext-wght-italic.woff2 +0 -0
  340. package/dist/fonts/montserrat-latin-ext-wght-normal.woff2 +0 -0
  341. package/dist/fonts/montserrat-latin-wght-italic.woff2 +0 -0
  342. package/dist/fonts/montserrat-latin-wght-normal.woff2 +0 -0
  343. package/dist/fonts/playfair-display-LICENSE.txt +93 -0
  344. package/dist/fonts/playfair-display-latin-ext-wght-italic.woff2 +0 -0
  345. package/dist/fonts/playfair-display-latin-ext-wght-normal.woff2 +0 -0
  346. package/dist/fonts/playfair-display-latin-wght-italic.woff2 +0 -0
  347. package/dist/fonts/playfair-display-latin-wght-normal.woff2 +0 -0
  348. package/dist/fonts/roboto-LICENSE.txt +93 -0
  349. package/dist/fonts/roboto-latin-ext-wght-italic.woff2 +0 -0
  350. package/dist/fonts/roboto-latin-ext-wght-normal.woff2 +0 -0
  351. package/dist/fonts/roboto-latin-wght-italic.woff2 +0 -0
  352. package/dist/fonts/roboto-latin-wght-normal.woff2 +0 -0
  353. package/dist/fonts/source-sans-3-LICENSE.txt +93 -0
  354. package/dist/fonts/source-sans-3-latin-ext-wght-italic.woff2 +0 -0
  355. package/dist/fonts/source-sans-3-latin-ext-wght-normal.woff2 +0 -0
  356. package/dist/fonts/source-sans-3-latin-wght-italic.woff2 +0 -0
  357. package/dist/fonts/source-sans-3-latin-wght-normal.woff2 +0 -0
  358. package/dist/grid-basic.css +12 -0
  359. package/dist/grid-basic.d.ts +10 -0
  360. package/dist/grid-basic.js +1 -0
  361. package/dist/grid-spec.d.ts +37 -0
  362. package/dist/grid.css +12 -0
  363. package/dist/grid.d.ts +1 -0
  364. package/dist/grid.js +1 -0
  365. package/dist/hero-section.css +41 -0
  366. package/dist/hero-section.d.ts +2 -0
  367. package/dist/hero-section.js +1 -0
  368. package/dist/image-compare.css +35 -0
  369. package/dist/image-compare.d.ts +2 -0
  370. package/dist/image-compare.js +1 -0
  371. package/dist/index.d.ts +56 -0
  372. package/dist/index.js +1 -0
  373. package/dist/inputs.css +1524 -0
  374. package/dist/inputs.d.ts +8 -0
  375. package/dist/inputs.js +1 -0
  376. package/dist/layout.css +844 -0
  377. package/dist/layout.d.ts +8 -0
  378. package/dist/layout.js +1 -0
  379. package/dist/logo-cloud.css +33 -0
  380. package/dist/logo-cloud.d.ts +2 -0
  381. package/dist/logo-cloud.js +1 -0
  382. package/dist/marketing-template-layout.css +30 -0
  383. package/dist/media-card.css +41 -0
  384. package/dist/media-card.d.ts +2 -0
  385. package/dist/media-card.js +1 -0
  386. package/dist/media-image.css +531 -0
  387. package/dist/media-image.d.ts +2 -0
  388. package/dist/media-image.js +1 -0
  389. package/dist/modal.css +210 -0
  390. package/dist/modal.d.ts +2 -0
  391. package/dist/modal.js +1 -0
  392. package/dist/native/app-layout.js +1 -0
  393. package/dist/native/cascader.js +1 -0
  394. package/dist/native/chat-widget.js +3 -0
  395. package/dist/native/chat.js +3 -0
  396. package/dist/native/collection-layout.js +1 -0
  397. package/dist/native/command-palette.js +1 -0
  398. package/dist/native/content-carousel.js +1 -0
  399. package/dist/native/dashboard-canvas.js +1 -0
  400. package/dist/native/date-picker.js +1 -0
  401. package/dist/native/date-range-picker.js +1 -0
  402. package/dist/native/date-time-picker.js +1 -0
  403. package/dist/native/descriptions.js +1 -0
  404. package/dist/native/drawer.js +1 -0
  405. package/dist/native/float-button.js +1 -0
  406. package/dist/native/font-provider.js +1 -0
  407. package/dist/native/hero-section.js +1 -0
  408. package/dist/native/image-compare.js +1 -0
  409. package/dist/native/logo-cloud.js +1 -0
  410. package/dist/native/media-card.js +1 -0
  411. package/dist/native/media-image.js +1 -0
  412. package/dist/native/modal.js +1 -0
  413. package/dist/native/notification-center.js +1 -0
  414. package/dist/native/notification.js +2 -0
  415. package/dist/native/page-layout.js +1 -0
  416. package/dist/native/pagination.js +1 -0
  417. package/dist/native/profile-card.js +1 -0
  418. package/dist/native/qr-code.js +3 -0
  419. package/dist/native/quote-card.js +1 -0
  420. package/dist/native/shape-mask.js +1 -0
  421. package/dist/native/sparkline.js +1 -0
  422. package/dist/native/split-section.js +1 -0
  423. package/dist/native/splitter.js +1 -0
  424. package/dist/native/statistic.js +1 -0
  425. package/dist/native/text-highlight.js +1 -0
  426. package/dist/native/time-picker.js +1 -0
  427. package/dist/native/timeline.js +1 -0
  428. package/dist/native/tour.js +1 -0
  429. package/dist/native/transfer-list.js +1 -0
  430. package/dist/native/tree-select.js +1 -0
  431. package/dist/native/tree-view.js +1 -0
  432. package/dist/native/upload-manager.js +1 -0
  433. package/dist/native/video-lightbox.js +1 -0
  434. package/dist/native/video-player.js +1 -0
  435. package/dist/native-base.d.ts +1 -0
  436. package/dist/native-components/app-layout.d.ts +1 -0
  437. package/dist/native-components/cascader.d.ts +1 -0
  438. package/dist/native-components/chat-widget.d.ts +1 -0
  439. package/dist/native-components/chat.d.ts +1 -0
  440. package/dist/native-components/collection-layout.d.ts +1 -0
  441. package/dist/native-components/command-palette.d.ts +1 -0
  442. package/dist/native-components/content-carousel.d.ts +1 -0
  443. package/dist/native-components/dashboard-canvas.d.ts +1 -0
  444. package/dist/native-components/date-picker.d.ts +1 -0
  445. package/dist/native-components/date-range-picker.d.ts +1 -0
  446. package/dist/native-components/date-time-picker.d.ts +1 -0
  447. package/dist/native-components/descriptions.d.ts +1 -0
  448. package/dist/native-components/drawer.d.ts +1 -0
  449. package/dist/native-components/float-button.d.ts +1 -0
  450. package/dist/native-components/font-provider.d.ts +1 -0
  451. package/dist/native-components/hero-section.d.ts +1 -0
  452. package/dist/native-components/image-compare.d.ts +1 -0
  453. package/dist/native-components/logo-cloud.d.ts +1 -0
  454. package/dist/native-components/media-card.d.ts +1 -0
  455. package/dist/native-components/media-image.d.ts +1 -0
  456. package/dist/native-components/modal.d.ts +1 -0
  457. package/dist/native-components/notification-center.d.ts +1 -0
  458. package/dist/native-components/notification.d.ts +1 -0
  459. package/dist/native-components/page-layout.d.ts +1 -0
  460. package/dist/native-components/pagination.d.ts +1 -0
  461. package/dist/native-components/profile-card.d.ts +1 -0
  462. package/dist/native-components/qr-code.d.ts +1 -0
  463. package/dist/native-components/quote-card.d.ts +1 -0
  464. package/dist/native-components/shape-mask.d.ts +1 -0
  465. package/dist/native-components/sparkline.d.ts +1 -0
  466. package/dist/native-components/split-section.d.ts +1 -0
  467. package/dist/native-components/splitter.d.ts +1 -0
  468. package/dist/native-components/statistic.d.ts +1 -0
  469. package/dist/native-components/text-highlight.d.ts +1 -0
  470. package/dist/native-components/time-picker.d.ts +1 -0
  471. package/dist/native-components/timeline.d.ts +1 -0
  472. package/dist/native-components/tour.d.ts +1 -0
  473. package/dist/native-components/transfer-list.d.ts +1 -0
  474. package/dist/native-components/tree-select.d.ts +1 -0
  475. package/dist/native-components/tree-view.d.ts +1 -0
  476. package/dist/native-components/upload-manager.d.ts +1 -0
  477. package/dist/native-components/video-lightbox.d.ts +1 -0
  478. package/dist/native-components/video-player.d.ts +1 -0
  479. package/dist/native-grid.d.ts +1 -0
  480. package/dist/native.d.ts +1 -0
  481. package/dist/notification-center.css +49 -0
  482. package/dist/notification-center.d.ts +2 -0
  483. package/dist/notification-center.js +1 -0
  484. package/dist/notification.css +155 -0
  485. package/dist/notification.d.ts +2 -0
  486. package/dist/notification.js +1 -0
  487. package/dist/page-header.css +184 -0
  488. package/dist/page-header.d.ts +2 -0
  489. package/dist/page-header.js +1 -0
  490. package/dist/page-layout.css +117 -0
  491. package/dist/page-layout.d.ts +2 -0
  492. package/dist/page-layout.js +1 -0
  493. package/dist/pagination.css +127 -0
  494. package/dist/pagination.d.ts +2 -0
  495. package/dist/pagination.js +1 -0
  496. package/dist/primitives.d.ts +1 -0
  497. package/dist/profile-card.css +484 -0
  498. package/dist/profile-card.d.ts +2 -0
  499. package/dist/profile-card.js +1 -0
  500. package/dist/qr-code.css +125 -0
  501. package/dist/qr-code.d.ts +2 -0
  502. package/dist/qr-code.js +1 -0
  503. package/dist/quote-card.css +30 -0
  504. package/dist/quote-card.d.ts +2 -0
  505. package/dist/quote-card.js +1 -0
  506. package/dist/shape-mask.css +10 -0
  507. package/dist/shape-mask.d.ts +2 -0
  508. package/dist/shape-mask.js +1 -0
  509. package/dist/sidebar.css +183 -0
  510. package/dist/sidebar.d.ts +2 -0
  511. package/dist/sidebar.js +1 -0
  512. package/dist/sizes.json +1012 -0
  513. package/dist/skeleton.css +69 -0
  514. package/dist/skeleton.d.ts +2 -0
  515. package/dist/skeleton.js +1 -0
  516. package/dist/sparkline.css +38 -0
  517. package/dist/sparkline.d.ts +2 -0
  518. package/dist/sparkline.js +1 -0
  519. package/dist/split-section.css +34 -0
  520. package/dist/split-section.d.ts +2 -0
  521. package/dist/split-section.js +1 -0
  522. package/dist/splitter.css +32 -0
  523. package/dist/splitter.d.ts +2 -0
  524. package/dist/splitter.js +1 -0
  525. package/dist/statistic.css +107 -0
  526. package/dist/statistic.d.ts +2 -0
  527. package/dist/statistic.js +1 -0
  528. package/dist/styles.css +8882 -0
  529. package/dist/text-highlight.css +49 -0
  530. package/dist/text-highlight.d.ts +2 -0
  531. package/dist/text-highlight.js +1 -0
  532. package/dist/theme-runtime.d.ts +1 -0
  533. package/dist/theme.css +1391 -0
  534. package/dist/theme.d.ts +10 -0
  535. package/dist/theme.js +1 -0
  536. package/dist/time-picker.css +78 -0
  537. package/dist/time-picker.d.ts +2 -0
  538. package/dist/time-picker.js +1 -0
  539. package/dist/timeline.css +126 -0
  540. package/dist/timeline.d.ts +2 -0
  541. package/dist/timeline.js +1 -0
  542. package/dist/tour.css +138 -0
  543. package/dist/tour.d.ts +2 -0
  544. package/dist/tour.js +1 -0
  545. package/dist/transfer-list.css +878 -0
  546. package/dist/transfer-list.d.ts +2 -0
  547. package/dist/transfer-list.js +1 -0
  548. package/dist/tree-select.css +135 -0
  549. package/dist/tree-select.d.ts +2 -0
  550. package/dist/tree-select.js +1 -0
  551. package/dist/tree-view.css +118 -0
  552. package/dist/tree-view.d.ts +2 -0
  553. package/dist/tree-view.js +1 -0
  554. package/dist/types.d.ts +1284 -0
  555. package/dist/upload-manager.css +40 -0
  556. package/dist/upload-manager.d.ts +2 -0
  557. package/dist/upload-manager.js +1 -0
  558. package/dist/video-lightbox.css +639 -0
  559. package/dist/video-lightbox.d.ts +2 -0
  560. package/dist/video-lightbox.js +1 -0
  561. package/dist/video-player.css +92 -0
  562. package/dist/video-player.d.ts +2 -0
  563. package/dist/video-player.js +1 -0
  564. package/docs/PUBLISHING.md +25 -0
  565. package/edition.json +245 -0
  566. package/npm-shrinkwrap.json +554 -0
  567. package/package.json +391 -4
  568. package/scripts/build.mjs +34 -0
  569. package/scripts/verify-package.mjs +136 -0
  570. package/src/advanced-types.ts +89 -0
  571. package/src/app-layout.ts +2 -0
  572. package/src/badge.ts +2 -0
  573. package/src/breadcrumbs.ts +2 -0
  574. package/src/button.ts +2 -0
  575. package/src/card.ts +2 -0
  576. package/src/cascader.ts +2 -0
  577. package/src/chat-widget.ts +2 -0
  578. package/src/chat.ts +2 -0
  579. package/src/chip-group.ts +2 -0
  580. package/src/chip.ts +2 -0
  581. package/src/collection-layout.ts +2 -0
  582. package/src/colors.ts +3 -0
  583. package/src/command-palette.ts +2 -0
  584. package/src/component-factories/app-layout.ts +8 -0
  585. package/src/component-factories/breadcrumbs.ts +45 -0
  586. package/src/component-factories/cascader.ts +11 -0
  587. package/src/component-factories/chat-widget.ts +12 -0
  588. package/src/component-factories/chat.ts +10 -0
  589. package/src/component-factories/collection-layout.ts +5 -0
  590. package/src/component-factories/command-palette.ts +79 -0
  591. package/src/component-factories/content-carousel.ts +5 -0
  592. package/src/component-factories/dashboard-canvas.ts +11 -0
  593. package/src/component-factories/dashboard-panel.ts +9 -0
  594. package/src/component-factories/date-picker.ts +6 -0
  595. package/src/component-factories/date-range-picker.ts +6 -0
  596. package/src/component-factories/date-time-picker.ts +6 -0
  597. package/src/component-factories/descriptions.ts +11 -0
  598. package/src/component-factories/drawer.ts +12 -0
  599. package/src/component-factories/float-button.ts +7 -0
  600. package/src/component-factories/font-provider.ts +6 -0
  601. package/src/component-factories/hero-section.ts +5 -0
  602. package/src/component-factories/image-compare.ts +5 -0
  603. package/src/component-factories/logo-cloud.ts +5 -0
  604. package/src/component-factories/media-card.ts +5 -0
  605. package/src/component-factories/media-image.ts +5 -0
  606. package/src/component-factories/modal.ts +12 -0
  607. package/src/component-factories/notification-center.ts +13 -0
  608. package/src/component-factories/notification.ts +16 -0
  609. package/src/component-factories/page-header.ts +73 -0
  610. package/src/component-factories/page-layout.ts +8 -0
  611. package/src/component-factories/pagination.ts +11 -0
  612. package/src/component-factories/profile-card.ts +5 -0
  613. package/src/component-factories/qr-code.ts +11 -0
  614. package/src/component-factories/quote-card.ts +5 -0
  615. package/src/component-factories/shape-mask.ts +6 -0
  616. package/src/component-factories/sidebar.ts +98 -0
  617. package/src/component-factories/sparkline.ts +8 -0
  618. package/src/component-factories/split-section.ts +5 -0
  619. package/src/component-factories/splitter.ts +105 -0
  620. package/src/component-factories/statistic.ts +10 -0
  621. package/src/component-factories/text-highlight.ts +5 -0
  622. package/src/component-factories/time-picker.ts +6 -0
  623. package/src/component-factories/timeline.ts +11 -0
  624. package/src/component-factories/tour.ts +13 -0
  625. package/src/component-factories/transfer-list.ts +159 -0
  626. package/src/component-factories/tree-select.ts +83 -0
  627. package/src/component-factories/tree-view.ts +115 -0
  628. package/src/component-factories/upload-manager.ts +76 -0
  629. package/src/component-factories/video-lightbox.ts +5 -0
  630. package/src/component-factories/video-player.ts +5 -0
  631. package/src/component-runtime.ts +20 -0
  632. package/src/content-carousel.ts +2 -0
  633. package/src/content.ts +13 -0
  634. package/src/core.ts +6 -0
  635. package/src/dashboard-canvas.ts +2 -0
  636. package/src/dashboard-panel.ts +2 -0
  637. package/src/data.ts +9 -0
  638. package/src/date-picker.ts +2 -0
  639. package/src/date-range-picker.ts +2 -0
  640. package/src/date-time-picker.ts +2 -0
  641. package/src/descriptions.ts +2 -0
  642. package/src/dom.ts +65 -0
  643. package/src/drawer.ts +2 -0
  644. package/src/empty-state.ts +2 -0
  645. package/src/essentials.ts +180 -0
  646. package/src/feedback.ts +10 -0
  647. package/src/float-button.ts +2 -0
  648. package/src/font-provider.ts +2 -0
  649. package/src/grid-basic.ts +46 -0
  650. package/src/grid-spec.ts +93 -0
  651. package/src/grid.ts +1 -0
  652. package/src/hero-section.ts +2 -0
  653. package/src/image-compare.ts +2 -0
  654. package/src/index.ts +56 -0
  655. package/src/inputs.ts +8 -0
  656. package/src/layout.ts +8 -0
  657. package/src/logo-cloud.ts +2 -0
  658. package/src/media-card.ts +2 -0
  659. package/src/media-image.ts +2 -0
  660. package/src/modal.ts +2 -0
  661. package/src/native-base.ts +20 -0
  662. package/src/native-components/app-layout.ts +2 -0
  663. package/src/native-components/cascader.ts +2 -0
  664. package/src/native-components/chat-widget.ts +2 -0
  665. package/src/native-components/chat.ts +2 -0
  666. package/src/native-components/collection-layout.ts +2 -0
  667. package/src/native-components/command-palette.ts +2 -0
  668. package/src/native-components/content-carousel.ts +2 -0
  669. package/src/native-components/dashboard-canvas.ts +2 -0
  670. package/src/native-components/date-picker.ts +2 -0
  671. package/src/native-components/date-range-picker.ts +2 -0
  672. package/src/native-components/date-time-picker.ts +2 -0
  673. package/src/native-components/descriptions.ts +2 -0
  674. package/src/native-components/drawer.ts +2 -0
  675. package/src/native-components/float-button.ts +2 -0
  676. package/src/native-components/font-provider.ts +2 -0
  677. package/src/native-components/hero-section.ts +2 -0
  678. package/src/native-components/image-compare.ts +2 -0
  679. package/src/native-components/logo-cloud.ts +2 -0
  680. package/src/native-components/media-card.ts +2 -0
  681. package/src/native-components/media-image.ts +2 -0
  682. package/src/native-components/modal.ts +2 -0
  683. package/src/native-components/notification-center.ts +2 -0
  684. package/src/native-components/notification.ts +2 -0
  685. package/src/native-components/page-layout.ts +2 -0
  686. package/src/native-components/pagination.ts +2 -0
  687. package/src/native-components/profile-card.ts +2 -0
  688. package/src/native-components/qr-code.ts +2 -0
  689. package/src/native-components/quote-card.ts +2 -0
  690. package/src/native-components/shape-mask.ts +2 -0
  691. package/src/native-components/sparkline.ts +2 -0
  692. package/src/native-components/split-section.ts +2 -0
  693. package/src/native-components/splitter.ts +2 -0
  694. package/src/native-components/statistic.ts +2 -0
  695. package/src/native-components/text-highlight.ts +2 -0
  696. package/src/native-components/time-picker.ts +2 -0
  697. package/src/native-components/timeline.ts +2 -0
  698. package/src/native-components/tour.ts +2 -0
  699. package/src/native-components/transfer-list.ts +2 -0
  700. package/src/native-components/tree-select.ts +2 -0
  701. package/src/native-components/tree-view.ts +2 -0
  702. package/src/native-components/upload-manager.ts +2 -0
  703. package/src/native-components/video-lightbox.ts +2 -0
  704. package/src/native-components/video-player.ts +2 -0
  705. package/src/native-grid.ts +3 -0
  706. package/src/native.ts +3 -0
  707. package/src/notification-center.ts +2 -0
  708. package/src/notification.ts +2 -0
  709. package/src/page-header.ts +2 -0
  710. package/src/page-layout.ts +2 -0
  711. package/src/pagination.ts +2 -0
  712. package/src/primitives.ts +1 -0
  713. package/src/profile-card.ts +2 -0
  714. package/src/qr-code.ts +2 -0
  715. package/src/quote-card.ts +2 -0
  716. package/src/runtime/app-layout.d.ts +1 -0
  717. package/src/runtime/app-layout.js +168 -0
  718. package/src/runtime/cascader.d.ts +1 -0
  719. package/src/runtime/cascader.js +381 -0
  720. package/src/runtime/chat-widget.d.ts +1 -0
  721. package/src/runtime/chat-widget.js +630 -0
  722. package/src/runtime/chat.d.ts +1 -0
  723. package/src/runtime/chat.js +461 -0
  724. package/src/runtime/collection-layout.d.ts +1 -0
  725. package/src/runtime/collection-layout.js +269 -0
  726. package/src/runtime/command-palette.d.ts +1 -0
  727. package/src/runtime/command-palette.js +302 -0
  728. package/src/runtime/content-carousel.d.ts +1 -0
  729. package/src/runtime/content-carousel.js +282 -0
  730. package/src/runtime/dashboard-canvas.d.ts +1 -0
  731. package/src/runtime/dashboard-canvas.js +493 -0
  732. package/src/runtime/date-picker.d.ts +1 -0
  733. package/src/runtime/date-picker.js +817 -0
  734. package/src/runtime/date-range-picker.d.ts +1 -0
  735. package/src/runtime/date-range-picker.js +817 -0
  736. package/src/runtime/date-time-picker.d.ts +1 -0
  737. package/src/runtime/date-time-picker.js +817 -0
  738. package/src/runtime/descriptions.d.ts +1 -0
  739. package/src/runtime/descriptions.js +220 -0
  740. package/src/runtime/drawer.d.ts +1 -0
  741. package/src/runtime/drawer.js +287 -0
  742. package/src/runtime/empty-state.d.ts +1 -0
  743. package/src/runtime/empty-state.js +178 -0
  744. package/src/runtime/float-button.d.ts +1 -0
  745. package/src/runtime/float-button.js +171 -0
  746. package/src/runtime/font-provider.d.ts +1 -0
  747. package/src/runtime/font-provider.js +694 -0
  748. package/src/runtime/hero-section.d.ts +1 -0
  749. package/src/runtime/hero-section.js +186 -0
  750. package/src/runtime/image-compare.d.ts +1 -0
  751. package/src/runtime/image-compare.js +242 -0
  752. package/src/runtime/kernel.js +8 -0
  753. package/src/runtime/logo-cloud.d.ts +1 -0
  754. package/src/runtime/logo-cloud.js +163 -0
  755. package/src/runtime/media-card.d.ts +1 -0
  756. package/src/runtime/media-card.js +189 -0
  757. package/src/runtime/media-image.d.ts +1 -0
  758. package/src/runtime/media-image.js +480 -0
  759. package/src/runtime/modal.d.ts +1 -0
  760. package/src/runtime/modal.js +287 -0
  761. package/src/runtime/notification-center.d.ts +1 -0
  762. package/src/runtime/notification-center.js +417 -0
  763. package/src/runtime/notification.d.ts +1 -0
  764. package/src/runtime/notification.js +347 -0
  765. package/src/runtime/page-layout.d.ts +1 -0
  766. package/src/runtime/page-layout.js +105 -0
  767. package/src/runtime/pagination.d.ts +1 -0
  768. package/src/runtime/pagination.js +274 -0
  769. package/src/runtime/profile-card.d.ts +1 -0
  770. package/src/runtime/profile-card.js +512 -0
  771. package/src/runtime/qr-code.d.ts +1 -0
  772. package/src/runtime/qr-code.js +1942 -0
  773. package/src/runtime/quote-card.d.ts +1 -0
  774. package/src/runtime/quote-card.js +153 -0
  775. package/src/runtime/shape-mask.d.ts +1 -0
  776. package/src/runtime/shape-mask.js +211 -0
  777. package/src/runtime/sparkline.d.ts +1 -0
  778. package/src/runtime/sparkline.js +197 -0
  779. package/src/runtime/split-section.d.ts +1 -0
  780. package/src/runtime/split-section.js +148 -0
  781. package/src/runtime/splitter.d.ts +1 -0
  782. package/src/runtime/splitter.js +278 -0
  783. package/src/runtime/statistic.d.ts +1 -0
  784. package/src/runtime/statistic.js +204 -0
  785. package/src/runtime/text-highlight.d.ts +1 -0
  786. package/src/runtime/text-highlight.js +194 -0
  787. package/src/runtime/time-picker.d.ts +1 -0
  788. package/src/runtime/time-picker.js +817 -0
  789. package/src/runtime/timeline.d.ts +1 -0
  790. package/src/runtime/timeline.js +213 -0
  791. package/src/runtime/tour.d.ts +1 -0
  792. package/src/runtime/tour.js +412 -0
  793. package/src/runtime/transfer.d.ts +1 -0
  794. package/src/runtime/transfer.js +88 -0
  795. package/src/runtime/tree-select.d.ts +1 -0
  796. package/src/runtime/tree-select.js +420 -0
  797. package/src/runtime/tree.d.ts +1 -0
  798. package/src/runtime/tree.js +302 -0
  799. package/src/runtime/upload-manager.d.ts +1 -0
  800. package/src/runtime/upload-manager.js +408 -0
  801. package/src/runtime/video-lightbox.d.ts +1 -0
  802. package/src/runtime/video-lightbox.js +1117 -0
  803. package/src/runtime/video-player.d.ts +1 -0
  804. package/src/runtime/video-player.js +770 -0
  805. package/src/shape-mask.ts +2 -0
  806. package/src/sidebar.ts +2 -0
  807. package/src/skeleton.ts +2 -0
  808. package/src/sparkline.ts +2 -0
  809. package/src/split-section.ts +2 -0
  810. package/src/splitter.ts +2 -0
  811. package/src/statistic.ts +2 -0
  812. package/src/text-highlight.ts +2 -0
  813. package/src/theme-runtime.ts +70 -0
  814. package/src/theme.ts +32 -0
  815. package/src/time-picker.ts +2 -0
  816. package/src/timeline.ts +2 -0
  817. package/src/tour.ts +2 -0
  818. package/src/transfer-list.ts +2 -0
  819. package/src/tree-select.ts +2 -0
  820. package/src/tree-view.ts +2 -0
  821. package/src/types.ts +1299 -0
  822. package/src/upload-manager.ts +2 -0
  823. package/src/video-lightbox.ts +2 -0
  824. package/src/video-player.ts +2 -0
  825. package/styles/app-layout.css +115 -0
  826. package/styles/badge.css +131 -0
  827. package/styles/breadcrumbs.css +77 -0
  828. package/styles/button.css +625 -0
  829. package/styles/card.css +119 -0
  830. package/styles/cascader.css +152 -0
  831. package/styles/chat-widget.css +121 -0
  832. package/styles/chat.css +66 -0
  833. package/styles/chip-group.css +44 -0
  834. package/styles/chip.css +191 -0
  835. package/styles/collection-layout.css +30 -0
  836. package/styles/command-palette.css +35 -0
  837. package/styles/content-carousel.css +34 -0
  838. package/styles/dashboard-canvas.css +49 -0
  839. package/styles/dashboard-panel.css +2 -0
  840. package/styles/date-picker.css +78 -0
  841. package/styles/date-range-picker.css +78 -0
  842. package/styles/date-time-picker.css +78 -0
  843. package/styles/descriptions.css +113 -0
  844. package/styles/drawer.css +215 -0
  845. package/styles/empty-state.css +110 -0
  846. package/styles/float-button.css +28 -0
  847. package/styles/font-provider.css +5 -0
  848. package/styles/grid-basic.css +12 -0
  849. package/styles/hero-section.css +41 -0
  850. package/styles/image-compare.css +35 -0
  851. package/styles/logo-cloud.css +33 -0
  852. package/styles/marketing-template-layout.css +30 -0
  853. package/styles/media-card.css +41 -0
  854. package/styles/media-image.css +531 -0
  855. package/styles/modal.css +210 -0
  856. package/styles/notification-center.css +49 -0
  857. package/styles/notification.css +155 -0
  858. package/styles/page-header.css +184 -0
  859. package/styles/page-layout.css +117 -0
  860. package/styles/pagination.css +127 -0
  861. package/styles/profile-card.css +484 -0
  862. package/styles/qr-code.css +125 -0
  863. package/styles/quote-card.css +30 -0
  864. package/styles/shape-mask.css +10 -0
  865. package/styles/sidebar.css +183 -0
  866. package/styles/skeleton.css +69 -0
  867. package/styles/sparkline.css +38 -0
  868. package/styles/split-section.css +34 -0
  869. package/styles/splitter.css +32 -0
  870. package/styles/statistic.css +107 -0
  871. package/styles/text-highlight.css +49 -0
  872. package/styles/theme.css +1391 -0
  873. package/styles/time-picker.css +78 -0
  874. package/styles/timeline.css +126 -0
  875. package/styles/tour.css +138 -0
  876. package/styles/transfer-list.css +878 -0
  877. package/styles/tree-select.css +135 -0
  878. package/styles/tree-view.css +118 -0
  879. package/styles/upload-manager.css +40 -0
  880. package/styles/video-lightbox.css +639 -0
  881. package/styles/video-player.css +92 -0
  882. package/test/contracts.test.mjs +8 -0
  883. package/test/isolation.test.mjs +36 -0
  884. package/tsconfig.json +20 -0
@@ -0,0 +1,694 @@
1
+ // ../blu-grid/docs/scripts/advanced/font-provider.js
2
+ import { state as state2 } from "./kernel.js";
3
+
4
+ // ../blu-grid/docs/scripts/advanced/shared.js
5
+ import { state, register } from "./kernel.js";
6
+ var shared = state("advanced", () => ({ instances: /* @__PURE__ */ new Map(), serial: 0 }));
7
+ var uid = () => `blu-advanced-${++shared.serial}`;
8
+ function node(tag, cls, text) {
9
+ const el = document.createElement(tag);
10
+ if (cls) el.className = cls;
11
+ if (text !== void 0) el.textContent = String(text);
12
+ return el;
13
+ }
14
+ function attr(el, name, value) {
15
+ if (value === null || value === void 0) el.removeAttribute(name);
16
+ else el.setAttribute(name, String(value));
17
+ return el;
18
+ }
19
+ function emit(s, name, ...args) {
20
+ if (s.dead) return;
21
+ try {
22
+ Promise.resolve(s.events[name]?.(...args)).catch((e) => report(s, e));
23
+ } catch (e) {
24
+ report(s, e);
25
+ }
26
+ }
27
+ function report(s, error) {
28
+ if (s.dead) return;
29
+ const message = error?.message || String(error);
30
+ s.notice.textContent = message;
31
+ if (s.lastError !== message) {
32
+ s.lastError = message;
33
+ emit(s, "Error", message);
34
+ }
35
+ }
36
+ function list(value, name) {
37
+ const items = typeof value === "string" ? JSON.parse(value || "[]") : value || [];
38
+ if (!Array.isArray(items)) throw Error(name + " must be a list.");
39
+ return items;
40
+ }
41
+ function assetUrl(value) {
42
+ const url = new URL(String(value), document.baseURI);
43
+ if (!["https:", "http:"].includes(url.protocol)) throw Error("Use a relative or HTTP(S) asset URL.");
44
+ return url.href;
45
+ }
46
+ function createAPI(kind, init, update) {
47
+ const destroy = (key) => {
48
+ const s = shared.instances.get(key);
49
+ if (!s || s.kind !== kind) return;
50
+ s.dead = true;
51
+ s.dispose?.();
52
+ s.root.remove();
53
+ s.notice.remove();
54
+ if (s.host._bluAdvancedOwner === key) delete s.host._bluAdvancedOwner;
55
+ shared.instances.delete(key);
56
+ };
57
+ return register(kind, () => ({ sync(id, options = {}, events = {}, owner) {
58
+ const host = document.getElementById(id);
59
+ if (!host) return kind + " host was not found.";
60
+ const key = owner || id;
61
+ let s = shared.instances.get(key);
62
+ if (s && (s.host !== host || s.kind !== kind)) {
63
+ s.destroy(s.key);
64
+ s = null;
65
+ }
66
+ const previous = shared.instances.get(host._bluAdvancedOwner);
67
+ if (previous && previous !== s) previous.destroy(previous.key);
68
+ if (!s) {
69
+ s = { key, host, kind, uid: uid(), options, events, dead: false, destroy };
70
+ s.root = node("div");
71
+ s.notice = attr(node("div", "blu-advanced-sr"), "role", "status");
72
+ attr(s.notice, "aria-atomic", "true");
73
+ host.append(s.root, s.notice);
74
+ shared.instances.set(key, s);
75
+ host._bluAdvancedOwner = key;
76
+ try {
77
+ init(s);
78
+ } catch (e) {
79
+ destroy(key);
80
+ throw e;
81
+ }
82
+ }
83
+ s.options = options;
84
+ s.events = events;
85
+ try {
86
+ update(s);
87
+ host.dataset.bluRuntimeReady = "true";
88
+ return "";
89
+ } catch (e) {
90
+ report(s, e);
91
+ return e.message || String(e);
92
+ }
93
+ }, destroy }));
94
+ }
95
+
96
+ // ../blu-grid/docs/scripts/advanced/font-presets.js
97
+ var fontPresets = {
98
+ "DM Sans": {
99
+ "Family": "DM Sans",
100
+ "Fallback": "sans-serif",
101
+ "Faces": [
102
+ {
103
+ "File": "dm-sans-latin-ext-wght-italic.woff2",
104
+ "Weight": "100 1000",
105
+ "Style": "italic",
106
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
107
+ },
108
+ {
109
+ "File": "dm-sans-latin-ext-wght-normal.woff2",
110
+ "Weight": "100 1000",
111
+ "Style": "normal",
112
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
113
+ },
114
+ {
115
+ "File": "dm-sans-latin-wght-italic.woff2",
116
+ "Weight": "100 1000",
117
+ "Style": "italic",
118
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
119
+ },
120
+ {
121
+ "File": "dm-sans-latin-wght-normal.woff2",
122
+ "Weight": "100 1000",
123
+ "Style": "normal",
124
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
125
+ }
126
+ ]
127
+ },
128
+ "IBM Plex Mono": {
129
+ "Family": "IBM Plex Mono",
130
+ "Fallback": "monospace",
131
+ "Faces": [
132
+ {
133
+ "File": "ibm-plex-mono-latin-100-italic.woff2",
134
+ "Weight": "100",
135
+ "Style": "italic",
136
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
137
+ },
138
+ {
139
+ "File": "ibm-plex-mono-latin-100-normal.woff2",
140
+ "Weight": "100",
141
+ "Style": "normal",
142
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
143
+ },
144
+ {
145
+ "File": "ibm-plex-mono-latin-200-italic.woff2",
146
+ "Weight": "200",
147
+ "Style": "italic",
148
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
149
+ },
150
+ {
151
+ "File": "ibm-plex-mono-latin-200-normal.woff2",
152
+ "Weight": "200",
153
+ "Style": "normal",
154
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
155
+ },
156
+ {
157
+ "File": "ibm-plex-mono-latin-300-italic.woff2",
158
+ "Weight": "300",
159
+ "Style": "italic",
160
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
161
+ },
162
+ {
163
+ "File": "ibm-plex-mono-latin-300-normal.woff2",
164
+ "Weight": "300",
165
+ "Style": "normal",
166
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
167
+ },
168
+ {
169
+ "File": "ibm-plex-mono-latin-400-italic.woff2",
170
+ "Weight": "400",
171
+ "Style": "italic",
172
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
173
+ },
174
+ {
175
+ "File": "ibm-plex-mono-latin-400-normal.woff2",
176
+ "Weight": "400",
177
+ "Style": "normal",
178
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
179
+ },
180
+ {
181
+ "File": "ibm-plex-mono-latin-500-italic.woff2",
182
+ "Weight": "500",
183
+ "Style": "italic",
184
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
185
+ },
186
+ {
187
+ "File": "ibm-plex-mono-latin-500-normal.woff2",
188
+ "Weight": "500",
189
+ "Style": "normal",
190
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
191
+ },
192
+ {
193
+ "File": "ibm-plex-mono-latin-600-italic.woff2",
194
+ "Weight": "600",
195
+ "Style": "italic",
196
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
197
+ },
198
+ {
199
+ "File": "ibm-plex-mono-latin-600-normal.woff2",
200
+ "Weight": "600",
201
+ "Style": "normal",
202
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
203
+ },
204
+ {
205
+ "File": "ibm-plex-mono-latin-700-italic.woff2",
206
+ "Weight": "700",
207
+ "Style": "italic",
208
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
209
+ },
210
+ {
211
+ "File": "ibm-plex-mono-latin-700-normal.woff2",
212
+ "Weight": "700",
213
+ "Style": "normal",
214
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
215
+ },
216
+ {
217
+ "File": "ibm-plex-mono-latin-ext-100-italic.woff2",
218
+ "Weight": "100",
219
+ "Style": "italic",
220
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
221
+ },
222
+ {
223
+ "File": "ibm-plex-mono-latin-ext-100-normal.woff2",
224
+ "Weight": "100",
225
+ "Style": "normal",
226
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
227
+ },
228
+ {
229
+ "File": "ibm-plex-mono-latin-ext-200-italic.woff2",
230
+ "Weight": "200",
231
+ "Style": "italic",
232
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
233
+ },
234
+ {
235
+ "File": "ibm-plex-mono-latin-ext-200-normal.woff2",
236
+ "Weight": "200",
237
+ "Style": "normal",
238
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
239
+ },
240
+ {
241
+ "File": "ibm-plex-mono-latin-ext-300-italic.woff2",
242
+ "Weight": "300",
243
+ "Style": "italic",
244
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
245
+ },
246
+ {
247
+ "File": "ibm-plex-mono-latin-ext-300-normal.woff2",
248
+ "Weight": "300",
249
+ "Style": "normal",
250
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
251
+ },
252
+ {
253
+ "File": "ibm-plex-mono-latin-ext-400-italic.woff2",
254
+ "Weight": "400",
255
+ "Style": "italic",
256
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
257
+ },
258
+ {
259
+ "File": "ibm-plex-mono-latin-ext-400-normal.woff2",
260
+ "Weight": "400",
261
+ "Style": "normal",
262
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
263
+ },
264
+ {
265
+ "File": "ibm-plex-mono-latin-ext-500-italic.woff2",
266
+ "Weight": "500",
267
+ "Style": "italic",
268
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
269
+ },
270
+ {
271
+ "File": "ibm-plex-mono-latin-ext-500-normal.woff2",
272
+ "Weight": "500",
273
+ "Style": "normal",
274
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
275
+ },
276
+ {
277
+ "File": "ibm-plex-mono-latin-ext-600-italic.woff2",
278
+ "Weight": "600",
279
+ "Style": "italic",
280
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
281
+ },
282
+ {
283
+ "File": "ibm-plex-mono-latin-ext-600-normal.woff2",
284
+ "Weight": "600",
285
+ "Style": "normal",
286
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
287
+ },
288
+ {
289
+ "File": "ibm-plex-mono-latin-ext-700-italic.woff2",
290
+ "Weight": "700",
291
+ "Style": "italic",
292
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
293
+ },
294
+ {
295
+ "File": "ibm-plex-mono-latin-ext-700-normal.woff2",
296
+ "Weight": "700",
297
+ "Style": "normal",
298
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
299
+ }
300
+ ]
301
+ },
302
+ "Inter": {
303
+ "Family": "Inter",
304
+ "Fallback": "sans-serif",
305
+ "Faces": [
306
+ {
307
+ "File": "inter-latin-ext-wght-italic.woff2",
308
+ "Weight": "100 900",
309
+ "Style": "italic",
310
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
311
+ },
312
+ {
313
+ "File": "inter-latin-ext-wght-normal.woff2",
314
+ "Weight": "100 900",
315
+ "Style": "normal",
316
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
317
+ },
318
+ {
319
+ "File": "inter-latin-wght-italic.woff2",
320
+ "Weight": "100 900",
321
+ "Style": "italic",
322
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
323
+ },
324
+ {
325
+ "File": "inter-latin-wght-normal.woff2",
326
+ "Weight": "100 900",
327
+ "Style": "normal",
328
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
329
+ }
330
+ ]
331
+ },
332
+ "JetBrains Mono": {
333
+ "Family": "JetBrains Mono",
334
+ "Fallback": "monospace",
335
+ "Faces": [
336
+ {
337
+ "File": "jetbrains-mono-latin-ext-wght-italic.woff2",
338
+ "Weight": "100 800",
339
+ "Style": "italic",
340
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
341
+ },
342
+ {
343
+ "File": "jetbrains-mono-latin-ext-wght-normal.woff2",
344
+ "Weight": "100 800",
345
+ "Style": "normal",
346
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
347
+ },
348
+ {
349
+ "File": "jetbrains-mono-latin-wght-italic.woff2",
350
+ "Weight": "100 800",
351
+ "Style": "italic",
352
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
353
+ },
354
+ {
355
+ "File": "jetbrains-mono-latin-wght-normal.woff2",
356
+ "Weight": "100 800",
357
+ "Style": "normal",
358
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
359
+ }
360
+ ]
361
+ },
362
+ "Lora": {
363
+ "Family": "Lora",
364
+ "Fallback": "serif",
365
+ "Faces": [
366
+ {
367
+ "File": "lora-latin-ext-wght-italic.woff2",
368
+ "Weight": "400 700",
369
+ "Style": "italic",
370
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
371
+ },
372
+ {
373
+ "File": "lora-latin-ext-wght-normal.woff2",
374
+ "Weight": "400 700",
375
+ "Style": "normal",
376
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
377
+ },
378
+ {
379
+ "File": "lora-latin-wght-italic.woff2",
380
+ "Weight": "400 700",
381
+ "Style": "italic",
382
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
383
+ },
384
+ {
385
+ "File": "lora-latin-wght-normal.woff2",
386
+ "Weight": "400 700",
387
+ "Style": "normal",
388
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
389
+ }
390
+ ]
391
+ },
392
+ "Manrope": {
393
+ "Family": "Manrope",
394
+ "Fallback": "sans-serif",
395
+ "Faces": [
396
+ {
397
+ "File": "manrope-latin-ext-wght-normal.woff2",
398
+ "Weight": "200 800",
399
+ "Style": "normal",
400
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
401
+ },
402
+ {
403
+ "File": "manrope-latin-wght-normal.woff2",
404
+ "Weight": "200 800",
405
+ "Style": "normal",
406
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
407
+ }
408
+ ]
409
+ },
410
+ "Merriweather": {
411
+ "Family": "Merriweather",
412
+ "Fallback": "serif",
413
+ "Faces": [
414
+ {
415
+ "File": "merriweather-latin-ext-wght-italic.woff2",
416
+ "Weight": "300 900",
417
+ "Style": "italic",
418
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
419
+ },
420
+ {
421
+ "File": "merriweather-latin-ext-wght-normal.woff2",
422
+ "Weight": "300 900",
423
+ "Style": "normal",
424
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
425
+ },
426
+ {
427
+ "File": "merriweather-latin-wght-italic.woff2",
428
+ "Weight": "300 900",
429
+ "Style": "italic",
430
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
431
+ },
432
+ {
433
+ "File": "merriweather-latin-wght-normal.woff2",
434
+ "Weight": "300 900",
435
+ "Style": "normal",
436
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
437
+ }
438
+ ]
439
+ },
440
+ "Montserrat": {
441
+ "Family": "Montserrat",
442
+ "Fallback": "sans-serif",
443
+ "Faces": [
444
+ {
445
+ "File": "montserrat-latin-ext-wght-italic.woff2",
446
+ "Weight": "100 900",
447
+ "Style": "italic",
448
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
449
+ },
450
+ {
451
+ "File": "montserrat-latin-ext-wght-normal.woff2",
452
+ "Weight": "100 900",
453
+ "Style": "normal",
454
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
455
+ },
456
+ {
457
+ "File": "montserrat-latin-wght-italic.woff2",
458
+ "Weight": "100 900",
459
+ "Style": "italic",
460
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
461
+ },
462
+ {
463
+ "File": "montserrat-latin-wght-normal.woff2",
464
+ "Weight": "100 900",
465
+ "Style": "normal",
466
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
467
+ }
468
+ ]
469
+ },
470
+ "Playfair Display": {
471
+ "Family": "Playfair Display",
472
+ "Fallback": "serif",
473
+ "Faces": [
474
+ {
475
+ "File": "playfair-display-latin-ext-wght-italic.woff2",
476
+ "Weight": "400 900",
477
+ "Style": "italic",
478
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
479
+ },
480
+ {
481
+ "File": "playfair-display-latin-ext-wght-normal.woff2",
482
+ "Weight": "400 900",
483
+ "Style": "normal",
484
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
485
+ },
486
+ {
487
+ "File": "playfair-display-latin-wght-italic.woff2",
488
+ "Weight": "400 900",
489
+ "Style": "italic",
490
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
491
+ },
492
+ {
493
+ "File": "playfair-display-latin-wght-normal.woff2",
494
+ "Weight": "400 900",
495
+ "Style": "normal",
496
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
497
+ }
498
+ ]
499
+ },
500
+ "Roboto": {
501
+ "Family": "Roboto",
502
+ "Fallback": "sans-serif",
503
+ "Faces": [
504
+ {
505
+ "File": "roboto-latin-ext-wght-italic.woff2",
506
+ "Weight": "100 900",
507
+ "Style": "italic",
508
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
509
+ },
510
+ {
511
+ "File": "roboto-latin-ext-wght-normal.woff2",
512
+ "Weight": "100 900",
513
+ "Style": "normal",
514
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
515
+ },
516
+ {
517
+ "File": "roboto-latin-wght-italic.woff2",
518
+ "Weight": "100 900",
519
+ "Style": "italic",
520
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
521
+ },
522
+ {
523
+ "File": "roboto-latin-wght-normal.woff2",
524
+ "Weight": "100 900",
525
+ "Style": "normal",
526
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
527
+ }
528
+ ]
529
+ },
530
+ "Source Sans 3": {
531
+ "Family": "Source Sans 3",
532
+ "Fallback": "sans-serif",
533
+ "Faces": [
534
+ {
535
+ "File": "source-sans-3-latin-ext-wght-italic.woff2",
536
+ "Weight": "200 900",
537
+ "Style": "italic",
538
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF"
539
+ },
540
+ {
541
+ "File": "source-sans-3-latin-ext-wght-normal.woff2",
542
+ "Weight": "200 900",
543
+ "Style": "normal",
544
+ "UnicodeRange": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF"
545
+ },
546
+ {
547
+ "File": "source-sans-3-latin-wght-italic.woff2",
548
+ "Weight": "200 900",
549
+ "Style": "italic",
550
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
551
+ },
552
+ {
553
+ "File": "source-sans-3-latin-wght-normal.woff2",
554
+ "Weight": "200 900",
555
+ "Style": "normal",
556
+ "UnicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
557
+ }
558
+ ]
559
+ }
560
+ };
561
+
562
+ // ../blu-grid/docs/scripts/advanced/font-provider.js
563
+ var fonts = state2("font-provider", () => ({ loads: /* @__PURE__ */ new Map(), targets: /* @__PURE__ */ new Map() }));
564
+ var systems = { "System sans": 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif', "System serif": 'Georgia, "Times New Roman", serif', "System monospace": "ui-monospace, SFMono-Regular, Consolas, monospace" };
565
+ var properties = ["--bluui-font", "--blu-font-family", "--blu-font-heading-family", "font-family"];
566
+ function hash(value) {
567
+ let h = 2166136261;
568
+ for (let i = 0; i < value.length; i++) h = Math.imul(h ^ value.charCodeAt(i), 16777619);
569
+ return (h >>> 0).toString(36);
570
+ }
571
+ function release(s) {
572
+ if (!s.target) return;
573
+ const target = s.target, record = fonts.targets.get(target);
574
+ s.target = null;
575
+ if (!record) return;
576
+ record.owners.delete(s.key);
577
+ if (record.owners.size) {
578
+ const latest = [...record.owners.values()].at(-1);
579
+ apply(target, latest);
580
+ } else {
581
+ for (const [name, value, priority] of record.original) if (value) target.style.setProperty(name, value, priority);
582
+ else target.style.removeProperty(name);
583
+ if (record.marker === null) target.removeAttribute("data-blu-font-scope");
584
+ else target.setAttribute("data-blu-font-scope", record.marker);
585
+ fonts.targets.delete(target);
586
+ }
587
+ }
588
+ function apply(target, value) {
589
+ target.setAttribute("data-blu-font-scope", "");
590
+ target.style.setProperty("--bluui-font", value.body);
591
+ target.style.setProperty("--blu-font-family", value.body);
592
+ target.style.setProperty("--blu-font-heading-family", value.heading);
593
+ target.style.setProperty("font-family", value.body);
594
+ }
595
+ function claim(s, target, body, heading) {
596
+ if (s.target !== target) release(s);
597
+ s.target = target;
598
+ let record = fonts.targets.get(target);
599
+ if (!record) {
600
+ record = { original: properties.map((name) => [name, target.style.getPropertyValue(name), target.style.getPropertyPriority(name)]), marker: target.getAttribute("data-blu-font-scope"), owners: /* @__PURE__ */ new Map() };
601
+ fonts.targets.set(target, record);
602
+ }
603
+ record.owners.set(s.key, { body, heading });
604
+ apply(target, [...record.owners.values()].at(-1));
605
+ }
606
+ function roleConfig(s, role) {
607
+ const o = s.options, choice = String(o[role + "Font"] || (role === "Heading" ? "Inherit" : "System sans")), fallback = String(o[role + "Fallback"] || "system-ui, sans-serif");
608
+ if (choice === "Inherit" && role === "Heading") return { inherit: true };
609
+ if (systems[choice]) return { family: choice, css: systems[choice], faces: [] };
610
+ let family, faces;
611
+ if (choice === "Custom") {
612
+ family = String(o[role + "FontFamily"] || "").trim();
613
+ if (!family) throw Error(role + "FontFamily is required for a custom font.");
614
+ faces = list(o.FontFacesJson ?? o.FontFaces, "FontFaces").filter((f) => f.Role === role).map((f) => ({ Url: f.Url, Weight: String(f.Weight || "400"), Style: f.Style || "normal", UnicodeRange: f.UnicodeRange || "U+0-10FFFF" }));
615
+ if (o[role + "FontUrl"]) faces.unshift({ Url: o[role + "FontUrl"], Weight: String(o[role + "FontWeight"] || "400"), Style: "normal", UnicodeRange: "U+0-10FFFF" });
616
+ if (!faces.length) throw Error(role + "FontUrl or a matching FontFaces entry is required.");
617
+ } else {
618
+ const preset = fontPresets[choice];
619
+ if (!preset) throw Error("Unknown " + role + "Font preset: " + choice);
620
+ family = preset.Family;
621
+ if (!o.PresetBaseUrl && typeof s.events.LoadPresetFace === "function") faces = preset.Faces.map((face) => ({ ...face, NativePreset: true }));
622
+ else {
623
+ if (!o.PresetBaseUrl) throw Error("PresetBaseUrl must point to the bundled fonts folder.");
624
+ const base = assetUrl(String(o.PresetBaseUrl).replace(/\/?$/, "/"));
625
+ faces = preset.Faces.map((face) => ({ ...face, Url: new URL(face.File, base).href }));
626
+ }
627
+ }
628
+ faces = faces.map((face) => face.NativePreset ? face : { ...face, Url: assetUrl(face.Url) });
629
+ const alias = "BluFont-" + hash(JSON.stringify([family, faces]));
630
+ return { family, css: '"' + alias + '", ' + fallback, fallback, alias, faces, loadPreset: s.events.LoadPresetFace };
631
+ }
632
+ function loadFace(config, face) {
633
+ const key = JSON.stringify([config.alias, face]);
634
+ let result = fonts.loads.get(key);
635
+ if (result) return result;
636
+ result = Promise.resolve().then(async () => {
637
+ const source = face.NativePreset ? await config.loadPreset(face.File) : "url(" + JSON.stringify(face.Url) + ")";
638
+ const font = new FontFace(config.alias, source, { weight: face.Weight, style: face.Style, unicodeRange: face.UnicodeRange, display: "swap" });
639
+ return font.load().then((loaded) => {
640
+ document.fonts.add(loaded);
641
+ return loaded;
642
+ });
643
+ }).catch((error) => {
644
+ fonts.loads.delete(key);
645
+ throw error;
646
+ });
647
+ fonts.loads.set(key, result);
648
+ return result;
649
+ }
650
+ function installFontProvider() {
651
+ return createAPI("FontProvider", (s) => {
652
+ s.root.hidden = true;
653
+ s.sequence = 0;
654
+ s.dispose = () => {
655
+ s.sequence++;
656
+ release(s);
657
+ };
658
+ }, (s) => {
659
+ const o = s.options, signature = JSON.stringify(o);
660
+ if (signature === s.signature && s.target?.isConnected) return;
661
+ s.signature = signature;
662
+ const sequence = ++s.sequence;
663
+ const target = o.Scope === "Container" ? o.TargetId ? document.getElementById(o.TargetId) : s.host.querySelector(".blu-common-slot--content") : document.documentElement;
664
+ if (!target) throw Error("FontProvider container was not found. Supply Content or a valid TargetId.");
665
+ let body, heading;
666
+ try {
667
+ body = roleConfig(s, "Body");
668
+ heading = roleConfig(s, "Heading");
669
+ if (heading.inherit) heading = body;
670
+ } catch (error) {
671
+ release(s);
672
+ throw error;
673
+ }
674
+ claim(s, target, body.faces.length ? body.fallback : body.css, heading.faces.length ? heading.fallback : heading.css);
675
+ s.host.dataset.fontStatus = "loading";
676
+ const load = (role) => Promise.all(role.faces.map((face) => loadFace(role, face))).then(() => role.css);
677
+ Promise.allSettled([load(body), heading === body ? load(body) : load(heading)]).then((results) => {
678
+ if (s.dead || sequence !== s.sequence || s.target !== target) return;
679
+ const [b, h] = results;
680
+ claim(s, target, b.status === "fulfilled" ? b.value : body.fallback, h.status === "fulfilled" ? h.value : heading.fallback);
681
+ const failures = results.filter((r) => r.status === "rejected");
682
+ s.host.dataset.fontStatus = failures.length ? "error" : "loaded";
683
+ if (failures.length) report(s, "A selected font could not load. The configured fallback is active. Check the URL, font format and cross-origin access.");
684
+ else {
685
+ s.notice.textContent = "";
686
+ s.lastError = "";
687
+ emit(s, "Loaded", body.family, heading.family);
688
+ }
689
+ });
690
+ });
691
+ }
692
+ export {
693
+ installFontProvider
694
+ };