@quaffui/quaff 0.1.0-prealpha8 → 1.0.0-alpha1

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 (388) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +47 -14
  3. package/dist/classes/QContext.svelte.d.ts +42 -0
  4. package/dist/classes/QContext.svelte.js +63 -0
  5. package/dist/classes/QScrollObserver.svelte.d.ts +48 -0
  6. package/dist/classes/QScrollObserver.svelte.js +107 -0
  7. package/dist/classes/QTheme.svelte.d.ts +13 -0
  8. package/dist/classes/QTheme.svelte.js +62 -0
  9. package/dist/classes/Quaff.svelte.d.ts +15 -0
  10. package/dist/classes/Quaff.svelte.js +45 -0
  11. package/dist/components/avatar/QAvatar.scss +101 -0
  12. package/dist/components/avatar/QAvatar.svelte +42 -42
  13. package/dist/components/avatar/QAvatar.svelte.d.ts +4 -17
  14. package/dist/components/avatar/docs.d.ts +2 -2
  15. package/dist/components/avatar/docs.js +3 -8
  16. package/dist/components/avatar/docs.props.d.ts +3 -8
  17. package/dist/components/avatar/docs.props.js +68 -15
  18. package/dist/components/avatar/index.scss +5 -3
  19. package/dist/components/avatar/props.d.ts +51 -8
  20. package/dist/components/breadcrumbs/QBreadcrumbs.scss +10 -0
  21. package/dist/components/breadcrumbs/QBreadcrumbs.svelte +32 -14
  22. package/dist/components/breadcrumbs/QBreadcrumbs.svelte.d.ts +4 -13
  23. package/dist/components/breadcrumbs/QBreadcrumbsEl.scss +10 -0
  24. package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte +65 -48
  25. package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte.d.ts +4 -16
  26. package/dist/components/breadcrumbs/docs.d.ts +2 -2
  27. package/dist/components/breadcrumbs/docs.js +3 -8
  28. package/dist/components/breadcrumbs/docs.props.d.ts +5 -16
  29. package/dist/components/breadcrumbs/docs.props.js +105 -45
  30. package/dist/components/breadcrumbs/props.d.ts +26 -24
  31. package/dist/components/button/QBtn.scss +136 -0
  32. package/dist/components/button/QBtn.svelte +157 -43
  33. package/dist/components/button/QBtn.svelte.d.ts +4 -24
  34. package/dist/components/button/docs.d.ts +2 -2
  35. package/dist/components/button/docs.js +3 -8
  36. package/dist/components/button/docs.props.d.ts +3 -8
  37. package/dist/components/button/docs.props.js +174 -37
  38. package/dist/components/button/props.d.ts +48 -11
  39. package/dist/components/card/QCard.scss +25 -0
  40. package/dist/components/card/QCard.svelte +34 -19
  41. package/dist/components/card/QCard.svelte.d.ts +4 -16
  42. package/dist/components/card/QCardActions.scss +10 -0
  43. package/dist/components/card/QCardActions.svelte +23 -15
  44. package/dist/components/card/QCardActions.svelte.d.ts +4 -12
  45. package/dist/components/card/QCardSection.scss +10 -0
  46. package/dist/components/card/QCardSection.svelte +15 -11
  47. package/dist/components/card/QCardSection.svelte.d.ts +4 -13
  48. package/dist/components/card/docs.d.ts +4 -4
  49. package/dist/components/card/docs.js +7 -22
  50. package/dist/components/card/docs.props.d.ts +7 -24
  51. package/dist/components/card/docs.props.js +57 -30
  52. package/dist/components/card/props.d.ts +11 -16
  53. package/dist/components/checkbox/QCheckbox.svelte +15 -9
  54. package/dist/components/checkbox/QCheckbox.svelte.d.ts +3 -10
  55. package/dist/components/checkbox/docs.d.ts +2 -2
  56. package/dist/components/checkbox/docs.js +3 -3
  57. package/dist/components/checkbox/docs.props.d.ts +3 -8
  58. package/dist/components/checkbox/docs.props.js +24 -9
  59. package/dist/components/checkbox/index.scss +3 -1
  60. package/dist/components/checkbox/props.d.ts +2 -2
  61. package/dist/components/chip/QChip.scss +179 -0
  62. package/dist/components/chip/QChip.svelte +130 -60
  63. package/dist/components/chip/QChip.svelte.d.ts +4 -25
  64. package/dist/components/chip/docs.d.ts +2 -2
  65. package/dist/components/chip/docs.js +3 -16
  66. package/dist/components/chip/docs.props.d.ts +3 -8
  67. package/dist/components/chip/docs.props.js +96 -49
  68. package/dist/components/chip/props.d.ts +27 -29
  69. package/dist/components/codeBlock/QCodeBlock.svelte +90 -44
  70. package/dist/components/codeBlock/QCodeBlock.svelte.d.ts +3 -10
  71. package/dist/components/codeBlock/docs.props.d.ts +3 -8
  72. package/dist/components/codeBlock/docs.props.js +61 -12
  73. package/dist/components/codeBlock/props.d.ts +12 -2
  74. package/dist/components/dialog/{index.scss → QDialog.scss} +12 -14
  75. package/dist/components/dialog/QDialog.svelte +90 -68
  76. package/dist/components/dialog/QDialog.svelte.d.ts +9 -25
  77. package/dist/components/dialog/docs.d.ts +2 -2
  78. package/dist/components/dialog/docs.js +3 -3
  79. package/dist/components/dialog/docs.props.d.ts +3 -16
  80. package/dist/components/dialog/docs.props.js +37 -128
  81. package/dist/components/dialog/props.d.ts +4 -19
  82. package/dist/components/drawer/QDrawer.scss +39 -0
  83. package/dist/components/drawer/QDrawer.svelte +142 -83
  84. package/dist/components/drawer/QDrawer.svelte.d.ts +9 -28
  85. package/dist/components/drawer/docs.d.ts +2 -2
  86. package/dist/components/drawer/docs.js +3 -3
  87. package/dist/components/drawer/docs.props.d.ts +3 -8
  88. package/dist/components/drawer/docs.props.js +94 -39
  89. package/dist/components/drawer/props.d.ts +4 -3
  90. package/dist/components/footer/QFooter.scss +42 -0
  91. package/dist/components/footer/QFooter.svelte +100 -21
  92. package/dist/components/footer/QFooter.svelte.d.ts +4 -14
  93. package/dist/components/footer/docs.d.ts +2 -2
  94. package/dist/components/footer/docs.js +3 -3
  95. package/dist/components/footer/docs.props.d.ts +3 -8
  96. package/dist/components/footer/docs.props.js +47 -16
  97. package/dist/components/footer/props.d.ts +14 -8
  98. package/dist/components/header/QHeader.scss +53 -0
  99. package/dist/components/header/QHeader.svelte +95 -0
  100. package/dist/components/header/QHeader.svelte.d.ts +14 -0
  101. package/dist/components/header/docs.d.ts +2 -0
  102. package/dist/components/header/docs.js +11 -0
  103. package/dist/components/header/docs.props.d.ts +7 -0
  104. package/dist/components/header/docs.props.js +131 -0
  105. package/dist/components/header/props.d.ts +23 -0
  106. package/dist/components/header/props.js +1 -0
  107. package/dist/components/icon/{index.scss → QIcon.scss} +2 -4
  108. package/dist/components/icon/QIcon.svelte +44 -28
  109. package/dist/components/icon/QIcon.svelte.d.ts +4 -18
  110. package/dist/components/icon/docs.d.ts +2 -2
  111. package/dist/components/icon/docs.js +3 -3
  112. package/dist/components/icon/docs.props.d.ts +3 -8
  113. package/dist/components/icon/docs.props.js +65 -24
  114. package/dist/components/icon/props.d.ts +9 -8
  115. package/dist/components/index.d.ts +6 -2
  116. package/dist/components/index.js +6 -2
  117. package/dist/components/input/QInput.svelte +106 -72
  118. package/dist/components/input/QInput.svelte.d.ts +4 -22
  119. package/dist/components/input/docs.d.ts +2 -2
  120. package/dist/components/input/docs.js +5 -71
  121. package/dist/components/input/docs.props.d.ts +3 -8
  122. package/dist/components/input/docs.props.js +129 -57
  123. package/dist/components/input/index.scss +1 -3
  124. package/dist/components/input/props.d.ts +81 -21
  125. package/dist/components/input/props.js +1 -13
  126. package/dist/components/layout/QLayout.scss +174 -0
  127. package/dist/components/layout/QLayout.svelte +178 -79
  128. package/dist/components/layout/QLayout.svelte.d.ts +12 -45
  129. package/dist/components/layout/docs.d.ts +2 -2
  130. package/dist/components/layout/docs.js +3 -3
  131. package/dist/components/layout/docs.props.d.ts +3 -8
  132. package/dist/components/layout/docs.props.js +62 -39
  133. package/dist/components/layout/props.d.ts +29 -21
  134. package/dist/components/list/QItem.scss +69 -0
  135. package/dist/components/list/QItem.svelte +99 -51
  136. package/dist/components/list/QItem.svelte.d.ts +4 -24
  137. package/dist/components/list/QItemSection.scss +59 -0
  138. package/dist/components/list/QItemSection.svelte +63 -37
  139. package/dist/components/list/QItemSection.svelte.d.ts +4 -15
  140. package/dist/components/list/QList.scss +30 -0
  141. package/dist/components/list/QList.svelte +43 -20
  142. package/dist/components/list/QList.svelte.d.ts +4 -26
  143. package/dist/components/list/docs.d.ts +4 -2
  144. package/dist/components/list/docs.js +23 -3
  145. package/dist/components/list/docs.props.d.ts +11 -40
  146. package/dist/components/list/docs.props.js +344 -136
  147. package/dist/components/list/props.d.ts +126 -28
  148. package/dist/components/list/props.js +1 -25
  149. package/dist/components/private/ContextReseter.svelte +15 -11
  150. package/dist/components/private/ContextReseter.svelte.d.ts +4 -8
  151. package/dist/components/private/QApi.svelte +264 -111
  152. package/dist/components/private/QApi.svelte.d.ts +3 -6
  153. package/dist/components/private/QDocs.svelte +119 -68
  154. package/dist/components/private/QDocs.svelte.d.ts +4 -11
  155. package/dist/components/private/QDocsSection.svelte +48 -18
  156. package/dist/components/private/QDocsSection.svelte.d.ts +9 -24
  157. package/dist/components/private/QIconSnippet.svelte +22 -0
  158. package/dist/components/private/QIconSnippet.svelte.d.ts +14 -0
  159. package/dist/components/private/index.d.ts +6 -0
  160. package/dist/components/private/index.js +6 -0
  161. package/dist/components/progress/QCircularProgress.scss +63 -0
  162. package/dist/components/progress/QCircularProgress.svelte +134 -21
  163. package/dist/components/progress/QCircularProgress.svelte.d.ts +3 -11
  164. package/dist/components/progress/QLinearProgress.scss +75 -0
  165. package/dist/components/progress/QLinearProgress.svelte +80 -23
  166. package/dist/components/progress/QLinearProgress.svelte.d.ts +3 -11
  167. package/dist/components/progress/docs.d.ts +3 -2
  168. package/dist/components/progress/docs.js +15 -5
  169. package/dist/components/progress/docs.props.d.ts +5 -16
  170. package/dist/components/progress/docs.props.js +287 -41
  171. package/dist/components/progress/props.d.ts +126 -14
  172. package/dist/components/radio/QRadio.svelte +16 -9
  173. package/dist/components/radio/QRadio.svelte.d.ts +3 -11
  174. package/dist/components/radio/docs.d.ts +2 -2
  175. package/dist/components/radio/docs.js +4 -26
  176. package/dist/components/radio/docs.props.d.ts +3 -8
  177. package/dist/components/radio/docs.props.js +39 -20
  178. package/dist/components/radio/index.scss +3 -1
  179. package/dist/components/radio/props.d.ts +26 -6
  180. package/dist/components/radio/props.js +1 -8
  181. package/dist/components/railbar/QRailbar.scss +54 -0
  182. package/dist/components/railbar/QRailbar.svelte +72 -48
  183. package/dist/components/railbar/QRailbar.svelte.d.ts +4 -13
  184. package/dist/components/railbar/docs.d.ts +2 -2
  185. package/dist/components/railbar/docs.js +3 -3
  186. package/dist/components/railbar/docs.props.d.ts +3 -8
  187. package/dist/components/railbar/docs.props.js +36 -15
  188. package/dist/components/railbar/props.d.ts +13 -6
  189. package/dist/components/select/QSelect.svelte +222 -146
  190. package/dist/components/select/QSelect.svelte.d.ts +4 -24
  191. package/dist/components/select/docs.d.ts +2 -2
  192. package/dist/components/select/docs.js +5 -83
  193. package/dist/components/select/docs.props.d.ts +3 -8
  194. package/dist/components/select/docs.props.js +156 -64
  195. package/dist/components/select/index.scss +25 -10
  196. package/dist/components/select/props.d.ts +100 -20
  197. package/dist/components/select/props.js +1 -14
  198. package/dist/components/separator/QSeparator.scss +54 -0
  199. package/dist/components/separator/QSeparator.svelte +50 -57
  200. package/dist/components/separator/QSeparator.svelte.d.ts +3 -14
  201. package/dist/components/separator/docs.d.ts +3 -2
  202. package/dist/components/separator/docs.js +14 -4
  203. package/dist/components/separator/docs.props.d.ts +5 -16
  204. package/dist/components/separator/docs.props.js +152 -72
  205. package/dist/components/separator/props.d.ts +84 -16
  206. package/dist/components/separator/props.js +1 -9
  207. package/dist/components/switch/QSwitch.scss +305 -0
  208. package/dist/components/switch/QSwitch.svelte +115 -0
  209. package/dist/components/switch/QSwitch.svelte.d.ts +14 -0
  210. package/dist/components/switch/docs.d.ts +2 -0
  211. package/dist/components/switch/docs.js +17 -0
  212. package/dist/components/switch/docs.props.d.ts +3 -0
  213. package/dist/components/switch/docs.props.js +119 -0
  214. package/dist/components/switch/props.d.ts +53 -0
  215. package/dist/components/switch/props.js +1 -0
  216. package/dist/components/table/QTable.svelte +133 -97
  217. package/dist/components/table/QTable.svelte.d.ts +4 -19
  218. package/dist/components/table/docs.d.ts +2 -2
  219. package/dist/components/table/docs.js +3 -3
  220. package/dist/components/table/docs.props.d.ts +3 -8
  221. package/dist/components/table/docs.props.js +67 -15
  222. package/dist/components/table/index.scss +3 -1
  223. package/dist/components/table/props.d.ts +14 -3
  224. package/dist/components/tabs/QTab.scss +71 -0
  225. package/dist/components/tabs/QTab.svelte +107 -66
  226. package/dist/components/tabs/QTab.svelte.d.ts +4 -18
  227. package/dist/components/tabs/QTabs.scss +53 -0
  228. package/dist/components/tabs/QTabs.svelte +164 -51
  229. package/dist/components/tabs/QTabs.svelte.d.ts +9 -13
  230. package/dist/components/tabs/docs.d.ts +3 -2
  231. package/dist/components/tabs/docs.js +13 -3
  232. package/dist/components/tabs/docs.props.d.ts +5 -16
  233. package/dist/components/tabs/docs.props.js +64 -30
  234. package/dist/components/tabs/index.scss +71 -28
  235. package/dist/components/tabs/props.d.ts +38 -9
  236. package/dist/components/tabs/props.js +1 -13
  237. package/dist/components/toolbar/QToolbar.scss +36 -0
  238. package/dist/components/toolbar/QToolbar.svelte +26 -38
  239. package/dist/components/toolbar/QToolbar.svelte.d.ts +4 -13
  240. package/dist/components/toolbar/QToolbarTitle.svelte +10 -7
  241. package/dist/components/toolbar/QToolbarTitle.svelte.d.ts +4 -12
  242. package/dist/components/toolbar/docs.d.ts +3 -2
  243. package/dist/components/toolbar/docs.js +13 -3
  244. package/dist/components/toolbar/docs.props.d.ts +5 -16
  245. package/dist/components/toolbar/docs.props.js +55 -15
  246. package/dist/components/toolbar/props.d.ts +25 -7
  247. package/dist/components/tooltip/QTooltip.scss +40 -0
  248. package/dist/components/tooltip/QTooltip.svelte +200 -10
  249. package/dist/components/tooltip/QTooltip.svelte.d.ts +17 -18
  250. package/dist/components/tooltip/QTooltipBase.svelte +86 -0
  251. package/dist/components/tooltip/QTooltipBase.svelte.d.ts +14 -0
  252. package/dist/components/tooltip/docs.d.ts +2 -2
  253. package/dist/components/tooltip/docs.js +3 -2
  254. package/dist/components/tooltip/docs.props.d.ts +3 -8
  255. package/dist/components/tooltip/docs.props.js +69 -10
  256. package/dist/components/tooltip/props.d.ts +36 -4
  257. package/dist/components/tooltip/props.js +1 -6
  258. package/dist/composables/index.d.ts +3 -0
  259. package/dist/composables/index.js +3 -1
  260. package/dist/composables/{use-align.d.ts → useAlign.d.ts} +1 -1
  261. package/dist/composables/{use-align.js → useAlign.js} +1 -1
  262. package/dist/composables/{use-router-link.d.ts → useRouterLink.d.ts} +3 -3
  263. package/dist/composables/{use-router-link.js → useRouterLink.js} +4 -4
  264. package/dist/composables/useSize.d.ts +10 -0
  265. package/dist/composables/useSize.js +37 -0
  266. package/dist/css/_components.scss +31 -0
  267. package/dist/css/_disabled.scss +18 -0
  268. package/dist/css/_ripple.scss +49 -0
  269. package/dist/css/_variables.scss +73 -0
  270. package/dist/css/classes/_design.scss +57 -0
  271. package/dist/css/{flex.scss → classes/_flex.scss} +23 -2
  272. package/dist/css/classes/_grid.scss +35 -0
  273. package/dist/css/classes/_index.scss +7 -0
  274. package/dist/css/classes/_overflow.scss +7 -0
  275. package/dist/css/classes/_position.scss +7 -0
  276. package/dist/css/classes/_select.scss +6 -0
  277. package/dist/css/classes/_spaces.scss +23 -0
  278. package/dist/css/fonts.scss +18 -4
  279. package/dist/css/index.css +1 -1
  280. package/dist/css/index.scss +16 -91
  281. package/dist/css/mixins/_design.scss +64 -0
  282. package/dist/css/mixins/_field.scss +64 -0
  283. package/dist/css/mixins/_image.scss +64 -0
  284. package/dist/css/mixins/_index.scss +10 -0
  285. package/dist/css/mixins/_layout.scss +20 -0
  286. package/dist/css/mixins/{menu.scss → _menu.scss} +4 -2
  287. package/dist/css/mixins/{selection.scss → _selection.scss} +10 -70
  288. package/dist/css/mixins/_spaces.scss +36 -0
  289. package/dist/css/mixins/_toolbar.scss +7 -0
  290. package/dist/css/mixins/_typography.scss +7 -0
  291. package/dist/css/shared/q-field.scss +348 -0
  292. package/dist/css/theme/_color-classes.scss +332 -0
  293. package/dist/css/theme/_colors.scss +205 -0
  294. package/dist/css/theme/_css-variables.scss +5 -0
  295. package/dist/css/theme/_index.scss +12 -0
  296. package/dist/css/theme/_page.scss +17 -0
  297. package/dist/css/theme/{palette.scss → _palette.scss} +27 -5
  298. package/dist/css/theme/{reset.scss → _reset.scss} +11 -2
  299. package/dist/css/theme/_typography-variables.scss +107 -0
  300. package/dist/global.d.ts +1 -1
  301. package/dist/helpers/clickOutside.d.ts +2 -2
  302. package/dist/helpers/clickOutside.js +5 -4
  303. package/dist/helpers/index.d.ts +2 -1
  304. package/dist/helpers/index.js +2 -1
  305. package/dist/helpers/pageTitle.d.ts +1 -0
  306. package/dist/helpers/pageTitle.js +3 -0
  307. package/dist/helpers/ripple.d.ts +11 -0
  308. package/dist/helpers/ripple.js +90 -0
  309. package/dist/helpers/version.d.ts +1 -1
  310. package/dist/helpers/version.js +1 -1
  311. package/dist/index.d.ts +4 -1
  312. package/dist/index.js +4 -1
  313. package/dist/stores/index.d.ts +0 -0
  314. package/dist/stores/index.js +1 -0
  315. package/dist/utils/clipboard.d.ts +1 -1
  316. package/dist/utils/clipboard.js +3 -4
  317. package/dist/utils/colors.d.ts +69 -0
  318. package/dist/utils/colors.js +141 -15
  319. package/dist/utils/context.d.ts +33 -0
  320. package/dist/utils/context.js +33 -0
  321. package/dist/utils/dom.d.ts +11 -0
  322. package/dist/utils/dom.js +81 -0
  323. package/dist/utils/events.d.ts +37 -0
  324. package/dist/utils/events.js +37 -0
  325. package/dist/utils/index.d.ts +11 -0
  326. package/dist/utils/index.js +11 -1
  327. package/dist/utils/number.d.ts +2 -0
  328. package/dist/utils/number.js +9 -0
  329. package/dist/utils/props.d.ts +4 -4
  330. package/dist/utils/props.js +9 -7
  331. package/dist/utils/router.d.ts +16 -0
  332. package/dist/utils/router.js +20 -0
  333. package/dist/utils/string.d.ts +2 -0
  334. package/dist/utils/string.js +12 -1
  335. package/dist/utils/types.d.ts +12 -18
  336. package/dist/utils/types.js +0 -3
  337. package/dist/utils/types.json +31 -1
  338. package/package.json +44 -39
  339. package/dist/components/breadcrumbs/index.scss +0 -20
  340. package/dist/components/button/index.scss +0 -81
  341. package/dist/components/card/index.scss +0 -56
  342. package/dist/components/chip/index.scss +0 -86
  343. package/dist/components/drawer/index.scss +0 -56
  344. package/dist/components/footer/index.scss +0 -5
  345. package/dist/components/layout/index.scss +0 -373
  346. package/dist/components/list/index.scss +0 -120
  347. package/dist/components/progress/index.scss +0 -65
  348. package/dist/components/toggle/QToggle.svelte +0 -35
  349. package/dist/components/toggle/QToggle.svelte.d.ts +0 -23
  350. package/dist/components/toggle/docs.d.ts +0 -2
  351. package/dist/components/toggle/docs.js +0 -47
  352. package/dist/components/toggle/docs.props.d.ts +0 -8
  353. package/dist/components/toggle/docs.props.js +0 -42
  354. package/dist/components/toggle/index.scss +0 -31
  355. package/dist/components/toggle/props.d.ts +0 -9
  356. package/dist/components/toggle/props.js +0 -9
  357. package/dist/components/toolbar/index.scss +0 -34
  358. package/dist/components/tooltip/index.scss +0 -82
  359. package/dist/composables/use-index.d.ts +0 -2
  360. package/dist/composables/use-index.js +0 -17
  361. package/dist/composables/use-size.d.ts +0 -9
  362. package/dist/composables/use-size.js +0 -25
  363. package/dist/css/grid.scss +0 -50
  364. package/dist/css/mixins/field.scss +0 -432
  365. package/dist/css/mixins.scss +0 -138
  366. package/dist/css/states.scss +0 -71
  367. package/dist/css/theme/bridge.scss +0 -15
  368. package/dist/css/theme/colors.module.scss +0 -180
  369. package/dist/css/theme/page.scss +0 -16
  370. package/dist/css/theme/theme.dark.scss +0 -37
  371. package/dist/css/theme/theme.light.scss +0 -37
  372. package/dist/css/theme/theme.scss +0 -11
  373. package/dist/css/theme/tokens.scss +0 -266
  374. package/dist/css/variables-sass.scss +0 -16
  375. package/dist/helpers/activationHandler.d.ts +0 -9
  376. package/dist/helpers/activationHandler.js +0 -23
  377. package/dist/stores/QTheme.d.ts +0 -42
  378. package/dist/stores/QTheme.js +0 -53
  379. package/dist/stores/Quaff.d.ts +0 -32
  380. package/dist/stores/Quaff.js +0 -53
  381. package/dist/utils/fields.d.ts +0 -1
  382. package/dist/utils/fields.js +0 -14
  383. package/dist/utils/watchable.d.ts +0 -3
  384. package/dist/utils/watchable.js +0 -22
  385. /package/dist/css/mixins/{table.scss → _table.scss} +0 -0
  386. /package/dist/css/theme/{elevate.scss → _elevate.scss} +0 -0
  387. /package/dist/css/theme/{typography.module.scss → _typography-classes.scss} +0 -0
  388. /package/dist/css/theme/{typography.scss → _typography.scss} +0 -0
