@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.
- package/LICENSE +1 -1
- package/README.md +47 -14
- package/dist/classes/QContext.svelte.d.ts +42 -0
- package/dist/classes/QContext.svelte.js +63 -0
- package/dist/classes/QScrollObserver.svelte.d.ts +48 -0
- package/dist/classes/QScrollObserver.svelte.js +107 -0
- package/dist/classes/QTheme.svelte.d.ts +13 -0
- package/dist/classes/QTheme.svelte.js +62 -0
- package/dist/classes/Quaff.svelte.d.ts +15 -0
- package/dist/classes/Quaff.svelte.js +45 -0
- package/dist/components/avatar/QAvatar.scss +101 -0
- package/dist/components/avatar/QAvatar.svelte +42 -42
- package/dist/components/avatar/QAvatar.svelte.d.ts +4 -17
- package/dist/components/avatar/docs.d.ts +2 -2
- package/dist/components/avatar/docs.js +3 -8
- package/dist/components/avatar/docs.props.d.ts +3 -8
- package/dist/components/avatar/docs.props.js +68 -15
- package/dist/components/avatar/index.scss +5 -3
- package/dist/components/avatar/props.d.ts +51 -8
- package/dist/components/breadcrumbs/QBreadcrumbs.scss +10 -0
- package/dist/components/breadcrumbs/QBreadcrumbs.svelte +32 -14
- package/dist/components/breadcrumbs/QBreadcrumbs.svelte.d.ts +4 -13
- package/dist/components/breadcrumbs/QBreadcrumbsEl.scss +10 -0
- package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte +65 -48
- package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte.d.ts +4 -16
- package/dist/components/breadcrumbs/docs.d.ts +2 -2
- package/dist/components/breadcrumbs/docs.js +3 -8
- package/dist/components/breadcrumbs/docs.props.d.ts +5 -16
- package/dist/components/breadcrumbs/docs.props.js +105 -45
- package/dist/components/breadcrumbs/props.d.ts +26 -24
- package/dist/components/button/QBtn.scss +136 -0
- package/dist/components/button/QBtn.svelte +157 -43
- package/dist/components/button/QBtn.svelte.d.ts +4 -24
- package/dist/components/button/docs.d.ts +2 -2
- package/dist/components/button/docs.js +3 -8
- package/dist/components/button/docs.props.d.ts +3 -8
- package/dist/components/button/docs.props.js +174 -37
- package/dist/components/button/props.d.ts +48 -11
- package/dist/components/card/QCard.scss +25 -0
- package/dist/components/card/QCard.svelte +34 -19
- package/dist/components/card/QCard.svelte.d.ts +4 -16
- package/dist/components/card/QCardActions.scss +10 -0
- package/dist/components/card/QCardActions.svelte +23 -15
- package/dist/components/card/QCardActions.svelte.d.ts +4 -12
- package/dist/components/card/QCardSection.scss +10 -0
- package/dist/components/card/QCardSection.svelte +15 -11
- package/dist/components/card/QCardSection.svelte.d.ts +4 -13
- package/dist/components/card/docs.d.ts +4 -4
- package/dist/components/card/docs.js +7 -22
- package/dist/components/card/docs.props.d.ts +7 -24
- package/dist/components/card/docs.props.js +57 -30
- package/dist/components/card/props.d.ts +11 -16
- package/dist/components/checkbox/QCheckbox.svelte +15 -9
- package/dist/components/checkbox/QCheckbox.svelte.d.ts +3 -10
- package/dist/components/checkbox/docs.d.ts +2 -2
- package/dist/components/checkbox/docs.js +3 -3
- package/dist/components/checkbox/docs.props.d.ts +3 -8
- package/dist/components/checkbox/docs.props.js +24 -9
- package/dist/components/checkbox/index.scss +3 -1
- package/dist/components/checkbox/props.d.ts +2 -2
- package/dist/components/chip/QChip.scss +179 -0
- package/dist/components/chip/QChip.svelte +130 -60
- package/dist/components/chip/QChip.svelte.d.ts +4 -25
- package/dist/components/chip/docs.d.ts +2 -2
- package/dist/components/chip/docs.js +3 -16
- package/dist/components/chip/docs.props.d.ts +3 -8
- package/dist/components/chip/docs.props.js +96 -49
- package/dist/components/chip/props.d.ts +27 -29
- package/dist/components/codeBlock/QCodeBlock.svelte +90 -44
- package/dist/components/codeBlock/QCodeBlock.svelte.d.ts +3 -10
- package/dist/components/codeBlock/docs.props.d.ts +3 -8
- package/dist/components/codeBlock/docs.props.js +61 -12
- package/dist/components/codeBlock/props.d.ts +12 -2
- package/dist/components/dialog/{index.scss → QDialog.scss} +12 -14
- package/dist/components/dialog/QDialog.svelte +90 -68
- package/dist/components/dialog/QDialog.svelte.d.ts +9 -25
- package/dist/components/dialog/docs.d.ts +2 -2
- package/dist/components/dialog/docs.js +3 -3
- package/dist/components/dialog/docs.props.d.ts +3 -16
- package/dist/components/dialog/docs.props.js +37 -128
- package/dist/components/dialog/props.d.ts +4 -19
- package/dist/components/drawer/QDrawer.scss +39 -0
- package/dist/components/drawer/QDrawer.svelte +142 -83
- package/dist/components/drawer/QDrawer.svelte.d.ts +9 -28
- package/dist/components/drawer/docs.d.ts +2 -2
- package/dist/components/drawer/docs.js +3 -3
- package/dist/components/drawer/docs.props.d.ts +3 -8
- package/dist/components/drawer/docs.props.js +94 -39
- package/dist/components/drawer/props.d.ts +4 -3
- package/dist/components/footer/QFooter.scss +42 -0
- package/dist/components/footer/QFooter.svelte +100 -21
- package/dist/components/footer/QFooter.svelte.d.ts +4 -14
- package/dist/components/footer/docs.d.ts +2 -2
- package/dist/components/footer/docs.js +3 -3
- package/dist/components/footer/docs.props.d.ts +3 -8
- package/dist/components/footer/docs.props.js +47 -16
- package/dist/components/footer/props.d.ts +14 -8
- package/dist/components/header/QHeader.scss +53 -0
- package/dist/components/header/QHeader.svelte +95 -0
- package/dist/components/header/QHeader.svelte.d.ts +14 -0
- package/dist/components/header/docs.d.ts +2 -0
- package/dist/components/header/docs.js +11 -0
- package/dist/components/header/docs.props.d.ts +7 -0
- package/dist/components/header/docs.props.js +131 -0
- package/dist/components/header/props.d.ts +23 -0
- package/dist/components/header/props.js +1 -0
- package/dist/components/icon/{index.scss → QIcon.scss} +2 -4
- package/dist/components/icon/QIcon.svelte +44 -28
- package/dist/components/icon/QIcon.svelte.d.ts +4 -18
- package/dist/components/icon/docs.d.ts +2 -2
- package/dist/components/icon/docs.js +3 -3
- package/dist/components/icon/docs.props.d.ts +3 -8
- package/dist/components/icon/docs.props.js +65 -24
- package/dist/components/icon/props.d.ts +9 -8
- package/dist/components/index.d.ts +6 -2
- package/dist/components/index.js +6 -2
- package/dist/components/input/QInput.svelte +106 -72
- package/dist/components/input/QInput.svelte.d.ts +4 -22
- package/dist/components/input/docs.d.ts +2 -2
- package/dist/components/input/docs.js +5 -71
- package/dist/components/input/docs.props.d.ts +3 -8
- package/dist/components/input/docs.props.js +129 -57
- package/dist/components/input/index.scss +1 -3
- package/dist/components/input/props.d.ts +81 -21
- package/dist/components/input/props.js +1 -13
- package/dist/components/layout/QLayout.scss +174 -0
- package/dist/components/layout/QLayout.svelte +178 -79
- package/dist/components/layout/QLayout.svelte.d.ts +12 -45
- package/dist/components/layout/docs.d.ts +2 -2
- package/dist/components/layout/docs.js +3 -3
- package/dist/components/layout/docs.props.d.ts +3 -8
- package/dist/components/layout/docs.props.js +62 -39
- package/dist/components/layout/props.d.ts +29 -21
- package/dist/components/list/QItem.scss +69 -0
- package/dist/components/list/QItem.svelte +99 -51
- package/dist/components/list/QItem.svelte.d.ts +4 -24
- package/dist/components/list/QItemSection.scss +59 -0
- package/dist/components/list/QItemSection.svelte +63 -37
- package/dist/components/list/QItemSection.svelte.d.ts +4 -15
- package/dist/components/list/QList.scss +30 -0
- package/dist/components/list/QList.svelte +43 -20
- package/dist/components/list/QList.svelte.d.ts +4 -26
- package/dist/components/list/docs.d.ts +4 -2
- package/dist/components/list/docs.js +23 -3
- package/dist/components/list/docs.props.d.ts +11 -40
- package/dist/components/list/docs.props.js +344 -136
- package/dist/components/list/props.d.ts +126 -28
- package/dist/components/list/props.js +1 -25
- package/dist/components/private/ContextReseter.svelte +15 -11
- package/dist/components/private/ContextReseter.svelte.d.ts +4 -8
- package/dist/components/private/QApi.svelte +264 -111
- package/dist/components/private/QApi.svelte.d.ts +3 -6
- package/dist/components/private/QDocs.svelte +119 -68
- package/dist/components/private/QDocs.svelte.d.ts +4 -11
- package/dist/components/private/QDocsSection.svelte +48 -18
- package/dist/components/private/QDocsSection.svelte.d.ts +9 -24
- package/dist/components/private/QIconSnippet.svelte +22 -0
- package/dist/components/private/QIconSnippet.svelte.d.ts +14 -0
- package/dist/components/private/index.d.ts +6 -0
- package/dist/components/private/index.js +6 -0
- package/dist/components/progress/QCircularProgress.scss +63 -0
- package/dist/components/progress/QCircularProgress.svelte +134 -21
- package/dist/components/progress/QCircularProgress.svelte.d.ts +3 -11
- package/dist/components/progress/QLinearProgress.scss +75 -0
- package/dist/components/progress/QLinearProgress.svelte +80 -23
- package/dist/components/progress/QLinearProgress.svelte.d.ts +3 -11
- package/dist/components/progress/docs.d.ts +3 -2
- package/dist/components/progress/docs.js +15 -5
- package/dist/components/progress/docs.props.d.ts +5 -16
- package/dist/components/progress/docs.props.js +287 -41
- package/dist/components/progress/props.d.ts +126 -14
- package/dist/components/radio/QRadio.svelte +16 -9
- package/dist/components/radio/QRadio.svelte.d.ts +3 -11
- package/dist/components/radio/docs.d.ts +2 -2
- package/dist/components/radio/docs.js +4 -26
- package/dist/components/radio/docs.props.d.ts +3 -8
- package/dist/components/radio/docs.props.js +39 -20
- package/dist/components/radio/index.scss +3 -1
- package/dist/components/radio/props.d.ts +26 -6
- package/dist/components/radio/props.js +1 -8
- package/dist/components/railbar/QRailbar.scss +54 -0
- package/dist/components/railbar/QRailbar.svelte +72 -48
- package/dist/components/railbar/QRailbar.svelte.d.ts +4 -13
- package/dist/components/railbar/docs.d.ts +2 -2
- package/dist/components/railbar/docs.js +3 -3
- package/dist/components/railbar/docs.props.d.ts +3 -8
- package/dist/components/railbar/docs.props.js +36 -15
- package/dist/components/railbar/props.d.ts +13 -6
- package/dist/components/select/QSelect.svelte +222 -146
- package/dist/components/select/QSelect.svelte.d.ts +4 -24
- package/dist/components/select/docs.d.ts +2 -2
- package/dist/components/select/docs.js +5 -83
- package/dist/components/select/docs.props.d.ts +3 -8
- package/dist/components/select/docs.props.js +156 -64
- package/dist/components/select/index.scss +25 -10
- package/dist/components/select/props.d.ts +100 -20
- package/dist/components/select/props.js +1 -14
- package/dist/components/separator/QSeparator.scss +54 -0
- package/dist/components/separator/QSeparator.svelte +50 -57
- package/dist/components/separator/QSeparator.svelte.d.ts +3 -14
- package/dist/components/separator/docs.d.ts +3 -2
- package/dist/components/separator/docs.js +14 -4
- package/dist/components/separator/docs.props.d.ts +5 -16
- package/dist/components/separator/docs.props.js +152 -72
- package/dist/components/separator/props.d.ts +84 -16
- package/dist/components/separator/props.js +1 -9
- package/dist/components/switch/QSwitch.scss +305 -0
- package/dist/components/switch/QSwitch.svelte +115 -0
- package/dist/components/switch/QSwitch.svelte.d.ts +14 -0
- package/dist/components/switch/docs.d.ts +2 -0
- package/dist/components/switch/docs.js +17 -0
- package/dist/components/switch/docs.props.d.ts +3 -0
- package/dist/components/switch/docs.props.js +119 -0
- package/dist/components/switch/props.d.ts +53 -0
- package/dist/components/switch/props.js +1 -0
- package/dist/components/table/QTable.svelte +133 -97
- package/dist/components/table/QTable.svelte.d.ts +4 -19
- package/dist/components/table/docs.d.ts +2 -2
- package/dist/components/table/docs.js +3 -3
- package/dist/components/table/docs.props.d.ts +3 -8
- package/dist/components/table/docs.props.js +67 -15
- package/dist/components/table/index.scss +3 -1
- package/dist/components/table/props.d.ts +14 -3
- package/dist/components/tabs/QTab.scss +71 -0
- package/dist/components/tabs/QTab.svelte +107 -66
- package/dist/components/tabs/QTab.svelte.d.ts +4 -18
- package/dist/components/tabs/QTabs.scss +53 -0
- package/dist/components/tabs/QTabs.svelte +164 -51
- package/dist/components/tabs/QTabs.svelte.d.ts +9 -13
- package/dist/components/tabs/docs.d.ts +3 -2
- package/dist/components/tabs/docs.js +13 -3
- package/dist/components/tabs/docs.props.d.ts +5 -16
- package/dist/components/tabs/docs.props.js +64 -30
- package/dist/components/tabs/index.scss +71 -28
- package/dist/components/tabs/props.d.ts +38 -9
- package/dist/components/tabs/props.js +1 -13
- package/dist/components/toolbar/QToolbar.scss +36 -0
- package/dist/components/toolbar/QToolbar.svelte +26 -38
- package/dist/components/toolbar/QToolbar.svelte.d.ts +4 -13
- package/dist/components/toolbar/QToolbarTitle.svelte +10 -7
- package/dist/components/toolbar/QToolbarTitle.svelte.d.ts +4 -12
- package/dist/components/toolbar/docs.d.ts +3 -2
- package/dist/components/toolbar/docs.js +13 -3
- package/dist/components/toolbar/docs.props.d.ts +5 -16
- package/dist/components/toolbar/docs.props.js +55 -15
- package/dist/components/toolbar/props.d.ts +25 -7
- package/dist/components/tooltip/QTooltip.scss +40 -0
- package/dist/components/tooltip/QTooltip.svelte +200 -10
- package/dist/components/tooltip/QTooltip.svelte.d.ts +17 -18
- package/dist/components/tooltip/QTooltipBase.svelte +86 -0
- package/dist/components/tooltip/QTooltipBase.svelte.d.ts +14 -0
- package/dist/components/tooltip/docs.d.ts +2 -2
- package/dist/components/tooltip/docs.js +3 -2
- package/dist/components/tooltip/docs.props.d.ts +3 -8
- package/dist/components/tooltip/docs.props.js +69 -10
- package/dist/components/tooltip/props.d.ts +36 -4
- package/dist/components/tooltip/props.js +1 -6
- package/dist/composables/index.d.ts +3 -0
- package/dist/composables/index.js +3 -1
- package/dist/composables/{use-align.d.ts → useAlign.d.ts} +1 -1
- package/dist/composables/{use-align.js → useAlign.js} +1 -1
- package/dist/composables/{use-router-link.d.ts → useRouterLink.d.ts} +3 -3
- package/dist/composables/{use-router-link.js → useRouterLink.js} +4 -4
- package/dist/composables/useSize.d.ts +10 -0
- package/dist/composables/useSize.js +37 -0
- package/dist/css/_components.scss +31 -0
- package/dist/css/_disabled.scss +18 -0
- package/dist/css/_ripple.scss +49 -0
- package/dist/css/_variables.scss +73 -0
- package/dist/css/classes/_design.scss +57 -0
- package/dist/css/{flex.scss → classes/_flex.scss} +23 -2
- 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 +18 -4
- package/dist/css/index.css +1 -1
- package/dist/css/index.scss +16 -91
- package/dist/css/mixins/_design.scss +64 -0
- package/dist/css/mixins/_field.scss +64 -0
- package/dist/css/mixins/_image.scss +64 -0
- package/dist/css/mixins/_index.scss +10 -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} +10 -70
- package/dist/css/mixins/_spaces.scss +36 -0
- package/dist/css/mixins/_toolbar.scss +7 -0
- package/dist/css/mixins/_typography.scss +7 -0
- package/dist/css/shared/q-field.scss +348 -0
- package/dist/css/theme/_color-classes.scss +332 -0
- package/dist/css/theme/_colors.scss +205 -0
- package/dist/css/theme/_css-variables.scss +5 -0
- package/dist/css/theme/_index.scss +12 -0
- package/dist/css/theme/_page.scss +17 -0
- package/dist/css/theme/{palette.scss → _palette.scss} +27 -5
- package/dist/css/theme/{reset.scss → _reset.scss} +11 -2
- package/dist/css/theme/_typography-variables.scss +107 -0
- 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/index.d.ts +2 -1
- package/dist/helpers/index.js +2 -1
- package/dist/helpers/pageTitle.d.ts +1 -0
- package/dist/helpers/pageTitle.js +3 -0
- package/dist/helpers/ripple.d.ts +11 -0
- package/dist/helpers/ripple.js +90 -0
- package/dist/helpers/version.d.ts +1 -1
- package/dist/helpers/version.js +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -1
- package/dist/stores/index.d.ts +0 -0
- package/dist/stores/index.js +1 -0
- package/dist/utils/clipboard.d.ts +1 -1
- package/dist/utils/clipboard.js +3 -4
- package/dist/utils/colors.d.ts +69 -0
- package/dist/utils/colors.js +141 -15
- package/dist/utils/context.d.ts +33 -0
- package/dist/utils/context.js +33 -0
- package/dist/utils/dom.d.ts +11 -0
- package/dist/utils/dom.js +81 -0
- package/dist/utils/events.d.ts +37 -0
- package/dist/utils/events.js +37 -0
- package/dist/utils/index.d.ts +11 -0
- package/dist/utils/index.js +11 -1
- package/dist/utils/number.d.ts +2 -0
- package/dist/utils/number.js +9 -0
- package/dist/utils/props.d.ts +4 -4
- package/dist/utils/props.js +9 -7
- package/dist/utils/router.d.ts +16 -0
- package/dist/utils/router.js +20 -0
- package/dist/utils/string.d.ts +2 -0
- package/dist/utils/string.js +12 -1
- package/dist/utils/types.d.ts +12 -18
- package/dist/utils/types.js +0 -3
- package/dist/utils/types.json +31 -1
- package/package.json +44 -39
- package/dist/components/breadcrumbs/index.scss +0 -20
- package/dist/components/button/index.scss +0 -81
- package/dist/components/card/index.scss +0 -56
- package/dist/components/chip/index.scss +0 -86
- package/dist/components/drawer/index.scss +0 -56
- package/dist/components/footer/index.scss +0 -5
- package/dist/components/layout/index.scss +0 -373
- package/dist/components/list/index.scss +0 -120
- package/dist/components/progress/index.scss +0 -65
- package/dist/components/toggle/QToggle.svelte +0 -35
- package/dist/components/toggle/QToggle.svelte.d.ts +0 -23
- package/dist/components/toggle/docs.d.ts +0 -2
- package/dist/components/toggle/docs.js +0 -47
- package/dist/components/toggle/docs.props.d.ts +0 -8
- package/dist/components/toggle/docs.props.js +0 -42
- 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/components/toolbar/index.scss +0 -34
- package/dist/components/tooltip/index.scss +0 -82
- package/dist/composables/use-index.d.ts +0 -2
- package/dist/composables/use-index.js +0 -17
- package/dist/composables/use-size.d.ts +0 -9
- package/dist/composables/use-size.js +0 -25
- package/dist/css/grid.scss +0 -50
- package/dist/css/mixins/field.scss +0 -432
- package/dist/css/mixins.scss +0 -138
- package/dist/css/states.scss +0 -71
- package/dist/css/theme/bridge.scss +0 -15
- package/dist/css/theme/colors.module.scss +0 -180
- package/dist/css/theme/page.scss +0 -16
- package/dist/css/theme/theme.dark.scss +0 -37
- package/dist/css/theme/theme.light.scss +0 -37
- package/dist/css/theme/theme.scss +0 -11
- package/dist/css/theme/tokens.scss +0 -266
- package/dist/css/variables-sass.scss +0 -16
- package/dist/helpers/activationHandler.d.ts +0 -9
- package/dist/helpers/activationHandler.js +0 -23
- package/dist/stores/QTheme.d.ts +0 -42
- package/dist/stores/QTheme.js +0 -53
- package/dist/stores/Quaff.d.ts +0 -32
- package/dist/stores/Quaff.js +0 -53
- package/dist/utils/fields.d.ts +0 -1
- package/dist/utils/fields.js +0 -14
- package/dist/utils/watchable.d.ts +0 -3
- package/dist/utils/watchable.js +0 -22
- /package/dist/css/mixins/{table.scss → _table.scss} +0 -0
- /package/dist/css/theme/{elevate.scss → _elevate.scss} +0 -0
- /package/dist/css/theme/{typography.module.scss → _typography-classes.scss} +0 -0
- /package/dist/css/theme/{typography.scss → _typography.scss} +0 -0
|
@@ -1,37 +1,149 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface QLinearProgressProps extends
|
|
1
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
2
|
+
export interface QLinearProgressProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
/**
|
|
4
|
+
* Current progress value as a percentage. This prop is bindable.
|
|
5
|
+
*
|
|
4
6
|
* @default 0
|
|
5
7
|
*/
|
|
6
|
-
value
|
|
8
|
+
value?: number;
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
10
|
+
* Secondary progress value, shown as a lighter track behind the main progress.
|
|
11
|
+
*
|
|
12
|
+
* @default undefined
|
|
13
|
+
*/
|
|
14
|
+
buffer?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Height of the progress bar.
|
|
17
|
+
*
|
|
18
|
+
* @default "0.375em"
|
|
19
|
+
*/
|
|
20
|
+
size?: Q.CssValue | number;
|
|
21
|
+
/**
|
|
22
|
+
* Reverses the progress bar direction from right-to-left.
|
|
23
|
+
*
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
reverse?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Removes the rounded sides of the progress bar.
|
|
29
|
+
*
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
noRound?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Disables the transition animation when the value changes.
|
|
35
|
+
*
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
instantFeedback?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Color of the progress indicator.
|
|
41
|
+
*
|
|
42
|
+
* @default "primary"
|
|
43
|
+
*/
|
|
44
|
+
color?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Color of the background track.
|
|
47
|
+
*
|
|
48
|
+
* @default "secondary-container"
|
|
9
49
|
*/
|
|
10
|
-
|
|
50
|
+
trackColor?: string;
|
|
11
51
|
/**
|
|
52
|
+
* Duration of the transition animation in milliseconds.
|
|
53
|
+
*
|
|
54
|
+
* @default 600
|
|
55
|
+
*/
|
|
56
|
+
animationSpeed?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Enables an infinite loading animation instead of showing progress.
|
|
59
|
+
*
|
|
12
60
|
* @default false
|
|
13
61
|
*/
|
|
14
|
-
|
|
62
|
+
indeterminate?: boolean;
|
|
15
63
|
}
|
|
16
|
-
export interface QCircularProgressProps extends
|
|
64
|
+
export interface QCircularProgressProps extends HTMLAttributes<HTMLDivElement> {
|
|
17
65
|
/**
|
|
66
|
+
* Current progress value as a percentage. This prop is bindable.
|
|
67
|
+
*
|
|
18
68
|
* @default 0
|
|
19
69
|
*/
|
|
20
|
-
value
|
|
70
|
+
value?: number;
|
|
21
71
|
/**
|
|
72
|
+
* Enables an infinite spinning animation instead of showing progress.
|
|
73
|
+
*
|
|
22
74
|
* @default false
|
|
23
75
|
*/
|
|
24
|
-
indeterminate
|
|
76
|
+
indeterminate?: boolean;
|
|
25
77
|
/**
|
|
26
|
-
*
|
|
78
|
+
* Removes the rounded ends of the progress arc.
|
|
79
|
+
*
|
|
80
|
+
* @default false
|
|
27
81
|
*/
|
|
28
|
-
|
|
82
|
+
noRound?: boolean;
|
|
29
83
|
/**
|
|
30
|
-
*
|
|
84
|
+
* Overall size of the circular progress component.
|
|
85
|
+
*
|
|
86
|
+
* @default "2em"
|
|
87
|
+
*/
|
|
88
|
+
size?: Q.CssValue | number;
|
|
89
|
+
/**
|
|
90
|
+
* Color of the progress arc.
|
|
91
|
+
*
|
|
92
|
+
* @default "primary"
|
|
31
93
|
*/
|
|
32
94
|
color?: string;
|
|
33
95
|
/**
|
|
34
|
-
*
|
|
96
|
+
* Color of the background circle.
|
|
97
|
+
*
|
|
98
|
+
* @default "secondary-container"
|
|
99
|
+
*/
|
|
100
|
+
trackColor?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Thickness of the progress arc.
|
|
103
|
+
*
|
|
104
|
+
* @default 0.2
|
|
105
|
+
*/
|
|
106
|
+
thickness?: number;
|
|
107
|
+
/**
|
|
108
|
+
* Minimum value for the progress range.
|
|
109
|
+
*
|
|
110
|
+
* @default 0
|
|
111
|
+
*/
|
|
112
|
+
min?: number;
|
|
113
|
+
/**
|
|
114
|
+
* Maximum value for the progress range.
|
|
115
|
+
*
|
|
116
|
+
* @default 100
|
|
117
|
+
*/
|
|
118
|
+
max?: number;
|
|
119
|
+
/**
|
|
120
|
+
* Rotation angle of the progress arc in degrees (top is 0 and bottom 180).
|
|
121
|
+
*
|
|
122
|
+
* @default 0
|
|
123
|
+
*/
|
|
124
|
+
angle?: number;
|
|
125
|
+
/**
|
|
126
|
+
* Shows the current progress value in the center of the circle.
|
|
127
|
+
*
|
|
128
|
+
* @default false
|
|
129
|
+
*/
|
|
130
|
+
showValue?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Disables the transition animation when the value changes.
|
|
133
|
+
*
|
|
134
|
+
* @default false
|
|
135
|
+
*/
|
|
136
|
+
instantFeedback?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Duration of the transition animation in milliseconds.
|
|
139
|
+
*
|
|
140
|
+
* @default 600
|
|
141
|
+
*/
|
|
142
|
+
animationSpeed?: number;
|
|
143
|
+
/**
|
|
144
|
+
* Font size of the center text when showValue is true.
|
|
145
|
+
*
|
|
146
|
+
* @default "0.25em"
|
|
35
147
|
*/
|
|
36
|
-
|
|
148
|
+
fontSize?: Q.CssValue | number;
|
|
37
149
|
}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { QRadioProps } from "./props";
|
|
3
|
+
|
|
4
|
+
let {
|
|
5
|
+
value = "",
|
|
6
|
+
label = "",
|
|
7
|
+
selected = $bindable(),
|
|
8
|
+
disable = false,
|
|
9
|
+
...props
|
|
10
|
+
}: QRadioProps = $props();
|
|
9
11
|
</script>
|
|
10
12
|
|
|
11
|
-
<label
|
|
13
|
+
<label
|
|
14
|
+
{...props}
|
|
15
|
+
class={["q-radio", props.class, disable && "q-radio--disabled"]}
|
|
16
|
+
aria-disabled={disable || undefined}
|
|
17
|
+
data-quaff
|
|
18
|
+
>
|
|
12
19
|
<input type="radio" bind:group={selected} {value} disabled={disable} />
|
|
13
20
|
<span>{label}</span>
|
|
14
21
|
</label>
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { QRadioProps } from "./props";
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
3
2
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
value?: string | undefined;
|
|
7
|
-
label?: string | undefined;
|
|
8
|
-
selected?: QRadioProps["selected"];
|
|
9
|
-
disable?: boolean | undefined;
|
|
10
|
-
class?: string | undefined;
|
|
11
|
-
};
|
|
3
|
+
props: Record<string, never>;
|
|
12
4
|
events: {
|
|
13
5
|
[evt: string]: CustomEvent<any>;
|
|
14
6
|
};
|
|
@@ -18,5 +10,5 @@ type QRadioProps_ = typeof __propDef.props;
|
|
|
18
10
|
export { QRadioProps_ as QRadioProps };
|
|
19
11
|
export type QRadioEvents = typeof __propDef.events;
|
|
20
12
|
export type QRadioSlots = typeof __propDef.slots;
|
|
21
|
-
export default class QRadio extends
|
|
13
|
+
export default class QRadio extends SvelteComponentTyped<QRadioProps_, QRadioEvents, QRadioSlots> {
|
|
22
14
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { QComponentDocs } from "../../utils
|
|
2
|
-
export declare
|
|
1
|
+
import type { QComponentDocs } from "../../utils";
|
|
2
|
+
export declare const QRadioDocs: QComponentDocs;
|
|
@@ -1,32 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { QRadioDocsProps, QRadioDocsSnippets } from "./docs.props";
|
|
2
|
+
export const QRadioDocs = {
|
|
2
3
|
name: "QRadio",
|
|
3
4
|
description: "Radio buttons allow the user to select one option from a set.",
|
|
4
5
|
docs: {
|
|
5
|
-
props:
|
|
6
|
-
|
|
7
|
-
name: "value",
|
|
8
|
-
type: "string",
|
|
9
|
-
default: "",
|
|
10
|
-
description: "The value of the radio button.",
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
name: "label",
|
|
14
|
-
type: "string",
|
|
15
|
-
description: "The label of the radio button.",
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
name: "selected",
|
|
19
|
-
type: "any",
|
|
20
|
-
description: "The currently selected value in the radio group.",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
name: "disable",
|
|
24
|
-
type: "boolean",
|
|
25
|
-
default: false,
|
|
26
|
-
description: "Disable the radio button.",
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
slots: [],
|
|
6
|
+
props: QRadioDocsProps,
|
|
7
|
+
snippets: QRadioDocsSnippets,
|
|
30
8
|
methods: [],
|
|
31
9
|
events: [
|
|
32
10
|
{
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 QRadioDocsProps: ParsedProp[];
|
|
3
|
+
export declare const QRadioDocsSnippets: ParsedSnippet[];
|
|
@@ -1,34 +1,53 @@
|
|
|
1
|
+
// AUTO GENERATED FILE - DO NOT MODIFY OR DELETE
|
|
2
|
+
// @quaffHash 8c6924cff3ff1c756f7579c2e24be1a5
|
|
1
3
|
export const QRadioDocsProps = [
|
|
2
4
|
{
|
|
3
|
-
|
|
4
|
-
type: "string",
|
|
5
|
+
isArray: false,
|
|
5
6
|
optional: false,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
isSnippet: false,
|
|
8
|
+
name: "value",
|
|
9
|
+
type: {
|
|
10
|
+
name: "string",
|
|
11
|
+
isClickable: false,
|
|
12
|
+
},
|
|
13
|
+
description: "Value associated with this radio button. Used when comparing against the selected value.",
|
|
14
|
+
default: '""',
|
|
9
15
|
},
|
|
10
16
|
{
|
|
17
|
+
isArray: false,
|
|
18
|
+
optional: true,
|
|
19
|
+
isSnippet: false,
|
|
11
20
|
name: "label",
|
|
12
|
-
type:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
type: {
|
|
22
|
+
name: "string",
|
|
23
|
+
isClickable: false,
|
|
24
|
+
},
|
|
25
|
+
description: "Text label displayed next to the radio button.",
|
|
26
|
+
default: '""',
|
|
17
27
|
},
|
|
18
28
|
{
|
|
29
|
+
isArray: false,
|
|
30
|
+
optional: true,
|
|
31
|
+
isSnippet: false,
|
|
19
32
|
name: "selected",
|
|
20
|
-
type:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
33
|
+
type: {
|
|
34
|
+
name: "unknown",
|
|
35
|
+
isClickable: false,
|
|
36
|
+
},
|
|
37
|
+
description: "Bound value that determines if this radio button is selected. This prop is bindable.\nWhen using a group of radio buttons, this should be the same variable for all of them.",
|
|
38
|
+
default: "undefined",
|
|
25
39
|
},
|
|
26
40
|
{
|
|
41
|
+
isArray: false,
|
|
42
|
+
optional: true,
|
|
43
|
+
isSnippet: false,
|
|
27
44
|
name: "disable",
|
|
28
|
-
type:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
45
|
+
type: {
|
|
46
|
+
name: "boolean",
|
|
47
|
+
isClickable: false,
|
|
48
|
+
},
|
|
49
|
+
description: "When true, prevents user interaction with the radio button.",
|
|
50
|
+
default: "false",
|
|
33
51
|
},
|
|
34
52
|
];
|
|
53
|
+
export const QRadioDocsSnippets = [];
|
|
@@ -1,8 +1,28 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface QRadioProps extends
|
|
1
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
2
|
+
export interface QRadioProps extends HTMLAttributes<HTMLLabelElement> {
|
|
3
|
+
/**
|
|
4
|
+
* Value associated with this radio button. Used when comparing against the selected value.
|
|
5
|
+
*
|
|
6
|
+
* @default ""
|
|
7
|
+
*/
|
|
3
8
|
value: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Text label displayed next to the radio button.
|
|
11
|
+
*
|
|
12
|
+
* @default ""
|
|
13
|
+
*/
|
|
14
|
+
label?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Bound value that determines if this radio button is selected. This prop is bindable.
|
|
17
|
+
* When using a group of radio buttons, this should be the same variable for all of them.
|
|
18
|
+
*
|
|
19
|
+
* @default undefined
|
|
20
|
+
*/
|
|
21
|
+
selected?: unknown;
|
|
22
|
+
/**
|
|
23
|
+
* When true, prevents user interaction with the radio button.
|
|
24
|
+
*
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
disable?: boolean;
|
|
7
28
|
}
|
|
8
|
-
export declare const QRadioPropsDefaults: QRadioProps;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@use "$css/mixins";
|
|
2
|
+
|
|
3
|
+
.q-railbar {
|
|
4
|
+
z-index: 5;
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 0;
|
|
7
|
+
right: auto;
|
|
8
|
+
bottom: 0;
|
|
9
|
+
left: auto;
|
|
10
|
+
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: flex-start;
|
|
15
|
+
text-align: center;
|
|
16
|
+
vertical-align: middle;
|
|
17
|
+
|
|
18
|
+
height: auto;
|
|
19
|
+
margin: 0;
|
|
20
|
+
@include mixins.padding("a-sm");
|
|
21
|
+
@include mixins.gap("md");
|
|
22
|
+
|
|
23
|
+
background-color: var(--surface);
|
|
24
|
+
color: var(--on-surface);
|
|
25
|
+
|
|
26
|
+
border: 0;
|
|
27
|
+
border-radius: 0;
|
|
28
|
+
|
|
29
|
+
transform: none;
|
|
30
|
+
white-space: nowrap;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
overflow: auto;
|
|
33
|
+
|
|
34
|
+
// Hide the scrollbar
|
|
35
|
+
// Internet Explorer 10+
|
|
36
|
+
-ms-overflow-style: none;
|
|
37
|
+
// Firefox
|
|
38
|
+
scrollbar-width: none;
|
|
39
|
+
// Other
|
|
40
|
+
&::-webkit-scrollbar {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@each $side in ("left", "right") {
|
|
45
|
+
&.q-railbar--#{$side} {
|
|
46
|
+
#{$side}: 0;
|
|
47
|
+
width: var(--#{$side}-railbar-width);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:not(.q-railbar--#{$side}).q-railbar--bordered {
|
|
51
|
+
@include mixins.border(var(--outline), $side);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -1,53 +1,77 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
getBorderRadiusClasses(side, $ctx),
|
|
21
|
-
$ctx && prepareZIndexClass($ctx, side),
|
|
22
|
-
userClasses
|
|
23
|
-
]);
|
|
24
|
-
$:
|
|
25
|
-
widthStyle = $ctx && useSize(width).style;
|
|
26
|
-
$:
|
|
27
|
-
style = createStyles(
|
|
28
|
-
{
|
|
29
|
-
[`--${side}-railbar-width`]: widthStyle
|
|
30
|
-
},
|
|
31
|
-
userStyles
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { getContext, onDestroy, onMount, untrack } from "svelte";
|
|
3
|
+
import { QContext } from "../../classes/QContext.svelte";
|
|
4
|
+
import { QLayoutCtxName } from "../../utils";
|
|
5
|
+
import type { QLayoutProps } from "../layout/props";
|
|
6
|
+
import type { DrawerContext } from "../layout/QLayout.svelte";
|
|
7
|
+
import type { QRailbarProps } from "./props";
|
|
8
|
+
|
|
9
|
+
let {
|
|
10
|
+
width = 88,
|
|
11
|
+
side = "left",
|
|
12
|
+
bordered = false,
|
|
13
|
+
children,
|
|
14
|
+
...props
|
|
15
|
+
}: QRailbarProps = $props();
|
|
16
|
+
|
|
17
|
+
const railbarCtx = QContext.get<DrawerContext>(QLayoutCtxName.railbar[side]);
|
|
18
|
+
const layoutView = getContext<{ value: NonNullable<QLayoutProps["view"]> }>(
|
|
19
|
+
QLayoutCtxName.view,
|
|
32
20
|
);
|
|
33
|
-
|
|
34
|
-
let
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
let drawer = sideProp === "left" ? context.drawerLeft : context.drawerRight;
|
|
42
|
-
let pos;
|
|
43
|
-
for (pos of ["top", "bottom"]) {
|
|
44
|
-
if (!drawer.offset[pos] && drawer.overlay) {
|
|
45
|
-
return "above";
|
|
21
|
+
|
|
22
|
+
let railbarEl: HTMLElement;
|
|
23
|
+
|
|
24
|
+
onMount(() => {
|
|
25
|
+
if (railbarCtx) {
|
|
26
|
+
setTimeout(() => {
|
|
27
|
+
railbarEl.style.transition = "top 0.3s, bottom 0.3s, transform 0.3s";
|
|
28
|
+
}, 100);
|
|
46
29
|
}
|
|
47
|
-
}
|
|
48
|
-
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
onDestroy(() => {
|
|
33
|
+
untrack(() => railbarCtx)?.updateEntries({
|
|
34
|
+
width: 0,
|
|
35
|
+
takesSpace: false,
|
|
36
|
+
ready: false,
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
$effect.pre(() => {
|
|
41
|
+
untrack(() => railbarCtx)?.updateEntries({
|
|
42
|
+
width,
|
|
43
|
+
takesSpace: railbarEl?.style.display !== "none" || false,
|
|
44
|
+
ready: true,
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
const offsetTop = $derived.by(() => {
|
|
49
|
+
const charPos = side === "left" ? 0 : 2;
|
|
50
|
+
return layoutView?.value.charAt(charPos) === "h";
|
|
51
|
+
});
|
|
52
|
+
const offsetBottom = $derived.by(() => {
|
|
53
|
+
const charPos = side === "left" ? 8 : 10;
|
|
54
|
+
return layoutView?.value.charAt(charPos) === "f";
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
const railbarWidthStyle = $derived(`--${side}-railbar-width: ${width}px`);
|
|
58
|
+
|
|
59
|
+
const style = $derived(`${railbarWidthStyle};${props.style ?? ""}`);
|
|
49
60
|
</script>
|
|
50
61
|
|
|
51
|
-
<nav
|
|
52
|
-
|
|
62
|
+
<nav
|
|
63
|
+
bind:this={railbarEl}
|
|
64
|
+
{...props}
|
|
65
|
+
class={[
|
|
66
|
+
"q-railbar",
|
|
67
|
+
props.class,
|
|
68
|
+
`q-railbar--${side}`,
|
|
69
|
+
bordered && "q-railbar--bordered",
|
|
70
|
+
offsetTop && "q-railbar--offset-top",
|
|
71
|
+
offsetBottom && "q-railbar--offset-bottom",
|
|
72
|
+
]}
|
|
73
|
+
{style}
|
|
74
|
+
data-quaff
|
|
75
|
+
>
|
|
76
|
+
{@render children?.()}
|
|
53
77
|
</nav>
|
|
@@ -1,23 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { QRailbarProps } from "./props";
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
3
2
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
5
|
-
width?: number | `${number}px` | `${number}%` | `${number}em` | `${number}ex` | `${number}ch` | `${number}rem` | `${number}vw` | `${number}vh` | `${number}vmin` | `${number}vmax` | undefined;
|
|
6
|
-
side?: "left" | "right" | undefined;
|
|
7
|
-
bordered?: boolean | undefined;
|
|
8
|
-
class?: string | undefined;
|
|
9
|
-
style?: 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 QRailbarProps_ = typeof __propDef.props;
|
|
19
10
|
export { QRailbarProps_ as QRailbarProps };
|
|
20
11
|
export type QRailbarEvents = typeof __propDef.events;
|
|
21
12
|
export type QRailbarSlots = typeof __propDef.slots;
|
|
22
|
-
export default class QRailbar extends
|
|
13
|
+
export default class QRailbar extends SvelteComponentTyped<QRailbarProps_, QRailbarEvents, QRailbarSlots> {
|
|
23
14
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { QComponentDocs } from "../../utils
|
|
2
|
-
export declare
|
|
1
|
+
import type { QComponentDocs } from "../../utils";
|
|
2
|
+
export declare const QRailbarDocs: QComponentDocs;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { QRailbarDocsProps } from "./docs.props";
|
|
2
|
-
export
|
|
1
|
+
import { QRailbarDocsProps, QRailbarDocsSnippets } from "./docs.props";
|
|
2
|
+
export const QRailbarDocs = {
|
|
3
3
|
name: "QRailbar",
|
|
4
4
|
description: "Railbars are used to provide navigation between different sections or views within an application.",
|
|
5
5
|
docs: {
|
|
6
6
|
props: QRailbarDocsProps,
|
|
7
|
-
|
|
7
|
+
snippets: QRailbarDocsSnippets,
|
|
8
8
|
methods: [],
|
|
9
9
|
events: [],
|
|
10
10
|
},
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 QRailbarDocsProps: ParsedProp[];
|
|
3
|
+
export declare const QRailbarDocsSnippets: ParsedSnippet[];
|