@wikicasa-dev/components 2.3.1-alpha.21 → 2.3.1-alpha.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.
Files changed (69) hide show
  1. package/dist/UIKit/Accordion/BaseAccordion.d.ts +18 -15
  2. package/dist/UIKit/Accordion/BaseAccordionBtn.d.ts +34 -0
  3. package/dist/UIKit/Accordion/BaseAccordionBtn.js +4 -0
  4. package/dist/UIKit/Accordion/BaseAccordionContent.d.ts +30 -0
  5. package/dist/UIKit/Accordion/BaseAccordionContent.js +4 -0
  6. package/dist/UIKit/Accordion/BaseAccordionItem.d.ts +21 -12
  7. package/dist/UIKit/Autocomplete/ClearableAutocomplete.d.ts +1 -1
  8. package/dist/UIKit/BaseAutocomplete.d.ts +1 -1
  9. package/dist/UIKit/BaseButton.d.ts +2 -2
  10. package/dist/UIKit/BaseDropDown.d.ts +1 -1
  11. package/dist/UIKit/BaseSnackbar.d.ts +1 -3
  12. package/dist/UIKit/BaseToggle.d.ts +2 -3
  13. package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +1 -1
  14. package/dist/assets/BaseAccordionItem.css +1 -1
  15. package/dist/assets/BaseBadge.css +1 -1
  16. package/dist/assets/BaseCard.css +1 -1
  17. package/dist/assets/BaseComplexToggle.css +1 -1
  18. package/dist/assets/BaseModal.css +1 -1
  19. package/dist/assets/BaseSnackbar.css +1 -1
  20. package/dist/assets/tailwind.css +1 -1
  21. package/dist/index.d.ts +2 -11
  22. package/dist/index.js +91 -111
  23. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +14 -22
  24. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +59 -0
  25. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js +34 -0
  26. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +36 -36
  27. package/dist/packages/components/lib/UIKit/Autocomplete/ClearableAutocomplete.vue.js +17 -17
  28. package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +3 -1
  29. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +52 -54
  30. package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +15 -16
  31. package/dist/packages/components/lib/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +9 -10
  32. package/dist/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +46 -45
  33. package/dist/types/index.d.ts +1 -13
  34. package/package.json +15 -15
  35. package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +0 -19
  36. package/dist/UIKit/Accordion/AccordionContentPrimitive.js +0 -4
  37. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.d.ts +0 -11
  38. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +0 -4
  39. package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +0 -13
  40. package/dist/UIKit/Accordion/AccordionItemPrimitive.js +0 -4
  41. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.d.ts +0 -13
  42. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +0 -4
  43. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +0 -26
  44. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +0 -4
  45. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.d.ts +0 -21
  46. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +0 -4
  47. package/dist/UIKit/Tab/v2/BaseTabs.d.ts +0 -24
  48. package/dist/UIKit/Tab/v2/BaseTabs.js +0 -5
  49. package/dist/UIKit/Tab/v2/BaseTabsContent.d.ts +0 -13
  50. package/dist/UIKit/Tab/v2/BaseTabsContent.js +0 -4
  51. package/dist/UIKit/Tab/v2/BaseTabsIndicator.d.ts +0 -66
  52. package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +0 -5
  53. package/dist/UIKit/Tab/v2/BaseTabsList.d.ts +0 -13
  54. package/dist/UIKit/Tab/v2/BaseTabsList.js +0 -4
  55. package/dist/UIKit/Tab/v2/BaseTabsTrigger.d.ts +0 -20
  56. package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +0 -4
  57. package/dist/assets/BaseTabs.css +0 -1
  58. package/dist/assets/BaseTabsIndicator.css +0 -1
  59. package/dist/packages/components/lib/UIKit/Accordion/AccordionContentPrimitive.vue.js +0 -22
  60. package/dist/packages/components/lib/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +0 -21
  61. package/dist/packages/components/lib/UIKit/Accordion/AccordionItemPrimitive.vue.js +0 -24
  62. package/dist/packages/components/lib/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +0 -22
  63. package/dist/packages/components/lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +0 -33
  64. package/dist/packages/components/lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +0 -35
  65. package/dist/packages/components/lib/UIKit/Tab/v2/BaseTabs.vue.js +0 -39
  66. package/dist/packages/components/lib/UIKit/Tab/v2/BaseTabsContent.vue.js +0 -24
  67. package/dist/packages/components/lib/UIKit/Tab/v2/BaseTabsIndicator.vue.js +0 -34
  68. package/dist/packages/components/lib/UIKit/Tab/v2/BaseTabsList.vue.js +0 -23
  69. package/dist/packages/components/lib/UIKit/Tab/v2/BaseTabsTrigger.vue.js +0 -31