@@ -1,44 +1,44 @@
1
- <script>import { useSize } from "../../composables/use-size";
2
- import { createClasses, createStyles } from "../../utils/props";
3
- export let shape = "circle", size = "md", src = void 0, video = false, userClasses = void 0, userStyles = void 0;
4
- export { userClasses as class };
5
- export { userStyles as style };
6
- $:
7
- sizeObj = useSize(size);
8
- $:
9
- shapeClass = createClasses([
10
- shape === "circle" && "circle",
11
- shape === "rounded" && "round",
12
- shape.includes("top") && "top-round",
13
- shape.includes("bottom") && "bottom-round",
14
- shape.includes("left") && "left-round",
15
- shape.includes("right") && "right-round"
16
- ]);
17
- $:
18
- classes = createClasses([shapeClass, sizeObj.class], {
19
- component: "q-avatar",
20
- userClasses
21
- });
22
- $:
23
- style = createStyles(
24
- {
25
- width: sizeObj.style,
26
- height: sizeObj.style
27
- },
28
- userStyles
29
- );
1
+ <script lang="ts">
2
+ import { useSize } from "../../composables";
3
+ import type { QAvatarProps } from "./props";
4
+
5
+ let {
6
+ alt,
7
+ shape = "circle",
8
+ size = "md",
9
+ src,
10
+ sources,
11
+ video = false,
12
+ children,
13
+ videoAccessibility,
14
+ ...props
15
+ }: QAvatarProps = $props();
16
+
17
+ const qSize = $derived(useSize(size, "q-avatar"));
18
+ const qShape = $derived(`q-avatar--${shape}`);
30
19
  </script>
