@dicehub/kappa 0.6.2 → 1.0.0
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/CHANGELOG.md +98 -0
- package/THIRD_PARTY_NOTICES.md +103 -1
- package/dist/{DropdownSubTrigger-DrZmNIcU.js → DropdownSubTrigger-DVOFK5Y1.js} +202 -146
- package/dist/DropdownSubTrigger-DVOFK5Y1.js.map +1 -0
- package/dist/PoweredByDicehub-DPceYF8f.js +143 -0
- package/dist/PoweredByDicehub-DPceYF8f.js.map +1 -0
- package/dist/{WorkspaceSwitcher-DBWdKZbM.js → WorkspaceSwitcher-DDAIMxeE.js} +5 -9
- package/dist/WorkspaceSwitcher-DDAIMxeE.js.map +1 -0
- package/dist/app-shell-PGvfb1aZ.js +570 -0
- package/dist/app-shell-PGvfb1aZ.js.map +1 -0
- package/dist/blocks/app-shell/AppShell.vue.d.ts +41 -0
- package/dist/blocks/app-shell/AppShellActions.vue.d.ts +3 -0
- package/dist/blocks/app-shell/AppShellAsideResizeHandle.vue.d.ts +20 -0
- package/dist/blocks/app-shell/AppShellPage.vue.d.ts +6 -0
- package/dist/blocks/app-shell/AppShellPanels.vue.d.ts +33 -0
- package/dist/blocks/app-shell/AppShellSearchDialog.vue.d.ts +10 -0
- package/dist/blocks/app-shell/AppShellSearchTrigger.vue.d.ts +7 -0
- package/dist/blocks/app-shell/AppShellToolbar.vue.d.ts +3 -0
- package/dist/blocks/app-shell/app-shell.d.ts +67 -0
- package/dist/blocks/app-shell/index.d.ts +19 -0
- package/dist/blocks/app-shell.js +2 -0
- package/dist/blocks/file-browser.js +1 -1
- package/dist/blocks/index.d.ts +1 -0
- package/dist/blocks/sidebar-layout/SidebarLayout.vue.d.ts +2 -0
- package/dist/blocks/sidebar-layout/sidebar-layout.d.ts +14 -2
- package/dist/blocks/sidebar-layout.js +1 -1
- package/dist/blocks/workspace-switcher/workspace-switcher.d.ts +2 -0
- package/dist/blocks/workspace-switcher.js +1 -1
- package/dist/{breadcrumbs-CIxUxZVD.js → breadcrumbs-CPfb83sY.js} +36 -41
- package/dist/{breadcrumbs-CIxUxZVD.js.map → breadcrumbs-CPfb83sY.js.map} +1 -1
- package/dist/button-Cst2B-9X.js +208 -0
- package/dist/button-Cst2B-9X.js.map +1 -0
- package/dist/code-highlighted-BDnrVMMM.js +541 -0
- package/dist/code-highlighted-BDnrVMMM.js.map +1 -0
- package/dist/{command-palette-BHFB86Gc.js → command-palette-BjXvHrd6.js} +178 -165
- package/dist/command-palette-BjXvHrd6.js.map +1 -0
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/toolbar-button.d.ts +23 -0
- package/dist/components/button.js +2 -2
- package/dist/components/code-block/index.d.ts +8 -0
- package/dist/components/code-block.js +10 -0
- package/dist/components/code-block.js.map +1 -0
- package/dist/components/code-highlighted/CodeBlockDisclosure.vue.d.ts +36 -0
- package/dist/components/code-highlighted/CodeHighlighted.vue.d.ts +28 -1
- package/dist/components/code-highlighted/code-highlighted.d.ts +12 -1
- package/dist/components/code-highlighted/use-shiki-highlighter.d.ts +1 -0
- package/dist/components/code-highlighted.js +2 -376
- package/dist/components/command-palette/CommandPaletteResultItem.vue.d.ts +1 -1
- package/dist/components/command-palette.js +1 -1
- package/dist/components/context-menu/ContextMenu.vue.d.ts +5 -5
- package/dist/components/context-menu.js +2 -2
- package/dist/components/data-grid.js +1 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +1 -1
- package/dist/components/dialog/Dialog.vue.d.ts +7 -7
- package/dist/components/dialog-layout/DialogLayoutAlert.vue.d.ts +3 -3
- package/dist/components/dicehub-logo/dicehub-logo.d.ts +17 -4
- package/dist/components/dicehub-logo/index.d.ts +1 -1
- package/dist/components/dicehub-logo.js +2 -2
- package/dist/components/drawer/Drawer.vue.d.ts +3 -3
- package/dist/components/dropdown/Dropdown.vue.d.ts +5 -5
- package/dist/components/dropdown/DropdownContent.vue.d.ts +1 -0
- package/dist/components/dropdown/DropdownSub.vue.d.ts +5 -5
- package/dist/components/dropdown/DropdownSubContent.vue.d.ts +1 -0
- package/dist/components/dropdown/dropdown.d.ts +2 -0
- package/dist/components/dropdown/use-dropdown-focus.d.ts +6 -0
- package/dist/components/dropdown.js +2 -2
- package/dist/components/filter-bar.js +1 -1
- package/dist/components/hover-card/HoverCard.vue.d.ts +2 -2
- package/dist/components/kbd.js +1 -1
- package/dist/components/loader/Loader.vue.d.ts +1 -1
- package/dist/components/matrix-loader/MatrixLoader.vue.d.ts +1 -1
- package/dist/components/menu-bar.js +1 -1
- package/dist/components/popover/Popover.vue.d.ts +7 -7
- package/dist/components/sidebar/SidebarProvider.vue.d.ts +1 -0
- package/dist/components/sidebar/index.d.ts +1 -1
- package/dist/components/sidebar/sidebar-resize.d.ts +1 -0
- package/dist/components/sidebar/sidebar.d.ts +5 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/table/TableCheckCell.vue.d.ts +1 -1
- package/dist/components/table/TableCheckHead.vue.d.ts +1 -1
- package/dist/components/toolbar/ToolbarButton.vue.d.ts +5 -1
- package/dist/components/toolbar/index.d.ts +3 -2
- package/dist/components/toolbar/toolbar.d.ts +2 -3
- package/dist/components/toolbar.js +3 -2
- package/dist/components/tooltip/Tooltip.vue.d.ts +5 -5
- package/dist/{context-menu-B_noSd5p.js → context-menu-WmJWrUGu.js} +2 -2
- package/dist/{context-menu-B_noSd5p.js.map → context-menu-WmJWrUGu.js.map} +1 -1
- package/dist/{data-grid-CobgDr8q.js → data-grid-BQkLsfk0.js} +2 -2
- package/dist/{data-grid-CobgDr8q.js.map → data-grid-BQkLsfk0.js.map} +1 -1
- package/dist/{dropdown-Dedb1tk8.js → dropdown-BABKXjuz.js} +2 -2
- package/dist/{dropdown-Dedb1tk8.js.map → dropdown-BABKXjuz.js.map} +1 -1
- package/dist/{file-browser-CGqaz2eI.js → file-browser-BxOJWvrF.js} +5 -5
- package/dist/{file-browser-CGqaz2eI.js.map → file-browser-BxOJWvrF.js.map} +1 -1
- package/dist/{filter-bar-COAlDQE4.js → filter-bar-CAyW-YoF.js} +2 -2
- package/dist/{filter-bar-COAlDQE4.js.map → filter-bar-CAyW-YoF.js.map} +1 -1
- package/dist/index.js +104 -103
- package/dist/{KbdGroup-CNwqr4vX.js → kbd-CNwqr4vX.js} +1 -1
- package/dist/kbd-CNwqr4vX.js.map +1 -0
- package/dist/{menu-bar-C-qQn2L1.js → menu-bar-DPJllpvf.js} +2 -2
- package/dist/{menu-bar-C-qQn2L1.js.map → menu-bar-DPJllpvf.js.map} +1 -1
- package/dist/paneled-bottom.png +0 -0
- package/dist/paneled-side.png +0 -0
- package/dist/registry/component-registry.json +18 -6
- package/dist/registry/generated.d.ts +94 -10
- package/dist/{registry-DLklQtS0.js → registry-Bgb2nbb2.js} +121 -9
- package/dist/registry-Bgb2nbb2.js.map +1 -0
- package/dist/registry.js +1 -1
- package/dist/{sidebar-tcrbUrk_.js → sidebar-9TqPqgDD.js} +178 -157
- package/dist/sidebar-9TqPqgDD.js.map +1 -0
- package/dist/{SidebarLayout-D9RT-MdT.js → sidebar-layout-DRe1HpSt.js} +65 -46
- package/dist/sidebar-layout-DRe1HpSt.js.map +1 -0
- package/dist/styles/kappa.css +1 -1
- package/dist/styles/theme-kappa.css +296 -1
- package/dist/styles/tokens.json +767 -0
- package/dist/{toolbar-DC-4XdHD.js → toolbar-DJsnox8t.js} +90 -146
- package/dist/toolbar-DJsnox8t.js.map +1 -0
- package/licenses/nunito.LICENSE +93 -0
- package/package.json +1 -1
- package/dist/DropdownSubTrigger-DrZmNIcU.js.map +0 -1
- package/dist/KbdGroup-CNwqr4vX.js.map +0 -1
- package/dist/PoweredByDicehub-BD-y1NZA.js +0 -92
- package/dist/PoweredByDicehub-BD-y1NZA.js.map +0 -1
- package/dist/SidebarLayout-D9RT-MdT.js.map +0 -1
- package/dist/WorkspaceSwitcher-DBWdKZbM.js.map +0 -1
- package/dist/button-DSgFcDoO.js +0 -128
- package/dist/button-DSgFcDoO.js.map +0 -1
- package/dist/command-palette-BHFB86Gc.js.map +0 -1
- package/dist/components/code-highlighted.js.map +0 -1
- package/dist/registry-DLklQtS0.js.map +0 -1
- package/dist/sidebar-tcrbUrk_.js.map +0 -1
- package/dist/toolbar-DC-4XdHD.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownSubTrigger-DrZmNIcU.js","names":["$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs","$attrs"],"sources":["../src/components/dropdown/dropdown-aria-label.ts","../src/components/dropdown/dropdown.ts","../src/components/dropdown/DropdownArrow.vue","../src/components/dropdown/DropdownArrow.vue","../src/components/dropdown/DropdownCheckboxItem.vue","../src/components/dropdown/DropdownCheckboxItem.vue","../src/components/dropdown/DropdownContent.vue","../src/components/dropdown/DropdownContent.vue","../src/components/dropdown/DropdownContext.vue","../src/components/dropdown/DropdownContext.vue","../src/components/dropdown/DropdownContextTrigger.vue","../src/components/dropdown/DropdownContextTrigger.vue","../src/components/dropdown/DropdownGroup.vue","../src/components/dropdown/DropdownGroup.vue","../src/components/dropdown/DropdownItem.vue","../src/components/dropdown/DropdownItem.vue","../src/components/dropdown/DropdownItemContext.vue","../src/components/dropdown/DropdownItemContext.vue","../src/components/dropdown/DropdownItemIndicator.vue","../src/components/dropdown/DropdownItemIndicator.vue","../src/components/dropdown/DropdownItemText.vue","../src/components/dropdown/DropdownItemText.vue","../src/components/dropdown/DropdownLabel.vue","../src/components/dropdown/DropdownLabel.vue","../src/components/dropdown/DropdownLinkItem.vue","../src/components/dropdown/DropdownLinkItem.vue","../src/components/dropdown/DropdownRadioGroup.vue","../src/components/dropdown/DropdownRadioGroup.vue","../src/components/dropdown/DropdownRadioItem.vue","../src/components/dropdown/DropdownRadioItem.vue","../src/components/dropdown/DropdownRootProvider.vue","../src/components/dropdown/DropdownRootProvider.vue","../src/components/dropdown/DropdownSeparator.vue","../src/components/dropdown/DropdownSeparator.vue","../src/components/dropdown/DropdownShortcut.vue","../src/components/dropdown/DropdownShortcut.vue","../src/components/dropdown/DropdownSub.vue","../src/components/dropdown/DropdownSub.vue","../src/components/dropdown/DropdownSubContent.vue","../src/components/dropdown/DropdownSubContent.vue","../src/components/dropdown/DropdownSubTrigger.vue","../src/components/dropdown/DropdownSubTrigger.vue"],"sourcesContent":["import type { ComputedRef, InjectionKey } from \"vue\";\n\nexport const dropdownAriaLabelKey: InjectionKey<ComputedRef<string | undefined>> = Symbol(\n \"kappa-dropdown-aria-label\",\n);\n","import type {\n MenuArrowProps as ArkMenuArrowProps,\n MenuCheckboxItemProps as ArkMenuCheckboxItemProps,\n MenuContentProps as ArkMenuContentProps,\n MenuContextTriggerProps as ArkMenuContextTriggerProps,\n MenuFocusOutsideEvent,\n MenuHighlightChangeDetails,\n MenuIndicatorProps as ArkMenuIndicatorProps,\n MenuInteractOutsideEvent,\n MenuItemContextProps as ArkMenuItemContextProps,\n MenuItemGroupLabelProps as ArkMenuItemGroupLabelProps,\n MenuItemGroupProps as ArkMenuItemGroupProps,\n MenuItemIndicatorProps as ArkMenuItemIndicatorProps,\n MenuItemProps as ArkMenuItemProps,\n MenuItemTextProps as ArkMenuItemTextProps,\n MenuOpenChangeDetails,\n MenuPointerDownOutsideEvent,\n MenuRadioItemGroupProps as ArkMenuRadioItemGroupProps,\n MenuRadioItemProps as ArkMenuRadioItemProps,\n MenuRootProps as ArkMenuRootProps,\n MenuSelectionDetails,\n MenuSeparatorProps as ArkMenuSeparatorProps,\n MenuTriggerItemProps as ArkMenuTriggerItemProps,\n MenuTriggerProps as ArkMenuTriggerProps,\n MenuTriggerValueChangeDetails,\n UseMenuContext,\n UseMenuItemContext,\n UseMenuReturn,\n} from \"@ark-ui/vue/menu\";\nimport type {\n ButtonHTMLAttributes,\n Component,\n TeleportProps,\n UnwrapRef,\n VNodeChild,\n} from \"vue\";\n\nexport type {\n MenuFocusOutsideEvent as DropdownFocusOutsideEvent,\n MenuHighlightChangeDetails as DropdownHighlightChangeDetails,\n MenuInteractOutsideEvent as DropdownInteractOutsideEvent,\n MenuOpenChangeDetails as DropdownOpenChangeDetails,\n MenuPointerDownOutsideEvent as DropdownPointerDownOutsideEvent,\n MenuSelectionDetails as DropdownSelectionDetails,\n MenuTriggerValueChangeDetails as DropdownTriggerValueChangeDetails,\n} from \"@ark-ui/vue/menu\";\n\nexport const DROPDOWN_ITEM_VARIANTS = [\"default\", \"destructive\"] as const;\nexport type DropdownItemVariant = (typeof DROPDOWN_ITEM_VARIANTS)[number];\nexport const DROPDOWN_DEFAULT_ITEM_VARIANT = \"default\" satisfies DropdownItemVariant;\n\nexport const isDropdownItemVariant = (value: unknown): value is DropdownItemVariant =>\n typeof value === \"string\" && DROPDOWN_ITEM_VARIANTS.includes(value as DropdownItemVariant);\n\nexport const resolveDropdownItemVariant = (value: unknown): DropdownItemVariant =>\n isDropdownItemVariant(value) ? value : DROPDOWN_DEFAULT_ITEM_VARIANT;\n\nexport type DropdownPositioningOptions = NonNullable<ArkMenuRootProps[\"positioning\"]>;\nexport type DropdownDirection = \"ltr\" | \"rtl\";\n\nexport const DROPDOWN_DEFAULT_POSITIONING = {\n fitViewport: true,\n gutter: 6,\n overflowPadding: 8,\n placement: \"bottom-start\",\n} as const satisfies DropdownPositioningOptions;\n\nexport const DROPDOWN_SUB_DEFAULT_POSITIONING = {\n fitViewport: true,\n gutter: 0,\n overflowPadding: 8,\n placement: \"right-start\",\n} as const satisfies DropdownPositioningOptions;\n\nexport type DropdownApi = UseMenuReturn;\nexport type DropdownContextValue = UnwrapRef<UseMenuContext>;\nexport type DropdownItemContextValue = UnwrapRef<UseMenuItemContext>;\n\nexport type DropdownRequestDismissEvent = CustomEvent<{\n originalIndex: number;\n originalLayer: HTMLElement;\n targetIndex: number;\n targetLayer: HTMLElement | undefined;\n}>;\n\nexport interface DropdownProps {\n anchorPoint?: ArkMenuRootProps[\"anchorPoint\"];\n ariaLabel?: ArkMenuRootProps[\"aria-label\"];\n closeOnSelect?: ArkMenuRootProps[\"closeOnSelect\"];\n composite?: ArkMenuRootProps[\"composite\"];\n defaultHighlightedValue?: ArkMenuRootProps[\"defaultHighlightedValue\"];\n defaultOpen?: ArkMenuRootProps[\"defaultOpen\"];\n defaultTriggerValue?: ArkMenuRootProps[\"defaultTriggerValue\"];\n dir?: DropdownDirection;\n highlightedValue?: ArkMenuRootProps[\"highlightedValue\"];\n id?: ArkMenuRootProps[\"id\"];\n ids?: ArkMenuRootProps[\"ids\"];\n lazyMount?: ArkMenuRootProps[\"lazyMount\"];\n loopFocus?: ArkMenuRootProps[\"loopFocus\"];\n navigate?: ArkMenuRootProps[\"navigate\"];\n open?: ArkMenuRootProps[\"open\"];\n positioning?: ArkMenuRootProps[\"positioning\"];\n triggerValue?: ArkMenuRootProps[\"triggerValue\"];\n typeahead?: ArkMenuRootProps[\"typeahead\"];\n unmountOnExit?: ArkMenuRootProps[\"unmountOnExit\"];\n}\n\nexport type DropdownRootProps = DropdownProps;\nexport type DropdownSubProps = DropdownProps;\n\nexport type DropdownEmits = {\n escapeKeyDown: [event: KeyboardEvent];\n exitComplete: [];\n focusOutside: [event: MenuFocusOutsideEvent];\n highlightChange: [details: MenuHighlightChangeDetails];\n interactOutside: [event: MenuInteractOutsideEvent];\n openChange: [details: MenuOpenChangeDetails];\n pointerDownOutside: [event: MenuPointerDownOutsideEvent];\n requestDismiss: [event: DropdownRequestDismissEvent];\n select: [details: MenuSelectionDetails];\n triggerValueChange: [details: MenuTriggerValueChangeDetails];\n \"update:highlightedValue\": [value: string | null];\n \"update:open\": [value: boolean];\n \"update:triggerValue\": [value: string | null];\n};\n\nexport interface DropdownSlots {\n default?: () => VNodeChild;\n}\n\nexport type DropdownRootSlots = DropdownSlots;\nexport type DropdownSubEmits = DropdownEmits;\nexport type DropdownSubSlots = DropdownSlots;\n\nexport interface DropdownRootProviderProps {\n value: DropdownApi;\n lazyMount?: boolean;\n unmountOnExit?: boolean;\n}\n\nexport type DropdownRootProviderEmits = { exitComplete: [] };\nexport type DropdownRootProviderSlots = DropdownSlots;\n\nexport interface DropdownTriggerProps {\n asChild?: ArkMenuTriggerProps[\"asChild\"];\n value?: ArkMenuTriggerProps[\"value\"];\n}\n\nexport type DropdownTriggerSlots = DropdownSlots;\n\nexport interface DropdownIndicatorProps {\n asChild?: ArkMenuIndicatorProps[\"asChild\"];\n}\n\nexport type DropdownIndicatorSlots = DropdownSlots;\n\nexport interface DropdownContextTriggerProps {\n asChild?: ArkMenuContextTriggerProps[\"asChild\"];\n type?: ButtonHTMLAttributes[\"type\"];\n}\n\nexport type DropdownContextTriggerSlots = DropdownSlots;\n\nexport interface DropdownContentProps {\n asChild?: ArkMenuContentProps[\"asChild\"];\n /** Keep the popup in the component DOM tree when false. */\n teleport?: boolean;\n /** Target for the popup teleport. */\n teleportTo?: TeleportProps[\"to\"];\n}\n\nexport type DropdownContentSlots = DropdownSlots;\nexport type DropdownSubContentProps = DropdownContentProps;\nexport type DropdownSubContentSlots = DropdownSlots;\n\nexport interface DropdownArrowProps {\n asChild?: ArkMenuArrowProps[\"asChild\"];\n}\n\nexport type DropdownArrowSlots = DropdownSlots;\n\nexport interface DropdownItemProps {\n asChild?: ArkMenuItemProps[\"asChild\"];\n closeOnSelect?: ArkMenuItemProps[\"closeOnSelect\"];\n disabled?: ArkMenuItemProps[\"disabled\"];\n icon?: Component;\n iconProps?: Record<string, unknown>;\n inset?: boolean;\n selected?: boolean;\n value: ArkMenuItemProps[\"value\"];\n valueText?: ArkMenuItemProps[\"valueText\"];\n variant?: DropdownItemVariant;\n}\n\nexport type DropdownItemEmits = { select: [] };\n\nexport interface DropdownItemSlots {\n default?: () => VNodeChild;\n end?: () => VNodeChild;\n icon?: () => VNodeChild;\n selected?: () => VNodeChild;\n}\n\nexport interface DropdownLinkItemProps\n extends Omit<DropdownItemProps, \"asChild\" | \"selected\" | \"value\"> {\n href: string;\n rel?: string;\n target?: string;\n value?: string;\n}\n\nexport type DropdownLinkItemEmits = DropdownItemEmits;\nexport type DropdownLinkItemSlots = Omit<DropdownItemSlots, \"selected\">;\n\nexport interface DropdownCheckboxItemProps {\n asChild?: ArkMenuCheckboxItemProps[\"asChild\"];\n checked?: boolean;\n closeOnSelect?: ArkMenuCheckboxItemProps[\"closeOnSelect\"];\n defaultChecked?: boolean;\n disabled?: ArkMenuCheckboxItemProps[\"disabled\"];\n inset?: boolean;\n value: ArkMenuCheckboxItemProps[\"value\"];\n valueText?: ArkMenuCheckboxItemProps[\"valueText\"];\n}\n\nexport type DropdownCheckboxItemEmits = {\n checkedChange: [value: boolean];\n \"update:checked\": [value: boolean];\n};\n\nexport interface DropdownCheckboxItemSlots {\n default?: () => VNodeChild;\n end?: () => VNodeChild;\n indicator?: () => VNodeChild;\n}\n\nexport interface DropdownRadioGroupProps {\n asChild?: ArkMenuRadioItemGroupProps[\"asChild\"];\n defaultValue?: string;\n id?: ArkMenuRadioItemGroupProps[\"id\"];\n modelValue?: ArkMenuRadioItemGroupProps[\"modelValue\"];\n}\n\nexport type DropdownRadioGroupEmits = {\n valueChange: [value: string];\n \"update:modelValue\": [value: string];\n};\n\nexport type DropdownRadioGroupSlots = DropdownSlots;\n\nexport interface DropdownRadioItemProps {\n asChild?: ArkMenuRadioItemProps[\"asChild\"];\n closeOnSelect?: ArkMenuRadioItemProps[\"closeOnSelect\"];\n disabled?: ArkMenuRadioItemProps[\"disabled\"];\n inset?: boolean;\n value: ArkMenuRadioItemProps[\"value\"];\n valueText?: ArkMenuRadioItemProps[\"valueText\"];\n}\n\nexport interface DropdownRadioItemSlots {\n default?: () => VNodeChild;\n end?: () => VNodeChild;\n indicator?: () => VNodeChild;\n}\n\nexport interface DropdownGroupProps {\n asChild?: ArkMenuItemGroupProps[\"asChild\"];\n id?: ArkMenuItemGroupProps[\"id\"];\n}\n\nexport type DropdownGroupSlots = DropdownSlots;\n\nexport interface DropdownLabelProps {\n asChild?: ArkMenuItemGroupLabelProps[\"asChild\"];\n inset?: boolean;\n}\n\nexport type DropdownLabelSlots = DropdownSlots;\n\nexport interface DropdownItemIndicatorProps {\n asChild?: ArkMenuItemIndicatorProps[\"asChild\"];\n}\n\nexport type DropdownItemIndicatorSlots = DropdownSlots;\n\nexport interface DropdownItemTextProps {\n asChild?: ArkMenuItemTextProps[\"asChild\"];\n}\n\nexport type DropdownItemTextSlots = DropdownSlots;\n\nexport interface DropdownSeparatorProps {\n asChild?: ArkMenuSeparatorProps[\"asChild\"];\n}\n\nexport type DropdownSeparatorSlots = DropdownSlots;\n\nexport interface DropdownSubTriggerProps {\n asChild?: ArkMenuTriggerItemProps[\"asChild\"];\n disabled?: boolean;\n icon?: Component;\n iconProps?: Record<string, unknown>;\n inset?: boolean;\n}\n\nexport interface DropdownSubTriggerSlots {\n default?: () => VNodeChild;\n end?: () => VNodeChild;\n icon?: () => VNodeChild;\n}\n\nexport interface DropdownContextSlots {\n default?: (context: DropdownContextValue) => VNodeChild;\n}\n\nexport interface DropdownItemContextSlots {\n default?: (context: DropdownItemContextValue) => VNodeChild;\n}\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownArrowProps, DropdownArrowSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownArrowProps>(), {\n asChild: undefined,\n});\n\ndefineSlots<DropdownArrowSlots>();\n</script>\n\n<template>\n <ArkMenu.Arrow\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__arrow\"\n data-slot=\"dropdown-arrow\"\n :as-child=\"props.asChild\"\n >\n <slot><ArkMenu.ArrowTip class=\"kappa-dropdown__arrow-tip\" /></slot>\n </ArkMenu.Arrow>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownArrowProps, DropdownArrowSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownArrowProps>(), {\n asChild: undefined,\n});\n\ndefineSlots<DropdownArrowSlots>();\n</script>\n\n<template>\n <ArkMenu.Arrow\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__arrow\"\n data-slot=\"dropdown-arrow\"\n :as-child=\"props.asChild\"\n >\n <slot><ArkMenu.ArrowTip class=\"kappa-dropdown__arrow-tip\" /></slot>\n </ArkMenu.Arrow>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { computed, ref } from \"vue\";\nimport type {\n DropdownCheckboxItemEmits,\n DropdownCheckboxItemProps,\n DropdownCheckboxItemSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownCheckboxItemProps>(), {\n asChild: undefined,\n checked: undefined,\n closeOnSelect: false,\n defaultChecked: false,\n disabled: undefined,\n inset: false,\n valueText: undefined,\n});\n\nconst emit = defineEmits<DropdownCheckboxItemEmits>();\ndefineSlots<DropdownCheckboxItemSlots>();\n\nconst internalChecked = ref(props.defaultChecked);\nconst resolvedChecked = computed(() => props.checked ?? internalChecked.value);\n\nconst handleCheckedUpdate = (value: boolean) => {\n if (props.checked === undefined) internalChecked.value = value;\n emit(\"update:checked\", value);\n emit(\"checkedChange\", value);\n};\n</script>\n\n<template>\n <ArkMenu.CheckboxItem\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item kappa-dropdown__option-item\"\n data-slot=\"dropdown-checkbox-item\"\n :as-child=\"props.asChild\"\n :checked=\"resolvedChecked\"\n :close-on-select=\"props.closeOnSelect\"\n :data-inset=\"props.inset ? '' : undefined\"\n :disabled=\"props.disabled\"\n :value=\"props.value\"\n :value-text=\"props.valueText\"\n @update:checked=\"handleCheckedUpdate\"\n >\n <slot v-if=\"props.asChild\" />\n <template v-else>\n <ArkMenu.ItemIndicator\n class=\"kappa-dropdown__item-indicator\"\n data-slot=\"dropdown-item-indicator\"\n >\n <slot name=\"indicator\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"m3 8.25 3 3 7-7\" />\n </svg>\n </slot>\n </ArkMenu.ItemIndicator>\n <slot />\n <slot name=\"end\" />\n </template>\n </ArkMenu.CheckboxItem>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { computed, ref } from \"vue\";\nimport type {\n DropdownCheckboxItemEmits,\n DropdownCheckboxItemProps,\n DropdownCheckboxItemSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownCheckboxItemProps>(), {\n asChild: undefined,\n checked: undefined,\n closeOnSelect: false,\n defaultChecked: false,\n disabled: undefined,\n inset: false,\n valueText: undefined,\n});\n\nconst emit = defineEmits<DropdownCheckboxItemEmits>();\ndefineSlots<DropdownCheckboxItemSlots>();\n\nconst internalChecked = ref(props.defaultChecked);\nconst resolvedChecked = computed(() => props.checked ?? internalChecked.value);\n\nconst handleCheckedUpdate = (value: boolean) => {\n if (props.checked === undefined) internalChecked.value = value;\n emit(\"update:checked\", value);\n emit(\"checkedChange\", value);\n};\n</script>\n\n<template>\n <ArkMenu.CheckboxItem\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item kappa-dropdown__option-item\"\n data-slot=\"dropdown-checkbox-item\"\n :as-child=\"props.asChild\"\n :checked=\"resolvedChecked\"\n :close-on-select=\"props.closeOnSelect\"\n :data-inset=\"props.inset ? '' : undefined\"\n :disabled=\"props.disabled\"\n :value=\"props.value\"\n :value-text=\"props.valueText\"\n @update:checked=\"handleCheckedUpdate\"\n >\n <slot v-if=\"props.asChild\" />\n <template v-else>\n <ArkMenu.ItemIndicator\n class=\"kappa-dropdown__item-indicator\"\n data-slot=\"dropdown-item-indicator\"\n >\n <slot name=\"indicator\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"m3 8.25 3 3 7-7\" />\n </svg>\n </slot>\n </ArkMenu.ItemIndicator>\n <slot />\n <slot name=\"end\" />\n </template>\n </ArkMenu.CheckboxItem>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu, useMenuContext } from \"@ark-ui/vue/menu\";\nimport { computed, inject, onMounted, ref, Teleport, useAttrs } from \"vue\";\nimport { dropdownAriaLabelKey } from \"./dropdown-aria-label\";\nimport type { DropdownContentProps, DropdownContentSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownContentProps>(), {\n asChild: undefined,\n teleport: true,\n teleportTo: \"body\",\n});\n\ndefineSlots<DropdownContentSlots>();\n\nconst attrs = useAttrs();\nconst menu = useMenuContext();\nconst inheritedAriaLabel = inject(dropdownAriaLabelKey, undefined);\nconst resolvedAriaLabel = computed(() => {\n const label = attrs[\"aria-label\"];\n if (typeof label === \"string\") return label;\n return inheritedAriaLabel?.value;\n});\nconst isMounted = ref(false);\n\nonMounted(() => {\n isMounted.value = true;\n});\n</script>\n\n<template>\n <Teleport :disabled=\"!props.teleport || !isMounted\" :to=\"props.teleportTo\">\n <ArkMenu.Positioner\n class=\"kappa-dropdown__positioner\"\n data-slot=\"dropdown-positioner\"\n >\n <ArkMenu.Content\n v-bind=\"{\n ...$attrs,\n ...(resolvedAriaLabel === undefined ? {} : { 'aria-label': resolvedAriaLabel }),\n ...(!menu.open ? { inert: true } : {}),\n }\"\n class=\"kappa-dropdown__content\"\n data-slot=\"dropdown-content\"\n :as-child=\"props.asChild\"\n >\n <slot />\n </ArkMenu.Content>\n </ArkMenu.Positioner>\n </Teleport>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu, useMenuContext } from \"@ark-ui/vue/menu\";\nimport { computed, inject, onMounted, ref, Teleport, useAttrs } from \"vue\";\nimport { dropdownAriaLabelKey } from \"./dropdown-aria-label\";\nimport type { DropdownContentProps, DropdownContentSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownContentProps>(), {\n asChild: undefined,\n teleport: true,\n teleportTo: \"body\",\n});\n\ndefineSlots<DropdownContentSlots>();\n\nconst attrs = useAttrs();\nconst menu = useMenuContext();\nconst inheritedAriaLabel = inject(dropdownAriaLabelKey, undefined);\nconst resolvedAriaLabel = computed(() => {\n const label = attrs[\"aria-label\"];\n if (typeof label === \"string\") return label;\n return inheritedAriaLabel?.value;\n});\nconst isMounted = ref(false);\n\nonMounted(() => {\n isMounted.value = true;\n});\n</script>\n\n<template>\n <Teleport :disabled=\"!props.teleport || !isMounted\" :to=\"props.teleportTo\">\n <ArkMenu.Positioner\n class=\"kappa-dropdown__positioner\"\n data-slot=\"dropdown-positioner\"\n >\n <ArkMenu.Content\n v-bind=\"{\n ...$attrs,\n ...(resolvedAriaLabel === undefined ? {} : { 'aria-label': resolvedAriaLabel }),\n ...(!menu.open ? { inert: true } : {}),\n }\"\n class=\"kappa-dropdown__content\"\n data-slot=\"dropdown-content\"\n :as-child=\"props.asChild\"\n >\n <slot />\n </ArkMenu.Content>\n </ArkMenu.Positioner>\n </Teleport>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownContextSlots } from \"./dropdown\";\n\ndefineSlots<DropdownContextSlots>();\n</script>\n\n<template>\n <ArkMenu.Context v-slot=\"context\">\n <slot v-bind=\"context\" />\n </ArkMenu.Context>\n</template>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownContextSlots } from \"./dropdown\";\n\ndefineSlots<DropdownContextSlots>();\n</script>\n\n<template>\n <ArkMenu.Context v-slot=\"context\">\n <slot v-bind=\"context\" />\n </ArkMenu.Context>\n</template>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu, useMenuContext } from \"@ark-ui/vue/menu\";\nimport {\n computed,\n nextTick,\n onBeforeUnmount,\n onMounted,\n useTemplateRef,\n watch,\n} from \"vue\";\nimport type { DropdownContextTriggerProps, DropdownContextTriggerSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownContextTriggerProps>(), {\n asChild: undefined,\n type: \"button\",\n});\n\ndefineSlots<DropdownContextTriggerSlots>();\n\nconst menu = useMenuContext();\nconst contentProps = computed(() => menu.value.getContentProps());\nconst contentId = computed(() => contentProps.value.id);\nconst popupRole = computed<\"dialog\" | \"menu\">(() =>\n contentProps.value.role === \"dialog\" ? \"dialog\" : \"menu\",\n);\nconst triggerElement = useTemplateRef<HTMLElement | { $el?: HTMLElement }>(\"trigger\");\n\nlet openedFromKeyboard = false;\nlet restoreFocusAfterClose = false;\n\nconst getTriggerElement = () => {\n const value = triggerElement.value;\n return value instanceof HTMLElement ? value : value?.$el;\n};\n\nconst trackKeyboardOpen = (event: KeyboardEvent) => {\n openedFromKeyboard = (event.shiftKey && event.key === \"F10\") || event.key === \"ContextMenu\";\n};\n\nconst trackPointerOpen = () => {\n openedFromKeyboard = false;\n restoreFocusAfterClose = false;\n};\n\nconst trackEscape = (event: KeyboardEvent) => {\n if (event.key === \"Escape\" && openedFromKeyboard && menu.value.open) {\n restoreFocusAfterClose = true;\n }\n};\n\nwatch(\n () => menu.value.open,\n (open, wasOpen) => {\n if (open || !wasOpen) return;\n\n const shouldRestoreFocus = restoreFocusAfterClose;\n openedFromKeyboard = false;\n restoreFocusAfterClose = false;\n if (!shouldRestoreFocus) return;\n\n void nextTick(() => getTriggerElement()?.focus({ preventScroll: true }));\n },\n);\n\nonMounted(() => document.addEventListener(\"keydown\", trackEscape, true));\nonBeforeUnmount(() => document.removeEventListener(\"keydown\", trackEscape, true));\n</script>\n\n<template>\n <ArkMenu.ContextTrigger\n ref=\"trigger\"\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__context-trigger\"\n data-slot=\"dropdown-context-trigger\"\n :as-child=\"props.asChild\"\n :aria-controls=\"contentId\"\n :aria-expanded=\"menu.open\"\n :aria-haspopup=\"popupRole\"\n :type=\"props.asChild ? undefined : props.type\"\n @keydown.capture=\"trackKeyboardOpen\"\n @pointerdown.capture=\"trackPointerOpen\"\n >\n <slot />\n </ArkMenu.ContextTrigger>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu, useMenuContext } from \"@ark-ui/vue/menu\";\nimport {\n computed,\n nextTick,\n onBeforeUnmount,\n onMounted,\n useTemplateRef,\n watch,\n} from \"vue\";\nimport type { DropdownContextTriggerProps, DropdownContextTriggerSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownContextTriggerProps>(), {\n asChild: undefined,\n type: \"button\",\n});\n\ndefineSlots<DropdownContextTriggerSlots>();\n\nconst menu = useMenuContext();\nconst contentProps = computed(() => menu.value.getContentProps());\nconst contentId = computed(() => contentProps.value.id);\nconst popupRole = computed<\"dialog\" | \"menu\">(() =>\n contentProps.value.role === \"dialog\" ? \"dialog\" : \"menu\",\n);\nconst triggerElement = useTemplateRef<HTMLElement | { $el?: HTMLElement }>(\"trigger\");\n\nlet openedFromKeyboard = false;\nlet restoreFocusAfterClose = false;\n\nconst getTriggerElement = () => {\n const value = triggerElement.value;\n return value instanceof HTMLElement ? value : value?.$el;\n};\n\nconst trackKeyboardOpen = (event: KeyboardEvent) => {\n openedFromKeyboard = (event.shiftKey && event.key === \"F10\") || event.key === \"ContextMenu\";\n};\n\nconst trackPointerOpen = () => {\n openedFromKeyboard = false;\n restoreFocusAfterClose = false;\n};\n\nconst trackEscape = (event: KeyboardEvent) => {\n if (event.key === \"Escape\" && openedFromKeyboard && menu.value.open) {\n restoreFocusAfterClose = true;\n }\n};\n\nwatch(\n () => menu.value.open,\n (open, wasOpen) => {\n if (open || !wasOpen) return;\n\n const shouldRestoreFocus = restoreFocusAfterClose;\n openedFromKeyboard = false;\n restoreFocusAfterClose = false;\n if (!shouldRestoreFocus) return;\n\n void nextTick(() => getTriggerElement()?.focus({ preventScroll: true }));\n },\n);\n\nonMounted(() => document.addEventListener(\"keydown\", trackEscape, true));\nonBeforeUnmount(() => document.removeEventListener(\"keydown\", trackEscape, true));\n</script>\n\n<template>\n <ArkMenu.ContextTrigger\n ref=\"trigger\"\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__context-trigger\"\n data-slot=\"dropdown-context-trigger\"\n :as-child=\"props.asChild\"\n :aria-controls=\"contentId\"\n :aria-expanded=\"menu.open\"\n :aria-haspopup=\"popupRole\"\n :type=\"props.asChild ? undefined : props.type\"\n @keydown.capture=\"trackKeyboardOpen\"\n @pointerdown.capture=\"trackPointerOpen\"\n >\n <slot />\n </ArkMenu.ContextTrigger>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownGroupProps, DropdownGroupSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownGroupProps>(), {\n asChild: undefined,\n id: undefined,\n});\n\ndefineSlots<DropdownGroupSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemGroup\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__group\"\n data-slot=\"dropdown-group\"\n :as-child=\"props.asChild\"\n :id=\"props.id\"\n >\n <slot />\n </ArkMenu.ItemGroup>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownGroupProps, DropdownGroupSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownGroupProps>(), {\n asChild: undefined,\n id: undefined,\n});\n\ndefineSlots<DropdownGroupSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemGroup\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__group\"\n data-slot=\"dropdown-group\"\n :as-child=\"props.asChild\"\n :id=\"props.id\"\n >\n <slot />\n </ArkMenu.ItemGroup>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { computed } from \"vue\";\nimport {\n DROPDOWN_DEFAULT_ITEM_VARIANT,\n resolveDropdownItemVariant,\n type DropdownItemEmits,\n type DropdownItemProps,\n type DropdownItemSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownItemProps>(), {\n asChild: undefined,\n closeOnSelect: undefined,\n disabled: undefined,\n icon: undefined,\n iconProps: () => ({}),\n inset: false,\n selected: false,\n valueText: undefined,\n variant: DROPDOWN_DEFAULT_ITEM_VARIANT,\n});\n\nconst emit = defineEmits<DropdownItemEmits>();\ndefineSlots<DropdownItemSlots>();\n\nconst resolvedVariant = computed(() => resolveDropdownItemVariant(props.variant));\n</script>\n\n<template>\n <ArkMenu.Item\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item\"\n data-slot=\"dropdown-item\"\n :as-child=\"props.asChild\"\n :close-on-select=\"props.closeOnSelect\"\n :data-inset=\"props.inset ? '' : undefined\"\n :data-selected=\"props.selected ? '' : undefined\"\n :data-variant=\"resolvedVariant\"\n :disabled=\"props.disabled\"\n :value=\"props.value\"\n :value-text=\"props.valueText\"\n @select=\"emit('select')\"\n >\n <slot v-if=\"props.asChild\" />\n <template v-else>\n <component\n :is=\"props.icon\"\n v-if=\"props.icon\"\n v-bind=\"props.iconProps\"\n aria-hidden=\"true\"\n class=\"kappa-dropdown__item-icon\"\n data-slot=\"dropdown-item-icon\"\n />\n <slot v-else name=\"icon\" />\n <slot />\n <slot name=\"end\" />\n <slot v-if=\"props.selected\" name=\"selected\">\n <span class=\"kappa-dropdown__selected-indicator\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 16 16\" focusable=\"false\"><path d=\"m3 8.25 3 3 7-7\" /></svg>\n </span>\n </slot>\n </template>\n </ArkMenu.Item>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { computed } from \"vue\";\nimport {\n DROPDOWN_DEFAULT_ITEM_VARIANT,\n resolveDropdownItemVariant,\n type DropdownItemEmits,\n type DropdownItemProps,\n type DropdownItemSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownItemProps>(), {\n asChild: undefined,\n closeOnSelect: undefined,\n disabled: undefined,\n icon: undefined,\n iconProps: () => ({}),\n inset: false,\n selected: false,\n valueText: undefined,\n variant: DROPDOWN_DEFAULT_ITEM_VARIANT,\n});\n\nconst emit = defineEmits<DropdownItemEmits>();\ndefineSlots<DropdownItemSlots>();\n\nconst resolvedVariant = computed(() => resolveDropdownItemVariant(props.variant));\n</script>\n\n<template>\n <ArkMenu.Item\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item\"\n data-slot=\"dropdown-item\"\n :as-child=\"props.asChild\"\n :close-on-select=\"props.closeOnSelect\"\n :data-inset=\"props.inset ? '' : undefined\"\n :data-selected=\"props.selected ? '' : undefined\"\n :data-variant=\"resolvedVariant\"\n :disabled=\"props.disabled\"\n :value=\"props.value\"\n :value-text=\"props.valueText\"\n @select=\"emit('select')\"\n >\n <slot v-if=\"props.asChild\" />\n <template v-else>\n <component\n :is=\"props.icon\"\n v-if=\"props.icon\"\n v-bind=\"props.iconProps\"\n aria-hidden=\"true\"\n class=\"kappa-dropdown__item-icon\"\n data-slot=\"dropdown-item-icon\"\n />\n <slot v-else name=\"icon\" />\n <slot />\n <slot name=\"end\" />\n <slot v-if=\"props.selected\" name=\"selected\">\n <span class=\"kappa-dropdown__selected-indicator\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 16 16\" focusable=\"false\"><path d=\"m3 8.25 3 3 7-7\" /></svg>\n </span>\n </slot>\n </template>\n </ArkMenu.Item>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownItemContextSlots } from \"./dropdown\";\n\ndefineSlots<DropdownItemContextSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemContext v-slot=\"context\">\n <slot v-bind=\"context\" />\n </ArkMenu.ItemContext>\n</template>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownItemContextSlots } from \"./dropdown\";\n\ndefineSlots<DropdownItemContextSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemContext v-slot=\"context\">\n <slot v-bind=\"context\" />\n </ArkMenu.ItemContext>\n</template>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownItemIndicatorProps, DropdownItemIndicatorSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownItemIndicatorProps>(), {\n asChild: undefined,\n});\n\ndefineSlots<DropdownItemIndicatorSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemIndicator\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item-indicator\"\n data-slot=\"dropdown-item-indicator\"\n :as-child=\"props.asChild\"\n >\n <slot>\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"m3 8.25 3 3 7-7\" />\n </svg>\n </slot>\n </ArkMenu.ItemIndicator>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownItemIndicatorProps, DropdownItemIndicatorSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownItemIndicatorProps>(), {\n asChild: undefined,\n});\n\ndefineSlots<DropdownItemIndicatorSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemIndicator\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item-indicator\"\n data-slot=\"dropdown-item-indicator\"\n :as-child=\"props.asChild\"\n >\n <slot>\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"m3 8.25 3 3 7-7\" />\n </svg>\n </slot>\n </ArkMenu.ItemIndicator>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownItemTextProps, DropdownItemTextSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownItemTextProps>(), {\n asChild: undefined,\n});\n\ndefineSlots<DropdownItemTextSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemText\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item-text\"\n data-slot=\"dropdown-item-text\"\n :as-child=\"props.asChild\"\n >\n <slot />\n </ArkMenu.ItemText>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownItemTextProps, DropdownItemTextSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownItemTextProps>(), {\n asChild: undefined,\n});\n\ndefineSlots<DropdownItemTextSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemText\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item-text\"\n data-slot=\"dropdown-item-text\"\n :as-child=\"props.asChild\"\n >\n <slot />\n </ArkMenu.ItemText>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownLabelProps, DropdownLabelSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownLabelProps>(), {\n asChild: undefined,\n inset: false,\n});\n\ndefineSlots<DropdownLabelSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemGroupLabel\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__label\"\n data-slot=\"dropdown-label\"\n :as-child=\"props.asChild\"\n :data-inset=\"props.inset ? '' : undefined\"\n >\n <slot />\n </ArkMenu.ItemGroupLabel>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownLabelProps, DropdownLabelSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownLabelProps>(), {\n asChild: undefined,\n inset: false,\n});\n\ndefineSlots<DropdownLabelSlots>();\n</script>\n\n<template>\n <ArkMenu.ItemGroupLabel\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__label\"\n data-slot=\"dropdown-label\"\n :as-child=\"props.asChild\"\n :data-inset=\"props.inset ? '' : undefined\"\n >\n <slot />\n </ArkMenu.ItemGroupLabel>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { computed } from \"vue\";\nimport {\n DROPDOWN_DEFAULT_ITEM_VARIANT,\n resolveDropdownItemVariant,\n type DropdownLinkItemEmits,\n type DropdownLinkItemProps,\n type DropdownLinkItemSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownLinkItemProps>(), {\n closeOnSelect: undefined,\n disabled: undefined,\n icon: undefined,\n iconProps: () => ({}),\n inset: false,\n rel: undefined,\n target: undefined,\n value: undefined,\n valueText: undefined,\n variant: DROPDOWN_DEFAULT_ITEM_VARIANT,\n});\n\nconst emit = defineEmits<DropdownLinkItemEmits>();\ndefineSlots<DropdownLinkItemSlots>();\n\nconst resolvedRel = computed(() =>\n props.rel ?? (props.target === \"_blank\" ? \"noopener noreferrer\" : undefined),\n);\nconst resolvedHref = computed(() => (props.disabled ? undefined : props.href));\nconst resolvedValue = computed(() => props.value ?? props.href);\nconst resolvedVariant = computed(() => resolveDropdownItemVariant(props.variant));\n</script>\n\n<template>\n <ArkMenu.Item\n :close-on-select=\"props.closeOnSelect\"\n :disabled=\"props.disabled\"\n :value=\"resolvedValue\"\n :value-text=\"props.valueText\"\n as-child\n @select=\"emit('select')\"\n >\n <a\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item kappa-dropdown__link-item\"\n data-slot=\"dropdown-link-item\"\n :data-inset=\"props.inset ? '' : undefined\"\n :data-variant=\"resolvedVariant\"\n :href=\"resolvedHref\"\n :rel=\"resolvedRel\"\n :target=\"props.target\"\n >\n <component\n :is=\"props.icon\"\n v-if=\"props.icon\"\n v-bind=\"props.iconProps\"\n aria-hidden=\"true\"\n class=\"kappa-dropdown__item-icon\"\n data-slot=\"dropdown-item-icon\"\n />\n <slot v-else name=\"icon\" />\n <slot />\n <slot name=\"end\" />\n </a>\n </ArkMenu.Item>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { computed } from \"vue\";\nimport {\n DROPDOWN_DEFAULT_ITEM_VARIANT,\n resolveDropdownItemVariant,\n type DropdownLinkItemEmits,\n type DropdownLinkItemProps,\n type DropdownLinkItemSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownLinkItemProps>(), {\n closeOnSelect: undefined,\n disabled: undefined,\n icon: undefined,\n iconProps: () => ({}),\n inset: false,\n rel: undefined,\n target: undefined,\n value: undefined,\n valueText: undefined,\n variant: DROPDOWN_DEFAULT_ITEM_VARIANT,\n});\n\nconst emit = defineEmits<DropdownLinkItemEmits>();\ndefineSlots<DropdownLinkItemSlots>();\n\nconst resolvedRel = computed(() =>\n props.rel ?? (props.target === \"_blank\" ? \"noopener noreferrer\" : undefined),\n);\nconst resolvedHref = computed(() => (props.disabled ? undefined : props.href));\nconst resolvedValue = computed(() => props.value ?? props.href);\nconst resolvedVariant = computed(() => resolveDropdownItemVariant(props.variant));\n</script>\n\n<template>\n <ArkMenu.Item\n :close-on-select=\"props.closeOnSelect\"\n :disabled=\"props.disabled\"\n :value=\"resolvedValue\"\n :value-text=\"props.valueText\"\n as-child\n @select=\"emit('select')\"\n >\n <a\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item kappa-dropdown__link-item\"\n data-slot=\"dropdown-link-item\"\n :data-inset=\"props.inset ? '' : undefined\"\n :data-variant=\"resolvedVariant\"\n :href=\"resolvedHref\"\n :rel=\"resolvedRel\"\n :target=\"props.target\"\n >\n <component\n :is=\"props.icon\"\n v-if=\"props.icon\"\n v-bind=\"props.iconProps\"\n aria-hidden=\"true\"\n class=\"kappa-dropdown__item-icon\"\n data-slot=\"dropdown-item-icon\"\n />\n <slot v-else name=\"icon\" />\n <slot />\n <slot name=\"end\" />\n </a>\n </ArkMenu.Item>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { computed, ref } from \"vue\";\nimport type {\n DropdownRadioGroupEmits,\n DropdownRadioGroupProps,\n DropdownRadioGroupSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownRadioGroupProps>(), {\n asChild: undefined,\n defaultValue: undefined,\n id: undefined,\n modelValue: undefined,\n});\n\nconst emit = defineEmits<DropdownRadioGroupEmits>();\ndefineSlots<DropdownRadioGroupSlots>();\n\nconst internalValue = ref(props.defaultValue);\nconst resolvedValue = computed(() => props.modelValue ?? internalValue.value);\n\nconst handleValueUpdate = (value: string) => {\n if (props.modelValue === undefined) internalValue.value = value;\n emit(\"update:modelValue\", value);\n emit(\"valueChange\", value);\n};\n</script>\n\n<template>\n <ArkMenu.RadioItemGroup\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__radio-group\"\n data-slot=\"dropdown-radio-group\"\n :as-child=\"props.asChild\"\n :id=\"props.id\"\n :model-value=\"resolvedValue\"\n @update:model-value=\"handleValueUpdate\"\n >\n <slot />\n </ArkMenu.RadioItemGroup>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { computed, ref } from \"vue\";\nimport type {\n DropdownRadioGroupEmits,\n DropdownRadioGroupProps,\n DropdownRadioGroupSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownRadioGroupProps>(), {\n asChild: undefined,\n defaultValue: undefined,\n id: undefined,\n modelValue: undefined,\n});\n\nconst emit = defineEmits<DropdownRadioGroupEmits>();\ndefineSlots<DropdownRadioGroupSlots>();\n\nconst internalValue = ref(props.defaultValue);\nconst resolvedValue = computed(() => props.modelValue ?? internalValue.value);\n\nconst handleValueUpdate = (value: string) => {\n if (props.modelValue === undefined) internalValue.value = value;\n emit(\"update:modelValue\", value);\n emit(\"valueChange\", value);\n};\n</script>\n\n<template>\n <ArkMenu.RadioItemGroup\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__radio-group\"\n data-slot=\"dropdown-radio-group\"\n :as-child=\"props.asChild\"\n :id=\"props.id\"\n :model-value=\"resolvedValue\"\n @update:model-value=\"handleValueUpdate\"\n >\n <slot />\n </ArkMenu.RadioItemGroup>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownRadioItemProps, DropdownRadioItemSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownRadioItemProps>(), {\n asChild: undefined,\n closeOnSelect: false,\n disabled: undefined,\n inset: false,\n valueText: undefined,\n});\n\ndefineSlots<DropdownRadioItemSlots>();\n</script>\n\n<template>\n <ArkMenu.RadioItem\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item kappa-dropdown__option-item\"\n data-slot=\"dropdown-radio-item\"\n :as-child=\"props.asChild\"\n :close-on-select=\"props.closeOnSelect\"\n :data-inset=\"props.inset ? '' : undefined\"\n :disabled=\"props.disabled\"\n :value=\"props.value\"\n :value-text=\"props.valueText\"\n >\n <slot v-if=\"props.asChild\" />\n <template v-else>\n <ArkMenu.ItemIndicator\n class=\"kappa-dropdown__item-indicator\"\n data-slot=\"dropdown-radio-item-indicator\"\n >\n <slot name=\"indicator\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <circle cx=\"8\" cy=\"8\" r=\"2.5\" fill=\"currentColor\" stroke=\"none\" />\n </svg>\n </slot>\n </ArkMenu.ItemIndicator>\n <slot />\n <slot name=\"end\" />\n </template>\n </ArkMenu.RadioItem>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownRadioItemProps, DropdownRadioItemSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownRadioItemProps>(), {\n asChild: undefined,\n closeOnSelect: false,\n disabled: undefined,\n inset: false,\n valueText: undefined,\n});\n\ndefineSlots<DropdownRadioItemSlots>();\n</script>\n\n<template>\n <ArkMenu.RadioItem\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item kappa-dropdown__option-item\"\n data-slot=\"dropdown-radio-item\"\n :as-child=\"props.asChild\"\n :close-on-select=\"props.closeOnSelect\"\n :data-inset=\"props.inset ? '' : undefined\"\n :disabled=\"props.disabled\"\n :value=\"props.value\"\n :value-text=\"props.valueText\"\n >\n <slot v-if=\"props.asChild\" />\n <template v-else>\n <ArkMenu.ItemIndicator\n class=\"kappa-dropdown__item-indicator\"\n data-slot=\"dropdown-radio-item-indicator\"\n >\n <slot name=\"indicator\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <circle cx=\"8\" cy=\"8\" r=\"2.5\" fill=\"currentColor\" stroke=\"none\" />\n </svg>\n </slot>\n </ArkMenu.ItemIndicator>\n <slot />\n <slot name=\"end\" />\n </template>\n </ArkMenu.RadioItem>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type {\n DropdownRootProviderEmits,\n DropdownRootProviderProps,\n DropdownRootProviderSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownRootProviderProps>(), {\n lazyMount: undefined,\n unmountOnExit: undefined,\n});\n\nconst emit = defineEmits<DropdownRootProviderEmits>();\ndefineSlots<DropdownRootProviderSlots>();\n</script>\n\n<template>\n <ArkMenu.RootProvider\n v-bind=\"$attrs\"\n :lazy-mount=\"props.lazyMount\"\n :unmount-on-exit=\"props.unmountOnExit\"\n :value=\"props.value\"\n @exit-complete=\"emit('exitComplete')\"\n >\n <slot />\n </ArkMenu.RootProvider>\n</template>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type {\n DropdownRootProviderEmits,\n DropdownRootProviderProps,\n DropdownRootProviderSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownRootProviderProps>(), {\n lazyMount: undefined,\n unmountOnExit: undefined,\n});\n\nconst emit = defineEmits<DropdownRootProviderEmits>();\ndefineSlots<DropdownRootProviderSlots>();\n</script>\n\n<template>\n <ArkMenu.RootProvider\n v-bind=\"$attrs\"\n :lazy-mount=\"props.lazyMount\"\n :unmount-on-exit=\"props.unmountOnExit\"\n :value=\"props.value\"\n @exit-complete=\"emit('exitComplete')\"\n >\n <slot />\n </ArkMenu.RootProvider>\n</template>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownSeparatorProps, DropdownSeparatorSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownSeparatorProps>(), {\n asChild: undefined,\n});\n\ndefineSlots<DropdownSeparatorSlots>();\n</script>\n\n<template>\n <ArkMenu.Separator\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__separator\"\n data-slot=\"dropdown-separator\"\n :as-child=\"props.asChild\"\n >\n <slot v-if=\"props.asChild\" />\n </ArkMenu.Separator>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownSeparatorProps, DropdownSeparatorSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownSeparatorProps>(), {\n asChild: undefined,\n});\n\ndefineSlots<DropdownSeparatorSlots>();\n</script>\n\n<template>\n <ArkMenu.Separator\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__separator\"\n data-slot=\"dropdown-separator\"\n :as-child=\"props.asChild\"\n >\n <slot v-if=\"props.asChild\" />\n </ArkMenu.Separator>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport type { DropdownSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\ndefineSlots<DropdownSlots>();\n</script>\n\n<template>\n <span v-bind=\"$attrs\" class=\"kappa-dropdown__shortcut\" data-slot=\"dropdown-shortcut\">\n <slot />\n </span>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport type { DropdownSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\ndefineSlots<DropdownSlots>();\n</script>\n\n<template>\n <span v-bind=\"$attrs\" class=\"kappa-dropdown__shortcut\" data-slot=\"dropdown-shortcut\">\n <slot />\n </span>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { DEFAULT_LOCALE, LocaleProvider, useLocaleContext } from \"@ark-ui/vue/locale\";\nimport { computed, provide, useAttrs } from \"vue\";\nimport { dropdownAriaLabelKey } from \"./dropdown-aria-label\";\nimport {\n DROPDOWN_SUB_DEFAULT_POSITIONING,\n type DropdownSubEmits,\n type DropdownSubProps,\n type DropdownSubSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownSubProps>(), {\n anchorPoint: undefined,\n ariaLabel: undefined,\n closeOnSelect: undefined,\n composite: undefined,\n defaultHighlightedValue: undefined,\n defaultOpen: undefined,\n defaultTriggerValue: undefined,\n dir: undefined,\n highlightedValue: undefined,\n id: undefined,\n ids: undefined,\n lazyMount: undefined,\n loopFocus: undefined,\n navigate: undefined,\n open: undefined,\n positioning: () => ({ ...DROPDOWN_SUB_DEFAULT_POSITIONING }),\n triggerValue: undefined,\n typeahead: undefined,\n unmountOnExit: undefined,\n});\n\nconst emit = defineEmits<DropdownSubEmits>();\ndefineSlots<DropdownSubSlots>();\n\nconst attrs = useAttrs();\nconst inheritedLocale = useLocaleContext(DEFAULT_LOCALE);\nconst locale = computed(() => {\n if (props.dir === undefined) return inheritedLocale.value.locale;\n return props.dir === \"rtl\" ? \"ar\" : \"en-US\";\n});\nconst resolvedAriaLabel = computed(() => {\n if (props.ariaLabel !== undefined) return props.ariaLabel;\n const label = attrs[\"aria-label\"];\n return typeof label === \"string\" ? label : undefined;\n});\nconst arkAriaProps = computed(() =>\n resolvedAriaLabel.value === undefined ? {} : { \"aria-label\": resolvedAriaLabel.value },\n);\n\nprovide(dropdownAriaLabelKey, resolvedAriaLabel);\n</script>\n\n<template>\n <LocaleProvider :locale=\"locale\">\n <ArkMenu.Root\n v-bind=\"{ ...$attrs, ...arkAriaProps }\"\n :anchor-point=\"props.anchorPoint\"\n :close-on-select=\"props.closeOnSelect\"\n :composite=\"props.composite\"\n :default-highlighted-value=\"props.defaultHighlightedValue\"\n :default-open=\"props.defaultOpen\"\n :default-trigger-value=\"props.defaultTriggerValue\"\n :highlighted-value=\"props.highlightedValue\"\n :id=\"props.id\"\n :ids=\"props.ids\"\n :lazy-mount=\"props.lazyMount\"\n :loop-focus=\"props.loopFocus\"\n :navigate=\"props.navigate\"\n :open=\"props.open\"\n :positioning=\"props.positioning\"\n :trigger-value=\"props.triggerValue\"\n :typeahead=\"props.typeahead\"\n :unmount-on-exit=\"props.unmountOnExit\"\n @escape-key-down=\"emit('escapeKeyDown', $event)\"\n @exit-complete=\"emit('exitComplete')\"\n @focus-outside=\"emit('focusOutside', $event)\"\n @highlight-change=\"emit('highlightChange', $event)\"\n @interact-outside=\"emit('interactOutside', $event)\"\n @open-change=\"emit('openChange', $event)\"\n @pointer-down-outside=\"emit('pointerDownOutside', $event)\"\n @request-dismiss=\"emit('requestDismiss', $event)\"\n @select=\"emit('select', $event)\"\n @trigger-value-change=\"emit('triggerValueChange', $event)\"\n @update:highlighted-value=\"emit('update:highlightedValue', $event)\"\n @update:open=\"emit('update:open', $event)\"\n @update:trigger-value=\"emit('update:triggerValue', $event)\"\n >\n <slot />\n </ArkMenu.Root>\n </LocaleProvider>\n</template>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport { DEFAULT_LOCALE, LocaleProvider, useLocaleContext } from \"@ark-ui/vue/locale\";\nimport { computed, provide, useAttrs } from \"vue\";\nimport { dropdownAriaLabelKey } from \"./dropdown-aria-label\";\nimport {\n DROPDOWN_SUB_DEFAULT_POSITIONING,\n type DropdownSubEmits,\n type DropdownSubProps,\n type DropdownSubSlots,\n} from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownSubProps>(), {\n anchorPoint: undefined,\n ariaLabel: undefined,\n closeOnSelect: undefined,\n composite: undefined,\n defaultHighlightedValue: undefined,\n defaultOpen: undefined,\n defaultTriggerValue: undefined,\n dir: undefined,\n highlightedValue: undefined,\n id: undefined,\n ids: undefined,\n lazyMount: undefined,\n loopFocus: undefined,\n navigate: undefined,\n open: undefined,\n positioning: () => ({ ...DROPDOWN_SUB_DEFAULT_POSITIONING }),\n triggerValue: undefined,\n typeahead: undefined,\n unmountOnExit: undefined,\n});\n\nconst emit = defineEmits<DropdownSubEmits>();\ndefineSlots<DropdownSubSlots>();\n\nconst attrs = useAttrs();\nconst inheritedLocale = useLocaleContext(DEFAULT_LOCALE);\nconst locale = computed(() => {\n if (props.dir === undefined) return inheritedLocale.value.locale;\n return props.dir === \"rtl\" ? \"ar\" : \"en-US\";\n});\nconst resolvedAriaLabel = computed(() => {\n if (props.ariaLabel !== undefined) return props.ariaLabel;\n const label = attrs[\"aria-label\"];\n return typeof label === \"string\" ? label : undefined;\n});\nconst arkAriaProps = computed(() =>\n resolvedAriaLabel.value === undefined ? {} : { \"aria-label\": resolvedAriaLabel.value },\n);\n\nprovide(dropdownAriaLabelKey, resolvedAriaLabel);\n</script>\n\n<template>\n <LocaleProvider :locale=\"locale\">\n <ArkMenu.Root\n v-bind=\"{ ...$attrs, ...arkAriaProps }\"\n :anchor-point=\"props.anchorPoint\"\n :close-on-select=\"props.closeOnSelect\"\n :composite=\"props.composite\"\n :default-highlighted-value=\"props.defaultHighlightedValue\"\n :default-open=\"props.defaultOpen\"\n :default-trigger-value=\"props.defaultTriggerValue\"\n :highlighted-value=\"props.highlightedValue\"\n :id=\"props.id\"\n :ids=\"props.ids\"\n :lazy-mount=\"props.lazyMount\"\n :loop-focus=\"props.loopFocus\"\n :navigate=\"props.navigate\"\n :open=\"props.open\"\n :positioning=\"props.positioning\"\n :trigger-value=\"props.triggerValue\"\n :typeahead=\"props.typeahead\"\n :unmount-on-exit=\"props.unmountOnExit\"\n @escape-key-down=\"emit('escapeKeyDown', $event)\"\n @exit-complete=\"emit('exitComplete')\"\n @focus-outside=\"emit('focusOutside', $event)\"\n @highlight-change=\"emit('highlightChange', $event)\"\n @interact-outside=\"emit('interactOutside', $event)\"\n @open-change=\"emit('openChange', $event)\"\n @pointer-down-outside=\"emit('pointerDownOutside', $event)\"\n @request-dismiss=\"emit('requestDismiss', $event)\"\n @select=\"emit('select', $event)\"\n @trigger-value-change=\"emit('triggerValueChange', $event)\"\n @update:highlighted-value=\"emit('update:highlightedValue', $event)\"\n @update:open=\"emit('update:open', $event)\"\n @update:trigger-value=\"emit('update:triggerValue', $event)\"\n >\n <slot />\n </ArkMenu.Root>\n </LocaleProvider>\n</template>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu, useMenuContext } from \"@ark-ui/vue/menu\";\nimport { computed, inject, onMounted, ref, Teleport, useAttrs } from \"vue\";\nimport { dropdownAriaLabelKey } from \"./dropdown-aria-label\";\nimport type { DropdownSubContentProps, DropdownSubContentSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownSubContentProps>(), {\n asChild: undefined,\n teleport: true,\n teleportTo: \"body\",\n});\n\ndefineSlots<DropdownSubContentSlots>();\n\nconst attrs = useAttrs();\nconst menu = useMenuContext();\nconst inheritedAriaLabel = inject(dropdownAriaLabelKey, undefined);\nconst resolvedAriaLabel = computed(() => {\n const label = attrs[\"aria-label\"];\n if (typeof label === \"string\") return label;\n return inheritedAriaLabel?.value;\n});\nconst isMounted = ref(false);\n\nonMounted(() => {\n isMounted.value = true;\n});\n</script>\n\n<template>\n <Teleport :disabled=\"!props.teleport || !isMounted\" :to=\"props.teleportTo\">\n <ArkMenu.Positioner\n class=\"kappa-dropdown__positioner kappa-dropdown__positioner--sub\"\n data-slot=\"dropdown-sub-positioner\"\n >\n <ArkMenu.Content\n v-bind=\"{\n ...$attrs,\n ...(resolvedAriaLabel === undefined ? {} : { 'aria-label': resolvedAriaLabel }),\n ...(!menu.open ? { inert: true } : {}),\n }\"\n class=\"kappa-dropdown__content kappa-dropdown__content--sub\"\n data-slot=\"dropdown-sub-content\"\n :as-child=\"props.asChild\"\n >\n <slot />\n </ArkMenu.Content>\n </ArkMenu.Positioner>\n </Teleport>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu, useMenuContext } from \"@ark-ui/vue/menu\";\nimport { computed, inject, onMounted, ref, Teleport, useAttrs } from \"vue\";\nimport { dropdownAriaLabelKey } from \"./dropdown-aria-label\";\nimport type { DropdownSubContentProps, DropdownSubContentSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownSubContentProps>(), {\n asChild: undefined,\n teleport: true,\n teleportTo: \"body\",\n});\n\ndefineSlots<DropdownSubContentSlots>();\n\nconst attrs = useAttrs();\nconst menu = useMenuContext();\nconst inheritedAriaLabel = inject(dropdownAriaLabelKey, undefined);\nconst resolvedAriaLabel = computed(() => {\n const label = attrs[\"aria-label\"];\n if (typeof label === \"string\") return label;\n return inheritedAriaLabel?.value;\n});\nconst isMounted = ref(false);\n\nonMounted(() => {\n isMounted.value = true;\n});\n</script>\n\n<template>\n <Teleport :disabled=\"!props.teleport || !isMounted\" :to=\"props.teleportTo\">\n <ArkMenu.Positioner\n class=\"kappa-dropdown__positioner kappa-dropdown__positioner--sub\"\n data-slot=\"dropdown-sub-positioner\"\n >\n <ArkMenu.Content\n v-bind=\"{\n ...$attrs,\n ...(resolvedAriaLabel === undefined ? {} : { 'aria-label': resolvedAriaLabel }),\n ...(!menu.open ? { inert: true } : {}),\n }\"\n class=\"kappa-dropdown__content kappa-dropdown__content--sub\"\n data-slot=\"dropdown-sub-content\"\n :as-child=\"props.asChild\"\n >\n <slot />\n </ArkMenu.Content>\n </ArkMenu.Positioner>\n </Teleport>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownSubTriggerProps, DropdownSubTriggerSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownSubTriggerProps>(), {\n asChild: undefined,\n disabled: false,\n icon: undefined,\n iconProps: () => ({}),\n inset: false,\n});\n\ndefineSlots<DropdownSubTriggerSlots>();\n\nconst guardDisabledInteraction = (event: Event) => {\n if (!props.disabled) return;\n\n event.preventDefault();\n event.stopImmediatePropagation();\n};\n\nconst guardDisabledKeydown = (event: KeyboardEvent) => {\n if (![\"Enter\", \" \", \"ArrowDown\", \"ArrowUp\", \"ArrowLeft\", \"ArrowRight\"].includes(event.key)) {\n return;\n }\n guardDisabledInteraction(event);\n};\n</script>\n\n<template>\n <ArkMenu.TriggerItem\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item kappa-dropdown__sub-trigger\"\n data-slot=\"dropdown-sub-trigger\"\n :aria-disabled=\"props.disabled ? true : undefined\"\n :as-child=\"props.asChild\"\n :data-disabled=\"props.disabled ? '' : undefined\"\n :data-inset=\"props.inset ? '' : undefined\"\n @click.capture=\"guardDisabledInteraction\"\n @keydown.capture=\"guardDisabledKeydown\"\n @pointerdown.capture=\"guardDisabledInteraction\"\n >\n <slot v-if=\"props.asChild\" />\n <template v-else>\n <component\n :is=\"props.icon\"\n v-if=\"props.icon\"\n v-bind=\"props.iconProps\"\n aria-hidden=\"true\"\n class=\"kappa-dropdown__item-icon\"\n data-slot=\"dropdown-item-icon\"\n />\n <slot v-else name=\"icon\" />\n <slot />\n <slot name=\"end\">\n <svg\n class=\"kappa-dropdown__sub-caret\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n focusable=\"false\"\n >\n <path d=\"m6 3.75 4.25 4.25L6 12.25\" />\n </svg>\n </slot>\n </template>\n </ArkMenu.TriggerItem>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n","<script setup lang=\"ts\">\nimport { Menu as ArkMenu } from \"@ark-ui/vue/menu\";\nimport type { DropdownSubTriggerProps, DropdownSubTriggerSlots } from \"./dropdown\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DropdownSubTriggerProps>(), {\n asChild: undefined,\n disabled: false,\n icon: undefined,\n iconProps: () => ({}),\n inset: false,\n});\n\ndefineSlots<DropdownSubTriggerSlots>();\n\nconst guardDisabledInteraction = (event: Event) => {\n if (!props.disabled) return;\n\n event.preventDefault();\n event.stopImmediatePropagation();\n};\n\nconst guardDisabledKeydown = (event: KeyboardEvent) => {\n if (![\"Enter\", \" \", \"ArrowDown\", \"ArrowUp\", \"ArrowLeft\", \"ArrowRight\"].includes(event.key)) {\n return;\n }\n guardDisabledInteraction(event);\n};\n</script>\n\n<template>\n <ArkMenu.TriggerItem\n v-bind=\"$attrs\"\n class=\"kappa-dropdown__item kappa-dropdown__sub-trigger\"\n data-slot=\"dropdown-sub-trigger\"\n :aria-disabled=\"props.disabled ? true : undefined\"\n :as-child=\"props.asChild\"\n :data-disabled=\"props.disabled ? '' : undefined\"\n :data-inset=\"props.inset ? '' : undefined\"\n @click.capture=\"guardDisabledInteraction\"\n @keydown.capture=\"guardDisabledKeydown\"\n @pointerdown.capture=\"guardDisabledInteraction\"\n >\n <slot v-if=\"props.asChild\" />\n <template v-else>\n <component\n :is=\"props.icon\"\n v-if=\"props.icon\"\n v-bind=\"props.iconProps\"\n aria-hidden=\"true\"\n class=\"kappa-dropdown__item-icon\"\n data-slot=\"dropdown-item-icon\"\n />\n <slot v-else name=\"icon\" />\n <slot />\n <slot name=\"end\">\n <svg\n class=\"kappa-dropdown__sub-caret\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n focusable=\"false\"\n >\n <path d=\"m6 3.75 4.25 4.25L6 12.25\" />\n </svg>\n </slot>\n </template>\n </ArkMenu.TriggerItem>\n</template>\n\n<style src=\"./dropdown.css\"></style>\n"],"mappings":";;;;AAEA,IAAa,IAAsE,OACjF,2BACF,GC2Ca,IAAyB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AAA,CAAA,CAAA,CAAA,aAnCtB,EACUC,EAkCY,QAlCN;GACd,OAAM;GACN,aAAU;GACT,iBAAe,EAAM,WAAQ,KAAU,KAAA;GACvC,YAAU,EAAM;GAChB,iBAAe,EAAM,WAAQ,KAAQ,KAAA;GACrC,cAAY,EAAM,QAAK,KAAQ,KAAA;GAChB,gBAAA;GACE,kBAAA;GACI,sBAAA;;GAEtB,SAAA,QAA6B,CAAjB,EAAM,UAAlB,EAA6B,EAAA,QAAA,WAAA,EAAA,KAAA,EAAA,CAAA,KAC7B,EAAA,GAAA,EAqBW,GAAA,EAAA,KAAA,EAAA,GAAA;IAlBD,EAAM,QAFd,EAAA,GAAA,EAOE,EANK,EAAM,IAAI,GADjB,EAOE,EAAA,KAAA,EAAA,GAJQ,EAAM,WAAS;KACvB,eAAY;KACZ,OAAM;KACN,aAAU;IAEZ,CAAA,GAAA,MAAA,EAAA,KAAA,EAA2B,EAAA,QAAA,QAAA,EAAA,KAAA,EAAA,CAAA;IAC3B,EAAQ,EAAA,QAAA,SAAA;IACR,EASO,EAAA,QAAA,OAAA,CAAA,SAAA,CARL,AAAA,EAAA,OAAA,EAOM,OAAA;KANJ,OAAM;KACN,SAAQ;KACR,eAAY;KACZ,WAAU;IAEV,GAAA,CAAA,EAAsC,QAAA,EAAhC,GAAE,4BAA2B,CAAA,CAAA,GAAA,EAAA,CAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"KbdGroup-CNwqr4vX.js","names":["$attrs","$attrs"],"sources":["../src/components/kbd/Kbd.vue","../src/components/kbd/Kbd.vue","../src/components/kbd/KbdGroup.vue","../src/components/kbd/KbdGroup.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { KbdProps, KbdSlots } from \"./kbd\";\n\ndefineOptions({ inheritAttrs: false });\n\ndefineProps<KbdProps>();\ndefineSlots<KbdSlots>();\n</script>\n\n<template>\n <kbd v-bind=\"$attrs\" class=\"kappa-kbd\" data-slot=\"kbd\">\n <slot />\n </kbd>\n</template>\n\n<style src=\"./kbd.css\"></style>\n","<script setup lang=\"ts\">\nimport type { KbdProps, KbdSlots } from \"./kbd\";\n\ndefineOptions({ inheritAttrs: false });\n\ndefineProps<KbdProps>();\ndefineSlots<KbdSlots>();\n</script>\n\n<template>\n <kbd v-bind=\"$attrs\" class=\"kappa-kbd\" data-slot=\"kbd\">\n <slot />\n </kbd>\n</template>\n\n<style src=\"./kbd.css\"></style>\n","<script setup lang=\"ts\">\nimport type { KbdGroupProps, KbdGroupSlots } from \"./kbd\";\n\ndefineOptions({ inheritAttrs: false });\n\ndefineProps<KbdGroupProps>();\ndefineSlots<KbdGroupSlots>();\n</script>\n\n<template>\n <span v-bind=\"$attrs\" class=\"kappa-kbd-group\" data-slot=\"kbd-group\">\n <slot />\n </span>\n</template>\n\n<style src=\"./kbd.css\"></style>\n","<script setup lang=\"ts\">\nimport type { KbdGroupProps, KbdGroupSlots } from \"./kbd\";\n\ndefineOptions({ inheritAttrs: false });\n\ndefineProps<KbdGroupProps>();\ndefineSlots<KbdGroupSlots>();\n</script>\n\n<template>\n <span v-bind=\"$attrs\" class=\"kappa-kbd-group\" data-slot=\"kbd-group\">\n <slot />\n </span>\n</template>\n\n<style src=\"./kbd.css\"></style>\n"],"mappings":";;;;;;;oBAUE,EAAA,GAAA,EAEM,OAFN,EAAaA,EAEP,QAFa;GAAE,OAAM;GAAY,aAAU;EAC/C,CAAA,GAAA,CAAA,EAAQ,EAAA,QAAA,SAAA,CAAA,GAAA,EAAA;;;;;;oBEDV,EAAA,GAAA,EAEO,QAFP,EAAcC,EAEP,QAFa;GAAE,OAAM;GAAkB,aAAU;EACtD,CAAA,GAAA,CAAA,EAAQ,EAAA,QAAA,SAAA,CAAA,GAAA,EAAA"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { Fragment as e, computed as t, createElementBlock as n, createElementVNode as r, createTextVNode as i, createVNode as a, defineComponent as o, mergeProps as s, openBlock as c, renderList as l } from "vue";
|
|
2
|
-
//#region src/components/dicehub-logo/dicehub-logo.ts
|
|
3
|
-
var u = ["glyph", "full"], d = [
|
|
4
|
-
"color",
|
|
5
|
-
"black",
|
|
6
|
-
"white"
|
|
7
|
-
], f = "full", p = "color", m = "#333333", h = "0 0 33 36", g = "0 0 137 41", _ = [
|
|
8
|
-
"M30.2207 8.23185C30.2207 8.19049 30.2207 8.14912 30.207 8.10775V8.09396C30.1795 7.9285 30.0971 7.76304 29.9597 7.61136C29.8498 7.48726 29.7125 7.37695 29.5339 7.28043L18.0916 0.63428C18.0916 0.63428 17.5971 0.344717 17.5834 0.344717C17.1164 0.124098 16.5944 0 16.0312 0C15.4543 0 14.9186 0.137887 14.4378 0.372295L14.012 0.620491L2.54228 7.26664C2.36371 7.36316 2.22635 7.48726 2.11646 7.59757C1.97909 7.74925 1.89668 7.91471 1.8692 8.08018C1.8692 8.08018 1.85547 8.1767 1.85547 8.21806C1.85547 8.42489 1.93789 8.64551 2.10272 8.83855C2.21261 8.96265 2.36371 9.08675 2.54228 9.19706L14.2455 16.0225C14.2592 16.0225 14.3829 16.1052 14.4241 16.119C14.534 16.1741 14.6439 16.2293 14.7537 16.2707C15.1521 16.4223 15.5917 16.5051 16.0449 16.5051C16.4982 16.5051 16.9241 16.4223 17.3361 16.2707C17.446 16.2293 17.5697 16.1741 17.6658 16.119C17.707 16.1052 17.8444 16.0225 17.8581 16.0225L29.5614 9.19706C29.7399 9.08675 29.891 8.97644 30.0009 8.83855C30.1383 8.6593 30.2207 8.43868 30.2207 8.23185ZM20.1383 7.66651C19.9598 7.95608 19.6164 8.24564 19.0806 8.56278C18.1191 9.12812 17.0477 9.5142 15.7702 9.73482C15.2757 9.83134 14.8224 9.87271 14.4241 9.87271C13.6686 9.87271 13.0367 9.72103 12.5147 9.41768C11.9378 9.08675 11.773 8.71446 11.773 8.46626C11.773 8.10775 11.9928 7.79061 12.4873 7.50105C12.762 7.3218 13.1329 7.18391 13.5587 7.0736C13.9433 6.96329 14.3417 6.89435 14.7675 6.86677C15.2208 6.83919 15.5779 6.86677 15.8389 6.89435C16.1686 6.93571 16.457 6.99087 16.7043 7.0736C16.979 7.17012 17.2125 7.25285 17.3911 7.36316C17.6658 7.51484 17.8581 7.6803 17.968 7.85956C18.0779 8.03881 18.1328 8.21806 18.1328 8.39732C18.1328 8.39732 18.1328 8.39732 18.1328 8.42489C18.4076 8.32837 18.4625 8.24564 18.5999 8.1767C19.0532 7.90092 19.2867 7.65273 19.2867 7.41832C19.3142 7.17012 18.9982 6.57721 17.8856 6.41174C17.6109 6.37038 17.2812 6.37038 16.9241 6.38417C16.8966 6.38417 16.4982 6.41174 16.4982 6.13597C16.4982 5.94293 17.0477 5.83262 17.4186 5.80504C17.7757 5.77746 18.0779 5.76368 18.3526 5.77746C18.8197 5.80504 19.2455 5.92914 19.6026 6.13597C19.8911 6.28765 20.0971 6.52205 20.207 6.77025C20.3306 7.05981 20.3169 7.36316 20.1383 7.66651Z",
|
|
9
|
-
"M17.0871 7.8594C16.8673 7.72151 16.153 7.47332 14.6695 7.72151C14.0376 7.83182 12.9799 8.16275 12.7602 8.7143C12.7327 8.90734 12.9525 9.01765 13.0486 9.05902C13.3508 9.18312 13.8316 9.29343 14.5047 9.29343C15.3563 9.29343 16.2766 9.11417 17.3343 8.75567C17.4717 8.57641 17.6228 8.17654 17.0871 7.8594Z",
|
|
10
|
-
"M32.073 11.8306C32.0455 11.7478 32.0043 11.6651 31.9631 11.5824C31.812 11.3618 31.551 11.2101 31.2625 11.1963C31.1801 11.1963 31.0977 11.2101 31.0153 11.2239C30.8504 11.2514 30.6856 11.3204 30.507 11.4307L19.2434 18.0493L19.0373 18.1734C18.0071 18.8214 17.3203 19.9797 17.3203 21.2896V34.8025C17.3203 34.9818 17.334 35.1335 17.3753 35.2713C17.4714 35.6023 17.6637 35.8367 17.9247 35.947C17.9247 35.947 18.1582 36.0297 18.4329 35.9884C18.5978 35.9608 18.7901 35.8918 18.9687 35.7815L30.2048 29.1905L30.4384 29.0526C31.4686 28.4046 32.1554 27.2463 32.1554 25.9364V12.3683C32.1554 12.1615 32.1142 11.9822 32.073 11.8306ZM26.7296 19.0696C26.6609 19.1799 26.5785 19.3178 26.4137 19.4006C26.2488 19.4833 26.1252 19.4971 25.9604 19.4281C25.9329 19.4281 25.9192 19.4557 25.9192 19.4695C25.8917 19.5109 25.8917 19.566 25.8917 19.6488C25.8917 19.7453 25.8917 19.8556 25.9192 20.0348L25.9466 20.283C26.0565 21.4137 26.0977 22.3927 26.0977 23.2338C26.0977 23.4544 26.0703 24.4059 26.029 25.9502C26.0016 26.8465 25.8642 27.5497 25.6444 28.0461C25.2873 28.8458 24.834 28.8182 24.7241 28.8044C24.4906 28.7769 24.3258 28.5838 24.3258 28.2805C24.3258 28.1288 24.367 27.9633 24.4357 27.8255C24.5318 27.6738 24.6417 27.5497 24.7653 27.4945C24.8752 27.4256 25.0538 27.398 25.1911 27.4945C25.2324 27.5221 25.2323 27.5221 25.2323 27.5221C25.2323 27.5221 25.2736 27.4669 25.2736 27.3153C25.2736 27.0947 25.2461 26.7775 25.2186 26.4604C25.1225 25.633 25.095 24.5162 25.095 23.0821C25.1225 22.2548 25.095 21.8274 25.1362 21.1517C25.1637 20.6553 25.1362 19.5522 25.4659 18.9042C25.6444 18.587 25.823 18.3802 26.0428 18.2561C26.2488 18.1458 26.3999 18.1596 26.5373 18.2147C26.9082 18.3802 26.812 18.9317 26.7296 19.0696Z",
|
|
11
|
-
"M4.45117 24.5989L7.85775 26.5569L6.25061 21.1104L4.45117 24.5989Z",
|
|
12
|
-
"M13.3899 18.1734L13.1839 18.0493L1.64834 11.4307C1.46977 11.3204 1.30494 11.2514 1.1401 11.2239C1.05769 11.2101 0.975269 11.1963 0.892852 11.1963C0.604392 11.2101 0.343405 11.3618 0.192307 11.5824C0.151098 11.6513 0.109889 11.734 0.0824171 11.8306C0.0274724 11.9822 0 12.1753 0 12.3821V25.9226C0 27.2325 0.686809 28.3908 1.70329 29.0389L1.92307 29.1767L13.4311 35.7677C13.6234 35.8781 13.802 35.947 13.9668 35.9746C14.2416 36.0159 14.4751 35.9332 14.4751 35.9332C14.7361 35.8367 14.9284 35.6023 15.0245 35.2576C15.0657 35.1197 15.0795 34.968 15.0795 34.7887V21.2758C15.1069 19.9659 14.4201 18.8214 13.3899 18.1734ZM9.12083 28.115L3.57141 24.9023C3.50273 24.8609 3.46152 24.7644 3.50273 24.6816L6.44227 18.9731C6.46974 18.9042 6.53842 18.8766 6.59337 18.8766C6.64831 18.8766 6.70326 18.918 6.73073 18.9869L9.32687 27.8668C9.43676 28.1564 9.23072 28.1977 9.12083 28.115Z"
|
|
13
|
-
], v = [
|
|
14
|
-
"m 21.580676,11.969694 c 1.222922,-0.204618 1.811735,0 1.992908,0.113676 0.44161,0.261425 0.317054,0.591064 0.20382,0.738848 -0.871897,0.295511 -1.63056,0.443296 -2.332607,0.443296 -0.554844,0 -0.95116,-0.09095 -1.200274,-0.193224 -0.07934,-0.03412 -0.26051,-0.125065 -0.237791,-0.284179 0.181174,-0.454669 1.05307,-0.727474 1.573944,-0.818417 z",
|
|
15
|
-
"m 34.388898,12.287939 c 0.01133,0.0341 0.01133,0.06818 0.01133,0.102287 0,0.170511 -0.06795,0.352374 -0.181174,0.500165 -0.09066,0.113596 -0.215143,0.204546 -0.362419,0.295495 l -9.64756,5.626539 c -0.0056,0 -0.03463,0.0159 -0.06713,0.03361 -0.03498,0.01894 -0.07382,0.04013 -0.09138,0.04601 -0.07927,0.04544 -0.181175,0.09088 -0.271834,0.124992 -0.3397,0.125065 -0.690723,0.193295 -1.064394,0.193295 -0.37367,0 -0.736017,-0.06823 -1.064394,-0.193295 -0.09052,-0.03405 -0.181028,-0.07948 -0.271541,-0.124918 -0.01807,-0.0061 -0.05582,-0.02838 -0.08855,-0.04783 -0.0286,-0.01699 -0.05357,-0.03186 -0.05887,-0.03186 l -9.647645,-5.626543 c -0.147204,-0.09095 -0.271768,-0.193222 -0.362354,-0.295495 -0.13588,-0.159173 -0.20382,-0.341029 -0.20382,-0.511539 0,-0.03407 0.01132,-0.113648 0.01132,-0.113648 0.02265,-0.136402 0.09059,-0.272805 0.20382,-0.397855 0.09059,-0.09092 0.203827,-0.193237 0.35103,-0.272806 L 21.03846,6.1157641 21.389483,5.9111609 C 21.7858,5.7179251 22.227411,5.6042577 22.70299,5.6042577 c 0.46433,0 0.894545,0.1023013 1.27961,0.2841694 0.01132,0 0.418964,0.2387017 0.418964,0.2387017 l 9.432414,5.4787962 c 0.147275,0.07956 0.26051,0.17051 0.351096,0.272806 0.113234,0.125021 0.181174,0.261423 0.203821,0.397826 z m -9.172051,0.375093 c 0.441611,-0.261425 0.724695,-0.500151 0.871898,-0.738848 0.147203,-0.250072 0.158527,-0.500122 0.05662,-0.738848 -0.09059,-0.204583 -0.260437,-0.397828 -0.498228,-0.522849 -0.294406,-0.17051 -0.64543,-0.272805 -1.030424,-0.295531 -0.226466,-0.01138 -0.475579,0 -0.769987,0.02273 -0.305802,0.02274 -0.758735,0.113677 -0.758735,0.272805 0,0.215376 0.294841,0.206274 0.34507,0.204743 l 0.006,-1.53e-4 c 0.294479,-0.01135 0.566166,-0.01135 0.792706,0.02273 0.91719,0.136404 1.177626,0.625172 1.154981,0.829798 0,0.193237 -0.192498,0.397827 -0.566168,0.625172 -0.03862,0.01935 -0.06925,0.04002 -0.10191,0.062 -0.06322,0.04258 -0.133775,0.09013 -0.283083,0.142594 v -0.02274 c 0,-0.147777 -0.0453,-0.295532 -0.135953,-0.443309 -0.09057,-0.147755 -0.249099,-0.284157 -0.475638,-0.409208 -0.147131,-0.09092 -0.3397,-0.159136 -0.566167,-0.238698 -0.203821,-0.06819 -0.44161,-0.113676 -0.71337,-0.147755 -0.215144,-0.02276 -0.509551,-0.04548 -0.883222,-0.02276 -0.351023,0.02276 -0.679399,0.07959 -0.996453,0.17051 -0.351024,0.09094 -0.656754,0.204619 -0.88322,0.352366 -0.407641,0.238698 -0.588814,0.500159 -0.588814,0.79569 0,0.204583 0.13588,0.511467 0.61146,0.784316 0.430288,0.250058 0.95116,0.375121 1.573945,0.375121 0.328376,0 0.702047,-0.03412 1.109686,-0.113741 1.053071,-0.181827 1.936364,-0.500114 2.728997,-0.966134 z",
|
|
16
|
-
"m 35.927275,15.356991 c -0.02265,-0.06823 -0.05662,-0.136387 -0.09059,-0.204545 -0.124556,-0.181899 -0.3397,-0.306965 -0.57749,-0.31836 -0.06794,0 -0.135952,0.0114 -0.203893,0.02272 -0.135807,0.02272 -0.27176,0.07956 -0.418891,0.170502 l -9.285283,5.456108 -0.169851,0.102273 c -0.849323,0.534229 -1.415489,1.48902 -1.415489,2.568875 v 11.13948 c 0,0.147711 0.01132,0.272775 0.0453,0.386445 0.07927,0.272848 0.237789,0.466071 0.453005,0.55702 0,0 0.192425,0.06816 0.418891,0.03405 0.135881,-0.02272 0.29448,-0.07956 0.441683,-0.170503 l 9.262637,-5.433315 0.192424,-0.11367 c 0.849323,-0.534228 1.415489,-1.489019 1.415489,-2.568873 v -11.18492 c 0,-0.170503 -0.03397,-0.318287 -0.06794,-0.44328 z m -4.404852,5.967546 -0.0048,0.0077 c -0.05568,0.08957 -0.123539,0.19874 -0.255573,0.26501 -0.135881,0.06823 -0.237789,0.07962 -0.373671,0.02278 -0.02264,0 -0.03397,0.02272 -0.03397,0.03404 -0.02264,0.03411 -0.02264,0.07956 -0.02264,0.147784 0,0.07956 0,0.170577 0.02264,0.318288 l 0.02265,0.204619 c 0.09059,0.93207 0.124556,1.739076 0.124556,2.432485 0,0.14038 -0.01351,0.639841 -0.03527,1.445976 l -0.003,0.111564 c -0.0056,0.208465 -0.01176,0.436021 -0.0183,0.681723 -0.02264,0.738848 -0.135879,1.318516 -0.317053,1.727753 -0.294407,0.659222 -0.668076,0.636502 -0.758736,0.625179 -0.192424,-0.02278 -0.328377,-0.181899 -0.328377,-0.431956 0,-0.125065 0.03397,-0.261453 0.09066,-0.375121 0.07919,-0.125067 0.169851,-0.227339 0.27176,-0.272777 0.09051,-0.05683 0.237791,-0.07956 0.351024,0 0.03389,0.02272 0.03389,0.02272 0.03389,0.02272 0,0 0.03405,-0.04544 0.03405,-0.170503 0,-0.181899 -0.02265,-0.44328 -0.0453,-0.704733 -0.07927,-0.682014 -0.101982,-1.602759 -0.101982,-2.784888 0.01002,-0.299633 0.01118,-0.535971 0.01234,-0.753655 0.0014,-0.277422 0.0026,-0.525737 0.0217,-0.837637 0.0037,-0.06743 0.0063,-0.148727 0.009,-0.239314 v -5.08e-4 l 7.3e-5,-4.36e-4 c 0.01408,-0.459612 0.03586,-1.16674 0.262686,-1.612559 0.147204,-0.261453 0.294407,-0.431957 0.475581,-0.53423 0.16985,-0.09095 0.294406,-0.07956 0.407641,-0.03411 0.305729,0.136388 0.226466,0.591064 0.158526,0.704733 z",
|
|
17
|
-
"m 15.964155,27.496628 -2.808239,-1.614157 1.483386,-2.875765 z",
|
|
18
|
-
"M 20.525646,20.585688 20.355797,20.483415 10.846391,15.027307 C 10.69918,14.936357 10.5633,14.879524 10.42742,14.856806 c -0.06794,-0.01133 -0.135888,-0.02271 -0.20382,-0.02271 -0.237796,0.0114 -0.452944,0.136388 -0.577503,0.318288 -0.03397,0.05683 -0.06794,0.125064 -0.09059,0.204618 -0.04529,0.124992 -0.06794,0.284172 -0.06794,0.454676 v 11.1622 c 0,1.079781 0.566174,2.034643 1.404116,2.568873 l 0.181173,0.113668 9.48676,5.433316 c 0.158453,0.09088 0.30573,0.147784 0.44161,0.170504 0.226466,0.03411 0.418963,-0.03412 0.418963,-0.03412 0.215143,-0.07956 0.37367,-0.272776 0.452933,-0.556947 0.03397,-0.11367 0.0453,-0.238735 0.0453,-0.386445 V 23.143241 c 0.02265,-1.079855 -0.543524,-2.023322 -1.392774,-2.557551 z m -3.519236,8.195485 -4.57473,-2.648499 c -0.05662,-0.03412 -0.09059,-0.11367 -0.05662,-0.181901 l 2.423222,-4.70579 c 0.02267,-0.05683 0.07929,-0.07956 0.124557,-0.07956 0.0453,0 0.09061,0.03411 0.113234,0.09088 l 2.14019,7.320248 c 0.09052,0.238661 -0.07933,0.272776 -0.16985,0.204618 z",
|
|
19
|
-
"m 46.113058,24.075407 c 0,-4.584409 2.166037,-6.778175 5.709713,-6.778175 1.35001,0 2.53117,0.562504 3.093773,1.125009 v -6.468798 c 0,-0.843755 0.674807,-1.518761 1.518959,-1.518761 0.843657,0 1.518464,0.675006 1.518464,1.518761 v 13.246972 c 0,3.740652 -2.41847,5.625041 -5.821917,5.625041 -3.797101,0 -6.018992,-2.165641 -6.018992,-6.750049 z m 6.018992,4.162629 c 1.631162,0 2.784494,-1.096982 2.784494,-3.037621 v -3.881279 c 0,0 -1.097081,-1.434385 -2.784494,-1.434385 -1.912613,0 -3.009298,1.406261 -3.009298,4.190656 0,2.75627 1.068559,4.162629 3.009298,4.162629 z",
|
|
20
|
-
"m 62.85112,17.466082 c 0.843756,0 1.518959,0.675006 1.518959,1.518761 v 10.181325 c 0,0.843756 -0.675203,1.518761 -1.518959,1.518761 -0.843657,0 -1.518959,-0.675005 -1.518959,-1.518761 V 18.984843 c 0,-0.843755 0.675302,-1.518761 1.518959,-1.518761 z",
|
|
21
|
-
"m 62.85112,15.947321 c 1.181159,0 1.828237,-0.675004 1.828237,-1.771888 0,-1.293759 -0.647078,-1.856362 -1.828237,-1.856362 -1.152936,0 -1.800014,0.562603 -1.800014,1.856362 0,1.096884 0.647078,1.771888 1.800014,1.771888 z",
|
|
22
|
-
"m 67.151107,24.047381 c 0,4.584408 2.278241,6.778174 6.103467,6.778174 2.306266,0 3.852954,-1.012507 4.500032,-1.603137 0.337404,-0.309378 0.478129,-0.64688 0.478129,-1.040633 0,-0.75938 -0.590729,-1.35001 -1.35001,-1.35001 -0.28155,0 -0.534478,0.05626 -0.844152,0.281253 l -0.04476,0.03328 c -0.641037,0.474266 -1.475384,1.091733 -2.739236,1.091733 -1.968963,0 -3.037819,-1.490636 -3.037819,-4.190655 0,-2.643769 1.068856,-4.16253 3.037819,-4.16253 1.40626,0 2.137416,0.703129 2.502944,1.096882 0.253326,0.281252 0.590729,0.478128 1.040732,0.478128 0.759282,0 1.35001,-0.590628 1.35001,-1.35001 0,-0.337502 -0.08438,-0.562504 -0.309674,-0.87188 -0.505858,-0.64688 -1.996592,-1.94064 -4.584012,-1.94064 -3.825226,0 -6.103467,2.165641 -6.103467,6.75005 z",
|
|
23
|
-
"m 80.431155,24.019255 c 0,4.69691 2.418867,6.8063 6.328171,6.8063 2.559295,0 4.05003,-1.096883 4.528158,-1.546886 0.252929,-0.225002 0.478228,-0.590629 0.478228,-1.040633 0,-0.731255 -0.590828,-1.321884 -1.321885,-1.321884 -0.365529,0 -0.590828,0.1125 -0.900007,0.309376 -0.675203,0.450004 -1.547084,0.871882 -2.784494,0.871882 -1.856362,0 -3.290747,-0.928131 -3.290747,-2.953147 h 6.947123 c 1.715538,0 1.715538,-1.209384 1.715538,-2.250016 0,-1.940639 -0.871881,-5.596916 -5.624842,-5.596916 -3.825227,0 -6.075243,2.418769 -6.075243,6.721924 z m 6.075243,-4.134404 c 1.827741,0 2.615544,1.35001 2.615544,2.728144 h -5.568988 c 0.140824,-1.800013 1.321884,-2.728144 2.953444,-2.728144 z",
|
|
24
|
-
"m 97.832437,11.953443 c 0,-0.843755 -0.675203,-1.518761 -1.518959,-1.518761 -0.843657,0 -1.518463,0.675006 -1.518463,1.518761 v 17.268975 c 0,0.843658 0.646582,1.462412 1.518463,1.462412 0.871881,0 1.518959,-0.618754 1.518959,-1.462412 v -6.272019 c 0,-1.659387 0.702932,-2.896897 2.812123,-2.896897 1.82913,0 2.47482,1.096883 2.47482,2.70002 v 6.468896 c 0,0.843658 0.61895,1.462412 1.51916,1.462412 0.84375,0 1.51915,-0.618754 1.51915,-1.462412 v -7.0314 c 0,-2.446892 -0.9002,-4.893786 -4.72483,-4.893786 -1.884885,0 -3.065945,0.871882 -3.600423,1.687513 z",
|
|
25
|
-
"m 110.77062,17.466082 c -0.84375,0 -1.51915,0.675006 -1.51915,1.518761 v 6.553173 c 0,2.756271 1.04082,5.287539 5.56958,5.287539 4.50003,0 5.53987,-2.531268 5.53987,-5.287539 v -6.553173 c 0,-0.843755 -0.67441,-1.518761 -1.51817,-1.518761 -0.84375,0 -1.51915,0.675006 -1.51915,1.518761 v 6.553173 c 0,1.293759 -0.4496,2.531269 -2.50255,2.531269 -2.08166,0 -2.53226,-1.23751 -2.53226,-2.531269 v -6.553173 c 0,-0.843755 -0.67441,-1.518761 -1.51817,-1.518761 z",
|
|
26
|
-
"m 129.73731,17.297232 c -1.34981,0 -2.53225,0.562504 -3.09377,1.125009 v -6.468798 c 0,-0.843755 -0.6754,-1.518761 -1.51916,-1.518761 -0.84375,0 -1.51916,0.675006 -1.51916,1.518761 v 13.246972 c 0,3.740652 2.41936,5.625041 5.82212,5.625041 3.7969,0 6.01919,-2.165641 6.01919,-6.750049 0,-4.584409 -2.16584,-6.778175 -5.70922,-6.778175 z m -3.09377,4.021904 c 0,0 1.09629,-1.434385 2.7838,-1.434385 1.91232,0 3.00959,1.406261 3.00959,4.190656 0,2.75627 -1.06855,4.162629 -3.00959,4.162629 -1.63106,0 -2.7838,-1.096982 -2.7838,-3.037621 z"
|
|
27
|
-
], y = v.slice(5).join(" "), b = {
|
|
28
|
-
color: m,
|
|
29
|
-
black: "#000000",
|
|
30
|
-
white: "#FFFFFF"
|
|
31
|
-
}, x = (e) => typeof e == "string" && u.includes(e), S = (e) => typeof e == "string" && d.includes(e);
|
|
32
|
-
function C(e = {}) {
|
|
33
|
-
let t = x(e.variant) ? e.variant : f, n = S(e.color) ? e.color : p, r = t === "glyph", i = r ? h : g, a = r ? _ : v, o = b[n], s = a.map((e) => "<path d=\"" + e + "\" fill=\"" + o + "\"/>").join("\n");
|
|
34
|
-
return "<svg viewBox=\"" + i + "\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" aria-label=\"dicehub logo\">\n" + s + "\n</svg>";
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region src/components/dicehub-logo/DicehubLogo.vue?vue&type=script&setup=true&lang.ts
|
|
38
|
-
var w = ["viewBox", "aria-label"], T = ["d"], E = /* @__PURE__ */ o({
|
|
39
|
-
inheritAttrs: !1,
|
|
40
|
-
__name: "DicehubLogo",
|
|
41
|
-
props: {
|
|
42
|
-
color: { default: p },
|
|
43
|
-
title: { default: "dicehub logo" },
|
|
44
|
-
variant: { default: f }
|
|
45
|
-
},
|
|
46
|
-
setup(r) {
|
|
47
|
-
let i = r, a = t(() => x(i.variant) ? i.variant : f), o = t(() => S(i.color) ? i.color : p), u = t(() => a.value === "glyph"), d = t(() => u.value ? h : g), m = t(() => u.value ? _ : v);
|
|
48
|
-
return (t, i) => (c(), n("svg", s(t.$attrs, {
|
|
49
|
-
class: ["kappa-dicehub-logo", [`kappa-dicehub-logo--${a.value}`, `kappa-dicehub-logo--${o.value}`]],
|
|
50
|
-
viewBox: d.value,
|
|
51
|
-
fill: "none",
|
|
52
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
53
|
-
role: "img",
|
|
54
|
-
"aria-label": r.title
|
|
55
|
-
}), [(c(!0), n(e, null, l(m.value, (e) => (c(), n("path", {
|
|
56
|
-
key: e,
|
|
57
|
-
d: e,
|
|
58
|
-
fill: "currentColor"
|
|
59
|
-
}, null, 8, T))), 128))], 16, w));
|
|
60
|
-
}
|
|
61
|
-
}), D = [
|
|
62
|
-
"href",
|
|
63
|
-
"rel",
|
|
64
|
-
"target"
|
|
65
|
-
], O = /* @__PURE__ */ o({
|
|
66
|
-
inheritAttrs: !1,
|
|
67
|
-
__name: "PoweredByDicehub",
|
|
68
|
-
props: {
|
|
69
|
-
color: { default: p },
|
|
70
|
-
href: { default: "https://dicehub.com" },
|
|
71
|
-
rel: {},
|
|
72
|
-
target: { default: "_blank" }
|
|
73
|
-
},
|
|
74
|
-
setup(e) {
|
|
75
|
-
let o = e, l = t(() => o.rel ?? (o.target === "_blank" ? "noopener noreferrer" : void 0));
|
|
76
|
-
return (t, o) => (c(), n("a", s(t.$attrs, {
|
|
77
|
-
class: ["kappa-powered-by-dicehub", `kappa-powered-by-dicehub--${e.color}`],
|
|
78
|
-
href: e.href,
|
|
79
|
-
rel: l.value,
|
|
80
|
-
target: e.target
|
|
81
|
-
}), [a(E, {
|
|
82
|
-
class: "kappa-powered-by-dicehub__mark",
|
|
83
|
-
variant: "glyph",
|
|
84
|
-
color: e.color,
|
|
85
|
-
"aria-hidden": "true"
|
|
86
|
-
}, null, 8, ["color"]), o[0] ||= r("span", null, [i("Powered by "), r("strong", null, "dicehub")], -1)], 16, D));
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
//#endregion
|
|
90
|
-
export { _ as a, p as c, u as d, y as f, x as h, g as i, f as l, S as m, E as n, h as o, C as p, v as r, d as s, O as t, m as u };
|
|
91
|
-
|
|
92
|
-
//# sourceMappingURL=PoweredByDicehub-BD-y1NZA.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PoweredByDicehub-BD-y1NZA.js","names":["$attrs","$attrs"],"sources":["../src/components/dicehub-logo/dicehub-logo.ts","../src/components/dicehub-logo/DicehubLogo.vue","../src/components/dicehub-logo/DicehubLogo.vue","../src/components/dicehub-logo/PoweredByDicehub.vue","../src/components/dicehub-logo/PoweredByDicehub.vue"],"sourcesContent":["export const DICEHUB_LOGO_VARIANTS = [\"glyph\", \"full\"] as const;\nexport const DICEHUB_LOGO_COLORS = [\"color\", \"black\", \"white\"] as const;\n\nexport const DICEHUB_LOGO_DEFAULT_VARIANT = \"full\" satisfies DicehubLogoVariant;\nexport const DICEHUB_LOGO_DEFAULT_COLOR = \"color\" satisfies DicehubLogoColor;\n\nexport const DICEHUB_LOGO_INK = \"#333333\";\nexport const DICEHUB_GLYPH_VIEWBOX = \"0 0 33 36\";\nexport const DICEHUB_FULL_LOGO_VIEWBOX = \"0 0 137 41\";\n\nexport const DICEHUB_GLYPH_PATHS = [\n \"M30.2207 8.23185C30.2207 8.19049 30.2207 8.14912 30.207 8.10775V8.09396C30.1795 7.9285 30.0971 7.76304 29.9597 7.61136C29.8498 7.48726 29.7125 7.37695 29.5339 7.28043L18.0916 0.63428C18.0916 0.63428 17.5971 0.344717 17.5834 0.344717C17.1164 0.124098 16.5944 0 16.0312 0C15.4543 0 14.9186 0.137887 14.4378 0.372295L14.012 0.620491L2.54228 7.26664C2.36371 7.36316 2.22635 7.48726 2.11646 7.59757C1.97909 7.74925 1.89668 7.91471 1.8692 8.08018C1.8692 8.08018 1.85547 8.1767 1.85547 8.21806C1.85547 8.42489 1.93789 8.64551 2.10272 8.83855C2.21261 8.96265 2.36371 9.08675 2.54228 9.19706L14.2455 16.0225C14.2592 16.0225 14.3829 16.1052 14.4241 16.119C14.534 16.1741 14.6439 16.2293 14.7537 16.2707C15.1521 16.4223 15.5917 16.5051 16.0449 16.5051C16.4982 16.5051 16.9241 16.4223 17.3361 16.2707C17.446 16.2293 17.5697 16.1741 17.6658 16.119C17.707 16.1052 17.8444 16.0225 17.8581 16.0225L29.5614 9.19706C29.7399 9.08675 29.891 8.97644 30.0009 8.83855C30.1383 8.6593 30.2207 8.43868 30.2207 8.23185ZM20.1383 7.66651C19.9598 7.95608 19.6164 8.24564 19.0806 8.56278C18.1191 9.12812 17.0477 9.5142 15.7702 9.73482C15.2757 9.83134 14.8224 9.87271 14.4241 9.87271C13.6686 9.87271 13.0367 9.72103 12.5147 9.41768C11.9378 9.08675 11.773 8.71446 11.773 8.46626C11.773 8.10775 11.9928 7.79061 12.4873 7.50105C12.762 7.3218 13.1329 7.18391 13.5587 7.0736C13.9433 6.96329 14.3417 6.89435 14.7675 6.86677C15.2208 6.83919 15.5779 6.86677 15.8389 6.89435C16.1686 6.93571 16.457 6.99087 16.7043 7.0736C16.979 7.17012 17.2125 7.25285 17.3911 7.36316C17.6658 7.51484 17.8581 7.6803 17.968 7.85956C18.0779 8.03881 18.1328 8.21806 18.1328 8.39732C18.1328 8.39732 18.1328 8.39732 18.1328 8.42489C18.4076 8.32837 18.4625 8.24564 18.5999 8.1767C19.0532 7.90092 19.2867 7.65273 19.2867 7.41832C19.3142 7.17012 18.9982 6.57721 17.8856 6.41174C17.6109 6.37038 17.2812 6.37038 16.9241 6.38417C16.8966 6.38417 16.4982 6.41174 16.4982 6.13597C16.4982 5.94293 17.0477 5.83262 17.4186 5.80504C17.7757 5.77746 18.0779 5.76368 18.3526 5.77746C18.8197 5.80504 19.2455 5.92914 19.6026 6.13597C19.8911 6.28765 20.0971 6.52205 20.207 6.77025C20.3306 7.05981 20.3169 7.36316 20.1383 7.66651Z\",\n \"M17.0871 7.8594C16.8673 7.72151 16.153 7.47332 14.6695 7.72151C14.0376 7.83182 12.9799 8.16275 12.7602 8.7143C12.7327 8.90734 12.9525 9.01765 13.0486 9.05902C13.3508 9.18312 13.8316 9.29343 14.5047 9.29343C15.3563 9.29343 16.2766 9.11417 17.3343 8.75567C17.4717 8.57641 17.6228 8.17654 17.0871 7.8594Z\",\n \"M32.073 11.8306C32.0455 11.7478 32.0043 11.6651 31.9631 11.5824C31.812 11.3618 31.551 11.2101 31.2625 11.1963C31.1801 11.1963 31.0977 11.2101 31.0153 11.2239C30.8504 11.2514 30.6856 11.3204 30.507 11.4307L19.2434 18.0493L19.0373 18.1734C18.0071 18.8214 17.3203 19.9797 17.3203 21.2896V34.8025C17.3203 34.9818 17.334 35.1335 17.3753 35.2713C17.4714 35.6023 17.6637 35.8367 17.9247 35.947C17.9247 35.947 18.1582 36.0297 18.4329 35.9884C18.5978 35.9608 18.7901 35.8918 18.9687 35.7815L30.2048 29.1905L30.4384 29.0526C31.4686 28.4046 32.1554 27.2463 32.1554 25.9364V12.3683C32.1554 12.1615 32.1142 11.9822 32.073 11.8306ZM26.7296 19.0696C26.6609 19.1799 26.5785 19.3178 26.4137 19.4006C26.2488 19.4833 26.1252 19.4971 25.9604 19.4281C25.9329 19.4281 25.9192 19.4557 25.9192 19.4695C25.8917 19.5109 25.8917 19.566 25.8917 19.6488C25.8917 19.7453 25.8917 19.8556 25.9192 20.0348L25.9466 20.283C26.0565 21.4137 26.0977 22.3927 26.0977 23.2338C26.0977 23.4544 26.0703 24.4059 26.029 25.9502C26.0016 26.8465 25.8642 27.5497 25.6444 28.0461C25.2873 28.8458 24.834 28.8182 24.7241 28.8044C24.4906 28.7769 24.3258 28.5838 24.3258 28.2805C24.3258 28.1288 24.367 27.9633 24.4357 27.8255C24.5318 27.6738 24.6417 27.5497 24.7653 27.4945C24.8752 27.4256 25.0538 27.398 25.1911 27.4945C25.2324 27.5221 25.2323 27.5221 25.2323 27.5221C25.2323 27.5221 25.2736 27.4669 25.2736 27.3153C25.2736 27.0947 25.2461 26.7775 25.2186 26.4604C25.1225 25.633 25.095 24.5162 25.095 23.0821C25.1225 22.2548 25.095 21.8274 25.1362 21.1517C25.1637 20.6553 25.1362 19.5522 25.4659 18.9042C25.6444 18.587 25.823 18.3802 26.0428 18.2561C26.2488 18.1458 26.3999 18.1596 26.5373 18.2147C26.9082 18.3802 26.812 18.9317 26.7296 19.0696Z\",\n \"M4.45117 24.5989L7.85775 26.5569L6.25061 21.1104L4.45117 24.5989Z\",\n \"M13.3899 18.1734L13.1839 18.0493L1.64834 11.4307C1.46977 11.3204 1.30494 11.2514 1.1401 11.2239C1.05769 11.2101 0.975269 11.1963 0.892852 11.1963C0.604392 11.2101 0.343405 11.3618 0.192307 11.5824C0.151098 11.6513 0.109889 11.734 0.0824171 11.8306C0.0274724 11.9822 0 12.1753 0 12.3821V25.9226C0 27.2325 0.686809 28.3908 1.70329 29.0389L1.92307 29.1767L13.4311 35.7677C13.6234 35.8781 13.802 35.947 13.9668 35.9746C14.2416 36.0159 14.4751 35.9332 14.4751 35.9332C14.7361 35.8367 14.9284 35.6023 15.0245 35.2576C15.0657 35.1197 15.0795 34.968 15.0795 34.7887V21.2758C15.1069 19.9659 14.4201 18.8214 13.3899 18.1734ZM9.12083 28.115L3.57141 24.9023C3.50273 24.8609 3.46152 24.7644 3.50273 24.6816L6.44227 18.9731C6.46974 18.9042 6.53842 18.8766 6.59337 18.8766C6.64831 18.8766 6.70326 18.918 6.73073 18.9869L9.32687 27.8668C9.43676 28.1564 9.23072 28.1977 9.12083 28.115Z\",\n] as const;\n\nexport const DICEHUB_FULL_LOGO_PATHS = [\n \"m 21.580676,11.969694 c 1.222922,-0.204618 1.811735,0 1.992908,0.113676 0.44161,0.261425 0.317054,0.591064 0.20382,0.738848 -0.871897,0.295511 -1.63056,0.443296 -2.332607,0.443296 -0.554844,0 -0.95116,-0.09095 -1.200274,-0.193224 -0.07934,-0.03412 -0.26051,-0.125065 -0.237791,-0.284179 0.181174,-0.454669 1.05307,-0.727474 1.573944,-0.818417 z\",\n \"m 34.388898,12.287939 c 0.01133,0.0341 0.01133,0.06818 0.01133,0.102287 0,0.170511 -0.06795,0.352374 -0.181174,0.500165 -0.09066,0.113596 -0.215143,0.204546 -0.362419,0.295495 l -9.64756,5.626539 c -0.0056,0 -0.03463,0.0159 -0.06713,0.03361 -0.03498,0.01894 -0.07382,0.04013 -0.09138,0.04601 -0.07927,0.04544 -0.181175,0.09088 -0.271834,0.124992 -0.3397,0.125065 -0.690723,0.193295 -1.064394,0.193295 -0.37367,0 -0.736017,-0.06823 -1.064394,-0.193295 -0.09052,-0.03405 -0.181028,-0.07948 -0.271541,-0.124918 -0.01807,-0.0061 -0.05582,-0.02838 -0.08855,-0.04783 -0.0286,-0.01699 -0.05357,-0.03186 -0.05887,-0.03186 l -9.647645,-5.626543 c -0.147204,-0.09095 -0.271768,-0.193222 -0.362354,-0.295495 -0.13588,-0.159173 -0.20382,-0.341029 -0.20382,-0.511539 0,-0.03407 0.01132,-0.113648 0.01132,-0.113648 0.02265,-0.136402 0.09059,-0.272805 0.20382,-0.397855 0.09059,-0.09092 0.203827,-0.193237 0.35103,-0.272806 L 21.03846,6.1157641 21.389483,5.9111609 C 21.7858,5.7179251 22.227411,5.6042577 22.70299,5.6042577 c 0.46433,0 0.894545,0.1023013 1.27961,0.2841694 0.01132,0 0.418964,0.2387017 0.418964,0.2387017 l 9.432414,5.4787962 c 0.147275,0.07956 0.26051,0.17051 0.351096,0.272806 0.113234,0.125021 0.181174,0.261423 0.203821,0.397826 z m -9.172051,0.375093 c 0.441611,-0.261425 0.724695,-0.500151 0.871898,-0.738848 0.147203,-0.250072 0.158527,-0.500122 0.05662,-0.738848 -0.09059,-0.204583 -0.260437,-0.397828 -0.498228,-0.522849 -0.294406,-0.17051 -0.64543,-0.272805 -1.030424,-0.295531 -0.226466,-0.01138 -0.475579,0 -0.769987,0.02273 -0.305802,0.02274 -0.758735,0.113677 -0.758735,0.272805 0,0.215376 0.294841,0.206274 0.34507,0.204743 l 0.006,-1.53e-4 c 0.294479,-0.01135 0.566166,-0.01135 0.792706,0.02273 0.91719,0.136404 1.177626,0.625172 1.154981,0.829798 0,0.193237 -0.192498,0.397827 -0.566168,0.625172 -0.03862,0.01935 -0.06925,0.04002 -0.10191,0.062 -0.06322,0.04258 -0.133775,0.09013 -0.283083,0.142594 v -0.02274 c 0,-0.147777 -0.0453,-0.295532 -0.135953,-0.443309 -0.09057,-0.147755 -0.249099,-0.284157 -0.475638,-0.409208 -0.147131,-0.09092 -0.3397,-0.159136 -0.566167,-0.238698 -0.203821,-0.06819 -0.44161,-0.113676 -0.71337,-0.147755 -0.215144,-0.02276 -0.509551,-0.04548 -0.883222,-0.02276 -0.351023,0.02276 -0.679399,0.07959 -0.996453,0.17051 -0.351024,0.09094 -0.656754,0.204619 -0.88322,0.352366 -0.407641,0.238698 -0.588814,0.500159 -0.588814,0.79569 0,0.204583 0.13588,0.511467 0.61146,0.784316 0.430288,0.250058 0.95116,0.375121 1.573945,0.375121 0.328376,0 0.702047,-0.03412 1.109686,-0.113741 1.053071,-0.181827 1.936364,-0.500114 2.728997,-0.966134 z\",\n \"m 35.927275,15.356991 c -0.02265,-0.06823 -0.05662,-0.136387 -0.09059,-0.204545 -0.124556,-0.181899 -0.3397,-0.306965 -0.57749,-0.31836 -0.06794,0 -0.135952,0.0114 -0.203893,0.02272 -0.135807,0.02272 -0.27176,0.07956 -0.418891,0.170502 l -9.285283,5.456108 -0.169851,0.102273 c -0.849323,0.534229 -1.415489,1.48902 -1.415489,2.568875 v 11.13948 c 0,0.147711 0.01132,0.272775 0.0453,0.386445 0.07927,0.272848 0.237789,0.466071 0.453005,0.55702 0,0 0.192425,0.06816 0.418891,0.03405 0.135881,-0.02272 0.29448,-0.07956 0.441683,-0.170503 l 9.262637,-5.433315 0.192424,-0.11367 c 0.849323,-0.534228 1.415489,-1.489019 1.415489,-2.568873 v -11.18492 c 0,-0.170503 -0.03397,-0.318287 -0.06794,-0.44328 z m -4.404852,5.967546 -0.0048,0.0077 c -0.05568,0.08957 -0.123539,0.19874 -0.255573,0.26501 -0.135881,0.06823 -0.237789,0.07962 -0.373671,0.02278 -0.02264,0 -0.03397,0.02272 -0.03397,0.03404 -0.02264,0.03411 -0.02264,0.07956 -0.02264,0.147784 0,0.07956 0,0.170577 0.02264,0.318288 l 0.02265,0.204619 c 0.09059,0.93207 0.124556,1.739076 0.124556,2.432485 0,0.14038 -0.01351,0.639841 -0.03527,1.445976 l -0.003,0.111564 c -0.0056,0.208465 -0.01176,0.436021 -0.0183,0.681723 -0.02264,0.738848 -0.135879,1.318516 -0.317053,1.727753 -0.294407,0.659222 -0.668076,0.636502 -0.758736,0.625179 -0.192424,-0.02278 -0.328377,-0.181899 -0.328377,-0.431956 0,-0.125065 0.03397,-0.261453 0.09066,-0.375121 0.07919,-0.125067 0.169851,-0.227339 0.27176,-0.272777 0.09051,-0.05683 0.237791,-0.07956 0.351024,0 0.03389,0.02272 0.03389,0.02272 0.03389,0.02272 0,0 0.03405,-0.04544 0.03405,-0.170503 0,-0.181899 -0.02265,-0.44328 -0.0453,-0.704733 -0.07927,-0.682014 -0.101982,-1.602759 -0.101982,-2.784888 0.01002,-0.299633 0.01118,-0.535971 0.01234,-0.753655 0.0014,-0.277422 0.0026,-0.525737 0.0217,-0.837637 0.0037,-0.06743 0.0063,-0.148727 0.009,-0.239314 v -5.08e-4 l 7.3e-5,-4.36e-4 c 0.01408,-0.459612 0.03586,-1.16674 0.262686,-1.612559 0.147204,-0.261453 0.294407,-0.431957 0.475581,-0.53423 0.16985,-0.09095 0.294406,-0.07956 0.407641,-0.03411 0.305729,0.136388 0.226466,0.591064 0.158526,0.704733 z\",\n \"m 15.964155,27.496628 -2.808239,-1.614157 1.483386,-2.875765 z\",\n \"M 20.525646,20.585688 20.355797,20.483415 10.846391,15.027307 C 10.69918,14.936357 10.5633,14.879524 10.42742,14.856806 c -0.06794,-0.01133 -0.135888,-0.02271 -0.20382,-0.02271 -0.237796,0.0114 -0.452944,0.136388 -0.577503,0.318288 -0.03397,0.05683 -0.06794,0.125064 -0.09059,0.204618 -0.04529,0.124992 -0.06794,0.284172 -0.06794,0.454676 v 11.1622 c 0,1.079781 0.566174,2.034643 1.404116,2.568873 l 0.181173,0.113668 9.48676,5.433316 c 0.158453,0.09088 0.30573,0.147784 0.44161,0.170504 0.226466,0.03411 0.418963,-0.03412 0.418963,-0.03412 0.215143,-0.07956 0.37367,-0.272776 0.452933,-0.556947 0.03397,-0.11367 0.0453,-0.238735 0.0453,-0.386445 V 23.143241 c 0.02265,-1.079855 -0.543524,-2.023322 -1.392774,-2.557551 z m -3.519236,8.195485 -4.57473,-2.648499 c -0.05662,-0.03412 -0.09059,-0.11367 -0.05662,-0.181901 l 2.423222,-4.70579 c 0.02267,-0.05683 0.07929,-0.07956 0.124557,-0.07956 0.0453,0 0.09061,0.03411 0.113234,0.09088 l 2.14019,7.320248 c 0.09052,0.238661 -0.07933,0.272776 -0.16985,0.204618 z\",\n \"m 46.113058,24.075407 c 0,-4.584409 2.166037,-6.778175 5.709713,-6.778175 1.35001,0 2.53117,0.562504 3.093773,1.125009 v -6.468798 c 0,-0.843755 0.674807,-1.518761 1.518959,-1.518761 0.843657,0 1.518464,0.675006 1.518464,1.518761 v 13.246972 c 0,3.740652 -2.41847,5.625041 -5.821917,5.625041 -3.797101,0 -6.018992,-2.165641 -6.018992,-6.750049 z m 6.018992,4.162629 c 1.631162,0 2.784494,-1.096982 2.784494,-3.037621 v -3.881279 c 0,0 -1.097081,-1.434385 -2.784494,-1.434385 -1.912613,0 -3.009298,1.406261 -3.009298,4.190656 0,2.75627 1.068559,4.162629 3.009298,4.162629 z\",\n \"m 62.85112,17.466082 c 0.843756,0 1.518959,0.675006 1.518959,1.518761 v 10.181325 c 0,0.843756 -0.675203,1.518761 -1.518959,1.518761 -0.843657,0 -1.518959,-0.675005 -1.518959,-1.518761 V 18.984843 c 0,-0.843755 0.675302,-1.518761 1.518959,-1.518761 z\",\n \"m 62.85112,15.947321 c 1.181159,0 1.828237,-0.675004 1.828237,-1.771888 0,-1.293759 -0.647078,-1.856362 -1.828237,-1.856362 -1.152936,0 -1.800014,0.562603 -1.800014,1.856362 0,1.096884 0.647078,1.771888 1.800014,1.771888 z\",\n \"m 67.151107,24.047381 c 0,4.584408 2.278241,6.778174 6.103467,6.778174 2.306266,0 3.852954,-1.012507 4.500032,-1.603137 0.337404,-0.309378 0.478129,-0.64688 0.478129,-1.040633 0,-0.75938 -0.590729,-1.35001 -1.35001,-1.35001 -0.28155,0 -0.534478,0.05626 -0.844152,0.281253 l -0.04476,0.03328 c -0.641037,0.474266 -1.475384,1.091733 -2.739236,1.091733 -1.968963,0 -3.037819,-1.490636 -3.037819,-4.190655 0,-2.643769 1.068856,-4.16253 3.037819,-4.16253 1.40626,0 2.137416,0.703129 2.502944,1.096882 0.253326,0.281252 0.590729,0.478128 1.040732,0.478128 0.759282,0 1.35001,-0.590628 1.35001,-1.35001 0,-0.337502 -0.08438,-0.562504 -0.309674,-0.87188 -0.505858,-0.64688 -1.996592,-1.94064 -4.584012,-1.94064 -3.825226,0 -6.103467,2.165641 -6.103467,6.75005 z\",\n \"m 80.431155,24.019255 c 0,4.69691 2.418867,6.8063 6.328171,6.8063 2.559295,0 4.05003,-1.096883 4.528158,-1.546886 0.252929,-0.225002 0.478228,-0.590629 0.478228,-1.040633 0,-0.731255 -0.590828,-1.321884 -1.321885,-1.321884 -0.365529,0 -0.590828,0.1125 -0.900007,0.309376 -0.675203,0.450004 -1.547084,0.871882 -2.784494,0.871882 -1.856362,0 -3.290747,-0.928131 -3.290747,-2.953147 h 6.947123 c 1.715538,0 1.715538,-1.209384 1.715538,-2.250016 0,-1.940639 -0.871881,-5.596916 -5.624842,-5.596916 -3.825227,0 -6.075243,2.418769 -6.075243,6.721924 z m 6.075243,-4.134404 c 1.827741,0 2.615544,1.35001 2.615544,2.728144 h -5.568988 c 0.140824,-1.800013 1.321884,-2.728144 2.953444,-2.728144 z\",\n \"m 97.832437,11.953443 c 0,-0.843755 -0.675203,-1.518761 -1.518959,-1.518761 -0.843657,0 -1.518463,0.675006 -1.518463,1.518761 v 17.268975 c 0,0.843658 0.646582,1.462412 1.518463,1.462412 0.871881,0 1.518959,-0.618754 1.518959,-1.462412 v -6.272019 c 0,-1.659387 0.702932,-2.896897 2.812123,-2.896897 1.82913,0 2.47482,1.096883 2.47482,2.70002 v 6.468896 c 0,0.843658 0.61895,1.462412 1.51916,1.462412 0.84375,0 1.51915,-0.618754 1.51915,-1.462412 v -7.0314 c 0,-2.446892 -0.9002,-4.893786 -4.72483,-4.893786 -1.884885,0 -3.065945,0.871882 -3.600423,1.687513 z\",\n \"m 110.77062,17.466082 c -0.84375,0 -1.51915,0.675006 -1.51915,1.518761 v 6.553173 c 0,2.756271 1.04082,5.287539 5.56958,5.287539 4.50003,0 5.53987,-2.531268 5.53987,-5.287539 v -6.553173 c 0,-0.843755 -0.67441,-1.518761 -1.51817,-1.518761 -0.84375,0 -1.51915,0.675006 -1.51915,1.518761 v 6.553173 c 0,1.293759 -0.4496,2.531269 -2.50255,2.531269 -2.08166,0 -2.53226,-1.23751 -2.53226,-2.531269 v -6.553173 c 0,-0.843755 -0.67441,-1.518761 -1.51817,-1.518761 z\",\n \"m 129.73731,17.297232 c -1.34981,0 -2.53225,0.562504 -3.09377,1.125009 v -6.468798 c 0,-0.843755 -0.6754,-1.518761 -1.51916,-1.518761 -0.84375,0 -1.51916,0.675006 -1.51916,1.518761 v 13.246972 c 0,3.740652 2.41936,5.625041 5.82212,5.625041 3.7969,0 6.01919,-2.165641 6.01919,-6.750049 0,-4.584409 -2.16584,-6.778175 -5.70922,-6.778175 z m -3.09377,4.021904 c 0,0 1.09629,-1.434385 2.7838,-1.434385 1.91232,0 3.00959,1.406261 3.00959,4.190656 0,2.75627 -1.06855,4.162629 -3.00959,4.162629 -1.63106,0 -2.7838,-1.096982 -2.7838,-3.037621 z\",\n] as const;\n\nconst DICEHUB_WORDMARK_PATHS = DICEHUB_FULL_LOGO_PATHS.slice(5);\nexport const DICEHUB_WORDMARK_PATH = DICEHUB_WORDMARK_PATHS.join(\" \");\n\nexport type DicehubLogoVariant = (typeof DICEHUB_LOGO_VARIANTS)[number];\nexport type DicehubLogoColor = (typeof DICEHUB_LOGO_COLORS)[number];\n\nexport type GenerateDicehubLogoSvgOptions = {\n variant?: DicehubLogoVariant;\n color?: DicehubLogoColor;\n};\n\nconst SVG_FILL_COLORS: Record<DicehubLogoColor, string> = {\n color: DICEHUB_LOGO_INK,\n black: \"#000000\",\n white: \"#FFFFFF\",\n};\n\nexport const isDicehubLogoVariant = (value: unknown): value is DicehubLogoVariant =>\n typeof value === \"string\" && DICEHUB_LOGO_VARIANTS.includes(value as DicehubLogoVariant);\n\nexport const isDicehubLogoColor = (value: unknown): value is DicehubLogoColor =>\n typeof value === \"string\" && DICEHUB_LOGO_COLORS.includes(value as DicehubLogoColor);\n\nexport function generateDicehubLogoSvg(options: GenerateDicehubLogoSvgOptions = {}): string {\n const variant = isDicehubLogoVariant(options.variant) ? options.variant : DICEHUB_LOGO_DEFAULT_VARIANT;\n const color = isDicehubLogoColor(options.color) ? options.color : DICEHUB_LOGO_DEFAULT_COLOR;\n const isGlyph = variant === \"glyph\";\n const viewBox = isGlyph ? DICEHUB_GLYPH_VIEWBOX : DICEHUB_FULL_LOGO_VIEWBOX;\n const paths = isGlyph ? DICEHUB_GLYPH_PATHS : DICEHUB_FULL_LOGO_PATHS;\n const fill = SVG_FILL_COLORS[color];\n const pathMarkup = paths.map((path) => '<path d=\"' + path + '\" fill=\"' + fill + '\"/>').join(\"\\n\");\n\n return '<svg viewBox=\"' + viewBox + '\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" aria-label=\"dicehub logo\">\\n' +\n pathMarkup +\n \"\\n</svg>\";\n}\n","<script setup lang=\"ts\">\nimport { computed } from \"vue\";\nimport {\n DICEHUB_FULL_LOGO_PATHS,\n DICEHUB_FULL_LOGO_VIEWBOX,\n DICEHUB_GLYPH_PATHS,\n DICEHUB_GLYPH_VIEWBOX,\n DICEHUB_LOGO_DEFAULT_COLOR,\n DICEHUB_LOGO_DEFAULT_VARIANT,\n isDicehubLogoColor,\n isDicehubLogoVariant,\n type DicehubLogoColor,\n type DicehubLogoVariant,\n} from \"./dicehub-logo\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(\n defineProps<{\n color?: DicehubLogoColor;\n title?: string;\n variant?: DicehubLogoVariant;\n }>(),\n {\n color: DICEHUB_LOGO_DEFAULT_COLOR,\n title: \"dicehub logo\",\n variant: DICEHUB_LOGO_DEFAULT_VARIANT,\n },\n);\n\nconst resolvedVariant = computed(() =>\n isDicehubLogoVariant(props.variant) ? props.variant : DICEHUB_LOGO_DEFAULT_VARIANT,\n);\nconst resolvedColor = computed(() => (isDicehubLogoColor(props.color) ? props.color : DICEHUB_LOGO_DEFAULT_COLOR));\nconst isGlyph = computed(() => resolvedVariant.value === \"glyph\");\nconst viewBox = computed(() => (isGlyph.value ? DICEHUB_GLYPH_VIEWBOX : DICEHUB_FULL_LOGO_VIEWBOX));\nconst paths = computed(() => (isGlyph.value ? DICEHUB_GLYPH_PATHS : DICEHUB_FULL_LOGO_PATHS));\n</script>\n\n<template>\n <svg\n v-bind=\"$attrs\"\n class=\"kappa-dicehub-logo\"\n :class=\"[`kappa-dicehub-logo--${resolvedVariant}`, `kappa-dicehub-logo--${resolvedColor}`]\"\n :viewBox=\"viewBox\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n role=\"img\"\n :aria-label=\"title\"\n >\n <path v-for=\"path in paths\" :key=\"path\" :d=\"path\" fill=\"currentColor\" />\n </svg>\n</template>\n\n<style src=\"./dicehub-logo.css\"></style>\n","<script setup lang=\"ts\">\nimport { computed } from \"vue\";\nimport {\n DICEHUB_FULL_LOGO_PATHS,\n DICEHUB_FULL_LOGO_VIEWBOX,\n DICEHUB_GLYPH_PATHS,\n DICEHUB_GLYPH_VIEWBOX,\n DICEHUB_LOGO_DEFAULT_COLOR,\n DICEHUB_LOGO_DEFAULT_VARIANT,\n isDicehubLogoColor,\n isDicehubLogoVariant,\n type DicehubLogoColor,\n type DicehubLogoVariant,\n} from \"./dicehub-logo\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(\n defineProps<{\n color?: DicehubLogoColor;\n title?: string;\n variant?: DicehubLogoVariant;\n }>(),\n {\n color: DICEHUB_LOGO_DEFAULT_COLOR,\n title: \"dicehub logo\",\n variant: DICEHUB_LOGO_DEFAULT_VARIANT,\n },\n);\n\nconst resolvedVariant = computed(() =>\n isDicehubLogoVariant(props.variant) ? props.variant : DICEHUB_LOGO_DEFAULT_VARIANT,\n);\nconst resolvedColor = computed(() => (isDicehubLogoColor(props.color) ? props.color : DICEHUB_LOGO_DEFAULT_COLOR));\nconst isGlyph = computed(() => resolvedVariant.value === \"glyph\");\nconst viewBox = computed(() => (isGlyph.value ? DICEHUB_GLYPH_VIEWBOX : DICEHUB_FULL_LOGO_VIEWBOX));\nconst paths = computed(() => (isGlyph.value ? DICEHUB_GLYPH_PATHS : DICEHUB_FULL_LOGO_PATHS));\n</script>\n\n<template>\n <svg\n v-bind=\"$attrs\"\n class=\"kappa-dicehub-logo\"\n :class=\"[`kappa-dicehub-logo--${resolvedVariant}`, `kappa-dicehub-logo--${resolvedColor}`]\"\n :viewBox=\"viewBox\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n role=\"img\"\n :aria-label=\"title\"\n >\n <path v-for=\"path in paths\" :key=\"path\" :d=\"path\" fill=\"currentColor\" />\n </svg>\n</template>\n\n<style src=\"./dicehub-logo.css\"></style>\n","<script setup lang=\"ts\">\nimport { computed } from \"vue\";\nimport DicehubLogo from \"./DicehubLogo.vue\";\nimport { DICEHUB_LOGO_DEFAULT_COLOR, type DicehubLogoColor } from \"./dicehub-logo\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(\n defineProps<{\n color?: DicehubLogoColor;\n href?: string;\n rel?: string;\n target?: string;\n }>(),\n {\n color: DICEHUB_LOGO_DEFAULT_COLOR,\n href: \"https://dicehub.com\",\n target: \"_blank\",\n },\n);\n\nconst resolvedRel = computed(() => props.rel ?? (props.target === \"_blank\" ? \"noopener noreferrer\" : undefined));\n</script>\n\n<template>\n <a\n v-bind=\"$attrs\"\n class=\"kappa-powered-by-dicehub\"\n :class=\"`kappa-powered-by-dicehub--${color}`\"\n :href=\"href\"\n :rel=\"resolvedRel\"\n :target=\"target\"\n >\n <DicehubLogo\n class=\"kappa-powered-by-dicehub__mark\"\n variant=\"glyph\"\n :color=\"color\"\n aria-hidden=\"true\"\n />\n <span>Powered by <strong>dicehub</strong></span>\n </a>\n</template>\n\n<style src=\"./dicehub-logo.css\"></style>\n","<script setup lang=\"ts\">\nimport { computed } from \"vue\";\nimport DicehubLogo from \"./DicehubLogo.vue\";\nimport { DICEHUB_LOGO_DEFAULT_COLOR, type DicehubLogoColor } from \"./dicehub-logo\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(\n defineProps<{\n color?: DicehubLogoColor;\n href?: string;\n rel?: string;\n target?: string;\n }>(),\n {\n color: DICEHUB_LOGO_DEFAULT_COLOR,\n href: \"https://dicehub.com\",\n target: \"_blank\",\n },\n);\n\nconst resolvedRel = computed(() => props.rel ?? (props.target === \"_blank\" ? \"noopener noreferrer\" : undefined));\n</script>\n\n<template>\n <a\n v-bind=\"$attrs\"\n class=\"kappa-powered-by-dicehub\"\n :class=\"`kappa-powered-by-dicehub--${color}`\"\n :href=\"href\"\n :rel=\"resolvedRel\"\n :target=\"target\"\n >\n <DicehubLogo\n class=\"kappa-powered-by-dicehub__mark\"\n variant=\"glyph\"\n :color=\"color\"\n aria-hidden=\"true\"\n />\n <span>Powered by <strong>dicehub</strong></span>\n </a>\n</template>\n\n<style src=\"./dicehub-logo.css\"></style>\n"],"mappings":";;AAAA,IAAa,IAAwB,CAAC,SAAS,MAAM,GACxC,IAAsB;CAAC;CAAS;CAAS;AAAO,GAEhD,IAA+B,QAC/B,IAA6B,SAE7B,IAAmB,WACnB,IAAwB,aACxB,IAA4B,cAE5B,IAAsB;CACjC;CACA;CACA;CACA;CACA;AACF,GAEa,IAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,GAGa,IADkB,EAAwB,MAAM,CACxB,CAAA,CAAuB,KAAK,GAAG,GAU9D,IAAoD;CACxD,OAAO;CACP,OAAO;CACP,OAAO;AACT,GAEa,KAAwB,MACnC,OAAO,KAAU,YAAY,EAAsB,SAAS,CAA2B,GAE5E,KAAsB,MACjC,OAAO,KAAU,YAAY,EAAoB,SAAS,CAAyB;AAErF,SAAgB,EAAuB,IAAyC,CAAC,GAAW;CAC1F,IAAM,IAAU,EAAqB,EAAQ,OAAO,IAAI,EAAQ,UAAU,GACpE,IAAQ,EAAmB,EAAQ,KAAK,IAAI,EAAQ,QAAQ,GAC5D,IAAU,MAAY,SACtB,IAAU,IAAU,IAAwB,GAC5C,IAAQ,IAAU,IAAsB,GACxC,IAAO,EAAgB,IACvB,IAAa,EAAM,KAAK,MAAS,eAAc,IAAO,eAAa,IAAO,MAAK,CAAC,CAAC,KAAK,IAAI;CAEhG,OAAO,oBAAmB,IAAU,sGAClC,IACA;AACJ;;;;;;;;;;;;ECpDA,IAAM,IAAQ,GAaR,IAAk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ar-layout/SidebarLayoutSecondary.vue","../src/blocks/sidebar-layout/SidebarLayoutSecondary.vue","../src/blocks/sidebar-layout/sidebar-layout.ts","../src/blocks/sidebar-layout/SidebarLayout.vue","../src/blocks/sidebar-layout/SidebarLayout.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { nextTick, ref, watch } from \"vue\";\nimport { Sidebar, useSidebarContext } from \"../../components/sidebar\";\n\ndefineProps<{ label: string }>();\nconst sidebar = useSidebarContext();\nconst content = ref<{ $el: HTMLElement }>();\nwatch(sidebar.iconCollapsed, async (hidden) => {\n const element = content.value?.$el;\n if (!hidden || !element?.contains(document.activeElement)) return;\n const toggle = element.closest(\".kappa-sidebar-layout\")?.querySelector<HTMLElement>('.kappa-sidebar-layout__toolbar [data-slot=\"sidebar-trigger\"]');\n await nextTick();\n toggle?.focus({ preventScroll: true });\n});\n</script>\n\n<template>\n <Sidebar.Content ref=\"content\" :aria-label=\"label\" class=\"kappa-sidebar-layout__secondary\" :hidden=\"sidebar.iconCollapsed.value\" :inert=\"sidebar.iconCollapsed.value || undefined\"><slot /></Sidebar.Content>\n</template>\n","<script setup lang=\"ts\">\nimport { nextTick, ref, watch } from \"vue\";\nimport { Sidebar, useSidebarContext } from \"../../components/sidebar\";\n\ndefineProps<{ label: string }>();\nconst sidebar = useSidebarContext();\nconst content = ref<{ $el: HTMLElement }>();\nwatch(sidebar.iconCollapsed, async (hidden) => {\n const element = content.value?.$el;\n if (!hidden || !element?.contains(document.activeElement)) return;\n const toggle = element.closest(\".kappa-sidebar-layout\")?.querySelector<HTMLElement>('.kappa-sidebar-layout__toolbar [data-slot=\"sidebar-trigger\"]');\n await nextTick();\n toggle?.focus({ preventScroll: true });\n});\n</script>\n\n<template>\n <Sidebar.Content ref=\"content\" :aria-label=\"label\" class=\"kappa-sidebar-layout__secondary\" :hidden=\"sidebar.iconCollapsed.value\" :inert=\"sidebar.iconCollapsed.value || undefined\"><slot /></Sidebar.Content>\n</template>\n","import type { VNodeChild } from \"vue\";\nimport type { SidebarContextValue, SidebarProviderEmits, SidebarProviderProps, SidebarTriggerProps } from \"../../components/sidebar\";\n\nexport const SIDEBAR_LAYOUT_VARIANTS = [\"workspace\", \"rail\", \"inset\", \"floating\", \"split\", \"header\"] as const;\nexport type SidebarLayoutVariant = (typeof SIDEBAR_LAYOUT_VARIANTS)[number];\nexport type SidebarLayoutContentAlignment = \"available\" | \"shell\";\n\nexport const SIDEBAR_LAYOUT_DEFAULTS = {\n variant: \"workspace\",\n contentAlignment: \"available\",\n label: \"Application navigation\",\n navigationLabel: \"Navigation links\",\n secondaryLabel: \"Secondary navigation\",\n closeLabel: \"Close navigation\",\n resizeLabel: \"Resize sidebar\",\n fullScreenOnMobile: false,\n} as const;\n\nexport interface SidebarLayoutProps extends SidebarProviderProps {\n variant?: SidebarLayoutVariant;\n /** Center the content region within the available space or the complete shell. */\n contentAlignment?: SidebarLayoutContentAlignment;\n /** Name of the navigation landmark and mobile dialog. */\n label?: string;\n navigationLabel?: string;\n secondaryLabel?: string;\n closeLabel?: string;\n resizeLabel?: string;\n fullScreenOnMobile?: boolean;\n /** Translated labels and disabled state for the built-in toggle. */\n triggerProps?: SidebarTriggerProps;\n}\n\nexport type SidebarLayoutEmits = SidebarProviderEmits;\nexport interface SidebarLayoutSlots {\n header?: (context: SidebarContextValue) => VNodeChild;\n navigation?: (context: SidebarContextValue) => VNodeChild;\n footer?: (context: SidebarContextValue) => VNodeChild;\n /** Used by split; hidden with the collapsed rail and stacked on mobile. */\n secondary?: (context: SidebarContextValue) => VNodeChild;\n /** Content after the built-in toggle; in the site header for header. */\n toolbar?: (context: SidebarContextValue) => VNodeChild;\n default?: (context: SidebarContextValue) => VNodeChild;\n}\n\nexport function sidebarLayoutDefaultOpen(variant: SidebarLayoutVariant): boolean {\n return variant !== \"rail\";\n}\n\nexport function sidebarLayoutDefaultWidth(variant: SidebarLayoutVariant): number {\n return variant === \"split\" ? 352 : 260;\n}\n","<script setup lang=\"ts\">\nimport { computed } from \"vue\";\nimport { Sidebar, SIDEBAR_DEFAULTS } from \"../../components/sidebar\";\nimport SidebarLayoutSecondary from \"./SidebarLayoutSecondary.vue\";\nimport {\n SIDEBAR_LAYOUT_DEFAULTS, sidebarLayoutDefaultOpen, sidebarLayoutDefaultWidth,\n type SidebarLayoutEmits, type SidebarLayoutProps, type SidebarLayoutSlots,\n} from \"./sidebar-layout\";\n\ndefineOptions({ inheritAttrs: false });\nconst props = withDefaults(defineProps<SidebarLayoutProps>(), {\n ...SIDEBAR_DEFAULTS, ...SIDEBAR_LAYOUT_DEFAULTS,\n open: undefined, mobileOpen: undefined, defaultOpen: undefined,\n width: undefined, defaultWidth: undefined,\n});\nconst emit = defineEmits<SidebarLayoutEmits>();\ndefineSlots<SidebarLayoutSlots>();\nconst providerProps = computed(() => {\n const { variant, contentAlignment, label, navigationLabel, secondaryLabel, closeLabel, resizeLabel, fullScreenOnMobile, triggerProps, ...provider } = props;\n return {\n ...provider,\n defaultOpen: props.defaultOpen ?? sidebarLayoutDefaultOpen(variant),\n width: props.width ?? `${sidebarLayoutDefaultWidth(variant)}px`,\n defaultWidth: props.defaultWidth ?? sidebarLayoutDefaultWidth(variant),\n };\n});\n</script>\n\n<template>\n <Sidebar.Provider\n v-bind=\"{ ...$attrs, ...providerProps }\"\n class=\"kappa-sidebar-layout\" :data-variant=\"props.variant\" :data-side=\"props.side\"\n :data-content-alignment=\"props.contentAlignment\" :data-collapsible=\"props.collapsible\"\n @update:open=\"emit('update:open', $event)\" @open-change=\"emit('openChange', $event)\"\n @update:mobile-open=\"emit('update:mobileOpen', $event)\" @mobile-open-change=\"emit('mobileOpenChange', $event)\"\n @update:resize-width=\"emit('update:resizeWidth', $event)\" @resize=\"emit('resize', $event)\" @resize-end=\"emit('resizeEnd', $event)\"\n >\n <Sidebar.Context v-slot=\"context\">\n <header v-if=\"props.variant === 'header'\" class=\"kappa-sidebar-layout__toolbar kappa-sidebar-layout__site-header\">\n <Sidebar.Trigger v-bind=\"props.triggerProps\" />\n <slot name=\"toolbar\" v-bind=\"context\" />\n </header>\n <div class=\"kappa-sidebar-layout__body\">\n <Sidebar.Root :label=\"props.label\" :full-screen-on-mobile=\"props.fullScreenOnMobile\" class=\"kappa-sidebar-layout__navigation\" :data-layout=\"props.variant\">\n <Sidebar.Header>\n <slot name=\"header\" v-bind=\"context\" />\n <Sidebar.Close :label=\"props.closeLabel\" />\n </Sidebar.Header>\n <div class=\"kappa-sidebar-layout__columns\">\n <Sidebar.Content :aria-label=\"props.navigationLabel\" class=\"kappa-sidebar-layout__primary\">\n <slot name=\"navigation\" v-bind=\"context\" />\n </Sidebar.Content>\n <SidebarLayoutSecondary\n v-if=\"props.variant === 'split' && $slots.secondary\"\n :label=\"props.secondaryLabel\"\n ><slot name=\"secondary\" v-bind=\"context\" /></SidebarLayoutSecondary>\n </div>\n <Sidebar.Footer v-if=\"$slots.footer\"><slot name=\"footer\" v-bind=\"context\" /></Sidebar.Footer>\n <Sidebar.ResizeHandle v-if=\"props.resizable\" :label=\"props.resizeLabel\" />\n </Sidebar.Root>\n <div class=\"kappa-sidebar-layout__main\">\n <header v-if=\"props.variant !== 'header'\" class=\"kappa-sidebar-layout__toolbar\">\n <Sidebar.Trigger v-bind=\"props.triggerProps\" />\n <slot name=\"toolbar\" v-bind=\"context\" />\n </header>\n <div class=\"kappa-sidebar-layout__content-frame\">\n <div class=\"kappa-sidebar-layout__content\"><slot v-bind=\"context\" /></div>\n </div>\n </div>\n </div>\n </Sidebar.Context>\n </Sidebar.Provider>\n</template>\n\n<style src=\"./sidebar-layout.css\"></style>\n","<script setup lang=\"ts\">\nimport { computed } from \"vue\";\nimport { Sidebar, SIDEBAR_DEFAULTS } from \"../../components/sidebar\";\nimport SidebarLayoutSecondary from \"./SidebarLayoutSecondary.vue\";\nimport {\n SIDEBAR_LAYOUT_DEFAULTS, sidebarLayoutDefaultOpen, sidebarLayoutDefaultWidth,\n type SidebarLayoutEmits, type SidebarLayoutProps, type SidebarLayoutSlots,\n} from \"./sidebar-layout\";\n\ndefineOptions({ inheritAttrs: false });\nconst props = withDefaults(defineProps<SidebarLayoutProps>(), {\n ...SIDEBAR_DEFAULTS, ...SIDEBAR_LAYOUT_DEFAULTS,\n open: undefined, mobileOpen: undefined, defaultOpen: undefined,\n width: undefined, defaultWidth: undefined,\n});\nconst emit = defineEmits<SidebarLayoutEmits>();\ndefineSlots<SidebarLayoutSlots>();\nconst providerProps = computed(() => {\n const { variant, contentAlignment, label, navigationLabel, secondaryLabel, closeLabel, resizeLabel, fullScreenOnMobile, triggerProps, ...provider } = props;\n return {\n ...provider,\n defaultOpen: props.defaultOpen ?? sidebarLayoutDefaultOpen(variant),\n width: props.width ?? `${sidebarLayoutDefaultWidth(variant)}px`,\n defaultWidth: props.defaultWidth ?? sidebarLayoutDefaultWidth(variant),\n };\n});\n</script>\n\n<template>\n <Sidebar.Provider\n v-bind=\"{ ...$attrs, ...providerProps }\"\n class=\"kappa-sidebar-layout\" :data-variant=\"props.variant\" :data-side=\"props.side\"\n :data-content-alignment=\"props.contentAlignment\" :data-collapsible=\"props.collapsible\"\n @update:open=\"emit('update:open', $event)\" @open-change=\"emit('openChange', $event)\"\n @update:mobile-open=\"emit('update:mobileOpen', $event)\" @mobile-open-change=\"emit('mobileOpenChange', $event)\"\n @update:resize-width=\"emit('update:resizeWidth', $event)\" @resize=\"emit('resize', $event)\" @resize-end=\"emit('resizeEnd', $event)\"\n >\n <Sidebar.Context v-slot=\"context\">\n <header v-if=\"props.variant === 'header'\" class=\"kappa-sidebar-layout__toolbar kappa-sidebar-layout__site-header\">\n <Sidebar.Trigger v-bind=\"props.triggerProps\" />\n <slot name=\"toolbar\" v-bind=\"context\" />\n </header>\n <div class=\"kappa-sidebar-layout__body\">\n <Sidebar.Root :label=\"props.label\" :full-screen-on-mobile=\"props.fullScreenOnMobile\" class=\"kappa-sidebar-layout__navigation\" :data-layout=\"props.variant\">\n <Sidebar.Header>\n <slot name=\"header\" v-bind=\"context\" />\n <Sidebar.Close :label=\"props.closeLabel\" />\n </Sidebar.Header>\n <div class=\"kappa-sidebar-layout__columns\">\n <Sidebar.Content :aria-label=\"props.navigationLabel\" class=\"kappa-sidebar-layout__primary\">\n <slot name=\"navigation\" v-bind=\"context\" />\n </Sidebar.Content>\n <SidebarLayoutSecondary\n v-if=\"props.variant === 'split' && $slots.secondary\"\n :label=\"props.secondaryLabel\"\n ><slot name=\"secondary\" v-bind=\"context\" /></SidebarLayoutSecondary>\n </div>\n <Sidebar.Footer v-if=\"$slots.footer\"><slot name=\"footer\" v-bind=\"context\" /></Sidebar.Footer>\n <Sidebar.ResizeHandle v-if=\"props.resizable\" :label=\"props.resizeLabel\" />\n </Sidebar.Root>\n <div class=\"kappa-sidebar-layout__main\">\n <header v-if=\"props.variant !== 'header'\" class=\"kappa-sidebar-layout__toolbar\">\n <Sidebar.Trigger v-bind=\"props.triggerProps\" />\n <slot name=\"toolbar\" v-bind=\"context\" />\n </header>\n <div class=\"kappa-sidebar-layout__content-frame\">\n <div class=\"kappa-sidebar-layout__content\"><slot v-bind=\"context\" /></div>\n </div>\n </div>\n </div>\n </Sidebar.Context>\n </Sidebar.Provider>\n</template>\n\n<style src=\"./sidebar-layout.css\"></style>\n"],"mappings":";;;;;;;;EAKA,IAAM,IAAU,EAAkB,GAC5B,IAAU,EAA0B;SAC1C,EAAM,EAAQ,eAAe,OAAO,MAAW;GAC7C,IAAM,IAAU,EAAQ,OAAO;GAC/B,IAAI,CAAC,KAAU,CAAC,GAAS,SAAS,SAAS,aAAa,GAAG;GAC3D,IAAM,IAAS,EAAQ,QAAQ,uBAAuB,CAAC,EAAE,cAA2B,gEAA8D;GAElJ,AADA,MAAM,EAAS,GACf,GAAQ,MAAM,EAAE,eAAe,GAAK,CAAC;EACvC,CAAC,cAIC,EAAA,GAAA,EAA6M,EAAA,CAAA,CAAA,CAAA,SAAA;GAAxL,SAAA;GAAJ,KAAI;GAAW,cAAY,EAAA;GAAO,OAAM;GAAmC,QAAQ,EAAA,CAAA,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AgBC,EAAAA,OAAO,aAD5C,EAAA,GAAA,EAGoE,GAAA;;OADjE,OAAO,EAAM;;OACf,SAAA,QAA0C,CAA1C,EAA0C,EAAA,QAAA,aAAA,EAAA,EAAX,CAAO,CAAA,CAAA,CAAA,CAAA;;;MAEnBA,EAAAA,OAAO,UAA7B,EAAA,GAAA,EAA6F,EAAA,CAAA,CAAA,CAAA,QAAA,EAAA,KAAA,EAAA,GAAA;OAAxD,SAAA,QAAuC,CAAvC,EAAuC,EAAA,QAAA,UAAA,EAAA,EAAX,CAAO,CAAA,CAAA,CAAA,CAAA;;;MAC5C,EAAM,aAAlC,EAAA,GAAA,EAA0E,EAAA,CAAA,CAAA,CAAA,cAAA;;OAA5B,OAAO,EAAM;;;;;;;;IAE7D,CAAA,GAAA,EAQM,OARN,GAQM,CAPU,EAAM,YAAO,WAEW,EAAA,IAAA,EAAA,KAFtC,EAAA,GAAA,EAGS,UAHT,GAGS,CAFP,EAA+C,EAAA,CAAA,CAAA,CAAA,SAAA,EAAA,EAAtB,EAAM,YAAY,CAAA,GAAA,MAAA,EAAA,GAC3C,EAAwC,EAAA,QAAA,WAAA,EAAA,EAAX,CAAO,CAAA,CAAA,CAAA,CAAA,IAEtC,EAEM,OAFN,GAEM,CADJ,EAA0E,OAA1E,GAA0E,CAA/B,EAAyB,EAAA,QAAA,WAAA,EAAA,EAAX,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceSwitcher-DBWdKZbM.js","names":["$emit","$attrs"],"sources":["../src/blocks/workspace-switcher/WorkspaceSwitcherBadge.vue","../src/blocks/workspace-switcher/WorkspaceSwitcherBadge.vue","../src/blocks/workspace-switcher/WorkspaceSwitcherActions.vue","../src/blocks/workspace-switcher/WorkspaceSwitcherActions.vue","../src/blocks/workspace-switcher/workspace-switcher.ts","../src/blocks/workspace-switcher/WorkspaceSwitcher.vue","../src/blocks/workspace-switcher/WorkspaceSwitcher.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { Avatar } from \"../../components/avatar\";\nimport type { WorkspaceSwitcherItem } from \"./workspace-switcher\";\ndefineProps<{ item: WorkspaceSwitcherItem; large?: boolean }>();\n</script>\n\n<template>\n <span class=\"kappa-workspace-switcher__badge\" :data-large=\"large || undefined\" aria-hidden=\"true\">\n <Avatar.Root v-if=\"item.avatarSrc\" class=\"kappa-workspace-switcher__avatar\">\n <Avatar.Image :src=\"item.avatarSrc\" alt=\"\" />\n <Avatar.Fallback>{{ item.initials ?? item.name.slice(0, 2).toUpperCase() }}</Avatar.Fallback>\n </Avatar.Root>\n <component :is=\"item.icon\" v-else-if=\"item.icon\" />\n <span v-else>{{ item.initials ?? item.name.slice(0, 2).toUpperCase() }}</span>\n </span>\n</template>\n","<script setup lang=\"ts\">\nimport { Avatar } from \"../../components/avatar\";\nimport type { WorkspaceSwitcherItem } from \"./workspace-switcher\";\ndefineProps<{ item: WorkspaceSwitcherItem; large?: boolean }>();\n</script>\n\n<template>\n <span class=\"kappa-workspace-switcher__badge\" :data-large=\"large || undefined\" aria-hidden=\"true\">\n <Avatar.Root v-if=\"item.avatarSrc\" class=\"kappa-workspace-switcher__avatar\">\n <Avatar.Image :src=\"item.avatarSrc\" alt=\"\" />\n <Avatar.Fallback>{{ item.initials ?? item.name.slice(0, 2).toUpperCase() }}</Avatar.Fallback>\n </Avatar.Root>\n <component :is=\"item.icon\" v-else-if=\"item.icon\" />\n <span v-else>{{ item.initials ?? item.name.slice(0, 2).toUpperCase() }}</span>\n </span>\n</template>\n","<script setup lang=\"ts\">\nimport { Dropdown } from \"../../components/dropdown\";\nimport type { WorkspaceSwitcherAction } from \"./workspace-switcher\";\ndefineProps<{ items: readonly WorkspaceSwitcherAction[]; section: \"primary\" | \"workspace\" | \"footer\" }>();\ndefineEmits<{ action: [action: WorkspaceSwitcherAction] }>();\n</script>\n\n<template>\n <Dropdown.Group>\n <Dropdown.Separator v-if=\"section === 'footer'\" />\n <Dropdown.Item v-for=\"action in items\" :key=\"action.value\" :value=\"`workspace-action:${section}:${action.value}`\"\n :value-text=\"action.label\" :icon=\"action.icon\" :disabled=\"action.disabled\" :variant=\"action.variant\"\n :data-accent=\"action.accent || undefined\" class=\"kappa-workspace-switcher__action\"\n @select=\"$emit('action', action)\">{{ action.label }}</Dropdown.Item>\n </Dropdown.Group>\n</template>\n","<script setup lang=\"ts\">\nimport { Dropdown } from \"../../components/dropdown\";\nimport type { WorkspaceSwitcherAction } from \"./workspace-switcher\";\ndefineProps<{ items: readonly WorkspaceSwitcherAction[]; section: \"primary\" | \"workspace\" | \"footer\" }>();\ndefineEmits<{ action: [action: WorkspaceSwitcherAction] }>();\n</script>\n\n<template>\n <Dropdown.Group>\n <Dropdown.Separator v-if=\"section === 'footer'\" />\n <Dropdown.Item v-for=\"action in items\" :key=\"action.value\" :value=\"`workspace-action:${section}:${action.value}`\"\n :value-text=\"action.label\" :icon=\"action.icon\" :disabled=\"action.disabled\" :variant=\"action.variant\"\n :data-accent=\"action.accent || undefined\" class=\"kappa-workspace-switcher__action\"\n @select=\"$emit('action', action)\">{{ action.label }}</Dropdown.Item>\n </Dropdown.Group>\n</template>\n","import type { Component, VNodeChild } from \"vue\";\nimport type { DropdownDirection, DropdownEmits, DropdownItemVariant, DropdownPositioningOptions } from \"../../components/dropdown\";\n\nexport interface WorkspaceSwitcherItem {\n value: string;\n name: string;\n /** Plan, member count, or other application-provided details. */\n description?: string;\n icon?: Component;\n avatarSrc?: string;\n initials?: string;\n disabled?: boolean;\n shortcut?: string;\n ariaKeyshortcuts?: string;\n}\n\nexport interface WorkspaceSwitcherAction {\n value: string;\n label: string;\n icon?: Component;\n disabled?: boolean;\n variant?: DropdownItemVariant;\n accent?: boolean;\n}\n\nexport const WORKSPACE_SWITCHER_DEFAULT_POSITIONING = {\n placement: \"bottom-start\", strategy: \"fixed\", gutter: 6, fitViewport: true, overflowPadding: 8,\n} as const satisfies DropdownPositioningOptions;\n\nexport interface WorkspaceSwitcherProps {\n items: readonly WorkspaceSwitcherItem[];\n /** Controlled workspace selection. */\n modelValue: string;\n label?: string;\n placeholder?: string;\n triggerLabel?: string;\n accountLabel?: string;\n /** Actions below the current workspace details. */\n actions?: readonly WorkspaceSwitcherAction[];\n /** Actions below the workspace list, such as creation or browsing. */\n workspaceActions?: readonly WorkspaceSwitcherAction[];\n footerActions?: readonly WorkspaceSwitcherAction[];\n disabled?: boolean;\n open?: boolean;\n defaultOpen?: boolean;\n dir?: DropdownDirection;\n positioning?: DropdownPositioningOptions;\n /** Disable inside a mobile drawer to keep its menu in the dialog. */\n teleport?: boolean;\n}\n\nexport type WorkspaceSwitcherEmits = {\n \"update:modelValue\": [value: string];\n \"update:open\": [value: boolean];\n openChange: [details: DropdownEmits[\"openChange\"][0]];\n action: [action: WorkspaceSwitcherAction];\n};\n\nexport interface WorkspaceSwitcherSlots {\n /** One button or link. Bind disabled when supplying a custom trigger. */\n trigger?: (context: { workspace: WorkspaceSwitcherItem | undefined; disabled: boolean }) => VNodeChild;\n}\n","<script setup lang=\"ts\">\nimport { computed, nextTick, ref } from \"vue\";\nimport { Button } from \"../../components/button\";\nimport { Dropdown } from \"../../components/dropdown\";\nimport WorkspaceSwitcherBadge from \"./WorkspaceSwitcherBadge.vue\";\nimport WorkspaceSwitcherActions from \"./WorkspaceSwitcherActions.vue\";\nimport { WORKSPACE_SWITCHER_DEFAULT_POSITIONING, type WorkspaceSwitcherEmits, type WorkspaceSwitcherProps, type WorkspaceSwitcherSlots } from \"./workspace-switcher\";\n\ndefineOptions({ inheritAttrs: false });\nconst props = withDefaults(defineProps<WorkspaceSwitcherProps>(), {\n label: \"Workspaces\", placeholder: \"Select workspace\", disabled: false,\n open: undefined, defaultOpen: false, dir: undefined, teleport: true,\n positioning: () => ({ ...WORKSPACE_SWITCHER_DEFAULT_POSITIONING }),\n actions: () => [], workspaceActions: () => [], footerActions: () => [],\n});\nconst emit = defineEmits<WorkspaceSwitcherEmits>();\ndefineSlots<WorkspaceSwitcherSlots>();\nconst scrollBody = ref<HTMLElement>();\nconst current = computed(() => props.items.find(item => item.value === props.modelValue));\nconst workspacePrefix = \"workspace:\";\nconst menuValue = computed(() => workspacePrefix + props.modelValue);\nconst positioning = computed(() => ({ ...WORKSPACE_SWITCHER_DEFAULT_POSITIONING, ...props.positioning }));\nconst triggerLabel = computed(() => props.triggerLabel ?? (current.value ? `${props.label}: ${current.value.name}` : props.placeholder));\nasync function scrollHighlighted(details: { highlightedValue: string | null }) {\n await nextTick();\n const body = scrollBody.value;\n if (!body || details.highlightedValue === null) return;\n const item = Array.from(body.querySelectorAll<HTMLElement>('[data-part=\"item\"]'))\n .find(item => item.dataset.value === details.highlightedValue && item.hasAttribute(\"data-highlighted\"));\n if (!item) return;\n const bounds = body.getBoundingClientRect();\n const row = item.getBoundingClientRect();\n if (row.top < bounds.top || row.bottom > bounds.bottom) item.scrollIntoView({ block: \"nearest\", inline: \"nearest\" });\n}\n</script>\n\n<template>\n <Dropdown.Root :open=\"props.open\" :default-open=\"props.defaultOpen\" :dir=\"props.dir\" :positioning=\"positioning\"\n :lazy-mount=\"!props.teleport\" :unmount-on-exit=\"!props.teleport\"\n :aria-label=\"props.label\" @update:open=\"emit('update:open', $event)\" @open-change=\"emit('openChange', $event)\"\n @highlight-change=\"scrollHighlighted\">\n <Dropdown.Trigger as-child>\n <slot name=\"trigger\" :workspace=\"current\" :disabled=\"props.disabled\">\n <Button variant=\"ghost\" :disabled=\"props.disabled\" :aria-label=\"triggerLabel\" class=\"kappa-workspace-switcher__trigger\">\n <WorkspaceSwitcherBadge v-if=\"current\" :item=\"current\" />\n <span class=\"kappa-workspace-switcher__trigger-name\">{{ current?.name ?? props.placeholder }}</span>\n <svg class=\"kappa-workspace-switcher__chevron\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\"><path d=\"m5 6 3-3 3 3M5 10l3 3 3-3\" /></svg>\n </Button>\n </slot>\n </Dropdown.Trigger>\n <Dropdown.Context v-slot=\"menu\">\n <Dropdown.Content v-bind=\"$attrs\" :teleport=\"props.teleport\" :inert=\"!menu.open || undefined\"\n class=\"kappa-workspace-switcher\" data-workspace-switcher>\n <div ref=\"scrollBody\" class=\"kappa-workspace-switcher__body\">\n <div v-if=\"current\" class=\"kappa-workspace-switcher__current\" data-slot=\"workspace-switcher-current\">\n <WorkspaceSwitcherBadge :item=\"current\" large />\n <div class=\"kappa-workspace-switcher__identity\"><strong>{{ current.name }}</strong><span v-if=\"current.description\">{{ current.description }}</span></div>\n </div>\n <template v-if=\"props.actions.length\">\n <Dropdown.Separator />\n <WorkspaceSwitcherActions :items=\"props.actions\" section=\"primary\" @action=\"emit('action', $event)\" />\n </template>\n <Dropdown.Separator v-if=\"current || props.actions.length\" />\n <Dropdown.RadioGroup :model-value=\"menuValue\" @update:model-value=\"emit('update:modelValue', $event.slice(workspacePrefix.length))\">\n <Dropdown.Label class=\"kappa-workspace-switcher__label\">{{ props.accountLabel ?? props.label }}</Dropdown.Label>\n <Dropdown.RadioItem v-for=\"item in props.items\" :key=\"item.value\" :value=\"workspacePrefix + item.value\" :value-text=\"item.name\"\n :aria-label=\"item.name\" :aria-keyshortcuts=\"item.ariaKeyshortcuts\" :disabled=\"item.disabled\" close-on-select\n class=\"kappa-workspace-switcher__option\">\n <template #indicator><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\"><path d=\"m3 8.25 3 3 7-7\" /></svg></template>\n <WorkspaceSwitcherBadge :item=\"item\" />\n <span class=\"kappa-workspace-switcher__name\">{{ item.name }}</span>\n <Dropdown.Shortcut v-if=\"item.shortcut\" aria-hidden=\"true\">{{ item.shortcut }}</Dropdown.Shortcut>\n </Dropdown.RadioItem>\n </Dropdown.RadioGroup>\n <WorkspaceSwitcherActions v-if=\"props.workspaceActions.length\" :items=\"props.workspaceActions\" section=\"workspace\" @action=\"emit('action', $event)\" />\n </div>\n <WorkspaceSwitcherActions v-if=\"props.footerActions.length\" :items=\"props.footerActions\" section=\"footer\"\n class=\"kappa-workspace-switcher__footer\" @action=\"emit('action', $event)\" />\n </Dropdown.Content>\n </Dropdown.Context>\n </Dropdown.Root>\n</template>\n\n<style src=\"./workspace-switcher.css\"></style>\n","<script setup lang=\"ts\">\nimport { computed, nextTick, ref } from \"vue\";\nimport { Button } from \"../../components/button\";\nimport { Dropdown } from \"../../components/dropdown\";\nimport WorkspaceSwitcherBadge from \"./WorkspaceSwitcherBadge.vue\";\nimport WorkspaceSwitcherActions from \"./WorkspaceSwitcherActions.vue\";\nimport { WORKSPACE_SWITCHER_DEFAULT_POSITIONING, type WorkspaceSwitcherEmits, type WorkspaceSwitcherProps, type WorkspaceSwitcherSlots } from \"./workspace-switcher\";\n\ndefineOptions({ inheritAttrs: false });\nconst props = withDefaults(defineProps<WorkspaceSwitcherProps>(), {\n label: \"Workspaces\", placeholder: \"Select workspace\", disabled: false,\n open: undefined, defaultOpen: false, dir: undefined, teleport: true,\n positioning: () => ({ ...WORKSPACE_SWITCHER_DEFAULT_POSITIONING }),\n actions: () => [], workspaceActions: () => [], footerActions: () => [],\n});\nconst emit = defineEmits<WorkspaceSwitcherEmits>();\ndefineSlots<WorkspaceSwitcherSlots>();\nconst scrollBody = ref<HTMLElement>();\nconst current = computed(() => props.items.find(item => item.value === props.modelValue));\nconst workspacePrefix = \"workspace:\";\nconst menuValue = computed(() => workspacePrefix + props.modelValue);\nconst positioning = computed(() => ({ ...WORKSPACE_SWITCHER_DEFAULT_POSITIONING, ...props.positioning }));\nconst triggerLabel = computed(() => props.triggerLabel ?? (current.value ? `${props.label}: ${current.value.name}` : props.placeholder));\nasync function scrollHighlighted(details: { highlightedValue: string | null }) {\n await nextTick();\n const body = scrollBody.value;\n if (!body || details.highlightedValue === null) return;\n const item = Array.from(body.querySelectorAll<HTMLElement>('[data-part=\"item\"]'))\n .find(item => item.dataset.value === details.highlightedValue && item.hasAttribute(\"data-highlighted\"));\n if (!item) return;\n const bounds = body.getBoundingClientRect();\n const row = item.getBoundingClientRect();\n if (row.top < bounds.top || row.bottom > bounds.bottom) item.scrollIntoView({ block: \"nearest\", inline: \"nearest\" });\n}\n</script>\n\n<template>\n <Dropdown.Root :open=\"props.open\" :default-open=\"props.defaultOpen\" :dir=\"props.dir\" :positioning=\"positioning\"\n :lazy-mount=\"!props.teleport\" :unmount-on-exit=\"!props.teleport\"\n :aria-label=\"props.label\" @update:open=\"emit('update:open', $event)\" @open-change=\"emit('openChange', $event)\"\n @highlight-change=\"scrollHighlighted\">\n <Dropdown.Trigger as-child>\n <slot name=\"trigger\" :workspace=\"current\" :disabled=\"props.disabled\">\n <Button variant=\"ghost\" :disabled=\"props.disabled\" :aria-label=\"triggerLabel\" class=\"kappa-workspace-switcher__trigger\">\n <WorkspaceSwitcherBadge v-if=\"current\" :item=\"current\" />\n <span class=\"kappa-workspace-switcher__trigger-name\">{{ current?.name ?? props.placeholder }}</span>\n <svg class=\"kappa-workspace-switcher__chevron\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\"><path d=\"m5 6 3-3 3 3M5 10l3 3 3-3\" /></svg>\n </Button>\n </slot>\n </Dropdown.Trigger>\n <Dropdown.Context v-slot=\"menu\">\n <Dropdown.Content v-bind=\"$attrs\" :teleport=\"props.teleport\" :inert=\"!menu.open || undefined\"\n class=\"kappa-workspace-switcher\" data-workspace-switcher>\n <div ref=\"scrollBody\" class=\"kappa-workspace-switcher__body\">\n <div v-if=\"current\" class=\"kappa-workspace-switcher__current\" data-slot=\"workspace-switcher-current\">\n <WorkspaceSwitcherBadge :item=\"current\" large />\n <div class=\"kappa-workspace-switcher__identity\"><strong>{{ current.name }}</strong><span v-if=\"current.description\">{{ current.description }}</span></div>\n </div>\n <template v-if=\"props.actions.length\">\n <Dropdown.Separator />\n <WorkspaceSwitcherActions :items=\"props.actions\" section=\"primary\" @action=\"emit('action', $event)\" />\n </template>\n <Dropdown.Separator v-if=\"current || props.actions.length\" />\n <Dropdown.RadioGroup :model-value=\"menuValue\" @update:model-value=\"emit('update:modelValue', $event.slice(workspacePrefix.length))\">\n <Dropdown.Label class=\"kappa-workspace-switcher__label\">{{ props.accountLabel ?? props.label }}</Dropdown.Label>\n <Dropdown.RadioItem v-for=\"item in props.items\" :key=\"item.value\" :value=\"workspacePrefix + item.value\" :value-text=\"item.name\"\n :aria-label=\"item.name\" :aria-keyshortcuts=\"item.ariaKeyshortcuts\" :disabled=\"item.disabled\" close-on-select\n class=\"kappa-workspace-switcher__option\">\n <template #indicator><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\"><path d=\"m3 8.25 3 3 7-7\" /></svg></template>\n <WorkspaceSwitcherBadge :item=\"item\" />\n <span class=\"kappa-workspace-switcher__name\">{{ item.name }}</span>\n <Dropdown.Shortcut v-if=\"item.shortcut\" aria-hidden=\"true\">{{ item.shortcut }}</Dropdown.Shortcut>\n </Dropdown.RadioItem>\n </Dropdown.RadioGroup>\n <WorkspaceSwitcherActions v-if=\"props.workspaceActions.length\" :items=\"props.workspaceActions\" section=\"workspace\" @action=\"emit('action', $event)\" />\n </div>\n <WorkspaceSwitcherActions v-if=\"props.footerActions.length\" :items=\"props.footerActions\" section=\"footer\"\n class=\"kappa-workspace-switcher__footer\" @action=\"emit('action', $event)\" />\n </Dropdown.Content>\n </Dropdown.Context>\n </Dropdown.Root>\n</template>\n\n<style src=\"./workspace-switcher.css\"></style>\n"],"mappings":";;;;;;;;;;;;oBAOE,EAAA,GAAA,EAOO,QAAA;GAPD,OAAM;GAAmC,cAAY,EAAA,SAAS,KAAA;GAAW,eAAY;EACtE,GAAA,CAAA,EAAA,KAAK,aAAxB,EAAA,GAAA,EAGc,EAAA,CAAA,CAAA,CAAA,MAAA;;GAHqB,OAAM;;GACvC,SAAA,QAA6C,CAA7C,EAA6C,EAAA,CAAA,CAAA,CAAA,OAAA;IAA9B,KAAK,EAAA,KAAK;IAAW,KAAI;GACxC,GAAA,MAAA,GAAA,CAAA,K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