@quaffui/quaff 0.1.0-prealpha10 → 0.1.0-prealpha11

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 (41) hide show
  1. package/dist/components/card/QCardActions.svelte.d.ts +1 -1
  2. package/dist/components/card/props.d.ts +1 -1
  3. package/dist/components/drawer/QDrawer.svelte +8 -3
  4. package/dist/components/icon/QIcon.svelte.d.ts +4 -4
  5. package/dist/components/icon/props.d.ts +4 -4
  6. package/dist/components/input/QInput.svelte.d.ts +6 -6
  7. package/dist/components/input/props.d.ts +6 -6
  8. package/dist/components/layout/QLayout.svelte.d.ts +7 -7
  9. package/dist/components/layout/props.d.ts +7 -7
  10. package/dist/components/list/QItem.svelte.d.ts +5 -5
  11. package/dist/components/list/QItemSection.svelte.d.ts +1 -1
  12. package/dist/components/list/QList.svelte.d.ts +6 -13
  13. package/dist/components/list/props.d.ts +12 -12
  14. package/dist/components/progress/QCircularProgress.svelte.d.ts +3 -3
  15. package/dist/components/progress/QLinearProgress.svelte.d.ts +2 -2
  16. package/dist/components/progress/props.d.ts +5 -5
  17. package/dist/components/radio/QRadio.svelte.d.ts +2 -2
  18. package/dist/components/radio/props.d.ts +3 -3
  19. package/dist/components/railbar/QRailbar.svelte.d.ts +3 -3
  20. package/dist/components/railbar/props.d.ts +3 -3
  21. package/dist/components/select/QSelect.svelte.d.ts +3 -3
  22. package/dist/components/select/props.d.ts +4 -4
  23. package/dist/components/select/props.js +0 -1
  24. package/dist/components/separator/QSeparator.svelte.d.ts +5 -5
  25. package/dist/components/separator/props.d.ts +9 -9
  26. package/dist/components/table/QTable.svelte.d.ts +1 -1
  27. package/dist/components/table/props.d.ts +1 -1
  28. package/dist/components/tabs/QTabs.svelte.d.ts +2 -2
  29. package/dist/components/tabs/props.d.ts +2 -2
  30. package/dist/components/toolbar/QToolbar.svelte.d.ts +4 -4
  31. package/dist/components/toolbar/QToolbarTitle.svelte.d.ts +1 -1
  32. package/dist/components/toolbar/props.d.ts +5 -5
  33. package/dist/components/tooltip/QTooltip.svelte.d.ts +1 -1
  34. package/dist/components/tooltip/props.d.ts +1 -1
  35. package/dist/css/index.css +1 -1
  36. package/dist/css/theme/palette.scss +18 -4
  37. package/dist/helpers/version.d.ts +1 -1
  38. package/dist/helpers/version.js +1 -1
  39. package/dist/stores/QTheme.d.ts +1 -2
  40. package/dist/stores/QTheme.js +22 -15
  41. package/package.json +1 -1
@@ -4,7 +4,7 @@ declare const __propDef: {
4
4
  props: {
5
5
  [x: string]: any;
6
6
  align?: QCardActionsProps["align"];
7
- vertical?: boolean | undefined;
7
+ vertical?: QCardActionsProps["vertical"];
8
8
  class?: string | undefined;
9
9
  };
10
10
  events: {
@@ -40,5 +40,5 @@ export interface QCardActionsProps extends UseAlignProps, NativeProps {
40
40
  * Lays out the action items vertically.
41
41
  * @default false
42
42
  */
43
- vertical: boolean;
43
+ vertical?: boolean;
44
44
  }
@@ -4,7 +4,7 @@ import { getContext } from "svelte";
4
4
  import { clickOutside } from "../../helpers";
5
5
  import { useSize } from "../../composables/use-size";
6
6
  import { derived } from "svelte/store";
7
- export let value = true, side = "left", width = 300, breakpoint = 1023, showIfAbove = false, behavior = "default", bordered = false, elevated = false, overlay = false, persistent = false, noSwipeOpen = false, noSwipeClose = false, noSwipeBackdrop = false, userClasses = void 0, userStyles = void 0;
7
+ export let value = false, side = "left", width = 300, breakpoint = 1023, showIfAbove = false, behavior = "default", bordered = false, elevated = false, overlay = false, persistent = false, noSwipeOpen = false, noSwipeClose = false, noSwipeBackdrop = false, userClasses = void 0, userStyles = void 0;
8
8
  export { userClasses as class, userStyles as style };
9
9
  $:
10
10
  canHideOnClickOutside = value === true && persistent === false || overlay === true;
@@ -22,7 +22,7 @@ export const show = (e) => {
22
22
  }
23
23
  };
24
24
  export const hide = () => {
25
- if (value === true && canHideOnClickOutside === true) {
25
+ if (value === true) {
26
26
  value = false;
27
27
  }
28
28
  };
@@ -94,6 +94,11 @@ $:
94
94
  });