31
20
 
32
- {#if video === true}
33
- <!-- svelte-ignore a11y-media-has-caption -->
34
- <video class={classes} {style} autoplay loop playsinline {...$$restProps} on:click>
35
- <source {src} type="video/mp4" />
36
- </video>
37
- {:else if src !== undefined}
38
- <!-- svelte-ignore a11y-missing-attribute -->
39
- <img class={classes} {style} {src} {...$$restProps} on:click />
40
- {:else}
41
- <div class={classes} {style} {...$$restProps} on:click>
42
- <slot />
43
- </div>
44
- {/if}
21
+ <div
22
+ {...props}
23
+ class={["q-avatar", qShape, qSize.class, props.class]}
24
+ style:--size={qSize.style}
25
+ data-quaff
26
+ >
27
+ {#if video}
28
+ <video autoplay loop muted playsinline>
29
+ {#if sources && sources.length > 0}
30
+ {#each sources as { src, type } (type)}
31
+ <source {src} {type} />
32
+ {/each}
33
+ {:else if src}
34
+ <source {src} type="video/mp4" />
35
+ {/if}
36
+
37
+ {@render videoAccessibility?.()}
38
+ </video>
39
+ {:else if src}
40
+ <img {src} {alt} />
41
+ {:else}
42
+ {@render children?.()}
43
+ {/if}
44
+ </div>
@@ -1,27 +1,14 @@
1
- import { SvelteComponent } from "svelte";
2
- import type { QAvatarProps } from "./props";
1
+ import { SvelteComponentTyped } from "svelte";
3
2
  declare const __propDef: {
4
- props: {
5
- [x: string]: any;
6
- shape?: QAvatarProps["shape"];
7
- size?: QAvatarProps["size"];
8
- src?: QAvatarProps["src"];
9
- video?: QAvatarProps["video"];
10
- class?: string | undefined;
11
- style?: string | undefined;
12
- };
3
+ props: Record<string, never>;
13
4
  events: {
14
- click: MouseEvent;
15
- } & {
16
5
  [evt: string]: CustomEvent<any>;
17
6
  };
18
- slots: {
19
- default: {};
20
- };
7
+ slots: {};
21
8
  };
22
9
  type QAvatarProps_ = typeof __propDef.props;
23
10
  export { QAvatarProps_ as QAvatarProps };
24
11
  export type QAvatarEvents = typeof __propDef.events;
25
12
  export type QAvatarSlots = typeof __propDef.slots;
26
- export default class QAvatar extends SvelteComponent<QAvatarProps, QAvatarEvents, QAvatarSlots> {
13
+ export default class QAvatar extends SvelteComponentTyped<QAvatarProps_, QAvatarEvents, QAvatarSlots> {
27
14
  }
@@ -1,2 +1,2 @@
1
- import type { QComponentDocs } from "../../utils/types";
2
- export declare let QAvatarDocs: QComponentDocs;
1
+ import type { QComponentDocs } from "../../utils";
2
+ export declare const QAvatarDocs: QComponentDocs;
@@ -1,15 +1,10 @@
1
- import { QAvatarDocsProps } from "./docs.props";
2
- export let QAvatarDocs = {
1
+ import { QAvatarDocsProps, QAvatarDocsSnippets } from "./docs.props";
2
+ export const QAvatarDocs = {
3
3
  name: "QAvatar",
4
4
  description: "Avatars can be used in many different ways as with icons or for user profile images/videos, for example. They can have many different shapes, the default one being a circle.",
5
5
  docs: {
6
6
  props: QAvatarDocsProps,
7
- slots: [
8
- {
9
- name: "default",
10
- description: "The default slot can be used to display initials inside the avatar.",
11
- },
12
- ],
7
+ snippets: QAvatarDocsSnippets,
13
8
  methods: [],
14
9
  events: [
15
10
  {
@@ -1,8 +1,3 @@
1
- export declare const QAvatarDocsProps: {
2
- name: string;
3
- type: string;
4
- optional: boolean;
5
- clickableType: boolean;
6
- description: string;
7
- default: string;
8
- }[];
1
+ import { ParsedProp, ParsedSnippet } from "../../../../docgen/props/parseInterface";
2
+ export declare const QAvatarDocsProps: ParsedProp[];
3
+ export declare const QAvatarDocsSnippets: ParsedSnippet[];
@@ -1,34 +1,87 @@
1
+ // AUTO GENERATED FILE - DO NOT MODIFY OR DELETE
2
+ // @quaffHash 6a4f00f36c683337912c3fec88921ecc
1
3
  export const QAvatarDocsProps = [
2
4
  {
3
- name: "shape",
4
- type: "QAvatarShapeOptions",
5
+ isArray: false,
5
6
  optional: true,
6
- clickableType: true,
7
+ isSnippet: false,
8
+ name: "shape",
9
+ type: {
10
+ name: "QAvatarShapeOptions",
11
+ isClickable: true,
12
+ },
7
13
  description: "Shape of the avatar.",
8
- default: "circle",
14
+ default: '"circle"',
9
15
  },
10
16
  {
11
- name: "size",
12
- type: "QAvatarSizeOptions",
17
+ isArray: false,
13
18
  optional: true,
14
- clickableType: true,
19
+ isSnippet: false,
20
+ name: "size",
21
+ type: {
22
+ name: "QAvatarSizeOptions",
23
+ isClickable: true,
24
+ },
15
25
  description: 'Size of the avatar, can be a custom size using CSS units. If no unit is specified, "px" will be used.',
16
- default: "md",
26
+ default: '"md"',
17
27
  },
18
28
  {
29
+ isArray: false,
30
+ optional: true,
31
+ isSnippet: false,
19
32
  name: "src",
20
- type: "string",
33
+ type: {
34
+ name: "string",
35
+ isClickable: false,
36
+ },
37
+ description: 'Source of the image to be used as the avatar. Can be a url or a path to a local file.\nIf the "video" prop is set to true, this will be used as an MP4 video source. If you want to use a different video format, use the "sources" prop.',
38
+ default: "undefined",
39
+ },
40
+ {
41
+ isArray: true,
21
42
  optional: true,
22
- clickableType: false,
23
- description: "Source of the image to use as the avatar. Can be a url or a path to a local file.",
43
+ isSnippet: false,
44
+ name: "sources",
45
+ type: {
46
+ name: "QAvatarVideoSrcOptions",
47
+ isClickable: true,
48
+ },
49
+ description: 'Only for video avatars. Use this prop to specify multiple sources for the video. The browser will play the first source it can support. This overrides the "src" prop.\nIf used while the "video" prop is set to false, this prop has no effect.',
24
50
  default: "undefined",
25
51
  },
26
52
  {
27
- name: "video",
28
- type: "boolean",
53
+ isArray: false,
29
54
  optional: true,
30
- clickableType: false,
31
- description: 'If set to true, will use the "src" prop as a video source.',
55
+ isSnippet: false,
56
+ name: "video",
57
+ type: {
58
+ name: "boolean",
59
+ isClickable: false,
60
+ },
61
+ description: 'If set to true, the avatar will be treaded as a video avatar.\nThis means that the "src" prop will be used as an MP4 video source and the "sources" prop can be used to specify multiple sources for the video.',
32
62
  default: "false",
33
63
  },
64
+ {
65
+ isArray: false,
66
+ optional: true,
67
+ isSnippet: false,
68
+ name: "alt",
69
+ type: {
70
+ name: "string",
71
+ isClickable: false,
72
+ },
73
+ description: "alt property for the image.",
74
+ default: "undefined",
75
+ },
76
+ ];
77
+ export const QAvatarDocsSnippets = [
78
+ {
79
+ isArray: false,
80
+ optional: true,
81
+ isSnippet: true,
82
+ name: "videoAccessibility",
83
+ type: [],
84
+ description: 'Accessibility controls you might want to add inside the <video> element.\nFor example, you might want to add a <p> tag in case the video player doesn\'t work.\nThis can also be use to add captions or subtitles to the video or even to add the sources manually (without using the "src" or "sources" props).\nThis snippet will be added inside the <video> tag.',
85
+ default: "undefined",
86
+ },
34
87
  ];
@@ -1,12 +1,14 @@
1
+ @use "$css/variables";
2
+
1
3
  //? Basic styles
2
4
  .q-avatar {
3
5
  object-fit: cover;
4
6
  object-position: center;
5
7
  aspect-ratio: 1;
6
8
  transition:
7
- var(--speed3) transform,
8
- var(--speed3) border-radius,
9
- var(--speed3) padding;
9
+ variables.$speed3 transform,
10
+ variables.$speed3 border-radius,
11
+ variables.$speed3 padding;
10
12
  border-radius: 0;
11
13
 
12
14
  display: flex;
@@ -1,25 +1,68 @@
1
- import type { QuaffSizes, CssValue, NativeProps } from "../../utils/types";
2
- export type QAvatarShapeOptions = "circle" | "rounded" | "top-round" | "left-round" | "right-round" | "bottom-round" | "top-left-round" | "top-right-round" | "bottom-left-round" | "bottom-right-round";
3
- export type QAvatarSizeOptions = QuaffSizes | CssValue | number;
4
- export interface QAvatarProps extends NativeProps {
1
+ import type { Snippet } from "svelte";
2
+ import type { HTMLAttributes } from "svelte/elements";
3
+ export type QAvatarShapeOptions = "circle" | "square" | "top-round" | "left-round" | "right-round" | "bottom-round" | "top-left-round" | "top-right-round" | "bottom-left-round" | "bottom-right-round";
4
+ export type QAvatarSizeOptions = Q.Size | Q.CssValue | number;
5
+ export type VideoTypes = "video/mp4" | "video/webm" | "video/ogg" | "video/quicktime" | "video/mpeg" | "video/3gpp" | "video/3gpp2" | "video/3gp2";
6
+ export type QAvatarVideoSrcOptions = {
7
+ /**
8
+ * Sets the URL of the media resource.
9
+ */
10
+ src: string;
11
+ /**
12
+ * Sets the MIME type of a media resource.
13
+ */
14
+ type: VideoTypes;
15
+ };
16
+ export interface QAvatarProps extends HTMLAttributes<HTMLElement> {
5
17
  /**
6
18
  * Shape of the avatar.
7
- * @default circle
19
+ *
20
+ * @default "circle"
8
21
  */
9
22
  shape?: QAvatarShapeOptions;
10
23
  /**
11
24
  * Size of the avatar, can be a custom size using CSS units. If no unit is specified, "px" will be used.
12
- * @default md
25
+ *
26
+ * @default "md"
13
27
  */
14
28
  size?: QAvatarSizeOptions;
15
29
  /**
16
- * Source of the image to use as the avatar. Can be a url or a path to a local file.
30
+ * Source of the image to be used as the avatar. Can be a url or a path to a local file.
31
+ *
32
+ * If the "video" prop is set to true, this will be used as an MP4 video source. If you want to use a different video format, use the "sources" prop.
33
+ *
17
34
  * @default undefined
18
35
  */
19
36
  src?: string;
20
37
  /**
21
- * If set to true, will use the "src" prop as a video source.
38
+ * Only for video avatars. Use this prop to specify multiple sources for the video. The browser will play the first source it can support. This overrides the "src" prop.
39
+ *
40
+ * If used while the "video" prop is set to false, this prop has no effect.
41
+ *
42
+ * @default undefined
43
+ */
44
+ sources?: QAvatarVideoSrcOptions[];
45
+ /**
46
+ * If set to true, the avatar will be treaded as a video avatar.
47
+ * This means that the "src" prop will be used as an MP4 video source and the "sources" prop can be used to specify multiple sources for the video.
48
+ *
22
49
  * @default false
23
50
  */
24
51
  video?: boolean;
52
+ /**
53
+ * alt property for the image.
54
+ *
55
+ * @default undefined
56
+ */
57
+ alt?: string;
58
+ /**
59
+ * Accessibility controls you might want to add inside the <video> element.
60
+ * For example, you might want to add a <p> tag in case the video player doesn't work.
61
+ * This can also be use to add captions or subtitles to the video or even to add the sources manually (without using the "src" or "sources" props).
62
+ *
63
+ * This snippet will be added inside the <video> tag.
64
+ *
65
+ * @default undefined
66
+ */
67
+ videoAccessibility?: Snippet;
25
68
  }
@@ -0,0 +1,10 @@
1
+ .q-breadcrumbs {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ width: fit-content;
6
+
7
+ & > .q-breadcrumbs__separator:first-child {
8
+ display: none;
9
+ }
10
+ }
@@ -1,18 +1,36 @@
1
- <script>import { createClasses } from "../../utils/props";
2
- import { onMount, setContext } from "svelte";
3
- export let separator = "/", gutter = "sm", activeColor = "primary", separatorColor = "outline", userClasses = void 0;
4
- export { userClasses as class };
5
- let breadcrumbElement;
6
- onMount(() => breadcrumbElement.firstChild?.remove());
7
- setContext("activeColor", activeColor);
8
- setContext("separator", { type: separator, color: separatorColor, gutter });
9
- $:
10
- classes = createClasses([], {
11
- component: "q-breadcrumbs",
12
- userClasses
1
+ <script lang="ts">
2
+ import { setContext, untrack } from "svelte";
3
+ import { QBreadcrumbsCtxName } from "../../utils";
4
+ import type { QBreadcrumbsProps } from "./props";
5
+
6
+ let {
7
+ activeColor = "primary",
8
+ gutter = "sm",
9
+ separator = "/",
10
+ separatorColor = "outline",
11
+ children,
12
+ ...props
13
+ }: QBreadcrumbsProps = $props();
14
+
15
+ let breadrumbElement: HTMLDivElement;
16
+
17
+ $effect(() => {
18
+ untrack(() => breadrumbElement.firstChild?.remove());
19
+ });
20
+
21
+ setContext(QBreadcrumbsCtxName.activeColor, activeColor);
22
+ setContext(QBreadcrumbsCtxName.separator, {
23
+ type: separator,
24
+ color: separatorColor,
25
+ gutter,
13
26
  });
14
27
  </script>
15
28
 
16
- <div class={classes} bind:this={breadcrumbElement}>
17
- <slot />
29
+ <div
30
+ bind:this={breadrumbElement}
31
+ {...props}
32
+ class={["q-breadcrumbs", props.class]}
33
+ data-quaff
34
+ >
35
+ {@render children?.()}
18
36
  </div>
@@ -1,23 +1,14 @@
1
- import { SvelteComponent } from "svelte";
2
- import type { QBreadcrumbsProps } from "./props";
1
+ import { SvelteComponentTyped } from "svelte";
3
2
  declare const __propDef: {
4
- props: {
5
- separator?: QBreadcrumbsProps["separator"];
6
- gutter?: QBreadcrumbsProps["gutter"];
7
- activeColor?: QBreadcrumbsProps["activeColor"];
8
- separatorColor?: QBreadcrumbsProps["separatorColor"];
9
- class?: string | undefined;
10
- };
3
+ props: Record<string, never>;
11
4
  events: {
12
5
  [evt: string]: CustomEvent<any>;
13
6
  };
14
- slots: {
15
- default: {};
16
- };
7
+ slots: {};
17
8
  };
18
9
  type QBreadcrumbsProps_ = typeof __propDef.props;
19
10
  export { QBreadcrumbsProps_ as QBreadcrumbsProps };
20
11
  export type QBreadcrumbsEvents = typeof __propDef.events;
21
12
  export type QBreadcrumbsSlots = typeof __propDef.slots;
22
- export default class QBreadcrumbs extends SvelteComponent<QBreadcrumbsProps, QBreadcrumbsEvents, QBreadcrumbsSlots> {
13
+ export default class QBreadcrumbs extends SvelteComponentTyped<QBreadcrumbsProps_, QBreadcrumbsEvents, QBreadcrumbsSlots> {
23
14
  }
@@ -0,0 +1,10 @@
1
+ @use "$css/mixins";
2
+
3
+ .q-breadcrumbs__el {
4
+ display: flex;
5
+ align-items: center;
6
+
7
+ & > .q-icon {
8
+ @include mixins.margin("r-sm");
9
+ }
10
+ }
@@ -1,59 +1,76 @@
1
- <script>import { getContext } from "svelte";
2
- import QIcon from "../icon/QIcon.svelte";
3
- import { createClasses } from "../../utils/props";
4
- import { isRouteActive } from "../../composables/use-router-link";
5
- import { Quaff } from "../../stores/Quaff";
6
- export let label = "", icon = void 0, tag = "div", to = void 0, href = void 0, activeClass = "active", userClasses = void 0;
7
- export { userClasses as class };
8
- const activeColor = getContext("activeColor");
9
- const separator = getContext("separator");
10
- $:
11
- isActive = isRouteActive($Quaff.router, href || to);
12
- $:
13
- classes = createClasses([isActive && activeClass], {
14
- component: "q-breadcrumbs",
15
- element: "el",
16
- quaffClasses: [isActive && `${activeColor}-text`],
17
- userClasses
18
- });
19
- $:
20
- separatorClasses = createClasses([], {
21
- component: "q-breadcrumbs",
22
- element: "separator",
23
- quaffClasses: [`q-px-${separator.gutter}`]
24
- });
1
+ <script lang="ts">
2
+ import { getContext, type Snippet } from "svelte";
3
+ import { QIcon } from "../..";
4
+ import { isRouteActive, QBreadcrumbsCtxName } from "../../utils";
5
+ import type { MaterialSymbol } from "material-symbols";
6
+ import type { QBreadcrumbsElProps } from "./props";
7
+
8
+ let {
9
+ activeClass = "active",
10
+ href,
11
+ label = "",
12
+ icon,
13
+ tag = "div",
14
+ to,
15
+ children = fallback,
16
+ ...props
17
+ }: QBreadcrumbsElProps = $props();
18
+
19
+ const activeColor = getContext<string>(QBreadcrumbsCtxName.activeColor);
20
+ const separator = getContext<{
21
+ type: `icon:${MaterialSymbol}` | Snippet;
22
+ color: string;
23
+ gutter: string;
24
+ }>(QBreadcrumbsCtxName.separator);
25
+
26
+ const classesIfActive = $derived(
27
+ isRouteActive(href || to)
28
+ ? `${activeClass} text-${activeColor}`
29
+ : undefined,
30
+ );
25
31
  </script>
26
32
 
27
- <div class={separatorClasses}>
28
- {#if separator.type.startsWith("icon:")}
29
- <QIcon name={separator.type.replace("icon:", "")} size="1rem" />
33
+ {#snippet fallback()}
34
+ {label}
35
+ {/snippet}
36
+
37
+ {#snippet breadcrumbEl()}
38
+ {#if icon !== undefined}
39
+ {#if typeof icon === "string"}
40
+ <QIcon name={icon} size="1rem" />
41
+ {:else}
42
+ {@render icon()}
43
+ {/if}
44
+ {/if}
45
+
46
+ {@render children()}
47
+ {/snippet}
48
+
49
+ <div
50
+ {...props}
51
+ class={["q-breadcrumbs__separator", `q-px-${separator.gutter}`, props.class]}
52
+ data-quaff
53
+ >
54
+ {#if typeof separator.type === "string"}
55
+ {#if separator.type.startsWith("icon:")}
56
+ <QIcon
57
+ name={separator.type.replace("icon:", "") as MaterialSymbol}
58
+ size="1rem"
59
+ />
60
+ {:else}
61
+ {separator.type}
62
+ {/if}
30
63
  {:else}
31
- {separator.type}
64
+ {@render separator.type()}
32
65
  {/if}
33
66
  </div>
34
67
 
35
68
  {#if href !== undefined || to !== undefined}
36
- <a href={href || to} class={classes}>
37
- {#if icon !== undefined}
38
- <QIcon name={icon} size="1rem" />
39
- {:else if $$slots.icon}
40
- <slot name="icon" />
41
- {/if}
42
-
43
- <slot>
44
- {label}
45
- </slot>
69
+ <a href={href || to} class={["q-breadcrumbs__el", classesIfActive]}>
70
+ {@render breadcrumbEl()}
46
71
  </a>
47
72
  {:else}
48
- <svelte:element this={tag} class={classes}>
49
- {#if icon !== undefined}
50
- <QIcon name={icon} size="1rem" />
51
- {:else if $$slots.icon}
52
- <slot name="icon" />
53
- {/if}
54
-
55
- <slot>
56
- {label}
57
- </slot>
73
+ <svelte:element this={tag} class={["q-breadcrumbs__el", classesIfActive]}>
74
+ {@render breadcrumbEl()}
58
75
  </svelte:element>
59
76
  {/if}
@@ -1,26 +1,14 @@
1
- import { SvelteComponent } from "svelte";
2
- import type { QBreadcrumbsElProps } from "./props";
1
+ import { SvelteComponentTyped } from "svelte";
3
2
  declare const __propDef: {
4
- props: {
5
- label?: QBreadcrumbsElProps["label"];
6
- icon?: QBreadcrumbsElProps["icon"];
7
- tag?: QBreadcrumbsElProps["tag"];
8
- to?: QBreadcrumbsElProps["to"];
9
- href?: QBreadcrumbsElProps["href"];
10
- activeClass?: QBreadcrumbsElProps["activeClass"];
11
- class?: string | undefined;
12
- };
3
+ props: Record<string, never>;
13
4
  events: {
14
5
  [evt: string]: CustomEvent<any>;
15
6
  };
16
- slots: {
17
- icon: {};
18
- default: {};
19
- };
7
+ slots: {};
20
8
  };
21
9
  type QBreadcrumbsElProps_ = typeof __propDef.props;
22
10
  export { QBreadcrumbsElProps_ as QBreadcrumbsElProps };
23
11
  export type QBreadcrumbsElEvents = typeof __propDef.events;
24
12
  export type QBreadcrumbsElSlots = typeof __propDef.slots;
25
- export default class QBreadcrumbsEl extends SvelteComponent<QBreadcrumbsElProps, QBreadcrumbsElEvents, QBreadcrumbsElSlots> {
13
+ export default class QBreadcrumbsEl extends SvelteComponentTyped<QBreadcrumbsElProps_, QBreadcrumbsElEvents, QBreadcrumbsElSlots> {
26
14
  }
@@ -1,2 +1,2 @@
1
- import type { QComponentDocs } from "../../utils/types";
2
- export declare let QBreadcrumbsDocs: QComponentDocs;
1
+ import type { QComponentDocs } from "../../utils";
2
+ export declare const QBreadcrumbsDocs: QComponentDocs;
@@ -1,15 +1,10 @@
1
- import { QBreadcrumbsDocsProps } from "./docs.props";
2
- export let QBreadcrumbsDocs = {
1
+ import { QBreadcrumbsDocsProps, QBreadcrumbsDocsSnippets } from "./docs.props";
2
+ export const QBreadcrumbsDocs = {
3
3
  name: "QBreadcrumbs",
4
4
  description: "Breadcrumbs are mostly used as a navigation aid. They allow users to keep track of their location within the page.",
5
5
  docs: {
6
6
  props: QBreadcrumbsDocsProps,
7
- slots: [
8
- {
9
- name: "default",
10
- description: "The default slot is used to inserts breadcrumb elements. Use QBreadcrumbsEl to insert elements.",
11
- },
12
- ],
7
+ snippets: QBreadcrumbsDocsSnippets,
13
8
  methods: [],
14
9
  events: [],
15
10
  },