@@ -1,4 +0,0 @@
1
- import f from "../../../packages/components/lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,21 +0,0 @@
1
- import { CheckboxGroupRootProps, AcceptableValue } from 'reka-ui';
2
- export interface CheckboxGroupPrimitiveProps<T extends AcceptableValue> extends CheckboxGroupRootProps<T> {
3
- dataCy?: string;
4
- }
5
- declare const _default: <T extends AcceptableValue>(__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
- 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"> & CheckboxGroupPrimitiveProps<T> & Partial<{}>> & import('vue').PublicProps;
9
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
10
- attrs: any;
11
- slots: {
12
- default?(_: {}): any;
13
- };
14
- emit: (evt: "update:modelValue", value: T[]) => void;
15
- }>) => import('vue').VNode & {
16
- __ctx?: Awaited<typeof __VLS_setup>;
17
- };
18
- export default _default;
19
- type __VLS_PrettifyLocal<T> = {
20
- [K in keyof T]: T[K];
21
- } & {};
@@ -1,4 +0,0 @@
1
- import f from "../../../packages/components/lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,24 +0,0 @@
1
- import { TabsRootProps } from 'reka-ui';
2
- export interface BaseTabsProps<T extends string | number> extends TabsRootProps<T> {
3
- dataCy?: string;
4
- }
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
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
7
- readonly "onUpdate:modelValue"?: ((payload: T) => any) | undefined;
8
- readonly onMounted?: (() => any) | undefined;
9
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onMounted"> & BaseTabsProps<T> & Partial<{}>> & import('vue').PublicProps;
10
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
11
- attrs: any;
12
- slots: {
13
- default?(_: {
14
- modelValue: T;
15
- }): any;
16
- };
17
- emit: ((evt: "update:modelValue", payload: T) => void) & ((evt: "mounted") => void);
18
- }>) => import('vue').VNode & {
19
- __ctx?: Awaited<typeof __VLS_setup>;
20
- };
21
- export default _default;
22
- type __VLS_PrettifyLocal<T> = {
23
- [K in keyof T]: T[K];
24
- } & {};
@@ -1,5 +0,0 @@
1
- import o from "../../../packages/components/lib/UIKit/Tab/v2/BaseTabs.vue.js";
2
- import '../../../assets/BaseTabs.css';/* empty css */
3
- export {
4
- o as default
5
- };
@@ -1,13 +0,0 @@
1
- import { TabsContentProps } from 'reka-ui';
2
- export interface BaseTabsContentProps extends TabsContentProps {
3
- dataCy?: string;
4
- }
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseTabsContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseTabsContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
6
- default?(_: {}): any;
7
- }>;
8
- export default _default;
9
- type __VLS_WithTemplateSlots<T, S> = T & {
10
- new (): {
11
- $slots: S;
12
- };
13
- };
@@ -1,4 +0,0 @@
1
- import f from "../../../packages/components/lib/UIKit/Tab/v2/BaseTabsContent.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,66 +0,0 @@
1
- import { TabsIndicatorProps } from 'reka-ui';
2
- export interface BaseTabsIndicatorProps extends TabsIndicatorProps {
3
- dataCy?: string;
4
- }
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseTabsIndicatorProps, {
6
- updateIndicatorStyle: () => void | undefined;
7
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseTabsIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
8
- tabIndicatorRef: ({
9
- $: import('vue').ComponentInternalInstance;
10
- $data: {};
11
- $props: {
12
- readonly asChild?: boolean | undefined;
13
- readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
14
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
15
- $attrs: {
16
- [x: string]: unknown;
17
- };
18
- $refs: {
19
- [x: string]: unknown;
20
- };
21
- $slots: Readonly<{
22
- [name: string]: import('vue').Slot<any> | undefined;
23
- }>;
24
- $root: import('vue').ComponentPublicInstance | null;
25
- $parent: import('vue').ComponentPublicInstance | null;
26
- $host: Element | null;
27
- $emit: (event: string, ...args: any[]) => void;
28
- $el: any;
29
- $options: import('vue').ComponentOptionsBase<Readonly<TabsIndicatorProps> & Readonly<{}>, {
30
- updateIndicatorStyle: () => void;
31
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
32
- beforeCreate?: (() => void) | (() => void)[];
33
- created?: (() => void) | (() => void)[];
34
- beforeMount?: (() => void) | (() => void)[];
35
- mounted?: (() => void) | (() => void)[];
36
- beforeUpdate?: (() => void) | (() => void)[];
37
- updated?: (() => void) | (() => void)[];
38
- activated?: (() => void) | (() => void)[];
39
- deactivated?: (() => void) | (() => void)[];
40
- beforeDestroy?: (() => void) | (() => void)[];
41
- beforeUnmount?: (() => void) | (() => void)[];
42
- destroyed?: (() => void) | (() => void)[];
43
- unmounted?: (() => void) | (() => void)[];
44
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
45
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
46
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
47
- };
48
- $forceUpdate: () => void;
49
- $nextTick: typeof import('vue').nextTick;
50
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
51
- } & Readonly<{}> & Omit<Readonly<TabsIndicatorProps> & Readonly<{}>, "updateIndicatorStyle"> & import('vue').ShallowUnwrapRef<{
52
- updateIndicatorStyle: () => void;
53
- }> & {} & import('vue').ComponentCustomProperties & {} & {
54
- $slots: {
55
- default?: (props: {}) => any;
56
- };
57
- }) | null;
58
- }, any>, {
59
- default?(_: {}): any;
60
- }>;
61
- export default _default;
62
- type __VLS_WithTemplateSlots<T, S> = T & {
63
- new (): {
64
- $slots: S;
65
- };
66
- };
@@ -1,5 +0,0 @@
1
- import o from "../../../packages/components/lib/UIKit/Tab/v2/BaseTabsIndicator.vue.js";
2
- import '../../../assets/BaseTabsIndicator.css';/* empty css */
3
- export {
4
- o as default
5
- };
@@ -1,13 +0,0 @@
1
- import { TabsListProps } from 'reka-ui';
2
- export interface BaseTabsListProps extends TabsListProps {
3
- dataCy?: string;
4
- }
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseTabsListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseTabsListProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
6
- default?(_: {}): any;
7
- }>;
8
- export default _default;
9
- type __VLS_WithTemplateSlots<T, S> = T & {
10
- new (): {
11
- $slots: S;
12
- };
13
- };
@@ -1,4 +0,0 @@
1
- import f from "../../../packages/components/lib/UIKit/Tab/v2/BaseTabsList.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,20 +0,0 @@
1
- import { TabsTriggerProps } from 'reka-ui';
2
- export interface BaseTabsTriggerProps<T extends string | number> extends Omit<TabsTriggerProps, "value"> {
3
- dataCy?: string;
4
- value: T;
5
- }
6
- 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<{
7
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & BaseTabsTriggerProps<T> & Partial<{}>> & import('vue').PublicProps;
8
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
9
- attrs: any;
10
- slots: {
11
- default?(_: {}): any;
12
- };
13
- emit: {};
14
- }>) => import('vue').VNode & {
15
- __ctx?: Awaited<typeof __VLS_setup>;
16
- };
17
- export default _default;
18
- type __VLS_PrettifyLocal<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
@@ -1,4 +0,0 @@
1
- import f from "../../../packages/components/lib/UIKit/Tab/v2/BaseTabsTrigger.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1 +0,0 @@
1
- .uikit-base-tabs{--indicator-bg-color: #2B5DFF;--indicator-border-radius-top: 0;--indicator-border-radius-bottom: 0}
@@ -1 +0,0 @@
1
- .uikit-base-tabs-indicator-element{background-color:var(--indicator-bg-color);border-radius:var(--indicator-border-radius-top) var(--indicator-border-radius-top) var(--indicator-border-radius-bottom) var(--indicator-border-radius-bottom)}
@@ -1,22 +0,0 @@
1
- import { defineComponent as r, createBlock as n, openBlock as a, unref as c, normalizeProps as p, guardReactiveProps as i, withCtx as s, renderSlot as l } from "vue";
2
- import { AccordionContent as d } from "reka-ui";
3
- const _ = /* @__PURE__ */ r({
4
- __name: "AccordionContentPrimitive",
5
- props: {
6
- forceMount: { type: Boolean },
7
- asChild: { type: Boolean },
8
- as: {}
9
- },
10
- setup(o) {
11
- const e = o;
12
- return (t, f) => (a(), n(c(d), p(i(e)), {
13
- default: s(() => [
14
- l(t.$slots, "default")
15
- ]),
16
- _: 3
17
- }, 16));
18
- }
19
- });
20
- export {
21
- _ as default
22
- };
@@ -1,21 +0,0 @@
1
- import { defineComponent as t, createBlock as a, openBlock as n, unref as c, normalizeProps as i, guardReactiveProps as p, withCtx as s, renderSlot as d } from "vue";
2
- import { AccordionHeader as l } from "reka-ui";
3
- const _ = /* @__PURE__ */ t({
4
- __name: "AccordionHeaderPrimitive",
5
- props: {
6
- asChild: { type: Boolean },
7
- as: {}
8
- },
9
- setup(e) {
10
- const o = e;
11
- return (r, m) => (n(), a(c(l), i(p(o)), {
12
- default: s(() => [
13
- d(r.$slots, "default")
14
- ]),
15
- _: 3
16
- }, 16));
17
- }
18
- });
19
- export {
20
- _ as default
21
- };
@@ -1,24 +0,0 @@
1
- import { defineComponent as i, createBlock as p, openBlock as l, unref as s, normalizeProps as e, guardReactiveProps as o, withCtx as c, renderSlot as d } from "vue";
2
- import { AccordionItem as m } from "reka-ui";
3
- const B = /* @__PURE__ */ i({
4
- __name: "AccordionItemPrimitive",
5
- props: {
6
- disabled: { type: Boolean },
7
- value: {},
8
- unmountOnHide: { type: Boolean },
9
- asChild: { type: Boolean },
10
- as: {}
11
- },
12
- setup(t) {
13
- const r = t;
14
- return (n, u) => (l(), p(s(m), e(o(r)), {
15
- default: c((a) => [
16
- d(n.$slots, "default", e(o(a)))
17
- ]),
18
- _: 3
19
- }, 16));
20
- }
21
- });
22
- export {
23
- B as default
24
- };
@@ -1,22 +0,0 @@
1
- import { defineComponent as o, createPropsRestProxy as a, createBlock as c, openBlock as n, unref as d, mergeProps as i, withCtx as s, renderSlot as p } from "vue";
2
- import { AccordionTrigger as l } from "reka-ui";
3
- const y = /* @__PURE__ */ o({
4
- __name: "AccordionTriggerPrimitive",
5
- props: {
6
- asChild: { type: Boolean },
7
- as: {},
8
- dataCy: {}
9
- },
10
- setup(e) {
11
- const r = a(e, ["dataCy"]);
12
- return (t, m) => (n(), c(d(l), i(r, { "data-cy": e.dataCy }), {
13
- default: s(() => [
14
- p(t.$slots, "default")
15
- ]),
16
- _: 3
17
- }, 16, ["data-cy"]));
18
- }
19
- });
20
- export {
21
- y as default
22
- };
@@ -1,33 +0,0 @@
1
- import { defineComponent as n, createPropsRestProxy as p, createBlock as u, openBlock as i, unref as m, mergeProps as s, withCtx as c, renderSlot as y, normalizeProps as f, guardReactiveProps as C } from "vue";
2
- import { CheckboxRoot as B } from "reka-ui";
3
- const V = /* @__PURE__ */ n({
4
- __name: "CheckboxGroupItemPrimitive",
5
- props: {
6
- dataCy: {},
7
- value: {},
8
- defaultValue: { type: [Boolean, String] },
9
- modelValue: { type: [Boolean, String, null] },
10
- disabled: { type: Boolean },
11
- id: {},
12
- asChild: { type: Boolean },
13
- as: {},
14
- name: {},
15
- required: { type: Boolean }
16
- },
17
- emits: ["update:modelValue"],
18
- setup(t, { emit: a }) {
19
- const r = p(t, ["dataCy"]), l = a;
20
- return (d, o) => (i(), u(m(B), s(r, {
21
- "data-cy": t.dataCy,
22
- "onUpdate:modelValue": o[0] || (o[0] = (e) => l("update:modelValue", e))
23
- }), {
24
- default: c((e) => [
25
- y(d.$slots, "default", f(C(e)))
26
- ]),
27
- _: 3
28
- }, 16, ["data-cy"]));
29
- }
30
- });
31
- export {
32
- V as default
33
- };
@@ -1,35 +0,0 @@
1
- import { defineComponent as n, createPropsRestProxy as p, createBlock as u, openBlock as i, unref as s, mergeProps as m, withCtx as c, renderSlot as y } from "vue";
2
- import { CheckboxGroupRoot as f } from "reka-ui";
3
- const x = /* @__PURE__ */ n({
4
- __name: "CheckboxGroupPrimitive",
5
- props: {
6
- dataCy: {},
7
- defaultValue: {},
8
- modelValue: {},
9
- rovingFocus: { type: Boolean },
10
- disabled: { type: Boolean },
11
- as: {},
12
- asChild: { type: Boolean },
13
- dir: {},
14
- orientation: {},
15
- loop: { type: Boolean },
16
- name: {},
17
- required: { type: Boolean }
18
- },
19
- emits: ["update:modelValue"],
20
- setup(e, { emit: t }) {
21
- const a = p(e, ["dataCy"]), r = t;
22
- return (l, o) => (i(), u(s(f), m(a, {
23
- "data-cy": e.dataCy,
24
- "onUpdate:modelValue": o[0] || (o[0] = (d) => r("update:modelValue", d))
25
- }), {
26
- default: c(() => [
27
- y(l.$slots, "default")
28
- ]),
29
- _: 3
30
- }, 16, ["data-cy"]));
31
- }
32
- });
33
- export {
34
- x as default
35
- };
@@ -1,39 +0,0 @@
1
- import { defineComponent as l, createPropsRestProxy as i, shallowRef as m, provide as d, onMounted as p, createBlock as c, openBlock as f, unref as y, mergeProps as C, withCtx as B, renderSlot as M } from "vue";
2
- import { TabsRoot as V } from "reka-ui";
3
- const v = /* @__PURE__ */ l({
4
- __name: "BaseTabs",
5
- props: {
6
- dataCy: {},
7
- defaultValue: {},
8
- orientation: {},
9
- dir: {},
10
- activationMode: {},
11
- modelValue: {},
12
- unmountOnHide: { type: Boolean },
13
- asChild: { type: Boolean },
14
- as: {}
15
- },
16
- emits: ["update:modelValue", "mounted"],
17
- setup(t, { emit: s }) {
18
- const r = i(t, ["dataCy"]), o = s, a = m(!1);
19
- return d("indicatorMounted", a), d("setIndicatorMounted", () => {
20
- a.value = !0;
21
- }), p(() => {
22
- o("mounted");
23
- }), (u, n) => (f(), c(y(V), C(r, {
24
- "data-cy": t.dataCy,
25
- class: "uikit-base-tabs",
26
- "onUpdate:modelValue": n[0] || (n[0] = (e) => o("update:modelValue", e))
27
- }), {
28
- default: B(({ modelValue: e }) => [
29
- M(u.$slots, "default", {
30
- modelValue: e
31
- })
32
- ]),
33
- _: 3
34
- }, 16, ["data-cy"]));
35
- }
36
- });
37
- export {
38
- v as default
39
- };
@@ -1,24 +0,0 @@
1
- import { defineComponent as o, createPropsRestProxy as r, createBlock as n, openBlock as s, unref as c, mergeProps as p, withCtx as d, renderSlot as l } from "vue";
2
- import { TabsContent as f } from "reka-ui";
3
- const C = /* @__PURE__ */ o({
4
- __name: "BaseTabsContent",
5
- props: {
6
- dataCy: {},
7
- value: {},
8
- forceMount: { type: Boolean },
9
- asChild: { type: Boolean },
10
- as: {}
11
- },
12
- setup(e) {
13
- const t = r(e, ["dataCy"]);
14
- return (a, u) => (s(), n(c(f), p({ "data-cy": e.dataCy }, t), {
15
- default: d(() => [
16
- l(a.$slots, "default")
17
- ]),
18
- _: 3
19
- }, 16, ["data-cy"]));
20
- }
21
- });
22
- export {
23
- C as default
24
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as s, createPropsRestProxy as d, inject as u, useTemplateRef as l, onMounted as c, createBlock as p, openBlock as k, unref as f, mergeProps as m, withCtx as b, renderSlot as y, createElementVNode as I } from "vue";
2
- import { TabsIndicator as x } from "reka-ui";
3
- const w = /* @__PURE__ */ s({
4
- __name: "BaseTabsIndicator",
5
- props: {
6
- dataCy: {},
7
- asChild: { type: Boolean },
8
- as: {}
9
- },
10
- setup(t, { expose: e }) {
11
- const i = d(t, ["dataCy"]), o = u(
12
- "setIndicatorMounted",
13
- void 0
14
- ), n = l("tabIndicatorRef");
15
- return c(() => {
16
- o?.();
17
- }), e({
18
- updateIndicatorStyle: () => n.value?.updateIndicatorStyle?.()
19
- }), (r, a) => (k(), p(f(x), m({ ref: "tabIndicatorRef" }, i, {
20
- "data-cy": t.dataCy,
21
- class: "uikit-base-tabs-indicator uikit-absolute uikit-bottom-0 uikit-left-0 uikit-z-[1] uikit-h-[2px] uikit-w-[--reka-tabs-indicator-size] uikit-translate-x-[--reka-tabs-indicator-position] uikit-translate-y-[1px] uikit-transition-[width,transform] uikit-duration-300"
22
- }), {
23
- default: b(() => [
24
- y(r.$slots, "default", {}, () => [
25
- a[0] || (a[0] = I("div", { class: "uikit-base-tabs-indicator-element uikit-h-full uikit-w-full" }, null, -1))
26
- ])
27
- ]),
28
- _: 3
29
- }, 16, ["data-cy"]));
30
- }
31
- });
32
- export {
33
- w as default
34
- };
@@ -1,23 +0,0 @@
1
- import { defineComponent as o, createPropsRestProxy as r, createBlock as s, openBlock as n, unref as l, mergeProps as p, withCtx as c, renderSlot as d } from "vue";
2
- import { TabsList as i } from "reka-ui";
3
- const y = /* @__PURE__ */ o({
4
- __name: "BaseTabsList",
5
- props: {
6
- dataCy: {},
7
- loop: { type: Boolean },
8
- asChild: { type: Boolean },
9
- as: {}
10
- },
11
- setup(e) {
12
- const t = r(e, ["dataCy"]);
13
- return (a, f) => (n(), s(l(i), p({ "data-cy": e.dataCy }, t, { class: "uikit-relative" }), {
14
- default: c(() => [
15
- d(a.$slots, "default")
16
- ]),
17
- _: 3
18
- }, 16, ["data-cy"]));
19
- }
20
- });
21
- export {
22
- y as default
23
- };
@@ -1,31 +0,0 @@
1
- import { defineComponent as o, createPropsRestProxy as d, inject as s, createBlock as c, openBlock as u, unref as a, mergeProps as n, withCtx as f, renderSlot as l } from "vue";
2
- import { TabsTrigger as k } from "reka-ui";
3
- const m = /* @__PURE__ */ o({
4
- __name: "BaseTabsTrigger",
5
- props: {
6
- dataCy: {},
7
- value: {},
8
- disabled: { type: Boolean },
9
- asChild: { type: Boolean },
10
- as: {}
11
- },
12
- setup(t) {
13
- const e = d(t, ["dataCy"]), i = s(
14
- "indicatorMounted",
15
- void 0
16
- );
17
- return (r, p) => (u(), c(a(k), n({ "data-cy": t.dataCy }, e, {
18
- class: ["uikit-relative uikit-bg-white uikit-p-[4px] uikit-text-16 data-[state=active]:uikit-font-semibold", {
19
- "data-[state=active]:after:uikit-absolute data-[state=active]:after:uikit-bottom-0 data-[state=active]:after:uikit-left-0 data-[state=active]:after:uikit-z-[1] data-[state=active]:after:uikit-block data-[state=active]:after:uikit-h-[2px] data-[state=active]:after:uikit-w-full data-[state=active]:after:uikit-translate-y-[1px] data-[state=active]:after:uikit-rounded-b-[var(--indicator-border-radius-bottom)] data-[state=active]:after:uikit-rounded-t-[var(--indicator-border-radius-top)] data-[state=active]:after:uikit-bg-w-primary data-[state=active]:after:uikit-content-['']": !a(i)
20
- }]
21
- }), {
22
- default: f(() => [
23
- l(r.$slots, "default")
24
- ]),
25
- _: 3
26
- }, 16, ["data-cy", "class"]));
27
- }
28
- });
29
- export {
30
- m as default
31
- };