@quaffui/quaff 0.1.0-prealpha → 0.1.0-prealpha3
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/dist/components/avatar/QAvatar.svelte.d.ts +4 -4
- package/dist/components/avatar/docs.d.ts +1 -1
- package/dist/components/avatar/index.scss +4 -1
- package/dist/components/breadcrumbs/QBreadcrumbs.svelte.d.ts +4 -4
- package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte.d.ts +4 -4
- package/dist/components/breadcrumbs/docs.d.ts +1 -1
- package/dist/components/button/QBtn.svelte.d.ts +4 -4
- package/dist/components/button/docs.d.ts +1 -1
- package/dist/components/button/index.scss +4 -1
- package/dist/components/button/props.d.ts +1 -1
- package/dist/components/card/QCard.svelte +1 -1
- package/dist/components/card/QCard.svelte.d.ts +4 -4
- package/dist/components/card/QCardActions.svelte +1 -1
- package/dist/components/card/QCardActions.svelte.d.ts +4 -4
- package/dist/components/card/QCardSection.svelte +1 -1
- package/dist/components/card/QCardSection.svelte.d.ts +4 -4
- package/dist/components/card/index.scss +4 -1
- package/dist/components/checkbox/QCheckbox.svelte.d.ts +4 -4
- package/dist/components/chip/QChip.svelte.d.ts +4 -4
- package/dist/components/chip/docs.d.ts +1 -1
- package/dist/components/chip/index.scss +4 -1
- package/dist/components/codeBlock/QCodeBlock.svelte.d.ts +4 -4
- package/dist/components/dialog/QDialog.svelte.d.ts +4 -4
- package/dist/components/dialog/docs.d.ts +1 -1
- package/dist/components/drawer/QDrawer.svelte.d.ts +4 -4
- package/dist/components/drawer/docs.d.ts +1 -1
- package/dist/components/drawer/index.scss +3 -1
- package/dist/components/footer/QFooter.svelte.d.ts +4 -4
- package/dist/components/footer/docs.d.ts +1 -1
- package/dist/components/icon/QIcon.svelte.d.ts +4 -4
- package/dist/components/icon/docs.d.ts +1 -1
- package/dist/components/input/QInput.svelte.d.ts +4 -4
- package/dist/components/input/docs.d.ts +1 -1
- package/dist/components/input/props.d.ts +1 -1
- package/dist/components/layout/QLayout.svelte.d.ts +4 -4
- package/dist/components/layout/docs.d.ts +1 -1
- package/dist/components/layout/index.scss +4 -1
- package/dist/components/list/QItem.svelte.d.ts +4 -4
- package/dist/components/list/QItemSection.svelte.d.ts +4 -4
- package/dist/components/list/QList.svelte.d.ts +4 -4
- package/dist/components/private/ContextReseter.svelte.d.ts +2 -2
- package/dist/components/private/QApi.svelte +1 -1
- package/dist/components/private/QApi.svelte.d.ts +2 -2
- package/dist/components/private/QDocs.svelte.d.ts +3 -3
- package/dist/components/private/QDocsSection.svelte.d.ts +2 -2
- package/dist/components/progress/QCircularProgress.svelte.d.ts +4 -4
- package/dist/components/progress/QLinearProgress.svelte.d.ts +4 -4
- package/dist/components/progress/props.d.ts +1 -1
- package/dist/components/progress/props.js +1 -1
- package/dist/components/radio/QRadio.svelte.d.ts +4 -4
- package/dist/components/radio/docs.d.ts +1 -1
- package/dist/components/railbar/QRailbar.svelte.d.ts +4 -4
- package/dist/components/select/QSelect.svelte.d.ts +4 -4
- package/dist/components/select/docs.d.ts +1 -1
- package/dist/components/select/index.scss +8 -2
- package/dist/components/select/props.d.ts +1 -1
- package/dist/components/separator/QSeparator.svelte +1 -1
- package/dist/components/separator/QSeparator.svelte.d.ts +4 -4
- package/dist/components/separator/props.d.ts +1 -1
- package/dist/components/table/QTable.svelte.d.ts +4 -4
- package/dist/components/table/docs.d.ts +1 -1
- package/dist/components/tabs/QTab.svelte +1 -1
- package/dist/components/tabs/QTab.svelte.d.ts +4 -4
- package/dist/components/tabs/QTabs.svelte.d.ts +4 -4
- package/dist/components/toggle/QToggle.svelte.d.ts +4 -4
- package/dist/components/toggle/docs.d.ts +1 -1
- package/dist/components/toggle/props.d.ts +1 -1
- package/dist/components/toggle/props.js +1 -1
- package/dist/components/toolbar/QToolbar.svelte.d.ts +4 -4
- package/dist/components/tooltip/QTooltip.svelte.d.ts +4 -4
- package/dist/css/mixins/field.scss +3 -1
- package/dist/css/mixins/menu.scss +3 -1
- package/dist/css/mixins.scss +4 -1
- package/dist/css/states.scss +3 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/stores/QTheme.d.ts +2 -1
- package/dist/stores/Quaff.d.ts +6 -5
- package/dist/utils/watchable.d.ts +1 -0
- package/package.json +23 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QCircularProgressProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type QCircularProgressProps_ = typeof __propDef.props;
|
|
18
|
+
export { QCircularProgressProps_ as QCircularProgressProps };
|
|
18
19
|
export type QCircularProgressEvents = typeof __propDef.events;
|
|
19
20
|
export type QCircularProgressSlots = typeof __propDef.slots;
|
|
20
|
-
export default class QCircularProgress extends
|
|
21
|
+
export default class QCircularProgress extends SvelteComponent<QCircularProgressProps, QCircularProgressEvents, QCircularProgressSlots> {
|
|
21
22
|
}
|
|
22
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QLinearProgressProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type QLinearProgressProps_ = typeof __propDef.props;
|
|
18
|
+
export { QLinearProgressProps_ as QLinearProgressProps };
|
|
18
19
|
export type QLinearProgressEvents = typeof __propDef.events;
|
|
19
20
|
export type QLinearProgressSlots = typeof __propDef.slots;
|
|
20
|
-
export default class QLinearProgress extends
|
|
21
|
+
export default class QLinearProgress extends SvelteComponent<QLinearProgressProps, QLinearProgressEvents, QLinearProgressSlots> {
|
|
21
22
|
}
|
|
22
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QRadioProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type QRadioProps_ = typeof __propDef.props;
|
|
18
|
+
export { QRadioProps_ as QRadioProps };
|
|
18
19
|
export type QRadioEvents = typeof __propDef.events;
|
|
19
20
|
export type QRadioSlots = typeof __propDef.slots;
|
|
20
|
-
export default class QRadio extends
|
|
21
|
+
export default class QRadio extends SvelteComponent<QRadioProps, QRadioEvents, QRadioSlots> {
|
|
21
22
|
}
|
|
22
|
-
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { QComponentDocs } from "
|
|
1
|
+
import type { QComponentDocs } from "../../utils/types";
|
|
2
2
|
export declare let QRadioDocs: QComponentDocs;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QRailbarProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -15,9 +15,9 @@ declare const __propDef: {
|
|
|
15
15
|
default: {};
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
type QRailbarProps_ = typeof __propDef.props;
|
|
19
|
+
export { QRailbarProps_ as QRailbarProps };
|
|
19
20
|
export type QRailbarEvents = typeof __propDef.events;
|
|
20
21
|
export type QRailbarSlots = typeof __propDef.slots;
|
|
21
|
-
export default class QRailbar extends
|
|
22
|
+
export default class QRailbar extends SvelteComponent<QRailbarProps, QRailbarEvents, QRailbarSlots> {
|
|
22
23
|
}
|
|
23
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QSelectProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -26,9 +26,9 @@ declare const __propDef: {
|
|
|
26
26
|
append: {};
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
type QSelectProps_ = typeof __propDef.props;
|
|
30
|
+
export { QSelectProps_ as QSelectProps };
|
|
30
31
|
export type QSelectEvents = typeof __propDef.events;
|
|
31
32
|
export type QSelectSlots = typeof __propDef.slots;
|
|
32
|
-
export default class QSelect extends
|
|
33
|
+
export default class QSelect extends SvelteComponent<QSelectProps, QSelectEvents, QSelectSlots> {
|
|
33
34
|
}
|
|
34
|
-
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { QComponentDocs } from "
|
|
1
|
+
import type { QComponentDocs } from "../../utils/types";
|
|
2
2
|
export declare let QSelectDocs: QComponentDocs;
|
|
@@ -14,13 +14,19 @@
|
|
|
14
14
|
opacity: 0;
|
|
15
15
|
visibility: hidden;
|
|
16
16
|
transform: scale(0.8) translateY(120%);
|
|
17
|
-
transition:
|
|
17
|
+
transition:
|
|
18
|
+
opacity var(--speed2),
|
|
19
|
+
transform var(--speed2),
|
|
20
|
+
visibility 0s var(--speed2);
|
|
18
21
|
|
|
19
22
|
&--active {
|
|
20
23
|
opacity: 1;
|
|
21
24
|
visibility: visible;
|
|
22
25
|
transform: scale(1) translateY(100%);
|
|
23
|
-
transition:
|
|
26
|
+
transition:
|
|
27
|
+
opacity var(--speed2),
|
|
28
|
+
transform var(--speed2),
|
|
29
|
+
visibility 0s 0s;
|
|
24
30
|
}
|
|
25
31
|
}
|
|
26
32
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script>import { createClasses, createStyles } from "
|
|
1
|
+
<script>import { createClasses, createStyles } from "../../utils/props";
|
|
2
2
|
export let spacing = "none", inset = false, vertical = false, color = void 0, size = "1px", text = void 0, textAlign = vertical === true ? "middle" : "center", userClasses = void 0, userStyles = void 0;
|
|
3
3
|
export { userClasses as class };
|
|
4
4
|
export { userStyles as style };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QSeparatorProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -17,9 +17,9 @@ declare const __propDef: {
|
|
|
17
17
|
};
|
|
18
18
|
slots: {};
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
type QSeparatorProps_ = typeof __propDef.props;
|
|
21
|
+
export { QSeparatorProps_ as QSeparatorProps };
|
|
21
22
|
export type QSeparatorEvents = typeof __propDef.events;
|
|
22
23
|
export type QSeparatorSlots = typeof __propDef.slots;
|
|
23
|
-
export default class QSeparator extends
|
|
24
|
+
export default class QSeparator extends SvelteComponent<QSeparatorProps, QSeparatorEvents, QSeparatorSlots> {
|
|
24
25
|
}
|
|
25
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QTableProps } from "./props";
|
|
3
3
|
import type { QTableColumn, QTableRow } from "./props";
|
|
4
4
|
declare const __propDef: {
|
|
@@ -21,9 +21,9 @@ declare const __propDef: {
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
type QTableProps_ = typeof __propDef.props;
|
|
25
|
+
export { QTableProps_ as QTableProps };
|
|
25
26
|
export type QTableEvents = typeof __propDef.events;
|
|
26
27
|
export type QTableSlots = typeof __propDef.slots;
|
|
27
|
-
export default class QTable extends
|
|
28
|
+
export default class QTable extends SvelteComponent<QTableProps, QTableEvents, QTableSlots> {
|
|
28
29
|
}
|
|
29
|
-
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { QComponentDocs } from "
|
|
1
|
+
import type { QComponentDocs } from "../../utils/types";
|
|
2
2
|
export declare let QTableDocs: QComponentDocs;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QTabProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -20,9 +20,9 @@ declare const __propDef: {
|
|
|
20
20
|
default: {};
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
type QTabProps_ = typeof __propDef.props;
|
|
24
|
+
export { QTabProps_ as QTabProps };
|
|
24
25
|
export type QTabEvents = typeof __propDef.events;
|
|
25
26
|
export type QTabSlots = typeof __propDef.slots;
|
|
26
|
-
export default class QTab extends
|
|
27
|
+
export default class QTab extends SvelteComponent<QTabProps, QTabEvents, QTabSlots> {
|
|
27
28
|
}
|
|
28
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QTabsProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -15,9 +15,9 @@ declare const __propDef: {
|
|
|
15
15
|
default: {};
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
type QTabsProps_ = typeof __propDef.props;
|
|
19
|
+
export { QTabsProps_ as QTabsProps };
|
|
19
20
|
export type QTabsEvents = typeof __propDef.events;
|
|
20
21
|
export type QTabsSlots = typeof __propDef.slots;
|
|
21
|
-
export default class QTabs extends
|
|
22
|
+
export default class QTabs extends SvelteComponent<QTabsProps, QTabsEvents, QTabsSlots> {
|
|
22
23
|
}
|
|
23
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QToggleProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -15,9 +15,9 @@ declare const __propDef: {
|
|
|
15
15
|
};
|
|
16
16
|
slots: {};
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
type QToggleProps_ = typeof __propDef.props;
|
|
19
|
+
export { QToggleProps_ as QToggleProps };
|
|
19
20
|
export type QToggleEvents = typeof __propDef.events;
|
|
20
21
|
export type QToggleSlots = typeof __propDef.slots;
|
|
21
|
-
export default class QToggle extends
|
|
22
|
+
export default class QToggle extends SvelteComponent<QToggleProps, QToggleEvents, QToggleSlots> {
|
|
22
23
|
}
|
|
23
|
-
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { QComponentDocs } from "
|
|
1
|
+
import type { QComponentDocs } from "../../utils/types";
|
|
2
2
|
export declare let QToggleDocs: QComponentDocs;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QToolbarProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -15,9 +15,9 @@ declare const __propDef: {
|
|
|
15
15
|
default: {};
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
type QToolbarProps_ = typeof __propDef.props;
|
|
19
|
+
export { QToolbarProps_ as QToolbarProps };
|
|
19
20
|
export type QToolbarEvents = typeof __propDef.events;
|
|
20
21
|
export type QToolbarSlots = typeof __propDef.slots;
|
|
21
|
-
export default class QToolbar extends
|
|
22
|
+
export default class QToolbar extends SvelteComponent<QToolbarProps, QToolbarEvents, QToolbarSlots> {
|
|
22
23
|
}
|
|
23
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { QTooltipProps } from "./props";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
default: {};
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type QTooltipProps_ = typeof __propDef.props;
|
|
18
|
+
export { QTooltipProps_ as QTooltipProps };
|
|
18
19
|
export type QTooltipEvents = typeof __propDef.events;
|
|
19
20
|
export type QTooltipSlots = typeof __propDef.slots;
|
|
20
|
-
export default class QTooltip extends
|
|
21
|
+
export default class QTooltip extends SvelteComponent<QTooltipProps, QTooltipEvents, QTooltipSlots> {
|
|
21
22
|
}
|
|
22
|
-
export {};
|
package/dist/css/mixins.scss
CHANGED
|
@@ -77,7 +77,10 @@
|
|
|
77
77
|
@mixin responsive($parent: null) {
|
|
78
78
|
object-fit: cover;
|
|
79
79
|
object-position: center;
|
|
80
|
-
transition:
|
|
80
|
+
transition:
|
|
81
|
+
var(--speed3) transform,
|
|
82
|
+
var(--speed3) border-radius,
|
|
83
|
+
var(--speed3) padding;
|
|
81
84
|
width: 100%;
|
|
82
85
|
height: 100%;
|
|
83
86
|
|
package/dist/css/states.scss
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "
|
|
1
|
+
export * from "./components";
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Reexport your entry components here
|
|
2
|
-
export * from "
|
|
2
|
+
export * from "./components";
|
package/dist/stores/QTheme.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="svelte" />
|
|
1
2
|
interface IMaterialDynamicColorsThemeColorFormatted {
|
|
2
3
|
primary: string;
|
|
3
4
|
"on-primary": string;
|
|
@@ -33,7 +34,7 @@ interface IMaterialDynamicColorsThemeFormatted {
|
|
|
33
34
|
}
|
|
34
35
|
type CSSDynamicColor = `${keyof IMaterialDynamicColorsThemeColorFormatted}-${keyof IMaterialDynamicColorsThemeFormatted}`;
|
|
35
36
|
export declare const QTheme: {
|
|
36
|
-
subscribe: (this: void, run: import("svelte/store").Subscriber<Record<"error-dark" | "error-light" | "outline-dark" | "outline-light" | "primary-dark" | "primary-light" | "secondary-dark" | "secondary-light" | "tertiary-dark" | "tertiary-light" | "surface-dark" | "surface-light" | "surface-variant-dark" | "surface-variant-light" | "on-primary-dark" | "on-primary-light" | "primary-container-dark" | "primary-container-light" | "on-primary-container-dark" | "on-primary-container-light" | "on-secondary-dark" | "on-secondary-light" | "secondary-container-dark" | "secondary-container-light" | "on-secondary-container-dark" | "on-secondary-container-light" | "on-tertiary-dark" | "on-tertiary-light" | "tertiary-container-dark" | "tertiary-container-light" | "on-tertiary-container-dark" | "on-tertiary-container-light" | "error-container-dark" | "error-container-light" | "on-error-dark" | "on-error-light" | "on-error-container-dark" | "on-error-container-light" | "background-dark" | "background-light" | "on-background-dark" | "on-background-light" | "on-surface-dark" | "on-surface-light" | "on-surface-variant-dark" | "on-surface-variant-light" | "inverse-on-surface-dark" | "inverse-on-surface-light" | "inverse-surface-dark" | "inverse-surface-light" | "inverse-primary-dark" | "inverse-primary-light" | "shadow-dark" | "shadow-light", string>>, invalidate?: (
|
|
37
|
+
subscribe: (this: void, run: import("svelte/store").Subscriber<Record<"error-dark" | "error-light" | "outline-dark" | "outline-light" | "primary-dark" | "primary-light" | "secondary-dark" | "secondary-light" | "tertiary-dark" | "tertiary-light" | "surface-dark" | "surface-light" | "surface-variant-dark" | "surface-variant-light" | "on-primary-dark" | "on-primary-light" | "primary-container-dark" | "primary-container-light" | "on-primary-container-dark" | "on-primary-container-light" | "on-secondary-dark" | "on-secondary-light" | "secondary-container-dark" | "secondary-container-light" | "on-secondary-container-dark" | "on-secondary-container-light" | "on-tertiary-dark" | "on-tertiary-light" | "tertiary-container-dark" | "tertiary-container-light" | "on-tertiary-container-dark" | "on-tertiary-container-light" | "error-container-dark" | "error-container-light" | "on-error-dark" | "on-error-light" | "on-error-container-dark" | "on-error-container-light" | "background-dark" | "background-light" | "on-background-dark" | "on-background-light" | "on-surface-dark" | "on-surface-light" | "on-surface-variant-dark" | "on-surface-variant-light" | "inverse-on-surface-dark" | "inverse-on-surface-light" | "inverse-surface-dark" | "inverse-surface-light" | "inverse-primary-dark" | "inverse-primary-light" | "shadow-dark" | "shadow-light", string>>, invalidate?: import("svelte/store").Invalidator<Record<"error-dark" | "error-light" | "outline-dark" | "outline-light" | "primary-dark" | "primary-light" | "secondary-dark" | "secondary-light" | "tertiary-dark" | "tertiary-light" | "surface-dark" | "surface-light" | "surface-variant-dark" | "surface-variant-light" | "on-primary-dark" | "on-primary-light" | "primary-container-dark" | "primary-container-light" | "on-primary-container-dark" | "on-primary-container-light" | "on-secondary-dark" | "on-secondary-light" | "secondary-container-dark" | "secondary-container-light" | "on-secondary-container-dark" | "on-secondary-container-light" | "on-tertiary-dark" | "on-tertiary-light" | "tertiary-container-dark" | "tertiary-container-light" | "on-tertiary-container-dark" | "on-tertiary-container-light" | "error-container-dark" | "error-container-light" | "on-error-dark" | "on-error-light" | "on-error-container-dark" | "on-error-container-light" | "background-dark" | "background-light" | "on-background-dark" | "on-background-light" | "on-surface-dark" | "on-surface-light" | "on-surface-variant-dark" | "on-surface-variant-light" | "inverse-on-surface-dark" | "inverse-on-surface-light" | "inverse-surface-dark" | "inverse-surface-light" | "inverse-primary-dark" | "inverse-primary-light" | "shadow-dark" | "shadow-light", string>> | undefined) => import("svelte/store").Unsubscriber;
|
|
37
38
|
setThemeColors: (from: string) => Promise<void>;
|
|
38
39
|
updateThemeColor: (color: CSSDynamicColor, newValue: string) => void;
|
|
39
40
|
apply: () => void;
|
package/dist/stores/Quaff.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
/// <reference types="svelte" />
|
|
1
2
|
/// <reference types="@sveltejs/kit" />
|
|
2
3
|
export declare const quaffStore: {
|
|
3
4
|
subscribe: (this: void, run: import("svelte/store").Subscriber<{
|
|
4
5
|
version: string;
|
|
5
6
|
dark: boolean;
|
|
6
|
-
}>, invalidate?: (
|
|
7
|
+
}>, invalidate?: import("svelte/store").Invalidator<{
|
|
7
8
|
version: string;
|
|
8
9
|
dark: boolean;
|
|
9
|
-
} | undefined) =>
|
|
10
|
+
}> | undefined) => import("svelte/store").Unsubscriber;
|
|
10
11
|
setDarkMode: (newVal: boolean) => void;
|
|
11
12
|
toggleDarkMode: () => void;
|
|
12
13
|
};
|
|
@@ -22,10 +23,10 @@ export declare const Quaff: import("svelte/store").Readable<{
|
|
|
22
23
|
quaff: (this: void, run: import("svelte/store").Subscriber<{
|
|
23
24
|
version: string;
|
|
24
25
|
dark: boolean;
|
|
25
|
-
}>, invalidate?: (
|
|
26
|
+
}>, invalidate?: import("svelte/store").Invalidator<{
|
|
26
27
|
version: string;
|
|
27
28
|
dark: boolean;
|
|
28
|
-
} | undefined) =>
|
|
29
|
-
page: (this: void, run: import("svelte/store").Subscriber<import("@sveltejs/kit").Page<Record<string, string>, string | null>>, invalidate?: (
|
|
29
|
+
}> | undefined) => import("svelte/store").Unsubscriber;
|
|
30
|
+
page: (this: void, run: import("svelte/store").Subscriber<import("@sveltejs/kit").Page<Record<string, string>, string | null>>, invalidate?: import("svelte/store").Invalidator<import("@sveltejs/kit").Page<Record<string, string>, string | null>> | undefined) => import("svelte/store").Unsubscriber;
|
|
30
31
|
};
|
|
31
32
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quaffui/quaff",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-prealpha3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"open": "vite dev --open",
|
|
@@ -28,38 +28,38 @@
|
|
|
28
28
|
"!dist/**/*.spec.*"
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"svelte": "^
|
|
31
|
+
"svelte": "^4.0.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@sveltejs/adapter-auto": "^2.
|
|
35
|
-
"@sveltejs/kit": "^1.
|
|
36
|
-
"@sveltejs/package": "^2.
|
|
37
|
-
"@types/node": "^20.
|
|
34
|
+
"@sveltejs/adapter-auto": "^2.1.0",
|
|
35
|
+
"@sveltejs/kit": "^1.22.4",
|
|
36
|
+
"@sveltejs/package": "^2.2.0",
|
|
37
|
+
"@types/node": "^20.4.6",
|
|
38
38
|
"@types/prettier": "^2.7.3",
|
|
39
39
|
"@types/prismjs": "^1.26.0",
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
41
|
-
"@typescript-eslint/parser": "^
|
|
42
|
-
"eslint": "^8.
|
|
43
|
-
"eslint-config-prettier": "^8.
|
|
44
|
-
"eslint-plugin-svelte": "^2.
|
|
45
|
-
"prettier": "^
|
|
46
|
-
"prettier-plugin-svelte": "^
|
|
47
|
-
"publint": "^0.
|
|
48
|
-
"sass": "^1.
|
|
49
|
-
"svelte": "^
|
|
50
|
-
"svelte-check": "^3.
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
|
41
|
+
"@typescript-eslint/parser": "^6.2.1",
|
|
42
|
+
"eslint": "^8.46.0",
|
|
43
|
+
"eslint-config-prettier": "^8.9.0",
|
|
44
|
+
"eslint-plugin-svelte": "^2.32.4",
|
|
45
|
+
"prettier": "^3.0.0",
|
|
46
|
+
"prettier-plugin-svelte": "^3.0.3",
|
|
47
|
+
"publint": "^0.2.0",
|
|
48
|
+
"sass": "^1.64.2",
|
|
49
|
+
"svelte": "^4.1.2",
|
|
50
|
+
"svelte-check": "^3.4.6",
|
|
51
51
|
"ts-node": "^10.9.1",
|
|
52
|
-
"tslib": "^2.
|
|
53
|
-
"typescript": "^5.
|
|
54
|
-
"vite": "^4.
|
|
55
|
-
"vitest": "^0.
|
|
52
|
+
"tslib": "^2.6.1",
|
|
53
|
+
"typescript": "^5.1.6",
|
|
54
|
+
"vite": "^4.4.8",
|
|
55
|
+
"vitest": "^0.34.1"
|
|
56
56
|
},
|
|
57
57
|
"svelte": "./dist/index.js",
|
|
58
58
|
"types": "./dist/index.d.ts",
|
|
59
59
|
"type": "module",
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"beercss": "^3.2.
|
|
62
|
-
"material-dynamic-colors": "^0.1
|
|
61
|
+
"beercss": "^3.2.13",
|
|
62
|
+
"material-dynamic-colors": "^1.0.1",
|
|
63
63
|
"prism-svelte": "0.5.0",
|
|
64
64
|
"prismjs": "^1.29.0"
|
|
65
65
|
}
|