@kushagradhawan/kookie-ui 0.1.63 → 0.1.65
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/components.css +2314 -2224
- package/dist/cjs/components/combobox.d.ts +75 -0
- package/dist/cjs/components/combobox.d.ts.map +1 -0
- package/dist/cjs/components/combobox.js +2 -0
- package/dist/cjs/components/combobox.js.map +7 -0
- package/dist/cjs/components/combobox.props.d.ts +89 -0
- package/dist/cjs/components/combobox.props.d.ts.map +1 -0
- package/dist/cjs/components/combobox.props.js +2 -0
- package/dist/cjs/components/combobox.props.js.map +7 -0
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components/index.d.ts.map +1 -1
- package/dist/cjs/components/index.js +1 -1
- package/dist/cjs/components/index.js.map +3 -3
- package/dist/esm/components/combobox.d.ts +75 -0
- package/dist/esm/components/combobox.d.ts.map +1 -0
- package/dist/esm/components/combobox.js +2 -0
- package/dist/esm/components/combobox.js.map +7 -0
- package/dist/esm/components/combobox.props.d.ts +89 -0
- package/dist/esm/components/combobox.props.d.ts.map +1 -0
- package/dist/esm/components/combobox.props.js +2 -0
- package/dist/esm/components/combobox.props.js.map +7 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/index.js.map +3 -3
- package/package.json +2 -1
- package/schemas/base-button.json +1 -1
- package/schemas/button.json +1 -1
- package/schemas/icon-button.json +1 -1
- package/schemas/index.json +6 -6
- package/schemas/toggle-button.json +1 -1
- package/schemas/toggle-icon-button.json +1 -1
- package/src/components/_internal/base-menu.css +3 -3
- package/src/components/combobox.css +125 -0
- package/src/components/combobox.props.tsx +60 -0
- package/src/components/combobox.tsx +470 -0
- package/src/components/index.css +1 -0
- package/src/components/index.tsx +1 -0
- package/styles.css +2314 -2224
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
declare const comboboxRootPropDefs: {
|
|
2
|
+
size: {
|
|
3
|
+
type: "enum";
|
|
4
|
+
className: string;
|
|
5
|
+
values: readonly ["1", "2", "3"];
|
|
6
|
+
default: "2";
|
|
7
|
+
responsive: true;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
declare const comboboxTriggerPropDefs: {
|
|
11
|
+
width: {
|
|
12
|
+
type: "string";
|
|
13
|
+
className: string;
|
|
14
|
+
customProperties: "--width"[];
|
|
15
|
+
responsive: true;
|
|
16
|
+
};
|
|
17
|
+
placeholder: {
|
|
18
|
+
type: "string";
|
|
19
|
+
};
|
|
20
|
+
radius: {
|
|
21
|
+
type: "enum";
|
|
22
|
+
values: readonly ["none", "small", "medium", "large", "full"];
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
color: {
|
|
26
|
+
type: "enum";
|
|
27
|
+
values: readonly ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"];
|
|
28
|
+
default: ("gray" | "gold" | "bronze" | "brown" | "yellow" | "amber" | "orange" | "tomato" | "red" | "ruby" | "crimson" | "pink" | "plum" | "purple" | "violet" | "iris" | "indigo" | "blue" | "cyan" | "teal" | "jade" | "green" | "grass" | "lime" | "mint" | "sky") | undefined;
|
|
29
|
+
};
|
|
30
|
+
error: {
|
|
31
|
+
type: "boolean";
|
|
32
|
+
};
|
|
33
|
+
loading: {
|
|
34
|
+
type: "boolean";
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: "boolean";
|
|
38
|
+
};
|
|
39
|
+
readOnly: {
|
|
40
|
+
type: "boolean";
|
|
41
|
+
};
|
|
42
|
+
highContrast: {
|
|
43
|
+
type: "boolean";
|
|
44
|
+
className: string;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
variant: {
|
|
48
|
+
type: "enum";
|
|
49
|
+
className: string;
|
|
50
|
+
values: readonly ["classic", "surface", "soft", "outline", "ghost"];
|
|
51
|
+
default: "surface";
|
|
52
|
+
};
|
|
53
|
+
panelBackground: {
|
|
54
|
+
type: "enum";
|
|
55
|
+
className: string;
|
|
56
|
+
values: ("solid" | "translucent")[];
|
|
57
|
+
};
|
|
58
|
+
material: {
|
|
59
|
+
type: "enum";
|
|
60
|
+
values: ("solid" | "translucent")[];
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
declare const comboboxContentPropDefs: {
|
|
64
|
+
highContrast: {
|
|
65
|
+
type: "boolean";
|
|
66
|
+
className: string;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
color: {
|
|
70
|
+
type: "enum";
|
|
71
|
+
values: readonly ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"];
|
|
72
|
+
default: ("gray" | "gold" | "bronze" | "brown" | "yellow" | "amber" | "orange" | "tomato" | "red" | "ruby" | "crimson" | "pink" | "plum" | "purple" | "violet" | "iris" | "indigo" | "blue" | "cyan" | "teal" | "jade" | "green" | "grass" | "lime" | "mint" | "sky") | undefined;
|
|
73
|
+
};
|
|
74
|
+
size: {
|
|
75
|
+
type: "enum";
|
|
76
|
+
className: string;
|
|
77
|
+
values: readonly ["1", "2", "3"];
|
|
78
|
+
default: "2";
|
|
79
|
+
responsive: true;
|
|
80
|
+
};
|
|
81
|
+
variant: {
|
|
82
|
+
type: "enum";
|
|
83
|
+
className: string;
|
|
84
|
+
values: readonly ["solid", "soft"];
|
|
85
|
+
default: "solid";
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export { comboboxRootPropDefs, comboboxTriggerPropDefs, comboboxContentPropDefs };
|
|
89
|
+
//# sourceMappingURL=combobox.props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox.props.d.ts","sourceRoot":"","sources":["../../../src/components/combobox.props.tsx"],"names":[],"mappings":"AASA,QAAA,MAAM,oBAAoB;;;;;;;;CAIzB,CAAC;AAIF,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B5B,CAAC;AAIF,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;CAQ5B,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{colorPropDef as e}from"../props/color.prop.js";import{highContrastPropDef as o}from"../props/high-contrast.prop.js";import{radiusPropDef as t}from"../props/radius.prop.js";import{widthPropDefs as s}from"../props/width.props.js";const r=["1","2","3"],a={size:{type:"enum",className:"rt-r-size",values:r,default:"2",responsive:!0}},n=["classic","surface","soft","outline","ghost"],i={variant:{type:"enum",className:"rt-variant",values:n,default:"surface"},panelBackground:{type:"enum",className:"rt-panel-background",values:["solid","translucent"]},material:{type:"enum",values:["solid","translucent"]},...o,error:{type:"boolean"},loading:{type:"boolean"},disabled:{type:"boolean"},readOnly:{type:"boolean"},...e,...t,width:s.width,placeholder:{type:"string"}},p=["solid","soft"],l={size:{type:"enum",className:"rt-r-size",values:r,default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:p,default:"solid"},...e,...o};export{l as comboboxContentPropDefs,a as comboboxRootPropDefs,i as comboboxTriggerPropDefs};
|
|
2
|
+
//# sourceMappingURL=combobox.props.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/combobox.props.tsx"],
|
|
4
|
+
"sourcesContent": ["import { colorPropDef } from '../props/color.prop.js';\nimport { highContrastPropDef } from '../props/high-contrast.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\nimport { widthPropDefs } from '../props/width.props.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3'] as const;\n\nconst comboboxRootPropDefs = {\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n};\n\nconst triggerVariants = ['classic', 'surface', 'soft', 'outline', 'ghost'] as const;\n\nconst comboboxTriggerPropDefs = {\n variant: { type: 'enum', className: 'rt-variant', values: triggerVariants, default: 'surface' },\n panelBackground: {\n type: 'enum',\n className: 'rt-panel-background',\n values: ['solid', 'translucent'],\n },\n material: { type: 'enum', values: ['solid', 'translucent'] },\n ...highContrastPropDef,\n error: { type: 'boolean' },\n loading: { type: 'boolean' },\n disabled: { type: 'boolean' },\n readOnly: { type: 'boolean' },\n ...colorPropDef,\n ...radiusPropDef,\n width: widthPropDefs.width,\n placeholder: { type: 'string' },\n} satisfies {\n variant: PropDef<(typeof triggerVariants)[number]>;\n panelBackground: PropDef<'solid' | 'translucent'>;\n material: PropDef<'solid' | 'translucent'>;\n highContrast: PropDef<boolean>;\n error: PropDef<boolean>;\n loading: PropDef<boolean>;\n disabled: PropDef<boolean>;\n readOnly: PropDef<boolean>;\n width: PropDef<string>;\n placeholder: PropDef<string>;\n};\n\nconst contentVariants = ['solid', 'soft'] as const;\n\nconst comboboxContentPropDefs = {\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'rt-variant', values: contentVariants, default: 'solid' },\n ...colorPropDef,\n ...highContrastPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof contentVariants)[number]>;\n};\n\nexport { comboboxRootPropDefs, comboboxTriggerPropDefs, comboboxContentPropDefs };\n"],
|
|
5
|
+
"mappings": "AAAA,OAAS,gBAAAA,MAAoB,yBAC7B,OAAS,uBAAAC,MAA2B,iCACpC,OAAS,iBAAAC,MAAqB,0BAC9B,OAAS,iBAAAC,MAAqB,0BAI9B,MAAMC,EAAQ,CAAC,IAAK,IAAK,GAAG,EAEtBC,EAAuB,CAC3B,KAAM,CAAE,KAAM,OAAQ,UAAW,YAAa,OAAQD,EAAO,QAAS,IAAK,WAAY,EAAK,CAC9F,EAIME,EAAkB,CAAC,UAAW,UAAW,OAAQ,UAAW,OAAO,EAEnEC,EAA0B,CAC9B,QAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,OAAQD,EAAiB,QAAS,SAAU,EAC9F,gBAAiB,CACf,KAAM,OACN,UAAW,sBACX,OAAQ,CAAC,QAAS,aAAa,CACjC,EACA,SAAU,CAAE,KAAM,OAAQ,OAAQ,CAAC,QAAS,aAAa,CAAE,EAC3D,GAAGL,EACH,MAAO,CAAE,KAAM,SAAU,EACzB,QAAS,CAAE,KAAM,SAAU,EAC3B,SAAU,CAAE,KAAM,SAAU,EAC5B,SAAU,CAAE,KAAM,SAAU,EAC5B,GAAGD,EACH,GAAGE,EACH,MAAOC,EAAc,MACrB,YAAa,CAAE,KAAM,QAAS,CAChC,EAaMK,EAAkB,CAAC,QAAS,MAAM,EAElCC,EAA0B,CAC9B,KAAM,CAAE,KAAM,OAAQ,UAAW,YAAa,OAAQL,EAAO,QAAS,IAAK,WAAY,EAAK,EAC5F,QAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,OAAQI,EAAiB,QAAS,OAAQ,EAC5F,GAAGR,EACH,GAAGC,CACL",
|
|
6
|
+
"names": ["colorPropDef", "highContrastPropDef", "radiusPropDef", "widthPropDefs", "sizes", "comboboxRootPropDefs", "triggerVariants", "comboboxTriggerPropDefs", "contentVariants", "comboboxContentPropDefs"]
|
|
7
|
+
}
|
|
@@ -18,6 +18,7 @@ export * as ContextMenu from './context-menu.js';
|
|
|
18
18
|
export * as DataList from './data-list.js';
|
|
19
19
|
export * as Dialog from './dialog.js';
|
|
20
20
|
export * as DropdownMenu from './dropdown-menu.js';
|
|
21
|
+
export * as Combobox from './combobox.js';
|
|
21
22
|
export { Em, type EmProps } from './em.js';
|
|
22
23
|
export { Flex, type FlexProps } from './flex.js';
|
|
23
24
|
export { Grid, type GridProps } from './grid.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAC3C,OAAO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vD,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,SAAS,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,UAAU,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{AccessibleIcon as e}from"./accessible-icon.js";import*as t from"./accordion.js";import*as p from"./alert-dialog.js";import{AspectRatio as x}from"./aspect-ratio.js";import{Avatar as a}from"./avatar.js";import{Badge as n}from"./badge.js";import{Blockquote as y}from"./blockquote.js";import{Box as l}from"./box.js";import{Button as d}from"./button.js";import*as C from"./callout.js";import{Card as T}from"./card.js";import*as g from"./checkbox-cards.js";import*as h from"./checkbox-group.js";import{Checkbox as
|
|
1
|
+
import{AccessibleIcon as e}from"./accessible-icon.js";import*as t from"./accordion.js";import*as p from"./alert-dialog.js";import{AspectRatio as x}from"./aspect-ratio.js";import{Avatar as a}from"./avatar.js";import{Badge as n}from"./badge.js";import{Blockquote as y}from"./blockquote.js";import{Box as l}from"./box.js";import{Button as d}from"./button.js";import*as C from"./callout.js";import{Card as T}from"./card.js";import*as g from"./checkbox-cards.js";import*as h from"./checkbox-group.js";import{Checkbox as b}from"./checkbox.js";import{Code as k}from"./code.js";import{Container as A}from"./container.js";import*as R from"./context-menu.js";import*as v from"./data-list.js";import*as D from"./dialog.js";import*as H from"./dropdown-menu.js";import*as w from"./combobox.js";import{Em as F}from"./em.js";import{Flex as q}from"./flex.js";import{Grid as K}from"./grid.js";import{Heading as Q}from"./heading.js";import*as U from"./hover-card.js";import{IconButton as z}from"./icon-button.js";import{ChevronDownIcon as j,ThickCheckIcon as J,ThickChevronRightIcon as O,ThickDividerHorizontalIcon as W}from"./icons.js";import{Image as Y}from"./image.js";import{Inset as _}from"./inset.js";import{Kbd as oo}from"./kbd.js";import{Link as eo}from"./link.js";import*as to from"./popover.js";import{Portal as so}from"./portal.js";import{Progress as mo}from"./progress.js";import{Quote as fo}from"./quote.js";import*as no from"./radio-cards.js";import*as Po from"./radio-group.js";import{Radio as io}from"./radio.js";import{Reset as co}from"./reset.js";import{ScrollArea as So}from"./scroll-area.js";import*as To from"./segmented-control.js";import{Section as ho}from"./section.js";import*as uo from"./select.js";import{Separator as Io}from"./separator.js";import{Skeleton as Bo}from"./skeleton.js";import{Slider as Ro}from"./slider.js";import{Slot as Do,Slottable as Ho}from"./slot.js";import{Spinner as Go}from"./spinner.js";import{Strong as Lo}from"./strong.js";import{Switch as Eo}from"./switch.js";import*as Ko from"./tab-nav.js";import*as Mo from"./table.js";import*as Qo from"./tabs.js";import{TextArea as Vo}from"./text-area.js";import*as zo from"./text-field.js";import{Text as jo}from"./text.js";import{ThemePanel as Oo}from"./theme-panel.js";import{Theme as Xo,ThemeContext as Yo,useThemeContext as Zo}from"./theme.js";import{ToggleButton as $o}from"./toggle-button.js";import{ToggleIconButton as rr}from"./toggle-icon-button.js";import{Tooltip as tr}from"./tooltip.js";import{UserCard as sr}from"./user-card.js";import{VisuallyHidden as mr}from"./visually-hidden.js";import*as ar from"./sidebar.js";import*as fr from"./shell.js";import*as nr from"./sheet.js";import*as Pr from"./chatbar.js";export{e as AccessibleIcon,t as Accordion,p as AlertDialog,x as AspectRatio,a as Avatar,n as Badge,y as Blockquote,l as Box,d as Button,C as Callout,T as Card,Pr as Chatbar,b as Checkbox,g as CheckboxCards,h as CheckboxGroup,j as ChevronDownIcon,k as Code,w as Combobox,A as Container,R as ContextMenu,v as DataList,D as Dialog,H as DropdownMenu,F as Em,q as Flex,K as Grid,Q as Heading,U as HoverCard,z as IconButton,Y as Image,_ as Inset,oo as Kbd,eo as Link,to as Popover,so as Portal,mo as Progress,fo as Quote,io as Radio,no as RadioCards,Po as RadioGroup,co as Reset,So as ScrollArea,ho as Section,To as SegmentedControl,uo as Select,Io as Separator,nr as Sheet,fr as Shell,ar as Sidebar,Bo as Skeleton,Ro as Slider,Do as Slot,Ho as Slottable,Go as Spinner,Lo as Strong,Eo as Switch,Ko as TabNav,Mo as Table,Qo as Tabs,jo as Text,Vo as TextArea,zo as TextField,Xo as Theme,Yo as ThemeContext,Oo as ThemePanel,J as ThickCheckIcon,O as ThickChevronRightIcon,W as ThickDividerHorizontalIcon,$o as ToggleButton,rr as ToggleIconButton,tr as Tooltip,sr as UserCard,mr as VisuallyHidden,Zo as useThemeContext};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/index.tsx"],
|
|
4
|
-
"sourcesContent": ["export { AccessibleIcon, type AccessibleIconProps } from './accessible-icon.js';\nexport * as Accordion from './accordion.js';\nexport * as AlertDialog from './alert-dialog.js';\nexport { AspectRatio, type AspectRatioProps } from './aspect-ratio.js';\nexport { Avatar, type AvatarProps } from './avatar.js';\nexport { Badge, type BadgeProps } from './badge.js';\nexport { Blockquote, type BlockquoteProps } from './blockquote.js';\nexport { Box, type BoxProps } from './box.js';\nexport { Button, type ButtonProps } from './button.js';\nexport * as Callout from './callout.js';\nexport { Card, type CardProps } from './card.js';\nexport * as CheckboxCards from './checkbox-cards.js';\nexport * as CheckboxGroup from './checkbox-group.js';\nexport { Checkbox, type CheckboxProps } from './checkbox.js';\nexport { Code, type CodeProps } from './code.js';\nexport { Container, type ContainerProps } from './container.js';\nexport * as ContextMenu from './context-menu.js';\nexport * as DataList from './data-list.js';\nexport * as Dialog from './dialog.js';\nexport * as DropdownMenu from './dropdown-menu.js';\nexport { Em, type EmProps } from './em.js';\nexport { Flex, type FlexProps } from './flex.js';\nexport { Grid, type GridProps } from './grid.js';\nexport { Heading, type HeadingProps } from './heading.js';\nexport * as HoverCard from './hover-card.js';\nexport { IconButton, type IconButtonProps } from './icon-button.js';\nexport {\n type IconProps,\n ChevronDownIcon,\n ThickCheckIcon,\n ThickChevronRightIcon,\n ThickDividerHorizontalIcon,\n} from './icons.js';\nexport { Image, type ImageProps } from './image.js';\nexport { Inset, type InsetProps } from './inset.js';\nexport { Kbd, type KbdProps } from './kbd.js';\nexport { Link, type LinkProps } from './link.js';\nexport * as Popover from './popover.js';\nexport { Portal, type PortalProps } from './portal.js';\nexport { Progress, type ProgressProps } from './progress.js';\nexport { Quote, type QuoteProps } from './quote.js';\nexport * as RadioCards from './radio-cards.js';\nexport * as RadioGroup from './radio-group.js';\nexport { Radio, type RadioProps } from './radio.js';\nexport { Reset, type ResetProps } from './reset.js';\nexport { ScrollArea, type ScrollAreaProps } from './scroll-area.js';\nexport * as SegmentedControl from './segmented-control.js';\nexport { Section, type SectionProps } from './section.js';\nexport * as Select from './select.js';\nexport { Separator, type SeparatorProps } from './separator.js';\nexport { Skeleton, type SkeletonProps } from './skeleton.js';\nexport { Slider, type SliderProps } from './slider.js';\nexport { Slot, Slottable } from './slot.js';\nexport { Spinner, type SpinnerProps } from './spinner.js';\nexport { Strong, type StrongProps } from './strong.js';\nexport { Switch, type SwitchProps } from './switch.js';\nexport * as TabNav from './tab-nav.js';\nexport * as Table from './table.js';\nexport * as Tabs from './tabs.js';\nexport { TextArea, type TextAreaProps } from './text-area.js';\nexport * as TextField from './text-field.js';\nexport { Text, type TextProps } from './text.js';\nexport { ThemePanel, type ThemePanelProps } from './theme-panel.js';\nexport { Theme, ThemeContext, type ThemeProps, useThemeContext } from './theme.js';\nexport { ToggleButton, type ToggleButtonProps } from './toggle-button.js';\nexport { ToggleIconButton, type ToggleIconButtonProps } from './toggle-icon-button.js';\nexport { Tooltip, type TooltipProps } from './tooltip.js';\nexport { UserCard, type UserCardProps } from './user-card.js';\nexport { VisuallyHidden, type VisuallyHiddenProps } from './visually-hidden.js';\nexport * as Sidebar from './sidebar.js';\nexport * as Shell from './shell.js';\nexport * as Sheet from './sheet.js';\nexport * as Chatbar from './chatbar.js';\n"],
|
|
5
|
-
"mappings": "AAAA,OAAS,kBAAAA,MAAgD,uBACzD,UAAYC,MAAe,iBAC3B,UAAYC,MAAiB,oBAC7B,OAAS,eAAAC,MAA0C,oBACnD,OAAS,UAAAC,MAAgC,cACzC,OAAS,SAAAC,MAA8B,aACvC,OAAS,cAAAC,MAAwC,kBACjD,OAAS,OAAAC,MAA0B,WACnC,OAAS,UAAAC,MAAgC,cACzC,UAAYC,MAAa,eACzB,OAAS,QAAAC,MAA4B,YACrC,UAAYC,MAAmB,sBAC/B,UAAYC,MAAmB,sBAC/B,OAAS,YAAAC,MAAoC,gBAC7C,OAAS,QAAAC,MAA4B,YACrC,OAAS,aAAAC,MAAsC,iBAC/C,UAAYC,MAAiB,oBAC7B,UAAYC,MAAc,iBAC1B,UAAYC,MAAY,cACxB,UAAYC,MAAkB,qBAC9B,OAAS,MAAAC,MAAwB,UACjC,OAAS,QAAAC,MAA4B,YACrC,OAAS,QAAAC,MAA4B,YACrC,OAAS,WAAAC,MAAkC,eAC3C,UAAYC,MAAe,kBAC3B,OAAS,cAAAC,MAAwC,mBACjD,OAEE,mBAAAC,EACA,kBAAAC,EACA,yBAAAC,EACA,8BAAAC,MACK,aACP,OAAS,SAAAC,MAA8B,aACvC,OAAS,SAAAC,MAA8B,aACvC,OAAS,OAAAC,
|
|
6
|
-
"names": ["AccessibleIcon", "Accordion", "AlertDialog", "AspectRatio", "Avatar", "Badge", "Blockquote", "Box", "Button", "Callout", "Card", "CheckboxCards", "CheckboxGroup", "Checkbox", "Code", "Container", "ContextMenu", "DataList", "Dialog", "DropdownMenu", "Em", "Flex", "Grid", "Heading", "HoverCard", "IconButton", "ChevronDownIcon", "ThickCheckIcon", "ThickChevronRightIcon", "ThickDividerHorizontalIcon", "Image", "Inset", "Kbd", "Link", "Popover", "Portal", "Progress", "Quote", "RadioCards", "RadioGroup", "Radio", "Reset", "ScrollArea", "SegmentedControl", "Section", "Select", "Separator", "Skeleton", "Slider", "Slot", "Slottable", "Spinner", "Strong", "Switch", "TabNav", "Table", "Tabs", "TextArea", "TextField", "Text", "ThemePanel", "Theme", "ThemeContext", "useThemeContext", "ToggleButton", "ToggleIconButton", "Tooltip", "UserCard", "VisuallyHidden", "Sidebar", "Shell", "Sheet", "Chatbar"]
|
|
4
|
+
"sourcesContent": ["export { AccessibleIcon, type AccessibleIconProps } from './accessible-icon.js';\nexport * as Accordion from './accordion.js';\nexport * as AlertDialog from './alert-dialog.js';\nexport { AspectRatio, type AspectRatioProps } from './aspect-ratio.js';\nexport { Avatar, type AvatarProps } from './avatar.js';\nexport { Badge, type BadgeProps } from './badge.js';\nexport { Blockquote, type BlockquoteProps } from './blockquote.js';\nexport { Box, type BoxProps } from './box.js';\nexport { Button, type ButtonProps } from './button.js';\nexport * as Callout from './callout.js';\nexport { Card, type CardProps } from './card.js';\nexport * as CheckboxCards from './checkbox-cards.js';\nexport * as CheckboxGroup from './checkbox-group.js';\nexport { Checkbox, type CheckboxProps } from './checkbox.js';\nexport { Code, type CodeProps } from './code.js';\nexport { Container, type ContainerProps } from './container.js';\nexport * as ContextMenu from './context-menu.js';\nexport * as DataList from './data-list.js';\nexport * as Dialog from './dialog.js';\nexport * as DropdownMenu from './dropdown-menu.js';\nexport * as Combobox from './combobox.js';\nexport { Em, type EmProps } from './em.js';\nexport { Flex, type FlexProps } from './flex.js';\nexport { Grid, type GridProps } from './grid.js';\nexport { Heading, type HeadingProps } from './heading.js';\nexport * as HoverCard from './hover-card.js';\nexport { IconButton, type IconButtonProps } from './icon-button.js';\nexport {\n type IconProps,\n ChevronDownIcon,\n ThickCheckIcon,\n ThickChevronRightIcon,\n ThickDividerHorizontalIcon,\n} from './icons.js';\nexport { Image, type ImageProps } from './image.js';\nexport { Inset, type InsetProps } from './inset.js';\nexport { Kbd, type KbdProps } from './kbd.js';\nexport { Link, type LinkProps } from './link.js';\nexport * as Popover from './popover.js';\nexport { Portal, type PortalProps } from './portal.js';\nexport { Progress, type ProgressProps } from './progress.js';\nexport { Quote, type QuoteProps } from './quote.js';\nexport * as RadioCards from './radio-cards.js';\nexport * as RadioGroup from './radio-group.js';\nexport { Radio, type RadioProps } from './radio.js';\nexport { Reset, type ResetProps } from './reset.js';\nexport { ScrollArea, type ScrollAreaProps } from './scroll-area.js';\nexport * as SegmentedControl from './segmented-control.js';\nexport { Section, type SectionProps } from './section.js';\nexport * as Select from './select.js';\nexport { Separator, type SeparatorProps } from './separator.js';\nexport { Skeleton, type SkeletonProps } from './skeleton.js';\nexport { Slider, type SliderProps } from './slider.js';\nexport { Slot, Slottable } from './slot.js';\nexport { Spinner, type SpinnerProps } from './spinner.js';\nexport { Strong, type StrongProps } from './strong.js';\nexport { Switch, type SwitchProps } from './switch.js';\nexport * as TabNav from './tab-nav.js';\nexport * as Table from './table.js';\nexport * as Tabs from './tabs.js';\nexport { TextArea, type TextAreaProps } from './text-area.js';\nexport * as TextField from './text-field.js';\nexport { Text, type TextProps } from './text.js';\nexport { ThemePanel, type ThemePanelProps } from './theme-panel.js';\nexport { Theme, ThemeContext, type ThemeProps, useThemeContext } from './theme.js';\nexport { ToggleButton, type ToggleButtonProps } from './toggle-button.js';\nexport { ToggleIconButton, type ToggleIconButtonProps } from './toggle-icon-button.js';\nexport { Tooltip, type TooltipProps } from './tooltip.js';\nexport { UserCard, type UserCardProps } from './user-card.js';\nexport { VisuallyHidden, type VisuallyHiddenProps } from './visually-hidden.js';\nexport * as Sidebar from './sidebar.js';\nexport * as Shell from './shell.js';\nexport * as Sheet from './sheet.js';\nexport * as Chatbar from './chatbar.js';\n"],
|
|
5
|
+
"mappings": "AAAA,OAAS,kBAAAA,MAAgD,uBACzD,UAAYC,MAAe,iBAC3B,UAAYC,MAAiB,oBAC7B,OAAS,eAAAC,MAA0C,oBACnD,OAAS,UAAAC,MAAgC,cACzC,OAAS,SAAAC,MAA8B,aACvC,OAAS,cAAAC,MAAwC,kBACjD,OAAS,OAAAC,MAA0B,WACnC,OAAS,UAAAC,MAAgC,cACzC,UAAYC,MAAa,eACzB,OAAS,QAAAC,MAA4B,YACrC,UAAYC,MAAmB,sBAC/B,UAAYC,MAAmB,sBAC/B,OAAS,YAAAC,MAAoC,gBAC7C,OAAS,QAAAC,MAA4B,YACrC,OAAS,aAAAC,MAAsC,iBAC/C,UAAYC,MAAiB,oBAC7B,UAAYC,MAAc,iBAC1B,UAAYC,MAAY,cACxB,UAAYC,MAAkB,qBAC9B,UAAYC,MAAc,gBAC1B,OAAS,MAAAC,MAAwB,UACjC,OAAS,QAAAC,MAA4B,YACrC,OAAS,QAAAC,MAA4B,YACrC,OAAS,WAAAC,MAAkC,eAC3C,UAAYC,MAAe,kBAC3B,OAAS,cAAAC,MAAwC,mBACjD,OAEE,mBAAAC,EACA,kBAAAC,EACA,yBAAAC,EACA,8BAAAC,MACK,aACP,OAAS,SAAAC,MAA8B,aACvC,OAAS,SAAAC,MAA8B,aACvC,OAAS,OAAAC,OAA0B,WACnC,OAAS,QAAAC,OAA4B,YACrC,UAAYC,OAAa,eACzB,OAAS,UAAAC,OAAgC,cACzC,OAAS,YAAAC,OAAoC,gBAC7C,OAAS,SAAAC,OAA8B,aACvC,UAAYC,OAAgB,mBAC5B,UAAYC,OAAgB,mBAC5B,OAAS,SAAAC,OAA8B,aACvC,OAAS,SAAAC,OAA8B,aACvC,OAAS,cAAAC,OAAwC,mBACjD,UAAYC,OAAsB,yBAClC,OAAS,WAAAC,OAAkC,eAC3C,UAAYC,OAAY,cACxB,OAAS,aAAAC,OAAsC,iBAC/C,OAAS,YAAAC,OAAoC,gBAC7C,OAAS,UAAAC,OAAgC,cACzC,OAAS,QAAAC,GAAM,aAAAC,OAAiB,YAChC,OAAS,WAAAC,OAAkC,eAC3C,OAAS,UAAAC,OAAgC,cACzC,OAAS,UAAAC,OAAgC,cACzC,UAAYC,OAAY,eACxB,UAAYC,OAAW,aACvB,UAAYC,OAAU,YACtB,OAAS,YAAAC,OAAoC,iBAC7C,UAAYC,OAAe,kBAC3B,OAAS,QAAAC,OAA4B,YACrC,OAAS,cAAAC,OAAwC,mBACjD,OAAS,SAAAC,GAAO,gBAAAC,GAA+B,mBAAAC,OAAuB,aACtE,OAAS,gBAAAC,OAA4C,qBACrD,OAAS,oBAAAC,OAAoD,0BAC7D,OAAS,WAAAC,OAAkC,eAC3C,OAAS,YAAAC,OAAoC,iBAC7C,OAAS,kBAAAC,OAAgD,uBACzD,UAAYC,OAAa,eACzB,UAAYC,OAAW,aACvB,UAAYC,OAAW,aACvB,UAAYC,OAAa",
|
|
6
|
+
"names": ["AccessibleIcon", "Accordion", "AlertDialog", "AspectRatio", "Avatar", "Badge", "Blockquote", "Box", "Button", "Callout", "Card", "CheckboxCards", "CheckboxGroup", "Checkbox", "Code", "Container", "ContextMenu", "DataList", "Dialog", "DropdownMenu", "Combobox", "Em", "Flex", "Grid", "Heading", "HoverCard", "IconButton", "ChevronDownIcon", "ThickCheckIcon", "ThickChevronRightIcon", "ThickDividerHorizontalIcon", "Image", "Inset", "Kbd", "Link", "Popover", "Portal", "Progress", "Quote", "RadioCards", "RadioGroup", "Radio", "Reset", "ScrollArea", "SegmentedControl", "Section", "Select", "Separator", "Skeleton", "Slider", "Slot", "Slottable", "Spinner", "Strong", "Switch", "TabNav", "Table", "Tabs", "TextArea", "TextField", "Text", "ThemePanel", "Theme", "ThemeContext", "useThemeContext", "ToggleButton", "ToggleIconButton", "Tooltip", "UserCard", "VisuallyHidden", "Sidebar", "Shell", "Sheet", "Chatbar"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kushagradhawan/kookie-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.65",
|
|
4
4
|
"description": "A modern React component library with beautiful design tokens, flexible theming, and comprehensive docs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -142,6 +142,7 @@
|
|
|
142
142
|
"@zag-js/react": "^1.22.1",
|
|
143
143
|
"@zag-js/splitter": "^1.22.1",
|
|
144
144
|
"classnames": "^2.3.2",
|
|
145
|
+
"cmdk": "^1.1.1",
|
|
145
146
|
"geist": "^1.4.2",
|
|
146
147
|
"radix-ui": "^1.1.3",
|
|
147
148
|
"react-dropzone": "^14.3.8",
|
package/schemas/base-button.json
CHANGED
|
@@ -279,6 +279,6 @@
|
|
|
279
279
|
"title": "Base-button Component Props",
|
|
280
280
|
"description": "Props schema for the base-button component in Kookie UI",
|
|
281
281
|
"version": "1.0.0",
|
|
282
|
-
"generatedAt": "2025-11-
|
|
282
|
+
"generatedAt": "2025-11-26T09:00:45.855Z",
|
|
283
283
|
"source": "Zod schema"
|
|
284
284
|
}
|
package/schemas/button.json
CHANGED
|
@@ -530,6 +530,6 @@
|
|
|
530
530
|
"title": "Button Component Props",
|
|
531
531
|
"description": "Props schema for the button component in Kookie UI",
|
|
532
532
|
"version": "1.0.0",
|
|
533
|
-
"generatedAt": "2025-11-
|
|
533
|
+
"generatedAt": "2025-11-26T09:00:45.860Z",
|
|
534
534
|
"source": "Zod schema"
|
|
535
535
|
}
|
package/schemas/icon-button.json
CHANGED
|
@@ -313,6 +313,6 @@
|
|
|
313
313
|
"title": "Icon-button Component Props",
|
|
314
314
|
"description": "Props schema for the icon-button component in Kookie UI",
|
|
315
315
|
"version": "1.0.0",
|
|
316
|
-
"generatedAt": "2025-11-
|
|
316
|
+
"generatedAt": "2025-11-26T09:00:45.861Z",
|
|
317
317
|
"source": "Zod schema"
|
|
318
318
|
}
|
package/schemas/index.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"title": "Kookie UI Button Components",
|
|
4
4
|
"description": "Complete JSON Schema collection for all button components in Kookie UI",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"generatedAt": "2025-11-
|
|
6
|
+
"generatedAt": "2025-11-26T09:00:45.864Z",
|
|
7
7
|
"source": "Zod schemas",
|
|
8
8
|
"components": {
|
|
9
9
|
"base-button": {
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
"title": "Base-button Component Props",
|
|
288
288
|
"description": "Props schema for the base-button component in Kookie UI",
|
|
289
289
|
"version": "1.0.0",
|
|
290
|
-
"generatedAt": "2025-11-
|
|
290
|
+
"generatedAt": "2025-11-26T09:00:45.855Z",
|
|
291
291
|
"source": "Zod schema"
|
|
292
292
|
},
|
|
293
293
|
"button": {
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
"title": "Button Component Props",
|
|
823
823
|
"description": "Props schema for the button component in Kookie UI",
|
|
824
824
|
"version": "1.0.0",
|
|
825
|
-
"generatedAt": "2025-11-
|
|
825
|
+
"generatedAt": "2025-11-26T09:00:45.860Z",
|
|
826
826
|
"source": "Zod schema"
|
|
827
827
|
},
|
|
828
828
|
"icon-button": {
|
|
@@ -1140,7 +1140,7 @@
|
|
|
1140
1140
|
"title": "Icon-button Component Props",
|
|
1141
1141
|
"description": "Props schema for the icon-button component in Kookie UI",
|
|
1142
1142
|
"version": "1.0.0",
|
|
1143
|
-
"generatedAt": "2025-11-
|
|
1143
|
+
"generatedAt": "2025-11-26T09:00:45.861Z",
|
|
1144
1144
|
"source": "Zod schema"
|
|
1145
1145
|
},
|
|
1146
1146
|
"toggle-button": {
|
|
@@ -1683,7 +1683,7 @@
|
|
|
1683
1683
|
"title": "Toggle-button Component Props",
|
|
1684
1684
|
"description": "Props schema for the toggle-button component in Kookie UI",
|
|
1685
1685
|
"version": "1.0.0",
|
|
1686
|
-
"generatedAt": "2025-11-
|
|
1686
|
+
"generatedAt": "2025-11-26T09:00:45.863Z",
|
|
1687
1687
|
"source": "Zod schema"
|
|
1688
1688
|
},
|
|
1689
1689
|
"toggle-icon-button": {
|
|
@@ -2009,7 +2009,7 @@
|
|
|
2009
2009
|
"title": "Toggle-icon-button Component Props",
|
|
2010
2010
|
"description": "Props schema for the toggle-icon-button component in Kookie UI",
|
|
2011
2011
|
"version": "1.0.0",
|
|
2012
|
-
"generatedAt": "2025-11-
|
|
2012
|
+
"generatedAt": "2025-11-26T09:00:45.864Z",
|
|
2013
2013
|
"source": "Zod schema"
|
|
2014
2014
|
}
|
|
2015
2015
|
}
|
|
@@ -538,6 +538,6 @@
|
|
|
538
538
|
"title": "Toggle-button Component Props",
|
|
539
539
|
"description": "Props schema for the toggle-button component in Kookie UI",
|
|
540
540
|
"version": "1.0.0",
|
|
541
|
-
"generatedAt": "2025-11-
|
|
541
|
+
"generatedAt": "2025-11-26T09:00:45.863Z",
|
|
542
542
|
"source": "Zod schema"
|
|
543
543
|
}
|
|
@@ -321,6 +321,6 @@
|
|
|
321
321
|
"title": "Toggle-icon-button Component Props",
|
|
322
322
|
"description": "Props schema for the toggle-icon-button component in Kookie UI",
|
|
323
323
|
"version": "1.0.0",
|
|
324
|
-
"generatedAt": "2025-11-
|
|
324
|
+
"generatedAt": "2025-11-26T09:00:45.864Z",
|
|
325
325
|
"source": "Zod schema"
|
|
326
326
|
}
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
font-size: var(--font-size-1);
|
|
189
189
|
line-height: var(--line-height-1);
|
|
190
190
|
letter-spacing: var(--letter-spacing-1);
|
|
191
|
-
padding-inline-start: calc(var(--base-menu-item-padding-left)
|
|
191
|
+
padding-inline-start: calc(var(--base-menu-item-padding-left));
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
& :where(.rt-BaseMenuItemIndicatorIcon, .rt-BaseMenuSubTriggerIcon) {
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
font-size: var(--font-size-2);
|
|
233
233
|
line-height: var(--line-height-2);
|
|
234
234
|
letter-spacing: var(--letter-spacing-2);
|
|
235
|
-
padding-left: calc(var(--base-menu-item-padding-left)
|
|
235
|
+
padding-left: calc(var(--base-menu-item-padding-left));
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
& :where(.rt-BaseMenuItemIndicatorIcon, .rt-BaseMenuSubTriggerIcon) {
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
font-size: var(--font-size-2);
|
|
277
277
|
line-height: var(--line-height-2);
|
|
278
278
|
letter-spacing: var(--letter-spacing-2);
|
|
279
|
-
padding-left: calc(var(--base-menu-item-padding-left)
|
|
279
|
+
padding-left: calc(var(--base-menu-item-padding-left));
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
& :where(.rt-BaseMenuItemIndicatorIcon, .rt-BaseMenuSubTriggerIcon) {
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
@import './_internal/base-menu.css';
|
|
2
|
+
@import './text-field.css';
|
|
3
|
+
|
|
4
|
+
/* Reset Popover.Content padding - base-menu handles padding via BaseMenuViewport */
|
|
5
|
+
.rt-ComboboxContent {
|
|
6
|
+
padding: 0 !important;
|
|
7
|
+
max-height: var(--radix-popover-content-available-height);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rt-BaseMenuContent:where(.rt-r-size-1) :where(.rt-ComboboxItem) {
|
|
11
|
+
--base-menu-item-padding-left: calc(var(--space-5) / 1.2);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rt-BaseMenuContent:where(.rt-r-size-1) :where(.rt-ComboboxLabel) {
|
|
15
|
+
--base-menu-item-padding-left: calc(var(--space-5) / 1.2);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rt-BaseMenuContent:where(.rt-r-size-2) :where(.rt-ComboboxItem),
|
|
19
|
+
.rt-BaseMenuContent:where(.rt-r-size-3) :where(.rt-ComboboxItem) {
|
|
20
|
+
--base-menu-item-padding-left: var(--space-5);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.rt-BaseMenuContent:where(.rt-r-size-2) :where(.rt-ComboboxLabel),
|
|
24
|
+
.rt-BaseMenuContent:where(.rt-r-size-3) :where(.rt-ComboboxLabel) {
|
|
25
|
+
--base-menu-item-padding-left: var(--space-5);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Override disabled styles when data-disabled is false or empty (cmdk may set it incorrectly) */
|
|
29
|
+
.rt-BaseMenuContent :where(.rt-BaseMenuItem.rt-ComboboxItem[data-disabled='false']),
|
|
30
|
+
.rt-BaseMenuContent :where(.rt-BaseMenuItem.rt-ComboboxItem[data-disabled='']) {
|
|
31
|
+
color: inherit !important;
|
|
32
|
+
cursor: var(--cursor-menu-item) !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Command container uses flex layout with gap */
|
|
36
|
+
.rt-ComboboxCommand {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
gap: var(--space-2);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Sticky search input with consistent padding */
|
|
43
|
+
.rt-ComboboxSearch {
|
|
44
|
+
position: sticky;
|
|
45
|
+
top: 0;
|
|
46
|
+
z-index: 1;
|
|
47
|
+
padding: var(--base-menu-content-padding);
|
|
48
|
+
padding-bottom: var(--space-2);
|
|
49
|
+
border-bottom: 1px solid var(--gray-a3);
|
|
50
|
+
background-color: var(--color-panel);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:where([data-panel-background='translucent']) .rt-ComboboxSearch {
|
|
54
|
+
background-color: var(--color-panel-translucent);
|
|
55
|
+
backdrop-filter: var(--backdrop-filter-panel);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.rt-ComboboxSearch :where(.rt-ComboboxInputRoot) {
|
|
59
|
+
width: 100%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Map cmdk's selected state to base-menu highlighted state */
|
|
63
|
+
.rt-BaseMenuContent:where(.rt-variant-solid) {
|
|
64
|
+
& :where(.rt-BaseMenuItem.rt-ComboboxItem[data-selected='true']),
|
|
65
|
+
& :where(.rt-BaseMenuItem.rt-ComboboxItem[aria-selected='true']) {
|
|
66
|
+
background-color: var(--accent-9);
|
|
67
|
+
color: var(--accent-contrast);
|
|
68
|
+
|
|
69
|
+
& :where(.rt-Text) {
|
|
70
|
+
color: inherit !important;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
& :where([data-accent-color='gray']:not(.rt-Badge)) {
|
|
74
|
+
color: inherit !important;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.rt-BaseMenuContent:where(.rt-variant-soft) {
|
|
80
|
+
& :where(.rt-BaseMenuItem.rt-ComboboxItem[data-selected='true']),
|
|
81
|
+
& :where(.rt-BaseMenuItem.rt-ComboboxItem[aria-selected='true']) {
|
|
82
|
+
background-color: var(--accent-4);
|
|
83
|
+
|
|
84
|
+
:where([data-panel-background='translucent'], [data-material='translucent']) & {
|
|
85
|
+
background-color: var(--accent-a4);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:where([data-panel-background='solid'], [data-material='solid']) {
|
|
89
|
+
background-color: var(--accent-4);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:where([data-panel-background='translucent'], [data-material='translucent']) {
|
|
93
|
+
background-color: var(--accent-a4);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.rt-BaseMenuContent:where(.rt-high-contrast) {
|
|
99
|
+
& :where(.rt-BaseMenuItem.rt-ComboboxItem[data-selected='true']),
|
|
100
|
+
& :where(.rt-BaseMenuItem.rt-ComboboxItem[aria-selected='true']) {
|
|
101
|
+
background-color: var(--accent-12);
|
|
102
|
+
color: var(--accent-1);
|
|
103
|
+
|
|
104
|
+
& :where(.rt-Text) {
|
|
105
|
+
color: inherit !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
& :where([data-accent-color='gray']:not(.rt-Badge)) {
|
|
109
|
+
color: inherit !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:where([data-accent-color]) {
|
|
113
|
+
background-color: var(--accent-9);
|
|
114
|
+
color: var(--accent-contrast);
|
|
115
|
+
|
|
116
|
+
& :where(.rt-Text) {
|
|
117
|
+
color: inherit !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
& :where([data-accent-color='gray']:not(.rt-Badge)) {
|
|
121
|
+
color: inherit !important;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { colorPropDef } from '../props/color.prop.js';
|
|
2
|
+
import { highContrastPropDef } from '../props/high-contrast.prop.js';
|
|
3
|
+
import { radiusPropDef } from '../props/radius.prop.js';
|
|
4
|
+
import { widthPropDefs } from '../props/width.props.js';
|
|
5
|
+
|
|
6
|
+
import type { PropDef } from '../props/prop-def.js';
|
|
7
|
+
|
|
8
|
+
const sizes = ['1', '2', '3'] as const;
|
|
9
|
+
|
|
10
|
+
const comboboxRootPropDefs = {
|
|
11
|
+
size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },
|
|
12
|
+
} satisfies {
|
|
13
|
+
size: PropDef<(typeof sizes)[number]>;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const triggerVariants = ['classic', 'surface', 'soft', 'outline', 'ghost'] as const;
|
|
17
|
+
|
|
18
|
+
const comboboxTriggerPropDefs = {
|
|
19
|
+
variant: { type: 'enum', className: 'rt-variant', values: triggerVariants, default: 'surface' },
|
|
20
|
+
panelBackground: {
|
|
21
|
+
type: 'enum',
|
|
22
|
+
className: 'rt-panel-background',
|
|
23
|
+
values: ['solid', 'translucent'],
|
|
24
|
+
},
|
|
25
|
+
material: { type: 'enum', values: ['solid', 'translucent'] },
|
|
26
|
+
...highContrastPropDef,
|
|
27
|
+
error: { type: 'boolean' },
|
|
28
|
+
loading: { type: 'boolean' },
|
|
29
|
+
disabled: { type: 'boolean' },
|
|
30
|
+
readOnly: { type: 'boolean' },
|
|
31
|
+
...colorPropDef,
|
|
32
|
+
...radiusPropDef,
|
|
33
|
+
width: widthPropDefs.width,
|
|
34
|
+
placeholder: { type: 'string' },
|
|
35
|
+
} satisfies {
|
|
36
|
+
variant: PropDef<(typeof triggerVariants)[number]>;
|
|
37
|
+
panelBackground: PropDef<'solid' | 'translucent'>;
|
|
38
|
+
material: PropDef<'solid' | 'translucent'>;
|
|
39
|
+
highContrast: PropDef<boolean>;
|
|
40
|
+
error: PropDef<boolean>;
|
|
41
|
+
loading: PropDef<boolean>;
|
|
42
|
+
disabled: PropDef<boolean>;
|
|
43
|
+
readOnly: PropDef<boolean>;
|
|
44
|
+
width: PropDef<string>;
|
|
45
|
+
placeholder: PropDef<string>;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const contentVariants = ['solid', 'soft'] as const;
|
|
49
|
+
|
|
50
|
+
const comboboxContentPropDefs = {
|
|
51
|
+
size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },
|
|
52
|
+
variant: { type: 'enum', className: 'rt-variant', values: contentVariants, default: 'solid' },
|
|
53
|
+
...colorPropDef,
|
|
54
|
+
...highContrastPropDef,
|
|
55
|
+
} satisfies {
|
|
56
|
+
size: PropDef<(typeof sizes)[number]>;
|
|
57
|
+
variant: PropDef<(typeof contentVariants)[number]>;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export { comboboxRootPropDefs, comboboxTriggerPropDefs, comboboxContentPropDefs };
|