@nightshadeui/core 2.0.17 → 2.0.18

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.
@@ -1,28 +1,8 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- to: {
3
- required: true;
4
- };
5
- activeOverrides: {
6
- type: ObjectConstructor;
7
- };
8
- exactActiveOverrides: {
9
- type: ObjectConstructor;
10
- };
11
- }>, {}, {}, {}, {
12
- actualAttrs(isActive: any, isExactActive: any): {
13
- [x: string]: any;
14
- };
15
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
- to: {
17
- required: true;
18
- };
19
- activeOverrides: {
20
- type: ObjectConstructor;
21
- };
22
- exactActiveOverrides: {
23
- type: ObjectConstructor;
24
- };
25
- }>> & Readonly<{}>, {}, {}, {
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {
2
+ actualProps(isActive: any, isExactActive: any): any;
3
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
4
+ [x: string]: any;
5
+ }, {}, {
26
6
  Btn: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
27
7
  tagName: {
28
8
  type: StringConstructor;
package/dist/core.mjs CHANGED
@@ -163,7 +163,7 @@ function M(t, n, e, i, l, o) {
163
163
  _: 3
164
164
  }, 8, ["class"]);
165
165
  }
166
- const G = /* @__PURE__ */ f(N, [["render", M], ["__scopeId", "data-v-4afcf47f"]]), A = {
166
+ const P = /* @__PURE__ */ f(N, [["render", M], ["__scopeId", "data-v-4afcf47f"]]), G = {
167
167
  props: {
168
168
  dir: { type: String, default: "top" },
169
169
  label: { type: String }
@@ -173,8 +173,8 @@ const G = /* @__PURE__ */ f(N, [["render", M], ["__scopeId", "data-v-4afcf47f"]]
173
173
  return this.dir === "top" || this.dir === "bottom" ? "h" : "v";
174
174
  }
175
175
  }
176
- }, L = { class: "Content" }, D = ["title"];
177
- function P(t, n, e, i, l, o) {
176
+ }, L = { class: "Content" }, A = ["title"];
177
+ function D(t, n, e, i, l, o) {
178
178
  const s = b("TabCap");
179
179
  return r(), d("div", {
180
180
  class: y(["Tab", [
@@ -193,7 +193,7 @@ function P(t, n, e, i, l, o) {
193
193
  key: 0,
194
194
  class: "TabLabel",
195
195
  title: e.label
196
- }, g(e.label), 9, D)) : c("", !0)
196
+ }, g(e.label), 9, A)) : c("", !0)
197
197
  ], !0)
198
198
  ]),
199
199
  O(s, {
@@ -203,7 +203,7 @@ function P(t, n, e, i, l, o) {
203
203
  }, null, 8, ["dir"])
204
204
  ], 2);
205
205
  }
206
- const T = /* @__PURE__ */ f(A, [["render", P], ["__scopeId", "data-v-a4bb3614"]]), E = {
206
+ const T = /* @__PURE__ */ f(G, [["render", D], ["__scopeId", "data-v-a4bb3614"]]), E = {
207
207
  components: {
208
208
  Tab: T
209
209
  },
@@ -536,16 +536,19 @@ const de = /* @__PURE__ */ f(re, [["render", ue], ["__scopeId", "data-v-d1f75aa4
536
536
  Btn: w
537
537
  },
538
538
  props: {
539
+ ...w.props,
539
540
  to: { required: !0 },
540
- activeOverrides: { type: Object },
541
- exactActiveOverrides: { type: Object }
541
+ baseProps: { type: Object },
542
+ activeProps: { type: Object },
543
+ exactActiveProps: { type: Object }
542
544
  },
543
545
  methods: {
544
- actualAttrs(t, n) {
546
+ actualProps(t, n) {
545
547
  return {
546
- ...this.$attrs,
547
- ...t ? this.activeOverrides : {},
548
- ...n ? this.exactActiveOverrides : {}
548
+ ...this.$props,
549
+ ...this.baseProps,
550
+ ...t ? this.activeProps : {},
551
+ ...n ? this.exactActiveProps : {}
549
552
  };
550
553
  }
551
554
  }
@@ -560,7 +563,7 @@ function ce(t, n, e, i, l, o) {
560
563
  O(s, B({
561
564
  tagName: "a",
562
565
  href: _
563
- }, o.actualAttrs(m, V), { onClick: k }), null, 16, ["href", "onClick"])
566
+ }, o.actualProps(m, V), { onClick: k }), null, 16, ["href", "onClick"])
564
567
  ]),
565
568
  _: 1
566
569
  }, 8, ["to"]);
@@ -695,7 +698,7 @@ const Ie = /* @__PURE__ */ f(Se, [["render", Be], ["__scopeId", "data-v-ada4a00f
695
698
  __proto__: null,
696
699
  Btn: w,
697
700
  Filler: z,
698
- HGroup: G,
701
+ HGroup: P,
699
702
  InputBase: I,
700
703
  InputGroup: U,
701
704
  InputSelect: ne,
@@ -710,7 +713,7 @@ const Ie = /* @__PURE__ */ f(Se, [["render", Be], ["__scopeId", "data-v-ada4a00f
710
713
  export {
711
714
  w as Btn,
712
715
  z as Filler,
713
- G as HGroup,
716
+ P as HGroup,
714
717
  I as InputBase,
715
718
  U as InputGroup,
716
719
  ne as InputSelect,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nightshadeui/core",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "Core Nightshade UI components",
5
5
  "author": "Boris Okunskiy",
6
6
  "license": "ISC",