@px-ui/core 1.27.0 → 1.29.0
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/components/avatar-group.d.ts +2 -1
- package/dist/components/avatar-group.d.ts.map +1 -1
- package/dist/components/avatar-group.js +17 -10
- package/dist/components/avatar.d.ts +3 -2
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/button.d.ts +5 -5
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +15 -19
- package/dist/components/checkbox.d.ts +3 -1
- package/dist/components/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox.js +1 -4
- package/dist/components/combobox.d.ts +12 -4
- package/dist/components/combobox.d.ts.map +1 -1
- package/dist/components/combobox.js +135 -128
- package/dist/components/dialog.d.ts +12 -11
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +118 -88
- package/dist/components/input-group.d.ts +4 -2
- package/dist/components/input-group.d.ts.map +1 -1
- package/dist/components/input.d.ts +3 -2
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/menu.d.ts +1 -4
- package/dist/components/menu.d.ts.map +1 -1
- package/dist/components/menu.js +87 -108
- package/dist/components/popover.d.ts +17 -15
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +84 -63
- package/dist/components/radio-group.d.ts +3 -1
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/select.d.ts +10 -2
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/select.js +66 -61
- package/dist/components/switch.js +3 -3
- package/dist/components/textarea.d.ts +3 -2
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +2 -1
- package/dist/core.css +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -25
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/arrow/ComboboxArrow.js +39 -0
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/backdrop/ComboboxBackdrop.js +37 -0
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/collection/GroupCollectionContext.js +16 -3
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/group/ComboboxGroup.js +34 -0
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/group/ComboboxGroupContext.js +13 -0
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/group-label/ComboboxGroupLabel.js +27 -0
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/icon/ComboboxIcon.js +20 -0
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/index.parts.js +52 -0
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/root/ComboboxRootInternal.js +15 -15
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/root/utils/useFilter.js +24 -10
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/combobox/row/ComboboxRow.js +24 -0
- package/dist/tw-styles/dropdown.d.ts.map +1 -1
- package/dist/tw-styles/dropdown.js +6 -6
- package/package.json +3 -2
- package/dist/components/text-input.d.ts +0 -12
- package/dist/components/text-input.d.ts.map +0 -1
- package/dist/components/text-input.js +0 -60
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/field/control/FieldControl.js +0 -104
- package/dist/node_modules/.pnpm/@base-ui-components_react@1.0.0-beta.4_@types_react@19.2.0_react-dom@19.2.0_react@19.2.0/node_modules/@base-ui-components/react/esm/input/Input.js +0 -13
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Avatar } from './avatar';
|
|
3
|
-
|
|
3
|
+
interface AvatarGroupProps {
|
|
4
4
|
avatars: React.ComponentProps<typeof Avatar>[];
|
|
5
5
|
max?: number;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare function AvatarGroup({ max, avatars, className }: AvatarGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
9
10
|
//# sourceMappingURL=avatar-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../src/components/avatar-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAc,MAAM,UAAU,CAAC;AAI9C,
|
|
1
|
+
{"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../src/components/avatar-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAc,MAAM,UAAU,CAAC;AAI9C,UAAU,gBAAgB;IACxB,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,CAAC;IAC/C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAAE,GAAO,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CAsF5E"}
|
|
@@ -59,17 +59,24 @@ function A({ max: n = 4, avatars: r, className: l }) {
|
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
61
|
) }),
|
|
62
|
-
/* @__PURE__ */ e.jsx(
|
|
63
|
-
|
|
62
|
+
/* @__PURE__ */ e.jsx(
|
|
63
|
+
u,
|
|
64
64
|
{
|
|
65
|
-
className: "
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
65
|
+
className: "w-80",
|
|
66
|
+
positionerProps: { align: "start", side: "top" },
|
|
67
|
+
children: /* @__PURE__ */ e.jsx("div", { className: "space-y-2 max-h-64 overflow-y-auto", children: t.map((s) => /* @__PURE__ */ e.jsxs(
|
|
68
|
+
"div",
|
|
69
|
+
{
|
|
70
|
+
className: "gap-3 p-2 rounded-md flex items-center",
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ e.jsx(c, { ...s, size: "24px", hideTooltip: !0 }),
|
|
73
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm font-medium text-ppx-neutral-18", children: s.name })
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
s.name
|
|
77
|
+
)) })
|
|
78
|
+
}
|
|
79
|
+
)
|
|
73
80
|
] })
|
|
74
81
|
}
|
|
75
82
|
)
|
|
@@ -10,8 +10,9 @@ interface AvatarProps {
|
|
|
10
10
|
hideTooltip?: boolean;
|
|
11
11
|
}
|
|
12
12
|
export declare function Avatar(props: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
|
|
13
|
+
type AvatarImplProps = Omit<AvatarProps, "hideTooltip"> & {
|
|
14
14
|
avatarRootProps?: React.ComponentProps<typeof AvatarBase.Root>;
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
|
+
export declare function AvatarImpl(props: AvatarImplProps): import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
export {};
|
|
17
18
|
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAKxE,KAAK,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAkE3C,UAAU,WAAW;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,GAAG,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,2CAWxC;AAED,
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAKxE,KAAK,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAkE3C,UAAU,WAAW;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,GAAG,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,2CAWxC;AAED,KAAK,eAAe,GAAG,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC,GAAG;IACxD,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC;CAChE,CAAC;AAEF,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CA4ChD"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "default" | "primary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
5
|
-
size?: "default" | "sm" | "
|
|
4
|
+
variant?: "link" | "default" | "primary" | "destructive" | "outline" | "primary-outline" | "ghost" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "lg" | "icon-sm" | "icon" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
8
|
+
}
|
|
9
|
+
declare function Button({ className, variant, size, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export { Button, buttonVariants };
|
|
11
11
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,cAAc;;;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,cAAc;;;mFAgCnB,CAAC;AAEF,UAAU,WACR,SAAQ,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EACpC,YAAY,CAAC,OAAO,cAAc,CAAC;CAAG;AAE1C,iBAAS,MAAM,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAQlE;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { j as r } from "../_virtual/jsx-runtime.js";
|
|
2
|
-
import { cva as
|
|
3
|
-
import { cn as
|
|
4
|
-
const
|
|
5
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap transition-colors disabled:cursor-not-allowed shrink-0 [&_svg]:shrink-0 outline-none",
|
|
2
|
+
import { cva as i } from "../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
|
|
3
|
+
import { cn as s } from "../utils/classnames.js";
|
|
4
|
+
const d = i(
|
|
5
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap transition-colors disabled:cursor-not-allowed shrink-0 [&_svg]:shrink-0 outline-none rounded-ppx-s font-medium focus-visible:ring-3 focus-visible:ring-ppx-neutral-17/30",
|
|
6
6
|
{
|
|
7
7
|
variants: {
|
|
8
8
|
variant: {
|
|
9
9
|
default: "bg-ppx-neutral-11 text-white shadow-xs not-disabled:hover:bg-ppx-neutral-10 not-disabled:active:bg-ppx-neutral-11 disabled:bg-ppx-neutral-6",
|
|
10
10
|
primary: "bg-ppx-primary-5 text-white shadow-xs not-disabled:hover:bg-ppx-primary-4 not-disabled:active:bg-ppx-primary-5 disabled:bg-ppx-primary-2 disabled:text-ppx-neutral-8",
|
|
11
|
-
destructive: "bg-ppx-red-5 text-white shadow-xs hover:bg-ppx-red-4 not-disabled:active:bg-ppx-red-5 disabled:bg-ppx-red-2 disabled:text-ppx-neutral-
|
|
12
|
-
outline: "shadow-xs not-disabled:hover:bg-ppx-
|
|
11
|
+
destructive: "bg-ppx-red-5 text-white shadow-xs hover:bg-ppx-red-4 not-disabled:active:bg-ppx-red-5 disabled:bg-ppx-red-2 disabled:text-ppx-neutral-13",
|
|
12
|
+
outline: "shadow-xs not-disabled:hover:bg-ppx-neutral-2 not-disabled:active:bg-ppx-neutral-3 disabled:border-ppx-neutral-7 border border-ppx-neutral-11 text-ppx-neutral-11 disabled:text-ppx-neutral-7",
|
|
13
|
+
"primary-outline": "shadow-xs not-disabled:hover:bg-ppx-primary-1 not-disabled:active:bg-ppx-primary-2/50 disabled:text-ppx-primary-2 disabled:border-ppx-primary-2 border border-ppx-primary-5 text-ppx-primary-5",
|
|
13
14
|
ghost: "not-disabled:hover:bg-ppx-neutral-2 not-disabled:active:bg-ppx-neutral-3 not-disabled:hover:text-black text-ppx-neutral-12 disabled:opacity-70",
|
|
14
15
|
link: "text-ppx-neutral-12 underline-offset-4 underline cursor-pointer not-disabled:hover:bg-ppx-neutral-2 not-disabled:active:bg-ppx-neutral-3 disabled:opacity-70"
|
|
15
16
|
},
|
|
16
17
|
size: {
|
|
17
|
-
default: "px-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
icon: "size-
|
|
18
|
+
default: "px-4 py-2 h-10 has-[>svg]:px-3 text-ppx-base",
|
|
19
|
+
sm: "gap-1.5 px-3 has-[>svg]:px-2.5 h-8 text-ppx-sm",
|
|
20
|
+
lg: "px-6 h-12 text-ppx-base font-sans-sb has-[>svg]:px-4",
|
|
21
|
+
"icon-sm": "h-8 size-8",
|
|
22
|
+
icon: "size-10 px-2"
|
|
22
23
|
}
|
|
23
24
|
},
|
|
24
25
|
defaultVariants: {
|
|
@@ -27,22 +28,17 @@ const n = d(
|
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
);
|
|
30
|
-
function l({
|
|
31
|
-
className: e,
|
|
32
|
-
variant: t,
|
|
33
|
-
size: p,
|
|
34
|
-
...a
|
|
35
|
-
}) {
|
|
31
|
+
function l({ className: e, variant: t, size: p, ...a }) {
|
|
36
32
|
return /* @__PURE__ */ r.jsx(
|
|
37
33
|
"button",
|
|
38
34
|
{
|
|
39
35
|
"data-slot": "button",
|
|
40
|
-
className:
|
|
36
|
+
className: s(d({ variant: t, size: p, className: e })),
|
|
41
37
|
...a
|
|
42
38
|
}
|
|
43
39
|
);
|
|
44
40
|
}
|
|
45
41
|
export {
|
|
46
42
|
l as Button,
|
|
47
|
-
|
|
43
|
+
d as buttonVariants
|
|
48
44
|
};
|
|
@@ -4,6 +4,8 @@ declare const checkboxVariants: (props?: ({
|
|
|
4
4
|
variant?: "default" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
7
|
-
|
|
7
|
+
interface CheckboxProps extends React.ComponentProps<typeof BaseCheckbox.Root>, VariantProps<typeof checkboxVariants> {
|
|
8
|
+
}
|
|
9
|
+
declare function Checkbox({ className, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
export { Checkbox };
|
|
9
11
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAG9E,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,QAAA,MAAM,gBAAgB;;;mFAmBrB,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAG9E,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,QAAA,MAAM,gBAAgB;;;mFAmBrB,CAAC;AAEF,UAAU,aACR,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,IAAI,CAAC,EACpD,YAAY,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAE5C,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAmDvD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -38,11 +38,18 @@ export declare function SearchableTrigger(props: {
|
|
|
38
38
|
addons?: React.ReactNode;
|
|
39
39
|
}): import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
export declare function SearchableTriggerDropdownAddon(): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
interface TriggerProps extends Combobox.Trigger.Props, VariantProps<typeof triggerVariants> {
|
|
42
|
+
}
|
|
43
|
+
export declare function Trigger({ size, widthVariant, children, className, ...props }: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
/**
|
|
45
|
+
* Renders the value, if `value` is a string or an object with `label` property in it,
|
|
46
|
+
* then renders that value else you should provide a render function to render your custom value
|
|
47
|
+
* **/
|
|
48
|
+
export declare function Value({ children, className, placeholder, ...props }: {
|
|
44
49
|
placeholder?: string;
|
|
45
|
-
|
|
50
|
+
children: React.ReactNode | ((selectedValue: any) => React.ReactNode);
|
|
51
|
+
className?: string;
|
|
52
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
46
53
|
declare const chipsTriggerVariants: (props?: ({
|
|
47
54
|
size?: "default" | "sm" | null | undefined;
|
|
48
55
|
widthVariant?: "enforced" | "full" | null | undefined;
|
|
@@ -57,5 +64,6 @@ export declare function Chip(props: React.ComponentProps<typeof Combobox.Chip> &
|
|
|
57
64
|
}): import("react/jsx-runtime").JSX.Element;
|
|
58
65
|
export declare function Search({ placeholder, ...props }: React.ComponentProps<typeof Combobox.Input>): import("react/jsx-runtime").JSX.Element;
|
|
59
66
|
export declare function useComboboxContext(): ComboboxContextValues;
|
|
67
|
+
export declare const BaseCombobox: typeof Combobox;
|
|
60
68
|
export {};
|
|
61
69
|
//# sourceMappingURL=combobox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../src/components/combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAI9D,OAAO,EAIL,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,KAAK,UAAU,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAK/D,eAAO,MAAM,IAAI,4FAAgB,CAAC;AAElC,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAC/C,OAAO,QAAQ,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CACpC,GAAG;IACF,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACxD,oBAAoB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAA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