@knime/kds-components 6.6.0 → 6.6.1

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @knime/kds-components
2
2
 
3
+ ## 6.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0c81fa7: `KdsSplitPanel`: fix the splitter border and touch zone being applied to nested panels' splitters. The direction-specific styles now target only the panel's own splitter, so nested panels get their correct touch zone.
8
+ - Updated dependencies [02c9f3c]
9
+ - Updated dependencies [aba9f9c]
10
+ - @knime/kds-styles@6.6.1
11
+
3
12
  ## 6.6.0
4
13
 
5
14
  ### Minor Changes
@@ -392,6 +392,7 @@ function useIcon({ name, folder }) {
392
392
  "../../../../node_modules/@knime/kds-styles/dist/img/icons/pan-mode.svg": () => import("./pan-mode-BnU7u9yT.js"),
393
393
  "../../../../node_modules/@knime/kds-styles/dist/img/icons/parameter.svg": () => import("./parameter-DrbeyzYv.js"),
394
394
  "../../../../node_modules/@knime/kds-styles/dist/img/icons/path-separator.svg": () => import("./path-separator-6okwyOJ6.js"),
395
+ "../../../../node_modules/@knime/kds-styles/dist/img/icons/pause-execution.svg": () => import("./pause-execution-7lwlWtVK.js"),
395
396
  "../../../../node_modules/@knime/kds-styles/dist/img/icons/pending-changes.svg": () => import("./pending-changes-cXTpfgBQ.js"),
396
397
  "../../../../node_modules/@knime/kds-styles/dist/img/icons/pin.svg": () => import("./pin-ClOQOUqm.js"),
397
398
  "../../../../node_modules/@knime/kds-styles/dist/img/icons/placeholder.svg": () => import("./placeholder-CmJL63HK.js"),
@@ -596,4 +597,4 @@ var KdsIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
596
597
  //#endregion
597
598
  export { useKdsIsTruncated as a, elementOverflowsHorizontally as i, useIcon as n, vKdsTooltip as r, KdsIcon_default as t };
598
599
 
599
- //# sourceMappingURL=KdsIcon-BEh81Opy.js.map
600
+ //# sourceMappingURL=KdsIcon-C8DqnncR.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"KdsIcon-BEh81Opy.js","names":[],"sources":["../src/util/useKdsIsTruncated.ts","../src/layouts/overlays/Tooltip/vKdsTooltip.ts","../src/components/accessories/Icon/useIcon.ts","../src/components/accessories/Icon/KdsIcon.vue","../src/components/accessories/Icon/KdsIcon.vue"],"sourcesContent":["import { type Ref, ref } from \"vue\";\nimport { useMutationObserver, useResizeObserver } from \"@vueuse/core\";\n\nexport function elementOverflowsHorizontally(\n element: HTMLElement | null,\n): boolean {\n if (!element) {\n return false;\n }\n return element.scrollWidth > element.clientWidth;\n}\n\nexport function elementOverflowsVertically(\n element: HTMLElement | null,\n): boolean {\n if (!element) {\n return false;\n }\n return element.scrollHeight > element.clientHeight;\n}\n\n/**\n * Tracks whether the content of an element is visually truncated.\n *\n * Detects both horizontal truncation (e.g. `text-overflow: ellipsis`)\n * and vertical truncation (e.g. `-webkit-line-clamp`).\n *\n * This can be used to set tooltips or other UI affordances when text is cut off.\n * Changing the size of the provided element based on this composable may result in an infinite loop!\n *\n * @param elementRef - A ref pointing to the element that might be truncated.\n * @returns An object containing a reactive `isTruncated` ref.\n */\nexport function useKdsIsTruncated(elementRef: Ref<HTMLElement | null>) {\n const isTruncated = ref(false);\n\n const checkTruncation = () => {\n isTruncated.value =\n elementOverflowsHorizontally(elementRef.value) ||\n elementOverflowsVertically(elementRef.value);\n };\n\n useResizeObserver(elementRef, checkTruncation);\n\n // Observe changes to the element's subtree, including text-node updates,\n // so content changes without size changes still re-check truncation.\n useMutationObserver(elementRef, checkTruncation, {\n childList: true,\n characterData: true,\n subtree: true,\n // Also observe attribute changes (especially class/style) that can affect\n // truncation without necessarily triggering a resize event.\n attributes: true,\n attributeFilter: [\"class\", \"style\"],\n });\n\n return { isTruncated };\n}\n","import { type Directive, type DirectiveBinding, effectScope } from \"vue\";\nimport { useEventListener } from \"@vueuse/core\";\n\nimport {\n elementOverflowsHorizontally,\n elementOverflowsVertically,\n} from \"../../../util/useKdsIsTruncated\";\nimport \"./vKdsTooltip.css\";\n\ntype TooltipState = {\n popoverEl: HTMLDivElement;\n anchorName: string;\n showTimer: ReturnType<typeof setTimeout> | null;\n hideTimer: ReturnType<typeof setTimeout> | null;\n dismissed: boolean;\n visible: boolean;\n attached: boolean;\n scope: ReturnType<typeof effectScope>;\n};\n\nconst SHOW_DELAY = 450;\nconst HIDE_DELAY = 150;\n\nconst stateMap = new WeakMap<HTMLElement, TooltipState>();\n\nlet visibleCount = 0;\nlet currentVisible: TooltipState | null = null;\n\nexport function generateTooltipDiv(text: string): HTMLDivElement {\n const div = document.createElement(\"div\");\n div.classList.add(\"kds-tooltip\");\n div.textContent = text;\n return div;\n}\n\nfunction getText(binding: DirectiveBinding): string | null {\n const value = binding.value;\n if (value === null || value === undefined || value === \"\") {\n return null;\n }\n return String(value);\n}\n\nfunction isTruncatedMod(binding: DirectiveBinding): boolean {\n return binding.arg === \"truncated\";\n}\n\nfunction elementIsTruncated(el: HTMLElement | null): boolean {\n return elementOverflowsHorizontally(el) || elementOverflowsVertically(el);\n}\n\nfunction appendAnchorName(el: HTMLElement, anchorName: string) {\n const existing = el.style.getPropertyValue(\"anchor-name\");\n const names = existing\n ? existing\n .split(\",\")\n .map((n) => n.trim())\n .filter(Boolean)\n : [];\n if (!names.includes(anchorName)) {\n names.push(anchorName);\n }\n el.style.setProperty(\"anchor-name\", names.join(\", \"));\n}\n\nfunction removeAnchorName(el: HTMLElement, anchorName: string) {\n const existing = el.style.getPropertyValue(\"anchor-name\");\n const names = existing\n ? existing\n .split(\",\")\n .map((n) => n.trim())\n .filter((n) => n !== anchorName)\n : [];\n if (names.length > 0) {\n el.style.setProperty(\"anchor-name\", names.join(\", \"));\n } else {\n el.style.removeProperty(\"anchor-name\");\n }\n}\n\nfunction createPopover(\n triggerEl: HTMLElement,\n binding: DirectiveBinding,\n): { popover: HTMLDivElement; anchorName: string } {\n const popover = generateTooltipDiv(getText(binding) ?? \"\");\n popover.setAttribute(\"popover\", \"manual\");\n popover.setAttribute(\"role\", \"tooltip\");\n popover.setAttribute(\"aria-hidden\", \"true\");\n\n const id = `kds-tooltip-${crypto.randomUUID()}`;\n popover.id = id;\n\n if (!isTruncatedMod(binding)) {\n triggerEl.setAttribute(\"aria-describedby\", id);\n }\n\n const anchorName = `--kds-tooltip-anchor-${id}`;\n appendAnchorName(triggerEl, anchorName);\n\n popover.style.setProperty(\"position-anchor\", anchorName);\n\n return { popover, anchorName };\n}\n\nfunction attachPopover(triggerEl: Element, state: TooltipState) {\n if (state.attached) {\n return;\n }\n\n state.attached = true;\n // Appended to `document.body` (or shadow dom root node) to ensure element is decoupled from the Vue render\n // tree for the component using this directive. Otherwise, if inserted inside the render tree this can cause errors during\n // VDOM mutations (e.g v-if) because this element would have been inserted outside of Vue's internal updates\n const root = triggerEl.getRootNode();\n const appendBase = root === document ? document.body : root;\n appendBase.appendChild(state.popoverEl);\n}\n\nfunction detachPopover(state: TooltipState) {\n if (!state.attached) {\n return;\n }\n state.attached = false;\n state.popoverEl.remove();\n}\n\nfunction cancelTimers(state: TooltipState) {\n if (state.showTimer !== null) {\n clearTimeout(state.showTimer);\n state.showTimer = null;\n }\n if (state.hideTimer !== null) {\n clearTimeout(state.hideTimer);\n state.hideTimer = null;\n }\n}\n\nfunction hidePopover(state: TooltipState) {\n if (!state.visible) {\n return;\n }\n state.visible = false;\n visibleCount--;\n if (currentVisible === state) {\n currentVisible = null;\n }\n try {\n state.popoverEl.hidePopover();\n } catch {\n // ignore if already hidden or not connected\n }\n detachPopover(state);\n}\n\nfunction showPopover(triggerEl: HTMLElement, state: TooltipState) {\n if (state.visible) {\n return;\n }\n if (currentVisible && currentVisible !== state) {\n cancelTimers(currentVisible);\n hidePopover(currentVisible);\n }\n appendAnchorName(triggerEl, state.anchorName);\n attachPopover(triggerEl, state);\n try {\n state.popoverEl.showPopover();\n } catch {\n // ignore if already showing or not connected\n }\n state.visible = true;\n visibleCount++;\n currentVisible = state;\n}\n\nfunction scheduleShow(\n triggerEl: HTMLElement,\n state: TooltipState,\n delay: number,\n) {\n cancelTimers(state);\n if (state.dismissed) {\n return;\n }\n state.showTimer = setTimeout(() => {\n state.showTimer = null;\n showPopover(triggerEl, state);\n }, delay);\n}\n\nfunction scheduleHide(state: TooltipState) {\n cancelTimers(state);\n state.hideTimer = setTimeout(() => {\n state.hideTimer = null;\n hidePopover(state);\n }, HIDE_DELAY);\n}\n\nfunction mount(triggerEl: HTMLElement, binding: DirectiveBinding) {\n if (getText(binding) === null) {\n return;\n }\n\n const { popover: popoverEl, anchorName } = createPopover(triggerEl, binding);\n\n const state: TooltipState = {\n popoverEl,\n anchorName,\n showTimer: null,\n hideTimer: null,\n dismissed: false,\n visible: false,\n attached: false,\n scope: effectScope(),\n };\n\n stateMap.set(triggerEl, state);\n\n const onMouseEnter = () => {\n state.dismissed = false;\n if (isTruncatedMod(binding) && !elementIsTruncated(triggerEl)) {\n return;\n }\n const delay = visibleCount > 0 ? 0 : SHOW_DELAY;\n scheduleShow(triggerEl, state, delay);\n };\n\n const onMouseLeave = () => {\n scheduleHide(state);\n };\n\n const onFocusIn = () => {\n state.dismissed = false;\n if (isTruncatedMod(binding) && !elementIsTruncated(triggerEl)) {\n return;\n }\n if (triggerEl.matches(\":focus-visible\")) {\n scheduleShow(triggerEl, state, 0);\n }\n };\n\n const onFocusOut = () => {\n cancelTimers(state);\n hidePopover(state);\n };\n\n const onDocumentKeyDown = (e: KeyboardEvent) => {\n if (e.key === \"Escape\" && state.visible) {\n cancelTimers(state);\n hidePopover(state);\n state.dismissed = true;\n }\n };\n\n const onPopoverMouseEnter = () => {\n cancelTimers(state);\n };\n\n const onPopoverMouseLeave = () => {\n scheduleHide(state);\n };\n\n const onScroll = () => {\n cancelTimers(state);\n if (state.visible) {\n hidePopover(state);\n }\n };\n\n state.scope.run(() => {\n useEventListener(triggerEl, \"mouseenter\", onMouseEnter);\n useEventListener(triggerEl, \"mouseleave\", onMouseLeave);\n useEventListener(triggerEl, \"focusin\", onFocusIn);\n useEventListener(triggerEl, \"focusout\", onFocusOut);\n useEventListener(document, \"keydown\", onDocumentKeyDown, true);\n useEventListener(document, \"scroll\", onScroll, true);\n\n useEventListener(popoverEl, \"mouseenter\", onPopoverMouseEnter);\n useEventListener(popoverEl, \"mouseleave\", onPopoverMouseLeave);\n });\n}\n\nfunction unmount(triggerEl: HTMLElement, binding?: DirectiveBinding) {\n const state = stateMap.get(triggerEl);\n if (state) {\n state.scope.stop();\n cancelTimers(state);\n hidePopover(state);\n removeAnchorName(triggerEl, state.anchorName);\n stateMap.delete(triggerEl);\n }\n\n if (!binding || !isTruncatedMod(binding)) {\n triggerEl.removeAttribute(\"aria-describedby\");\n }\n}\n\nexport const vKdsTooltip: Directive<HTMLElement> = {\n mounted(el: HTMLElement, binding: DirectiveBinding) {\n mount(el, binding);\n },\n\n updated(el: HTMLElement, binding: DirectiveBinding) {\n const state = stateMap.get(el);\n const newText = getText(binding);\n\n if (newText === null) {\n if (state) {\n unmount(el, binding);\n }\n return;\n }\n\n if (!state) {\n mount(el, binding);\n return;\n }\n\n state.popoverEl.textContent = newText;\n },\n\n unmounted(el: HTMLElement, binding: DirectiveBinding) {\n unmount(el, binding);\n },\n};\n\n/** @internal Reset module-level state for tests */\nexport function _resetVisibleCount() {\n visibleCount = 0;\n currentVisible = null;\n}\n","import {\n type DefineComponent,\n type Ref,\n type ShallowRef,\n markRaw,\n readonly,\n shallowRef,\n watch,\n} from \"vue\";\n\nimport type { KdsIconStatus } from \"./types\";\n\n// Module-scoped caches shared across all `KdsIcon` instances.\nconst iconCache = new Map<string, DefineComponent>();\nconst iconLoadPromises = new Map<string, Promise<DefineComponent>>();\n\n/**\n * Test-only helper to reset the module-scoped icon caches between tests.\n * Not part of the public API.\n */\nexport function __resetIconCacheForTesting() {\n iconCache.clear();\n iconLoadPromises.clear();\n}\n\nfunction useIcon({\n name,\n folder,\n}: {\n name: Ref<string>;\n folder: \"icons\" | \"type-icons\";\n}): {\n iconComponent: Readonly<ShallowRef<DefineComponent | null>>;\n status: Readonly<ShallowRef<KdsIconStatus>>;\n} {\n const iconComponent = shallowRef<DefineComponent | null>(null);\n const status = shallowRef<KdsIconStatus>(\"loading\");\n\n watch(\n () => name.value,\n (newName) => {\n const cacheKey = `${folder}/${newName}`;\n\n if (iconCache.has(cacheKey)) {\n iconComponent.value = iconCache.get(cacheKey)!;\n status.value = \"loaded\";\n return;\n }\n\n status.value = \"loading\";\n\n // Deduplicate concurrent imports for the same icon so that rendering\n // many instances of the same icon at once only triggers a single\n // network request.\n let loadPromise = iconLoadPromises.get(cacheKey);\n if (!loadPromise) {\n // Do *not* change this code to use try/catch blocks:\n // try/catch relies on the async frame being intact when the rejection resumes.\n // Which might be gone due to vue teardown.\n // `.catch()` registers a reaction on the Promise's internal [[PromiseRejectReactions]]\n // slot directly, so it doesn't depend on a live call frame.\n loadPromise = import(\n `../../../../node_modules/@knime/kds-styles/dist/img/${folder}/${newName}.svg`\n )\n .then((module) => {\n const component = markRaw(module.default);\n iconCache.set(cacheKey, component);\n iconLoadPromises.delete(cacheKey);\n return component;\n })\n .catch((error) => {\n iconLoadPromises.delete(cacheKey);\n throw error;\n });\n iconLoadPromises.set(cacheKey, loadPromise);\n }\n\n loadPromise\n .then((component) => {\n // ignore stale resolutions if the name has changed in the meantime\n if (name.value !== newName) {\n return;\n }\n iconComponent.value = component;\n status.value = \"loaded\";\n })\n .catch((error) => {\n // do not log an abort, might happen due to teardown\n if (error.name === \"AbortError\") {\n return;\n }\n\n // ignore stale rejections if the name has changed in the meantime,\n // so we don't spam the console with errors for icons that are no\n // longer requested\n if (name.value !== newName) {\n return;\n }\n\n // eslint-disable-next-line no-console\n console.error(\n `Failed to load icon \"${newName}\" from folder \"${folder}\":`,\n error,\n );\n\n iconComponent.value = null;\n status.value = \"error\";\n });\n },\n { immediate: true },\n );\n\n return {\n iconComponent: readonly(iconComponent) as Readonly<\n ShallowRef<DefineComponent | null>\n >,\n status: readonly(status) as Readonly<ShallowRef<KdsIconStatus>>,\n };\n}\n\nexport default useIcon;\n","<script setup lang=\"ts\">\nimport { toRef } from \"vue\";\n\nimport type { KdsIconProps } from \"./types\";\nimport useIcon from \"./useIcon\";\n\n/**\n * Displays an icon from the KDS icon catalog. The icon color inherits the text\n * color of the parent element by default. When the `disabled` prop is set,\n * the color is overridden with the `kds.color.text-and-icon.disabled` token.\n */\nconst {\n size = \"medium\",\n disabled = false,\n ...props\n} = defineProps<KdsIconProps>();\n\nconst { iconComponent, status } = useIcon({\n name: toRef(() => props.name),\n folder: \"icons\",\n});\n\n/**\n * Reactive loading status of the icon module. Whenever `name` changes,\n * `status` becomes `\"loading\"` until it resolves to `\"loaded\"` or `\"error\"`\n * — so it can cycle through these states multiple times over the component's\n * lifetime (cached icons resolve synchronously to `\"loaded\"`). Useful for\n * consumers that need to coordinate rendering timing (e.g. wait for the icon\n * before measuring layout).\n */\ndefineExpose({ status });\n</script>\n\n<template>\n <component\n :is=\"iconComponent\"\n v-if=\"iconComponent\"\n :class=\"['kds-icon', size, { disabled }]\"\n :data-kds-icon-name=\"props.name\"\n aria-hidden=\"true\"\n focusable=\"false\"\n />\n <span\n v-else\n :class=\"['kds-icon', size, { disabled }]\"\n :data-kds-icon-name=\"props.name\"\n aria-hidden=\"true\"\n focusable=\"false\"\n />\n</template>\n\n<style scoped>\n@import url(\"./styles.css\");\n\n.kds-icon.disabled {\n color: var(--kds-color-text-and-icon-disabled);\n}\n</style>\n","<script setup lang=\"ts\">\nimport { toRef } from \"vue\";\n\nimport type { KdsIconProps } from \"./types\";\nimport useIcon from \"./useIcon\";\n\n/**\n * Displays an icon from the KDS icon catalog. The icon color inherits the text\n * color of the parent element by default. When the `disabled` prop is set,\n * the color is overridden with the `kds.color.text-and-icon.disabled` token.\n */\nconst {\n size = \"medium\",\n disabled = false,\n ...props\n} = defineProps<KdsIconProps>();\n\nconst { iconComponent, status } = useIcon({\n name: toRef(() => props.name),\n folder: \"icons\",\n});\n\n/**\n * Reactive loading status of the icon module. Whenever `name` changes,\n * `status` becomes `\"loading\"` until it resolves to `\"loaded\"` or `\"error\"`\n * — so it can cycle through these states multiple times over the component's\n * lifetime (cached icons resolve synchronously to `\"loaded\"`). Useful for\n * consumers that need to coordinate rendering timing (e.g. wait for the icon\n * before measuring layout).\n */\ndefineExpose({ status });\n</script>\n\n<template>\n <component\n :is=\"iconComponent\"\n v-if=\"iconComponent\"\n :class=\"['kds-icon', size, { disabled }]\"\n :data-kds-icon-name=\"props.name\"\n aria-hidden=\"true\"\n focusable=\"false\"\n />\n <span\n v-else\n :class=\"['kds-icon', size, { disabled }]\"\n :data-kds-icon-name=\"props.name\"\n aria-hidden=\"true\"\n focusable=\"false\"\n />\n</template>\n\n<style scoped>\n@import url(\"./styles.css\");\n\n.kds-icon.disabled {\n color: var(--kds-color-text-and-icon-disabled);\n}\n</style>\n"],"mappings":";;;;AAGA,SAAgB,6BACd,SACS;CACT,IAAI,CAAC,SACH,OAAO;CAET,OAAO,QAAQ,cAAc,QAAQ;AACvC;AAEA,SAAgB,2BACd,SACS;CACT,IAAI,CAAC,SACH,OAAO;CAET,OAAO,QAAQ,eAAe,QAAQ;AACxC;;;;;;;;;;;;;AAcA,SAAgB,kBAAkB,YAAqC;CACrE,MAAM,cAAc,IAAI,KAAK;CAE7B,MAAM,wBAAwB;EAC5B,YAAY,QACV,6BAA6B,WAAW,KAAK,KAC7C,2BAA2B,WAAW,KAAK;CAC/C;CAEA,kBAAkB,YAAY,eAAe;CAI7C,oBAAoB,YAAY,iBAAiB;EAC/C,WAAW;EACX,eAAe;EACf,SAAS;EAGT,YAAY;EACZ,iBAAiB,CAAC,SAAS,OAAO;CACpC,CAAC;CAED,OAAO,EAAE,YAAY;AACvB;;;ACrCA,IAAM,aAAa;AACnB,IAAM,aAAa;AAEnB,IAAM,2BAAW,IAAI,QAAmC;AAExD,IAAI,eAAe;AACnB,IAAI,iBAAsC;AAE1C,SAAgB,mBAAmB,MAA8B;CAC/D,MA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U"}
1
+ {"version":3,"file":"KdsIcon-C8DqnncR.js","names":[],"sources":["../src/util/useKdsIsTruncated.ts","../src/layouts/overlays/Tooltip/vKdsTooltip.ts","../src/components/accessories/Icon/useIcon.ts","../src/components/accessories/Icon/KdsIcon.vue","../src/components/accessories/Icon/KdsIcon.vue"],"sourcesContent":["import { type Ref, ref } from \"vue\";\nimport { useMutationObserver, useResizeObserver } from \"@vueuse/core\";\n\nexport function elementOverflowsHorizontally(\n element: HTMLElement | null,\n): boolean {\n if (!element) {\n return false;\n }\n return element.scrollWidth > element.clientWidth;\n}\n\nexport function elementOverflowsVertically(\n element: HTMLElement | null,\n): boolean {\n if (!element) {\n return false;\n }\n return element.scrollHeight > element.clientHeight;\n}\n\n/**\n * Tracks whether the content of an element is visually truncated.\n *\n * Detects both horizontal truncation (e.g. `text-overflow: ellipsis`)\n * and vertical truncation (e.g. `-webkit-line-clamp`).\n *\n * This can be used to set tooltips or other UI affordances when text is cut off.\n * Changing the size of the provided element based on this composable may result in an infinite loop!\n *\n * @param elementRef - A ref pointing to the element that might be truncated.\n * @returns An object containing a reactive `isTruncated` ref.\n */\nexport function useKdsIsTruncated(elementRef: Ref<HTMLElement | null>) {\n const isTruncated = ref(false);\n\n const checkTruncation = () => {\n isTruncated.value =\n elementOverflowsHorizontally(elementRef.value) ||\n elementOverflowsVertically(elementRef.value);\n };\n\n useResizeObserver(elementRef, checkTruncation);\n\n // Observe changes to the element's subtree, including text-node updates,\n // so content changes without size changes still re-check truncation.\n useMutationObserver(elementRef, checkTruncation, {\n childList: true,\n characterData: true,\n subtree: true,\n // Also observe attribute changes (especially class/style) that can affect\n // truncation without necessarily triggering a resize event.\n attributes: true,\n attributeFilter: [\"class\", \"style\"],\n });\n\n return { isTruncated };\n}\n","import { type Directive, type DirectiveBinding, effectScope } from \"vue\";\nimport { useEventListener } from \"@vueuse/core\";\n\nimport {\n elementOverflowsHorizontally,\n elementOverflowsVertically,\n} from \"../../../util/useKdsIsTruncated\";\nimport \"./vKdsTooltip.css\";\n\ntype TooltipState = {\n popoverEl: HTMLDivElement;\n anchorName: string;\n showTimer: ReturnType<typeof setTimeout> | null;\n hideTimer: ReturnType<typeof setTimeout> | null;\n dismissed: boolean;\n visible: boolean;\n attached: boolean;\n scope: ReturnType<typeof effectScope>;\n};\n\nconst SHOW_DELAY = 450;\nconst HIDE_DELAY = 150;\n\nconst stateMap = new WeakMap<HTMLElement, TooltipState>();\n\nlet visibleCount = 0;\nlet currentVisible: TooltipState | null = null;\n\nexport function generateTooltipDiv(text: string): HTMLDivElement {\n const div = document.createElement(\"div\");\n div.classList.add(\"kds-tooltip\");\n div.textContent = text;\n return div;\n}\n\nfunction getText(binding: DirectiveBinding): string | null {\n const value = binding.value;\n if (value === null || value === undefined || value === \"\") {\n return null;\n }\n return String(value);\n}\n\nfunction isTruncatedMod(binding: DirectiveBinding): boolean {\n return binding.arg === \"truncated\";\n}\n\nfunction elementIsTruncated(el: HTMLElement | null): boolean {\n return elementOverflowsHorizontally(el) || elementOverflowsVertically(el);\n}\n\nfunction appendAnchorName(el: HTMLElement, anchorName: string) {\n const existing = el.style.getPropertyValue(\"anchor-name\");\n const names = existing\n ? existing\n .split(\",\")\n .map((n) => n.trim())\n .filter(Boolean)\n : [];\n if (!names.includes(anchorName)) {\n names.push(anchorName);\n }\n el.style.setProperty(\"anchor-name\", names.join(\", \"));\n}\n\nfunction removeAnchorName(el: HTMLElement, anchorName: string) {\n const existing = el.style.getPropertyValue(\"anchor-name\");\n const names = existing\n ? existing\n .split(\",\")\n .map((n) => n.trim())\n .filter((n) => n !== anchorName)\n : [];\n if (names.length > 0) {\n el.style.setProperty(\"anchor-name\", names.join(\", \"));\n } else {\n el.style.removeProperty(\"anchor-name\");\n }\n}\n\nfunction createPopover(\n triggerEl: HTMLElement,\n binding: DirectiveBinding,\n): { popover: HTMLDivElement; anchorName: string } {\n const popover = generateTooltipDiv(getText(binding) ?? \"\");\n popover.setAttribute(\"popover\", \"manual\");\n popover.setAttribute(\"role\", \"tooltip\");\n popover.setAttribute(\"aria-hidden\", \"true\");\n\n const id = `kds-tooltip-${crypto.randomUUID()}`;\n popover.id = id;\n\n if (!isTruncatedMod(binding)) {\n triggerEl.setAttribute(\"aria-describedby\", id);\n }\n\n const anchorName = `--kds-tooltip-anchor-${id}`;\n appendAnchorName(triggerEl, anchorName);\n\n popover.style.setProperty(\"position-anchor\", anchorName);\n\n return { popover, anchorName };\n}\n\nfunction attachPopover(triggerEl: Element, state: TooltipState) {\n if (state.attached) {\n return;\n }\n\n state.attached = true;\n // Appended to `document.body` (or shadow dom root node) to ensure element is decoupled from the Vue render\n // tree for the component using this directive. Otherwise, if inserted inside the render tree this can cause errors during\n // VDOM mutations (e.g v-if) because this element would have been inserted outside of Vue's internal updates\n const root = triggerEl.getRootNode();\n const appendBase = root === document ? document.body : root;\n appendBase.appendChild(state.popoverEl);\n}\n\nfunction detachPopover(state: TooltipState) {\n if (!state.attached) {\n return;\n }\n state.attached = false;\n state.popoverEl.remove();\n}\n\nfunction cancelTimers(state: TooltipState) {\n if (state.showTimer !== null) {\n clearTimeout(state.showTimer);\n state.showTimer = null;\n }\n if (state.hideTimer !== null) {\n clearTimeout(state.hideTimer);\n state.hideTimer = null;\n }\n}\n\nfunction hidePopover(state: TooltipState) {\n if (!state.visible) {\n return;\n }\n state.visible = false;\n visibleCount--;\n if (currentVisible === state) {\n currentVisible = null;\n }\n try {\n state.popoverEl.hidePopover();\n } catch {\n // ignore if already hidden or not connected\n }\n detachPopover(state);\n}\n\nfunction showPopover(triggerEl: HTMLElement, state: TooltipState) {\n if (state.visible) {\n return;\n }\n if (currentVisible && currentVisible !== state) {\n cancelTimers(currentVisible);\n hidePopover(currentVisible);\n }\n appendAnchorName(triggerEl, state.anchorName);\n attachPopover(triggerEl, state);\n try {\n state.popoverEl.showPopover();\n } catch {\n // ignore if already showing or not connected\n }\n state.visible = true;\n visibleCount++;\n currentVisible = state;\n}\n\nfunction scheduleShow(\n triggerEl: HTMLElement,\n state: TooltipState,\n delay: number,\n) {\n cancelTimers(state);\n if (state.dismissed) {\n return;\n }\n state.showTimer = setTimeout(() => {\n state.showTimer = null;\n showPopover(triggerEl, state);\n }, delay);\n}\n\nfunction scheduleHide(state: TooltipState) {\n cancelTimers(state);\n state.hideTimer = setTimeout(() => {\n state.hideTimer = null;\n hidePopover(state);\n }, HIDE_DELAY);\n}\n\nfunction mount(triggerEl: HTMLElement, binding: DirectiveBinding) {\n if (getText(binding) === null) {\n return;\n }\n\n const { popover: popoverEl, anchorName } = createPopover(triggerEl, binding);\n\n const state: TooltipState = {\n popoverEl,\n anchorName,\n showTimer: null,\n hideTimer: null,\n dismissed: false,\n visible: false,\n attached: false,\n scope: effectScope(),\n };\n\n stateMap.set(triggerEl, state);\n\n const onMouseEnter = () => {\n state.dismissed = false;\n if (isTruncatedMod(binding) && !elementIsTruncated(triggerEl)) {\n return;\n }\n const delay = visibleCount > 0 ? 0 : SHOW_DELAY;\n scheduleShow(triggerEl, state, delay);\n };\n\n const onMouseLeave = () => {\n scheduleHide(state);\n };\n\n const onFocusIn = () => {\n state.dismissed = false;\n if (isTruncatedMod(binding) && !elementIsTruncated(triggerEl)) {\n return;\n }\n if (triggerEl.matches(\":focus-visible\")) {\n scheduleShow(triggerEl, state, 0);\n }\n };\n\n const onFocusOut = () => {\n cancelTimers(state);\n hidePopover(state);\n };\n\n const onDocumentKeyDown = (e: KeyboardEvent) => {\n if (e.key === \"Escape\" && state.visible) {\n cancelTimers(state);\n hidePopover(state);\n state.dismissed = true;\n }\n };\n\n const onPopoverMouseEnter = () => {\n cancelTimers(state);\n };\n\n const onPopoverMouseLeave = () => {\n scheduleHide(state);\n };\n\n const onScroll = () => {\n cancelTimers(state);\n if (state.visible) {\n hidePopover(state);\n }\n };\n\n state.scope.run(() => {\n useEventListener(triggerEl, \"mouseenter\", onMouseEnter);\n useEventListener(triggerEl, \"mouseleave\", onMouseLeave);\n useEventListener(triggerEl, \"focusin\", onFocusIn);\n useEventListener(triggerEl, \"focusout\", onFocusOut);\n useEventListener(document, \"keydown\", onDocumentKeyDown, true);\n useEventListener(document, \"scroll\", onScroll, true);\n\n useEventListener(popoverEl, \"mouseenter\", onPopoverMouseEnter);\n useEventListener(popoverEl, \"mouseleave\", onPopoverMouseLeave);\n });\n}\n\nfunction unmount(triggerEl: HTMLElement, binding?: DirectiveBinding) {\n const state = stateMap.get(triggerEl);\n if (state) {\n state.scope.stop();\n cancelTimers(state);\n hidePopover(state);\n removeAnchorName(triggerEl, state.anchorName);\n stateMap.delete(triggerEl);\n }\n\n if (!binding || !isTruncatedMod(binding)) {\n triggerEl.removeAttribute(\"aria-describedby\");\n }\n}\n\nexport const vKdsTooltip: Directive<HTMLElement> = {\n mounted(el: HTMLElement, binding: DirectiveBinding) {\n mount(el, binding);\n },\n\n updated(el: HTMLElement, binding: DirectiveBinding) {\n const state = stateMap.get(el);\n const newText = getText(binding);\n\n if (newText === null) {\n if (state) {\n unmount(el, binding);\n }\n return;\n }\n\n if (!state) {\n mount(el, binding);\n return;\n }\n\n state.popoverEl.textContent = newText;\n },\n\n unmounted(el: HTMLElement, binding: DirectiveBinding) {\n unmount(el, binding);\n },\n};\n\n/** @internal Reset module-level state for tests */\nexport function _resetVisibleCount() {\n visibleCount = 0;\n currentVisible = null;\n}\n","import {\n type DefineComponent,\n type Ref,\n type ShallowRef,\n markRaw,\n readonly,\n shallowRef,\n watch,\n} from \"vue\";\n\nimport type { KdsIconStatus } from \"./types\";\n\n// Module-scoped caches shared across all `KdsIcon` instances.\nconst iconCache = new Map<string, DefineComponent>();\nconst iconLoadPromises = new Map<string, Promise<DefineComponent>>();\n\n/**\n * Test-only helper to reset the module-scoped icon caches between tests.\n * Not part of the public API.\n */\nexport function __resetIconCacheForTesting() {\n iconCache.clear();\n iconLoadPromises.clear();\n}\n\nfunction useIcon({\n name,\n folder,\n}: {\n name: Ref<string>;\n folder: \"icons\" | \"type-icons\";\n}): {\n iconComponent: Readonly<ShallowRef<DefineComponent | null>>;\n status: Readonly<ShallowRef<KdsIconStatus>>;\n} {\n const iconComponent = shallowRef<DefineComponent | null>(null);\n const status = shallowRef<KdsIconStatus>(\"loading\");\n\n watch(\n () => name.value,\n (newName) => {\n const cacheKey = `${folder}/${newName}`;\n\n if (iconCache.has(cacheKey)) {\n iconComponent.value = iconCache.get(cacheKey)!;\n status.value = \"loaded\";\n return;\n }\n\n status.value = \"loading\";\n\n // Deduplicate concurrent imports for the same icon so that rendering\n // many instances of the same icon at once only triggers a single\n // network request.\n let loadPromise = iconLoadPromises.get(cacheKey);\n if (!loadPromise) {\n // Do *not* change this code to use try/catch blocks:\n // try/catch relies on the async frame being intact when the rejection resumes.\n // Which might be gone due to vue teardown.\n // `.catch()` registers a reaction on the Promise's internal [[PromiseRejectReactions]]\n // slot directly, so it doesn't depend on a live call frame.\n loadPromise = import(\n `../../../../node_modules/@knime/kds-styles/dist/img/${folder}/${newName}.svg`\n )\n .then((module) => {\n const component = markRaw(module.default);\n iconCache.set(cacheKey, component);\n iconLoadPromises.delete(cacheKey);\n return component;\n })\n .catch((error) => {\n iconLoadPromises.delete(cacheKey);\n throw error;\n });\n iconLoadPromises.set(cacheKey, loadPromise);\n }\n\n loadPromise\n .then((component) => {\n // ignore stale resolutions if the name has changed in the meantime\n if (name.value !== newName) {\n return;\n }\n iconComponent.value = component;\n status.value = \"loaded\";\n })\n .catch((error) => {\n // do not log an abort, might happen due to teardown\n if (error.name === \"AbortError\") {\n return;\n }\n\n // ignore stale rejections if the name has changed in the meantime,\n // so we don't spam the console with errors for icons that are no\n // longer requested\n if (name.value !== newName) {\n return;\n }\n\n // eslint-disable-next-line no-console\n console.error(\n `Failed to load icon \"${newName}\" from folder \"${folder}\":`,\n error,\n );\n\n iconComponent.value = null;\n status.value = \"error\";\n });\n },\n { immediate: true },\n );\n\n return {\n iconComponent: readonly(iconComponent) as Readonly<\n ShallowRef<DefineComponent | null>\n >,\n status: readonly(status) as Readonly<ShallowRef<KdsIconStatus>>,\n };\n}\n\nexport default useIcon;\n","<script setup lang=\"ts\">\nimport { toRef } from \"vue\";\n\nimport type { KdsIconProps } from \"./types\";\nimport useIcon from \"./useIcon\";\n\n/**\n * Displays an icon from the KDS icon catalog. The icon color inherits the text\n * color of the parent element by default. When the `disabled` prop is set,\n * the color is overridden with the `kds.color.text-and-icon.disabled` token.\n */\nconst {\n size = \"medium\",\n disabled = false,\n ...props\n} = defineProps<KdsIconProps>();\n\nconst { iconComponent, status } = useIcon({\n name: toRef(() => props.name),\n folder: \"icons\",\n});\n\n/**\n * Reactive loading status of the icon module. Whenever `name` changes,\n * `status` becomes `\"loading\"` until it resolves to `\"loaded\"` or `\"error\"`\n * — so it can cycle through these states multiple times over the component's\n * lifetime (cached icons resolve synchronously to `\"loaded\"`). Useful for\n * consumers that need to coordinate rendering timing (e.g. wait for the icon\n * before measuring layout).\n */\ndefineExpose({ status });\n</script>\n\n<template>\n <component\n :is=\"iconComponent\"\n v-if=\"iconComponent\"\n :class=\"['kds-icon', size, { disabled }]\"\n :data-kds-icon-name=\"props.name\"\n aria-hidden=\"true\"\n focusable=\"false\"\n />\n <span\n v-else\n :class=\"['kds-icon', size, { disabled }]\"\n :data-kds-icon-name=\"props.name\"\n aria-hidden=\"true\"\n focusable=\"false\"\n />\n</template>\n\n<style scoped>\n@import url(\"./styles.css\");\n\n.kds-icon.disabled {\n color: var(--kds-color-text-and-icon-disabled);\n}\n</style>\n","<script setup lang=\"ts\">\nimport { toRef } from \"vue\";\n\nimport type { KdsIconProps } from \"./types\";\nimport useIcon from \"./useIcon\";\n\n/**\n * Displays an icon from the KDS icon catalog. The icon color inherits the text\n * color of the parent element by default. When the `disabled` prop is set,\n * the color is overridden with the `kds.color.text-and-icon.disabled` token.\n */\nconst {\n size = \"medium\",\n disabled = false,\n ...props\n} = defineProps<KdsIconProps>();\n\nconst { iconComponent, status } = useIcon({\n name: toRef(() => props.name),\n folder: \"icons\",\n});\n\n/**\n * Reactive loading status of the icon module. Whenever `name` changes,\n * `status` becomes `\"loading\"` until it resolves to `\"loaded\"` or `\"error\"`\n * — so it can cycle through these states multiple times over the component's\n * lifetime (cached icons resolve synchronously to `\"loaded\"`). Useful for\n * consumers that need to coordinate rendering timing (e.g. wait for the icon\n * before measuring layout).\n */\ndefineExpose({ status });\n</script>\n\n<template>\n <component\n :is=\"iconComponent\"\n v-if=\"iconComponent\"\n :class=\"['kds-icon', size, { disabled }]\"\n :data-kds-icon-name=\"props.name\"\n aria-hidden=\"true\"\n focusable=\"false\"\n />\n <span\n v-else\n :class=\"['kds-icon', size, { disabled }]\"\n :data-kds-icon-name=\"props.name\"\n aria-hidden=\"true\"\n focusable=\"false\"\n />\n</template>\n\n<style scoped>\n@import url(\"./styles.css\");\n\n.kds-icon.disabled {\n color: var(--kds-color-text-and-icon-disabled);\n}\n</style>\n"],"mappings":";;;;AAGA,SAAgB,6BACd,SACS;CACT,IAAI,CAAC,SACH,OAAO;CAET,OAAO,QAAQ,cAAc,QAAQ;AACvC;AAEA,SAAgB,2BACd,SACS;CACT,IAAI,CAAC,SACH,OAAO;CAET,OAAO,QAAQ,eAAe,QAAQ;AACxC;;;;;;;;;;;;;AAcA,SAAgB,kBAAkB,YAAqC;CACrE,MAAM,cAAc,IAAI,KAAK;CAE7B,MAAM,wBAAwB;EAC5B,YAAY,QACV,6BAA6B,WAAW,KAAK,KAC7C,2BAA2B,WAAW,KAAK;CAC/C;CAEA,kBAAkB,YAAY,eAAe;CAI7C,oBAAoB,YAAY,iBAAiB;EAC/C,WAAW;EACX,eAAe;EACf,SAAS;EAGT,YAAY;EACZ,iBAAiB,CAAC,SAAS,OAAO;CACpC,CAAC;CAED,OAAO,EAAE,YAAY;AACvB;;;ACrCA,IAAM,aAAa;AACnB,IAAM,aAAa;AAEnB,IAAM,2BAAW,IAAI,QAAmC;AAExD,IAAI,eAAe;AACnB,IAAI,iBAAsC;AAE1C,SAAgB,mBAAmB,MAA8B;CAC/D,MAAM,MAAM,SAAS,cAAc,KAAK;CACxC,IAAI,UAA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 -4753,7 +4753,7 @@ tbody[data-v-cb82d7d8]:has(.empty) {
4753
4753
  }
4754
4754
 
4755
4755
  .base-splitter {
4756
- &[data-v-a81c4315] {
4756
+ &[data-v-bcb0fc7b] {
4757
4757
  --splitter-background-color: var(--kds-color-surface-muted);
4758
4758
 
4759
4759
  display: grid;
@@ -4761,14 +4761,14 @@ tbody[data-v-cb82d7d8]:has(.empty) {
4761
4761
  isolation: isolate;
4762
4762
  }
4763
4763
  & .splitter {
4764
- &[data-v-a81c4315] {
4764
+ &[data-v-bcb0fc7b] {
4765
4765
  position: relative;
4766
4766
  display: flex;
4767
4767
  align-items: center;
4768
4768
  justify-content: center;
4769
4769
  background-color: var(--splitter-background-color);
4770
4770
  }
4771
- &[data-v-a81c4315]::before {
4771
+ &[data-v-bcb0fc7b]::before {
4772
4772
  position: absolute;
4773
4773
  top: 0;
4774
4774
  left: 0;
@@ -4776,83 +4776,83 @@ tbody[data-v-cb82d7d8]:has(.empty) {
4776
4776
  content: "";
4777
4777
  opacity: 0;
4778
4778
  }
4779
- &[data-v-a81c4315]:focus-visible {
4779
+ &[data-v-bcb0fc7b]:focus-visible {
4780
4780
  outline: none;
4781
4781
  }
4782
- &[aria-expanded="false"][data-v-a81c4315]:focus-visible {
4782
+ &[aria-expanded="false"][data-v-bcb0fc7b]:focus-visible {
4783
4783
  outline: var(--kds-border-action-focused);
4784
4784
  outline-offset: var(--kds-spacing-offset-focus);
4785
4785
  border-radius: var(--kds-border-radius-container-0-12x);
4786
4786
  }
4787
- &[aria-expanded="true"][data-v-a81c4315]:focus-visible::before {
4787
+ &[aria-expanded="true"][data-v-bcb0fc7b]:focus-visible::before {
4788
4788
  outline: var(--kds-border-action-focused);
4789
4789
  outline-offset: var(--kds-spacing-offset-focus);
4790
4790
  border-radius: var(--kds-border-radius-container-0-12x);
4791
4791
  opacity: 1;
4792
4792
  }
4793
4793
  }
4794
- & .splitter-pane[data-v-a81c4315] {
4794
+ & .splitter-pane[data-v-bcb0fc7b] {
4795
4795
  overflow-y: auto;
4796
4796
  }
4797
4797
  &.vertical {
4798
- &[data-v-a81c4315] {
4798
+ &[data-v-bcb0fc7b] {
4799
4799
  width: 100%;
4800
4800
  }
4801
- & > .splitter[data-v-a81c4315] {
4802
- width: var(--splitter-thickness, calc(var(--v9bcbe16c) * 1px));
4801
+ & > .splitter[data-v-bcb0fc7b] {
4802
+ width: var(--splitter-thickness, calc(var(--v59690216) * 1px));
4803
4803
  cursor: ew-resize;
4804
4804
  }
4805
4805
  }
4806
4806
  &.horizontal {
4807
- &[data-v-a81c4315] {
4807
+ &[data-v-bcb0fc7b] {
4808
4808
  width: 100%;
4809
4809
  }
4810
- & > .splitter[data-v-a81c4315] {
4811
- height: var(--splitter-thickness, calc(var(--v9bcbe16c) * 1px));
4810
+ & > .splitter[data-v-bcb0fc7b] {
4811
+ height: var(--splitter-thickness, calc(var(--v59690216) * 1px));
4812
4812
  cursor: ns-resize;
4813
4813
  }
4814
4814
  }
4815
- &[data-size-pane="top"] .splitter {
4816
- &[data-v-a81c4315] {
4815
+ &[data-size-pane="top"] > .splitter {
4816
+ &[data-v-bcb0fc7b] {
4817
4817
  border-top: var(--splitter-border, none);
4818
4818
  }
4819
- &[data-v-a81c4315]::before {
4819
+ &[data-v-bcb0fc7b]::before {
4820
4820
  top: var(--splitter-touch-zone, 0);
4821
4821
  bottom: var(--splitter-touch-zone, 0);
4822
4822
  width: 100%;
4823
4823
  }
4824
4824
  }
4825
- &[data-size-pane="bottom"] .splitter {
4826
- &[data-v-a81c4315] {
4825
+ &[data-size-pane="bottom"] > .splitter {
4826
+ &[data-v-bcb0fc7b] {
4827
4827
  border-bottom: var(--splitter-border, none);
4828
4828
  }
4829
- &[data-v-a81c4315]::before {
4829
+ &[data-v-bcb0fc7b]::before {
4830
4830
  top: var(--splitter-touch-zone, 0);
4831
4831
  bottom: var(--splitter-touch-zone, 0);
4832
4832
  width: 100%;
4833
4833
  }
4834
4834
  }
4835
- &[data-size-pane="left"] .splitter {
4836
- &[data-v-a81c4315] {
4835
+ &[data-size-pane="left"] > .splitter {
4836
+ &[data-v-bcb0fc7b] {
4837
4837
  border-left: var(--splitter-border, none);
4838
4838
  }
4839
- &[data-v-a81c4315]::before {
4839
+ &[data-v-bcb0fc7b]::before {
4840
4840
  right: var(--splitter-touch-zone, 0);
4841
4841
  left: var(--splitter-touch-zone, 0);
4842
4842
  height: 100%;
4843
4843
  }
4844
4844
  }
4845
- &[data-size-pane="right"] .splitter {
4846
- &[data-v-a81c4315] {
4845
+ &[data-size-pane="right"] > .splitter {
4846
+ &[data-v-bcb0fc7b] {
4847
4847
  border-right: var(--splitter-border, none);
4848
4848
  }
4849
- &[data-v-a81c4315]::before {
4849
+ &[data-v-bcb0fc7b]::before {
4850
4850
  right: var(--splitter-touch-zone, 0);
4851
4851
  left: var(--splitter-touch-zone, 0);
4852
4852
  height: 100%;
4853
4853
  }
4854
4854
  }
4855
- & .splitter[data-v-a81c4315]:hover {
4855
+ & .splitter[data-v-bcb0fc7b]:hover {
4856
4856
  background: var(
4857
4857
  --splitter-hover-background,
4858
4858
  var(--splitter-background-color)
@@ -4860,7 +4860,7 @@ tbody[data-v-cb82d7d8]:has(.empty) {
4860
4860
  border-color: var(--splitter-hover-border-color, inherit);
4861
4861
  transition: var(--splitter-hover-transition, none);
4862
4862
  }
4863
- & .splitter.active[data-v-a81c4315] {
4863
+ & .splitter.active[data-v-bcb0fc7b] {
4864
4864
  border-color: var(--splitter-active-border-color, inherit);
4865
4865
  transition: none;
4866
4866
  }
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as kdsPopoverRole, c as kdsPopoverTypes, i as kdsPopoverPlacements, l as _plugin_vue_export_helper_default, o as kdsPopoverRoles, r as kdsPopoverPlacement, s as kdsPopoverType, t as KdsPopover_default, u as __exportAll$1 } from "./KdsPopover-DBU9xVEK.js";
2
- import { a as useKdsIsTruncated, i as elementOverflowsHorizontally, n as useIcon, r as vKdsTooltip, t as KdsIcon_default } from "./KdsIcon-BEh81Opy.js";
2
+ import { a as useKdsIsTruncated, i as elementOverflowsHorizontally, n as useIcon, r as vKdsTooltip, t as KdsIcon_default } from "./KdsIcon-C8DqnncR.js";
3
3
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createPropsRestProxy, createSlots, createTextVNode, createVNode, defineAsyncComponent, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onBeforeUpdate, onMounted, onUnmounted, openBlock, provide, readonly, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, toRef, toRefs, unref, useAttrs, useCssVars, useId, useModel, useSlots, useTemplateRef, vModelText, vShow, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
4
4
  import { onClickOutside, useDark, useElementSize, useLocalStorage, useMousePressed, usePreferredDark, useResizeObserver, useTemplateRefsList, useVirtualList } from "@vueuse/core";
5
5
  import './index.css';//#region src/components/accessories/Avatar/enums.ts
@@ -342,6 +342,7 @@ var iconNames = [
342
342
  "pan-mode",
343
343
  "parameter",
344
344
  "path-separator",
345
+ "pause-execution",
345
346
  "pending-changes",
346
347
  "pin",
347
348
  "placeholder",
@@ -3989,17 +3990,17 @@ var color$1 = {
3989
3990
  light: {
3990
3991
  h: 0,
3991
3992
  s: 0,
3992
- l: 15.7,
3993
+ l: 43,
3993
3994
  alpha: 1
3994
3995
  },
3995
3996
  dark: {
3996
3997
  h: 0,
3997
3998
  s: 0,
3998
- l: 94.1,
3999
+ l: 48.2,
3999
4000
  alpha: 1
4000
4001
  },
4001
4002
  css: {
4002
- value: "light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%))",
4003
+ value: "light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 48.2%))",
4003
4004
  variable: "var(--kds-color-connector-data)"
4004
4005
  }
4005
4006
  },
@@ -4020,6 +4021,60 @@ var color$1 = {
4020
4021
  value: "hsl(359.6, 84.3%, 62.5%)",
4021
4022
  variable: "var(--kds-color-connector-flow-variable)"
4022
4023
  }
4024
+ },
4025
+ selected: {
4026
+ light: {
4027
+ h: 209.4,
4028
+ s: 57.3,
4029
+ l: 49.6,
4030
+ alpha: 1
4031
+ },
4032
+ dark: {
4033
+ h: 213.6,
4034
+ s: 91.6,
4035
+ l: 76.7,
4036
+ alpha: 1
4037
+ },
4038
+ css: {
4039
+ value: "light-dark(hsl(209.4, 57.3%, 49.6%), hsl(213.6, 91.6%, 76.7%))",
4040
+ variable: "var(--kds-color-connector-selected)"
4041
+ }
4042
+ },
4043
+ highlighted: {
4044
+ light: {
4045
+ h: 0,
4046
+ s: 0,
4047
+ l: 15.7,
4048
+ alpha: 1
4049
+ },
4050
+ dark: {
4051
+ h: 0,
4052
+ s: 0,
4053
+ l: 94.1,
4054
+ alpha: 1
4055
+ },
4056
+ css: {
4057
+ value: "light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%))",
4058
+ variable: "var(--kds-color-connector-highlighted)"
4059
+ }
4060
+ },
4061
+ insertable: {
4062
+ light: {
4063
+ h: 116.1,
4064
+ s: 46.6,
4065
+ l: 25.7,
4066
+ alpha: 1
4067
+ },
4068
+ dark: {
4069
+ h: 106.5,
4070
+ s: 42.6,
4071
+ l: 54.9,
4072
+ alpha: 1
4073
+ },
4074
+ css: {
4075
+ value: "light-dark(hsl(116.1, 46.6%, 25.7%), hsl(106.5, 42.6%, 54.9%))",
4076
+ variable: "var(--kds-color-connector-insertable)"
4077
+ }
4023
4078
  }
4024
4079
  },
4025
4080
  elevation: {
@@ -34445,7 +34500,7 @@ var _Splitter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
34445
34500
  "splitterClick"
34446
34501
  ],
34447
34502
  setup(__props, { emit: __emit }) {
34448
- useCssVars((_ctx) => ({ "v9bcbe16c": _ctx.splitterSize }));
34503
+ useCssVars((_ctx) => ({ "v59690216": _ctx.splitterSize }));
34449
34504
  const GROW_KEY = {
34450
34505
  left: "ArrowRight",
34451
34506
  right: "ArrowLeft",
@@ -34577,7 +34632,7 @@ var _Splitter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
34577
34632
  ], 14, _hoisted_1$5);
34578
34633
  };
34579
34634
  }
34580
- }), [["__scopeId", "data-v-a81c4315"]]);
34635
+ }), [["__scopeId", "data-v-bcb0fc7b"]]);
34581
34636
  //#endregion
34582
34637
  //#region src/layouts/panels/SplitPanel/enums.ts
34583
34638
  var kdsSplitPanelDirection = {