95
95
  </script>
96
96
 
97
- <div use:clickOutside={hide} class={classes} {style} {...$$restProps}>
97
+ <div
98
+ use:clickOutside={() => canHideOnClickOutside && hide()}
99
+ class={classes}
100
+ {style}
101
+ {...$$restProps}
102
+ >
98
103
  <slot />
99
104
  </div>
@@ -2,13 +2,13 @@ import { SvelteComponent } from "svelte";
2
2
  import type { QIconProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
- size?: import("./props").QIconSizeOptions | undefined;
5
+ size?: QIconProps["size"];
6
6
  name?: QIconProps["name"];
7
- type?: import("./props").QIconTypeOptions | undefined;
8
- filled?: boolean | undefined;
7
+ type?: QIconProps["type"];
8
+ filled?: QIconProps["filled"];
9
9
  svg?: QIconProps["svg"];
10
10
  img?: QIconProps["img"];
11
- imgAttributes?: Record<string, any> | undefined;
11
+ imgAttributes?: QIconProps["imgAttributes"];
12
12
  color?: QIconProps["color"];
13
13
  class?: string | undefined;
14
14
  style?: string | undefined;
@@ -6,12 +6,12 @@ export interface QIconProps extends NativeProps {
6
6
  * The size of the icon. Can be specified with CSS units. If no unit is specified, "px" will be used.
7
7
  * @default md
8
8
  */
9
- size: QIconSizeOptions;
9
+ size?: QIconSizeOptions;
10
10
  /**
11
11
  * The type of the icon.
12
12
  * @default outlined
13
13
  */
14
- type: QIconTypeOptions;
14
+ type?: QIconTypeOptions;
15
15
  /**
16
16
  * The name of the Material Symbols icon.
17
17
  * @default undefined
@@ -21,7 +21,7 @@ export interface QIconProps extends NativeProps {
21
21
  * Determines whether the icon should be filled.
22
22
  * @default false
23
23
  */
24
- filled: boolean;
24
+ filled?: boolean;
25
25
  /**
26
26
  * The SVG content for the icon.
27
27
  * @default undefined
@@ -36,7 +36,7 @@ export interface QIconProps extends NativeProps {
36
36
  * Additional attributes for the image element when using the `img` prop, as for example the "alt" attribute.
37
37
  * @default {}
38
38
  */
39
- imgAttributes: Record<string, any>;
39
+ imgAttributes?: Record<string, any>;
40
40
  /**
41
41
  * The color of the icon.
42
42
  * @default undefined
@@ -3,16 +3,16 @@ import type { QInputProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  [x: string]: any;
6
- bordered?: boolean | undefined;
6
+ bordered?: QInputProps["bordered"];
7
7
  dense?: QInputProps["dense"];
8
- disable?: boolean | undefined;
9
- error?: boolean | undefined;
8
+ disable?: QInputProps["disable"];
9
+ error?: QInputProps["error"];
10
10
  errorMessage?: QInputProps["errorMessage"];
11
- filled?: boolean | undefined;
11
+ filled?: QInputProps["filled"];
12
12
  hint?: QInputProps["hint"];
13
13
  label?: QInputProps["label"];
14
- outlined?: boolean | undefined;
15
- rounded?: boolean | undefined;
14
+ outlined?: QInputProps["outlined"];
15
+ rounded?: QInputProps["rounded"];
16
16
  value: QInputProps["value"];
17
17
  class?: string | undefined;
18
18
  };
@@ -1,15 +1,15 @@
1
1
  import type { NativeProps } from "../../utils/types";
2
2
  export interface QInputProps extends NativeProps {
3
- bordered: boolean;
3
+ bordered?: boolean;
4
4
  dense?: boolean;
5
- disable: boolean;
6
- error: boolean;
5
+ disable?: boolean;
6
+ error?: boolean;
7
7
  errorMessage?: string;
8
- filled: boolean;
8
+ filled?: boolean;
9
9
  hint?: string;
10
10
  label?: string;
11
- outlined: boolean;
12
- rounded: boolean;
11
+ outlined?: boolean;
12
+ rounded?: boolean;
13
13
  value: string;
14
14
  }
15
15
  export declare const QInputPropsDefaults: {
@@ -23,13 +23,13 @@ import type { QLayoutProps } from "./props";
23
23
  import type { Readable } from "svelte/store";
24
24
  declare const __propDef: {
25
25
  props: {
26
- view?: "lhh lpr lfr" | "lhh lpr lff" | "lhh lpr lFr" | "lhh lpr lFf" | "lhh lpr ffr" | "lhh lpr fff" | "lhh lpr fFr" | "lhh lpr fFf" | "lhh lpR lfr" | "lhh lpR lff" | "lhh lpR lFr" | "lhh lpR lFf" | "lhh lpR ffr" | "lhh lpR fff" | "lhh lpR fFr" | "lhh lpR fFf" | "lhh Lpr lfr" | "lhh Lpr lff" | "lhh Lpr lFr" | "lhh Lpr lFf" | "lhh Lpr ffr" | "lhh Lpr fff" | "lhh Lpr fFr" | "lhh Lpr fFf" | "lhh LpR lfr" | "lhh LpR lff" | "lhh LpR lFr" | "lhh LpR lFf" | "lhh LpR ffr" | "lhh LpR fff" | "lhh LpR fFr" | "lhh LpR fFf" | "lhr lpr lfr" | "lhr lpr lff" | "lhr lpr lFr" | "lhr lpr lFf" | "lhr lpr ffr" | "lhr lpr fff" | "lhr lpr fFr" | "lhr lpr fFf" | "lhr lpR lfr" | "lhr lpR lff" | "lhr lpR lFr" | "lhr lpR lFf" | "lhr lpR ffr" | "lhr lpR fff" | "lhr lpR fFr" | "lhr lpR fFf" | "lhr Lpr lfr" | "lhr Lpr lff" | "lhr Lpr lFr" | "lhr Lpr lFf" | "lhr Lpr ffr" | "lhr Lpr fff" | "lhr Lpr fFr" | "lhr Lpr fFf" | "lhr LpR lfr" | "lhr LpR lff" | "lhr LpR lFr" | "lhr LpR lFf" | "lhr LpR ffr" | "lhr LpR fff" | "lhr LpR fFr" | "lhr LpR fFf" | "lHh lpr lfr" | "lHh lpr lff" | "lHh lpr lFr" | "lHh lpr lFf" | "lHh lpr ffr" | "lHh lpr fff" | "lHh lpr fFr" | "lHh lpr fFf" | "lHh lpR lfr" | "lHh lpR lff" | "lHh lpR lFr" | "lHh lpR lFf" | "lHh lpR ffr" | "lHh lpR fff" | "lHh lpR fFr" | "lHh lpR fFf" | "lHh Lpr lfr" | "lHh Lpr lff" | "lHh Lpr lFr" | "lHh Lpr lFf" | "lHh Lpr ffr" | "lHh Lpr fff" | "lHh Lpr fFr" | "lHh Lpr fFf" | "lHh LpR lfr" | "lHh LpR lff" | "lHh LpR lFr" | "lHh LpR lFf" | "lHh LpR ffr" | "lHh LpR fff" | "lHh LpR fFr" | "lHh LpR fFf" | "lHr lpr lfr" | "lHr lpr lff" | "lHr lpr lFr" | "lHr lpr lFf" | "lHr lpr ffr" | "lHr lpr fff" | "lHr lpr fFr" | "lHr lpr fFf" | "lHr lpR lfr" | "lHr lpR lff" | "lHr lpR lFr" | "lHr lpR lFf" | "lHr lpR ffr" | "lHr lpR fff" | "lHr lpR fFr" | "lHr lpR fFf" | "lHr Lpr lfr" | "lHr Lpr lff" | "lHr Lpr lFr" | "lHr Lpr lFf" | "lHr Lpr ffr" | "lHr Lpr fff" | "lHr Lpr fFr" | "lHr Lpr fFf" | "lHr LpR lfr" | "lHr LpR lff" | "lHr LpR lFr" | "lHr LpR lFf" | "lHr LpR ffr" | "lHr LpR fff" | "lHr LpR fFr" | "lHr LpR fFf" | "hhh lpr lfr" | "hhh lpr lff" | "hhh lpr lFr" | "hhh lpr lFf" | "hhh lpr ffr" | "hhh lpr fff" | "hhh lpr fFr" | "hhh lpr fFf" | "hhh lpR lfr" | "hhh lpR lff" | "hhh lpR lFr" | "hhh lpR lFf" | "hhh lpR ffr" | "hhh lpR fff" | "hhh lpR fFr" | "hhh lpR fFf" | "hhh Lpr lfr" | "hhh Lpr lff" | "hhh Lpr lFr" | "hhh Lpr lFf" | "hhh Lpr ffr" | "hhh Lpr fff" | "hhh Lpr fFr" | "hhh Lpr fFf" | "hhh LpR lfr" | "hhh LpR lff" | "hhh LpR lFr" | "hhh LpR lFf" | "hhh LpR ffr" | "hhh LpR fff" | "hhh LpR fFr" | "hhh LpR fFf" | "hhr lpr lfr" | "hhr lpr lff" | "hhr lpr lFr" | "hhr lpr lFf" | "hhr lpr ffr" | "hhr lpr fff" | "hhr lpr fFr" | "hhr lpr fFf" | "hhr lpR lfr" | "hhr lpR lff" | "hhr lpR lFr" | "hhr lpR lFf" | "hhr lpR ffr" | "hhr lpR fff" | "hhr lpR fFr" | "hhr lpR fFf" | "hhr Lpr lfr" | "hhr Lpr lff" | "hhr Lpr lFr" | "hhr Lpr lFf" | "hhr Lpr ffr" | "hhr Lpr fff" | "hhr Lpr fFr" | "hhr Lpr fFf" | "hhr LpR lfr" | "hhr LpR lff" | "hhr LpR lFr" | "hhr LpR lFf" | "hhr LpR ffr" | "hhr LpR fff" | "hhr LpR fFr" | "hhr LpR fFf" | "hHh lpr lfr" | "hHh lpr lff" | "hHh lpr lFr" | "hHh lpr lFf" | "hHh lpr ffr" | "hHh lpr fff" | "hHh lpr fFr" | "hHh lpr fFf" | "hHh lpR lfr" | "hHh lpR lff" | "hHh lpR lFr" | "hHh lpR lFf" | "hHh lpR ffr" | "hHh lpR fff" | "hHh lpR fFr" | "hHh lpR fFf" | "hHh Lpr lfr" | "hHh Lpr lff" | "hHh Lpr lFr" | "hHh Lpr lFf" | "hHh Lpr ffr" | "hHh Lpr fff" | "hHh Lpr fFr" | "hHh Lpr fFf" | "hHh LpR lfr" | "hHh LpR lff" | "hHh LpR lFr" | "hHh LpR lFf" | "hHh LpR ffr" | "hHh LpR fff" | "hHh LpR fFr" | "hHh LpR fFf" | "hHr lpr lfr" | "hHr lpr lff" | "hHr lpr lFr" | "hHr lpr lFf" | "hHr lpr ffr" | "hHr lpr fff" | "hHr lpr fFr" | "hHr lpr fFf" | "hHr lpR lfr" | "hHr lpR lff" | "hHr lpR lFr" | "hHr lpR lFf" | "hHr lpR ffr" | "hHr lpR fff" | "hHr lpR fFr" | "hHr lpR fFf" | "hHr Lpr lfr" | "hHr Lpr lff" | "hHr Lpr lFr" | "hHr Lpr lFf" | "hHr Lpr ffr" | "hHr Lpr fff" | "hHr Lpr fFr" | "hHr Lpr fFf" | "hHr LpR lfr" | "hHr LpR lff" | "hHr LpR lFr" | "hHr LpR lFf" | "hHr LpR ffr" | "hHr LpR fff" | "hHr LpR fFr" | "hHr LpR fFf" | undefined;
27
- headerHeight?: string | number | undefined;
28
- footerHeight?: string | number | undefined;
29
- leftDrawerWidth?: string | number | undefined;
30
- rightDrawerWidth?: string | number | undefined;
31
- leftRailbarWidth?: string | number | undefined;
32
- rightRailbarWidth?: string | number | undefined;
26
+ view?: QLayoutProps["view"];
27
+ headerHeight?: QLayoutProps["headerHeight"];
28
+ footerHeight?: QLayoutProps["footerHeight"];
29
+ leftDrawerWidth?: QLayoutProps["leftDrawerWidth"];
30
+ rightDrawerWidth?: QLayoutProps["rightDrawerWidth"];
31
+ leftRailbarWidth?: QLayoutProps["leftRailbarWidth"];
32
+ rightRailbarWidth?: QLayoutProps["rightDrawerWidth"];
33
33
  class?: string | undefined;
34
34
  style?: string | undefined;
35
35
  };
@@ -6,36 +6,36 @@ export interface QLayoutProps extends NativeProps {
6
6
  * See <a href="https://quasar.dev/layout/layout/#understanding-the-view-prop" target="_blank">Quasar's explanation on the view prop</a>.
7
7
  * @default "hhh lpr fff"
8
8
  */
9
- view: QLayoutViewOptions;
9
+ view?: QLayoutViewOptions;
10
10
  /**
11
11
  * The height of the header. Can be specified with CSS units. If no unit is specified, "px" will be used.
12
12
  * @default 64px
13
13
  */
14
- headerHeight: string | number;
14
+ headerHeight?: string | number;
15
15
  /**
16
16
  * The height of the footer. Can be specified with CSS units. If no unit is specified, "px" will be used.
17
17
  * @default 80px
18
18
  */
19
- footerHeight: string | number;
19
+ footerHeight?: string | number;
20
20
  /**
21
21
  * The width of the left drawer. Can be specified with CSS units. If no unit is specified, "px" will be used.
22
22
  * @default 300px
23
23
  */
24
- leftDrawerWidth: string | number;
24
+ leftDrawerWidth?: string | number;
25
25
  /**
26
26
  * The width of the right drawer. Can be specified with CSS units. If no unit is specified, "px" will be used.
27
27
  * @default 300px
28
28
  */
29
- rightDrawerWidth: string | number;
29
+ rightDrawerWidth?: string | number;
30
30
  /**
31
31
  * The width of the left railbar. Can be specified with CSS units. If no unit is specified, "px" will be used.
32
32
  * @default 88px
33
33
  */
34
- leftRailbarWidth: string | number;
34
+ leftRailbarWidth?: string | number;
35
35
  /**
36
36
  * The width of the right railbar. Can be specified with CSS units. If no unit is specified, "px" will be used.
37
37
  * @default 88px
38
38
  */
39
- rightRailbarWidth: string | number;
39
+ rightRailbarWidth?: string | number;
40
40
  }
41
41
  export type QLayoutEvents = "resize" | "scroll" | "scrollHeight";
@@ -3,11 +3,11 @@ import type { QItemProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  [x: string]: any;
6
- tag?: string | undefined;
7
- active?: boolean | undefined;
8
- clickable?: boolean | undefined;
9
- dense?: boolean | undefined;
10
- tabindex?: string | number | undefined;
6
+ tag?: QItemProps["tag"];
7
+ active?: QItemProps["active"];
8
+ clickable?: QItemProps["clickable"];
9
+ dense?: QItemProps["dense"];
10
+ tabindex?: QItemProps["tabindex"];
11
11
  href?: QItemProps["href"];
12
12
  to?: QItemProps["to"];
13
13
  disable?: boolean | undefined;
@@ -3,7 +3,7 @@ import type { QItemSectionProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  [x: string]: any;
6
- type?: import("./props").QItemSectionTypes | undefined;
6
+ type?: QItemSectionProps["type"];
7
7
  class?: string | undefined;
8
8
  };
9
9
  events: {
@@ -3,19 +3,12 @@ import type { QListProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  [x: string]: any;
6
- bordered?: boolean | undefined;
7
- roundedBorders?: boolean | undefined;
8
- dense?: boolean | undefined;
9
- separator?: boolean | undefined;
10
- separatorOptions?: {
11
- spacing?: "sm" | "md" | "lg" | "none" | undefined;
12
- inset?: boolean | undefined;
13
- color?: string | undefined;
14
- size?: string | undefined;
15
- text?: string | undefined;
16
- textAlign?: "top" | "bottom" | "left" | "right" | "center" | "middle" | undefined;
17
- } | undefined;
18
- padding?: boolean | undefined;
6
+ bordered?: QListProps["bordered"];
7
+ roundedBorders?: QListProps["roundedBorders"];
8
+ dense?: QListProps["dense"];
9
+ separator?: QListProps["separator"];
10
+ separatorOptions?: QListProps["separatorOptions"];
11
+ padding?: QListProps["padding"];
19
12
  tag?: QListProps["tag"];
20
13
  class?: string | undefined;
21
14
  };
@@ -2,11 +2,11 @@ import { type NativeProps } from "../../utils/types";
2
2
  import type { QSeparatorProps } from "../separator/props";
3
3
  import { type UseRouterLinkProps } from "../../composables/use-router-link";
4
4
  export interface QListProps extends NativeProps {
5
- bordered: boolean;
6
- roundedBorders: boolean;
7
- dense: boolean;
8
- separator: boolean;
9
- separatorOptions: {
5
+ bordered?: boolean;
6
+ roundedBorders?: boolean;
7
+ dense?: boolean;
8
+ separator?: boolean;
9
+ separatorOptions?: {
10
10
  spacing?: QSeparatorProps["spacing"];
11
11
  inset?: QSeparatorProps["inset"];
12
12
  color?: QSeparatorProps["color"];
@@ -14,20 +14,20 @@ export interface QListProps extends NativeProps {
14
14
  text?: QSeparatorProps["text"];
15
15
  textAlign?: QSeparatorProps["textAlign"];
16
16
  };
17
- padding: boolean;
17
+ padding?: boolean;
18
18
  tag?: string;
19
19
  }
20
20
  export declare const QListPropsDefaults: QListProps;
21
21
  export interface QItemProps extends UseRouterLinkProps, NativeProps {
22
- tag: string;
23
- active: boolean;
24
- clickable: boolean;
25
- dense: boolean;
26
- tabindex: string | number;
22
+ tag?: string;
23
+ active?: boolean;
24
+ clickable?: boolean;
25
+ dense?: boolean;
26
+ tabindex?: string | number;
27
27
  }
28
28
  export declare const QItemPropsDefaults: QItemProps;
29
29
  export type QItemSectionTypes = "thumbnail" | "video" | "avatar" | "toggle" | "icon" | "trailingIcon" | "trailingText" | "content";
30
30
  export interface QItemSectionProps extends NativeProps {
31
- type: QItemSectionTypes;
31
+ type?: QItemSectionTypes;
32
32
  }
33
33
  export declare const QItemSectionPropsDefaults: QItemSectionProps;
@@ -3,10 +3,10 @@ import type { QCircularProgressProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  value?: number | undefined;
6
- indeterminate?: boolean | undefined;
7
- size?: number | `${number}px` | `${number}%` | `${number}em` | `${number}ex` | `${number}ch` | `${number}rem` | `${number}vw` | `${number}vh` | `${number}vmin` | `${number}vmax` | undefined;
6
+ indeterminate?: QCircularProgressProps["indeterminate"];
7
+ size?: QCircularProgressProps["size"];
8
8
  color?: QCircularProgressProps["color"];
9
- thickness?: number | undefined;
9
+ thickness?: QCircularProgressProps["thickness"];
10
10
  class?: string | undefined;
11
11
  };
12
12
  events: {
@@ -4,8 +4,8 @@ declare const __propDef: {
4
4
  props: {
5
5
  [x: string]: any;
6
6
  value?: number | undefined;
7
- from?: "left" | "right" | undefined;
8
- rounded?: boolean | undefined;
7
+ from?: QLinearProgressProps["from"];
8
+ rounded?: QLinearProgressProps["rounded"];
9
9
  class?: string | undefined;
10
10
  style?: string | undefined;
11
11
  };
@@ -7,11 +7,11 @@ export interface QLinearProgressProps extends NativeProps {
7
7
  /**
8
8
  * @default left
9
9
  */
10
- from: "left" | "right";
10
+ from?: "left" | "right";
11
11
  /**
12
12
  * @default false
13
13
  */
14
- rounded: boolean;
14
+ rounded?: boolean;
15
15
  }
16
16
  export interface QCircularProgressProps extends NativeProps {
17
17
  /**
@@ -21,11 +21,11 @@ export interface QCircularProgressProps extends NativeProps {
21
21
  /**
22
22
  * @default false
23
23
  */
24
- indeterminate: boolean;
24
+ indeterminate?: boolean;
25
25
  /**
26
26
  * @default 2em
27
27
  */
28
- size: CssValue | number;
28
+ size?: CssValue | number;
29
29
  /**
30
30
  * @default undefined
31
31
  */
@@ -33,5 +33,5 @@ export interface QCircularProgressProps extends NativeProps {
33
33
  /**
34
34
  * @default 5
35
35
  */
36
- thickness: number;
36
+ thickness?: number;
37
37
  }
@@ -4,9 +4,9 @@ declare const __propDef: {
4
4
  props: {
5
5
  [x: string]: any;
6
6
  value?: string | undefined;
7
- label?: string | undefined;
7
+ label?: QRadioProps["label"];
8
8
  selected?: QRadioProps["selected"];
9
- disable?: boolean | undefined;
9
+ disable?: QRadioProps["disable"];
10
10
  class?: string | undefined;
11
11
  };
12
12
  events: {
@@ -1,8 +1,8 @@
1
1
  import type { NativeProps } from "../../utils/types";
2
2
  export interface QRadioProps extends NativeProps {
3
3
  value: string;
4
- label: string;
5
- selected: any;
6
- disable: boolean;
4
+ label?: string;
5
+ selected?: any;
6
+ disable?: boolean;
7
7
  }
8
8
  export declare const QRadioPropsDefaults: QRadioProps;
@@ -2,9 +2,9 @@ import { SvelteComponent } from "svelte";
2
2
  import type { QRailbarProps } from "./props";
3
3
  declare const __propDef: {
4
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;
5
+ width?: QRailbarProps["width"];
6
+ side?: QRailbarProps["side"];
7
+ bordered?: QRailbarProps["bordered"];
8
8
  class?: string | undefined;
9
9
  style?: string | undefined;
10
10
  };
@@ -3,13 +3,13 @@ export interface QRailbarProps extends NativeProps {
3
3
  /**
4
4
  * @default 88px
5
5
  */
6
- width: CssValue | number;
6
+ width?: CssValue | number;
7
7
  /**
8
8
  * @default left
9
9
  */
10
- side: "left" | "right";
10
+ side?: "left" | "right";
11
11
  /**
12
12
  * @default false
13
13
  */
14
- bordered: boolean;
14
+ bordered?: boolean;
15
15
  }
@@ -7,10 +7,10 @@ declare const __propDef: {
7
7
  multiple?: QSelectProps["multiple"];
8
8
  bordered?: QSelectProps["bordered"];
9
9
  dense?: QSelectProps["dense"];
10
- disable?: boolean | undefined;
11
- error?: boolean | undefined;
10
+ disable?: QSelectProps["disable"];
11
+ error?: QSelectProps["error"];
12
12
  errorMessage?: QSelectProps["errorMessage"];
13
- filled?: boolean | undefined;
13
+ filled?: QSelectProps["filled"];
14
14
  hint?: QSelectProps["hint"];
15
15
  label?: QSelectProps["label"];
16
16
  outlined?: QSelectProps["outlined"];
@@ -1,4 +1,4 @@
1
- import { type NativeProps } from "../../utils/types";
1
+ import type { NativeProps } from "../../utils/types";
2
2
  export type QSelectOption = string | {
3
3
  label: string;
4
4
  value: string;
@@ -9,10 +9,10 @@ export interface QSelectProps extends NativeProps {
9
9
  options: QSelectOption[];
10
10
  bordered?: boolean;
11
11
  dense?: boolean;
12
- disable: boolean;
13
- error: boolean;
12
+ disable?: boolean;
13
+ error?: boolean;
14
14
  errorMessage?: string;
15
- filled: boolean;
15
+ filled?: boolean;
16
16
  hint?: string;
17
17
  label?: string;
18
18
  outlined?: boolean;
@@ -1,4 +1,3 @@
1
- import "$utils/types";
2
1
  export const QSelectPropsDefaults = {
3
2
  bordered: false,
4
3
  dense: false,
@@ -2,13 +2,13 @@ import { SvelteComponent } from "svelte";
2
2
  import type { QSeparatorProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
- spacing?: "sm" | "md" | "lg" | "none" | undefined;
6
- inset?: boolean | undefined;
7
- vertical?: boolean | undefined;
5
+ spacing?: QSeparatorProps["spacing"];
6
+ inset?: QSeparatorProps["inset"];
7
+ vertical?: QSeparatorProps["vertical"];
8
8
  color?: QSeparatorProps["color"];
9
- size?: string | undefined;
9
+ size?: QSeparatorProps["size"];
10
10
  text?: QSeparatorProps["text"];
11
- textAlign?: "top" | "bottom" | "left" | "right" | "center" | "middle" | undefined;
11
+ textAlign?: QSeparatorProps["textAlign"];
12
12
  class?: string | undefined;
13
13
  style?: string | undefined;
14
14
  };
@@ -1,21 +1,21 @@
1
1
  import type { NativeProps } from "../../utils/types";
2
2
  interface QSeparatorPropsVertical extends NativeProps {
3
- spacing: "none" | "sm" | "md" | "lg";
4
- inset: boolean;
5
- vertical: true;
3
+ spacing?: "none" | "sm" | "md" | "lg";
4
+ inset?: boolean;
5
+ vertical?: true;
6
6
  color?: string;
7
7
  size: string;
8
8
  text?: string;
9
- textAlign: "top" | "middle" | "bottom";
9
+ textAlign?: "top" | "middle" | "bottom";
10
10
  }
11
11
  interface QSeparatorPropsHorizontal extends NativeProps {
12
- spacing: "none" | "sm" | "md" | "lg";
13
- inset: boolean;
14
- vertical: false;
12
+ spacing?: "none" | "sm" | "md" | "lg";
13
+ inset?: boolean;
14
+ vertical?: false;
15
15
  color?: string;
16
- size: string;
16
+ size?: string;
17
17
  text?: string;
18
- textAlign: "left" | "center" | "right";
18
+ textAlign?: "left" | "center" | "right";
19
19
  }
20
20
  export type QSeparatorProps = QSeparatorPropsHorizontal | QSeparatorPropsVertical;
21
21
  export declare const QSeparatorPropsDefaults: QSeparatorProps;
@@ -7,7 +7,7 @@ declare const __propDef: {
7
7
  rows?: QTableRow[] | undefined;
8
8
  flat?: QTableProps["flat"];
9
9
  bordered?: QTableProps["bordered"];
10
- dense?: boolean | undefined;
10
+ dense?: QTableProps["dense"];
11
11
  class?: string | undefined;
12
12
  };
13
13
  events: {
@@ -41,5 +41,5 @@ export interface QTableProps extends NativeProps {
41
41
  * Shows the Table in dense mode (takes up less space).
42
42
  * @default false
43
43
  */
44
- dense: boolean;
44
+ dense?: boolean;
45
45
  }
@@ -3,8 +3,8 @@ import type { QTabsProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  value?: QTabsProps["value"];
6
- variant?: import("./props").QTabsVariants | undefined;
7
- round?: boolean | undefined;
6
+ variant?: QTabsProps["variant"];
7
+ round?: QTabsProps["round"];
8
8
  class?: string | undefined;
9
9
  style?: string | undefined;
10
10
  };
@@ -2,8 +2,8 @@ import { type NativeProps } from "../../utils/types";
2
2
  export type QTabsVariants = "primary" | "secondary" | "vertical";
3
3
  export interface QTabsProps extends NativeProps {
4
4
  value?: string;
5
- variant: QTabsVariants;
6
- round: boolean;
5
+ variant?: QTabsVariants;
6
+ round?: boolean;
7
7
  }
8
8
  export declare const QTabsPropsDefaults: QTabsProps;
9
9
  export interface QTabProps extends NativeProps {
@@ -3,10 +3,10 @@ import type { QToolbarProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  [x: string]: any;
6
- inset?: boolean | undefined;
7
- border?: boolean | undefined;
8
- elevate?: boolean | undefined;
9
- height?: number | `${number}px` | `${number}%` | `${number}em` | `${number}ex` | `${number}ch` | `${number}rem` | `${number}vw` | `${number}vh` | `${number}vmin` | `${number}vmax` | undefined;
6
+ inset?: QToolbarProps["inset"];
7
+ border?: QToolbarProps["border"];
8
+ elevate?: QToolbarProps["elevate"];
9
+ height?: QToolbarProps["height"];
10
10
  class?: string | undefined;
11
11
  style?: string | undefined;
12
12
  };
@@ -3,7 +3,7 @@ import type { QToolbarTitleProps } from "./props";
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  [x: string]: any;
6
- shrink?: boolean | undefined;
6
+ shrink?: QToolbarTitleProps["shrink"];
7
7
  class?: string | undefined;
8
8
  style?: string | undefined;
9
9
  };
@@ -3,23 +3,23 @@ export interface QToolbarProps extends NativeProps {
3
3
  /**
4
4
  * @default false
5
5
  */
6
- inset: boolean;
6
+ inset?: boolean;
7
7
  /**
8
8
  * @default false
9
9
  */
10
- border: boolean;
10
+ border?: boolean;
11
11
  /**
12
12
  * @default false
13
13
  */
14
- elevate: boolean;
14
+ elevate?: boolean;
15
15
  /**
16
16
  * @default 64px
17
17
  */
18
- height: CssValue | number;
18
+ height?: CssValue | number;
19
19
  }
20
20
  export interface QToolbarTitleProps extends NativeProps {
21
21
  /**
22
22
  * @default false
23
23
  */
24
- shrink: boolean;
24
+ shrink?: boolean;
25
25
  }