@jonmilner/ui 0.11.9 → 0.11.11
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/Avatar/Avatar.css +1 -1
- package/dist/Badge/Badge.css +1 -1
- package/dist/Badge/Badge.css.mjs +3 -2
- package/dist/Badge/index.d.mts +1 -1
- package/dist/Badge/index.mjs +4 -0
- package/dist/Box/Box.css +1 -1
- package/dist/Button/Button.css +1 -1
- package/dist/Checkbox/Checkbox.css +1 -1
- package/dist/Chip/Chip.css +1 -1
- package/dist/Clickable/Clickable.css +1 -1
- package/dist/ColorField/ColorField.css +1 -1
- package/dist/Combobox/Combobox.css +2 -0
- package/dist/Combobox/Combobox.css.mjs +17 -0
- package/dist/Combobox/client.mjs +127 -0
- package/dist/Combobox/index.d.mts +33 -0
- package/dist/Combobox/index.mjs +62 -0
- package/dist/Dialog/Dialog.css +1 -1
- package/dist/Field/Field.css +1 -1
- package/dist/Heading/Heading.css +1 -1
- package/dist/Icon/Icon.css +1 -1
- package/dist/IconButton/IconButton.css +1 -1
- package/dist/Inline/Inline.css +1 -1
- package/dist/Menu/Menu.css +1 -1
- package/dist/MultiSelect/MultiSelect.css +1 -1
- package/dist/MultiSelect/client.mjs +28 -53
- package/dist/MultiSelect/index.d.mts +1 -1
- package/dist/MultiSelect/index.mjs +4 -3
- package/dist/RadioGroup/RadioGroup.css +1 -1
- package/dist/SearchField/SearchField.css +1 -1
- package/dist/Select/Select.css +1 -1
- package/dist/Select/index.d.mts +1 -1
- package/dist/Select/index.mjs +4 -3
- package/dist/Stack/Stack.css +1 -1
- package/dist/Switch/Switch.css +1 -1
- package/dist/Table/Table.css +1 -1
- package/dist/Tabs/Tabs.css +1 -1
- package/dist/Tag/Tag.css +1 -1
- package/dist/Text/Text.css +1 -1
- package/dist/TextField/TextField.css +1 -1
- package/dist/Textarea/Textarea.css +1 -1
- package/dist/Toast/Toast.css +1 -1
- package/dist/VisuallyHidden/VisuallyHidden.css +1 -1
- package/dist/base.css +1 -1
- package/dist/docs/Badge.md +9 -2
- package/dist/docs/Combobox.md +121 -0
- package/dist/docs/MultiSelect.md +1 -1
- package/dist/docs/SearchField.md +1 -1
- package/dist/docs/Select.md +1 -1
- package/dist/docs/TextField.md +1 -1
- package/dist/docs/llms.txt +1 -0
- package/dist/docs/manifest.json +107 -3
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +21 -20
- package/dist/popup/listbox-base.mjs +71 -0
- package/dist/popup/listbox-options.mjs +6 -15
- package/dist/popup/listbox-row.mjs +16 -0
- package/dist/popup/listbox-summary.mjs +36 -0
- package/dist/popup/listbox.mjs +25 -73
- package/dist/styles/atoms.css +1 -1
- package/dist/styles/layers.css +1 -1
- package/dist/styles/responsive.css +1 -1
- package/package.json +5 -1
- /package/dist/popup/{listbox-options.d.mts → listbox-row.d.mts} +0 -0
package/dist/Select/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Field as e } from "../Field/index.mjs";
|
|
2
|
-
import { ListboxLabel as t,
|
|
2
|
+
import { ListboxLabel as t, ListboxScope as n } from "../popup/listbox-base.mjs";
|
|
3
|
+
import { ListboxPopup as r, ListboxPortal as i, ListboxPositioner as a } from "../popup/listbox.mjs";
|
|
3
4
|
import { ListboxOptions as o } from "../popup/listbox-options.mjs";
|
|
4
5
|
import { check as s, item as c, popup as l } from "./Select.css.mjs";
|
|
5
6
|
import { SelectRoot as u, SelectTrigger as d } from "./client.mjs";
|
|
@@ -13,7 +14,7 @@ function m({ options: m, value: h, defaultValue: g, onValueChange: _, label: v,
|
|
|
13
14
|
invalid: b != null && b !== !1 && b !== "",
|
|
14
15
|
style: D,
|
|
15
16
|
children: [
|
|
16
|
-
/* @__PURE__ */ f(
|
|
17
|
+
/* @__PURE__ */ f(n, { children: /* @__PURE__ */ p(u, {
|
|
17
18
|
defaultValue: g,
|
|
18
19
|
disabled: S,
|
|
19
20
|
name: T,
|
|
@@ -28,7 +29,7 @@ function m({ options: m, value: h, defaultValue: g, onValueChange: _, label: v,
|
|
|
28
29
|
placeholder: x,
|
|
29
30
|
size: w
|
|
30
31
|
}),
|
|
31
|
-
/* @__PURE__ */ f(
|
|
32
|
+
/* @__PURE__ */ f(i, { children: /* @__PURE__ */ f(a, { children: /* @__PURE__ */ f(r, {
|
|
32
33
|
className: l,
|
|
33
34
|
children: /* @__PURE__ */ f(o, {
|
|
34
35
|
checkClassName: s,
|
package/dist/Stack/Stack.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.stack;
|
package/dist/Switch/Switch.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.switch{.njq9m00{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:0;padding:0;position:absolute;overflow:hidden}.njq9m01{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;min-inline-size:var(--size-xs);min-block-size:var(--size-xs);border-radius:var(--radius-full);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.njq9m01:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.njq9m01[aria-disabled=true]{cursor:not-allowed}.njq9m01[aria-readonly=true]{cursor:default}.njq9m01[aria-busy=true]{cursor:progress}.njq9m02{grid-template-columns:repeat(2, var(--space-16));padding:var(--space-2);border:var(--space-1) solid var(--color-border-strong);border-radius:var(--radius-full);background-color:var(--color-bg);forced-color-adjust:none;align-items:center;display:grid}.njq9m01:not([aria-checked=true],[aria-invalid=true],[aria-disabled=true],[aria-readonly=true]):hover .njq9m02{border-color:var(--color-fg)}.njq9m01[aria-checked=true] .njq9m02{background-color:var(--color-accent);border-color:var(--color-accent)}.njq9m01[aria-readonly=true]:not([aria-busy=true]) .njq9m02{background-clip:padding-box;border-style:dotted}.njq9m01[aria-busy=true] .njq9m02{opacity:.5}.njq9m01[aria-disabled=true] .njq9m02{border-style:dashed;border-color:var(--color-border-strong);background-clip:border-box;background-color:var(--color-bg-muted)}.njq9m01[aria-invalid=true] .njq9m02{padding:var(--space-1);border-width:var(--space-2);border-color:var(--color-danger)}.njq9m03{inline-size:var(--space-16);block-size:var(--space-16);border-radius:var(--radius-full);transition:opacity var(--duration-med) var(--easing-standard), translate var(--duration-med) var(--easing-standard);background-color:var(--color-fg-muted);grid-area:1/1/auto/-1;justify-self:start}.njq9m01[aria-checked=true] .njq9m03{opacity:0;translate:calc(var(--dir) * var(--distance-lg))}.njq9m04{inline-size:var(--space-16);block-size:var(--space-16);border-radius:var(--radius-full);transition:opacity var(--duration-med) var(--easing-standard), translate var(--duration-med) var(--easing-standard);background-color:var(--color-accent-fg);opacity:0;translate:calc(-1 * var(--dir) * var(--distance-lg));grid-area:1/1/auto/-1;justify-self:end}.njq9m01[aria-checked=true] .njq9m04{opacity:1;translate:0}.njq9m01[aria-disabled=true] .njq9m04{background-color:var(--color-fg-muted)}}
|
package/dist/Table/Table.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.table{.pbjodu0{border-collapse:collapse}.pbjodu1{table-layout:auto}.pbjodu2{table-layout:fixed}.pbjodu4{border-block-end:var(--space-1) solid var(--color-border);vertical-align:middle}.pbjodu5{caption-side:top}.pbjodu6{visibility:hidden}.pbjodu7{padding-block-end:var(--space-8)}.pbjodu7:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:calc(-1 * var(--space-2))}.pbjodu8{block-size:var(--space-8);padding:var(--space-2)}.pbjodu9{border-radius:var(--radius-full);background-color:var(--color-border-strong);forced-color-adjust:none;block-size:100%}@media (hover:hover){:where(tbody)>.pbjodu3:hover{background-image:linear-gradient(color-mix(in srgb, var(--color-fg) 5%, transparent), color-mix(in srgb, var(--color-fg) 5%, transparent))}}@media (forced-colors:active){:where(tbody)>.pbjodu3:hover{background-image:none}}}
|
package/dist/Tabs/Tabs.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.tabs{.xowpd00{border-block-end:var(--space-1) solid var(--color-border)}.xowpd00[aria-orientation=vertical]{border-block-end:none;border-inline-end:var(--space-1) solid var(--color-border);flex-direction:column}.xowpd01{transition:color var(--duration-fast) var(--easing-standard)}.xowpd01[aria-selected=true]{color:var(--color-fg)}.xowpd01[aria-disabled=true]{opacity:.5}.xowpd02{border-block-end:var(--space-2) solid var(--color-accent);opacity:0;scale:calc(1 - var(--scale-lg)) 1;transition:opacity var(--duration-med) var(--easing-standard), scale var(--duration-med) var(--easing-standard);pointer-events:none;inset-block-end:calc(-1 * var(--space-1));inset-inline:0}[data-orientation=vertical]>.xowpd02{inset-inline:auto;border-block-end:none;border-inline-end:var(--space-2) solid var(--color-accent);scale:1 calc(1 - var(--scale-lg));inset-block:0;inset-inline-end:calc(-1 * var(--space-1))}[aria-selected=true]>.xowpd02{opacity:1;scale:1}.xowpd03:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.xowpd03[data-orientation=vertical]{flex-basis:0}@media (hover:hover){.xowpd01:not([aria-disabled=true]):hover{color:var(--color-fg)}}@media (forced-colors:active){.xowpd01[aria-disabled=true]{color:graytext}.xowpd02{border-color:highlight}}}
|
package/dist/Tag/Tag.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.tag{._1jsyd8s0{border-width:var(--space-1);border-style:solid;border-color:#0000}._1jsyd8s1{overflow-wrap:anywhere}._1jsyd8s0:hover ._1jsyd8s1,._1jsyd8s0:focus-within ._1jsyd8s1{padding-block:var(--space-4);margin-block:0}._1jsyd8s2{text-decoration:underline}._1jsyd8s3:hover{background-color:var(--color-bg)}@media (forced-colors:active){._1jsyd8s0{color:canvastext;background-color:canvas;border-color:canvastext}}}
|
package/dist/Text/Text.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.text{._1mgdisq3{--_1mgdisq0:var(--line-height-med);--_1mgdisq1:calc((var(--font-trim-body-cap) - var(--_1mgdisq0) / 2) * 1em);--_1mgdisq2:calc((var(--font-trim-body-baseline) - var(--_1mgdisq0) / 2) * 1em);font-family:var(--font-body);font-size:var(--font-size-med);font-weight:var(--font-weight-regular);line-height:var(--_1mgdisq0)}._1mgdisq3:before{content:"";margin-block-end:var(--_1mgdisq1);display:table}._1mgdisq3:after{content:"";margin-block-start:var(--_1mgdisq2);display:table}:where(li)>._1mgdisq4{display:flow-root}:where(li)>._1mgdisq4:before,:where(li)>._1mgdisq4:after{display:block}:where(li:has(>._1mgdisq4))::marker{line-height:0}:where(._1mgdisq3)>._1mgdisq3:where(a,abbr,b,bdi,bdo,cite,code,data,del,dfn,em,i,ins,kbd,label,mark,output,q,s,samp,small,span,strong,sub,sup,time,u,var){--_1mgdisq0:inherit;--_1mgdisq1:inherit;--_1mgdisq2:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;display:inline}:where(._1mgdisq3)>._1mgdisq3:where(a,abbr,b,bdi,bdo,cite,code,data,del,dfn,em,i,ins,kbd,label,mark,output,q,s,samp,small,span,strong,sub,sup,time,u,var):before,:where(._1mgdisq3)>._1mgdisq3:where(a,abbr,b,bdi,bdo,cite,code,data,del,dfn,em,i,ins,kbd,label,mark,output,q,s,samp,small,span,strong,sub,sup,time,u,var):after{content:none}._1mgdisq5{--_1mgdisq0:inherit;--_1mgdisq1:inherit;--_1mgdisq2:inherit;text-overflow:ellipsis;white-space:nowrap;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}._1mgdisq5:before,._1mgdisq5:after{content:none}._1mgdisq6{--_1mgdisq1:calc((var(--font-trim-body-cap) - var(--_1mgdisq0) / 2) * 1em);--_1mgdisq2:calc((var(--font-trim-body-baseline) - var(--_1mgdisq0) / 2) * 1em);font-family:var(--font-body)}._1mgdisq7{--_1mgdisq1:calc((var(--font-trim-heading-cap) - var(--_1mgdisq0) / 2) * 1em);--_1mgdisq2:calc((var(--font-trim-heading-baseline) - var(--_1mgdisq0) / 2) * 1em);font-family:var(--font-heading)}._1mgdisq8{--_1mgdisq1:calc((var(--font-trim-display-cap) - var(--_1mgdisq0) / 2) * 1em);--_1mgdisq2:calc((var(--font-trim-display-baseline) - var(--_1mgdisq0) / 2) * 1em);font-family:var(--font-display)}._1mgdisq9{--_1mgdisq1:calc((var(--font-trim-label-cap) - var(--_1mgdisq0) / 2) * 1em);--_1mgdisq2:calc((var(--font-trim-label-baseline) - var(--_1mgdisq0) / 2) * 1em);font-family:var(--font-label)}._1mgdisqa{--_1mgdisq1:calc((var(--font-trim-mono-cap) - var(--_1mgdisq0) / 2) * 1em);--_1mgdisq2:calc((var(--font-trim-mono-baseline) - var(--_1mgdisq0) / 2) * 1em);font-family:var(--font-mono)}._1mgdisqb{font-size:var(--font-size-xs)}._1mgdisqc{font-size:var(--font-size-sm)}._1mgdisqd{font-size:var(--font-size-med)}._1mgdisqe{font-size:var(--font-size-lg)}._1mgdisqf{font-size:var(--font-size-xl)}._1mgdisqg{font-size:var(--font-size-2xl)}._1mgdisqh{font-size:var(--font-size-3xl)}._1mgdisqi{font-size:var(--font-size-4xl)}._1mgdisqj{font-weight:var(--font-weight-regular)}._1mgdisqk{font-weight:var(--font-weight-medium)}._1mgdisql{font-weight:var(--font-weight-semibold)}._1mgdisqm{font-weight:var(--font-weight-bold)}._1mgdisqn{--_1mgdisq0:var(--line-height-sm);line-height:var(--_1mgdisq0)}._1mgdisqo{--_1mgdisq0:var(--line-height-med);line-height:var(--_1mgdisq0)}._1mgdisqp{--_1mgdisq0:var(--line-height-lg);line-height:var(--_1mgdisq0)}._1mgdisqq{font-variant-numeric:tabular-nums}._1mgdisqr{white-space:nowrap}._1mgdisqs{white-space:pre-wrap;overflow-wrap:anywhere}._1mgdisqt{white-space:pre}._1mgdisqu{text-overflow:ellipsis;white-space:nowrap;margin-block-start:var(--_1mgdisq1);margin-block-end:var(--_1mgdisq2);padding-block-start:calc(-1 * var(--_1mgdisq1));padding-block-end:calc(-1 * var(--_1mgdisq2))}:where([data-text-reveal]:hover,[data-text-reveal]:focus-within) ._1mgdisqu{white-space:normal;text-overflow:clip}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.text-field{._20at410{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:0;padding:0;position:absolute;overflow:hidden}._20at411{appearance:none;border-width:var(--space-1);border-style:solid;border-color:var(--color-border-strong);border-radius:var(--radius-med);background-color:var(--color-bg);inline-size:100%;min-inline-size:0;color:var(--color-fg);padding-block:0}._20at411::placeholder{color:var(--color-fg-muted);opacity:1}._20at411:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}._20at411:disabled{background-color:var(--color-bg-muted);color:var(--color-fg-muted);cursor:not-allowed;border-style:dashed}._20at411[aria-invalid=true]{border-color:var(--color-danger)}._20at412{block-size:var(--size-xs);padding-inline:var(--space-6)}._20at413{block-size:var(--size-sm);padding-inline:var(--space-8)}._20at414{block-size:var(--size-med);padding-inline:var(--space-12)}@media (pointer:coarse){._20at411{font-size:var(--font-size-med)}}@media (forced-colors:active){._20at411:disabled{color:graytext;border-color:graytext}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.textarea{._1kwv2lp0{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:0;padding:0;position:absolute;overflow:hidden}._1kwv2lp1{appearance:none;border-width:var(--space-1);border-style:solid;border-color:var(--color-border-strong);border-radius:var(--radius-med);background-color:var(--color-bg);inline-size:100%;min-inline-size:0;color:var(--color-fg);resize:block;padding-block:0}._1kwv2lp1::placeholder{color:var(--color-fg-muted);opacity:1}._1kwv2lp1:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}._1kwv2lp1:disabled{background-color:var(--color-bg-muted);color:var(--color-fg-muted);cursor:not-allowed;resize:none;border-style:dashed}._1kwv2lp1[aria-invalid=true]{border-color:var(--color-danger)}._1kwv2lp2{min-block-size:var(--size-xs);padding-block:calc((var(--size-xs) - 2 * var(--space-1) - var(--font-size-xs) * var(--line-height-med)) / 2);padding-inline:var(--space-6)}._1kwv2lp3{min-block-size:var(--size-sm);padding-block:calc((var(--size-sm) - 2 * var(--space-1) - var(--font-size-sm) * var(--line-height-med)) / 2);padding-inline:var(--space-8)}._1kwv2lp4{min-block-size:var(--size-med);padding-block:calc((var(--size-med) - 2 * var(--space-1) - var(--font-size-med) * var(--line-height-med)) / 2);padding-inline:var(--space-12)}@media (pointer:coarse){._1kwv2lp1{font-size:var(--font-size-med)}._1kwv2lp2{min-block-size:max(var(--size-xs), calc(2 * var(--space-1) + var(--font-size-med) * var(--line-height-med)));padding-block:max(var(--space-0), calc((var(--size-xs) - 2 * var(--space-1) - var(--font-size-med) * var(--line-height-med)) / 2))}._1kwv2lp3{min-block-size:max(var(--size-sm), calc(2 * var(--space-1) + var(--font-size-med) * var(--line-height-med)));padding-block:max(var(--space-0), calc((var(--size-sm) - 2 * var(--space-1) - var(--font-size-med) * var(--line-height-med)) / 2))}._1kwv2lp4{min-block-size:max(var(--size-med), calc(2 * var(--space-1) + var(--font-size-med) * var(--line-height-med)));padding-block:max(var(--space-0), calc((var(--size-med) - 2 * var(--space-1) - var(--font-size-med) * var(--line-height-med)) / 2))}}@media (forced-colors:active){._1kwv2lp1:disabled{color:graytext;border-color:graytext}}}
|
package/dist/Toast/Toast.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.toast{.hcnvsc1{inline-size:min(100% - 2 * var(--space-16), 6 * var(--space-64));inset-block-end:var(--space-16);inset-inline-end:var(--space-16);container:hcnvsc0/inline-size}.hcnvsc1:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.hcnvsc2{gap:var(--space-8);margin:calc(-1 * var(--space-16));padding:var(--space-16);overscroll-behavior:contain;flex-direction:column;max-block-size:100dvh;margin-inline-start:calc(-1 * var(--space-24));padding-inline-start:var(--space-24);display:flex;overflow:hidden auto}.hcnvsc2:empty{padding:0}.hcnvsc2:has([data-swiping],[data-swipe-direction=down]){overflow-y:hidden}.hcnvsc3{border:var(--space-1) solid var(--color-border);transform:translate(var(--toast-swipe-movement-x,0), var(--toast-swipe-movement-y,0));transition:opacity var(--duration-med) var(--easing-standard), translate var(--duration-med) var(--easing-enter), transform var(--duration-med) var(--easing-enter)}.hcnvsc3:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.hcnvsc3[data-starting-style],.hcnvsc3[data-ending-style]{opacity:0;translate:0 var(--distance-med)}.hcnvsc3[data-swiping]{transition:none}.hcnvsc3[data-limited]{display:none}.hcnvsc4{overflow-wrap:anywhere}.hcnvsca{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:0;padding:0;position:absolute;inset-block-start:0;inset-inline-start:0;overflow:hidden}@container hcnvsc0 (inline-size<16rem){.hcnvsc3{flex-wrap:wrap}.hcnvsc4{flex-basis:100%;order:1}.hcnvsc5{margin-inline-start:auto}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer components.visually-hidden{._1qk18b30{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:0;padding:0;position:absolute;overflow:hidden}}
|
package/dist/base.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
1
|
+
@layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
|
|
2
2
|
@layer tokens{:root{--space-0:0rem;--space-1:.0625rem;--space-2:.125rem;--space-4:.25rem;--space-6:.375rem;--space-8:.5rem;--space-12:.75rem;--space-16:1rem;--space-20:1.25rem;--space-24:1.5rem;--space-32:2rem;--space-40:2.5rem;--space-48:3rem;--space-64:4rem;--space-80:5rem;--space-96:6rem;--size-xs:1.5rem;--size-sm:2rem;--size-med:2.5rem;--size-lg:3rem;--size-xl:3.5rem;--container-prose:40rem;--container-page:64rem;--container-wide:80rem;--radius-none:0;--radius-sm:.25rem;--radius-med:.5rem;--radius-lg:.75rem;--radius-xl:1rem;--radius-full:9999px;--font-size-xs:.75rem;--font-size-sm:.875rem;--font-size-med:1rem;--font-size-lg:1.125rem;--font-size-xl:1.25rem;--font-size-2xl:1.5rem;--font-size-3xl:1.875rem;--font-size-4xl:2.25rem;--font-weight-regular:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--line-height-sm:1.25;--line-height-med:1.5;--line-height-lg:1.75;--z-index-base:0;--z-index-raised:1;--z-index-dropdown:1000;--z-index-sticky:1100;--z-index-overlay:1200;--z-index-modal:1300;--z-index-popover:1400;--z-index-toast:1500;--z-index-tooltip:1600;--duration-fast:.12s;--duration-med:.2s;--duration-slow:.32s;--easing-standard:cubic-bezier(.2, 0, 0, 1);--easing-enter:cubic-bezier(0, 0, 0, 1);--easing-exit:cubic-bezier(.3, 0, 1, 1);--distance-sm:.25rem;--distance-med:.5rem;--distance-lg:1rem;--scale-sm:.02;--scale-med:.05;--scale-lg:.1}[data-brand]{--shadow-sm:0 1px 2px color-mix(in srgb, var(--color-shadow) 12%, transparent);--shadow-med:0 2px 8px color-mix(in srgb, var(--color-shadow) 14%, transparent), 0 1px 2px color-mix(in srgb, var(--color-shadow) 8%, transparent);--shadow-lg:0 8px 24px color-mix(in srgb, var(--color-shadow) 16%, transparent), 0 2px 6px color-mix(in srgb, var(--color-shadow) 8%, transparent)}[data-brand][data-mode=light]{color-scheme:light}[data-brand][data-mode=dark]{--shadow-sm:0 0 0 1px color-mix(in srgb, var(--color-fg) 10%, transparent), 0 1px 2px color-mix(in srgb, var(--color-shadow) 40%, transparent);--shadow-med:0 0 0 1px color-mix(in srgb, var(--color-fg) 10%, transparent), 0 2px 8px color-mix(in srgb, var(--color-shadow) 48%, transparent), 0 1px 2px color-mix(in srgb, var(--color-shadow) 32%, transparent);--shadow-lg:0 0 0 1px color-mix(in srgb, var(--color-fg) 10%, transparent), 0 8px 24px color-mix(in srgb, var(--color-shadow) 56%, transparent), 0 2px 6px color-mix(in srgb, var(--color-shadow) 32%, transparent);color-scheme:dark}[data-brand][data-mode=system]{color-scheme:light dark}:dir(ltr){--dir:1}:dir(rtl){--dir:-1}@media (prefers-color-scheme:dark){[data-brand][data-mode=system]{--shadow-sm:0 0 0 1px color-mix(in srgb, var(--color-fg) 10%, transparent), 0 1px 2px color-mix(in srgb, var(--color-shadow) 40%, transparent);--shadow-med:0 0 0 1px color-mix(in srgb, var(--color-fg) 10%, transparent), 0 2px 8px color-mix(in srgb, var(--color-shadow) 48%, transparent), 0 1px 2px color-mix(in srgb, var(--color-shadow) 32%, transparent);--shadow-lg:0 0 0 1px color-mix(in srgb, var(--color-fg) 10%, transparent), 0 8px 24px color-mix(in srgb, var(--color-shadow) 56%, transparent), 0 2px 6px color-mix(in srgb, var(--color-shadow) 32%, transparent)}}@media (prefers-reduced-motion:reduce){:root{--distance-sm:0rem;--distance-med:0rem;--distance-lg:0rem;--scale-sm:0;--scale-med:0;--scale-lg:0;--duration-fast:.12s;--duration-med:.12s;--duration-slow:.12s}}}
|
|
3
3
|
|
|
4
4
|
@font-face{src:local(Arial),local(ArialMT);font-weight:400;font-style:normal;size-adjust:101.568%;ascent-override:95.3892%;descent-override:23.7511%;line-gap-override:0%;font-family:Inter Fallback Arial}@font-face{src:local(Arial Bold),local(Arial-BoldMT);font-weight:700;font-style:normal;size-adjust:101.637%;ascent-override:95.3241%;descent-override:23.7349%;line-gap-override:0%;font-family:Inter Fallback Arial}@font-face{src:local(Arial Italic),local(Arial-ItalicMT);font-weight:400;font-style:italic;size-adjust:101.637%;ascent-override:95.3241%;descent-override:23.7349%;line-gap-override:0%;font-family:Inter Fallback Arial}@font-face{src:local(Arial Bold Italic),local(Arial-BoldItalicMT);font-weight:700;font-style:italic;size-adjust:101.706%;ascent-override:95.2591%;descent-override:23.7187%;line-gap-override:0%;font-family:Inter Fallback Arial}@font-face{src:local(Menlo Regular),local(Menlo-Regular);font-weight:400;font-style:normal;size-adjust:100.137%;ascent-override:101.871%;descent-override:29.9621%;line-gap-override:0%;font-family:JetBrains Mono Fallback Menlo}@font-face{src:local(Menlo Bold),local(Menlo-Bold);font-weight:700;font-style:normal;size-adjust:100.003%;ascent-override:102.007%;descent-override:30.0022%;line-gap-override:0%;font-family:JetBrains Mono Fallback Menlo}@font-face{src:local(Menlo Italic),local(Menlo-Italic);font-weight:400;font-style:italic;size-adjust:100.137%;ascent-override:101.871%;descent-override:29.9621%;line-gap-override:0%;font-family:JetBrains Mono Fallback Menlo}@font-face{src:local(Menlo Bold Italic),local(Menlo-BoldItalic);font-weight:700;font-style:italic;size-adjust:100.003%;ascent-override:102.007%;descent-override:30.0022%;line-gap-override:0%;font-family:JetBrains Mono Fallback Menlo}@font-face{src:local(Consolas);font-weight:400;font-style:normal;size-adjust:114.387%;ascent-override:89.1798%;descent-override:26.2293%;line-gap-override:0%;font-family:JetBrains Mono Fallback Consolas}@font-face{src:local(Consolas Bold),local(Consolas-Bold);font-weight:700;font-style:normal;size-adjust:114.387%;ascent-override:89.1798%;descent-override:26.2293%;line-gap-override:0%;font-family:JetBrains Mono Fallback Consolas}@font-face{src:local(Consolas Italic),local(Consolas-Italic);font-weight:400;font-style:italic;size-adjust:114.387%;ascent-override:89.1798%;descent-override:26.2293%;line-gap-override:0%;font-family:JetBrains Mono Fallback Consolas}@font-face{src:local(Consolas Bold Italic),local(Consolas-BoldItalic);font-weight:700;font-style:italic;size-adjust:114.387%;ascent-override:89.1798%;descent-override:26.2293%;line-gap-override:0%;font-family:JetBrains Mono Fallback Consolas}@font-face{src:local(Courier New),local(CourierNewPSMT);font-weight:400;font-style:normal;size-adjust:127.781%;ascent-override:79.8319%;descent-override:23.48%;line-gap-override:0%;font-family:JetBrains Mono Fallback Courier New}@font-face{src:local(Courier New Bold),local(CourierNewPS-BoldMT);font-weight:700;font-style:normal;size-adjust:123.353%;ascent-override:82.6977%;descent-override:24.3229%;line-gap-override:0%;font-family:JetBrains Mono Fallback Courier New}@font-face{src:local(Courier New Italic),local(CourierNewPS-ItalicMT);font-weight:400;font-style:italic;size-adjust:127.781%;ascent-override:79.8319%;descent-override:23.48%;line-gap-override:0%;font-family:JetBrains Mono Fallback Courier New}@font-face{src:local(Courier New Bold Italic),local(CourierNewPS-BoldItalicMT);font-weight:700;font-style:italic;size-adjust:123.353%;ascent-override:82.6977%;descent-override:24.3229%;line-gap-override:0%;font-family:JetBrains Mono Fallback Courier New}@layer tokens{[data-brand=default]{--color-bg:light-dark(oklch(100% 0 0),oklch(14.5% .006 265));--color-bg-muted:light-dark(oklch(96.8% .004 265),oklch(27% .01 265));--color-bg-raised:light-dark(oklch(100% 0 0),oklch(20.5% .008 265));--color-fg:light-dark(oklch(14.5% .006 265),oklch(98.5% .002 265));--color-fg-muted:light-dark(oklch(44.5% .014 265),oklch(71% .012 265));--color-border:light-dark(oklch(92.5% .006 265),oklch(27% .01 265));--color-border-strong:oklch(55.5% .014 265);--color-accent:light-dark(oklch(54.6% .19 258),oklch(70.7% .14 258));--color-accent-fg:light-dark(oklch(100% 0 0),oklch(14.5% .006 265));--color-accent-fill:light-dark(oklch(54.6% .19 258),oklch(48.8% .18 258));--color-accent-fill-fg:oklch(100% 0 0);--color-danger:light-dark(oklch(56% .2 25),oklch(70.4% .17 25));--color-danger-fg:light-dark(oklch(100% 0 0),oklch(14.5% .006 265));--color-success:light-dark(oklch(52% .135 150),oklch(76% .15 150));--color-success-fg:light-dark(oklch(100% 0 0),oklch(14.5% .006 265));--color-warning:light-dark(oklch(53% .11 75),oklch(81% .145 75));--color-warning-fg:light-dark(oklch(100% 0 0),oklch(14.5% .006 265));--color-done:light-dark(oklch(55% .2 295),oklch(72% .15 295));--color-done-fg:light-dark(oklch(100% 0 0),oklch(14.5% .006 265));--color-neutral-subtle:light-dark(oklch(96.8% .004 265),oklch(27% .01 265));--color-neutral-subtle-fg:light-dark(oklch(37% .013 265),oklch(92.5% .006 265));--color-accent-subtle:light-dark(oklch(93.2% .032 258),oklch(28.2% .09 258));--color-accent-subtle-fg:light-dark(oklch(48.8% .18 258),oklch(80.9% .095 258));--color-success-subtle:light-dark(oklch(94.5% .04 150),oklch(26% .06 150));--color-success-subtle-fg:light-dark(oklch(46.5% .12 150),oklch(84% .115 150));--color-warning-subtle:light-dark(oklch(95.5% .03 75),oklch(27% .05 75));--color-warning-subtle-fg:light-dark(oklch(47.5% .1 75),oklch(86% .105 75));--color-danger-subtle:light-dark(oklch(93.6% .032 25),oklch(25.8% .085 25));--color-danger-subtle-fg:light-dark(oklch(50.5% .19 25),oklch(80.8% .105 25));--color-done-subtle:light-dark(oklch(93.8% .032 295),oklch(28% .095 295));--color-done-subtle-fg:light-dark(oklch(49% .19 295),oklch(81.5% .1 295));--color-focus:light-dark(oklch(54.6% .19 258),oklch(70.7% .14 258));--color-shadow:light-dark(oklch(14.5% .006 265),oklch(0% 0 0));--font-body:"Inter", "Inter Fallback Arial", sans-serif;--font-heading:"Inter", "Inter Fallback Arial", sans-serif;--font-display:"Inter", "Inter Fallback Arial", sans-serif;--font-label:"Inter", "Inter Fallback Arial", sans-serif;--font-mono:"JetBrains Mono", "JetBrains Mono Fallback Menlo", "JetBrains Mono Fallback Consolas", "JetBrains Mono Fallback Courier New", monospace;--font-trim-body-cap:.36377;--font-trim-body-baseline:.36377;--font-trim-heading-cap:.36377;--font-trim-heading-baseline:.36377;--font-trim-display-cap:.36377;--font-trim-display-baseline:.36377;--font-trim-label-cap:.36377;--font-trim-label-baseline:.36377;--font-trim-mono-cap:.37;--font-trim-mono-baseline:.36}@media (forced-colors:active){[data-brand][data-brand]{--color-bg:Canvas;--color-bg-muted:Canvas;--color-bg-raised:Canvas;--color-fg:CanvasText;--color-fg-muted:CanvasText;--color-border:CanvasText;--color-border-strong:CanvasText;--color-accent:LinkText;--color-accent-fg:Canvas;--color-accent-fill:LinkText;--color-accent-fill-fg:Canvas;--color-danger:CanvasText;--color-danger-fg:Canvas;--color-success:CanvasText;--color-success-fg:Canvas;--color-warning:CanvasText;--color-warning-fg:Canvas;--color-done:CanvasText;--color-done-fg:Canvas;--color-neutral-subtle:Canvas;--color-neutral-subtle-fg:CanvasText;--color-accent-subtle:Canvas;--color-accent-subtle-fg:CanvasText;--color-success-subtle:Canvas;--color-success-subtle-fg:CanvasText;--color-warning-subtle:Canvas;--color-warning-subtle-fg:CanvasText;--color-danger-subtle:Canvas;--color-danger-subtle-fg:CanvasText;--color-done-subtle:Canvas;--color-done-subtle-fg:CanvasText;--color-focus:Highlight;--color-shadow:CanvasText}}}
|
package/dist/docs/Badge.md
CHANGED
|
@@ -23,7 +23,7 @@ A static label that states the status of, or a short fact about, the thing besid
|
|
|
23
23
|
|
|
24
24
|
- `variant`: `neutral` (default, `fgMuted` on `bgMuted`) for most statuses and facts; `accent` (`accentFg` on `accent`) to draw the eye; `success` (`successFg` on `success`) for a passing or healthy state; `warning` (`warningFg` on `warning`) for one that needs attention soon; `danger` (`dangerFg` on `danger`) for a failure or a blocked state; `done` (`doneFg` on `done`, violet) for finished work, such as a merged PR or a closed issue.
|
|
25
25
|
- `subtle`: `false` (default) is the solid fill above; `true` swaps it for the variant's tint, `<variant>SubtleFg` on `<variant>Subtle` (`neutralSubtleFg` on `neutralSubtle` and so on). Use subtle where many badges sit together, such as a list or a board, so each one stays calm and the color still means one thing; keep solid for the one status that should stand out.
|
|
26
|
-
- `size`: `sm` or `med` (default), the label's `fontSize` step.
|
|
26
|
+
- `size`: `xs`, `sm` or `med` (default), the label's `fontSize` step. Use `xs` (a 12px label, 4px by 2px padding) in dense rows and narrow table cells, such as a board column of status pills; keep `sm` or `med` elsewhere, since `xs` is the smallest readable label. An icon in a badge takes the badge's step as its icon `size` (ADR 0044): `xs` in an `xs` badge.
|
|
27
27
|
- The label states the state. Color is never the only cue (WCAG 1.4.1): under forced colors every variant, `success` and `warning` included, is the same outlined box, and some readers cannot tell the fills apart (green from red above all). Write "Failed" or "Passed", not a red or green badge reading "3".
|
|
28
28
|
- Keep it to one or two words; it never wraps. With no children it renders nothing.
|
|
29
29
|
- Fill, text color, padding, radius and `display` (`inline-block`) are default style props on the outer `span`; a consumer's win. `className`, `style` and `ref` go to it, `className` last. The box holds inside a `Text` or `Heading` too.
|
|
@@ -52,6 +52,13 @@ A static label that states the status of, or a short fact about, the thing besid
|
|
|
52
52
|
</Badge>
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
+
```tsx
|
|
56
|
+
// A narrow board column or table cell: xs is the narrowest pill that still reads.
|
|
57
|
+
<Badge size="xs" subtle variant="warning">
|
|
58
|
+
Changes requested
|
|
59
|
+
</Badge>
|
|
60
|
+
```
|
|
61
|
+
|
|
55
62
|
## Don't
|
|
56
63
|
|
|
57
64
|
```tsx
|
|
@@ -79,7 +86,7 @@ Generated from the TypeScript types.
|
|
|
79
86
|
|
|
80
87
|
| Prop | Type | Required | Description |
|
|
81
88
|
| --- | --- | --- | --- |
|
|
82
|
-
| `size` | `"med" \| "sm"` | no | |
|
|
89
|
+
| `size` | `"med" \| "sm" \| "xs"` | no | |
|
|
83
90
|
| `subtle` | `boolean` | no | |
|
|
84
91
|
| `variant` | `"accent" \| "danger" \| "done" \| "neutral" \| "success" \| "warning"` | no | |
|
|
85
92
|
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# Combobox
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
A form field for picking one value, or any number with `multiple`, from a list long enough that the user types to narrow it. A trigger drawn as MultiSelect's opens a popup with a filter input above the options; typing keeps the options whose label holds the query, ignoring case and accents. Each picked option shows a check mark, and the trigger shows the picked label, or with `multiple` the joined labels, then a count ("3 selected") once they would not fit. Built on Base UI's `Combobox` (ADR 0003, 0142), which owns the keyboard and focus: focus moves into the filter as the popup opens and stays there, the arrow keys move the highlight, Enter picks, Esc and an outside click close it, and focus returns to the trigger. It shares MultiSelect's and Select's trigger, popup, option rows and summary (ADR 0134, 0142) and composes `Field` for its label, description and error (ADR 0026).
|
|
6
|
+
|
|
7
|
+
## When to use
|
|
8
|
+
|
|
9
|
+
- Picking one value from a list long enough that the user types to find it ("Country", "Time zone", "Repository").
|
|
10
|
+
- Picking several values from such a list, with `multiple` ("Repos", "Assignees", "Labels" in a large project).
|
|
11
|
+
|
|
12
|
+
## When not to use
|
|
13
|
+
|
|
14
|
+
- Several values from a list short enough to scan, with no typing: use `MultiSelect`.
|
|
15
|
+
- One value from a list short enough to scan, with no typing: use `Select`; from a few shown at once, `RadioGroup` or `ChipGroup`.
|
|
16
|
+
- Filtering content on the page, where nothing is picked: use `SearchField`.
|
|
17
|
+
- Async, creatable or grouped options: not supported yet.
|
|
18
|
+
- Actions: use `Menu`; a combobox picks values and runs nothing.
|
|
19
|
+
- Free text: use `TextField`.
|
|
20
|
+
|
|
21
|
+
## Rules
|
|
22
|
+
|
|
23
|
+
- `label` is required and names the field. `description` and `error` render below the trigger through `Field`; a non-empty `error` marks the field invalid and joins the trigger's `aria-describedby`.
|
|
24
|
+
- `options` is a list of `{ value, label, disabled? }`. `label` is plain text: it is what the filter matches, and it is shown in the list and in the trigger.
|
|
25
|
+
- `multiple` (default `false`) sets the value's type. Without it, `value` and `defaultValue` are an option value or `null` for none (`""` counts as none too), and `onValueChange` gets the new value. With it, they are arrays of option values, and `onValueChange` gets the new array. `value` with `onValueChange` controls it; `defaultValue` leaves it uncontrolled.
|
|
26
|
+
- The filter matches the query anywhere in the label, ignoring case, accents and punctuation (Base UI's default). It is empty each time the popup opens. With `multiple`, a pick keeps the query, so several matches can be picked in a row.
|
|
27
|
+
- A value no option holds still shows in the trigger, as the raw value, and is listed last in the popup, picked, so it can be unpicked.
|
|
28
|
+
- `name` makes the value submit as one `name=value` pair, as a `<select>` does; with `multiple`, each value as its own pair, read with `formData.getAll(name)`.
|
|
29
|
+
- `placeholder` (`"Select"`) shows while nothing is picked. `filterLabel` (`"Filter"`) names the filter input. `emptyLabel` (`"No matches"`) shows when no label holds the query. `countLabel` (`"{count} selected"`) is the summary with `multiple` once the joined labels do not fit; `{count}` is replaced with the number picked. Translate all four.
|
|
30
|
+
- `size` (`sm`, `med`, `lg`; default `med`) is the trigger's and the filter input's, as Button's: it matches a SearchField, TextField, Select, MultiSelect or Button of the same size in height (24, 32 and 40 px, ADR 0124). The list's options do not change size.
|
|
31
|
+
- `disabled` disables the trigger and mutes the label. `required` marks the field required; report a missing value through `error`.
|
|
32
|
+
- The trigger, the popup and its listbox are named by `label`; the filter input by `filterLabel`.
|
|
33
|
+
- Style props, `className` and `style` go to the `Field` around the label, trigger and messages, not to the trigger or the popup.
|
|
34
|
+
- The popup portals into the trigger's nearest `ThemeProvider`, so it keeps the brand and mode. That provider must not clip or stack its content: wrap the app root, and keep a nested provider off elements with `overflow: hidden`, a `transform` or their own `z-index`. It sits on `zIndex` `popover`, below the trigger by default, and flips when it would overflow the viewport. The input stays at its top while the options scroll.
|
|
35
|
+
- Never add key handlers or `tabIndex`; Base UI handles the keyboard.
|
|
36
|
+
- The module has no hooks, so a server component can render it; `onValueChange` must come from a client component.
|
|
37
|
+
|
|
38
|
+
## Do
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
<Combobox label="Country" name="country" options={countries} defaultValue="ie" />
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
45
|
+
<Combobox
|
|
46
|
+
label="Repos"
|
|
47
|
+
multiple
|
|
48
|
+
options={repos}
|
|
49
|
+
value={picked}
|
|
50
|
+
onValueChange={setPicked}
|
|
51
|
+
filterLabel="Filter repos"
|
|
52
|
+
emptyLabel="No matching repos"
|
|
53
|
+
countLabel="{count} repos"
|
|
54
|
+
/>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
```tsx
|
|
58
|
+
<Combobox
|
|
59
|
+
label="Time zone"
|
|
60
|
+
name="tz"
|
|
61
|
+
options={zones}
|
|
62
|
+
required
|
|
63
|
+
error={missing ? "Pick a time zone." : undefined}
|
|
64
|
+
/>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Don't
|
|
68
|
+
|
|
69
|
+
```tsx
|
|
70
|
+
// Four options need no filter: a Select shows them all at a glance.
|
|
71
|
+
<Combobox label="Plan" options={[free, pro, team, enterprise]} />
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
// A list of values belongs to `multiple`, which types `value` as an array.
|
|
76
|
+
<Combobox label="Labels" options={labels} value={labels[0]} onValueChange={(v) => add(v)} />
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
```tsx
|
|
80
|
+
// Searching the page picks nothing: use SearchField.
|
|
81
|
+
<Combobox label="Search issues" options={issues} onValueChange={jumpTo} />
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Accessibility
|
|
85
|
+
|
|
86
|
+
- The trigger is a button with `role="combobox"` and `aria-expanded`, labelled by the `Field` label and described by the description and error. The filter input is a `combobox` named by `filterLabel`, which points at the listbox with `aria-controls` and at the highlighted option with `aria-activedescendant`. The options are a `listbox` named by the label, with `aria-multiselectable` when `multiple`; each option is `role="option"` with `aria-selected`.
|
|
87
|
+
- Opening the popup moves focus to the filter input, and focus stays there: the arrow keys move a highlight, not focus, so only the input shows the focus ring. Enter picks the highlighted option. Without `multiple` a pick closes the popup; with it, the popup stays open. Closed by Esc, focus returns to the trigger.
|
|
88
|
+
- `emptyLabel` is in a polite `status` region that stays on the page, so a screen reader hears when nothing matches.
|
|
89
|
+
- A closed popup stays on the page while it fades out, but is `inert` and `aria-hidden` from the moment it closes, so a popup opened during the fade is the only one a screen reader or a role query finds (ADR 0113).
|
|
90
|
+
- Selection is a check mark on the option as well as the trigger's text, so it is not color alone. The check sits at the end of the row; its space is always kept, so labels never shift.
|
|
91
|
+
- The trigger summary is text: the label, the joined labels, or the count. When the count replaces the labels, the labels are hidden from assistive technology so the count is read once.
|
|
92
|
+
- The highlighted option takes the shared highlight fill. Under forced colors it is `Highlight` with `HighlightText`, the input's ring is `Highlight`, and the popup keeps its border.
|
|
93
|
+
|
|
94
|
+
## Props
|
|
95
|
+
|
|
96
|
+
Generated from the TypeScript types.
|
|
97
|
+
|
|
98
|
+
### Combobox
|
|
99
|
+
|
|
100
|
+
| Prop | Type | Required | Description |
|
|
101
|
+
| --- | --- | --- | --- |
|
|
102
|
+
| `className` | `string` | no | |
|
|
103
|
+
| `countLabel` | `string` | no | |
|
|
104
|
+
| `defaultValue` | `string \| readonly string[]` | no | |
|
|
105
|
+
| `description` | `ReactNode` | no | |
|
|
106
|
+
| `disabled` | `boolean` | no | |
|
|
107
|
+
| `emptyLabel` | `string` | no | |
|
|
108
|
+
| `error` | `ReactNode` | no | |
|
|
109
|
+
| `filterLabel` | `string` | no | |
|
|
110
|
+
| `label` | `ReactNode` | yes | |
|
|
111
|
+
| `multiple` | `boolean` | no | |
|
|
112
|
+
| `name` | `string` | no | |
|
|
113
|
+
| `onValueChange` | `((value: string \| null) => void) \| ((value: string[]) => void)` | no | |
|
|
114
|
+
| `options` | `readonly ListboxOption[]` | yes | |
|
|
115
|
+
| `placeholder` | `string` | no | |
|
|
116
|
+
| `required` | `boolean` | no | |
|
|
117
|
+
| `size` | `"lg" \| "med" \| "sm"` | no | |
|
|
118
|
+
| `style` | `CSSProperties` | no | |
|
|
119
|
+
| `value` | `string \| readonly string[]` | no | |
|
|
120
|
+
|
|
121
|
+
Also accepts the style props (see `manifest.json` `styleProps`).
|
package/dist/docs/MultiSelect.md
CHANGED
|
@@ -15,7 +15,7 @@ A form field for picking any number of values from a list too long to show at on
|
|
|
15
15
|
- A short list shown inline, each with its own label: use a group of `Checkbox`es, one `Field` each, in a native `fieldset` with a `legend`.
|
|
16
16
|
- Actions: use `Menu`; a multi-select picks values and runs nothing.
|
|
17
17
|
- One value from a long list: use `Select`; from a few shown at once, `RadioGroup`.
|
|
18
|
-
-
|
|
18
|
+
- A list long enough that the user types to narrow it: use `Combobox` with `multiple`. Async options are not supported yet.
|
|
19
19
|
- Users who need to see every selected value at once: use `Chip` or `ChipGroup`, or show the selection beside the field.
|
|
20
20
|
|
|
21
21
|
## Rules
|
package/dist/docs/SearchField.md
CHANGED
|
@@ -12,7 +12,7 @@ A form field for a search query: an `<input type="search">` (role `searchbox`) w
|
|
|
12
12
|
## When not to use
|
|
13
13
|
|
|
14
14
|
- Any other single-line text: use `TextField`; a search field announces itself as a search.
|
|
15
|
-
- Picking from a known list as the user types:
|
|
15
|
+
- Picking from a known list as the user types: use `Combobox`.
|
|
16
16
|
- Picking one value from a list without typing: use `Select`.
|
|
17
17
|
- Picking several values from a list: use `MultiSelect` or `ChipGroup`.
|
|
18
18
|
- A colour: use `ColorField`.
|
package/dist/docs/Select.md
CHANGED
|
@@ -13,7 +13,7 @@ A form field for picking one value from a list too long to show as radios, with
|
|
|
13
13
|
|
|
14
14
|
- A few options, all visible on the page: `RadioGroup` or `ChipGroup`.
|
|
15
15
|
- Several values: use `MultiSelect`.
|
|
16
|
-
- A long list the user narrows by typing
|
|
16
|
+
- A long list the user narrows by typing: use `Combobox`. Async options are not supported yet.
|
|
17
17
|
- Actions: use `Menu`; a select picks a value and runs nothing.
|
|
18
18
|
- Free text: use `TextField`.
|
|
19
19
|
|
package/dist/docs/TextField.md
CHANGED
|
@@ -14,7 +14,7 @@ A form field for one line of text that is not a search: an `<input>` (role `text
|
|
|
14
14
|
- A query that searches or filters: use `SearchField`; it is announced as a search and has a clear button.
|
|
15
15
|
- Several lines of text (a reply, a note, a description): use `Textarea`.
|
|
16
16
|
- A number with steppers or a range: a number field is not planned (ADR 0133); use `TextField` with `inputMode` in `inputProps` and validate in the app.
|
|
17
|
-
- Picking from a known list as the user types:
|
|
17
|
+
- Picking from a known list as the user types: use `Combobox`.
|
|
18
18
|
- Picking one or several values from a list: use `MultiSelect` or `ChipGroup`.
|
|
19
19
|
- A colour: use `ColorField`; it pairs the hex with the browser's colour picker.
|
|
20
20
|
- A password: TextField has no `password` type, since a password field needs a show and hide toggle of its own.
|
package/dist/docs/llms.txt
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
- [Chip](Chip.md): A toggle that filters content or picks an option: "Unread", "Starred", "Medium". A `<button>` with `aria-pressed` on `Clickable`, built on Base UI `Toggle`; `ChipGroup` is a Base UI `ToggleGroup` of chips that share one state. If it changes state when clicked, it's a chip.
|
|
21
21
|
- [Clickable](Clickable.md): The low-level base for everything a user presses: a `<button type="button">` by default, or a link with `as="a"` (or a router's link component). It brings the shared focus ring, a 24 by 24 CSS px minimum target (WCAG 2.2), `disabled` and `busy` states as ARIA attributes, and no look of its own: the button and link chrome is stripped. `Button`, `IconButton` and link components are built on it.
|
|
22
22
|
- [ColorField](ColorField.md): A form field for one colour as a `#rrggbb` string: a swatch, the browser's own colour picker (`<input type="color">`), before a hex text input (role `textbox`) that holds the value. Picking a colour writes its hex; typing a valid hex moves the swatch. The hex input has TextField's look, with the swatch over its inline-start padding. Built on Base UI's `Input` and a native colour input, since Base UI has no colour picker (ADR 0003, 0114); it composes `Field` for its label, description and error (ADR 0026). Three sizes at Button's heights (`sm`, `med`, `lg`: 24, 32 and 40 px, ADR 0124); the swatch is 24px, or 32px in `lg`.
|
|
23
|
+
- [Combobox](Combobox.md): A form field for picking one value, or any number with `multiple`, from a list long enough that the user types to narrow it. A trigger drawn as MultiSelect's opens a popup with a filter input above the options; typing keeps the options whose label holds the query, ignoring case and accents. Each picked option shows a check mark, and the trigger shows the picked label, or with `multiple` the joined labels, then a count ("3 selected") once they would not fit. Built on Base UI's `Combobox` (ADR 0003, 0142), which owns the keyboard and focus: focus moves into the filter as the popup opens and stays there, the arrow keys move the highlight, Enter picks, Esc and an outside click close it, and focus returns to the trigger. It shares MultiSelect's and Select's trigger, popup, option rows and summary (ADR 0134, 0142) and composes `Field` for its label, description and error (ADR 0026).
|
|
23
24
|
- [Dialog](Dialog.md): A modal panel over the page for one short task: edit a name, fill a small form, read details that need a decision. Built on Base UI's Dialog, which owns the behavior: focus moves into the dialog and stays there, the page behind is inert and does not scroll, Esc and a click on the backdrop close it, and focus returns to the trigger. The parts add the look: a dimmed backdrop, a raised panel with a title, and a zoom-and-fade that is a plain fade under reduced motion.
|
|
24
25
|
- [Field](Field.md): Wires one form control to its label, description and error: ids, `htmlFor`, `aria-describedby` and `aria-invalid`. It is input-agnostic: the control inside is Base UI's `Field.Control` or a Base UI control (Checkbox, Combobox), and Base UI does the wiring. The parts are `Field` (the root, a flex column), `Field.Label`, `Field.Description` and `Field.Error`. Built on Base UI `Field` (ADR 0003, 0026, 0046); `@base-ui/react` is a peer dependency, so the app's Base UI controls and Field share one copy of its contexts.
|
|
25
26
|
- [Heading](Heading.md): Section and page headings. A `Text` with heading defaults: the `heading` font role, `semibold`, `sm` leading, and balanced line wrapping. The level (`as`) and the look (`size`) are separate, so the outline stays right whatever the design calls for.
|
package/dist/docs/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./manifest.schema.json",
|
|
3
3
|
"package": "@jonmilner/ui",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.11",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
7
7
|
"name": "AlertDialog",
|
|
@@ -168,11 +168,12 @@
|
|
|
168
168
|
"props": [
|
|
169
169
|
{
|
|
170
170
|
"name": "size",
|
|
171
|
-
"type": "\"med\" | \"sm\"",
|
|
171
|
+
"type": "\"med\" | \"sm\" | \"xs\"",
|
|
172
172
|
"required": false,
|
|
173
173
|
"values": [
|
|
174
174
|
"med",
|
|
175
|
-
"sm"
|
|
175
|
+
"sm",
|
|
176
|
+
"xs"
|
|
176
177
|
]
|
|
177
178
|
},
|
|
178
179
|
{
|
|
@@ -528,6 +529,109 @@
|
|
|
528
529
|
"parts": [],
|
|
529
530
|
"exports": []
|
|
530
531
|
},
|
|
532
|
+
{
|
|
533
|
+
"name": "Combobox",
|
|
534
|
+
"styleProps": true,
|
|
535
|
+
"props": [
|
|
536
|
+
{
|
|
537
|
+
"name": "className",
|
|
538
|
+
"type": "string",
|
|
539
|
+
"required": false
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "countLabel",
|
|
543
|
+
"type": "string",
|
|
544
|
+
"required": false
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "defaultValue",
|
|
548
|
+
"type": "string | readonly string[]",
|
|
549
|
+
"required": false
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "description",
|
|
553
|
+
"type": "ReactNode",
|
|
554
|
+
"required": false
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "disabled",
|
|
558
|
+
"type": "boolean",
|
|
559
|
+
"required": false
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "emptyLabel",
|
|
563
|
+
"type": "string",
|
|
564
|
+
"required": false
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "error",
|
|
568
|
+
"type": "ReactNode",
|
|
569
|
+
"required": false
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "filterLabel",
|
|
573
|
+
"type": "string",
|
|
574
|
+
"required": false
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "label",
|
|
578
|
+
"type": "ReactNode",
|
|
579
|
+
"required": true
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "multiple",
|
|
583
|
+
"type": "boolean",
|
|
584
|
+
"required": false
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"name": "name",
|
|
588
|
+
"type": "string",
|
|
589
|
+
"required": false
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "onValueChange",
|
|
593
|
+
"type": "((value: string | null) => void) | ((value: string[]) => void)",
|
|
594
|
+
"required": false
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"name": "options",
|
|
598
|
+
"type": "readonly ListboxOption[]",
|
|
599
|
+
"required": true
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "placeholder",
|
|
603
|
+
"type": "string",
|
|
604
|
+
"required": false
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"name": "required",
|
|
608
|
+
"type": "boolean",
|
|
609
|
+
"required": false
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"name": "size",
|
|
613
|
+
"type": "\"lg\" | \"med\" | \"sm\"",
|
|
614
|
+
"required": false,
|
|
615
|
+
"values": [
|
|
616
|
+
"lg",
|
|
617
|
+
"med",
|
|
618
|
+
"sm"
|
|
619
|
+
]
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "style",
|
|
623
|
+
"type": "CSSProperties",
|
|
624
|
+
"required": false
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "value",
|
|
628
|
+
"type": "string | readonly string[]",
|
|
629
|
+
"required": false
|
|
630
|
+
}
|
|
631
|
+
],
|
|
632
|
+
"parts": [],
|
|
633
|
+
"exports": []
|
|
634
|
+
},
|
|
531
635
|
{
|
|
532
636
|
"name": "Dialog",
|
|
533
637
|
"styleProps": false,
|
package/dist/index.d.mts
CHANGED
|
@@ -14,6 +14,7 @@ import { SearchFieldInputProps } from "./SearchField/client.mjs";
|
|
|
14
14
|
import { SearchField, SearchFieldProps } from "./SearchField/index.mjs";
|
|
15
15
|
import { ColorFieldInputProps } from "./ColorField/client.mjs";
|
|
16
16
|
import { ColorField, ColorFieldProps } from "./ColorField/index.mjs";
|
|
17
|
+
import { Combobox, ComboboxOption, ComboboxProps } from "./Combobox/index.mjs";
|
|
17
18
|
import { Text, TextProps } from "./Text/index.mjs";
|
|
18
19
|
import { Field, FieldDescriptionProps, FieldErrorProps, FieldLabelProps, FieldProps } from "./Field/index.mjs";
|
|
19
20
|
import { Heading, HeadingLevel, HeadingProps, HeadingSize } from "./Heading/index.mjs";
|
|
@@ -36,4 +37,4 @@ import { Toast } from "./Toast/index.mjs";
|
|
|
36
37
|
import { VisuallyHidden, VisuallyHiddenProps } from "./VisuallyHidden/index.mjs";
|
|
37
38
|
import { Theme, defineTheme } from "./theme/define-theme.mjs";
|
|
38
39
|
import { ThemeProvider, ThemeProviderProps } from "./theme/ThemeProvider.mjs";
|
|
39
|
-
export { AlertDialog, type AlertDialogProps, type AlertDialogTriggerProps, Avatar, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, Clickable, type ClickableProps, ColorField, type ColorFieldInputProps, type ColorFieldProps, Dialog, type DialogActionsProps, type DialogBodyProps, type DialogCloseProps, type DialogPopupProps, type DialogProps, type DialogTriggerProps, Field, type FieldDescriptionProps, type FieldErrorProps, type FieldLabelProps, type FieldProps, Heading, type HeadingLevel, type HeadingProps, type HeadingSize, Icon, IconButton, type IconButtonProps, type IconProps, Inline, type InlineProps, Menu, type MenuGroupProps, type MenuItemProps, type MenuLinkItemProps, type MenuPopupProps, type MenuProps, type MenuSeparatorProps, type MenuTriggerProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, SearchField, type SearchFieldInputProps, type SearchFieldProps, Select, type SelectOption, type SelectProps, Stack, type StackProps, type StyleProps, Switch, type SwitchProps, Table, type TableBodyProps, type TableCellProps, type TableColumnGroupProps, type TableColumnProps, type TableFootProps, type TableHeadProps, type TableHeaderCellProps, type TableProps, type TableRowProps, type TableScrollAreaProps, type TableSortDirection, Tabs, type TabsListProps, type TabsPanelProps, type TabsProps, type TabsTabProps, Tag, type TagProps, Text, TextField, type TextFieldInputProps, type TextFieldProps, type TextProps, Textarea, type TextareaInputProps, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toast, type ToastOptions, type ToastProviderProps, type ToastVariant, VisuallyHidden, type VisuallyHiddenProps, defineTheme, useToast };
|
|
40
|
+
export { AlertDialog, type AlertDialogProps, type AlertDialogTriggerProps, Avatar, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, Clickable, type ClickableProps, ColorField, type ColorFieldInputProps, type ColorFieldProps, Combobox, type ComboboxOption, type ComboboxProps, Dialog, type DialogActionsProps, type DialogBodyProps, type DialogCloseProps, type DialogPopupProps, type DialogProps, type DialogTriggerProps, Field, type FieldDescriptionProps, type FieldErrorProps, type FieldLabelProps, type FieldProps, Heading, type HeadingLevel, type HeadingProps, type HeadingSize, Icon, IconButton, type IconButtonProps, type IconProps, Inline, type InlineProps, Menu, type MenuGroupProps, type MenuItemProps, type MenuLinkItemProps, type MenuPopupProps, type MenuProps, type MenuSeparatorProps, type MenuTriggerProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, SearchField, type SearchFieldInputProps, type SearchFieldProps, Select, type SelectOption, type SelectProps, Stack, type StackProps, type StyleProps, Switch, type SwitchProps, Table, type TableBodyProps, type TableCellProps, type TableColumnGroupProps, type TableColumnProps, type TableFootProps, type TableHeadProps, type TableHeaderCellProps, type TableProps, type TableRowProps, type TableScrollAreaProps, type TableSortDirection, Tabs, type TabsListProps, type TabsPanelProps, type TabsProps, type TabsTabProps, Tag, type TagProps, Text, TextField, type TextFieldInputProps, type TextFieldProps, type TextProps, Textarea, type TextareaInputProps, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toast, type ToastOptions, type ToastProviderProps, type ToastVariant, VisuallyHidden, type VisuallyHiddenProps, defineTheme, useToast };
|
package/dist/index.mjs
CHANGED
|
@@ -12,23 +12,24 @@ import { Checkbox as u } from "./Checkbox/index.mjs";
|
|
|
12
12
|
import { Chip as d, ChipGroup as f } from "./Chip/index.mjs";
|
|
13
13
|
import { Field as p } from "./Field/index.mjs";
|
|
14
14
|
import { ColorField as m } from "./ColorField/index.mjs";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
|
|
15
|
+
import { Combobox as h } from "./Combobox/index.mjs";
|
|
16
|
+
import { IconButton as g } from "./IconButton/index.mjs";
|
|
17
|
+
import { Inline as _ } from "./Inline/index.mjs";
|
|
18
|
+
import { Menu as v } from "./Menu/index.mjs";
|
|
19
|
+
import { MultiSelect as y } from "./MultiSelect/index.mjs";
|
|
20
|
+
import { RadioGroup as b } from "./RadioGroup/index.mjs";
|
|
21
|
+
import { SearchField as x } from "./SearchField/index.mjs";
|
|
22
|
+
import { Select as S } from "./Select/index.mjs";
|
|
23
|
+
import { Stack as C } from "./Stack/index.mjs";
|
|
24
|
+
import { Switch as w } from "./Switch/index.mjs";
|
|
25
|
+
import { VisuallyHidden as T } from "./VisuallyHidden/index.mjs";
|
|
26
|
+
import { Table as E } from "./Table/index.mjs";
|
|
27
|
+
import { Tabs as D } from "./Tabs/index.mjs";
|
|
28
|
+
import { Tag as O } from "./Tag/index.mjs";
|
|
29
|
+
import { Textarea as k } from "./Textarea/index.mjs";
|
|
30
|
+
import { TextField as A } from "./TextField/index.mjs";
|
|
31
|
+
import { defineTheme as j } from "./theme/define-theme.mjs";
|
|
32
|
+
import { ThemeProvider as M } from "./theme/ThemeProvider.mjs";
|
|
33
|
+
import { useToast as N } from "./Toast/client.mjs";
|
|
34
|
+
import { Toast as P } from "./Toast/index.mjs";
|
|
35
|
+
export { o as AlertDialog, s as Avatar, c as Badge, l as Box, r as Button, u as Checkbox, d as Chip, f as ChipGroup, e as Clickable, m as ColorField, h as Combobox, a as Dialog, p as Field, i as Heading, t as Icon, g as IconButton, _ as Inline, v as Menu, y as MultiSelect, b as RadioGroup, x as SearchField, S as Select, C as Stack, w as Switch, E as Table, D as Tabs, O as Tag, n as Text, A as TextField, k as Textarea, M as ThemeProvider, P as Toast, T as VisuallyHidden, j as defineTheme, N as useToast };
|