@weni/unnnic-system 3.24.6-alpha.0 → 3.24.6-alpha.2
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/{es-C7EchK9t.mjs → es-D0DCOGVM.mjs} +1 -1
- package/dist/{index-CXV9TdAl.mjs → index-DWPE8KtV.mjs} +15 -12
- package/dist/index.d.ts +9 -0
- package/dist/{pt-br-COhQepI1.mjs → pt-br-CzYyIFBp.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/tokens/colors.mjs +3 -3
- package/dist/unnnic.mjs +1 -1
- package/dist/unnnic.umd.js +3 -3
- package/package.json +1 -1
- package/src/assets/scss/colors-hsl.scss +3 -3
- package/src/assets/scss/colors.scss +3 -3
- package/src/assets/tokens/colors.json +3 -3
- package/src/components/PageHeader/PageHeader.vue +23 -20
- package/src/components/PageHeader/types.ts +1 -0
- package/src/stories/PageHeader.stories.js +28 -0
|
@@ -31547,8 +31547,8 @@ function iV(e, a, t, i, n, o) {
|
|
|
31547
31547
|
});
|
|
31548
31548
|
}
|
|
31549
31549
|
const nV = /* @__PURE__ */ V(aV, [["render", iV], ["__scopeId", "data-v-6e72cfbd"]]);
|
|
31550
|
-
import("./es-
|
|
31551
|
-
import("./pt-br-
|
|
31550
|
+
import("./es-D0DCOGVM.mjs");
|
|
31551
|
+
import("./pt-br-CzYyIFBp.mjs");
|
|
31552
31552
|
const Gc = {
|
|
31553
31553
|
name: "ChatsContact",
|
|
31554
31554
|
components: {
|
|
@@ -101844,7 +101844,8 @@ const l_ = /* @__PURE__ */ V(cZ, [["render", hZ], ["__scopeId", "data-v-57f9bfb3
|
|
|
101844
101844
|
props: {
|
|
101845
101845
|
title: {},
|
|
101846
101846
|
description: { default: "" },
|
|
101847
|
-
hasBackButton: { type: Boolean, default: !1 }
|
|
101847
|
+
hasBackButton: { type: Boolean, default: !1 },
|
|
101848
|
+
hideDivider: { type: Boolean, default: !1 }
|
|
101848
101849
|
},
|
|
101849
101850
|
emits: ["back"],
|
|
101850
101851
|
setup(e, { emit: a }) {
|
|
@@ -101854,7 +101855,7 @@ const l_ = /* @__PURE__ */ V(cZ, [["render", hZ], ["__scopeId", "data-v-57f9bfb3
|
|
|
101854
101855
|
return (n, o) => (g(), b("header", {
|
|
101855
101856
|
class: Y(`page-header
|
|
101856
101857
|
${n.hasBackButton ? "page-header--has-back-button" : ""}
|
|
101857
|
-
${n.$slots.tabs ? "page-header--
|
|
101858
|
+
${n.$slots.tabs || n.hideDivider ? "page-header--no-diviver" : ""}
|
|
101858
101859
|
`)
|
|
101859
101860
|
}, [
|
|
101860
101861
|
n.hasBackButton ? (g(), R(Pt, {
|
|
@@ -101865,13 +101866,15 @@ const l_ = /* @__PURE__ */ V(cZ, [["render", hZ], ["__scopeId", "data-v-57f9bfb3
|
|
|
101865
101866
|
class: "page-header__back-button",
|
|
101866
101867
|
onClick: i
|
|
101867
101868
|
})) : N("", !0),
|
|
101868
|
-
|
|
101869
|
-
y("section",
|
|
101870
|
-
y("
|
|
101871
|
-
|
|
101872
|
-
|
|
101873
|
-
|
|
101874
|
-
|
|
101869
|
+
Z(n.$slots, "infos", {}, () => [
|
|
101870
|
+
y("section", GZ, [
|
|
101871
|
+
y("section", VZ, [
|
|
101872
|
+
y("h1", WZ, L(n.title), 1),
|
|
101873
|
+
Z(n.$slots, "tag", {}, void 0, !0)
|
|
101874
|
+
]),
|
|
101875
|
+
n.description ? (g(), b("p", QZ, L(n.description), 1)) : N("", !0)
|
|
101876
|
+
])
|
|
101877
|
+
], !0),
|
|
101875
101878
|
n.$slots.actions ? (g(), b("section", XZ, [
|
|
101876
101879
|
Z(n.$slots, "actions", {}, void 0, !0)
|
|
101877
101880
|
])) : N("", !0),
|
|
@@ -101880,7 +101883,7 @@ const l_ = /* @__PURE__ */ V(cZ, [["render", hZ], ["__scopeId", "data-v-57f9bfb3
|
|
|
101880
101883
|
])) : N("", !0)
|
|
101881
101884
|
], 2));
|
|
101882
101885
|
}
|
|
101883
|
-
}), m_ = /* @__PURE__ */ V(ZZ, [["__scopeId", "data-v-
|
|
101886
|
+
}), m_ = /* @__PURE__ */ V(ZZ, [["__scopeId", "data-v-41b0484a"]]), F_ = /* @__PURE__ */ ue({
|
|
101884
101887
|
name: "UnnnicDialogTrigger",
|
|
101885
101888
|
__name: "DialogTrigger",
|
|
101886
101889
|
props: {
|
package/dist/index.d.ts
CHANGED
|
@@ -153,6 +153,7 @@ declare interface PageHeaderProps {
|
|
|
153
153
|
title: string;
|
|
154
154
|
description?: string;
|
|
155
155
|
hasBackButton?: boolean;
|
|
156
|
+
hideDivider?: boolean;
|
|
156
157
|
}
|
|
157
158
|
|
|
158
159
|
declare type PeriodOption = {
|
|
@@ -17395,6 +17396,7 @@ export declare const UnnnicPageHeader: {
|
|
|
17395
17396
|
}, PublicProps, {
|
|
17396
17397
|
description: string;
|
|
17397
17398
|
hasBackButton: boolean;
|
|
17399
|
+
hideDivider: boolean;
|
|
17398
17400
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLElement, ComponentProvideOptions, {
|
|
17399
17401
|
P: {};
|
|
17400
17402
|
B: {};
|
|
@@ -17407,6 +17409,7 @@ export declare const UnnnicPageHeader: {
|
|
|
17407
17409
|
}>, {}, {}, {}, {}, {
|
|
17408
17410
|
description: string;
|
|
17409
17411
|
hasBackButton: boolean;
|
|
17412
|
+
hideDivider: boolean;
|
|
17410
17413
|
}>;
|
|
17411
17414
|
__isFragment?: never;
|
|
17412
17415
|
__isTeleport?: never;
|
|
@@ -17418,8 +17421,10 @@ back: () => any;
|
|
|
17418
17421
|
}, string, {
|
|
17419
17422
|
description: string;
|
|
17420
17423
|
hasBackButton: boolean;
|
|
17424
|
+
hideDivider: boolean;
|
|
17421
17425
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
17422
17426
|
$slots: {
|
|
17427
|
+
infos?(_: {}): any;
|
|
17423
17428
|
tag?(_: {}): any;
|
|
17424
17429
|
actions?(_: {}): any;
|
|
17425
17430
|
tabs?(_: {}): any;
|
|
@@ -17434,6 +17439,7 @@ export declare const unnnicPageHeader: {
|
|
|
17434
17439
|
}, PublicProps, {
|
|
17435
17440
|
description: string;
|
|
17436
17441
|
hasBackButton: boolean;
|
|
17442
|
+
hideDivider: boolean;
|
|
17437
17443
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLElement, ComponentProvideOptions, {
|
|
17438
17444
|
P: {};
|
|
17439
17445
|
B: {};
|
|
@@ -17446,6 +17452,7 @@ export declare const unnnicPageHeader: {
|
|
|
17446
17452
|
}>, {}, {}, {}, {}, {
|
|
17447
17453
|
description: string;
|
|
17448
17454
|
hasBackButton: boolean;
|
|
17455
|
+
hideDivider: boolean;
|
|
17449
17456
|
}>;
|
|
17450
17457
|
__isFragment?: never;
|
|
17451
17458
|
__isTeleport?: never;
|
|
@@ -17457,8 +17464,10 @@ back: () => any;
|
|
|
17457
17464
|
}, string, {
|
|
17458
17465
|
description: string;
|
|
17459
17466
|
hasBackButton: boolean;
|
|
17467
|
+
hideDivider: boolean;
|
|
17460
17468
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
17461
17469
|
$slots: {
|
|
17470
|
+
infos?(_: {}): any;
|
|
17462
17471
|
tag?(_: {}): any;
|
|
17463
17472
|
actions?(_: {}): any;
|
|
17464
17473
|
tabs?(_: {}): any;
|