@plexui/vue 0.42.15 → 0.42.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/Icon/index.js +1 -0
- package/dist/es/components/Icon/index.js.map +1 -1
- package/dist/es/components/Icon/svg/SearchLg.js +10 -0
- package/dist/es/components/Icon/svg/SearchLg.js.map +1 -0
- package/dist/es/components/Slider/Slider.js +109 -7
- package/dist/es/components/Slider/Slider.js.map +1 -1
- package/dist/es/components/Toolbar/Toolbar.js +2 -2
- package/dist/es/components/Toolbar/Toolbar.js.map +1 -1
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Icon/svg/SearchLg.d.ts +3 -0
- package/dist/types/components/Slider/Slider.d.ts +31 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.js","sourceRoot":"","sources":["../../../../src/components/Toolbar/Toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,CAAC,EACD,MAAM,EACN,eAAe,EACf,SAAS,EACT,SAAS,EACT,OAAO,EACP,GAAG,EACH,UAAU,EACV,QAAQ,EACR,KAAK,GAON,MAAM,KAAK,CAAA;AACZ,OAAO,CAAC,MAAM,sDAAsD,CAAA;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AACxE,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,MAAM,MAAM,uBAAuB,CAAA;AAwC1C,2EAA2E;AAC3E,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,UAAyC,EAA6B,EAAE,CACpG,UAAU,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAA;AA8B/E,MAAM,CAAC,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AwH;YACxH,MAAM,YAAY,GAAG,KAAK,CAAC,QAAQ,EAAE,EAAE,IAAI,KAAK,CAAC,QAAQ,CAAA;YACzD,MAAM,IAAI,GAAG,OAAO,CAAC,YAAY,CAAC;gBAChC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,aAAa,EAAE,EAAE,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,iBAAiB,EAAE,EAAE,YAAY,CAAC,CAAC;gBACrH,CAAC,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,CAAA;YACrB,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,KAAK,IAAI,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,cAAc,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,CAAC,CAAA;QACjJ,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA","sourcesContent":["import {\n Comment,\n computed,\n defineComponent,\n Fragment,\n h,\n inject,\n onBeforeUnmount,\n onMounted,\n onUpdated,\n provide,\n ref,\n shallowRef,\n Teleport,\n watch,\n type ComputedRef,\n type HTMLAttributes,\n type InjectionKey,\n type PropType,\n type Ref,\n type VNode,\n} from \"vue\"\nimport s from \"@plexui/styles/components/Toolbar/Toolbar.module.css\"\nimport { useEscCloseStack } from \"../../composables/useEscCloseStack.js\"\nimport { Button, NavigationButton } from \"../Button/index.js\"\nimport Search from \"../Icon/svg/Search.js\"\n\n// Vue port of packages/ui/src/components/Toolbar/Toolbar.tsx. Exports are flat\n// (`ToolbarLeading` for `Toolbar.Leading`, ...).\n\nexport type ToolbarPlacement = \"top\" | \"bottom\"\n/**\n * Where a screen's search field stands (`ToolbarContent search`):\n * - `\"bottom\"`: the field itself, in the bar it is written in: in a bottom bar, in reach of the thumb, as iOS 26 places a\n * screen's search\n * - `\"top\"`: a search button first among the top bar's trailing actions; pressed, it grows into the field over the bar,\n * which a glass close after it closes on iOS (iOS 26 Podcasts, Files), and in the Plex Android look the bar's leading\n * action turning into a back arrow, a Sheet going full screen\n * - `\"auto\"`: the platform's place, the bottom on iOS and the top in the Plex Android look (`data-platform=\"android\"`)\n */\nexport type ToolbarSearchPlacement = \"auto\" | \"top\" | \"bottom\"\n/** Title layouts of the phone top bar. */\nexport type ToolbarTitleStyle = \"inline\" | \"large\" | \"compact-large\" | \"compact-medium\"\nexport type ToolbarTitleAlign = \"center\" | \"start\"\n/**\n * How a bar meets the content scrolled under it, after the scroll edge effect of iOS 26:\n * - `\"soft\"` (the default of a bottom bar): at the top, once content is under the bar, a blur that grows toward the top under a\n * thin veil of the canvas color, with no line, which lets go past the bar; at the bottom of a page the content stays clear\n * under and around the controls, as on native iOS 26, and a Sheet's bottom bar fades its content into the panel\n * - `\"hard\"`: an opaque bar of the canvas color with a hairline once content is under it\n * - `\"glass\"` (the default of a top bar): a translucent, blurred bar with a hairline, shown once content is under it\n * - `\"blur\"`: no fill and no line, once content is under the bar: the content blurred a little over the bar and past it,\n * and heavily toward the screen's edge\n *\n * iOS 27.2 has two scroll edges, soft and hard; glass is the bar of earlier iOS and blur an app's own.\n */\nexport type BarBackground = \"soft\" | \"hard\" | \"glass\" | \"blur\"\n/**\n * `\"solid\"` is the earlier name of `\"hard\"`: iOS has no opaque bar without a line, and it draws the line of a hard edge\n * only once content is under the bar, so at rest the two look the same.\n */\nexport type BarBackgroundAlias = \"solid\"\n/** `\"edge\"` is the earlier name of `\"soft\"`, `\"solid\"` of `\"hard\"`. */\nexport type ToolbarBackground = BarBackground | BarBackgroundAlias | \"edge\"\n\n/** The background a bar draws, from its current name or an earlier one. */\nexport const barBackground = (background: ToolbarBackground | undefined): BarBackground | undefined =>\n background === \"edge\" ? \"soft\" : background === \"solid\" ? \"hard\" : background\n\n/**\n * A surface that places phone toolbars: `Page` puts the top bar over its content\n * and reserves the space; `Dialog` puts it 16px under the Sheet's top edge.\n */\nexport type ToolbarHost = {\n kind: \"page\" | \"dialog\"\n setHeight?: (placement: ToolbarPlacement, height: number | undefined) => void\n /** Content has scrolled under the top bar, so its glass casts a shadow and a hard or glass bar shows its line. */\n scrolled?: Ref<boolean>\n /** Content continues under the bottom bar, so a hard or glass bar shows its line. */\n contentBelow?: Ref<boolean>\n /** Calls the listener with the content's scroll offset on every scroll; returns the unsubscribe. A TabBar minimizes with it. */\n subscribeScroll?: (listener: (scrollTop: number) => void) => () => void\n /** A large title asks for a place in the content; returns the release. */\n requestLargeTitleSlot?: () => () => void\n /** The place at the top of the content where a large title scrolls with it, once the content has made one. */\n largeTitleSlot?: Ref<HTMLElement | null>\n /** The place under a large title where the bar's rows stand, pinned under the bar once scrolled up to it. */\n largeTitleRowSlot?: Ref<HTMLElement | null>\n /** The rows under a large title are pinned under the bar, so its background reaches under them. */\n rowsPinned?: Ref<boolean>\n /**\n * `false` while the host has no content to keep a large title in (a Dialog without DialogBody): the title and its\n * rows stay in the bar. Otherwise the rows wait for their place, so they mount once, there.\n */\n holdsLargeTitle?: Ref<boolean>\n}\n\nexport const TOOLBAR_HOST: InjectionKey<ToolbarHost> = Symbol(\"ToolbarHost\")\n\n// The title style of the top bar, which a large title on a page needs to show itself inline once scrolled.\nconst TOOLBAR_TITLE_STYLE: InjectionKey<ComputedRef<ToolbarTitleStyle | undefined>> = Symbol(\"ToolbarTitleStyle\")\n// The bar itself, which a large title in the content marks once it has gone under the bar.\nconst TOOLBAR_ELEMENT: InjectionKey<Ref<HTMLElement | null>> = Symbol(\"ToolbarElement\")\n// The bar a part is written in: its placement, and the count of its searches that stand in the other bar\ntype ToolbarBar = { placement: () => ToolbarPlacement; searchAway: () => () => void }\nconst TOOLBAR_BAR: InjectionKey<ToolbarBar> = Symbol(\"ToolbarBar\")\n\n// The tokens of a large title a bar can set for itself, which the title in the content no longer inherits from it.\nconst LARGE_TITLE_TOKENS = [\n \"--toolbar-padding-bottom\",\n \"--toolbar-large-title-gap\",\n \"--toolbar-large-title-font-size\",\n \"--toolbar-large-title-line-height\",\n \"--toolbar-large-title-descent\",\n \"--toolbar-large-subtitle-font-size\",\n \"--toolbar-large-subtitle-line-height\",\n \"--toolbar-large-subtitle-descent\",\n]\n\n/**\n * Follows a large title in the content: it takes the large title tokens the bar sets for itself, and once its last line\n * is at the bar's bottom the bar shows it inline. Scrolling moves it; a change of layout (a wide window turning into a\n * phone's, which shows the bar and the title) or of a class or style on the bar, the content or around them measures it\n * again. A token the bar shares with the content stays inherited, so it follows the page's changes. A hidden title has\n * not gone under anything.\n */\nfunction followLargeTitle(bar: HTMLElement, heading: HTMLElement, subscribeScroll: (listener: () => void) => () => void) {\n const collapse = () => {\n const box = heading.getBoundingClientRect()\n bar.toggleAttribute(\"data-title-collapsed\", box.height > 0 && box.bottom <= bar.getBoundingClientRect().bottom)\n }\n const layout = () => {\n const own = getComputedStyle(bar)\n const place = heading.parentElement ? getComputedStyle(heading.parentElement) : undefined\n for (const token of LARGE_TITLE_TOKENS) {\n const value = own.getPropertyValue(token).trim()\n if (value && value !== place?.getPropertyValue(token).trim()) heading.style.setProperty(token, value)\n else heading.style.removeProperty(token)\n }\n collapse()\n }\n layout()\n const unsubscribe = subscribeScroll(collapse)\n const observer = typeof ResizeObserver !== \"undefined\" ? new ResizeObserver(layout) : undefined\n observer?.observe(bar)\n observer?.observe(heading)\n const mutations = typeof MutationObserver !== \"undefined\" ? new MutationObserver(layout) : undefined\n // A token reaches the bar or the content from the class or style of either or of anything around them.\n for (const start of [bar, heading.parentElement]) {\n for (let node = start; node; node = node.parentElement) mutations?.observe(node, { attributes: true, attributeFilter: [\"class\", \"style\"] })\n }\n return () => {\n unsubscribe()\n observer?.disconnect()\n mutations?.disconnect()\n bar.removeAttribute(\"data-title-collapsed\")\n for (const token of LARGE_TITLE_TOKENS) heading.style.removeProperty(token)\n }\n}\n\nconst ToolbarComponent = defineComponent({\n name: \"Toolbar\",\n props: {\n /** @default \"top\" */\n placement: { type: String as PropType<ToolbarPlacement>, default: \"top\" },\n /** Layout of `ToolbarTitle` in a top bar. @default \"inline\" */\n titleStyle: { type: String as PropType<ToolbarTitleStyle>, default: \"inline\" },\n /** Alignment of an inline title. Compact and large titles always start at the leading edge. @default \"center\" */\n titleAlign: { type: String as PropType<ToolbarTitleAlign>, default: \"center\" },\n /** How the bar meets the content scrolled under it on a phone. @default \"glass\" at the top, \"soft\" at the bottom */\n background: { type: String as PropType<ToolbarBackground>, default: undefined },\n },\n setup(props, { slots }) {\n const host = inject(TOOLBAR_HOST, null)\n provide(TOOLBAR_TITLE_STYLE, computed(() => (props.placement === \"top\" ? props.titleStyle : undefined)))\n const element = ref<HTMLElement | null>(null)\n provide(TOOLBAR_ELEMENT, element)\n // A bar that holds nothing but a search standing in the other bar (a bottom bar's field that the Plex Android look\n // puts at the top) leaves its place: it draws nothing and takes no height, and the search still renders from it.\n const searchesAway = ref(0)\n provide(TOOLBAR_BAR, {\n placement: () => props.placement,\n searchAway: () => {\n searchesAway.value += 1\n let released = false\n return () => {\n if (released) return\n released = true\n searchesAway.value -= 1\n }\n },\n })\n let observer: ResizeObserver | undefined\n let reported: ToolbarPlacement | undefined\n onMounted(() => {\n const bar = element.value\n const setHeight = host?.setHeight\n if (!bar || !setHeight) return\n // A desktop layout hides the bar; its height then leaves the host's own header in charge.\n const update = (height: number) => {\n if (reported && reported !== props.placement) setHeight(reported, undefined)\n reported = props.placement\n setHeight(props.placement, height || undefined)\n }\n if (typeof ResizeObserver === \"undefined\") {\n update(bar.offsetHeight)\n return\n }\n // The observer reports the first height too, after the layout of the frame and before its paint: a read of\n // offsetHeight on mount forced a layout while a sheet that holds the bar was being built\n observer = new ResizeObserver((entries?: ResizeObserverEntry[]) => {\n const entry = entries?.[entries.length - 1]\n const box = entry?.borderBoxSize?.[0]\n update(box ? box.blockSize : bar.offsetHeight)\n })\n observer.observe(bar, { box: \"border-box\" })\n })\n onBeforeUnmount(() => {\n observer?.disconnect()\n if (reported) host?.setHeight?.(reported, undefined)\n })\n return () => {\n const children = slots.default?.()\n // The same element, so the parts keep their state as the bar leaves and comes back; hidden, it reports no height\n if (searchesAway.value > 0 && children?.every(isSearchContent)) return h(\"div\", { \"ref\": element, \"hidden\": true, \"data-toolbar-vacant\": \"\" }, children)\n return h(\"div\", {\n \"ref\": element,\n \"class\": s.Toolbar,\n \"data-toolbar\": \"\",\n \"data-placement\": props.placement,\n \"data-title-style\": props.placement === \"top\" ? props.titleStyle : undefined,\n \"data-title-align\": props.placement === \"top\" ? props.titleAlign : undefined,\n \"data-background\": barBackground(props.background) ?? (props.placement === \"bottom\" ? \"soft\" : \"glass\"),\n \"data-host\": host?.kind,\n \"data-scrolled\": props.placement === \"top\" && host?.scrolled?.value ? \"\" : undefined,\n \"data-content-below\": props.placement === \"bottom\" && host?.contentBelow?.value ? \"\" : undefined,\n \"data-rows-pinned\": props.placement === \"top\" && host?.rowsPinned?.value ? \"\" : undefined,\n }, children)\n }\n },\n})\n\n/** Props of `Toolbar`. */\nexport type ToolbarProps = {\n placement?: ToolbarPlacement\n titleStyle?: ToolbarTitleStyle\n titleAlign?: ToolbarTitleAlign\n /** How the bar meets the content scrolled under it on a phone. @default \"glass\" at the top, \"soft\" at the bottom */\n background?: ToolbarBackground\n} & HTMLAttributes\n\n/** A phone toolbar, top or bottom. It never renders at the desktop breakpoint. */\nexport const Toolbar = ToolbarComponent as typeof ToolbarComponent & { new (): { $props: ToolbarProps } }\n\nfunction part(name: string, className: string, role?: string) {\n return defineComponent({\n name,\n setup(_, { slots }) {\n return () => h(\"div\", { class: className, role }, slots.default?.())\n },\n })\n}\n\n/** Items at the leading edge (React `Toolbar.Leading`). */\nexport const ToolbarLeading = part(\"ToolbarLeading\", s.Leading)\n/** Items at the trailing edge (React `Toolbar.Trailing`). */\nexport const ToolbarTrailing = part(\"ToolbarTrailing\", s.Trailing)\n/** Buttons that share one capsule (React `Toolbar.Group`). */\nexport const ToolbarGroup = part(\"ToolbarGroup\", s.Group, \"group\")\nconst rowOfAnchor = new WeakMap<Element, HTMLElement>()\n\n/**\n * Under a large title each row is portaled into the rows' place as it mounts, so a row that comes later (a search field\n * shown over a segmented control already there) would stand last. An empty anchor in the bar keeps the row's place among\n * the bar's rows, and the rows are moved into that order in the content, so the keyboard and a screen reader meet them\n * as they stand (Codex #7); a row added or removed in the bar orders them again.\n * (React's twin)\n */\nfunction followRowOrder(anchor: HTMLElement, row: HTMLElement) {\n const bar = anchor.closest(\"[data-toolbar]\") ?? anchor.parentElement\n if (!bar) return () => {}\n rowOfAnchor.set(anchor, row)\n const place = () => {\n const slot = row.parentElement\n if (!slot) return\n const rows = Array.from(bar.querySelectorAll(\"[data-toolbar-row-anchor]\"), (mark) => rowOfAnchor.get(mark))\n .filter((each): each is HTMLElement => each?.parentElement === slot)\n // From the last row back, a row that does not stand before the next one goes right before it: only a row out of\n // place moves (the one that came later), so a field focused in another row keeps its focus (Codex #8); moveBefore,\n // where the browser has it, keeps it even in the row that moves.\n const move = (slot as HTMLElement & { moveBefore?: (node: Node, child: Node | null) => void }).moveBefore\n for (let index = rows.length - 2; index >= 0; index--) {\n const each = rows[index]\n const next = rows[index + 1]\n if (each.compareDocumentPosition(next) & Node.DOCUMENT_POSITION_FOLLOWING) continue\n try {\n if (move) {\n move.call(slot, each, next)\n continue\n }\n } catch {\n // falls back to a plain move\n }\n slot.insertBefore(each, next)\n }\n }\n place()\n const observer = typeof MutationObserver !== \"undefined\" ? new MutationObserver(place) : undefined\n observer?.observe(bar, { childList: true, subtree: true })\n return () => {\n observer?.disconnect()\n rowOfAnchor.delete(anchor)\n }\n}\n\n/**\n * A row under the controls, part of the bar: a segmented control that switches the screen's views (a chat list's\n * folders under its bar), or a search field. It spans the bar, and a control in it fills the row; several rows stand in\n * their order (a search field over a segmented control). Under a large title on a page the rows stand under the title,\n * at the top of the content, and once scrolled up to the bar they stay pinned under its controls, as iOS 27.2 pins a\n * safeAreaBar under a large title's bar (React `Toolbar.Row`).\n */\nexport const ToolbarRow = defineComponent({\n name: \"ToolbarRow\",\n inheritAttrs: false,\n setup(_, { slots, attrs }) {\n const host = inject(TOOLBAR_HOST, null)\n const titleStyle = inject(TOOLBAR_TITLE_STYLE, null)\n // The rows go with the title: under it at the top of a page's content or a Sheet's body\n const large = computed(() => titleStyle?.value === \"large\" && !!host?.requestLargeTitleSlot)\n const slot = computed(() => (large.value ? host?.largeTitleRowSlot?.value ?? null : null))\n let release: (() => void) | undefined\n watch(large, (value) => {\n release?.()\n release = value ? host?.requestLargeTitleSlot?.() : undefined\n })\n // A watch that ran first has asked already (Codex #68)\n onMounted(() => { if (large.value && !release) release = host?.requestLargeTitleSlot?.() })\n onBeforeUnmount(() => release?.())\n const element = ref<HTMLElement | null>(null)\n const anchor = ref<HTMLElement | null>(null)\n let stopOrder: (() => void) | undefined\n watch([slot, element, anchor], ([place, row, mark]) => {\n stopOrder?.()\n stopOrder = place && row && mark ? followRowOrder(mark, row) : undefined\n }, { flush: \"post\" })\n onBeforeUnmount(() => { stopOrder?.(); stopOrder = undefined })\n return () => {\n const place = slot.value\n const row = h(\"div\", { ...attrs, \"ref\": element, \"class\": [s.Row, attrs.class], \"data-toolbar-row\": \"\", \"data-in-content\": place ? \"\" : undefined }, slots.default?.())\n // Under a large title the row waits for its place in the content, as React's does; a host with no content to\n // keep the title in (a Sheet without a body) keeps it in the bar.\n if (large.value && place) return [h(Teleport, { to: place }, [row]), h(\"span\", { \"ref\": anchor, \"data-toolbar-row-anchor\": \"\", \"hidden\": true })]\n if (large.value && host?.holdsLargeTitle?.value !== false) return null\n return row\n }\n },\n})\n\nconst ANDROID = '[data-platform=\"android\"]'\nconst TOP_BAR = '[data-toolbar][data-placement=\"top\"]'\n\n/** The places of a search at the top: its button's capsule among the bar's trailing actions, and the layer its field opens in. */\ntype SearchPlaces = { bar: HTMLElement; button: HTMLElement; layer: HTMLElement }\n\n/**\n * The top bar a search at the top stands in: the bar it is written in, or the top bar beside it (a Page's, a Sheet's),\n * looked up no further than its dialog. (React's twin)\n */\nfunction findTopBar(anchor: HTMLElement): HTMLElement | null {\n const home = anchor.parentElement\n if (home?.matches(TOP_BAR)) return home\n for (let node = home?.parentElement; node; node = node.parentElement) {\n const bar = node.querySelector<HTMLElement>(`:scope > ${TOP_BAR}`)\n if (bar) return bar\n if (node.hasAttribute(\"data-plex-dialog\")) return null\n }\n return null\n}\n\n/**\n * Makes the places of a search in the top bar and keeps them there: its button's capsule first among the bar's trailing\n * actions (in a trailing place of its own while the bar has none) and the layer over the bar its field opens in. The\n * bar's parts come and go and a page or a sheet can replace its bar: the places follow, and `onPlaces` hears of each\n * new bar. Returns the release. (React's twin)\n */\nfunction placeSearch(anchor: HTMLElement, onPlaces: (places: SearchPlaces | null) => void) {\n const doc = anchor.ownerDocument\n const make = (className: string, mark: string) => {\n const element = doc.createElement(\"div\")\n element.className = className\n element.setAttribute(mark, \"\")\n return element\n }\n const button = make(s.Group, \"data-toolbar-search-button\")\n const layer = make(s.SearchLayer, \"data-toolbar-search-layer\")\n const ownTrailing = make(s.Trailing, \"data-toolbar-search-trailing\")\n let bar: HTMLElement | null = null\n let reported: HTMLElement | null | undefined\n const leave = () => {\n bar?.removeAttribute(\"data-search\")\n bar?.removeAttribute(\"data-search-open\")\n button.remove()\n layer.remove()\n ownTrailing.remove()\n }\n const observer = typeof MutationObserver !== \"undefined\" ? new MutationObserver(() => place()) : undefined\n const place = () => {\n const next = findTopBar(anchor)\n if (next !== bar) {\n leave()\n observer?.disconnect()\n bar = next\n // The bar's own parts, and the bars beside it (a bar replaced, or one that comes later)\n for (const scope of [bar, bar?.parentElement, anchor.parentElement?.parentElement]) if (scope) observer?.observe(scope, { childList: true })\n }\n if (bar) {\n const trailing = Array.from(bar.children).find((child) => child.classList.contains(s.Trailing) && child !== ownTrailing)\n const home = trailing ?? ownTrailing\n if (home.firstElementChild !== button) home.prepend(button)\n if (trailing) ownTrailing.remove()\n else if (ownTrailing.parentElement !== bar) bar.append(ownTrailing)\n if (layer.parentElement !== bar) bar.append(layer)\n bar.setAttribute(\"data-search\", \"\")\n }\n if (bar !== reported) {\n reported = bar\n onPlaces(bar ? { bar, button, layer } : null)\n }\n }\n place()\n return () => {\n observer?.disconnect()\n leave()\n }\n}\n\n/**\n * The field grows out of its button and shrinks back into it: the button's capsule in the bar, by its layout box. Its\n * distance from the end of the bar's content is kept, not from the bar's edge, so it holds as the bar's gutter changes\n * (a Sheet's at the full screen). Set at once, with no transition. (React's twin)\n */\nfunction followSearchButton({ bar, button, layer }: SearchPlaces, field: HTMLElement | null) {\n let left = 0\n for (let node: HTMLElement | null = button; node && node !== bar; node = node.offsetParent as HTMLElement | null) left += node.offsetLeft\n const style = getComputedStyle(bar)\n const end = style.direction === \"rtl\"\n ? left - (Number.parseFloat(style.paddingLeft) || 0)\n : bar.clientWidth - (Number.parseFloat(style.paddingRight) || 0) - left - button.offsetWidth\n layer.style.setProperty(\"--toolbar-search-from-end\", `${end}px`)\n layer.style.setProperty(\"--toolbar-search-from-size\", `${button.offsetWidth}px`)\n // The leading actions an open field on iOS stands after (a Back, a Cancel, more than one): how far they reach in from\n // the bar's content start\n const leading = Array.from(bar.children).find((child): child is HTMLElement => child.classList.contains(s.Leading) && child.childElementCount > 0)\n if (leading) {\n let start = 0\n for (let node: HTMLElement | null = leading; node && node !== bar; node = node.offsetParent as HTMLElement | null) start += node.offsetLeft\n const reach = style.direction === \"rtl\"\n ? bar.clientWidth - (Number.parseFloat(style.paddingRight) || 0) - start\n : start + leading.offsetWidth - (Number.parseFloat(style.paddingLeft) || 0)\n layer.style.setProperty(\"--toolbar-search-leading\", `${reach}px`)\n } else {\n layer.style.removeProperty(\"--toolbar-search-leading\")\n }\n if (!field) return\n field.style.transition = \"none\"\n void field.offsetWidth\n field.style.transition = \"\"\n}\n\n/**\n * While a search at the top is open the bar's leading actions may change (a Back turning into a Cancel, one more): the\n * open field on iOS keeps standing after them. Returns the release.\n */\nfunction followLeading(places: SearchPlaces) {\n const measure = () => followSearchButton(places, null)\n const sizes = typeof ResizeObserver !== \"undefined\" ? new ResizeObserver(measure) : undefined\n const follow = () => {\n sizes?.disconnect()\n for (const child of Array.from(places.bar.children)) if (child.classList.contains(s.Leading)) sizes?.observe(child)\n measure()\n }\n const parts = typeof MutationObserver !== \"undefined\" ? new MutationObserver(follow) : undefined\n parts?.observe(places.bar, { childList: true })\n follow()\n return () => {\n sizes?.disconnect()\n parts?.disconnect()\n }\n}\n\n/** Closing the search clears its field, as a search closed on Android or canceled on iOS does: the field's own input event. */\nfunction clearSearchField(field: HTMLElement | null) {\n const input = field?.querySelector(\"input\")\n if (!input || input.value === \"\") return\n Object.getOwnPropertyDescriptor(Object.getPrototypeOf(input), \"value\")?.set?.call(input, \"\")\n input.dispatchEvent(new Event(\"input\", { bubbles: true }))\n}\n\n/**\n * Custom middle content: a search field, a segmented control or a single centered action (React `Toolbar.Content`).\n * With `search` it is the screen's search field, where its placement puts it. At the bottom it is the field in its bar.\n * At the top a search button stands first among the top bar's trailing actions, in the capsule of the icon buttons next\n * to it; pressed, it grows into the field over the bar as the title and the actions fade. On iOS the field stands before\n * a glass close, a leading action staying beside it (iOS 26 Files); in the Plex Android look it runs\n * from after a back circle to the bar's end, the leading action becoming the back arrow. The close, the back arrow or\n * Escape closes it, clears the field and gives the button its focus back; a Sheet on Android stands at the full screen\n * while it is open (Dialog.module.css).\n */\nexport const ToolbarContent = defineComponent({\n name: \"ToolbarContent\",\n inheritAttrs: false,\n props: {\n /** Stretch between the leading and trailing items, as a search field does. */\n fill: { type: Boolean, default: false },\n /**\n * Marks the content as the screen's search field (an `Input`) and sets where it stands (`ToolbarSearchPlacement`):\n * write it in the bottom bar, and at the top it becomes a search button of the top bar beside it, a Page's or a\n * Sheet's, that opens the field over that bar. `true` is `\"auto\"`: the bottom on iOS, the top on Android.\n */\n search: { type: [Boolean, String] as PropType<boolean | ToolbarSearchPlacement>, default: undefined },\n },\n setup(props, { slots, attrs }) {\n const bar = inject(TOOLBAR_BAR, null)\n const placement = computed<ToolbarSearchPlacement | undefined>(() => (props.search === true ? \"auto\" : props.search || undefined))\n const anchor = ref<HTMLElement | null>(null)\n // Whether it stands in the Plex Android look: `data-platform=\"android\"` on it or around it (PlexUIProvider)\n const android = ref(false)\n watch([placement, anchor], ([value, mark], _, onCleanup) => {\n if (!value || !mark) return\n const read = () => { android.value = !!mark.closest(ANDROID) }\n read()\n if (typeof MutationObserver === \"undefined\") return\n const observer = new MutationObserver(read)\n observer.observe(mark.ownerDocument.documentElement, { attributes: true, attributeFilter: [\"data-platform\"], subtree: true })\n onCleanup(() => observer.disconnect())\n }, { flush: \"post\", immediate: true })\n const top = computed(() => !!placement.value && (placement.value === \"auto\" ? (android.value ? \"top\" : \"bottom\") : placement.value) === \"top\")\n const places = shallowRef<SearchPlaces | null>(null)\n watch([top, anchor], ([value, mark], _, onCleanup) => {\n if (!value || !mark) return\n const release = placeSearch(mark, (next) => { places.value = next })\n onCleanup(() => { release(); places.value = null })\n }, { flush: \"post\", immediate: true })\n // Written in the bottom bar, it leaves that bar to the top one\n watch(() => !!places.value && bar?.placement() !== \"top\", (away, _, onCleanup) => {\n if (away && bar) onCleanup(bar.searchAway())\n }, { immediate: true })\n\n const open = ref(false)\n const field = ref<HTMLElement | null>(null)\n watch(places, (value) => {\n if (value) followSearchButton(value, field.value)\n else open.value = false\n }, { flush: \"post\" })\n // Open, the field follows the bar's leading actions as they change\n watch([places, open], ([value, isOpen], _, onCleanup) => {\n if (value && isOpen) onCleanup(followLeading(value))\n }, { flush: \"post\" })\n watch([places, open], ([value, isOpen]) => {\n if (!value) return\n value.bar.toggleAttribute(\"data-search-open\", isOpen)\n if (isOpen) field.value?.querySelector(\"input\")?.focus({ preventScroll: true })\n }, { flush: \"post\" })\n // The button takes the field's name: \"Search materials\"\n const name = ref(\"Search\")\n const readName = () => {\n const input = field.value?.querySelector(\"input\")\n name.value = input?.getAttribute(\"aria-label\") || input?.placeholder || \"Search\"\n }\n onMounted(readName)\n onUpdated(readName)\n watch(places, readName, { flush: \"post\" })\n const openSearch = () => {\n if (places.value) followSearchButton(places.value, field.value)\n open.value = true\n }\n const closeSearch = () => {\n if (places.value) {\n followSearchButton(places.value, null)\n // Closed at once, so the button is there to take the focus back\n places.value.bar.removeAttribute(\"data-search-open\")\n }\n clearSearchField(field.value)\n open.value = false\n places.value?.button.querySelector<HTMLElement>(\"[data-toolbar-search-trigger]\")?.focus({ preventScroll: true })\n }\n useEscCloseStack(open, closeSearch)\n\n return () => {\n const children = slots.default?.()\n const content = { ...attrs, \"class\": [s.Content, attrs.class], \"data-fill\": props.fill ? \"\" : undefined }\n if (!placement.value) return h(\"div\", content, children)\n const mark = h(\"span\", { \"ref\": anchor, \"hidden\": true, \"data-toolbar-search-anchor\": \"\" })\n const place = places.value\n if (!place) return [mark, h(\"div\", { ...content, ref: field }, children)]\n return [\n mark,\n h(Teleport, { to: place.button }, [h(Button, {\n \"color\": \"secondary\",\n \"variant\": \"soft\",\n \"uniform\": true,\n \"pill\": true,\n \"aria-label\": name.value,\n \"aria-expanded\": open.value ? \"true\" : \"false\",\n \"data-toolbar-search-trigger\": \"\",\n \"onClick\": openSearch,\n }, () => h(Search))]),\n // Android closes it with a back arrow before the field, iOS with a close after it: both stand in the layer, the\n // other platform's hidden, so the field never moves (its text and its focus stay) as the platform changes\n h(Teleport, { to: place.layer }, [\n h(\"div\", { key: \"back\", class: [s.Leading, s.SearchBack], hidden: !android.value }, [h(NavigationButton, {\n \"action\": \"back\",\n \"aria-label\": \"Close search\",\n \"tabindex\": open.value ? undefined : -1,\n \"onClick\": closeSearch,\n })]),\n h(\"div\", { ...attrs, \"key\": \"field\", \"ref\": field, \"class\": [s.Content, s.SearchField, attrs.class], \"data-fill\": \"\" }, children),\n h(\"div\", { key: \"close\", class: [s.Trailing, s.SearchClose], hidden: android.value }, [h(NavigationButton, {\n \"action\": \"close\",\n \"aria-label\": \"Close search\",\n \"tabindex\": open.value ? undefined : -1,\n \"onClick\": closeSearch,\n })]),\n ]),\n ]\n }\n },\n})\n\n/** Whether a part of a bar is a search (`ToolbarContent search`), or renders nothing. */\nfunction isSearchContent(node: VNode): boolean {\n if (node.type === Comment) return true\n if (node.type === Fragment && Array.isArray(node.children)) return (node.children as VNode[]).every(isSearchContent)\n const search = (node.props as Record<string, unknown> | null)?.search\n return node.type === ToolbarContent && search != null && search !== false\n}\n\n/** The bar title, with an optional second line (React `Toolbar.Title`). */\nexport const ToolbarTitle = defineComponent({\n name: \"ToolbarTitle\",\n inheritAttrs: false,\n props: {\n /** A second, smaller line below the title. The `subtitle` slot takes precedence. */\n subtitle: { type: String, default: undefined },\n /**\n * Heading level. In a Dialog the dialog's own title names the Sheet, so the bar title is hidden\n * from assistive technology there.\n * @default \"h1\"\n */\n as: { type: String as PropType<\"h1\" | \"h2\" | \"h3\">, default: \"h1\" },\n },\n setup(props, { slots, attrs }) {\n const host = inject(TOOLBAR_HOST, null)\n const titleStyle = inject(TOOLBAR_TITLE_STYLE, null)\n const bar = inject(TOOLBAR_ELEMENT, null)\n const heading = ref<HTMLElement | null>(null)\n // A page, and a Dialog with its body, keep the title at the top of their content\n const large = computed(() => titleStyle?.value === \"large\" && !!host?.requestLargeTitleSlot)\n const slot = computed(() => (large.value ? host?.largeTitleSlot?.value ?? null : null))\n let release: (() => void) | undefined\n // A watch that ran first has asked already (Codex #68)\n onMounted(() => { if (large.value && !release) release = host?.requestLargeTitleSlot?.() })\n watch(large, (value) => {\n release?.()\n release = value ? host?.requestLargeTitleSlot?.() : undefined\n })\n // In the content the title scrolls with it, on the compositor and through the overscroll, as on iOS 26. Once it has\n // gone under the bar (its last line at the bar's bottom), the bar shows it inline and a hard or glass bar its line.\n // It starts once mounted too: a bar replaced under a page that keeps its content finds the place already there.\n let stopFollowing: (() => void) | undefined\n const follow = () => {\n stopFollowing?.()\n stopFollowing = undefined\n const element = bar?.value\n const title = heading.value\n if (!slot.value || !element || !title || !host?.subscribeScroll) return\n stopFollowing = followLargeTitle(element, title, host.subscribeScroll)\n }\n onMounted(follow)\n watch([slot, () => bar?.value], follow, { flush: \"post\" })\n onBeforeUnmount(() => { stopFollowing?.(); release?.() })\n return () => {\n // An empty subtitle, from the prop or a slot that renders nothing, leaves the title on one line, as in React.\n const present = (value: unknown) => (Array.isArray(value) ? value.length > 0 : value != null && value !== \"\")\n const subtitle = slots.subtitle?.() ?? props.subtitle\n const place = slot.value\n const title = h(\"div\", { \"ref\": heading, \"class\": s.Heading, \"aria-hidden\": host?.kind === \"dialog\" ? \"true\" : undefined, \"data-in-content\": place ? \"\" : undefined }, [\n h(props.as, { ...attrs, class: [s.Title, attrs.class] }, slots.default?.()),\n present(subtitle) ? h(\"p\", { class: s.Subtitle }, subtitle) : null,\n ])\n if (!large.value) return title\n // Until the content has made its place (a server-rendered page before it hydrates), the title stands in the bar\n // where it will stand in the content. The inline copy the row of controls shows once the large title has gone\n // under it keeps a subtitle as a second line, as in the inline title (iOS 26 kit Toolbar - Top - iPhone, Title 2 Line).\n const copySubtitle = slots.subtitle?.() ?? props.subtitle\n const copy = present(copySubtitle)\n ? [h(\"span\", { class: s.CollapsedLine }, slots.default?.()), h(\"span\", { class: s.CollapsedSubtitle }, copySubtitle)]\n : slots.default?.()\n return [h(Teleport, { to: place ?? \"body\", disabled: !place }, [title]), h(\"span\", { \"class\": s.CollapsedTitle, \"aria-hidden\": \"true\" }, copy)]\n }\n },\n})\n"]}
|
|
1
|
+
{"version":3,"file":"Toolbar.js","sourceRoot":"","sources":["../../../../src/components/Toolbar/Toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,CAAC,EACD,MAAM,EACN,eAAe,EACf,SAAS,EACT,SAAS,EACT,OAAO,EACP,GAAG,EACH,UAAU,EACV,QAAQ,EACR,KAAK,GAON,MAAM,KAAK,CAAA;AACZ,OAAO,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eforeUnmount,\n onMounted,\n onUpdated,\n provide,\n ref,\n shallowRef,\n Teleport,\n watch,\n type ComputedRef,\n type HTMLAttributes,\n type InjectionKey,\n type PropType,\n type Ref,\n type VNode,\n} from \"vue\"\nimport s from \"@plexui/styles/components/Toolbar/Toolbar.module.css\"\nimport { useEscCloseStack } from \"../../composables/useEscCloseStack.js\"\nimport { Button, NavigationButton } from \"../Button/index.js\"\nimport SearchLg from \"../Icon/svg/SearchLg.js\"\n\n// Vue port of packages/ui/src/components/Toolbar/Toolbar.tsx. Exports are flat\n// (`ToolbarLeading` for `Toolbar.Leading`, ...).\n\nexport type ToolbarPlacement = \"top\" | \"bottom\"\n/**\n * Where a screen's search field stands (`ToolbarContent search`):\n * - `\"bottom\"`: the field itself, in the bar it is written in: in a bottom bar, in reach of the thumb, as iOS 26 places a\n * screen's search\n * - `\"top\"`: a search button first among the top bar's trailing actions; pressed, it grows into the field over the bar,\n * which a glass close after it closes on iOS (iOS 26 Podcasts, Files), and in the Plex Android look the bar's leading\n * action turning into a back arrow, a Sheet going full screen\n * - `\"auto\"`: the platform's place, the bottom on iOS and the top in the Plex Android look (`data-platform=\"android\"`)\n */\nexport type ToolbarSearchPlacement = \"auto\" | \"top\" | \"bottom\"\n/** Title layouts of the phone top bar. */\nexport type ToolbarTitleStyle = \"inline\" | \"large\" | \"compact-large\" | \"compact-medium\"\nexport type ToolbarTitleAlign = \"center\" | \"start\"\n/**\n * How a bar meets the content scrolled under it, after the scroll edge effect of iOS 26:\n * - `\"soft\"` (the default of a bottom bar): at the top, once content is under the bar, a blur that grows toward the top under a\n * thin veil of the canvas color, with no line, which lets go past the bar; at the bottom of a page the content stays clear\n * under and around the controls, as on native iOS 26, and a Sheet's bottom bar fades its content into the panel\n * - `\"hard\"`: an opaque bar of the canvas color with a hairline once content is under it\n * - `\"glass\"` (the default of a top bar): a translucent, blurred bar with a hairline, shown once content is under it\n * - `\"blur\"`: no fill and no line, once content is under the bar: the content blurred a little over the bar and past it,\n * and heavily toward the screen's edge\n *\n * iOS 27.2 has two scroll edges, soft and hard; glass is the bar of earlier iOS and blur an app's own.\n */\nexport type BarBackground = \"soft\" | \"hard\" | \"glass\" | \"blur\"\n/**\n * `\"solid\"` is the earlier name of `\"hard\"`: iOS has no opaque bar without a line, and it draws the line of a hard edge\n * only once content is under the bar, so at rest the two look the same.\n */\nexport type BarBackgroundAlias = \"solid\"\n/** `\"edge\"` is the earlier name of `\"soft\"`, `\"solid\"` of `\"hard\"`. */\nexport type ToolbarBackground = BarBackground | BarBackgroundAlias | \"edge\"\n\n/** The background a bar draws, from its current name or an earlier one. */\nexport const barBackground = (background: ToolbarBackground | undefined): BarBackground | undefined =>\n background === \"edge\" ? \"soft\" : background === \"solid\" ? \"hard\" : background\n\n/**\n * A surface that places phone toolbars: `Page` puts the top bar over its content\n * and reserves the space; `Dialog` puts it 16px under the Sheet's top edge.\n */\nexport type ToolbarHost = {\n kind: \"page\" | \"dialog\"\n setHeight?: (placement: ToolbarPlacement, height: number | undefined) => void\n /** Content has scrolled under the top bar, so its glass casts a shadow and a hard or glass bar shows its line. */\n scrolled?: Ref<boolean>\n /** Content continues under the bottom bar, so a hard or glass bar shows its line. */\n contentBelow?: Ref<boolean>\n /** Calls the listener with the content's scroll offset on every scroll; returns the unsubscribe. A TabBar minimizes with it. */\n subscribeScroll?: (listener: (scrollTop: number) => void) => () => void\n /** A large title asks for a place in the content; returns the release. */\n requestLargeTitleSlot?: () => () => void\n /** The place at the top of the content where a large title scrolls with it, once the content has made one. */\n largeTitleSlot?: Ref<HTMLElement | null>\n /** The place under a large title where the bar's rows stand, pinned under the bar once scrolled up to it. */\n largeTitleRowSlot?: Ref<HTMLElement | null>\n /** The rows under a large title are pinned under the bar, so its background reaches under them. */\n rowsPinned?: Ref<boolean>\n /**\n * `false` while the host has no content to keep a large title in (a Dialog without DialogBody): the title and its\n * rows stay in the bar. Otherwise the rows wait for their place, so they mount once, there.\n */\n holdsLargeTitle?: Ref<boolean>\n}\n\nexport const TOOLBAR_HOST: InjectionKey<ToolbarHost> = Symbol(\"ToolbarHost\")\n\n// The title style of the top bar, which a large title on a page needs to show itself inline once scrolled.\nconst TOOLBAR_TITLE_STYLE: InjectionKey<ComputedRef<ToolbarTitleStyle | undefined>> = Symbol(\"ToolbarTitleStyle\")\n// The bar itself, which a large title in the content marks once it has gone under the bar.\nconst TOOLBAR_ELEMENT: InjectionKey<Ref<HTMLElement | null>> = Symbol(\"ToolbarElement\")\n// The bar a part is written in: its placement, and the count of its searches that stand in the other bar\ntype ToolbarBar = { placement: () => ToolbarPlacement; searchAway: () => () => void }\nconst TOOLBAR_BAR: InjectionKey<ToolbarBar> = Symbol(\"ToolbarBar\")\n\n// The tokens of a large title a bar can set for itself, which the title in the content no longer inherits from it.\nconst LARGE_TITLE_TOKENS = [\n \"--toolbar-padding-bottom\",\n \"--toolbar-large-title-gap\",\n \"--toolbar-large-title-font-size\",\n \"--toolbar-large-title-line-height\",\n \"--toolbar-large-title-descent\",\n \"--toolbar-large-subtitle-font-size\",\n \"--toolbar-large-subtitle-line-height\",\n \"--toolbar-large-subtitle-descent\",\n]\n\n/**\n * Follows a large title in the content: it takes the large title tokens the bar sets for itself, and once its last line\n * is at the bar's bottom the bar shows it inline. Scrolling moves it; a change of layout (a wide window turning into a\n * phone's, which shows the bar and the title) or of a class or style on the bar, the content or around them measures it\n * again. A token the bar shares with the content stays inherited, so it follows the page's changes. A hidden title has\n * not gone under anything.\n */\nfunction followLargeTitle(bar: HTMLElement, heading: HTMLElement, subscribeScroll: (listener: () => void) => () => void) {\n const collapse = () => {\n const box = heading.getBoundingClientRect()\n bar.toggleAttribute(\"data-title-collapsed\", box.height > 0 && box.bottom <= bar.getBoundingClientRect().bottom)\n }\n const layout = () => {\n const own = getComputedStyle(bar)\n const place = heading.parentElement ? getComputedStyle(heading.parentElement) : undefined\n for (const token of LARGE_TITLE_TOKENS) {\n const value = own.getPropertyValue(token).trim()\n if (value && value !== place?.getPropertyValue(token).trim()) heading.style.setProperty(token, value)\n else heading.style.removeProperty(token)\n }\n collapse()\n }\n layout()\n const unsubscribe = subscribeScroll(collapse)\n const observer = typeof ResizeObserver !== \"undefined\" ? new ResizeObserver(layout) : undefined\n observer?.observe(bar)\n observer?.observe(heading)\n const mutations = typeof MutationObserver !== \"undefined\" ? new MutationObserver(layout) : undefined\n // A token reaches the bar or the content from the class or style of either or of anything around them.\n for (const start of [bar, heading.parentElement]) {\n for (let node = start; node; node = node.parentElement) mutations?.observe(node, { attributes: true, attributeFilter: [\"class\", \"style\"] })\n }\n return () => {\n unsubscribe()\n observer?.disconnect()\n mutations?.disconnect()\n bar.removeAttribute(\"data-title-collapsed\")\n for (const token of LARGE_TITLE_TOKENS) heading.style.removeProperty(token)\n }\n}\n\nconst ToolbarComponent = defineComponent({\n name: \"Toolbar\",\n props: {\n /** @default \"top\" */\n placement: { type: String as PropType<ToolbarPlacement>, default: \"top\" },\n /** Layout of `ToolbarTitle` in a top bar. @default \"inline\" */\n titleStyle: { type: String as PropType<ToolbarTitleStyle>, default: \"inline\" },\n /** Alignment of an inline title. Compact and large titles always start at the leading edge. @default \"center\" */\n titleAlign: { type: String as PropType<ToolbarTitleAlign>, default: \"center\" },\n /** How the bar meets the content scrolled under it on a phone. @default \"glass\" at the top, \"soft\" at the bottom */\n background: { type: String as PropType<ToolbarBackground>, default: undefined },\n },\n setup(props, { slots }) {\n const host = inject(TOOLBAR_HOST, null)\n provide(TOOLBAR_TITLE_STYLE, computed(() => (props.placement === \"top\" ? props.titleStyle : undefined)))\n const element = ref<HTMLElement | null>(null)\n provide(TOOLBAR_ELEMENT, element)\n // A bar that holds nothing but a search standing in the other bar (a bottom bar's field that the Plex Android look\n // puts at the top) leaves its place: it draws nothing and takes no height, and the search still renders from it.\n const searchesAway = ref(0)\n provide(TOOLBAR_BAR, {\n placement: () => props.placement,\n searchAway: () => {\n searchesAway.value += 1\n let released = false\n return () => {\n if (released) return\n released = true\n searchesAway.value -= 1\n }\n },\n })\n let observer: ResizeObserver | undefined\n let reported: ToolbarPlacement | undefined\n onMounted(() => {\n const bar = element.value\n const setHeight = host?.setHeight\n if (!bar || !setHeight) return\n // A desktop layout hides the bar; its height then leaves the host's own header in charge.\n const update = (height: number) => {\n if (reported && reported !== props.placement) setHeight(reported, undefined)\n reported = props.placement\n setHeight(props.placement, height || undefined)\n }\n if (typeof ResizeObserver === \"undefined\") {\n update(bar.offsetHeight)\n return\n }\n // The observer reports the first height too, after the layout of the frame and before its paint: a read of\n // offsetHeight on mount forced a layout while a sheet that holds the bar was being built\n observer = new ResizeObserver((entries?: ResizeObserverEntry[]) => {\n const entry = entries?.[entries.length - 1]\n const box = entry?.borderBoxSize?.[0]\n update(box ? box.blockSize : bar.offsetHeight)\n })\n observer.observe(bar, { box: \"border-box\" })\n })\n onBeforeUnmount(() => {\n observer?.disconnect()\n if (reported) host?.setHeight?.(reported, undefined)\n })\n return () => {\n const children = slots.default?.()\n // The same element, so the parts keep their state as the bar leaves and comes back; hidden, it reports no height\n if (searchesAway.value > 0 && children?.every(isSearchContent)) return h(\"div\", { \"ref\": element, \"hidden\": true, \"data-toolbar-vacant\": \"\" }, children)\n return h(\"div\", {\n \"ref\": element,\n \"class\": s.Toolbar,\n \"data-toolbar\": \"\",\n \"data-placement\": props.placement,\n \"data-title-style\": props.placement === \"top\" ? props.titleStyle : undefined,\n \"data-title-align\": props.placement === \"top\" ? props.titleAlign : undefined,\n \"data-background\": barBackground(props.background) ?? (props.placement === \"bottom\" ? \"soft\" : \"glass\"),\n \"data-host\": host?.kind,\n \"data-scrolled\": props.placement === \"top\" && host?.scrolled?.value ? \"\" : undefined,\n \"data-content-below\": props.placement === \"bottom\" && host?.contentBelow?.value ? \"\" : undefined,\n \"data-rows-pinned\": props.placement === \"top\" && host?.rowsPinned?.value ? \"\" : undefined,\n }, children)\n }\n },\n})\n\n/** Props of `Toolbar`. */\nexport type ToolbarProps = {\n placement?: ToolbarPlacement\n titleStyle?: ToolbarTitleStyle\n titleAlign?: ToolbarTitleAlign\n /** How the bar meets the content scrolled under it on a phone. @default \"glass\" at the top, \"soft\" at the bottom */\n background?: ToolbarBackground\n} & HTMLAttributes\n\n/** A phone toolbar, top or bottom. It never renders at the desktop breakpoint. */\nexport const Toolbar = ToolbarComponent as typeof ToolbarComponent & { new (): { $props: ToolbarProps } }\n\nfunction part(name: string, className: string, role?: string) {\n return defineComponent({\n name,\n setup(_, { slots }) {\n return () => h(\"div\", { class: className, role }, slots.default?.())\n },\n })\n}\n\n/** Items at the leading edge (React `Toolbar.Leading`). */\nexport const ToolbarLeading = part(\"ToolbarLeading\", s.Leading)\n/** Items at the trailing edge (React `Toolbar.Trailing`). */\nexport const ToolbarTrailing = part(\"ToolbarTrailing\", s.Trailing)\n/** Buttons that share one capsule (React `Toolbar.Group`). */\nexport const ToolbarGroup = part(\"ToolbarGroup\", s.Group, \"group\")\nconst rowOfAnchor = new WeakMap<Element, HTMLElement>()\n\n/**\n * Under a large title each row is portaled into the rows' place as it mounts, so a row that comes later (a search field\n * shown over a segmented control already there) would stand last. An empty anchor in the bar keeps the row's place among\n * the bar's rows, and the rows are moved into that order in the content, so the keyboard and a screen reader meet them\n * as they stand (Codex #7); a row added or removed in the bar orders them again.\n * (React's twin)\n */\nfunction followRowOrder(anchor: HTMLElement, row: HTMLElement) {\n const bar = anchor.closest(\"[data-toolbar]\") ?? anchor.parentElement\n if (!bar) return () => {}\n rowOfAnchor.set(anchor, row)\n const place = () => {\n const slot = row.parentElement\n if (!slot) return\n const rows = Array.from(bar.querySelectorAll(\"[data-toolbar-row-anchor]\"), (mark) => rowOfAnchor.get(mark))\n .filter((each): each is HTMLElement => each?.parentElement === slot)\n // From the last row back, a row that does not stand before the next one goes right before it: only a row out of\n // place moves (the one that came later), so a field focused in another row keeps its focus (Codex #8); moveBefore,\n // where the browser has it, keeps it even in the row that moves.\n const move = (slot as HTMLElement & { moveBefore?: (node: Node, child: Node | null) => void }).moveBefore\n for (let index = rows.length - 2; index >= 0; index--) {\n const each = rows[index]\n const next = rows[index + 1]\n if (each.compareDocumentPosition(next) & Node.DOCUMENT_POSITION_FOLLOWING) continue\n try {\n if (move) {\n move.call(slot, each, next)\n continue\n }\n } catch {\n // falls back to a plain move\n }\n slot.insertBefore(each, next)\n }\n }\n place()\n const observer = typeof MutationObserver !== \"undefined\" ? new MutationObserver(place) : undefined\n observer?.observe(bar, { childList: true, subtree: true })\n return () => {\n observer?.disconnect()\n rowOfAnchor.delete(anchor)\n }\n}\n\n/**\n * A row under the controls, part of the bar: a segmented control that switches the screen's views (a chat list's\n * folders under its bar), or a search field. It spans the bar, and a control in it fills the row; several rows stand in\n * their order (a search field over a segmented control). Under a large title on a page the rows stand under the title,\n * at the top of the content, and once scrolled up to the bar they stay pinned under its controls, as iOS 27.2 pins a\n * safeAreaBar under a large title's bar (React `Toolbar.Row`).\n */\nexport const ToolbarRow = defineComponent({\n name: \"ToolbarRow\",\n inheritAttrs: false,\n setup(_, { slots, attrs }) {\n const host = inject(TOOLBAR_HOST, null)\n const titleStyle = inject(TOOLBAR_TITLE_STYLE, null)\n // The rows go with the title: under it at the top of a page's content or a Sheet's body\n const large = computed(() => titleStyle?.value === \"large\" && !!host?.requestLargeTitleSlot)\n const slot = computed(() => (large.value ? host?.largeTitleRowSlot?.value ?? null : null))\n let release: (() => void) | undefined\n watch(large, (value) => {\n release?.()\n release = value ? host?.requestLargeTitleSlot?.() : undefined\n })\n // A watch that ran first has asked already (Codex #68)\n onMounted(() => { if (large.value && !release) release = host?.requestLargeTitleSlot?.() })\n onBeforeUnmount(() => release?.())\n const element = ref<HTMLElement | null>(null)\n const anchor = ref<HTMLElement | null>(null)\n let stopOrder: (() => void) | undefined\n watch([slot, element, anchor], ([place, row, mark]) => {\n stopOrder?.()\n stopOrder = place && row && mark ? followRowOrder(mark, row) : undefined\n }, { flush: \"post\" })\n onBeforeUnmount(() => { stopOrder?.(); stopOrder = undefined })\n return () => {\n const place = slot.value\n const row = h(\"div\", { ...attrs, \"ref\": element, \"class\": [s.Row, attrs.class], \"data-toolbar-row\": \"\", \"data-in-content\": place ? \"\" : undefined }, slots.default?.())\n // Under a large title the row waits for its place in the content, as React's does; a host with no content to\n // keep the title in (a Sheet without a body) keeps it in the bar.\n if (large.value && place) return [h(Teleport, { to: place }, [row]), h(\"span\", { \"ref\": anchor, \"data-toolbar-row-anchor\": \"\", \"hidden\": true })]\n if (large.value && host?.holdsLargeTitle?.value !== false) return null\n return row\n }\n },\n})\n\nconst ANDROID = '[data-platform=\"android\"]'\nconst TOP_BAR = '[data-toolbar][data-placement=\"top\"]'\n\n/** The places of a search at the top: its button's capsule among the bar's trailing actions, and the layer its field opens in. */\ntype SearchPlaces = { bar: HTMLElement; button: HTMLElement; layer: HTMLElement }\n\n/**\n * The top bar a search at the top stands in: the bar it is written in, or the top bar beside it (a Page's, a Sheet's),\n * looked up no further than its dialog. (React's twin)\n */\nfunction findTopBar(anchor: HTMLElement): HTMLElement | null {\n const home = anchor.parentElement\n if (home?.matches(TOP_BAR)) return home\n for (let node = home?.parentElement; node; node = node.parentElement) {\n const bar = node.querySelector<HTMLElement>(`:scope > ${TOP_BAR}`)\n if (bar) return bar\n if (node.hasAttribute(\"data-plex-dialog\")) return null\n }\n return null\n}\n\n/**\n * Makes the places of a search in the top bar and keeps them there: its button's capsule first among the bar's trailing\n * actions (in a trailing place of its own while the bar has none) and the layer over the bar its field opens in. The\n * bar's parts come and go and a page or a sheet can replace its bar: the places follow, and `onPlaces` hears of each\n * new bar. Returns the release. (React's twin)\n */\nfunction placeSearch(anchor: HTMLElement, onPlaces: (places: SearchPlaces | null) => void) {\n const doc = anchor.ownerDocument\n const make = (className: string, mark: string) => {\n const element = doc.createElement(\"div\")\n element.className = className\n element.setAttribute(mark, \"\")\n return element\n }\n const button = make(s.Group, \"data-toolbar-search-button\")\n const layer = make(s.SearchLayer, \"data-toolbar-search-layer\")\n const ownTrailing = make(s.Trailing, \"data-toolbar-search-trailing\")\n let bar: HTMLElement | null = null\n let reported: HTMLElement | null | undefined\n const leave = () => {\n bar?.removeAttribute(\"data-search\")\n bar?.removeAttribute(\"data-search-open\")\n button.remove()\n layer.remove()\n ownTrailing.remove()\n }\n const observer = typeof MutationObserver !== \"undefined\" ? new MutationObserver(() => place()) : undefined\n const place = () => {\n const next = findTopBar(anchor)\n if (next !== bar) {\n leave()\n observer?.disconnect()\n bar = next\n // The bar's own parts, and the bars beside it (a bar replaced, or one that comes later)\n for (const scope of [bar, bar?.parentElement, anchor.parentElement?.parentElement]) if (scope) observer?.observe(scope, { childList: true })\n }\n if (bar) {\n const trailing = Array.from(bar.children).find((child) => child.classList.contains(s.Trailing) && child !== ownTrailing)\n const home = trailing ?? ownTrailing\n if (home.firstElementChild !== button) home.prepend(button)\n if (trailing) ownTrailing.remove()\n else if (ownTrailing.parentElement !== bar) bar.append(ownTrailing)\n if (layer.parentElement !== bar) bar.append(layer)\n bar.setAttribute(\"data-search\", \"\")\n }\n if (bar !== reported) {\n reported = bar\n onPlaces(bar ? { bar, button, layer } : null)\n }\n }\n place()\n return () => {\n observer?.disconnect()\n leave()\n }\n}\n\n/**\n * The field grows out of its button and shrinks back into it: the button's capsule in the bar, by its layout box. Its\n * distance from the end of the bar's content is kept, not from the bar's edge, so it holds as the bar's gutter changes\n * (a Sheet's at the full screen). Set at once, with no transition. (React's twin)\n */\nfunction followSearchButton({ bar, button, layer }: SearchPlaces, field: HTMLElement | null) {\n let left = 0\n for (let node: HTMLElement | null = button; node && node !== bar; node = node.offsetParent as HTMLElement | null) left += node.offsetLeft\n const style = getComputedStyle(bar)\n const end = style.direction === \"rtl\"\n ? left - (Number.parseFloat(style.paddingLeft) || 0)\n : bar.clientWidth - (Number.parseFloat(style.paddingRight) || 0) - left - button.offsetWidth\n layer.style.setProperty(\"--toolbar-search-from-end\", `${end}px`)\n layer.style.setProperty(\"--toolbar-search-from-size\", `${button.offsetWidth}px`)\n // The leading actions an open field on iOS stands after (a Back, a Cancel, more than one): how far they reach in from\n // the bar's content start\n const leading = Array.from(bar.children).find((child): child is HTMLElement => child.classList.contains(s.Leading) && child.childElementCount > 0)\n if (leading) {\n let start = 0\n for (let node: HTMLElement | null = leading; node && node !== bar; node = node.offsetParent as HTMLElement | null) start += node.offsetLeft\n const reach = style.direction === \"rtl\"\n ? bar.clientWidth - (Number.parseFloat(style.paddingRight) || 0) - start\n : start + leading.offsetWidth - (Number.parseFloat(style.paddingLeft) || 0)\n layer.style.setProperty(\"--toolbar-search-leading\", `${reach}px`)\n } else {\n layer.style.removeProperty(\"--toolbar-search-leading\")\n }\n if (!field) return\n field.style.transition = \"none\"\n void field.offsetWidth\n field.style.transition = \"\"\n}\n\n/**\n * While a search at the top is open the bar's leading actions may change (a Back turning into a Cancel, one more): the\n * open field on iOS keeps standing after them. Returns the release.\n */\nfunction followLeading(places: SearchPlaces) {\n const measure = () => followSearchButton(places, null)\n const sizes = typeof ResizeObserver !== \"undefined\" ? new ResizeObserver(measure) : undefined\n const follow = () => {\n sizes?.disconnect()\n for (const child of Array.from(places.bar.children)) if (child.classList.contains(s.Leading)) sizes?.observe(child)\n measure()\n }\n const parts = typeof MutationObserver !== \"undefined\" ? new MutationObserver(follow) : undefined\n parts?.observe(places.bar, { childList: true })\n follow()\n return () => {\n sizes?.disconnect()\n parts?.disconnect()\n }\n}\n\n/** Closing the search clears its field, as a search closed on Android or canceled on iOS does: the field's own input event. */\nfunction clearSearchField(field: HTMLElement | null) {\n const input = field?.querySelector(\"input\")\n if (!input || input.value === \"\") return\n Object.getOwnPropertyDescriptor(Object.getPrototypeOf(input), \"value\")?.set?.call(input, \"\")\n input.dispatchEvent(new Event(\"input\", { bubbles: true }))\n}\n\n/**\n * Custom middle content: a search field, a segmented control or a single centered action (React `Toolbar.Content`).\n * With `search` it is the screen's search field, where its placement puts it. At the bottom it is the field in its bar.\n * At the top a search button stands first among the top bar's trailing actions, in the capsule of the icon buttons next\n * to it; pressed, it grows into the field over the bar as the title and the actions fade. On iOS the field stands before\n * a glass close, a leading action staying beside it (iOS 26 Files); in the Plex Android look it runs\n * from after a back circle to the bar's end, the leading action becoming the back arrow. The close, the back arrow or\n * Escape closes it, clears the field and gives the button its focus back; a Sheet on Android stands at the full screen\n * while it is open (Dialog.module.css).\n */\nexport const ToolbarContent = defineComponent({\n name: \"ToolbarContent\",\n inheritAttrs: false,\n props: {\n /** Stretch between the leading and trailing items, as a search field does. */\n fill: { type: Boolean, default: false },\n /**\n * Marks the content as the screen's search field (an `Input`) and sets where it stands (`ToolbarSearchPlacement`):\n * write it in the bottom bar, and at the top it becomes a search button of the top bar beside it, a Page's or a\n * Sheet's, that opens the field over that bar. `true` is `\"auto\"`: the bottom on iOS, the top on Android.\n */\n search: { type: [Boolean, String] as PropType<boolean | ToolbarSearchPlacement>, default: undefined },\n },\n setup(props, { slots, attrs }) {\n const bar = inject(TOOLBAR_BAR, null)\n const placement = computed<ToolbarSearchPlacement | undefined>(() => (props.search === true ? \"auto\" : props.search || undefined))\n const anchor = ref<HTMLElement | null>(null)\n // Whether it stands in the Plex Android look: `data-platform=\"android\"` on it or around it (PlexUIProvider)\n const android = ref(false)\n watch([placement, anchor], ([value, mark], _, onCleanup) => {\n if (!value || !mark) return\n const read = () => { android.value = !!mark.closest(ANDROID) }\n read()\n if (typeof MutationObserver === \"undefined\") return\n const observer = new MutationObserver(read)\n observer.observe(mark.ownerDocument.documentElement, { attributes: true, attributeFilter: [\"data-platform\"], subtree: true })\n onCleanup(() => observer.disconnect())\n }, { flush: \"post\", immediate: true })\n const top = computed(() => !!placement.value && (placement.value === \"auto\" ? (android.value ? \"top\" : \"bottom\") : placement.value) === \"top\")\n const places = shallowRef<SearchPlaces | null>(null)\n watch([top, anchor], ([value, mark], _, onCleanup) => {\n if (!value || !mark) return\n const release = placeSearch(mark, (next) => { places.value = next })\n onCleanup(() => { release(); places.value = null })\n }, { flush: \"post\", immediate: true })\n // Written in the bottom bar, it leaves that bar to the top one\n watch(() => !!places.value && bar?.placement() !== \"top\", (away, _, onCleanup) => {\n if (away && bar) onCleanup(bar.searchAway())\n }, { immediate: true })\n\n const open = ref(false)\n const field = ref<HTMLElement | null>(null)\n watch(places, (value) => {\n if (value) followSearchButton(value, field.value)\n else open.value = false\n }, { flush: \"post\" })\n // Open, the field follows the bar's leading actions as they change\n watch([places, open], ([value, isOpen], _, onCleanup) => {\n if (value && isOpen) onCleanup(followLeading(value))\n }, { flush: \"post\" })\n watch([places, open], ([value, isOpen]) => {\n if (!value) return\n value.bar.toggleAttribute(\"data-search-open\", isOpen)\n if (isOpen) field.value?.querySelector(\"input\")?.focus({ preventScroll: true })\n }, { flush: \"post\" })\n // The button takes the field's name: \"Search materials\"\n const name = ref(\"Search\")\n const readName = () => {\n const input = field.value?.querySelector(\"input\")\n name.value = input?.getAttribute(\"aria-label\") || input?.placeholder || \"Search\"\n }\n onMounted(readName)\n onUpdated(readName)\n watch(places, readName, { flush: \"post\" })\n const openSearch = () => {\n if (places.value) followSearchButton(places.value, field.value)\n open.value = true\n }\n const closeSearch = () => {\n if (places.value) {\n followSearchButton(places.value, null)\n // Closed at once, so the button is there to take the focus back\n places.value.bar.removeAttribute(\"data-search-open\")\n }\n clearSearchField(field.value)\n open.value = false\n places.value?.button.querySelector<HTMLElement>(\"[data-toolbar-search-trigger]\")?.focus({ preventScroll: true })\n }\n useEscCloseStack(open, closeSearch)\n\n return () => {\n const children = slots.default?.()\n const content = { ...attrs, \"class\": [s.Content, attrs.class], \"data-fill\": props.fill ? \"\" : undefined }\n if (!placement.value) return h(\"div\", content, children)\n const mark = h(\"span\", { \"ref\": anchor, \"hidden\": true, \"data-toolbar-search-anchor\": \"\" })\n const place = places.value\n if (!place) return [mark, h(\"div\", { ...content, ref: field }, children)]\n return [\n mark,\n h(Teleport, { to: place.button }, [h(Button, {\n \"color\": \"secondary\",\n \"variant\": \"soft\",\n \"uniform\": true,\n \"pill\": true,\n \"aria-label\": name.value,\n \"aria-expanded\": open.value ? \"true\" : \"false\",\n \"data-toolbar-search-trigger\": \"\",\n \"onClick\": openSearch,\n }, () => h(SearchLg))]),\n // Android closes it with a back arrow before the field, iOS with a close after it: both stand in the layer, the\n // other platform's hidden, so the field never moves (its text and its focus stay) as the platform changes\n h(Teleport, { to: place.layer }, [\n h(\"div\", { key: \"back\", class: [s.Leading, s.SearchBack], hidden: !android.value }, [h(NavigationButton, {\n \"action\": \"back\",\n \"aria-label\": \"Close search\",\n \"tabindex\": open.value ? undefined : -1,\n \"onClick\": closeSearch,\n })]),\n h(\"div\", { ...attrs, \"key\": \"field\", \"ref\": field, \"class\": [s.Content, s.SearchField, attrs.class], \"data-fill\": \"\" }, children),\n h(\"div\", { key: \"close\", class: [s.Trailing, s.SearchClose], hidden: android.value }, [h(NavigationButton, {\n \"action\": \"close\",\n \"aria-label\": \"Close search\",\n \"tabindex\": open.value ? undefined : -1,\n \"onClick\": closeSearch,\n })]),\n ]),\n ]\n }\n },\n})\n\n/** Whether a part of a bar is a search (`ToolbarContent search`), or renders nothing. */\nfunction isSearchContent(node: VNode): boolean {\n if (node.type === Comment) return true\n if (node.type === Fragment && Array.isArray(node.children)) return (node.children as VNode[]).every(isSearchContent)\n const search = (node.props as Record<string, unknown> | null)?.search\n return node.type === ToolbarContent && search != null && search !== false\n}\n\n/** The bar title, with an optional second line (React `Toolbar.Title`). */\nexport const ToolbarTitle = defineComponent({\n name: \"ToolbarTitle\",\n inheritAttrs: false,\n props: {\n /** A second, smaller line below the title. The `subtitle` slot takes precedence. */\n subtitle: { type: String, default: undefined },\n /**\n * Heading level. In a Dialog the dialog's own title names the Sheet, so the bar title is hidden\n * from assistive technology there.\n * @default \"h1\"\n */\n as: { type: String as PropType<\"h1\" | \"h2\" | \"h3\">, default: \"h1\" },\n },\n setup(props, { slots, attrs }) {\n const host = inject(TOOLBAR_HOST, null)\n const titleStyle = inject(TOOLBAR_TITLE_STYLE, null)\n const bar = inject(TOOLBAR_ELEMENT, null)\n const heading = ref<HTMLElement | null>(null)\n // A page, and a Dialog with its body, keep the title at the top of their content\n const large = computed(() => titleStyle?.value === \"large\" && !!host?.requestLargeTitleSlot)\n const slot = computed(() => (large.value ? host?.largeTitleSlot?.value ?? null : null))\n let release: (() => void) | undefined\n // A watch that ran first has asked already (Codex #68)\n onMounted(() => { if (large.value && !release) release = host?.requestLargeTitleSlot?.() })\n watch(large, (value) => {\n release?.()\n release = value ? host?.requestLargeTitleSlot?.() : undefined\n })\n // In the content the title scrolls with it, on the compositor and through the overscroll, as on iOS 26. Once it has\n // gone under the bar (its last line at the bar's bottom), the bar shows it inline and a hard or glass bar its line.\n // It starts once mounted too: a bar replaced under a page that keeps its content finds the place already there.\n let stopFollowing: (() => void) | undefined\n const follow = () => {\n stopFollowing?.()\n stopFollowing = undefined\n const element = bar?.value\n const title = heading.value\n if (!slot.value || !element || !title || !host?.subscribeScroll) return\n stopFollowing = followLargeTitle(element, title, host.subscribeScroll)\n }\n onMounted(follow)\n watch([slot, () => bar?.value], follow, { flush: \"post\" })\n onBeforeUnmount(() => { stopFollowing?.(); release?.() })\n return () => {\n // An empty subtitle, from the prop or a slot that renders nothing, leaves the title on one line, as in React.\n const present = (value: unknown) => (Array.isArray(value) ? value.length > 0 : value != null && value !== \"\")\n const subtitle = slots.subtitle?.() ?? props.subtitle\n const place = slot.value\n const title = h(\"div\", { \"ref\": heading, \"class\": s.Heading, \"aria-hidden\": host?.kind === \"dialog\" ? \"true\" : undefined, \"data-in-content\": place ? \"\" : undefined }, [\n h(props.as, { ...attrs, class: [s.Title, attrs.class] }, slots.default?.()),\n present(subtitle) ? h(\"p\", { class: s.Subtitle }, subtitle) : null,\n ])\n if (!large.value) return title\n // Until the content has made its place (a server-rendered page before it hydrates), the title stands in the bar\n // where it will stand in the content. The inline copy the row of controls shows once the large title has gone\n // under it keeps a subtitle as a second line, as in the inline title (iOS 26 kit Toolbar - Top - iPhone, Title 2 Line).\n const copySubtitle = slots.subtitle?.() ?? props.subtitle\n const copy = present(copySubtitle)\n ? [h(\"span\", { class: s.CollapsedLine }, slots.default?.()), h(\"span\", { class: s.CollapsedSubtitle }, copySubtitle)]\n : slots.default?.()\n return [h(Teleport, { to: place ?? \"body\", disabled: !place }, [title]), h(\"span\", { \"class\": s.CollapsedTitle, \"aria-hidden\": \"true\" }, copy)]\n }\n },\n})\n"]}
|
|
@@ -474,6 +474,7 @@ export { default as Scissor } from "./svg/Scissor.js";
|
|
|
474
474
|
export { default as ScreenPosition } from "./svg/ScreenPosition.js";
|
|
475
475
|
export { default as Search } from "./svg/Search.js";
|
|
476
476
|
export { default as SearchConnector } from "./svg/SearchConnector.js";
|
|
477
|
+
export { default as SearchLg } from "./svg/SearchLg.js";
|
|
477
478
|
export { default as SearchSm } from "./svg/SearchSm.js";
|
|
478
479
|
export { default as SelectText } from "./svg/SelectText.js";
|
|
479
480
|
export { default as SettingsCircle } from "./svg/SettingsCircle.js";
|
|
@@ -42,8 +42,22 @@ declare const SliderComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
42
42
|
ariaLabel: StringConstructor;
|
|
43
43
|
/** Id of an element that names the slider; takes precedence over `label` */
|
|
44
44
|
ariaLabelledby: StringConstructor;
|
|
45
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Labels of points of the scale, each at the knob's place at its value: under the track, or over it on an iOS
|
|
47
|
+
* phone (touch.css), as Settings' Balance writes L, its value and R (15/20, the baseline 31px over the track's
|
|
48
|
+
* middle, a mark at either end of the range 5px in from that end of the track). Horizontal only.
|
|
49
|
+
*/
|
|
46
50
|
marks: PropType<SliderMark[]>;
|
|
51
|
+
/**
|
|
52
|
+
* A dot at each step under the track, where the knob's centre stands on it, the knob covering its own: iOS
|
|
53
|
+
* 27.2's ticks on a phone (3px, 8.5px under the track's middle, `--slider-tick-*`), drawn where the steps stand
|
|
54
|
+
* 9px or more apart. Horizontal only; the Plex Android phone draws none. An array of values puts the dots at those
|
|
55
|
+
* values only, as Settings' Balance marks its ends and its middle under a slider of fine steps. @default false
|
|
56
|
+
*/
|
|
57
|
+
ticks: {
|
|
58
|
+
type: PropType<boolean | number[]>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
47
61
|
/** Color of the slider track */
|
|
48
62
|
trackColor: StringConstructor;
|
|
49
63
|
/** Color of the slider progress along the track */
|
|
@@ -114,8 +128,22 @@ declare const SliderComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
114
128
|
ariaLabel: StringConstructor;
|
|
115
129
|
/** Id of an element that names the slider; takes precedence over `label` */
|
|
116
130
|
ariaLabelledby: StringConstructor;
|
|
117
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* Labels of points of the scale, each at the knob's place at its value: under the track, or over it on an iOS
|
|
133
|
+
* phone (touch.css), as Settings' Balance writes L, its value and R (15/20, the baseline 31px over the track's
|
|
134
|
+
* middle, a mark at either end of the range 5px in from that end of the track). Horizontal only.
|
|
135
|
+
*/
|
|
118
136
|
marks: PropType<SliderMark[]>;
|
|
137
|
+
/**
|
|
138
|
+
* A dot at each step under the track, where the knob's centre stands on it, the knob covering its own: iOS
|
|
139
|
+
* 27.2's ticks on a phone (3px, 8.5px under the track's middle, `--slider-tick-*`), drawn where the steps stand
|
|
140
|
+
* 9px or more apart. Horizontal only; the Plex Android phone draws none. An array of values puts the dots at those
|
|
141
|
+
* values only, as Settings' Balance marks its ends and its middle under a slider of fine steps. @default false
|
|
142
|
+
*/
|
|
143
|
+
ticks: {
|
|
144
|
+
type: PropType<boolean | number[]>;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
119
147
|
/** Color of the slider track */
|
|
120
148
|
trackColor: StringConstructor;
|
|
121
149
|
/** Color of the slider progress along the track */
|
|
@@ -145,6 +173,7 @@ declare const SliderComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
145
173
|
disabled: boolean;
|
|
146
174
|
orientation: "vertical" | "horizontal";
|
|
147
175
|
range: boolean;
|
|
176
|
+
ticks: boolean | number[];
|
|
148
177
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
149
178
|
type SliderOwnProps = InstanceType<typeof SliderComponent>["$props"];
|
|
150
179
|
type SliderBaseProps = Omit<SliderOwnProps, "range" | "value" | "resetValue" | "resetTooltip" | "minStepsBetweenThumbs" | "onUpdate:value" | "onChange"> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plexui/vue",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.16",
|
|
4
4
|
"description": "Plex UI components for Vue 3, built on Reka UI and the shared @plexui/styles CSS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@maskito/core": "5.2.2",
|
|
78
78
|
"@maskito/kit": "5.2.2",
|
|
79
79
|
"@maskito/vue": "5.2.2",
|
|
80
|
-
"@plexui/styles": "^0.17.
|
|
80
|
+
"@plexui/styles": "^0.17.16",
|
|
81
81
|
"@tanstack/table-core": "8.21.3",
|
|
82
82
|
"@tanstack/vue-table": "8.21.3",
|
|
83
83
|
"@tiptap/core": "3.21.0",
|