@quaffui/quaff 1.0.0-alpha2 → 1.0.0-beta12

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 (216) hide show
  1. package/README.md +2 -0
  2. package/dist/classes/QScrollObserver.svelte.d.ts +4 -4
  3. package/dist/classes/QScrollObserver.svelte.js +26 -13
  4. package/dist/components/avatar/QAvatar.svelte +4 -0
  5. package/dist/components/avatar/QAvatar.svelte.d.ts +4 -14
  6. package/dist/components/breadcrumbs/QBreadcrumbs.scss +9 -5
  7. package/dist/components/breadcrumbs/QBreadcrumbs.svelte +46 -16
  8. package/dist/components/breadcrumbs/QBreadcrumbs.svelte.d.ts +24 -12
  9. package/dist/components/breadcrumbs/QBreadcrumbsEl.scss +22 -3
  10. package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte +50 -38
  11. package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte.d.ts +4 -14
  12. package/dist/components/breadcrumbs/props.d.ts +4 -4
  13. package/dist/components/button/QBtn.scss +3 -1
  14. package/dist/components/button/QBtn.svelte +38 -22
  15. package/dist/components/button/QBtn.svelte.d.ts +4 -14
  16. package/dist/components/button/props.d.ts +9 -2
  17. package/dist/components/card/QCard.svelte +9 -5
  18. package/dist/components/card/QCard.svelte.d.ts +4 -14
  19. package/dist/components/card/QCardActions.svelte +4 -0
  20. package/dist/components/card/QCardActions.svelte.d.ts +4 -14
  21. package/dist/components/card/QCardSection.svelte +2 -0
  22. package/dist/components/card/QCardSection.svelte.d.ts +4 -14
  23. package/dist/components/checkbox/QCheckbox.svelte +6 -4
  24. package/dist/components/checkbox/QCheckbox.svelte.d.ts +4 -14
  25. package/dist/components/checkbox/props.d.ts +1 -1
  26. package/dist/components/chip/QChip.scss +3 -1
  27. package/dist/components/chip/QChip.svelte +24 -14
  28. package/dist/components/chip/QChip.svelte.d.ts +4 -14
  29. package/dist/components/codeBlock/QCodeBlock.svelte +8 -0
  30. package/dist/components/codeBlock/QCodeBlock.svelte.d.ts +4 -14
  31. package/dist/components/dialog/QDialog.scss +17 -0
  32. package/dist/components/dialog/QDialog.svelte +34 -9
  33. package/dist/components/dialog/QDialog.svelte.d.ts +8 -21
  34. package/dist/components/drawer/QDrawer.scss +2 -2
  35. package/dist/components/drawer/QDrawer.svelte +124 -69
  36. package/dist/components/drawer/QDrawer.svelte.d.ts +8 -21
  37. package/dist/components/drawer/props.d.ts +3 -3
  38. package/dist/components/expansion-item/QExpansionItem.scss +59 -0
  39. package/dist/components/expansion-item/QExpansionItem.svelte +319 -0
  40. package/dist/components/expansion-item/QExpansionItem.svelte.d.ts +8 -0
  41. package/dist/components/expansion-item/docs.d.ts +2 -0
  42. package/dist/components/expansion-item/docs.js +17 -0
  43. package/dist/components/expansion-item/props.d.ts +129 -0
  44. package/dist/components/expansion-item/props.js +1 -0
  45. package/dist/components/footer/QFooter.scss +1 -1
  46. package/dist/components/footer/QFooter.svelte +32 -28
  47. package/dist/components/footer/QFooter.svelte.d.ts +4 -14
  48. package/dist/components/header/QHeader.scss +1 -1
  49. package/dist/components/header/QHeader.svelte +41 -33
  50. package/dist/components/header/QHeader.svelte.d.ts +4 -14
  51. package/dist/components/icon/QIcon.svelte +6 -4
  52. package/dist/components/icon/QIcon.svelte.d.ts +4 -14
  53. package/dist/components/index.d.ts +3 -1
  54. package/dist/components/index.js +3 -1
  55. package/dist/components/input/QInput.svelte +139 -17
  56. package/dist/components/input/QInput.svelte.d.ts +4 -14
  57. package/dist/components/input/docs.js +2 -2
  58. package/dist/components/input/mask.d.ts +10 -0
  59. package/dist/components/input/mask.js +204 -0
  60. package/dist/components/input/props.d.ts +37 -4
  61. package/dist/components/layout/QLayout.svelte +248 -93
  62. package/dist/components/layout/QLayout.svelte.d.ts +67 -15
  63. package/dist/components/layout/props.d.ts +1 -1
  64. package/dist/components/list/QItem.scss +7 -4
  65. package/dist/components/list/QItem.svelte +44 -24
  66. package/dist/components/list/QItem.svelte.d.ts +17 -13
  67. package/dist/components/list/QItemSection.scss +24 -3
  68. package/dist/components/list/QItemSection.svelte +19 -21
  69. package/dist/components/list/QItemSection.svelte.d.ts +4 -14
  70. package/dist/components/list/QList.scss +17 -4
  71. package/dist/components/list/QList.svelte +30 -8
  72. package/dist/components/list/QList.svelte.d.ts +17 -13
  73. package/dist/components/list/props.d.ts +3 -3
  74. package/dist/components/menu/QMenu.scss +37 -0
  75. package/dist/components/menu/QMenu.svelte +314 -0
  76. package/dist/components/menu/QMenu.svelte.d.ts +8 -0
  77. package/dist/components/menu/docs.d.ts +2 -0
  78. package/dist/components/menu/docs.js +27 -0
  79. package/dist/components/menu/props.d.ts +48 -0
  80. package/dist/components/menu/props.js +1 -0
  81. package/dist/components/progress/QCircularProgress.svelte +17 -14
  82. package/dist/components/progress/QCircularProgress.svelte.d.ts +4 -14
  83. package/dist/components/progress/QLinearProgress.svelte +15 -15
  84. package/dist/components/progress/QLinearProgress.svelte.d.ts +4 -14
  85. package/dist/components/radio/QRadio.svelte +6 -4
  86. package/dist/components/radio/QRadio.svelte.d.ts +4 -14
  87. package/dist/components/radio/props.d.ts +1 -1
  88. package/dist/components/railbar/QRailbar.scss +1 -1
  89. package/dist/components/railbar/QRailbar.svelte +36 -35
  90. package/dist/components/railbar/QRailbar.svelte.d.ts +4 -14
  91. package/dist/components/select/QSelect.svelte +316 -102
  92. package/dist/components/select/QSelect.svelte.d.ts +4 -14
  93. package/dist/components/select/filter.d.ts +13 -0
  94. package/dist/components/select/filter.js +73 -0
  95. package/dist/components/select/index.scss +28 -27
  96. package/dist/components/select/option.d.ts +9 -0
  97. package/dist/components/select/option.js +59 -0
  98. package/dist/components/select/props.d.ts +40 -7
  99. package/dist/components/separator/QSeparator.scss +2 -0
  100. package/dist/components/separator/QSeparator.svelte +9 -8
  101. package/dist/components/separator/QSeparator.svelte.d.ts +4 -14
  102. package/dist/components/switch/QSwitch.scss +12 -6
  103. package/dist/components/switch/QSwitch.svelte +7 -1
  104. package/dist/components/switch/QSwitch.svelte.d.ts +4 -14
  105. package/dist/components/table/QTable.svelte +31 -19
  106. package/dist/components/table/QTable.svelte.d.ts +4 -14
  107. package/dist/components/table/index.scss +1 -1
  108. package/dist/components/tabs/QTab.scss +2 -0
  109. package/dist/components/tabs/QTab.svelte +19 -22
  110. package/dist/components/tabs/QTab.svelte.d.ts +4 -14
  111. package/dist/components/tabs/QTabs.svelte +59 -32
  112. package/dist/components/tabs/QTabs.svelte.d.ts +18 -18
  113. package/dist/components/toolbar/QToolbar.svelte +2 -0
  114. package/dist/components/toolbar/QToolbar.svelte.d.ts +4 -14
  115. package/dist/components/toolbar/QToolbarTitle.svelte +2 -0
  116. package/dist/components/toolbar/QToolbarTitle.svelte.d.ts +4 -14
  117. package/dist/components/tooltip/QTooltip.svelte +48 -38
  118. package/dist/components/tooltip/QTooltip.svelte.d.ts +29 -17
  119. package/dist/components/tooltip/QTooltipBase.svelte +18 -8
  120. package/dist/components/tooltip/QTooltipBase.svelte.d.ts +4 -14
  121. package/dist/composables/index.d.ts +2 -0
  122. package/dist/composables/index.js +2 -0
  123. package/dist/composables/useColor.d.ts +1 -0
  124. package/dist/composables/useColor.js +19 -0
  125. package/dist/composables/useRevealScrollObserver.svelte.d.ts +9 -0
  126. package/dist/composables/useRevealScrollObserver.svelte.js +25 -0
  127. package/dist/composables/useRouterLink.d.ts +3 -2
  128. package/dist/composables/useRouterLink.js +2 -2
  129. package/dist/css/_components.scss +2 -0
  130. package/dist/css/classes/_grid.scss +12 -1
  131. package/dist/css/index.css +1 -1
  132. package/dist/css/mixins/_design.scss +1 -1
  133. package/dist/css/mixins/_field.scss +3 -2
  134. package/dist/css/mixins/_table.scss +1 -1
  135. package/dist/css/mixins/_toolbar.scss +1 -1
  136. package/dist/css/shared/q-field.scss +7 -6
  137. package/dist/css/theme/_page.scss +8 -6
  138. package/dist/css/theme/_reset.scss +2 -1
  139. package/dist/helpers/clickOutside.js +5 -4
  140. package/dist/helpers/ripple.js +5 -6
  141. package/dist/helpers/version.d.ts +1 -1
  142. package/dist/helpers/version.js +1 -1
  143. package/dist/{components/private/ContextReseter.svelte → internal/ContextResetter.svelte} +2 -3
  144. package/dist/internal/ContextResetter.svelte.d.ts +8 -0
  145. package/dist/{components/private → internal}/QIconSnippet.svelte +2 -2
  146. package/dist/internal/QIconSnippet.svelte.d.ts +10 -0
  147. package/dist/utils/context.d.ts +49 -32
  148. package/dist/utils/context.js +82 -33
  149. package/dist/utils/dom.d.ts +6 -0
  150. package/dist/utils/dom.js +33 -0
  151. package/dist/utils/events.d.ts +0 -24
  152. package/dist/utils/events.js +0 -24
  153. package/package.json +44 -38
  154. package/dist/classes/QContext.svelte.d.ts +0 -42
  155. package/dist/classes/QContext.svelte.js +0 -63
  156. package/dist/components/avatar/docs.props.d.ts +0 -3
  157. package/dist/components/avatar/docs.props.js +0 -87
  158. package/dist/components/breadcrumbs/docs.props.d.ts +0 -5
  159. package/dist/components/breadcrumbs/docs.props.js +0 -144
  160. package/dist/components/button/docs.props.d.ts +0 -3
  161. package/dist/components/button/docs.props.js +0 -227
  162. package/dist/components/card/docs.props.d.ts +0 -7
  163. package/dist/components/card/docs.props.js +0 -89
  164. package/dist/components/checkbox/docs.props.d.ts +0 -3
  165. package/dist/components/checkbox/docs.props.js +0 -41
  166. package/dist/components/chip/docs.props.d.ts +0 -3
  167. package/dist/components/chip/docs.props.js +0 -137
  168. package/dist/components/codeBlock/docs.props.d.ts +0 -3
  169. package/dist/components/codeBlock/docs.props.js +0 -83
  170. package/dist/components/dialog/docs.props.d.ts +0 -3
  171. package/dist/components/dialog/docs.props.js +0 -65
  172. package/dist/components/drawer/docs.props.d.ts +0 -3
  173. package/dist/components/drawer/docs.props.js +0 -149
  174. package/dist/components/footer/docs.props.d.ts +0 -3
  175. package/dist/components/footer/docs.props.js +0 -65
  176. package/dist/components/header/docs.props.d.ts +0 -7
  177. package/dist/components/header/docs.props.js +0 -131
  178. package/dist/components/icon/docs.props.d.ts +0 -3
  179. package/dist/components/icon/docs.props.js +0 -107
  180. package/dist/components/input/docs.props.d.ts +0 -3
  181. package/dist/components/input/docs.props.js +0 -162
  182. package/dist/components/layout/docs.props.d.ts +0 -3
  183. package/dist/components/layout/docs.props.js +0 -81
  184. package/dist/components/list/docs.props.d.ts +0 -11
  185. package/dist/components/list/docs.props.js +0 -434
  186. package/dist/components/private/ContextReseter.svelte.d.ts +0 -14
  187. package/dist/components/private/QApi.svelte +0 -296
  188. package/dist/components/private/QApi.svelte.d.ts +0 -14
  189. package/dist/components/private/QDocs.svelte +0 -155
  190. package/dist/components/private/QDocs.svelte.d.ts +0 -14
  191. package/dist/components/private/QDocsSection.svelte +0 -62
  192. package/dist/components/private/QDocsSection.svelte.d.ts +0 -14
  193. package/dist/components/private/QIconSnippet.svelte.d.ts +0 -14
  194. package/dist/components/private/index.d.ts +0 -6
  195. package/dist/components/private/index.js +0 -6
  196. package/dist/components/progress/docs.props.d.ts +0 -5
  197. package/dist/components/progress/docs.props.js +0 -314
  198. package/dist/components/radio/docs.props.d.ts +0 -3
  199. package/dist/components/radio/docs.props.js +0 -53
  200. package/dist/components/railbar/docs.props.d.ts +0 -3
  201. package/dist/components/railbar/docs.props.js +0 -47
  202. package/dist/components/select/docs.props.d.ts +0 -3
  203. package/dist/components/select/docs.props.js +0 -198
  204. package/dist/components/separator/docs.props.d.ts +0 -5
  205. package/dist/components/separator/docs.props.js +0 -196
  206. package/dist/components/switch/docs.props.d.ts +0 -3
  207. package/dist/components/switch/docs.props.js +0 -119
  208. package/dist/components/table/docs.props.d.ts +0 -3
  209. package/dist/components/table/docs.props.js +0 -94
  210. package/dist/components/tabs/docs.props.d.ts +0 -5
  211. package/dist/components/tabs/docs.props.js +0 -86
  212. package/dist/components/toolbar/docs.props.d.ts +0 -5
  213. package/dist/components/toolbar/docs.props.js +0 -68
  214. package/dist/components/tooltip/docs.props.d.ts +0 -3
  215. package/dist/components/tooltip/docs.props.js +0 -77
  216. package/dist/utils/types.json +0 -31
