@conciv/ui-kit-system 0.0.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/LICENSE +21 -0
- package/README.md +12 -0
- package/dist/avatar.d.ts +12 -0
- package/dist/avatar.d.ts.map +1 -0
- package/dist/button.d.ts +8 -0
- package/dist/button.d.ts.map +1 -0
- package/dist/collapsible.d.ts +8 -0
- package/dist/collapsible.d.ts.map +1 -0
- package/dist/combobox.d.ts +2 -0
- package/dist/combobox.d.ts.map +1 -0
- package/dist/dialog.d.ts +10 -0
- package/dist/dialog.d.ts.map +1 -0
- package/dist/environment.d.ts +2 -0
- package/dist/environment.d.ts.map +1 -0
- package/dist/hover-card.d.ts +12 -0
- package/dist/hover-card.d.ts.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +482 -0
- package/dist/index.js.map +1 -0
- package/dist/menu.d.ts +16 -0
- package/dist/menu.d.ts.map +1 -0
- package/dist/popover.d.ts +11 -0
- package/dist/popover.d.ts.map +1 -0
- package/dist/presence.d.ts +4 -0
- package/dist/presence.d.ts.map +1 -0
- package/dist/progress.d.ts +2 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/relative-time.d.ts +6 -0
- package/dist/relative-time.d.ts.map +1 -0
- package/dist/scroll-area.d.ts +10 -0
- package/dist/scroll-area.d.ts.map +1 -0
- package/dist/swap.d.ts +8 -0
- package/dist/swap.d.ts.map +1 -0
- package/dist/switch.d.ts +14 -0
- package/dist/switch.d.ts.map +1 -0
- package/dist/tabs.d.ts +14 -0
- package/dist/tabs.d.ts.map +1 -0
- package/dist/text-field.d.ts +12 -0
- package/dist/text-field.d.ts.map +1 -0
- package/dist/toast.d.ts +13 -0
- package/dist/toast.d.ts.map +1 -0
- package/dist/tokens.d.ts +166 -0
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +168 -0
- package/dist/tokens.js.map +1 -0
- package/dist/tooltip.d.ts +10 -0
- package/dist/tooltip.d.ts.map +1 -0
- package/package.json +79 -0
- package/src/tokens.css +42 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["splitProps","JSX","ButtonVariant","ButtonSize","BASE","VARIANT","Record","solid","ghost","outline","danger","SIZE","sm","md","icon","Button","props","ButtonHTMLAttributes","HTMLButtonElement","variant","size","Element","local","rest","_el$","_tmpl$","_$spread","_$mergeProps","type","class","splitProps","ComponentProps","Collapsible","Ark","CONTENT","Content","props","local","rest","_$createComponent","_$mergeProps","class","Object","assign","JSX","HoverCard","Ark","CONTENT","props","trigger","Element","triggerClass","children","openDelay","closeDelay","sideOffset","class","label","_$createComponent","Root","positioning","strategy","placement","gutter","Trigger","aria-label","Positioner","Content","splitProps","ComponentProps","ScrollArea","Ark","SCROLLBAR","THUMB","Scrollbar","props","local","rest","_$createComponent","_$mergeProps","class","Thumb","Object","assign","JSX","Dialog","Ark","BACKDROP","POSITIONER","CONTENT","props","open","onOpenChange","label","dismissable","children","Element","_$createComponent","Root","d","role","modal","closeOnEscape","closeOnInteractOutside","Backdrop","Positioner","Content","aria-label","DialogApi","createEffect","onMount","Show","splitProps","JSX","Field","ROOT","LABEL","INPUT","TextField","props","InputHTMLAttributes","HTMLInputElement","label","Element","local","rest","_$createComponent","Root","class","children","when","Label","Input","_$mergeProps","TEXTAREA","TEXTAREA_BARE","TextAreaProps","Omit","TextareaHTMLAttributes","HTMLTextAreaElement","minRows","maxRows","onHeightChange","height","unstyled","rowsToPx","el","rows","styles","getComputedStyle","lineHeight","Number","parseFloat","vertical","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth","TextArea","grow","max","min","style","next","Math","scrollHeight","overflowY","value","forwardRef","ref","_el$","_tmpl$","$$input","event","onInput","_$use","node","_$spread","_$delegateEvents","splitProps","ComponentProps","Tooltip","Ark","CONTENT","Root","props","local","rest","_$createComponent","_$mergeProps","openDelay","closeDelay","positioning","strategy","placement","gutter","Content","class","Object","assign","splitProps","ComponentProps","Menu","Ark","CONTENT","ITEM","ITEM_GROUP_LABEL","SEPARATOR","Root","props","local","rest","_$createComponent","_$mergeProps","positioning","strategy","placement","gutter","Content","class","Item","ItemGroupLabel","Separator","Object","assign","splitProps","ComponentProps","Popover","Ark","CONTENT","Root","props","local","rest","_$createComponent","_$mergeProps","positioning","strategy","placement","gutter","Content","class","Object","assign","PopoverApi","Show","JSX","Toast","Ark","Toaster","ArkToaster","createToaster","XIcon","ROOT","TITLE","DESCRIPTION","CLOSE","ToasterInstance","ReturnType","props","toaster","Element","_$createComponent","children","toast","Root","Title","title","when","description","Description","CloseTrigger","size","Object","assign","splitProps","ComponentProps","Avatar","Ark","ROOT","IMAGE","FALLBACK","Root","props","local","rest","_$createComponent","_$mergeProps","class","Image","Fallback","Object","assign","JSX","Format","RelativeTime","props","value","Date","class","Element","_el$","_tmpl$","_$insert","_$createComponent","numeric","style","_$effect","_$className","splitProps","ComponentProps","Tabs","Ark","LIST","TRIGGER","CONTENT","INDICATOR","List","props","local","rest","_$createComponent","_$mergeProps","class","Trigger","Content","Indicator","Object","assign","splitProps","ComponentProps","Switch","Ark","ROOT","CONTROL","THUMB","LABEL","Root","props","local","rest","_$createComponent","_$mergeProps","class","Control","Thumb","Label","Object","assign","splitProps","ComponentProps","Swap","Ark","INDICATOR","Indicator","props","local","rest","_$createComponent","_$mergeProps","class","Object","assign","splitProps","ComponentProps","Presence","Ark","PRESENCE","props","local","rest","_$createComponent","_$mergeProps","class"],"sources":["../src/button.tsx","../src/collapsible.tsx","../src/hover-card.tsx","../src/scroll-area.tsx","../src/dialog.tsx","../src/text-field.tsx","../src/tooltip.tsx","../src/menu.tsx","../src/popover.tsx","../src/toast.tsx","../src/avatar.tsx","../src/relative-time.tsx","../src/tabs.tsx","../src/switch.tsx","../src/swap.tsx","../src/presence.tsx"],"sourcesContent":["import {splitProps, type JSX} from 'solid-js'\n\nexport type ButtonVariant = 'solid' | 'ghost' | 'outline' | 'danger'\nexport type ButtonSize = 'sm' | 'md' | 'icon'\n\nconst BASE =\n 'inline-flex items-center justify-center gap-1.5 font-pw cursor-pointer trans-btn focus-ring [border:1px_solid_transparent] disabled:opacity-50 disabled:cursor-not-allowed'\n\nconst VARIANT: Record<ButtonVariant, string> = {\n solid: 'bg-pw-accent text-pw-on-accent hover:bg-pw-accent-hi',\n ghost: 'bg-transparent text-pw-text-2 hover:text-pw-text hover:bg-pw-fill-strong',\n outline: 'bg-pw-fill text-pw-text [border-color:var(--pw-line)] hover:bg-pw-fill-strong',\n danger: 'bg-pw-danger text-pw-on-accent hover:opacity-90',\n}\n\nconst SIZE: Record<ButtonSize, string> = {\n sm: 'text-[0.6875rem] rounded-pw-sm py-0.5 px-2',\n md: 'text-[0.8125rem] rounded-pw-md py-2 px-3',\n icon: 'rounded-pw-md size-9.5',\n}\n\nexport function Button(\n props: JSX.ButtonHTMLAttributes<HTMLButtonElement> & {variant?: ButtonVariant; size?: ButtonSize},\n): JSX.Element {\n const [local, rest] = splitProps(props, ['variant', 'size', 'class', 'type'])\n return (\n <button\n type={local.type ?? 'button'}\n class={`${BASE} ${VARIANT[local.variant ?? 'solid']} ${SIZE[local.size ?? 'md']} ${local.class ?? ''}`}\n {...rest}\n />\n )\n}\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {Collapsible as Ark} from '@ark-ui/solid/collapsible'\n\nconst CONTENT = 'overflow-hidden data-[state=open]:anim-collapse-open data-[state=closed]:anim-collapse-closed'\n\nfunction Content(props: ComponentProps<typeof Ark.Content>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Content {...rest} class={`${CONTENT} ${local.class ?? ''}`} />\n}\n\nexport const Collapsible = Object.assign({}, Ark, {Content})\n","import type {JSX} from 'solid-js'\nimport {HoverCard as Ark} from '@ark-ui/solid/hover-card'\n\nconst CONTENT =\n 'hidden data-[state=open]:block data-[state=open]:anim-combo z-[2147483647] w-60 rounded-pw-md overflow-hidden bg-pw-panel text-pw-text border border-pw-line shadow-pw-lg text-[0.75rem] focus-visible:outline-none'\n\nexport function HoverCard(props: {\n trigger: JSX.Element\n triggerClass?: string\n children: JSX.Element\n openDelay?: number\n closeDelay?: number\n sideOffset?: number\n class?: string\n label?: string\n}): JSX.Element {\n return (\n <Ark.Root\n openDelay={props.openDelay ?? 0}\n closeDelay={props.closeDelay ?? 120}\n positioning={{strategy: 'fixed', placement: 'bottom-start', gutter: props.sideOffset ?? 6}}\n >\n <Ark.Trigger class={props.triggerClass} aria-label={props.label}>\n {props.trigger}\n </Ark.Trigger>\n <Ark.Positioner>\n <Ark.Content class={`${CONTENT} ${props.class ?? ''}`}>{props.children}</Ark.Content>\n </Ark.Positioner>\n </Ark.Root>\n )\n}\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {ScrollArea as Ark} from '@ark-ui/solid/scroll-area'\n\nconst SCROLLBAR =\n 'flex p-0.5 opacity-0 pointer-events-none [transition:opacity_150ms] [&[data-hover]]:opacity-100 [&[data-scrolling]]:opacity-100 [&[data-hover]]:pointer-events-auto [&[data-scrolling]]:pointer-events-auto [&[data-orientation=vertical]]:w-2 [&[data-orientation=horizontal]]:h-2 [&[data-orientation=vertical]:not([data-overflow-y])]:hidden [&[data-orientation=horizontal]:not([data-overflow-x])]:hidden'\nconst THUMB =\n 'w-full rounded-pw-pill bg-pw-accent-link [&[data-orientation=horizontal]]:w-auto [&[data-orientation=horizontal]]:h-full'\n\nfunction Scrollbar(props: ComponentProps<typeof Ark.Scrollbar>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Scrollbar {...rest} class={`${SCROLLBAR} ${local.class ?? ''}`} />\n}\n\nfunction Thumb(props: ComponentProps<typeof Ark.Thumb>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Thumb {...rest} class={`${THUMB} ${local.class ?? ''}`} />\n}\n\nexport const ScrollArea = Object.assign({}, Ark, {Scrollbar, Thumb})\n","import type {JSX} from 'solid-js'\nimport {Dialog as Ark} from '@ark-ui/solid/dialog'\n\nconst BACKDROP = 'fixed inset-0 z-[2147483646] bg-[rgba(0,0,0,0.55)] [backdrop-filter:blur(0.125rem)]'\nconst POSITIONER = 'fixed inset-0 z-[2147483647] flex items-center justify-center p-4'\nconst CONTENT =\n 'w-90 max-w-[calc(100vw-2rem)] rounded-pw-lg bg-pw-panel text-pw-text border border-pw-line shadow-pw-lg p-4 focus-visible:outline-none data-[state=open]:anim-rise'\n\nexport function Dialog(props: {\n open: boolean\n onOpenChange?: (open: boolean) => void\n label?: string\n dismissable?: boolean\n children: JSX.Element\n}): JSX.Element {\n return (\n <Ark.Root\n open={props.open}\n onOpenChange={(d) => props.onOpenChange?.(d.open)}\n role=\"alertdialog\"\n modal\n closeOnEscape={props.dismissable ?? false}\n closeOnInteractOutside={props.dismissable ?? false}\n >\n <Ark.Backdrop class={BACKDROP} />\n <Ark.Positioner class={POSITIONER}>\n <Ark.Content class={CONTENT} aria-label={props.label}>\n {props.children}\n </Ark.Content>\n </Ark.Positioner>\n </Ark.Root>\n )\n}\n\nexport type DialogApi = typeof Dialog\n","import {createEffect, onMount, Show, splitProps, type JSX} from 'solid-js'\nimport {Field} from '@ark-ui/solid/field'\n\nconst ROOT = 'flex flex-col gap-1'\nconst LABEL = 'text-[0.75rem] text-pw-text-2 font-pw'\nconst INPUT =\n 'w-full font-pw text-[0.8125rem] rounded-pw-md bg-pw-fill text-pw-text [border:1px_solid_var(--pw-line)] py-2 px-3 focus-ring placeholder:text-pw-text-3'\n\nexport function TextField(props: JSX.InputHTMLAttributes<HTMLInputElement> & {label?: string}): JSX.Element {\n const [local, rest] = splitProps(props, ['label', 'class'])\n return (\n <Field.Root class={`${ROOT} ${local.class ?? ''}`}>\n <Show when={local.label}>\n <Field.Label class={LABEL}>{local.label}</Field.Label>\n </Show>\n <Field.Input class={INPUT} {...rest} />\n </Field.Root>\n )\n}\n\nconst TEXTAREA =\n 'w-full resize-none font-pw text-[0.8125rem] rounded-pw-md bg-pw-fill text-pw-text [border:1px_solid_var(--pw-line)] py-2 px-3 focus-ring placeholder:text-pw-text-3'\n// Chrome-less variant: just the autosizing textarea, for callers that supply their own box (e.g. a composer).\nconst TEXTAREA_BARE =\n 'w-full resize-none [background:transparent] [border:none] [font:inherit] focus-visible:outline-none'\n\nexport type TextAreaProps = Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, 'style'> & {\n minRows?: number\n maxRows?: number\n onHeightChange?: (height: number) => void\n unstyled?: boolean\n}\n\nfunction rowsToPx(el: HTMLTextAreaElement, rows: number): number {\n const styles = getComputedStyle(el)\n const lineHeight = Number.parseFloat(styles.lineHeight) || 20\n const vertical =\n Number.parseFloat(styles.paddingTop) +\n Number.parseFloat(styles.paddingBottom) +\n Number.parseFloat(styles.borderTopWidth) +\n Number.parseFloat(styles.borderBottomWidth)\n return rows * lineHeight + vertical\n}\n\nexport function TextArea(props: TextAreaProps): JSX.Element {\n const [local, rest] = splitProps(props, [\n 'class',\n 'minRows',\n 'maxRows',\n 'onHeightChange',\n 'onInput',\n 'value',\n 'ref',\n 'unstyled',\n ])\n let el: HTMLTextAreaElement | undefined\n const grow = () => {\n if (!el) return\n const max = rowsToPx(el, local.maxRows ?? 5)\n const min = rowsToPx(el, local.minRows ?? 1)\n el.style.height = 'auto'\n const next = Math.max(min, Math.min(el.scrollHeight, max))\n el.style.height = `${next}px`\n el.style.overflowY = el.scrollHeight > max ? 'auto' : 'hidden'\n local.onHeightChange?.(next)\n }\n onMount(grow)\n createEffect(() => {\n void local.value\n grow()\n })\n const forwardRef = local.ref\n return (\n <textarea\n ref={(node) => {\n el = node\n if (typeof forwardRef === 'function') forwardRef(node)\n }}\n rows={local.minRows ?? 1}\n class={`${local.unstyled ? TEXTAREA_BARE : TEXTAREA} ${local.class ?? ''}`}\n value={local.value}\n onInput={(event) => {\n grow()\n if (typeof local.onInput === 'function') local.onInput(event)\n }}\n {...rest}\n />\n )\n}\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {Tooltip as Ark} from '@ark-ui/solid/tooltip'\n\nconst CONTENT =\n 'hidden data-[state=open]:block data-[state=open]:anim-combo z-[2147483647] rounded-pw-sm bg-pw-panel text-pw-text border border-pw-line shadow-pw-lg py-1 px-2 text-[0.6875rem] max-w-60 focus-visible:outline-none'\n\nfunction Root(props: ComponentProps<typeof Ark.Root>) {\n const [local, rest] = splitProps(props, ['positioning', 'openDelay', 'closeDelay'])\n return (\n <Ark.Root\n openDelay={local.openDelay ?? 300}\n closeDelay={local.closeDelay ?? 80}\n positioning={{strategy: 'fixed', placement: 'top', gutter: 6, ...local.positioning}}\n {...rest}\n />\n )\n}\n\nfunction Content(props: ComponentProps<typeof Ark.Content>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Content {...rest} class={`${CONTENT} ${local.class ?? ''}`} />\n}\n\nexport const Tooltip = Object.assign({}, Ark, {Root, Content})\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {Menu as Ark} from '@ark-ui/solid/menu'\n\nconst CONTENT =\n 'hidden data-[state=open]:block data-[state=open]:anim-combo z-[2147483647] min-w-44 rounded-pw-md bg-pw-panel text-pw-text border border-pw-line shadow-pw-lg p-1 focus-visible:outline-none'\nconst ITEM =\n 'flex items-center gap-2 min-h-8 py-1.5 px-2.5 rounded-pw-sm text-[0.8125rem] text-pw-text-2 cursor-pointer select-none outline-none data-[highlighted]:bg-pw-fill-strong data-[highlighted]:text-pw-text data-[disabled]:opacity-50 data-[disabled]:cursor-not-allowed'\nconst ITEM_GROUP_LABEL = 'py-1.5 px-2.5 text-[0.6875rem] font-pw text-pw-text-3 uppercase tracking-wide'\nconst SEPARATOR = 'h-px my-1 bg-pw-line'\n\nfunction Root(props: ComponentProps<typeof Ark.Root>) {\n const [local, rest] = splitProps(props, ['positioning'])\n return (\n <Ark.Root positioning={{strategy: 'fixed', placement: 'bottom-start', gutter: 4, ...local.positioning}} {...rest} />\n )\n}\n\nfunction Content(props: ComponentProps<typeof Ark.Content>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Content {...rest} class={`${CONTENT} ${local.class ?? ''}`} />\n}\n\nfunction Item(props: ComponentProps<typeof Ark.Item>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Item {...rest} class={`${ITEM} ${local.class ?? ''}`} />\n}\n\nfunction ItemGroupLabel(props: ComponentProps<typeof Ark.ItemGroupLabel>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.ItemGroupLabel {...rest} class={`${ITEM_GROUP_LABEL} ${local.class ?? ''}`} />\n}\n\nfunction Separator(props: ComponentProps<typeof Ark.Separator>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Separator {...rest} class={`${SEPARATOR} ${local.class ?? ''}`} />\n}\n\nexport const Menu = Object.assign({}, Ark, {Root, Content, Item, ItemGroupLabel, Separator})\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {Popover as Ark} from '@ark-ui/solid/popover'\n\nconst CONTENT =\n 'hidden data-[state=open]:block data-[state=open]:anim-rise z-[2147483647] rounded-pw-lg bg-pw-panel text-pw-text border border-pw-line shadow-pw-lg focus-visible:outline-none'\n\nfunction Root(props: ComponentProps<typeof Ark.Root>) {\n const [local, rest] = splitProps(props, ['positioning'])\n return <Ark.Root positioning={{strategy: 'fixed', placement: 'top-end', gutter: 8, ...local.positioning}} {...rest} />\n}\n\nfunction Content(props: ComponentProps<typeof Ark.Content>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Content {...rest} class={`${CONTENT} ${local.class ?? ''}`} />\n}\n\nexport const Popover = Object.assign({}, Ark, {Root, Content})\nexport type PopoverApi = typeof Popover\n","import {Show, type JSX} from 'solid-js'\nimport {Toast as Ark, Toaster as ArkToaster, createToaster} from '@ark-ui/solid/toast'\nimport {XIcon} from 'lucide-solid'\n\nconst ROOT =\n 'relative w-80 max-w-[calc(100vw-2rem)] flex flex-col gap-1 items-start py-3 pl-3.5 pr-9 rounded-pw-md bg-pw-panel text-pw-text border border-pw-line shadow-pw-lg [translate:var(--x)_var(--y)] [scale:var(--scale)] [z-index:var(--z-index)] [height:var(--height)] [opacity:var(--opacity)] data-[type=error]:[border-color:var(--pw-danger)] data-[type=success]:[border-color:var(--pw-success)]'\nconst TITLE = 'text-[0.8125rem] font-pw text-pw-text-hi'\nconst DESCRIPTION = 'text-[0.75rem] text-pw-text-2'\nconst CLOSE =\n 'absolute top-1.5 right-1.5 inline-flex items-center justify-center size-7 rounded-pw-sm text-pw-text-3 cursor-pointer hover:text-pw-text hover:bg-pw-fill-strong focus-ring'\n\ntype ToasterInstance = ReturnType<typeof createToaster>\n\nfunction Toaster(props: {toaster: ToasterInstance}): JSX.Element {\n return (\n <ArkToaster toaster={props.toaster}>\n {(toast) => (\n <Ark.Root class={ROOT}>\n <Ark.Title class={TITLE}>{toast().title}</Ark.Title>\n <Show when={toast().description}>\n <Ark.Description class={DESCRIPTION}>{toast().description}</Ark.Description>\n </Show>\n <Ark.CloseTrigger class={CLOSE} aria-label=\"Dismiss notification\">\n <XIcon size={16} />\n </Ark.CloseTrigger>\n </Ark.Root>\n )}\n </ArkToaster>\n )\n}\n\nexport const Toast = Object.assign({}, Ark, {Toaster, createToaster})\nexport {createToaster}\nexport type {ToasterInstance}\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {Avatar as Ark} from '@ark-ui/solid/avatar'\n\nconst ROOT =\n 'inline-flex items-center justify-center size-7 rounded-pw-pill overflow-hidden bg-pw-fill-strong text-pw-text-2 text-[0.6875rem] font-pw select-none shrink-0'\nconst IMAGE = 'size-full object-cover'\nconst FALLBACK = 'inline-flex items-center justify-center size-full uppercase'\n\nfunction Root(props: ComponentProps<typeof Ark.Root>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Root {...rest} class={`${ROOT} ${local.class ?? ''}`} />\n}\n\nfunction Image(props: ComponentProps<typeof Ark.Image>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Image {...rest} class={`${IMAGE} ${local.class ?? ''}`} />\n}\n\nfunction Fallback(props: ComponentProps<typeof Ark.Fallback>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Fallback {...rest} class={`${FALLBACK} ${local.class ?? ''}`} />\n}\n\nexport const Avatar = Object.assign({}, Ark, {Root, Image, Fallback})\n","import type {JSX} from 'solid-js'\nimport {Format} from '@ark-ui/solid/format'\n\n// Ark's Intl.RelativeTimeFormat wrapper (locale-aware, cached). numeric:'auto' renders \"now\"/\"yesterday\"\n// rather than \"in 0 seconds\"; it formats against the live clock, so a just-created item never reads as\n// the future — replacing a hand-rolled formatter that did.\nexport function RelativeTime(props: {value: Date; class?: string}): JSX.Element {\n return (\n <span class={props.class}>\n <Format.RelativeTime value={props.value} numeric=\"auto\" style=\"narrow\" />\n </span>\n )\n}\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {Tabs as Ark} from '@ark-ui/solid/tabs'\n\nconst LIST = 'relative flex items-center gap-1 border-b border-pw-line'\nconst TRIGGER =\n 'relative inline-flex items-center gap-1.5 py-2 px-3 text-[0.8125rem] font-pw text-pw-text-3 cursor-pointer select-none trans-btn hover:text-pw-text-2 data-[selected]:text-pw-text focus-ring disabled:opacity-50 disabled:cursor-not-allowed'\nconst CONTENT = 'pt-3 focus-visible:outline-none'\nconst INDICATOR = 'absolute bottom-0 h-0.5 bg-pw-accent [width:var(--width)] [left:var(--left)] trans-btn'\n\nfunction List(props: ComponentProps<typeof Ark.List>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.List {...rest} class={`${LIST} ${local.class ?? ''}`} />\n}\n\nfunction Trigger(props: ComponentProps<typeof Ark.Trigger>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Trigger {...rest} class={`${TRIGGER} ${local.class ?? ''}`} />\n}\n\nfunction Content(props: ComponentProps<typeof Ark.Content>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Content {...rest} class={`${CONTENT} ${local.class ?? ''}`} />\n}\n\nfunction Indicator(props: ComponentProps<typeof Ark.Indicator>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Indicator {...rest} class={`${INDICATOR} ${local.class ?? ''}`} />\n}\n\nexport const Tabs = Object.assign({}, Ark, {List, Trigger, Content, Indicator})\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {Switch as Ark} from '@ark-ui/solid/switch'\n\nconst ROOT =\n 'inline-flex items-center gap-2 cursor-pointer select-none data-[disabled]:opacity-50 data-[disabled]:cursor-not-allowed'\nconst CONTROL =\n 'relative inline-flex items-center w-8 h-4.5 rounded-pw-pill bg-pw-fill-strong [border:1px_solid_var(--pw-line)] trans-btn data-[state=checked]:bg-pw-accent data-[state=checked]:[border-color:var(--pw-accent)] focus-within:[outline:0.125rem_solid_var(--pw-accent)] focus-within:[outline-offset:0.125rem]'\nconst THUMB =\n 'size-3.5 rounded-pw-pill bg-pw-text translate-x-0.5 trans-btn data-[state=checked]:translate-x-3.5 data-[state=checked]:bg-pw-on-accent'\nconst LABEL = 'text-[0.8125rem] font-pw text-pw-text-2'\n\nfunction Root(props: ComponentProps<typeof Ark.Root>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Root {...rest} class={`${ROOT} ${local.class ?? ''}`} />\n}\n\nfunction Control(props: ComponentProps<typeof Ark.Control>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Control {...rest} class={`${CONTROL} ${local.class ?? ''}`} />\n}\n\nfunction Thumb(props: ComponentProps<typeof Ark.Thumb>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Thumb {...rest} class={`${THUMB} ${local.class ?? ''}`} />\n}\n\nfunction Label(props: ComponentProps<typeof Ark.Label>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Label {...rest} class={`${LABEL} ${local.class ?? ''}`} />\n}\n\nexport const Switch = Object.assign({}, Ark, {Root, Control, Thumb, Label})\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {Swap as Ark} from '@ark-ui/solid/swap'\n\n// Crossfade/scale between two states (e.g. Copy → Check). Both indicators stack in one grid cell\n// (Ark sets grid-area); the active rests visible and the inactive fades/scales out. We key off Ark's\n// `hidden` attribute (`!present`), NOT data-state: Ark's useSwap forces skipAnimationOnMount, so\n// data-state is `undefined` on first mount — keying on `data-[state=open]` would leave the active\n// indicator at opacity 0 until the first toggle. `hidden` is set correctly from mount; we override its\n// UA `display:none` (class+attr beats the UA rule) so the crossfade can still animate opacity.\nconst INDICATOR =\n 'inline-flex [transition:opacity_150ms_ease,scale_150ms_ease] [&[hidden]]:opacity-0 [&[hidden]]:[scale:0.6] [&[hidden]]:[display:inline-flex]'\n\nfunction Indicator(props: ComponentProps<typeof Ark.Indicator>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark.Indicator {...rest} class={`${INDICATOR} ${local.class ?? ''}`} />\n}\n\nexport const Swap = Object.assign({}, Ark, {Indicator})\n","import {splitProps, type ComponentProps} from 'solid-js'\nimport {Presence as Ark} from '@ark-ui/solid/presence'\n\n// Mount/unmount animation primitive: keeps the node mounted through its exit keyframe (Ark waits for\n// animationend), driven by data-state. Default scale+fade; pass unmountOnExit to drop it after exit.\nconst PRESENCE = 'data-[state=open]:anim-presence-in data-[state=closed]:anim-presence-out'\n\nexport function Presence(props: ComponentProps<typeof Ark>) {\n const [local, rest] = splitProps(props, ['class'])\n return <Ark {...rest} class={`${PRESENCE} ${local.class ?? ''}`} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;qCAKMI,IACJ,8KAEIC,IAAyC;CAC7CE,OAAO;CACPC,OAAO;CACPC,SAAS;CACTC,QAAQ;AACV,GAEMC,IAAmC;CACvCC,IAAI;CACJC,IAAI;CACJC,MAAM;AACR;AAEA,SAAgBC,EACdC,GACa;CACb,IAAM,CAACM,GAAOC,KAAQvB,EAAWgB,GAAO;EAAC;EAAW;EAAQ;EAAS;CAAM,CAAC;CAC5E,cAAA;EAAA,IAAAQ,IAAAC,EAAA;EAIY,OAJZC,EAAAF,GAAAG,EAAA;GAAA,IAEIC,OAAI;IAAA,OAAEN,EAAMM,QAAQ;GAAQ;GAAA,IAAA,QAAA;IA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
declare function Root(props: ComponentProps<typeof Ark.Root>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function Content(props: ComponentProps<typeof Ark.Content>): import("solid-js").JSX.Element;
|
|
5
|
+
declare function Item(props: ComponentProps<typeof Ark.Item>): import("solid-js").JSX.Element;
|
|
6
|
+
declare function ItemGroupLabel(props: ComponentProps<typeof Ark.ItemGroupLabel>): import("solid-js").JSX.Element;
|
|
7
|
+
declare function Separator(props: ComponentProps<typeof Ark.Separator>): import("solid-js").JSX.Element;
|
|
8
|
+
export declare const Menu: typeof Ark & {
|
|
9
|
+
Root: typeof Root;
|
|
10
|
+
Content: typeof Content;
|
|
11
|
+
Item: typeof Item;
|
|
12
|
+
ItemGroupLabel: typeof ItemGroupLabel;
|
|
13
|
+
Separator: typeof Separator;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../src/menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAC,MAAM,UAAU,CAAA;AACxD,OAAO,EAAC,IAAI,IAAI,GAAG,EAAC,MAAM,oBAAoB,CAAA;AAS9C,iBAAS,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,kCAKnD;AAED,iBAAS,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,kCAGzD;AAED,iBAAS,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,kCAGnD;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,cAAc,CAAC,kCAGvE;AAED,iBAAS,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,kCAG7D;AAED,eAAO,MAAM,IAAI;;;;;;CAA2E,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ComponentProps } from 'solid-js';
|
|
2
|
+
import { Popover as Ark } from '@ark-ui/solid/popover';
|
|
3
|
+
declare function Root(props: ComponentProps<typeof Ark.Root>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function Content(props: ComponentProps<typeof Ark.Content>): import("solid-js").JSX.Element;
|
|
5
|
+
export declare const Popover: typeof Ark & {
|
|
6
|
+
Root: typeof Root;
|
|
7
|
+
Content: typeof Content;
|
|
8
|
+
};
|
|
9
|
+
export type PopoverApi = typeof Popover;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../src/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAC,MAAM,UAAU,CAAA;AACxD,OAAO,EAAC,OAAO,IAAI,GAAG,EAAC,MAAM,uBAAuB,CAAA;AAKpD,iBAAS,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,kCAGnD;AAED,iBAAS,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,kCAGzD;AAED,eAAO,MAAM,OAAO;;;CAA0C,CAAA;AAC9D,MAAM,MAAM,UAAU,GAAG,OAAO,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presence.d.ts","sourceRoot":"","sources":["../src/presence.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAC,MAAM,UAAU,CAAA;AACxD,OAAO,EAAC,QAAQ,IAAI,GAAG,EAAC,MAAM,wBAAwB,CAAA;AAMtD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,kCAGzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../src/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relative-time.d.ts","sourceRoot":"","sources":["../src/relative-time.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,UAAU,CAAA;AAMjC,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAAC,KAAK,EAAE,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAC,GAAG,GAAG,CAAC,OAAO,CAM9E"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ComponentProps } from 'solid-js';
|
|
2
|
+
import { ScrollArea as Ark } from '@ark-ui/solid/scroll-area';
|
|
3
|
+
declare function Scrollbar(props: ComponentProps<typeof Ark.Scrollbar>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function Thumb(props: ComponentProps<typeof Ark.Thumb>): import("solid-js").JSX.Element;
|
|
5
|
+
export declare const ScrollArea: typeof Ark & {
|
|
6
|
+
Scrollbar: typeof Scrollbar;
|
|
7
|
+
Thumb: typeof Thumb;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../src/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAC,MAAM,UAAU,CAAA;AACxD,OAAO,EAAC,UAAU,IAAI,GAAG,EAAC,MAAM,2BAA2B,CAAA;AAO3D,iBAAS,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,kCAG7D;AAED,iBAAS,KAAK,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,KAAK,CAAC,kCAGrD;AAED,eAAO,MAAM,UAAU;;;CAA6C,CAAA"}
|
package/dist/swap.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ComponentProps } from 'solid-js';
|
|
2
|
+
import { Swap as Ark } from '@ark-ui/solid/swap';
|
|
3
|
+
declare function Indicator(props: ComponentProps<typeof Ark.Indicator>): import("solid-js").JSX.Element;
|
|
4
|
+
export declare const Swap: typeof Ark & {
|
|
5
|
+
Indicator: typeof Indicator;
|
|
6
|
+
};
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=swap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"swap.d.ts","sourceRoot":"","sources":["../src/swap.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAC,MAAM,UAAU,CAAA;AACxD,OAAO,EAAC,IAAI,IAAI,GAAG,EAAC,MAAM,oBAAoB,CAAA;AAW9C,iBAAS,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,kCAG7D;AAED,eAAO,MAAM,IAAI;;CAAsC,CAAA"}
|
package/dist/switch.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ComponentProps } from 'solid-js';
|
|
2
|
+
import { Switch as Ark } from '@ark-ui/solid/switch';
|
|
3
|
+
declare function Root(props: ComponentProps<typeof Ark.Root>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function Control(props: ComponentProps<typeof Ark.Control>): import("solid-js").JSX.Element;
|
|
5
|
+
declare function Thumb(props: ComponentProps<typeof Ark.Thumb>): import("solid-js").JSX.Element;
|
|
6
|
+
declare function Label(props: ComponentProps<typeof Ark.Label>): import("solid-js").JSX.Element;
|
|
7
|
+
export declare const Switch: typeof Ark & {
|
|
8
|
+
Root: typeof Root;
|
|
9
|
+
Control: typeof Control;
|
|
10
|
+
Thumb: typeof Thumb;
|
|
11
|
+
Label: typeof Label;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../src/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAC,MAAM,UAAU,CAAA;AACxD,OAAO,EAAC,MAAM,IAAI,GAAG,EAAC,MAAM,sBAAsB,CAAA;AAUlD,iBAAS,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,kCAGnD;AAED,iBAAS,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,kCAGzD;AAED,iBAAS,KAAK,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,KAAK,CAAC,kCAGrD;AAED,iBAAS,KAAK,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,KAAK,CAAC,kCAGrD;AAED,eAAO,MAAM,MAAM;;;;;CAAwD,CAAA"}
|
package/dist/tabs.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ComponentProps } from 'solid-js';
|
|
2
|
+
import { Tabs as Ark } from '@ark-ui/solid/tabs';
|
|
3
|
+
declare function List(props: ComponentProps<typeof Ark.List>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function Trigger(props: ComponentProps<typeof Ark.Trigger>): import("solid-js").JSX.Element;
|
|
5
|
+
declare function Content(props: ComponentProps<typeof Ark.Content>): import("solid-js").JSX.Element;
|
|
6
|
+
declare function Indicator(props: ComponentProps<typeof Ark.Indicator>): import("solid-js").JSX.Element;
|
|
7
|
+
export declare const Tabs: typeof Ark & {
|
|
8
|
+
List: typeof List;
|
|
9
|
+
Trigger: typeof Trigger;
|
|
10
|
+
Content: typeof Content;
|
|
11
|
+
Indicator: typeof Indicator;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../src/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAC,MAAM,UAAU,CAAA;AACxD,OAAO,EAAC,IAAI,IAAI,GAAG,EAAC,MAAM,oBAAoB,CAAA;AAQ9C,iBAAS,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,kCAGnD;AAED,iBAAS,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,kCAGzD;AAED,iBAAS,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,kCAGzD;AAED,iBAAS,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,kCAG7D;AAED,eAAO,MAAM,IAAI;;;;;CAA8D,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
export declare function TextField(props: JSX.InputHTMLAttributes<HTMLInputElement> & {
|
|
3
|
+
label?: string;
|
|
4
|
+
}): JSX.Element;
|
|
5
|
+
export type TextAreaProps = Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, 'style'> & {
|
|
6
|
+
minRows?: number;
|
|
7
|
+
maxRows?: number;
|
|
8
|
+
onHeightChange?: (height: number) => void;
|
|
9
|
+
unstyled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare function TextArea(props: TextAreaProps): JSX.Element;
|
|
12
|
+
//# sourceMappingURL=text-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-field.d.ts","sourceRoot":"","sources":["../src/text-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,GAAG,EAAC,MAAM,UAAU,CAAA;AAQ1E,wBAAgB,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAC,GAAG,GAAG,CAAC,OAAO,CAU1G;AAQD,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAC,GAAG;IAC3F,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAaD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CA4C1D"}
|
package/dist/toast.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
import { Toast as Ark, createToaster } from '@ark-ui/solid/toast';
|
|
3
|
+
type ToasterInstance = ReturnType<typeof createToaster>;
|
|
4
|
+
declare function Toaster(props: {
|
|
5
|
+
toaster: ToasterInstance;
|
|
6
|
+
}): JSX.Element;
|
|
7
|
+
export declare const Toast: typeof Ark & {
|
|
8
|
+
Toaster: typeof Toaster;
|
|
9
|
+
createToaster: (props: import("@ark-ui/solid/toast").CreateToasterProps) => import("@ark-ui/solid/toast").CreateToasterReturn;
|
|
10
|
+
};
|
|
11
|
+
export { createToaster };
|
|
12
|
+
export type { ToasterInstance };
|
|
13
|
+
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../src/toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAC,MAAM,UAAU,CAAA;AACvC,OAAO,EAAC,KAAK,IAAI,GAAG,EAAyB,aAAa,EAAC,MAAM,qBAAqB,CAAA;AAUtF,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAA;AAEvD,iBAAS,OAAO,CAAC,KAAK,EAAE;IAAC,OAAO,EAAE,eAAe,CAAA;CAAC,GAAG,GAAG,CAAC,OAAO,CAgB/D;AAED,eAAO,MAAM,KAAK;;;CAAmD,CAAA;AACrE,OAAO,EAAC,aAAa,EAAC,CAAA;AACtB,YAAY,EAAC,eAAe,EAAC,CAAA"}
|
package/dist/tokens.d.ts
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
export declare const TOKENS: {
|
|
2
|
+
readonly 'pw-hue': {
|
|
3
|
+
readonly value: "328";
|
|
4
|
+
readonly description: "react-grab brand magenta hue; every neutral is tinted toward it";
|
|
5
|
+
readonly overridable: true;
|
|
6
|
+
};
|
|
7
|
+
readonly 'pw-accent': {
|
|
8
|
+
readonly value: "#ff40e0";
|
|
9
|
+
readonly description: "brand accent (exact react-grab hex)";
|
|
10
|
+
readonly overridable: true;
|
|
11
|
+
};
|
|
12
|
+
readonly 'pw-accent-hi': {
|
|
13
|
+
readonly value: "color-mix(in oklch, var(--pw-accent), white 14%)";
|
|
14
|
+
readonly description: "accent hover";
|
|
15
|
+
};
|
|
16
|
+
readonly 'pw-accent-link': {
|
|
17
|
+
readonly value: "color-mix(in oklch, var(--pw-accent), white 34%)";
|
|
18
|
+
readonly description: "accent links";
|
|
19
|
+
};
|
|
20
|
+
readonly 'pw-accent-08': {
|
|
21
|
+
readonly value: "color-mix(in oklch, var(--pw-accent) 10%, transparent)";
|
|
22
|
+
readonly description: "accent tint 8%";
|
|
23
|
+
};
|
|
24
|
+
readonly 'pw-accent-20': {
|
|
25
|
+
readonly value: "color-mix(in oklch, var(--pw-accent) 22%, transparent)";
|
|
26
|
+
readonly description: "accent tint 20%";
|
|
27
|
+
};
|
|
28
|
+
readonly 'pw-accent-line': {
|
|
29
|
+
readonly value: "color-mix(in oklch, var(--pw-accent) 42%, transparent)";
|
|
30
|
+
readonly description: "accent border";
|
|
31
|
+
};
|
|
32
|
+
readonly 'pw-panel': {
|
|
33
|
+
readonly value: "oklch(0.2 0.012 var(--pw-hue))";
|
|
34
|
+
readonly description: "opaque dark panel";
|
|
35
|
+
};
|
|
36
|
+
readonly 'pw-panel-sunk': {
|
|
37
|
+
readonly value: "oklch(0.16 0.012 var(--pw-hue))";
|
|
38
|
+
readonly description: "deepest field bg";
|
|
39
|
+
};
|
|
40
|
+
readonly 'pw-glass': {
|
|
41
|
+
readonly value: "oklch(0.21 0.014 var(--pw-hue) / 0.97)";
|
|
42
|
+
readonly description: "chat panel surface";
|
|
43
|
+
};
|
|
44
|
+
readonly 'pw-fill': {
|
|
45
|
+
readonly value: "oklch(1 0 0 / 0.05)";
|
|
46
|
+
readonly description: "input / elevated fill";
|
|
47
|
+
};
|
|
48
|
+
readonly 'pw-fill-soft': {
|
|
49
|
+
readonly value: "oklch(1 0 0 / 0.04)";
|
|
50
|
+
readonly description: "soft fill";
|
|
51
|
+
};
|
|
52
|
+
readonly 'pw-fill-strong': {
|
|
53
|
+
readonly value: "oklch(1 0 0 / 0.1)";
|
|
54
|
+
readonly description: "strong fill";
|
|
55
|
+
};
|
|
56
|
+
readonly 'pw-sunken': {
|
|
57
|
+
readonly value: "oklch(0.12 0.01 var(--pw-hue) / 0.5)";
|
|
58
|
+
readonly description: "code / pre blocks";
|
|
59
|
+
};
|
|
60
|
+
readonly 'pw-text': {
|
|
61
|
+
readonly value: "oklch(0.93 0.006 var(--pw-hue))";
|
|
62
|
+
readonly description: "primary body text";
|
|
63
|
+
};
|
|
64
|
+
readonly 'pw-text-hi': {
|
|
65
|
+
readonly value: "oklch(0.98 0.008 var(--pw-hue))";
|
|
66
|
+
readonly description: "emphasis / near-white";
|
|
67
|
+
};
|
|
68
|
+
readonly 'pw-text-2': {
|
|
69
|
+
readonly value: "oklch(0.74 0.012 var(--pw-hue))";
|
|
70
|
+
readonly description: "secondary / muted";
|
|
71
|
+
};
|
|
72
|
+
readonly 'pw-text-3': {
|
|
73
|
+
readonly value: "oklch(0.64 0.012 var(--pw-hue))";
|
|
74
|
+
readonly description: "faint / metadata";
|
|
75
|
+
};
|
|
76
|
+
readonly 'pw-on-accent': {
|
|
77
|
+
readonly value: "oklch(0.22 0.03 var(--pw-hue))";
|
|
78
|
+
readonly description: "text on a magenta fill";
|
|
79
|
+
};
|
|
80
|
+
readonly 'pw-agent': {
|
|
81
|
+
readonly value: "oklch(0.79 0.13 188)";
|
|
82
|
+
readonly description: "fixed agent hue (teal)";
|
|
83
|
+
};
|
|
84
|
+
readonly 'pw-danger': {
|
|
85
|
+
readonly value: "oklch(0.72 0.15 25)";
|
|
86
|
+
readonly description: "error text on dark";
|
|
87
|
+
};
|
|
88
|
+
readonly 'pw-danger-line': {
|
|
89
|
+
readonly value: "oklch(0.72 0.15 25 / 0.42)";
|
|
90
|
+
readonly description: "error border";
|
|
91
|
+
};
|
|
92
|
+
readonly 'pw-success': {
|
|
93
|
+
readonly value: "oklch(0.82 0.16 162)";
|
|
94
|
+
readonly description: "success";
|
|
95
|
+
};
|
|
96
|
+
readonly 'pw-warn': {
|
|
97
|
+
readonly value: "oklch(0.81 0.12 95)";
|
|
98
|
+
readonly description: "skipped-test gold";
|
|
99
|
+
};
|
|
100
|
+
readonly 'pw-dim': {
|
|
101
|
+
readonly value: "oklch(0.5 0.02 var(--pw-hue))";
|
|
102
|
+
readonly description: "thinking shimmer base";
|
|
103
|
+
};
|
|
104
|
+
readonly 'pw-line': {
|
|
105
|
+
readonly value: "oklch(1 0 0 / 0.1)";
|
|
106
|
+
readonly description: "line";
|
|
107
|
+
};
|
|
108
|
+
readonly 'pw-line-2': {
|
|
109
|
+
readonly value: "oklch(1 0 0 / 0.18)";
|
|
110
|
+
readonly description: "line strong";
|
|
111
|
+
};
|
|
112
|
+
readonly 'pw-line-soft': {
|
|
113
|
+
readonly value: "oklch(1 0 0 / 0.06)";
|
|
114
|
+
readonly description: "line soft";
|
|
115
|
+
};
|
|
116
|
+
readonly 'pw-r-sm': {
|
|
117
|
+
readonly value: "8px";
|
|
118
|
+
readonly description: "radius sm";
|
|
119
|
+
};
|
|
120
|
+
readonly 'pw-r-md': {
|
|
121
|
+
readonly value: "12px";
|
|
122
|
+
readonly description: "radius md";
|
|
123
|
+
};
|
|
124
|
+
readonly 'pw-r-lg': {
|
|
125
|
+
readonly value: "18px";
|
|
126
|
+
readonly description: "radius lg";
|
|
127
|
+
};
|
|
128
|
+
readonly 'pw-r-pill': {
|
|
129
|
+
readonly value: "999px";
|
|
130
|
+
readonly description: "radius pill";
|
|
131
|
+
};
|
|
132
|
+
readonly 'pw-shadow': {
|
|
133
|
+
readonly value: "0 8px 28px oklch(0.12 0.02 var(--pw-hue) / 0.45)";
|
|
134
|
+
readonly description: "elevation";
|
|
135
|
+
};
|
|
136
|
+
readonly 'pw-shadow-lg': {
|
|
137
|
+
readonly value: "0 16px 44px oklch(0.1 0.03 var(--pw-hue) / 0.55)";
|
|
138
|
+
readonly description: "elevation lg";
|
|
139
|
+
};
|
|
140
|
+
readonly 'pw-shadow-hover': {
|
|
141
|
+
readonly value: "0 14px 34px oklch(0.1 0.03 var(--pw-hue) / 0.6)";
|
|
142
|
+
readonly description: "elevation hover";
|
|
143
|
+
};
|
|
144
|
+
readonly 'pw-ease': {
|
|
145
|
+
readonly value: "cubic-bezier(0.22, 1, 0.36, 1)";
|
|
146
|
+
readonly description: "ease-out-quart";
|
|
147
|
+
};
|
|
148
|
+
readonly 'pw-ease-expo': {
|
|
149
|
+
readonly value: "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
150
|
+
readonly description: "ease-out-expo";
|
|
151
|
+
};
|
|
152
|
+
readonly 'pw-font': {
|
|
153
|
+
readonly value: "system-ui, -apple-system, sans-serif";
|
|
154
|
+
readonly description: "sans font stack";
|
|
155
|
+
};
|
|
156
|
+
readonly 'pw-mono': {
|
|
157
|
+
readonly value: "ui-monospace, monospace";
|
|
158
|
+
readonly description: "mono font stack";
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
export type ThemeTokenName = keyof typeof TOKENS;
|
|
162
|
+
export type ThemeTokens = Partial<Record<ThemeTokenName, string>>;
|
|
163
|
+
export declare function renderTokensCss(tokens: Record<string, {
|
|
164
|
+
value: string;
|
|
165
|
+
}>): string;
|
|
166
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CT,CAAA;AAEV,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,MAAM,CAAA;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAA;AAEjE,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAAC,GAAG,MAAM,CAG/E"}
|
package/dist/tokens.js
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
//#region src/tokens.ts
|
|
2
|
+
var e = {
|
|
3
|
+
"pw-hue": {
|
|
4
|
+
value: "328",
|
|
5
|
+
description: "react-grab brand magenta hue; every neutral is tinted toward it",
|
|
6
|
+
overridable: !0
|
|
7
|
+
},
|
|
8
|
+
"pw-accent": {
|
|
9
|
+
value: "#ff40e0",
|
|
10
|
+
description: "brand accent (exact react-grab hex)",
|
|
11
|
+
overridable: !0
|
|
12
|
+
},
|
|
13
|
+
"pw-accent-hi": {
|
|
14
|
+
value: "color-mix(in oklch, var(--pw-accent), white 14%)",
|
|
15
|
+
description: "accent hover"
|
|
16
|
+
},
|
|
17
|
+
"pw-accent-link": {
|
|
18
|
+
value: "color-mix(in oklch, var(--pw-accent), white 34%)",
|
|
19
|
+
description: "accent links"
|
|
20
|
+
},
|
|
21
|
+
"pw-accent-08": {
|
|
22
|
+
value: "color-mix(in oklch, var(--pw-accent) 10%, transparent)",
|
|
23
|
+
description: "accent tint 8%"
|
|
24
|
+
},
|
|
25
|
+
"pw-accent-20": {
|
|
26
|
+
value: "color-mix(in oklch, var(--pw-accent) 22%, transparent)",
|
|
27
|
+
description: "accent tint 20%"
|
|
28
|
+
},
|
|
29
|
+
"pw-accent-line": {
|
|
30
|
+
value: "color-mix(in oklch, var(--pw-accent) 42%, transparent)",
|
|
31
|
+
description: "accent border"
|
|
32
|
+
},
|
|
33
|
+
"pw-panel": {
|
|
34
|
+
value: "oklch(0.2 0.012 var(--pw-hue))",
|
|
35
|
+
description: "opaque dark panel"
|
|
36
|
+
},
|
|
37
|
+
"pw-panel-sunk": {
|
|
38
|
+
value: "oklch(0.16 0.012 var(--pw-hue))",
|
|
39
|
+
description: "deepest field bg"
|
|
40
|
+
},
|
|
41
|
+
"pw-glass": {
|
|
42
|
+
value: "oklch(0.21 0.014 var(--pw-hue) / 0.97)",
|
|
43
|
+
description: "chat panel surface"
|
|
44
|
+
},
|
|
45
|
+
"pw-fill": {
|
|
46
|
+
value: "oklch(1 0 0 / 0.05)",
|
|
47
|
+
description: "input / elevated fill"
|
|
48
|
+
},
|
|
49
|
+
"pw-fill-soft": {
|
|
50
|
+
value: "oklch(1 0 0 / 0.04)",
|
|
51
|
+
description: "soft fill"
|
|
52
|
+
},
|
|
53
|
+
"pw-fill-strong": {
|
|
54
|
+
value: "oklch(1 0 0 / 0.1)",
|
|
55
|
+
description: "strong fill"
|
|
56
|
+
},
|
|
57
|
+
"pw-sunken": {
|
|
58
|
+
value: "oklch(0.12 0.01 var(--pw-hue) / 0.5)",
|
|
59
|
+
description: "code / pre blocks"
|
|
60
|
+
},
|
|
61
|
+
"pw-text": {
|
|
62
|
+
value: "oklch(0.93 0.006 var(--pw-hue))",
|
|
63
|
+
description: "primary body text"
|
|
64
|
+
},
|
|
65
|
+
"pw-text-hi": {
|
|
66
|
+
value: "oklch(0.98 0.008 var(--pw-hue))",
|
|
67
|
+
description: "emphasis / near-white"
|
|
68
|
+
},
|
|
69
|
+
"pw-text-2": {
|
|
70
|
+
value: "oklch(0.74 0.012 var(--pw-hue))",
|
|
71
|
+
description: "secondary / muted"
|
|
72
|
+
},
|
|
73
|
+
"pw-text-3": {
|
|
74
|
+
value: "oklch(0.64 0.012 var(--pw-hue))",
|
|
75
|
+
description: "faint / metadata"
|
|
76
|
+
},
|
|
77
|
+
"pw-on-accent": {
|
|
78
|
+
value: "oklch(0.22 0.03 var(--pw-hue))",
|
|
79
|
+
description: "text on a magenta fill"
|
|
80
|
+
},
|
|
81
|
+
"pw-agent": {
|
|
82
|
+
value: "oklch(0.79 0.13 188)",
|
|
83
|
+
description: "fixed agent hue (teal)"
|
|
84
|
+
},
|
|
85
|
+
"pw-danger": {
|
|
86
|
+
value: "oklch(0.72 0.15 25)",
|
|
87
|
+
description: "error text on dark"
|
|
88
|
+
},
|
|
89
|
+
"pw-danger-line": {
|
|
90
|
+
value: "oklch(0.72 0.15 25 / 0.42)",
|
|
91
|
+
description: "error border"
|
|
92
|
+
},
|
|
93
|
+
"pw-success": {
|
|
94
|
+
value: "oklch(0.82 0.16 162)",
|
|
95
|
+
description: "success"
|
|
96
|
+
},
|
|
97
|
+
"pw-warn": {
|
|
98
|
+
value: "oklch(0.81 0.12 95)",
|
|
99
|
+
description: "skipped-test gold"
|
|
100
|
+
},
|
|
101
|
+
"pw-dim": {
|
|
102
|
+
value: "oklch(0.5 0.02 var(--pw-hue))",
|
|
103
|
+
description: "thinking shimmer base"
|
|
104
|
+
},
|
|
105
|
+
"pw-line": {
|
|
106
|
+
value: "oklch(1 0 0 / 0.1)",
|
|
107
|
+
description: "line"
|
|
108
|
+
},
|
|
109
|
+
"pw-line-2": {
|
|
110
|
+
value: "oklch(1 0 0 / 0.18)",
|
|
111
|
+
description: "line strong"
|
|
112
|
+
},
|
|
113
|
+
"pw-line-soft": {
|
|
114
|
+
value: "oklch(1 0 0 / 0.06)",
|
|
115
|
+
description: "line soft"
|
|
116
|
+
},
|
|
117
|
+
"pw-r-sm": {
|
|
118
|
+
value: "8px",
|
|
119
|
+
description: "radius sm"
|
|
120
|
+
},
|
|
121
|
+
"pw-r-md": {
|
|
122
|
+
value: "12px",
|
|
123
|
+
description: "radius md"
|
|
124
|
+
},
|
|
125
|
+
"pw-r-lg": {
|
|
126
|
+
value: "18px",
|
|
127
|
+
description: "radius lg"
|
|
128
|
+
},
|
|
129
|
+
"pw-r-pill": {
|
|
130
|
+
value: "999px",
|
|
131
|
+
description: "radius pill"
|
|
132
|
+
},
|
|
133
|
+
"pw-shadow": {
|
|
134
|
+
value: "0 8px 28px oklch(0.12 0.02 var(--pw-hue) / 0.45)",
|
|
135
|
+
description: "elevation"
|
|
136
|
+
},
|
|
137
|
+
"pw-shadow-lg": {
|
|
138
|
+
value: "0 16px 44px oklch(0.1 0.03 var(--pw-hue) / 0.55)",
|
|
139
|
+
description: "elevation lg"
|
|
140
|
+
},
|
|
141
|
+
"pw-shadow-hover": {
|
|
142
|
+
value: "0 14px 34px oklch(0.1 0.03 var(--pw-hue) / 0.6)",
|
|
143
|
+
description: "elevation hover"
|
|
144
|
+
},
|
|
145
|
+
"pw-ease": {
|
|
146
|
+
value: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
147
|
+
description: "ease-out-quart"
|
|
148
|
+
},
|
|
149
|
+
"pw-ease-expo": {
|
|
150
|
+
value: "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
151
|
+
description: "ease-out-expo"
|
|
152
|
+
},
|
|
153
|
+
"pw-font": {
|
|
154
|
+
value: "system-ui, -apple-system, sans-serif",
|
|
155
|
+
description: "sans font stack"
|
|
156
|
+
},
|
|
157
|
+
"pw-mono": {
|
|
158
|
+
value: "ui-monospace, monospace",
|
|
159
|
+
description: "mono font stack"
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
function t(e) {
|
|
163
|
+
return `:host,\n:root {\n${Object.entries(e).map(([e, t]) => ` --${e}: ${t.value};`).join("\n")}\n}\n`;
|
|
164
|
+
}
|
|
165
|
+
//#endregion
|
|
166
|
+
export { e as TOKENS, t as renderTokensCss };
|
|
167
|
+
|
|
168
|
+
//# sourceMappingURL=tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.js","names":[],"sources":["../src/tokens.ts"],"sourcesContent":["// Single source of truth for conciv design tokens; renderTokensCss() projects this to tokens.css.\nexport const TOKENS = {\n 'pw-hue': {\n value: '328',\n description: 'react-grab brand magenta hue; every neutral is tinted toward it',\n overridable: true,\n },\n 'pw-accent': {value: '#ff40e0', description: 'brand accent (exact react-grab hex)', overridable: true},\n 'pw-accent-hi': {value: 'color-mix(in oklch, var(--pw-accent), white 14%)', description: 'accent hover'},\n 'pw-accent-link': {value: 'color-mix(in oklch, var(--pw-accent), white 34%)', description: 'accent links'},\n 'pw-accent-08': {value: 'color-mix(in oklch, var(--pw-accent) 10%, transparent)', description: 'accent tint 8%'},\n 'pw-accent-20': {value: 'color-mix(in oklch, var(--pw-accent) 22%, transparent)', description: 'accent tint 20%'},\n 'pw-accent-line': {value: 'color-mix(in oklch, var(--pw-accent) 42%, transparent)', description: 'accent border'},\n 'pw-panel': {value: 'oklch(0.2 0.012 var(--pw-hue))', description: 'opaque dark panel'},\n 'pw-panel-sunk': {value: 'oklch(0.16 0.012 var(--pw-hue))', description: 'deepest field bg'},\n 'pw-glass': {value: 'oklch(0.21 0.014 var(--pw-hue) / 0.97)', description: 'chat panel surface'},\n 'pw-fill': {value: 'oklch(1 0 0 / 0.05)', description: 'input / elevated fill'},\n 'pw-fill-soft': {value: 'oklch(1 0 0 / 0.04)', description: 'soft fill'},\n 'pw-fill-strong': {value: 'oklch(1 0 0 / 0.1)', description: 'strong fill'},\n 'pw-sunken': {value: 'oklch(0.12 0.01 var(--pw-hue) / 0.5)', description: 'code / pre blocks'},\n 'pw-text': {value: 'oklch(0.93 0.006 var(--pw-hue))', description: 'primary body text'},\n 'pw-text-hi': {value: 'oklch(0.98 0.008 var(--pw-hue))', description: 'emphasis / near-white'},\n 'pw-text-2': {value: 'oklch(0.74 0.012 var(--pw-hue))', description: 'secondary / muted'},\n 'pw-text-3': {value: 'oklch(0.64 0.012 var(--pw-hue))', description: 'faint / metadata'},\n 'pw-on-accent': {value: 'oklch(0.22 0.03 var(--pw-hue))', description: 'text on a magenta fill'},\n 'pw-agent': {value: 'oklch(0.79 0.13 188)', description: 'fixed agent hue (teal)'},\n 'pw-danger': {value: 'oklch(0.72 0.15 25)', description: 'error text on dark'},\n 'pw-danger-line': {value: 'oklch(0.72 0.15 25 / 0.42)', description: 'error border'},\n 'pw-success': {value: 'oklch(0.82 0.16 162)', description: 'success'},\n 'pw-warn': {value: 'oklch(0.81 0.12 95)', description: 'skipped-test gold'},\n 'pw-dim': {value: 'oklch(0.5 0.02 var(--pw-hue))', description: 'thinking shimmer base'},\n 'pw-line': {value: 'oklch(1 0 0 / 0.1)', description: 'line'},\n 'pw-line-2': {value: 'oklch(1 0 0 / 0.18)', description: 'line strong'},\n 'pw-line-soft': {value: 'oklch(1 0 0 / 0.06)', description: 'line soft'},\n 'pw-r-sm': {value: '8px', description: 'radius sm'},\n 'pw-r-md': {value: '12px', description: 'radius md'},\n 'pw-r-lg': {value: '18px', description: 'radius lg'},\n 'pw-r-pill': {value: '999px', description: 'radius pill'},\n 'pw-shadow': {value: '0 8px 28px oklch(0.12 0.02 var(--pw-hue) / 0.45)', description: 'elevation'},\n 'pw-shadow-lg': {value: '0 16px 44px oklch(0.1 0.03 var(--pw-hue) / 0.55)', description: 'elevation lg'},\n 'pw-shadow-hover': {value: '0 14px 34px oklch(0.1 0.03 var(--pw-hue) / 0.6)', description: 'elevation hover'},\n 'pw-ease': {value: 'cubic-bezier(0.22, 1, 0.36, 1)', description: 'ease-out-quart'},\n 'pw-ease-expo': {value: 'cubic-bezier(0.16, 1, 0.3, 1)', description: 'ease-out-expo'},\n 'pw-font': {value: 'system-ui, -apple-system, sans-serif', description: 'sans font stack'},\n 'pw-mono': {value: 'ui-monospace, monospace', description: 'mono font stack'},\n} as const\n\nexport type ThemeTokenName = keyof typeof TOKENS\nexport type ThemeTokens = Partial<Record<ThemeTokenName, string>>\n\nexport function renderTokensCss(tokens: Record<string, {value: string}>): string {\n const lines = Object.entries(tokens).map(([name, def]) => ` --${name}: ${def.value};`)\n return `:host,\\n:root {\\n${lines.join('\\n')}\\n}\\n`\n}\n"],"mappings":";AACA,IAAa,IAAS;CACpB,UAAU;EACR,OAAO;EACP,aAAa;EACb,aAAa;CACf;CACA,aAAa;EAAC,OAAO;EAAW,aAAa;EAAuC,aAAa;CAAI;CACrG,gBAAgB;EAAC,OAAO;EAAoD,aAAa;CAAc;CACvG,kBAAkB;EAAC,OAAO;EAAoD,aAAa;CAAc;CACzG,gBAAgB;EAAC,OAAO;EAA0D,aAAa;CAAgB;CAC/G,gBAAgB;EAAC,OAAO;EAA0D,aAAa;CAAiB;CAChH,kBAAkB;EAAC,OAAO;EAA0D,aAAa;CAAe;CAChH,YAAY;EAAC,OAAO;EAAkC,aAAa;CAAmB;CACtF,iBAAiB;EAAC,OAAO;EAAmC,aAAa;CAAkB;CAC3F,YAAY;EAAC,OAAO;EAA0C,aAAa;CAAoB;CAC/F,WAAW;EAAC,OAAO;EAAuB,aAAa;CAAuB;CAC9E,gBAAgB;EAAC,OAAO;EAAuB,aAAa;CAAW;CACvE,kBAAkB;EAAC,OAAO;EAAsB,aAAa;CAAa;CAC1E,aAAa;EAAC,OAAO;EAAwC,aAAa;CAAmB;CAC7F,WAAW;EAAC,OAAO;EAAmC,aAAa;CAAmB;CACtF,cAAc;EAAC,OAAO;EA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0 +1,10 @@
|
|
|
1
|
+
import { type ComponentProps } from 'solid-js';
|
|
2
|
+
import { Tooltip as Ark } from '@ark-ui/solid/tooltip';
|
|
3
|
+
declare function Root(props: ComponentProps<typeof Ark.Root>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function Content(props: ComponentProps<typeof Ark.Content>): import("solid-js").JSX.Element;
|
|
5
|
+
export declare const Tooltip: typeof Ark & {
|
|
6
|
+
Root: typeof Root;
|
|
7
|
+
Content: typeof Content;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../src/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAC,MAAM,UAAU,CAAA;AACxD,OAAO,EAAC,OAAO,IAAI,GAAG,EAAC,MAAM,uBAAuB,CAAA;AAKpD,iBAAS,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,kCAUnD;AAED,iBAAS,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,kCAGzD;AAED,eAAO,MAAM,OAAO;;;CAA0C,CAAA"}
|