@wikicasa-dev/components 2.3.1-alpha.16 → 2.3.1-alpha.17

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.
@@ -4,10 +4,8 @@ export interface BaseTabsProps<T extends string | number> extends Omit<TabsRootP
4
4
  }
5
5
  declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
7
- readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
9
- modelValue?: T;
10
- } & BaseTabsProps<T>) & Partial<{}>> & import('vue').PublicProps;
7
+ readonly "onUpdate:modelValue"?: ((payload: T) => any) | undefined;
8
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & BaseTabsProps<T> & Partial<{}>> & import('vue').PublicProps;
11
9
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
12
10
  attrs: any;
13
11
  slots: {
@@ -15,7 +13,7 @@ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awa
15
13
  modelValue: T;
16
14
  }): any;
17
15
  };
18
- emit: (evt: "update:modelValue", value: T) => void;
16
+ emit: (evt: "update:modelValue", payload: T) => void;
19
17
  }>) => import('vue').VNode & {
20
18
  __ctx?: Awaited<typeof __VLS_setup>;
21
19
  };
@@ -1 +1 @@
1
- .uikit-base-tabs-indicator{--bg-color: #2B5DFF;--border-radius-top: 100%;--border-radius-bottom: 100%}.uikit-base-tabs-indicator .uikit-base-tabs-indicator-element{background-color:var(--bg-color);border-radius:var(--border-radius-top) var(--border-radius-top) var(--border-radius-bottom) var(--border-radius-bottom)}
1
+ .uikit-base-tabs-indicator{--bg-color: #2B5DFF;--border-radius-top: 0;--border-radius-bottom: 0}.uikit-base-tabs-indicator .uikit-base-tabs-indicator-element{background-color:var(--bg-color);border-radius:var(--border-radius-top) var(--border-radius-top) var(--border-radius-bottom) var(--border-radius-bottom)}
@@ -1,8 +1,8 @@
1
- import { defineComponent as n, mergeModels as r, createPropsRestProxy as u, useModel as s, createBlock as m, openBlock as i, unref as p, mergeProps as f, withCtx as c, renderSlot as y } from "vue";
2
- import { TabsRoot as V } from "reka-ui";
3
- const M = /* @__PURE__ */ n({
1
+ import { defineComponent as s, createPropsRestProxy as l, createBlock as u, openBlock as i, unref as m, mergeProps as p, withCtx as c, renderSlot as f } from "vue";
2
+ import { TabsRoot as y } from "reka-ui";
3
+ const V = /* @__PURE__ */ s({
4
4
  __name: "BaseTabs",
5
- props: /* @__PURE__ */ r({
5
+ props: {
6
6
  dataCy: {},
7
7
  defaultValue: {},
8
8
  orientation: {},
@@ -11,27 +11,23 @@ const M = /* @__PURE__ */ n({
11
11
  unmountOnHide: { type: Boolean },
12
12
  asChild: { type: Boolean },
13
13
  as: {}
14
- }, {
15
- modelValue: {},
16
- modelModifiers: {}
17
- }),
14
+ },
18
15
  emits: ["update:modelValue"],
19
- setup(e) {
20
- const l = u(e, ["dataCy"]), a = s(e, "modelValue");
21
- return (d, t) => (i(), m(p(V), f(l, {
22
- modelValue: a.value,
23
- "onUpdate:modelValue": t[0] || (t[0] = (o) => a.value = o),
24
- "data-cy": e.dataCy
16
+ setup(t, { emit: o }) {
17
+ const n = l(t, ["dataCy"]), d = o;
18
+ return (r, a) => (i(), u(m(y), p(n, {
19
+ "data-cy": t.dataCy,
20
+ "onUpdate:modelValue": a[0] || (a[0] = (e) => d("update:modelValue", e))
25
21
  }), {
26
- default: c(({ modelValue: o }) => [
27
- y(d.$slots, "default", {
28
- modelValue: o
22
+ default: c(({ modelValue: e }) => [
23
+ f(r.$slots, "default", {
24
+ modelValue: e
29
25
  })
30
26
  ]),
31
27
  _: 3
32
- }, 16, ["modelValue", "data-cy"]));
28
+ }, 16, ["data-cy"]));
33
29
  }
34
30
  });
35
31
  export {
36
- M as default
32
+ V as default
37
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.3.1-alpha.16",
3
+ "version": "2.3.1-alpha.17",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",