@quidgest/ui 0.5.1 → 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/LICENSE.md +21 -0
- 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/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Quidgest - Consultores de Gestão, SA
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
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 { }
|