@wow-two-beta/fe 0.0.50 → 0.0.51
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/index.js +392 -383
- package/dist/index.js.map +1 -1
- package/dist/presentation/actions/button/Button.variants.d.ts +12 -0
- package/dist/presentation/actions/button/Button.variants.js +18 -2
- package/dist/presentation/actions/button/Button.variants.js.map +1 -1
- package/dist/presentation/actions/button/Button.vue.d.ts +8 -1
- package/dist/presentation/actions/button/Button.vue.js +106 -58
- package/dist/presentation/actions/button/Button.vue.js.map +1 -1
- package/dist/presentation/actions/refreshButton/RefreshButton.vue.js.map +1 -1
- package/dist/presentation/display/badge/Badge.variants.d.ts +23 -1
- package/dist/presentation/display/badge/Badge.variants.js +18 -3
- package/dist/presentation/display/badge/Badge.variants.js.map +1 -1
- package/dist/presentation/display/badge/Badge.vue.d.ts +3 -0
- package/dist/presentation/display/badge/Badge.vue.js +10 -4
- package/dist/presentation/display/badge/Badge.vue.js.map +1 -1
- package/dist/presentation/display/carousel/Carousel.variants.d.ts +65 -0
- package/dist/presentation/display/carousel/Carousel.variants.js +56 -0
- package/dist/presentation/display/carousel/Carousel.variants.js.map +1 -0
- package/dist/presentation/display/carousel/Carousel.vue.d.ts +7 -0
- package/dist/presentation/display/carousel/Carousel.vue.js +7 -2
- package/dist/presentation/display/carousel/Carousel.vue.js.map +1 -1
- package/dist/presentation/display/carousel/CarouselContext.d.ts +10 -0
- package/dist/presentation/display/carousel/CarouselContext.js.map +1 -1
- package/dist/presentation/display/carousel/CarouselNext.vue.d.ts +6 -2
- package/dist/presentation/display/carousel/CarouselNext.vue.js +12 -4
- package/dist/presentation/display/carousel/CarouselNext.vue.js.map +1 -1
- package/dist/presentation/display/carousel/CarouselPrev.vue.d.ts +6 -2
- package/dist/presentation/display/carousel/CarouselPrev.vue.js +12 -4
- package/dist/presentation/display/carousel/CarouselPrev.vue.js.map +1 -1
- package/dist/presentation/display/carousel/CarouselViewport.vue.d.ts +13 -2
- package/dist/presentation/display/carousel/CarouselViewport.vue.js +54 -2
- package/dist/presentation/display/carousel/CarouselViewport.vue.js.map +1 -1
- package/dist/presentation/display/carousel/index.d.ts +1 -0
- package/dist/presentation/display/index.d.ts +1 -0
- package/dist/presentation/display/index.js +120 -111
- package/dist/presentation/display/index.js.map +1 -1
- package/dist/presentation/display/mediaCard/MediaCard.vue.d.ts +41 -0
- package/dist/presentation/display/mediaCard/MediaCard.vue.js +108 -0
- package/dist/presentation/display/mediaCard/MediaCard.vue.js.map +1 -0
- package/dist/presentation/display/mediaCard/MediaCard2.vue.js +5 -0
- package/dist/presentation/display/mediaCard/MediaCard2.vue.js.map +1 -0
- package/dist/presentation/display/mediaCard/index.d.ts +1 -0
- package/dist/presentation/display/metaInlineText/MetaInlineItem.vue.d.ts +37 -0
- package/dist/presentation/display/metaInlineText/MetaInlineItem.vue.js +72 -0
- package/dist/presentation/display/metaInlineText/MetaInlineItem.vue.js.map +1 -0
- package/dist/presentation/display/metaInlineText/MetaInlineItem2.vue.js +7 -0
- package/dist/presentation/display/metaInlineText/MetaInlineItem2.vue.js.map +1 -0
- package/dist/presentation/display/metaInlineText/index.d.ts +1 -0
- package/dist/presentation/layout/navbar/Navbar.vue.js.map +1 -1
- package/dist/presentation/nav/accountMenu/AccountMenu.vue.d.ts +1 -1
- package/dist/presentation/overlays/hoverCard/HoverCard.vue.d.ts +1 -1
- package/dist/presentation/overlays/tooltip/Tooltip.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navbar.vue.js","sources":["../../../../src/presentation/layout/navbar/Navbar.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { HTMLAttributes } from 'vue';\nimport type { SurfaceTone } from '../../../foundation/styles';\nimport type { ContainerLayoutProps } from '../containerLayout';\nimport type { NavbarElement, NavbarHeight, NavbarOrientation, NavbarVariant } from './Navbar.variants';\n\nexport interface NavbarProps {\n /**\n * The element: `header` (a banner landmark) or `div` (none). Default: `div` inside an `AppShellHeader`, which is\n * already the banner, and `header` elsewhere.\n */\n readonly as?: NavbarElement;\n /** Native attributes forwarded to the inner `ContainerLayout`; its `class` is merged last. */\n readonly containerAttrs?: HTMLAttributes;\n /** Convenience class for the inner `ContainerLayout`, merged after `containerAttrs.class`. */\n readonly containerClass?: HTMLAttributes['class'];\n /** The max-width of the inner centered `ContainerLayout`. Passthrough to `ContainerLayout.size`. Default `lg`. */\n readonly containerSize?: ContainerLayoutProps['size'];\n /** The band height. Default `md`. */\n readonly height?: NavbarHeight;\n /** The sticky pinning of the bar to the top of the scroll container. Default `false` (non-sticky). */\n readonly isSticky?: boolean;\n /** @deprecated Use `isSticky`; this alias is removed next release. */\n readonly sticky?: boolean;\n /**\n * The tinted background tone for the band — applies the shadow-less `subtle`\n * surface treatment. Omit for a transparent bar (relies on `hasBorder` / page bg).\n */\n readonly tone?: SurfaceTone;\n /** The bottom border under the bar. Default `true`. */\n readonly hasBorder?: boolean;\n /** @deprecated Use `hasBorder`; this alias is removed next release. */\n readonly bordered?: boolean;\n /** Which way the bar runs: a full-width top bar or a full-height side rail. Default `horizontal`. */\n readonly orientation?: NavbarOrientation;\n /** The surface: `solid`, `glass` or `transparent`. A `tone` overrides it. Default `solid`. */\n readonly variant?: NavbarVariant;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, inject, provide, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, surfaceVariants } from '../../../foundation/styles';\nimport ContainerLayout from '../containerLayout/ContainerLayout.vue';\nimport {\n NavbarElement as Element,\n NavbarOrientation as Orientation,\n NavbarSurfaceClass,\n navbarVariants,\n} from './Navbar.variants';\nimport { bannerHostKey, navbarContextKey } from './NavbarContext';\n\n/**\n * Renders a lightweight header band (`<header>`) with `start` / `center` / `end` slots\n * laid out in a row inside a centered `ContainerLayout`. The everyday \"navbar +\n * centered content\" need that `AppShell` (a 5-slot dashboard grid w/ sidebar)\n * overshoots. Non-sticky by default; pass `isSticky` to pin it.\n *\n * Inside an `AppShellHeader` it renders a plain row filling the bar: the host is the banner and owns the band's\n * height, border and surface, so the bar adds none of its own unless the props ask for them.\n */\ndefineOptions({ name: 'Navbar', inheritAttrs: false });\n\n/** React's `start` / `center` / `end` / `children` ReactNode props are content regions — slots in Vue. */\ndefineSlots<{\n /** The leading slot — laid out at the start of the row (brand / logo / nav links). */\n start?(): unknown;\n /** The centre slot — laid out in the middle of the row (search / primary nav). */\n center?(): unknown;\n /** The trailing slot — laid out at the end of the row (actions / avatar / CTA). */\n end?(): unknown;\n /**\n * The raw row content — replaces the `start` / `center` / `end` slot layout when\n * provided. Use for fully custom bars.\n */\n default?(): unknown;\n}>();\n\nconst props = withDefaults(defineProps<NavbarProps>(), {\n as: undefined,\n isSticky: undefined,\n sticky: undefined,\n hasBorder: undefined,\n bordered: undefined,\n orientation: Orientation.Horizontal,\n variant: undefined,\n});\n\nconst isVertical = computed(() => props.orientation === Orientation.Vertical);\n\n/** True inside a host that already is the banner — `AppShellHeader`. */\nconst isHosted = inject(bannerHostKey, false);\n\nconst tag = computed<Element>(() => props.as ?? (isHosted ? Element.Div : Element.Header));\n\nprovide(navbarContextKey, { orientation: computed(() => props.orientation) });\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLElement>('el');\n\nconst classes = computed(() =>\n cn(\n navbarVariants({\n orientation: props.orientation,\n sticky: props.isSticky ?? props.sticky ?? false,\n height: props.height,\n }),\n /* A hosted bar fills the host's row at the host's height. */\n isHosted && 'min-w-0 flex-1 self-stretch',\n isHosted && props.height === undefined && 'h-auto',\n (props.hasBorder ?? props.bordered ?? !isHosted) &&\n (isVertical.value ? 'border-e border-border' : 'border-b border-border'),\n props.tone\n ? surfaceVariants({ variant: 'subtle', tone: props.tone, radius: 'none' })\n : NavbarSurfaceClass[props.variant ?? (isHosted ? 'transparent' : 'solid')],\n attrs.class as string | undefined,\n ),\n);\n\n/** Push `end` to the trailing edge when there's no centre slot to absorb the slack. */\nconst endClasses = computed(() => cn('flex min-w-0 items-center gap-3', !slots.center && 'ml-auto'));\n\n/** Inner-container classes with consumer spacing taking precedence. */\nconst containerClasses = computed(() =>\n cn('flex h-full items-center gap-3', props.containerAttrs?.class as string | undefined, props.containerClass),\n);\n\n/** Rail classes: a column from the brand at the top to the account at the foot, consumer spacing last. */\nconst railClasses = computed(() =>\n cn(\n 'flex h-full min-h-0 flex-col items-stretch gap-3 p-3',\n props.containerAttrs?.class as string | undefined,\n props.containerClass,\n ),\n);\n\n/** Inner-container attributes except `class`, which is merged through `cn`. */\nconst containerRest = computed(() => {\n const { class: _class, ...others } = props.containerAttrs ?? {};\n return others;\n});\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <component :is=\"tag\" v-if=\"isVertical\" ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <div v-bind=\"containerRest\" :class=\"railClasses\">\n <slot v-if=\"$slots.default\" />\n <template v-else>\n <div v-if=\"$slots.start\" class=\"flex min-w-0 shrink-0 items-center gap-3\">\n <slot name=\"start\" />\n </div>\n <div v-if=\"$slots.center\" class=\"flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto\">\n <slot name=\"center\" />\n </div>\n <div v-if=\"$slots.end\" class=\"mt-auto flex min-w-0 shrink-0 items-center gap-3\">\n <slot name=\"end\" />\n </div>\n </template>\n </div>\n </component>\n <component :is=\"tag\" v-else ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <ContainerLayout v-bind=\"containerRest\" :size=\"props.containerSize\" :class=\"containerClasses\">\n <slot v-if=\"$slots.default\" />\n <template v-else>\n <div v-if=\"$slots.start\" class=\"flex min-w-0 items-center gap-3\">\n <slot name=\"start\" />\n </div>\n <div v-if=\"$slots.center\" class=\"flex min-w-0 flex-1 items-center justify-center gap-3\">\n <slot name=\"center\" />\n </div>\n <div v-if=\"$slots.end\" :class=\"endClasses\">\n <slot name=\"end\" />\n </div>\n </template>\n </ContainerLayout>\n </component>\n</template>\n"],"names":["Orientation","Element","_createBlock","_resolveDynamicComponent","_mergeProps","_createElementVNode","$slots","_renderSlot","_createElementBlock","_Fragment","_openBlock","_createVNode","ContainerLayout"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8EA,UAAM,QAAQ;AAUd,UAAM,aAAa,SAAS,MAAM,MAAM,gBAAgBA,kBAAY,QAAQ;AAG5E,UAAM,WAAW,OAAO,eAAe,KAAK;AAE5C,UAAM,MAAM,SAAkB,MAAM,MAAM,OAAO,WAAWC,cAAQ,MAAMA,cAAQ,OAAO;AAEzF,YAAQ,kBAAkB,EAAE,aAAa,SAAS,MAAM,MAAM,WAAW,GAAG;AAE5E,UAAM,QAAQ,SAAA;AACd,UAAM,QAAQ,SAAA;AACd,UAAM,KAAK,eAA4B,IAAI;AAE3C,UAAM,UAAU;AAAA,MAAS,MACvB;AAAA,QACE,eAAe;AAAA,UACb,aAAa,MAAM;AAAA,UACnB,QAAQ,MAAM,YAAY,MAAM,UAAU;AAAA,UAC1C,QAAQ,MAAM;AAAA,QAAA,CACf;AAAA;AAAA,QAED,YAAY;AAAA,QACZ,YAAY,MAAM,WAAW,UAAa;AAAA,SACzC,MAAM,aAAa,MAAM,YAAY,CAAC,cACpC,WAAW,QAAQ,2BAA2B;AAAA,QACjD,MAAM,OACF,gBAAgB,EAAE,SAAS,UAAU,MAAM,MAAM,MAAM,QAAQ,OAAA,CAAQ,IACvE,mBAAmB,MAAM,YAAY,WAAW,gBAAgB,QAAQ;AAAA,QAC5E,MAAM;AAAA,MAAA;AAAA,IACR;AAIF,UAAM,aAAa,SAAS,MAAM,GAAG,mCAAmC,CAAC,MAAM,UAAU,SAAS,CAAC;AAGnG,UAAM,mBAAmB;AAAA,MAAS,MAChC,GAAG,kCAAkC,MAAM,gBAAgB,OAA6B,MAAM,cAAc;AAAA,IAAA;AA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AA,yBAChE,MAakB;AAAA,UAblBO,YAakBC,aAblBR,WAakB,cAAA,OAboB;AAAA,YAAG,MAAM,MAAM;AAAA,YAAgB,OAAO,iBAAA;AAAA,UAAA;6BAC1E,MAA8B;AAAA,cAAlBE,KAAAA,OAAO,UAAnBC,WAA8B,KAAA,QAAA,WAAA,IAAA,QAAA,QAAA,CAAA,kBAC9BC,mBAUWC,UAAA,EAAA,KAAA,KAAA;AAAA,gBATEH,KAAAA,OAAO,SAAlBI,aAAAF,mBAEM,OAFN,YAEM;AAAA,kBADJD,WAAqB,KAAA,QAAA,OAAA;AAAA,gBAAA;gBAEZD,KAAAA,OAAO,UAAlBI,aAAAF,mBAEM,OAFN,YAEM;AAAA,kBADJD,WAAsB,KAAA,QAAA,QAAA;AAAA,gBAAA;gBAEbD,KAAAA,OAAO,oBAAlBE,mBAEM,OAAA;AAAA;kBAFkB,sBAAO,WAAA,KAAU;AAAA,gBAAA;kBACvCD,WAAmB,KAAA,QAAA,KAAA;AAAA,gBAAA;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"Navbar.vue.js","sources":["../../../../src/presentation/layout/navbar/Navbar.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { HTMLAttributes } from 'vue';\nimport type { SurfaceTone } from '../../../foundation/styles';\nimport type { ContainerLayoutProps } from '../containerLayout';\nimport type { NavbarElement, NavbarHeight, NavbarOrientation, NavbarVariant } from './Navbar.variants';\n\nexport interface NavbarProps {\n /**\n * The element: `header` (a banner landmark) or `div` (none). Default: `div` inside an `AppShellHeader`, which is\n * already the banner, and `header` elsewhere.\n */\n readonly as?: NavbarElement;\n /** Native attributes forwarded to the inner `ContainerLayout`; its `class` is merged last. */\n readonly containerAttrs?: HTMLAttributes;\n /** Convenience class for the inner `ContainerLayout`, merged after `containerAttrs.class`. */\n readonly containerClass?: HTMLAttributes['class'];\n /** The max-width of the inner centered `ContainerLayout`. Passthrough to `ContainerLayout.size`. Default `lg`. */\n readonly containerSize?: ContainerLayoutProps['size'];\n /** The band height. Default `md`. */\n readonly height?: NavbarHeight;\n /** The sticky pinning of the bar to the top of the scroll container. Default `false` (non-sticky). */\n readonly isSticky?: boolean;\n /** @deprecated Use `isSticky`; this alias is removed next release. */\n readonly sticky?: boolean;\n /**\n * The tinted background tone for the band — applies the shadow-less `subtle`\n * surface treatment. Omit for a transparent bar (relies on `hasBorder` / page bg).\n */\n readonly tone?: SurfaceTone;\n /** The bottom border under the bar. Default `true`. */\n readonly hasBorder?: boolean;\n /** @deprecated Use `hasBorder`; this alias is removed next release. */\n readonly bordered?: boolean;\n /** Which way the bar runs: a full-width top bar or a full-height side rail. Default `horizontal`. */\n readonly orientation?: NavbarOrientation;\n /** The surface: `solid`, `glass` or `transparent`. A `tone` overrides it. Default `solid`. */\n readonly variant?: NavbarVariant;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, inject, provide, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, surfaceVariants } from '../../../foundation/styles';\nimport ContainerLayout from '../containerLayout/ContainerLayout.vue';\nimport {\n NavbarElement as Element,\n NavbarOrientation as Orientation,\n NavbarSurfaceClass,\n navbarVariants,\n} from './Navbar.variants';\nimport { bannerHostKey, navbarContextKey } from './NavbarContext';\n\n/**\n * Renders a lightweight header band (`<header>`) with `start` / `center` / `end` slots\n * laid out in a row inside a centered `ContainerLayout`. The everyday \"navbar +\n * centered content\" need that `AppShell` (a 5-slot dashboard grid w/ sidebar)\n * overshoots. Non-sticky by default; pass `isSticky` to pin it.\n *\n * Inside an `AppShellHeader` it renders a plain row filling the bar: the host is the banner and owns the band's\n * height, border and surface, so the bar adds none of its own unless the props ask for them.\n */\ndefineOptions({ name: 'Navbar', inheritAttrs: false });\n\n/** React's `start` / `center` / `end` / `children` ReactNode props are content regions — slots in Vue. */\ndefineSlots<{\n /** The leading slot — laid out at the start of the row (brand / logo / nav links). */\n start?(): unknown;\n /** The centre slot — laid out in the middle of the row (search / primary nav). */\n center?(): unknown;\n /** The trailing slot — laid out at the end of the row (actions / avatar / CTA). */\n end?(): unknown;\n /**\n * The raw row content — replaces the `start` / `center` / `end` slot layout when\n * provided. Use for fully custom bars.\n */\n default?(): unknown;\n}>();\n\nconst props = withDefaults(defineProps<NavbarProps>(), {\n as: undefined,\n isSticky: undefined,\n sticky: undefined,\n hasBorder: undefined,\n bordered: undefined,\n orientation: Orientation.Horizontal,\n variant: undefined,\n});\n\nconst isVertical = computed(() => props.orientation === Orientation.Vertical);\n\n/** True inside a host that already is the banner — `AppShellHeader`. */\nconst isHosted = inject(bannerHostKey, false);\n\nconst tag = computed<Element>(() => props.as ?? (isHosted ? Element.Div : Element.Header));\n\nprovide(navbarContextKey, { orientation: computed(() => props.orientation) });\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLElement>('el');\n\nconst classes = computed(() =>\n cn(\n navbarVariants({\n orientation: props.orientation,\n sticky: props.isSticky ?? props.sticky ?? false,\n height: props.height,\n }),\n /* A hosted bar fills the host's row at the host's height. */\n isHosted && 'min-w-0 flex-1 self-stretch',\n isHosted && props.height === undefined && 'h-auto',\n (props.hasBorder ?? props.bordered ?? !isHosted) &&\n (isVertical.value ? 'border-e border-border' : 'border-b border-border'),\n props.tone\n ? surfaceVariants({ variant: 'subtle', tone: props.tone, radius: 'none' })\n : NavbarSurfaceClass[props.variant ?? (isHosted ? 'transparent' : 'solid')],\n attrs.class as string | undefined,\n ),\n);\n\n/** Push `end` to the trailing edge when there's no centre slot to absorb the slack. */\nconst endClasses = computed(() => cn('flex min-w-0 items-center gap-3', !slots.center && 'ml-auto'));\n\n/** Inner-container classes with consumer spacing taking precedence. */\nconst containerClasses = computed(() =>\n cn('flex h-full items-center gap-3', props.containerAttrs?.class as string | undefined, props.containerClass),\n);\n\n/** Rail classes: a column from the brand at the top to the account at the foot, consumer spacing last. */\nconst railClasses = computed(() =>\n cn(\n 'flex h-full min-h-0 flex-col items-stretch gap-3 p-3',\n props.containerAttrs?.class as string | undefined,\n props.containerClass,\n ),\n);\n\n/** Inner-container attributes except `class`, which is merged through `cn`. */\nconst containerRest = computed(() => {\n const { class: _class, ...others } = props.containerAttrs ?? {};\n return others;\n});\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <component :is=\"tag\" v-if=\"isVertical\" ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <div v-bind=\"containerRest\" :class=\"railClasses\">\n <slot v-if=\"$slots.default\" />\n <template v-else>\n <div v-if=\"$slots.start\" class=\"flex min-w-0 shrink-0 items-center gap-3\">\n <slot name=\"start\" />\n </div>\n <div v-if=\"$slots.center\" class=\"flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto\">\n <slot name=\"center\" />\n </div>\n <div v-if=\"$slots.end\" class=\"mt-auto flex min-w-0 shrink-0 items-center gap-3\">\n <slot name=\"end\" />\n </div>\n </template>\n </div>\n </component>\n <component :is=\"tag\" v-else ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <ContainerLayout v-bind=\"containerRest\" :size=\"props.containerSize\" :class=\"containerClasses\">\n <slot v-if=\"$slots.default\" />\n <template v-else>\n <div v-if=\"$slots.start\" class=\"flex min-w-0 items-center gap-3\">\n <slot name=\"start\" />\n </div>\n <div v-if=\"$slots.center\" class=\"flex min-w-0 flex-1 items-center justify-center gap-3\">\n <slot name=\"center\" />\n </div>\n <div v-if=\"$slots.end\" :class=\"endClasses\">\n <slot name=\"end\" />\n </div>\n </template>\n </ContainerLayout>\n </component>\n</template>\n"],"names":["Orientation","Element","_createBlock","_resolveDynamicComponent","_mergeProps","_createElementVNode","$slots","_renderSlot","_createElementBlock","_Fragment","_openBlock","_createVNode","ContainerLayout"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8EA,UAAM,QAAQ;AAUd,UAAM,aAAa,SAAS,MAAM,MAAM,gBAAgBA,kBAA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A,kBADJD,WAAqB,KAAA,QAAA,OAAA;AAAA,gBAAA;gBAEZD,KAAAA,OAAO,UAAlBI,aAAAF,mBAEM,OAFN,YAEM;AAAA,kBADJD,WAAsB,KAAA,QAAA,QAAA;AAAA,gBAAA;gBAEbD,KAAAA,OAAO,oBAAlBE,mBAEM,OAAA;AAAA;kBAFkB,sBAAO,WAAA,KAAU;AAAA,gBAAA;kBACvCD,WAAmB,KAAA,QAAA,KAAA;AAAA,gBAAA;;;;;;;;;;;"}
|
|
@@ -110,8 +110,8 @@ declare const _default: __VLS_WithSlots<import('vue').DefineComponent<AccountMen
|
|
|
110
110
|
readonly placement: Placement;
|
|
111
111
|
readonly isDisabled: boolean;
|
|
112
112
|
readonly description: string;
|
|
113
|
-
readonly locale: string;
|
|
114
113
|
readonly defaultOpen: boolean;
|
|
114
|
+
readonly locale: string;
|
|
115
115
|
readonly panelClass: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
116
116
|
readonly organization: string;
|
|
117
117
|
readonly avatarSrc: string | null;
|
|
@@ -41,9 +41,9 @@ declare const _default: __VLS_WithSlots<import('vue').DefineComponent<HoverCardP
|
|
|
41
41
|
readonly open: boolean;
|
|
42
42
|
readonly offset: number;
|
|
43
43
|
readonly placement: Placement;
|
|
44
|
-
readonly defaultOpen: boolean;
|
|
45
44
|
readonly openDelay: number;
|
|
46
45
|
readonly closeDelay: number;
|
|
46
|
+
readonly defaultOpen: boolean;
|
|
47
47
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
48
48
|
default(): unknown;
|
|
49
49
|
}>;
|
|
@@ -24,9 +24,9 @@ declare const _default: __VLS_WithSlots<import('vue').DefineComponent<TooltipPro
|
|
|
24
24
|
readonly open: boolean;
|
|
25
25
|
readonly placement: Placement;
|
|
26
26
|
readonly isDisabled: boolean;
|
|
27
|
-
readonly defaultOpen: boolean;
|
|
28
27
|
readonly openDelay: number;
|
|
29
28
|
readonly closeDelay: number;
|
|
29
|
+
readonly defaultOpen: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
31
31
|
/** The single child element — the trigger. Receives the handlers, the ref, and `aria-describedby`. */
|
|
32
32
|
default(): unknown;
|
package/package.json
CHANGED