@quaffui/quaff 0.1.0-prealpha15 → 0.1.0-prealpha19
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.
- package/README.md +6 -6
- package/dist/classes/QContext.svelte.d.ts +42 -0
- package/dist/classes/QContext.svelte.js +63 -0
- package/dist/classes/QScrollObserver.svelte.d.ts +44 -0
- package/dist/classes/QScrollObserver.svelte.js +95 -0
- package/dist/classes/QTheme.svelte.d.ts +11 -0
- package/dist/classes/QTheme.svelte.js +49 -0
- package/dist/classes/Quaff.svelte.d.ts +14 -0
- package/dist/classes/Quaff.svelte.js +35 -0
- package/dist/components/avatar/QAvatar.scss +97 -0
- package/dist/components/avatar/QAvatar.svelte +35 -50
- package/dist/components/avatar/QAvatar.svelte.d.ts +2 -25
- package/dist/components/avatar/docs.d.ts +1 -1
- package/dist/components/avatar/docs.js +1 -1
- package/dist/components/avatar/docs.props.js +21 -5
- package/dist/components/avatar/index.scss +5 -3
- package/dist/components/avatar/props.d.ts +24 -7
- package/dist/components/breadcrumbs/QBreadcrumbs.scss +10 -0
- package/dist/components/breadcrumbs/QBreadcrumbs.svelte +24 -10
- package/dist/components/breadcrumbs/QBreadcrumbs.svelte.d.ts +2 -22
- package/dist/components/breadcrumbs/QBreadcrumbsEl.scss +10 -0
- package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte +62 -38
- package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte.d.ts +2 -25
- package/dist/components/breadcrumbs/docs.d.ts +1 -1
- package/dist/components/breadcrumbs/docs.js +1 -1
- package/dist/components/breadcrumbs/docs.props.js +27 -27
- package/dist/components/breadcrumbs/props.d.ts +25 -24
- package/dist/components/button/QBtn.scss +133 -0
- package/dist/components/button/QBtn.svelte +89 -46
- package/dist/components/button/QBtn.svelte.d.ts +2 -33
- package/dist/components/button/docs.d.ts +1 -1
- package/dist/components/button/docs.js +1 -1
- package/dist/components/button/docs.props.js +26 -18
- package/dist/components/button/props.d.ts +21 -15
- package/dist/components/card/QCard.scss +25 -0
- package/dist/components/card/QCard.svelte +26 -17
- package/dist/components/card/QCard.svelte.d.ts +2 -25
- package/dist/components/card/QCardActions.scss +10 -0
- package/dist/components/card/QCardActions.svelte +11 -8
- package/dist/components/card/QCardActions.svelte.d.ts +2 -21
- package/dist/components/card/QCardSection.scss +10 -0
- package/dist/components/card/QCardSection.svelte +9 -7
- package/dist/components/card/QCardSection.svelte.d.ts +2 -22
- package/dist/components/card/docs.d.ts +3 -3
- package/dist/components/card/docs.js +3 -3
- package/dist/components/card/docs.props.js +6 -14
- package/dist/components/card/props.d.ts +9 -15
- package/dist/components/checkbox/QCheckbox.svelte +6 -5
- package/dist/components/checkbox/QCheckbox.svelte.d.ts +2 -20
- package/dist/components/checkbox/docs.d.ts +1 -1
- package/dist/components/checkbox/docs.js +1 -1
- package/dist/components/checkbox/docs.props.js +1 -1
- package/dist/components/checkbox/index.scss +3 -1
- package/dist/components/checkbox/props.d.ts +1 -2
- package/dist/components/chip/QChip.scss +179 -0
- package/dist/components/chip/QChip.svelte +97 -69
- package/dist/components/chip/QChip.svelte.d.ts +2 -35
- package/dist/components/chip/docs.d.ts +1 -1
- package/dist/components/chip/docs.js +1 -1
- package/dist/components/chip/docs.props.js +23 -47
- package/dist/components/chip/props.d.ts +21 -34
- package/dist/components/codeBlock/QCodeBlock.svelte +63 -45
- package/dist/components/codeBlock/QCodeBlock.svelte.d.ts +2 -19
- package/dist/components/codeBlock/docs.props.js +10 -2
- package/dist/components/codeBlock/props.d.ts +6 -1
- package/dist/components/dialog/{index.scss → QDialog.scss} +9 -7
- package/dist/components/dialog/QDialog.svelte +72 -70
- package/dist/components/dialog/QDialog.svelte.d.ts +6 -36
- package/dist/components/dialog/docs.d.ts +1 -1
- package/dist/components/dialog/docs.js +1 -1
- package/dist/components/dialog/docs.props.d.ts +0 -8
- package/dist/components/dialog/docs.props.js +1 -131
- package/dist/components/dialog/props.d.ts +0 -16
- package/dist/components/drawer/QDrawer.scss +45 -0
- package/dist/components/drawer/QDrawer.svelte +87 -94
- package/dist/components/drawer/QDrawer.svelte.d.ts +6 -39
- package/dist/components/drawer/docs.d.ts +1 -1
- package/dist/components/drawer/docs.js +1 -1
- package/dist/components/drawer/docs.props.js +3 -3
- package/dist/components/drawer/props.d.ts +2 -2
- package/dist/components/footer/QFooter.scss +42 -0
- package/dist/components/footer/QFooter.svelte +65 -24
- package/dist/components/footer/QFooter.svelte.d.ts +2 -23
- package/dist/components/footer/docs.d.ts +1 -1
- package/dist/components/footer/docs.js +1 -1
- package/dist/components/footer/docs.props.js +14 -6
- package/dist/components/footer/props.d.ts +8 -5
- package/dist/components/header/QHeader.scss +54 -0
- package/dist/components/header/QHeader.svelte +52 -24
- package/dist/components/header/QHeader.svelte.d.ts +2 -23
- package/dist/components/header/docs.props.js +23 -7
- package/dist/components/header/props.d.ts +11 -3
- package/dist/components/icon/{index.scss → QIcon.scss} +2 -4
- package/dist/components/icon/QIcon.svelte +29 -16
- package/dist/components/icon/QIcon.svelte.d.ts +2 -27
- package/dist/components/icon/docs.d.ts +1 -1
- package/dist/components/icon/docs.js +1 -1
- package/dist/components/icon/docs.props.js +5 -5
- package/dist/components/icon/props.d.ts +6 -6
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/input/QInput.svelte +52 -25
- package/dist/components/input/QInput.svelte.d.ts +2 -32
- package/dist/components/input/docs.d.ts +1 -1
- package/dist/components/input/docs.js +1 -1
- package/dist/components/input/docs.props.js +33 -1
- package/dist/components/input/props.d.ts +5 -12
- package/dist/components/input/props.js +1 -12
- package/dist/components/layout/QLayout.scss +178 -0
- package/dist/components/layout/QLayout.svelte +100 -80
- package/dist/components/layout/QLayout.svelte.d.ts +16 -43
- package/dist/components/layout/docs.d.ts +1 -1
- package/dist/components/layout/docs.js +1 -1
- package/dist/components/layout/docs.props.js +57 -1
- package/dist/components/layout/props.d.ts +8 -0
- package/dist/components/list/QItem.scss +61 -0
- package/dist/components/list/QItem.svelte +65 -46
- package/dist/components/list/QItem.svelte.d.ts +2 -30
- package/dist/components/list/QItemSection.scss +45 -0
- package/dist/components/list/QItemSection.svelte +46 -34
- package/dist/components/list/QItemSection.svelte.d.ts +2 -24
- package/dist/components/list/QList.scss +30 -0
- package/dist/components/list/QList.svelte +28 -16
- package/dist/components/list/QList.svelte.d.ts +2 -28
- package/dist/components/list/docs.d.ts +1 -1
- package/dist/components/list/docs.js +1 -1
- package/dist/components/list/docs.props.js +36 -4
- package/dist/components/list/props.d.ts +9 -8
- package/dist/components/list/props.js +1 -25
- package/dist/components/private/ContextReseter.svelte +6 -11
- package/dist/components/private/ContextReseter.svelte.d.ts +6 -18
- package/dist/components/private/QApi.svelte +118 -97
- package/dist/components/private/QApi.svelte.d.ts +4 -16
- package/dist/components/private/QDocs.svelte +67 -58
- package/dist/components/private/QDocs.svelte.d.ts +9 -20
- package/dist/components/private/QDocsSection.svelte +15 -22
- package/dist/components/private/QDocsSection.svelte.d.ts +7 -29
- package/dist/components/private/QIconSnippet.svelte +12 -0
- package/dist/components/private/QIconSnippet.svelte.d.ts +8 -0
- package/dist/components/progress/QCircularProgress.scss +63 -0
- package/dist/components/progress/QCircularProgress.svelte +104 -28
- package/dist/components/progress/QCircularProgress.svelte.d.ts +2 -22
- package/dist/components/progress/QLinearProgress.scss +75 -0
- package/dist/components/progress/QLinearProgress.svelte +55 -13
- package/dist/components/progress/QLinearProgress.svelte.d.ts +2 -20
- package/dist/components/progress/docs.d.ts +1 -1
- package/dist/components/progress/docs.js +1 -1
- package/dist/components/progress/docs.props.js +138 -10
- package/dist/components/progress/props.d.ts +75 -12
- package/dist/components/radio/QRadio.svelte +14 -3
- package/dist/components/radio/QRadio.svelte.d.ts +2 -21
- package/dist/components/radio/docs.d.ts +1 -1
- package/dist/components/radio/docs.js +1 -1
- package/dist/components/radio/docs.props.js +2 -2
- package/dist/components/radio/index.scss +3 -1
- package/dist/components/radio/props.d.ts +2 -4
- package/dist/components/radio/props.js +1 -8
- package/dist/components/railbar/QRailbar.scss +54 -0
- package/dist/components/railbar/QRailbar.svelte +43 -66
- package/dist/components/railbar/QRailbar.svelte.d.ts +2 -22
- package/dist/components/railbar/docs.d.ts +1 -1
- package/dist/components/railbar/docs.js +1 -1
- package/dist/components/railbar/docs.props.js +4 -4
- package/dist/components/railbar/props.d.ts +3 -3
- package/dist/components/select/QSelect.svelte +121 -88
- package/dist/components/select/QSelect.svelte.d.ts +2 -34
- package/dist/components/select/docs.d.ts +1 -1
- package/dist/components/select/docs.js +8 -1
- package/dist/components/select/docs.props.js +41 -1
- package/dist/components/select/index.scss +8 -6
- package/dist/components/select/props.d.ts +6 -12
- package/dist/components/select/props.js +1 -12
- package/dist/components/separator/QSeparator.scss +54 -0
- package/dist/components/separator/QSeparator.svelte +38 -45
- package/dist/components/separator/QSeparator.svelte.d.ts +2 -24
- package/dist/components/separator/docs.d.ts +1 -1
- package/dist/components/separator/docs.js +1 -1
- package/dist/components/separator/docs.props.js +4 -4
- package/dist/components/separator/props.d.ts +5 -7
- package/dist/components/separator/props.js +1 -9
- package/dist/components/switch/QSwitch.scss +305 -0
- package/dist/components/switch/QSwitch.svelte +96 -0
- package/dist/components/switch/QSwitch.svelte.d.ts +3 -0
- package/dist/components/{toggle → switch}/docs.d.ts +1 -1
- package/dist/components/{toggle → switch}/docs.js +3 -3
- package/dist/components/{toggle → switch}/docs.props.d.ts +1 -1
- package/dist/components/{toggle → switch}/docs.props.js +30 -6
- package/dist/components/switch/props.d.ts +13 -0
- package/dist/components/switch/props.js +1 -0
- package/dist/components/table/QTable.svelte +99 -85
- package/dist/components/table/QTable.svelte.d.ts +3 -29
- package/dist/components/table/docs.d.ts +1 -1
- package/dist/components/table/docs.js +1 -1
- package/dist/components/table/docs.props.js +9 -1
- package/dist/components/table/index.scss +3 -1
- package/dist/components/table/props.d.ts +10 -0
- package/dist/components/tabs/QTab.scss +71 -0
- package/dist/components/tabs/QTab.svelte +75 -96
- package/dist/components/tabs/QTab.svelte.d.ts +2 -25
- package/dist/components/tabs/QTabs.scss +40 -0
- package/dist/components/tabs/QTabs.svelte +107 -59
- package/dist/components/tabs/QTabs.svelte.d.ts +6 -31
- package/dist/components/tabs/docs.d.ts +1 -1
- package/dist/components/tabs/docs.js +1 -1
- package/dist/components/tabs/docs.props.js +3 -3
- package/dist/components/tabs/index.scss +4 -2
- package/dist/components/tabs/props.d.ts +5 -4
- package/dist/components/tabs/props.js +1 -1
- package/dist/components/toolbar/QToolbar.svelte +15 -12
- package/dist/components/toolbar/QToolbar.svelte.d.ts +2 -23
- package/dist/components/toolbar/QToolbarTitle.svelte +8 -7
- package/dist/components/toolbar/QToolbarTitle.svelte.d.ts +2 -21
- package/dist/components/toolbar/docs.d.ts +1 -1
- package/dist/components/toolbar/docs.js +1 -1
- package/dist/components/toolbar/docs.props.js +4 -4
- package/dist/components/toolbar/index.scss +12 -14
- package/dist/components/toolbar/props.d.ts +4 -5
- package/dist/components/tooltip/QTooltip.svelte +5 -9
- package/dist/components/tooltip/QTooltip.svelte.d.ts +2 -21
- package/dist/components/tooltip/docs.d.ts +1 -1
- package/dist/components/tooltip/docs.js +1 -1
- package/dist/components/tooltip/docs.props.js +1 -1
- package/dist/components/tooltip/index.scss +3 -1
- package/dist/components/tooltip/props.d.ts +1 -1
- package/dist/composables/index.d.ts +3 -3
- package/dist/composables/index.js +3 -3
- package/dist/composables/useSize.d.ts +10 -0
- package/dist/composables/useSize.js +37 -0
- package/dist/composables/{use-size.d.ts → useSizeLegacy.d.ts} +2 -2
- package/dist/composables/{use-size.js → useSizeLegacy.js} +5 -5
- package/dist/css/_components.scss +31 -0
- package/dist/css/_disabled.scss +18 -0
- package/dist/css/{ripple.scss → _ripple.scss} +1 -1
- package/dist/css/_variables.scss +73 -0
- package/dist/css/classes/_design.scss +57 -0
- package/dist/css/classes/_flex.scss +62 -0
- package/dist/css/classes/_grid.scss +35 -0
- package/dist/css/classes/_index.scss +7 -0
- package/dist/css/classes/_overflow.scss +7 -0
- package/dist/css/classes/_position.scss +7 -0
- package/dist/css/classes/_select.scss +6 -0
- package/dist/css/classes/_spaces.scss +23 -0
- package/dist/css/fonts.scss +16 -3
- package/dist/css/index.css +1 -1
- package/dist/css/index.scss +15 -94
- package/dist/css/mixins/_design.scss +63 -0
- package/dist/css/mixins/{field-mixins.scss → _field.scss} +16 -5
- package/dist/css/mixins/_image.scss +63 -0
- package/dist/css/mixins/_index.scss +9 -0
- package/dist/css/mixins/_layout.scss +20 -0
- package/dist/css/mixins/{menu.scss → _menu.scss} +4 -2
- package/dist/css/mixins/{selection.scss → _selection.scss} +7 -67
- package/dist/css/mixins/_spaces.scss +36 -0
- package/dist/css/mixins/_typography.scss +7 -0
- package/dist/css/shared/q-field.scss +62 -32
- package/dist/css/theme/_colors.scss +173 -0
- package/dist/css/theme/css-variables.scss +5 -0
- package/dist/css/theme/page.scss +3 -3
- package/dist/css/theme/reset.scss +17 -1
- package/dist/css/theme/theme.scss +2 -3
- package/dist/css/theme/tokens.scss +0 -159
- package/dist/global.d.ts +1 -1
- package/dist/helpers/clickOutside.d.ts +2 -2
- package/dist/helpers/clickOutside.js +5 -4
- package/dist/helpers/ripple.d.ts +1 -1
- package/dist/helpers/ripple.js +14 -5
- package/dist/helpers/version.d.ts +1 -1
- package/dist/helpers/version.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/stores/index.d.ts +0 -2
- package/dist/stores/index.js +1 -2
- package/dist/utils/clipboard.js +2 -2
- package/dist/utils/colors.d.ts +71 -0
- package/dist/utils/colors.js +103 -15
- package/dist/utils/dom.d.ts +2 -0
- package/dist/utils/dom.js +10 -4
- package/dist/utils/number.d.ts +2 -0
- package/dist/utils/number.js +9 -0
- package/dist/utils/props.d.ts +2 -2
- package/dist/utils/props.js +8 -6
- package/dist/utils/router.d.ts +17 -0
- package/dist/utils/router.js +23 -0
- package/dist/utils/string.d.ts +1 -0
- package/dist/utils/string.js +4 -1
- package/dist/utils/types.d.ts +7 -2
- package/dist/utils/types.js +0 -3
- package/dist/utils/types.json +8 -5
- package/dist/utils/watchable.d.ts +0 -1
- package/dist/utils/watchable.js +1 -1
- package/package.json +42 -39
- package/dist/components/breadcrumbs/index.scss +0 -20
- package/dist/components/button/index.scss +0 -98
- package/dist/components/card/index.scss +0 -56
- package/dist/components/chip/index.scss +0 -103
- package/dist/components/drawer/index.scss +0 -59
- package/dist/components/footer/index.scss +0 -28
- package/dist/components/layout/index.scss +0 -387
- package/dist/components/list/index.scss +0 -144
- package/dist/components/progress/index.scss +0 -82
- package/dist/components/railbar/index.scss +0 -39
- package/dist/components/separator/index.scss +0 -52
- package/dist/components/toggle/QToggle.svelte +0 -34
- package/dist/components/toggle/QToggle.svelte.d.ts +0 -23
- package/dist/components/toggle/index.scss +0 -31
- package/dist/components/toggle/props.d.ts +0 -9
- package/dist/components/toggle/props.js +0 -9
- package/dist/css/grid.scss +0 -50
- package/dist/css/mixins.scss +0 -137
- package/dist/css/states.scss +0 -75
- package/dist/css/theme/bridge.scss +0 -15
- package/dist/css/theme/theme.dark.scss +0 -39
- package/dist/css/theme/theme.light.scss +0 -39
- package/dist/css/variables-sass.scss +0 -16
- package/dist/stores/QTheme.d.ts +0 -42
- package/dist/stores/QTheme.js +0 -60
- package/dist/stores/Quaff.d.ts +0 -32
- package/dist/stores/Quaff.js +0 -58
- /package/dist/composables/{use-align.d.ts → useAlign.d.ts} +0 -0
- /package/dist/composables/{use-align.js → useAlign.js} +0 -0
- /package/dist/composables/{use-router-link.d.ts → useRouterLink.d.ts} +0 -0
- /package/dist/composables/{use-router-link.js → useRouterLink.js} +0 -0
- /package/dist/css/mixins/{table.scss → _table.scss} +0 -0
package/package.json
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quaffui/quaff",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-prealpha19",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"open": "vite dev --open",
|
|
7
|
-
"build": "vite build &&
|
|
7
|
+
"build": "vite build && bun run package && bun run build:css",
|
|
8
8
|
"build:css": "vite build --config vite.config.scss.ts",
|
|
9
9
|
"preview": "vite preview",
|
|
10
10
|
"package": "svelte-kit sync && svelte-package && publint",
|
|
11
|
-
"prepublishOnly": "
|
|
11
|
+
"prepublishOnly": "bun run build",
|
|
12
12
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
13
13
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
14
14
|
"test:unit": "vitest",
|
|
15
|
-
"lint": "prettier --plugin-
|
|
16
|
-
"format": "prettier --plugin-
|
|
17
|
-
"docgen": "
|
|
18
|
-
"
|
|
15
|
+
"lint": "prettier --plugin prettier-plugin-svelte . --check . && eslint .",
|
|
16
|
+
"format": "prettier --plugin prettier-plugin-svelte . --write .",
|
|
17
|
+
"docgen-props": "bun scripts/docgenProps.ts",
|
|
18
|
+
"colorgen": "bun scripts/colorgen.ts",
|
|
19
|
+
"docgen-snippets": "bun scripts/docgenSnippets.ts",
|
|
20
|
+
"write-version": "bun scripts/writeVersion.ts"
|
|
19
21
|
},
|
|
20
22
|
"exports": {
|
|
21
23
|
".": {
|
|
@@ -33,39 +35,40 @@
|
|
|
33
35
|
"svelte": "^4.0.0"
|
|
34
36
|
},
|
|
35
37
|
"devDependencies": {
|
|
36
|
-
"@fontsource/
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@sveltejs/
|
|
41
|
-
"@sveltejs/
|
|
42
|
-
"@
|
|
43
|
-
"@types/
|
|
44
|
-
"@types/
|
|
45
|
-
"@
|
|
46
|
-
"@typescript-eslint/
|
|
47
|
-
"
|
|
48
|
-
"eslint": "^
|
|
49
|
-
"eslint-
|
|
50
|
-
"eslint-plugin-svelte": "^2.
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
38
|
+
"@fontsource/roboto": "^5.1.0",
|
|
39
|
+
"@material/material-color-utilities": "^0.3.0",
|
|
40
|
+
"@sveltejs/adapter-auto": "^3.2.5",
|
|
41
|
+
"@sveltejs/kit": "^2.5.28",
|
|
42
|
+
"@sveltejs/package": "^2.3.5",
|
|
43
|
+
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
|
44
|
+
"@types/bun": "^1.1.11",
|
|
45
|
+
"@types/prettier": "^3.0.0",
|
|
46
|
+
"@types/prismjs": "^1.26.4",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
48
|
+
"@typescript-eslint/parser": "^8.7.0",
|
|
49
|
+
"eslint": "^9.11.1",
|
|
50
|
+
"eslint-config-prettier": "^9.1.0",
|
|
51
|
+
"eslint-plugin-import-x": "^4.3.0",
|
|
52
|
+
"eslint-plugin-svelte": "^2.44.0",
|
|
53
|
+
"eslint-plugin-unicorn": "^55.0.0",
|
|
54
|
+
"estree-walker": "^3.0.3",
|
|
55
|
+
"globals": "^15.9.0",
|
|
56
|
+
"magic-string": "^0.30.11",
|
|
57
|
+
"material-symbols": "^0.23.0",
|
|
58
|
+
"prettier": "^3.3.3",
|
|
59
|
+
"prettier-plugin-svelte": "^3.2.6",
|
|
60
|
+
"publint": "^0.2.11",
|
|
61
|
+
"sass": "^1.79.3",
|
|
62
|
+
"shiki": "^1.21.0",
|
|
63
|
+
"svelte": "5.0.0-next.257",
|
|
64
|
+
"svelte-check": "^4.0.3",
|
|
65
|
+
"svelte-eslint-parser": "^0.41.1",
|
|
66
|
+
"tslib": "^2.7.0",
|
|
67
|
+
"typescript": "^5.6.2",
|
|
68
|
+
"vite": "^5.4.7",
|
|
69
|
+
"vitest": "^2.1.1"
|
|
62
70
|
},
|
|
63
71
|
"svelte": "./dist/index.js",
|
|
64
72
|
"types": "./dist/index.d.ts",
|
|
65
|
-
"type": "module"
|
|
66
|
-
"dependencies": {
|
|
67
|
-
"highlight.js": "^11.8.0",
|
|
68
|
-
"material-dynamic-colors": "^1.0.1",
|
|
69
|
-
"svelte-highlight": "^7.3.0"
|
|
70
|
-
}
|
|
73
|
+
"type": "module"
|
|
71
74
|
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// QBreadcrumbs
|
|
2
|
-
.q-breadcrumbs {
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
|
|
7
|
-
&__separator:first-child {
|
|
8
|
-
display: none;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// QBreadcrumbsEl
|
|
13
|
-
.q-breadcrumbs.q-breadcrumbs__el {
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
|
|
17
|
-
& > .q-icon {
|
|
18
|
-
@include margin("r");
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
.q-btn {
|
|
2
|
-
position: relative;
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
text-decoration: none;
|
|
5
|
-
border: none;
|
|
6
|
-
font-family: inherit;
|
|
7
|
-
outline: inherit;
|
|
8
|
-
box-sizing: content-box;
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
height: 2.5rem;
|
|
13
|
-
min-width: 2.5rem;
|
|
14
|
-
font-size: 0.875rem;
|
|
15
|
-
font-weight: 500;
|
|
16
|
-
color: var(--on-primary);
|
|
17
|
-
padding: 0 1.5rem;
|
|
18
|
-
background-color: var(--primary);
|
|
19
|
-
margin: 0 0.5rem;
|
|
20
|
-
border-radius: 1.25rem;
|
|
21
|
-
transition:
|
|
22
|
-
var(--speed3) transform,
|
|
23
|
-
var(--speed3) border-radius,
|
|
24
|
-
var(--speed3) padding;
|
|
25
|
-
user-select: none;
|
|
26
|
-
gap: 1rem;
|
|
27
|
-
line-height: normal;
|
|
28
|
-
@extend .elevate-sm-bottom;
|
|
29
|
-
|
|
30
|
-
$sizeMap: (
|
|
31
|
-
"sm": -1,
|
|
32
|
-
"lg": 1,
|
|
33
|
-
"xl": 2,
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
@each $size, $val in $sizeMap {
|
|
37
|
-
&.q-btn--#{$size} {
|
|
38
|
-
height: 2.5rem + 0.5 * $val;
|
|
39
|
-
min-width: 2.5rem + 0.5 * $val;
|
|
40
|
-
border-radius: 1.25rem + 0.25 * $val;
|
|
41
|
-
font-size: 1rem + 0.125 * $val;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.q-btn[aria-disabled] {
|
|
46
|
-
@extend .disabled;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&.q-btn--outlined {
|
|
50
|
-
@include transparent($ripple: true);
|
|
51
|
-
@include border(var(--primary));
|
|
52
|
-
color: var(--primary);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.q-btn--unelevated {
|
|
56
|
-
@extend .elevate-none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&.q-btn--flat {
|
|
60
|
-
@include transparent($ripple: true);
|
|
61
|
-
@extend .elevate-none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.q-btn--rectangle {
|
|
65
|
-
border-radius: 0.5rem;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.q-btn--round {
|
|
69
|
-
width: 2.5rem;
|
|
70
|
-
height: 2.5rem;
|
|
71
|
-
border-radius: 50%;
|
|
72
|
-
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
& > :is(.q-icon, .q-circular-progress) {
|
|
76
|
-
margin: 0 -0.5rem;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&:is(:hover, :focus):not([aria-disabled])::after {
|
|
80
|
-
content: "";
|
|
81
|
-
position: absolute;
|
|
82
|
-
top: 0;
|
|
83
|
-
left: 0;
|
|
84
|
-
width: 100%;
|
|
85
|
-
height: 100%;
|
|
86
|
-
background-color: var(--on-primary);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&:hover:not([aria-disabled])::after {
|
|
90
|
-
opacity: 0.08;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&:focus:not([aria-disabled])::after {
|
|
94
|
-
opacity: 0.16;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@include btn-image;
|
|
98
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
// QCard
|
|
2
|
-
.q-card {
|
|
3
|
-
display: block;
|
|
4
|
-
border-radius: 0.75rem;
|
|
5
|
-
transition:
|
|
6
|
-
var(--speed-3) transform,
|
|
7
|
-
var(--speed-3) padding,
|
|
8
|
-
var(--speed-3) border-radius;
|
|
9
|
-
@include padding("a", "md");
|
|
10
|
-
@extend .elevate-sm-bottom;
|
|
11
|
-
|
|
12
|
-
&.q-card--bordered {
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
@include border();
|
|
15
|
-
@extend .elevate-none;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&.q-card--flat {
|
|
19
|
-
@extend .elevate-none;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.q-card--rounded {
|
|
23
|
-
border-radius: 2rem;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
& > .q-card__title {
|
|
27
|
-
@include margin("b");
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// QCardSection
|
|
32
|
-
.q-card > .q-card__section {
|
|
33
|
-
@include padding;
|
|
34
|
-
|
|
35
|
-
&.q-card__section--horizontal {
|
|
36
|
-
@extend .row;
|
|
37
|
-
border-radius: 0;
|
|
38
|
-
|
|
39
|
-
&:not(.q-card__title + .q-card__section) {
|
|
40
|
-
@include margin("t");
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// QCardActions
|
|
46
|
-
.q-card > .q-card__actions {
|
|
47
|
-
display: flex;
|
|
48
|
-
|
|
49
|
-
&.q-card__actions--vertical {
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:not(.q-card__title + .q-card__actions) {
|
|
54
|
-
@include margin("t");
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
// QChip
|
|
2
|
-
.q-chip {
|
|
3
|
-
box-sizing: content-box;
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
height: 2.5rem;
|
|
8
|
-
min-width: 2.5rem;
|
|
9
|
-
font-size: 0.875rem;
|
|
10
|
-
font-weight: 500;
|
|
11
|
-
background-color: var(--secondary);
|
|
12
|
-
color: var(--on-secondary);
|
|
13
|
-
text-transform: none;
|
|
14
|
-
border-radius: 0.5em;
|
|
15
|
-
transition:
|
|
16
|
-
var(--speed3) transform,
|
|
17
|
-
var(--speed3) border-radius,
|
|
18
|
-
var(--speed3) padding;
|
|
19
|
-
line-height: normal;
|
|
20
|
-
text-decoration: none;
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
border: none;
|
|
23
|
-
|
|
24
|
-
@extend .no-select;
|
|
25
|
-
@include padding("x", "md");
|
|
26
|
-
@include margin("x");
|
|
27
|
-
@include gap("md");
|
|
28
|
-
@include btn-image("chip");
|
|
29
|
-
|
|
30
|
-
&.q-chip--sm {
|
|
31
|
-
height: 2rem;
|
|
32
|
-
min-width: 2rem;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.q-chip--lg {
|
|
36
|
-
height: 3rem;
|
|
37
|
-
min-width: 3rem;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.q-chip--bordered {
|
|
41
|
-
@include transparent($ripple: true);
|
|
42
|
-
@include border(var(--secondary));
|
|
43
|
-
color: var(--secondary);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.q-chip--rounded {
|
|
47
|
-
border-radius: 1.25rem;
|
|
48
|
-
|
|
49
|
-
&.q-chip--sm {
|
|
50
|
-
border-radius: 1rem;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.q-chip--lg {
|
|
54
|
-
border-radius: 1.5rem;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.q-chip--filled {
|
|
59
|
-
background-color: var(--secondary-container);
|
|
60
|
-
color: var(--on-secondary-container);
|
|
61
|
-
border: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.q-chip--vertical {
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
height: auto;
|
|
67
|
-
max-height: none;
|
|
68
|
-
|
|
69
|
-
@include padding("y");
|
|
70
|
-
@include gap("xs");
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.q-chip[aria-disabled="true"] {
|
|
74
|
-
@extend .disabled;
|
|
75
|
-
&.q-chip--bordered {
|
|
76
|
-
border-color: var(--on-surface);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&:is(:hover, :focus):not([aria-disabled])::after {
|
|
81
|
-
content: "";
|
|
82
|
-
position: absolute;
|
|
83
|
-
top: 0;
|
|
84
|
-
left: 0;
|
|
85
|
-
width: 100%;
|
|
86
|
-
height: 100%;
|
|
87
|
-
background-color: var(--on-primary);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&:hover:not([aria-disabled])::after {
|
|
91
|
-
opacity: 0.08;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&:focus:not([aria-disabled])::after {
|
|
95
|
-
opacity: 0.16;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// QChip icons
|
|
100
|
-
.q-chip > .q-icon {
|
|
101
|
-
--size: 1.25rem;
|
|
102
|
-
margin-inline: -0.5rem;
|
|
103
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
.q-drawer {
|
|
2
|
-
z-index: 2;
|
|
3
|
-
position: absolute;
|
|
4
|
-
top: 0;
|
|
5
|
-
right: auto;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
left: auto;
|
|
8
|
-
height: 100%;
|
|
9
|
-
background-color: var(--surface);
|
|
10
|
-
color: var(--on-surface);
|
|
11
|
-
transition:
|
|
12
|
-
all var(--speed3),
|
|
13
|
-
background-color 0s;
|
|
14
|
-
overflow: auto;
|
|
15
|
-
padding: 8px;
|
|
16
|
-
|
|
17
|
-
&.q-drawer--fixed {
|
|
18
|
-
position: fixed;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.q-drawer--left {
|
|
22
|
-
left: 0px;
|
|
23
|
-
transform: translate(-100%);
|
|
24
|
-
width: var(--left-drawer-width);
|
|
25
|
-
&.q-drawer--bordered {
|
|
26
|
-
border-right: 0.0625rem solid var(--outline);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&.q-drawer--right {
|
|
31
|
-
right: 0px;
|
|
32
|
-
transform: translate(100%);
|
|
33
|
-
width: var(--right-drawer-width);
|
|
34
|
-
|
|
35
|
-
&.q-drawer--bordered {
|
|
36
|
-
border-left: 0.0625rem solid var(--outline);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.q-drawer--active {
|
|
41
|
-
transform: translate(0);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.q-drawer--offset {
|
|
45
|
-
&-top {
|
|
46
|
-
top: var(--header-height);
|
|
47
|
-
height: calc(100% - var(--header-height));
|
|
48
|
-
|
|
49
|
-
&.q-drawer--offset-bottom {
|
|
50
|
-
height: calc(100% - var(--header-height) - var(--footer-height));
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&-bottom {
|
|
55
|
-
bottom: var(--footer-height);
|
|
56
|
-
height: calc(100% - var(--footer-height));
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
.q-footer {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: var(--footer-height);
|
|
4
|
-
transition: all var(--speed3);
|
|
5
|
-
background-color: var(--surface);
|
|
6
|
-
color: var(--on-surface);
|
|
7
|
-
padding: 0 1rem;
|
|
8
|
-
|
|
9
|
-
nav {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: flex-start;
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
gap: 1rem;
|
|
15
|
-
|
|
16
|
-
> * {
|
|
17
|
-
margin: 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&--bordered {
|
|
22
|
-
border-top: solid 0.0625rem var(--outline);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&--elevated {
|
|
26
|
-
@include elevate(1, "top");
|
|
27
|
-
}
|
|
28
|
-
}
|