@quidgest/ui 0.16.41 → 0.16.43
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/json/api.json +33 -1
- package/dist/ui.css +18 -22
- package/dist/ui.esm.js +176 -165
- package/dist/ui.js +5 -5
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +9 -7
- package/dist/ui.scss +65 -53
- package/esm/components/QDivider/QDivider.d.ts +2 -0
- package/esm/components/QDivider/QDivider.d.ts.map +1 -1
- package/esm/components/QDivider/QDivider.vue.js +26 -18
- package/esm/components/QDivider/index.d.ts +6 -0
- package/esm/components/QDivider/index.d.ts.map +1 -1
- package/esm/components/QDivider/types.d.ts +14 -0
- package/esm/components/QDivider/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +99 -95
- package/package.json +1 -1
package/dist/ui.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quidgest UI v0.16.
|
|
2
|
+
* Quidgest UI v0.16.43
|
|
3
3
|
* (c) 2025 Quidgest - Consultores de Gestão, S.A.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -516,7 +516,7 @@ $transition-duration: 0.2s !default;
|
|
|
516
516
|
border-radius: 9999px;
|
|
517
517
|
}
|
|
518
518
|
&--disabled {
|
|
519
|
-
opacity: 0.
|
|
519
|
+
opacity: 0.6;
|
|
520
520
|
pointer-events: none;
|
|
521
521
|
}
|
|
522
522
|
&--clickable {
|
|
@@ -1573,62 +1573,74 @@ $q-carousel-height-md: 300px;
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
.q-divider {
|
|
1576
|
+
--q-divider-thickness: 1px;
|
|
1577
|
+
--q-divider-color: var(--q-theme-neutral);
|
|
1576
1578
|
display: flex;
|
|
1577
1579
|
align-items: center;
|
|
1578
1580
|
justify-content: center;
|
|
1579
1581
|
position: relative;
|
|
1580
|
-
color: var(--q-
|
|
1582
|
+
color: var(--q-divider-color);
|
|
1581
1583
|
font-size: 0.875rem;
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
}
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
.q-divider--
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1584
|
+
|
|
1585
|
+
&--horizontal {
|
|
1586
|
+
width: 100%;
|
|
1587
|
+
flex-direction: row;
|
|
1588
|
+
margin: 8px 0;
|
|
1589
|
+
}
|
|
1590
|
+
&--horizontal:not(.q-divider--labeled)::before {
|
|
1591
|
+
content: '';
|
|
1592
|
+
flex: 1;
|
|
1593
|
+
border-top-width: var(--q-divider-thickness);
|
|
1594
|
+
border-color: var(--q-divider-color);
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
&--horizontal.q-divider--labeled .q-divider__line {
|
|
1598
|
+
flex: 1;
|
|
1599
|
+
border-top-width: var(--q-divider-thickness);
|
|
1600
|
+
border-color: var(--q-divider-color);
|
|
1601
|
+
}
|
|
1602
|
+
&--horizontal.q-divider--labeled .q-divider__label {
|
|
1603
|
+
padding: 0 12px;
|
|
1604
|
+
white-space: nowrap;
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
&--horizontal.q-divider--inset {
|
|
1608
|
+
max-width: calc(100% - 72px);
|
|
1609
|
+
margin-inline-start: 72px;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
&--vertical {
|
|
1613
|
+
display: flex;
|
|
1614
|
+
flex-direction: column;
|
|
1615
|
+
align-items: center;
|
|
1616
|
+
height: 100%;
|
|
1617
|
+
min-height: 100%;
|
|
1618
|
+
margin: 0 8px;
|
|
1619
|
+
}
|
|
1620
|
+
&--vertical:not(.q-divider--labeled)::before {
|
|
1621
|
+
content: '';
|
|
1622
|
+
flex: 1;
|
|
1623
|
+
border-left-width: var(--q-divider-thickness);
|
|
1624
|
+
border-color: var(--q-divider-color);
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
&--vertical.q-divider--labeled .q-divider__line {
|
|
1628
|
+
border-left-width: var(--q-divider-thickness);
|
|
1629
|
+
border-color: var(--q-divider-color);
|
|
1630
|
+
height: 100%;
|
|
1631
|
+
}
|
|
1632
|
+
&--vertical.q-divider--labeled .q-divider__label {
|
|
1633
|
+
writing-mode: vertical-rl;
|
|
1634
|
+
text-orientation: mixed;
|
|
1635
|
+
padding: 12px 0;
|
|
1636
|
+
white-space: nowrap;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
&--vertical.q-divider--inset {
|
|
1640
|
+
margin-bottom: 8px;
|
|
1641
|
+
margin-top: 8px;
|
|
1642
|
+
max-height: calc(100% - 16px);
|
|
1643
|
+
}
|
|
1632
1644
|
}
|
|
1633
1645
|
.q-dropdown-menu {
|
|
1634
1646
|
&__body {
|
|
@@ -9,7 +9,9 @@ declare function __VLS_template(): {
|
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<QDividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QDividerProps> & Readonly<{}>, {
|
|
12
|
+
color: string;
|
|
12
13
|
direction: "horizontal" | "vertical";
|
|
14
|
+
thickness: number;
|
|
13
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
17
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDivider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/QDivider.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QDivider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/QDivider.vue"],"names":[],"mappings":"AAeA;AAsEC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAiD7C,iBAAS,cAAc;WAsCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,42 +1,50 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as m, computed as i, useSlots as p, toRef as f, createElementBlock as r, openBlock as n, normalizeStyle as _, normalizeClass as q, createCommentVNode as k, Fragment as y, createElementVNode as l, renderSlot as h } from "vue";
|
|
2
|
+
import { useColor as C } from "../../composables/useColor/index.js";
|
|
3
|
+
const $ = ["id"], b = { class: "q-divider__label" }, S = /* @__PURE__ */ m({
|
|
3
4
|
__name: "QDivider",
|
|
4
5
|
props: {
|
|
5
6
|
id: {},
|
|
6
7
|
class: {},
|
|
7
8
|
direction: { default: "horizontal" },
|
|
8
|
-
inset: { type: Boolean }
|
|
9
|
+
inset: { type: Boolean },
|
|
10
|
+
thickness: { default: 1 },
|
|
11
|
+
color: { default: "neutral" }
|
|
9
12
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const e =
|
|
13
|
+
setup(d) {
|
|
14
|
+
const e = d, o = i(() => !!p().default), a = i(() => [
|
|
12
15
|
"q-divider",
|
|
13
16
|
`q-divider--${e.direction}`,
|
|
14
17
|
{
|
|
15
18
|
"q-divider--inset": e.inset,
|
|
16
|
-
"q-divider--labeled":
|
|
19
|
+
"q-divider--labeled": o.value
|
|
17
20
|
},
|
|
18
21
|
e.class
|
|
19
|
-
])
|
|
20
|
-
|
|
22
|
+
]), { isUtilityColor: c, style: u } = C(f(e, "color")), v = i(() => {
|
|
23
|
+
var s;
|
|
24
|
+
const t = {};
|
|
25
|
+
return e.thickness >= 0 && e.thickness !== 1 && (t["--q-divider-thickness"] = `${e.thickness}px`), e.color !== "neutral" && (t["--q-divider-color"] = c.value ? `var(--q-theme-${e.color})` : (s = u.value) == null ? void 0 : s.mainColor), t;
|
|
26
|
+
});
|
|
27
|
+
return (t, s) => (n(), r("div", {
|
|
21
28
|
id: e.id,
|
|
22
|
-
class:
|
|
29
|
+
class: q(a.value),
|
|
30
|
+
style: _(v.value),
|
|
23
31
|
role: "separator"
|
|
24
32
|
}, [
|
|
25
|
-
|
|
26
|
-
|
|
33
|
+
o.value ? (n(), r(
|
|
34
|
+
y,
|
|
27
35
|
{ key: 0 },
|
|
28
36
|
[
|
|
29
|
-
|
|
37
|
+
s[0] || (s[0] = l(
|
|
30
38
|
"div",
|
|
31
39
|
{ class: "q-divider__line" },
|
|
32
40
|
null,
|
|
33
41
|
-1
|
|
34
42
|
/* HOISTED */
|
|
35
43
|
)),
|
|
36
|
-
|
|
37
|
-
|
|
44
|
+
l("span", b, [
|
|
45
|
+
h(t.$slots, "default")
|
|
38
46
|
]),
|
|
39
|
-
|
|
47
|
+
s[1] || (s[1] = l(
|
|
40
48
|
"div",
|
|
41
49
|
{ class: "q-divider__line" },
|
|
42
50
|
null,
|
|
@@ -46,10 +54,10 @@ const f = ["id"], q = { class: "q-divider__label" }, b = /* @__PURE__ */ v({
|
|
|
46
54
|
],
|
|
47
55
|
64
|
|
48
56
|
/* STABLE_FRAGMENT */
|
|
49
|
-
)) :
|
|
50
|
-
],
|
|
57
|
+
)) : k("v-if", !0)
|
|
58
|
+
], 14, $));
|
|
51
59
|
}
|
|
52
60
|
});
|
|
53
61
|
export {
|
|
54
|
-
|
|
62
|
+
S as default
|
|
55
63
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
declare const QDivider: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QDividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
+
color: string;
|
|
3
4
|
direction: "horizontal" | "vertical";
|
|
5
|
+
thickness: number;
|
|
4
6
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
5
7
|
P: {};
|
|
6
8
|
B: {};
|
|
@@ -9,13 +11,17 @@ declare const QDivider: {
|
|
|
9
11
|
M: {};
|
|
10
12
|
Defaults: {};
|
|
11
13
|
}, Readonly<import('./types').QDividerProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
14
|
+
color: string;
|
|
12
15
|
direction: "horizontal" | "vertical";
|
|
16
|
+
thickness: number;
|
|
13
17
|
}>;
|
|
14
18
|
__isFragment?: never;
|
|
15
19
|
__isTeleport?: never;
|
|
16
20
|
__isSuspense?: never;
|
|
17
21
|
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QDividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
22
|
+
color: string;
|
|
18
23
|
direction: "horizontal" | "vertical";
|
|
24
|
+
thickness: number;
|
|
19
25
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
20
26
|
$slots: {
|
|
21
27
|
default?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA;AAG3C,OAAO,EAAE,QAAQ,EAAE,CAAA;AAGnB,cAAc,SAAS,CAAA"}
|
|
@@ -12,5 +12,19 @@ export type QDividerProps = QBaseComponentProps & {
|
|
|
12
12
|
* @category Presentation
|
|
13
13
|
*/
|
|
14
14
|
inset?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The thickness of the divider line in pixels.
|
|
17
|
+
*
|
|
18
|
+
* @category Presentation
|
|
19
|
+
*/
|
|
20
|
+
thickness?: number;
|
|
21
|
+
/**
|
|
22
|
+
* The color of the divider line.
|
|
23
|
+
* Can be chosen from utility colors like 'success' or 'danger',
|
|
24
|
+
* or specified using CSS color codes.
|
|
25
|
+
*
|
|
26
|
+
* @category Presentation
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
15
29
|
};
|
|
16
30
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;;;OAIG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IAErC;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;;;OAIG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IAErC;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAiMA;AAwhBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAe1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAgD,MAAM,KAAK,CAAA;AAMtF,KAAK,WAAW,GAAG,YAAY,CAAC;AAoUjC,KAAK,iBAAiB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