@quidgest/ui 0.5.2 → 0.5.3
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/index.d.ts +18 -2
- package/dist/ui.esm.js +113 -103
- package/dist/ui.esm.js.map +1 -1
- package/dist/ui.js +3 -3
- package/dist/ui.js.map +1 -1
- package/dist/ui.min.js +35 -31
- package/dist/ui.min.js.map +1 -1
- package/dist/ui.scss +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import type { Component } from 'vue';
|
|
2
3
|
import { ComponentCustomProps } from 'vue';
|
|
3
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
4
5
|
import { ComponentPublicInstance } from 'vue';
|
|
@@ -8,6 +9,7 @@ import { ExtractPropTypes } from 'vue';
|
|
|
8
9
|
import { ObjectDirective } from 'vue';
|
|
9
10
|
import type { Plugin as Plugin_2 } from 'vue';
|
|
10
11
|
import { PropType } from 'vue';
|
|
12
|
+
import type { Ref } from 'vue';
|
|
11
13
|
import { VNodeProps } from 'vue';
|
|
12
14
|
|
|
13
15
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -366,7 +368,7 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
|
366
368
|
|
|
367
369
|
declare type Appearance = 'regular' | 'inverted';
|
|
368
370
|
|
|
369
|
-
declare type AppThemes = {
|
|
371
|
+
export declare type AppThemes = {
|
|
370
372
|
defaultTheme: string;
|
|
371
373
|
themes: Array<{
|
|
372
374
|
name: string;
|
|
@@ -422,6 +424,7 @@ declare type Defaults = Record<string | symbol, ComponentDefaults>;
|
|
|
422
424
|
declare function focusItem(itemIdx: number): void;
|
|
423
425
|
|
|
424
426
|
declare type FrameworkConfig = {
|
|
427
|
+
components?: Record<string, Component>;
|
|
425
428
|
directives?: Record<string, Directive>;
|
|
426
429
|
themes?: AppThemes;
|
|
427
430
|
defaults?: Defaults;
|
|
@@ -1581,8 +1584,21 @@ export declare const QTooltip: DefineComponent<__VLS_WithDefaults_13<__VLS_TypeP
|
|
|
1581
1584
|
|
|
1582
1585
|
declare type Selector = string | Element | ComponentPublicInstance;
|
|
1583
1586
|
|
|
1584
|
-
declare type
|
|
1587
|
+
declare type ThemeConfiguration = {
|
|
1588
|
+
activeTheme: string;
|
|
1589
|
+
themes: ThemeDefinition[];
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
export declare type ThemeDefinition = {
|
|
1593
|
+
name: string;
|
|
1594
|
+
mode: ThemeMode;
|
|
1595
|
+
colors: ColorScheme;
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
export declare type ThemeMode = 'light' | 'dark';
|
|
1585
1599
|
|
|
1586
1600
|
declare type Trigger = 'hover' | 'click' | 'manual';
|
|
1587
1601
|
|
|
1602
|
+
export declare function useTheme(): Ref<ThemeConfiguration>;
|
|
1603
|
+
|
|
1588
1604
|
export { }
|