package/package.json CHANGED
@@ -1,24 +1,23 @@
1
1
  {
2
2
  "name": "@quaffui/quaff",
3
- "version": "1.0.0-alpha2",
3
+ "version": "1.0.0-beta12",
4
4
  "scripts": {
5
- "dev": "vite dev",
6
- "open": "vite dev --open",
7
- "build": "vite build && bun run package && bun run build:css",
5
+ "dev": "tsc -p plugins/tsconfig.json && vite dev",
6
+ "open": "tsc -p plugins/tsconfig.json && vite dev --open",
7
+ "build": "tsc -p plugins/tsconfig.json && svelte-kit sync && svelte-package && publint && vite build --config vite.config.scss.ts",
8
8
  "build:css": "vite build --config vite.config.scss.ts",
9
- "build:docs": "bun run build:css && svelte-kit sync && vite build",
9
+ "build:docs": "tsc -p plugins/tsconfig.json && bun scripts/docgenProps.ts && bun scripts/docgenSnippets.ts && vite build --config vite.config.scss.ts && svelte-kit sync && vite build",
10
10
  "preview": "vite preview",
11
- "package": "svelte-kit sync && svelte-package && publint",
12
- "prepublishOnly": "bun run build",
13
- "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
14
- "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
11
+ "package": "tsc -p plugins/tsconfig.json && svelte-kit sync && svelte-package && publint",
12
+ "check": "tsc -p plugins/tsconfig.json && svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
13
+ "check:watch": "tsc -p plugins/tsconfig.json && svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
15
14
  "test:unit": "vitest",
16
15
  "lint": "prettier --plugin prettier-plugin-svelte . --check . && eslint .",
17
16
  "format": "prettier --plugin prettier-plugin-svelte . --write . && eslint . --fix",
18
17
  "docgen-props": "bun scripts/docgenProps.ts",
19
18
  "colorgen": "bun scripts/colorgen.ts",
20
19
  "docgen-snippets": "bun scripts/docgenSnippets.ts",
21
- "write-version": "bun scripts/writeVersion.ts"
20
+ "gen:plugins": "tsc -p plugins/tsconfig.json"
22
21
  },
23
22
  "exports": {
24
23
  ".": {
@@ -27,45 +26,52 @@
27
26
  },
28
27
  "./css/*": "./dist/css/*"
29
28
  },
29
+ "sideEffects": [
30
+ "**/*.css"
31
+ ],
30
32
  "files": [
31
33
  "dist",
32
34
  "!dist/**/*.test.*",
33
35
  "!dist/**/*.spec.*"
34
36
  ],
35
37
  "peerDependencies": {
36
- "shiki": "^3.4.2"
38
+ "@sveltejs/kit": "^2.62.0",
39
+ "shiki": "^4.2.0",
40
+ "svelte": "^5.56.0"
37
41
  },
38
42
  "devDependencies": {
39
- "@fontsource/roboto": "^5.2.5",
40
- "@sveltejs/adapter-static": "^3.0.8",
41
- "@sveltejs/kit": "^2.21.1",
42
- "@sveltejs/package": "^2.3.11",
43
- "@sveltejs/vite-plugin-svelte": "^5.0.3",
43
+ "@eslint/eslintrc": "^3.3.5",
44
+ "@eslint/js": "^10.0.1",
45
+ "@fontsource/roboto": "^5.2.10",
46
+ "@sveltejs/adapter-static": "^3.0.10",
47
+ "@sveltejs/kit": "^2.62.0",
48
+ "@sveltejs/package": "^2.5.8",
49
+ "@sveltejs/vite-plugin-svelte": "^7.1.2",
44
50
  "@types/prettier": "^3.0.0",
45
- "@types/prismjs": "^1.26.5",
46
- "@typescript-eslint/eslint-plugin": "^8.33.0",
47
- "@typescript-eslint/parser": "^8.33.0",
48
- "bun-types": "^1.2.15",
49
- "eslint": "^9.28.0",
50
- "eslint-config-prettier": "^10.1.5",
51
- "eslint-plugin-import-x": "^4.15.0",
52
- "eslint-plugin-svelte": "^3.9.0",
53
- "eslint-plugin-unicorn": "^59.0.1",
51
+ "@types/prismjs": "^1.26.6",
52
+ "@typescript-eslint/eslint-plugin": "^8.60.1",
53
+ "@typescript-eslint/parser": "^8.60.1",
54
+ "bun-types": "^1.3.14",
55
+ "eslint": "^10.4.1",
56
+ "eslint-config-prettier": "^10.1.8",
57
+ "eslint-plugin-import-x": "^4.16.2",
58
+ "eslint-plugin-svelte": "^3.19.0",
59
+ "eslint-plugin-unicorn": "^64.0.0",
54
60
  "estree-walker": "^3.0.3",
55
- "globals": "^16.2.0",
56
- "magic-string": "^0.30.17",
57
- "material-symbols": "^0.31.4",
58
- "prettier": "^3.5.3",
59
- "prettier-plugin-svelte": "^3.4.0",
60
- "publint": "^0.3.12",
61
- "sass": "^1.89.1",
62
- "svelte": "^5.33.11",
63
- "svelte-check": "^4.2.1",
64
- "svelte-eslint-parser": "^1.2.0",
61
+ "globals": "^17.6.0",
62
+ "magic-string": "^0.30.21",
63
+ "material-symbols": "^0.44.11",
64
+ "prettier": "^3.8.3",
65
+ "prettier-plugin-svelte": "^4.1.0",
66
+ "publint": "^0.3.21",
67
+ "sass": "^1.100.0",
68
+ "svelte": "^5.56.0",
69
+ "svelte-check": "^4.5.0",
70
+ "svelte-eslint-parser": "^1.7.1",
65
71
  "tslib": "^2.8.1",
66
- "typescript": "^5.8.3",
67
- "vite": "^6.3.5",
68
- "vitest": "^3.1.4"
72
+ "typescript": "^6.0.3",
73
+ "vite": "^8.0.16",
74
+ "vitest": "^4.1.8"
69
75
  },
70
76
  "svelte": "./dist/index.js",
71
77
  "types": "./dist/index.d.ts",
@@ -1,42 +0,0 @@
1
- /**
2
- * This class allows to manipulate reactive contexts more easily.
3
- * It avoids having to pass a Svelte store down the components but rather use runes to keep the context reactive.
4
- *
5
- * This class should be used when the context has to be modified from a child component. Otherwise, using svelte's context API should be enough.
6
- */
7
- export declare class QContext<T> {
8
- #private;
9
- constructor(contextSymbol: symbol, init: T);
10
- /**
11
- * Gets the value of context with id `contextSymbol`
12
- * @param contextSymbol - Name of the context to get
13
- * @returns The context's value
14
- */
15
- static get<T>(contextSymbol: symbol): QContext<T> | undefined;
16
- /**
17
- * Prevents the propagation of the context further down
18
- * @param contextSymbol - Name of the context to get
19
- * @returns The context result
20
- */
21
- static reset(contextSymbol: symbol): void;
22
- /**
23
- * Updates the context's inner value with `newVal`
24
- * @param newVal - New value to update the context with
25
- */
26
- update(newVal: T): void;
27
- /**
28
- * Updates the property of id `key` with `newVal` in the context's inner value
29
- * @param key - Key to update
30
- * @param newVal - New value to update the context's property with
31
- */
32
- updateEntry(key: keyof T, newVal: NonNullable<T>[keyof T]): void;
33
- /**
34
- * Updates the given properties their corresponding values in the context's inner value
35
- * @param from - Object containing keys to update with their respective value
36
- */
37
- updateEntries(from: Record<keyof T, NonNullable<T>[keyof T]>): void;
38
- /**
39
- * Inner value of the context
40
- */
41
- get value(): T;
42
- }
@@ -1,63 +0,0 @@
1
- import { getContext, setContext } from "svelte";
2
- /**
3
- * This class allows to manipulate reactive contexts more easily.
4
- * It avoids having to pass a Svelte store down the components but rather use runes to keep the context reactive.
5
- *
6
- * This class should be used when the context has to be modified from a child component. Otherwise, using svelte's context API should be enough.
7
- */
8
- export class QContext {
9
- #state = $state();
10
- constructor(contextSymbol, init) {
11
- this.#state = init;
12
- setContext(contextSymbol, this);
13
- }
14
- /**
15
- * Gets the value of context with id `contextSymbol`
16
- * @param contextSymbol - Name of the context to get
17
- * @returns The context's value
18
- */
19
- static get(contextSymbol) {
20
- return getContext(contextSymbol);
21
- }
22
- /**
23
- * Prevents the propagation of the context further down
24
- * @param contextSymbol - Name of the context to get
25
- * @returns The context result
26
- */
27
- static reset(contextSymbol) {
28
- setContext(contextSymbol, undefined);
29
- }
30
- /**
31
- * Updates the context's inner value with `newVal`
32
- * @param newVal - New value to update the context with
33
- */
34
- update(newVal) {
35
- this.#state = newVal;
36
- }
37
- /**
38
- * Updates the property of id `key` with `newVal` in the context's inner value
39
- * @param key - Key to update
40
- * @param newVal - New value to update the context's property with
41
- */
42
- updateEntry(key, newVal) {
43
- if (!this.#state || typeof this.#state !== "object" || !Object.hasOwn(this.#state, key)) {
44
- throw new Error(`${key.toString()} doesn't exist on ${this.#state}`);
45
- }
46
- this.#state[key] = newVal;
47
- }
48
- /**
49
- * Updates the given properties their corresponding values in the context's inner value
50
- * @param from - Object containing keys to update with their respective value
51
- */
52
- updateEntries(from) {
53
- for (const key in from) {
54
- this.updateEntry(key, from[key]);
55
- }
56
- }
57
- /**
58
- * Inner value of the context
59
- */
60
- get value() {
61
- return this.#state;
62
- }
63
- }
@@ -1,3 +0,0 @@
1
- import { ParsedProp, ParsedSnippet } from "../../../../docgen/props/parseInterface";
2
- export declare const QAvatarDocsProps: ParsedProp[];
3
- export declare const QAvatarDocsSnippets: ParsedSnippet[];
@@ -1,87 +0,0 @@
1
- // AUTO GENERATED FILE - DO NOT MODIFY OR DELETE
2
- // @quaffHash 6a4f00f36c683337912c3fec88921ecc
3
- export const QAvatarDocsProps = [
4
- {
5
- isArray: false,
6
- optional: true,
7
- isSnippet: false,
8
- name: "shape",
9
- type: {
10
- name: "QAvatarShapeOptions",
11
- isClickable: true,
12
- },
13
- description: "Shape of the avatar.",
14
- default: '"circle"',
15
- },
16
- {
17
- isArray: false,
18
- optional: true,
19
- isSnippet: false,
20
- name: "size",
21
- type: {
22
- name: "QAvatarSizeOptions",
23
- isClickable: true,
24
- },
25
- description: 'Size of the avatar, can be a custom size using CSS units. If no unit is specified, "px" will be used.',
26
- default: '"md"',
27
- },
28
- {
29
- isArray: false,
30
- optional: true,
31
- isSnippet: false,
32
- name: "src",
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,
42
- optional: true,
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.',
50
- default: "undefined",
51
- },
52
- {
53
- isArray: false,
54
- optional: true,
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.',
62
- default: "false",
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
- },
87
- ];
@@ -1,5 +0,0 @@
1
- import { ParsedProp, ParsedSnippet } from "../../../../docgen/props/parseInterface";
2
- export declare const QBreadcrumbsDocsProps: ParsedProp[];
3
- export declare const QBreadcrumbsDocsSnippets: ParsedSnippet[];
4
- export declare const QBreadcrumbsElDocsProps: ParsedProp[];
5
- export declare const QBreadcrumbsElDocsSnippets: ParsedSnippet[];
@@ -1,144 +0,0 @@
1
- // AUTO GENERATED FILE - DO NOT MODIFY OR DELETE
2
- // @quaffHash 66c85971b241303d63478c8c8bca6aa0
3
- export const QBreadcrumbsDocsProps = [
4
- {
5
- isArray: false,
6
- optional: true,
7
- isSnippet: false,
8
- name: "activeColor",
9
- type: {
10
- name: "string",
11
- isClickable: false,
12
- },
13
- description: "Color to use for the active breadcrumb element. See <link to colors docs> to see what colors can be used.",
14
- default: '"primary"',
15
- },
16
- {
17
- isArray: false,
18
- optional: true,
19
- isSnippet: false,
20
- name: "gutter",
21
- type: {
22
- name: "QBreadcrumbsGutterOptions",
23
- isClickable: true,
24
- },
25
- description: "Space around separators.",
26
- default: '"sm"',
27
- },
28
- {
29
- isArray: false,
30
- optional: true,
31
- isSnippet: false,
32
- name: "separator",
33
- type: [
34
- {
35
- name: "string",
36
- isClickable: false,
37
- },
38
- {
39
- name: "`icon:${MaterialSymbol}`",
40
- isClickable: false,
41
- },
42
- {
43
- name: "Snippet",
44
- isClickable: false,
45
- },
46
- ],
47
- description: 'Separator to use between the breadcrumb elements. To use an icon, prefix with "icon:" followed by the name of the icon.',
48
- default: '"/"',
49
- },
50
- {
51
- isArray: false,
52
- optional: true,
53
- isSnippet: false,
54
- name: "separatorColor",
55
- type: {
56
- name: "string",
57
- isClickable: false,
58
- },
59
- description: "Color to use for the separators. See <link to colors docs> to see what colors can be used.",
60
- default: '"outline"',
61
- },
62
- ];
63
- export const QBreadcrumbsDocsSnippets = [];
64
- export const QBreadcrumbsElDocsProps = [
65
- {
66
- isArray: false,
67
- optional: true,
68
- isSnippet: false,
69
- name: "activeClass",
70
- type: {
71
- name: "string",
72
- isClickable: false,
73
- },
74
- description: "Class to apply to the breadcrumb element when the route is active.",
75
- default: '"active"',
76
- },
77
- {
78
- isArray: false,
79
- optional: true,
80
- isSnippet: false,
81
- name: "icon",
82
- type: [
83
- {
84
- name: "MaterialSymbol",
85
- isClickable: false,
86
- },
87
- {
88
- name: "Snippet",
89
- isClickable: false,
90
- },
91
- ],
92
- description: "Name of the leading icon for the breadcrumb element. The icon prop overwrites to icon slot.",
93
- default: "undefined",
94
- },
95
- {
96
- isArray: false,
97
- optional: true,
98
- isSnippet: false,
99
- name: "label",
100
- type: {
101
- name: "string",
102
- isClickable: false,
103
- },
104
- description: "Text to use for the breadcrumb element. If default slot is defined, the label will be overwritten by it.",
105
- default: '""',
106
- },
107
- {
108
- isArray: false,
109
- optional: true,
110
- isSnippet: false,
111
- name: "href",
112
- type: {
113
- name: "string",
114
- isClickable: false,
115
- },
116
- description: 'Also makes the breadcrumb element navigational. Can be used with the router (e.g to="/home") or as a normal href attribute (e.g to="#section-id")',
117
- default: "undefined",
118
- },
119
- {
120
- isArray: false,
121
- optional: true,
122
- isSnippet: false,
123
- name: "tag",
124
- type: {
125
- name: "string",
126
- isClickable: false,
127
- },
128
- description: "Tag to use for the breadcrumb element.",
129
- default: '"div"',
130
- },
131
- {
132
- isArray: false,
133
- optional: true,
134
- isSnippet: false,
135
- name: "to",
136
- type: {
137
- name: "string",
138
- isClickable: false,
139
- },
140
- description: 'Makes the breadcrumb element navigational. Can be used with the router (e.g to="/home") or as a normal href attribute (e.g to="#section-id")',
141
- default: "undefined",
142
- },
143
- ];
144
- export const QBreadcrumbsElDocsSnippets = [];
@@ -1,3 +0,0 @@
1
- import { ParsedProp, ParsedSnippet } from "../../../../docgen/props/parseInterface";
2
- export declare const QBtnDocsProps: ParsedProp[];
3
- export declare const QBtnDocsSnippets: ParsedSnippet[];