@oztix/roadie-components 1.2.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion.d.ts +37 -0
- package/dist/Accordion.js +3 -0
- package/dist/Accordion.js.map +1 -0
- package/dist/Autocomplete.d.ts +115 -0
- package/dist/Autocomplete.js +3 -0
- package/dist/Autocomplete.js.map +1 -0
- package/dist/Badge.d.ts +22 -0
- package/dist/Badge.js +2 -0
- package/dist/Badge.js.map +1 -0
- package/dist/Breadcrumb.d.ts +43 -0
- package/dist/Breadcrumb.js +2 -0
- package/dist/Breadcrumb.js.map +1 -0
- package/dist/Button-fnIVmjIB.d.ts +18 -0
- package/dist/Button.d.ts +12 -16
- package/dist/Button.js +1 -1
- package/dist/Card.d.ts +51 -0
- package/dist/Card.js +2 -0
- package/dist/Card.js.map +1 -0
- package/dist/Code.d.ts +14 -24
- package/dist/Code.js +1 -1
- package/dist/Combobox.d.ts +120 -0
- package/dist/Combobox.js +3 -0
- package/dist/Combobox.js.map +1 -0
- package/dist/Field.d.ts +71 -0
- package/dist/Field.js +3 -0
- package/dist/Field.js.map +1 -0
- package/dist/Fieldset.d.ts +36 -0
- package/dist/Fieldset.js +3 -0
- package/dist/Fieldset.js.map +1 -0
- package/dist/Highlight.d.ts +14 -36
- package/dist/Highlight.js +1 -1
- package/dist/Indicator.d.ts +17 -0
- package/dist/Indicator.js +2 -0
- package/dist/Indicator.js.map +1 -0
- package/dist/Input.d.ts +18 -0
- package/dist/Input.js +3 -0
- package/dist/Input.js.map +1 -0
- package/dist/Label.d.ts +11 -0
- package/dist/Label.js +2 -0
- package/dist/Label.js.map +1 -0
- package/dist/LinkButton.d.ts +35 -0
- package/dist/LinkButton.js +2 -0
- package/dist/LinkButton.js.map +1 -0
- package/dist/Mark.d.ts +15 -26
- package/dist/Mark.js +1 -1
- package/dist/Marquee.d.ts +21 -0
- package/dist/Marquee.js +3 -0
- package/dist/Marquee.js.map +1 -0
- package/dist/Prose.d.ts +22 -0
- package/dist/Prose.js +2 -0
- package/dist/Prose.js.map +1 -0
- package/dist/RadioGroup.d.ts +59 -0
- package/dist/RadioGroup.js +3 -0
- package/dist/RadioGroup.js.map +1 -0
- package/dist/Select.d.ts +131 -0
- package/dist/Select.js +3 -0
- package/dist/Select.js.map +1 -0
- package/dist/Separator.d.ts +16 -0
- package/dist/Separator.js +2 -0
- package/dist/Separator.js.map +1 -0
- package/dist/SpotIllustration.d.ts +59 -24
- package/dist/SpotIllustration.js +2 -1
- package/dist/SpotIllustration.js.map +1 -1
- package/dist/Steps.d.ts +104 -0
- package/dist/Steps.js +3 -0
- package/dist/Steps.js.map +1 -0
- package/dist/Textarea.d.ts +19 -0
- package/dist/Textarea.js +3 -0
- package/dist/Textarea.js.map +1 -0
- package/dist/_chunks/chunk-3H22EQQ6.js +2 -0
- package/dist/_chunks/chunk-3H22EQQ6.js.map +1 -0
- package/dist/_chunks/chunk-42UB7PQB.js +3 -0
- package/dist/_chunks/chunk-42UB7PQB.js.map +1 -0
- package/dist/_chunks/chunk-4LGCF3SN.js +3 -0
- package/dist/_chunks/chunk-4LGCF3SN.js.map +1 -0
- package/dist/_chunks/chunk-AFSDN4WI.js +2 -0
- package/dist/_chunks/chunk-AFSDN4WI.js.map +1 -0
- package/dist/_chunks/chunk-BQEJDV7D.js +3 -0
- package/dist/_chunks/chunk-BQEJDV7D.js.map +1 -0
- package/dist/_chunks/chunk-DRVUAPKN.js +2 -0
- package/dist/_chunks/chunk-DRVUAPKN.js.map +1 -0
- package/dist/_chunks/chunk-EKOEXSAP.js +2 -0
- package/dist/_chunks/chunk-EKOEXSAP.js.map +1 -0
- package/dist/_chunks/chunk-FQNVMKKV.js +7 -0
- package/dist/_chunks/chunk-FQNVMKKV.js.map +1 -0
- package/dist/_chunks/chunk-IEDKSZAQ.js +3 -0
- package/dist/_chunks/chunk-IEDKSZAQ.js.map +1 -0
- package/dist/_chunks/chunk-JBHYUOI2.js +3 -0
- package/dist/_chunks/chunk-JBHYUOI2.js.map +1 -0
- package/dist/_chunks/chunk-JGTZ3GCR.js +2 -0
- package/dist/_chunks/chunk-JGTZ3GCR.js.map +1 -0
- package/dist/_chunks/chunk-LHNOY24C.js +2 -0
- package/dist/_chunks/chunk-LHNOY24C.js.map +1 -0
- package/dist/_chunks/chunk-LMV3JECI.js +3 -0
- package/dist/_chunks/chunk-LMV3JECI.js.map +1 -0
- package/dist/_chunks/chunk-MDRAL676.js +3 -0
- package/dist/_chunks/chunk-MDRAL676.js.map +1 -0
- package/dist/_chunks/chunk-N2HGY7W7.js +3 -0
- package/dist/_chunks/chunk-N2HGY7W7.js.map +1 -0
- package/dist/_chunks/chunk-NRVNUMJE.js +2 -0
- package/dist/_chunks/chunk-NRVNUMJE.js.map +1 -0
- package/dist/_chunks/chunk-OIAETOZT.js +3 -0
- package/dist/_chunks/chunk-OIAETOZT.js.map +1 -0
- package/dist/_chunks/chunk-OIZX63GZ.js +2 -0
- package/dist/_chunks/chunk-OIZX63GZ.js.map +1 -0
- package/dist/_chunks/chunk-OPR5JL7N.js +3 -0
- package/dist/_chunks/chunk-OPR5JL7N.js.map +1 -0
- package/dist/_chunks/chunk-SCS7WZ6Z.js +3 -0
- package/dist/_chunks/chunk-SCS7WZ6Z.js.map +1 -0
- package/dist/_chunks/chunk-VSKUGXQG.js +3 -0
- package/dist/_chunks/chunk-VSKUGXQG.js.map +1 -0
- package/dist/_chunks/chunk-WOU2B425.js +3 -0
- package/dist/_chunks/chunk-WOU2B425.js.map +1 -0
- package/dist/_chunks/chunk-XERFFH3S.js +3 -0
- package/dist/_chunks/chunk-XERFFH3S.js.map +1 -0
- package/dist/_chunks/chunk-XRFHVFJ5.js +3 -0
- package/dist/_chunks/chunk-XRFHVFJ5.js.map +1 -0
- package/dist/_chunks/chunk-ZXR32FYA.js +2 -0
- package/dist/_chunks/chunk-ZXR32FYA.js.map +1 -0
- package/dist/index.d.ts +60 -15
- package/dist/index.js +34 -1
- package/dist/index.js.map +1 -1
- package/package.json +24 -23
- package/dist/Container.d.ts +0 -34
- package/dist/Container.js +0 -2
- package/dist/Container.js.map +0 -1
- package/dist/Heading.d.ts +0 -45
- package/dist/Heading.js +0 -2
- package/dist/Heading.js.map +0 -1
- package/dist/Text.d.ts +0 -47
- package/dist/Text.js +0 -2
- package/dist/Text.js.map +0 -1
- package/dist/View.d.ts +0 -12
- package/dist/View.js +0 -2
- package/dist/View.js.map +0 -1
- package/dist/_chunks/chunk-AZZHYO2A.js +0 -3
- package/dist/_chunks/chunk-AZZHYO2A.js.map +0 -1
- package/dist/_chunks/chunk-JOQJCXYF.js +0 -2
- package/dist/_chunks/chunk-JOQJCXYF.js.map +0 -1
- package/dist/_chunks/chunk-NMGF2AP6.js +0 -2
- package/dist/_chunks/chunk-NMGF2AP6.js.map +0 -1
- package/dist/_chunks/chunk-OH4JYS35.js +0 -3
- package/dist/_chunks/chunk-OH4JYS35.js.map +0 -1
- package/dist/_chunks/chunk-P5L5LN6E.js +0 -2
- package/dist/_chunks/chunk-P5L5LN6E.js.map +0 -1
- package/dist/_chunks/chunk-RJEJUZ3O.js +0 -2
- package/dist/_chunks/chunk-RJEJUZ3O.js.map +0 -1
- package/dist/_chunks/chunk-SUDUTP6A.js +0 -3
- package/dist/_chunks/chunk-SUDUTP6A.js.map +0 -1
- package/dist/_chunks/chunk-YNF56IUK.js +0 -2
- package/dist/_chunks/chunk-YNF56IUK.js.map +0 -1
- package/dist/_chunks/chunk-ZXS7U3VJ.js +0 -2
- package/dist/_chunks/chunk-ZXS7U3VJ.js.map +0 -1
- package/dist/hooks/index.d.ts +0 -27
- package/dist/hooks/index.js +0 -2
- package/dist/hooks/index.js.map +0 -1
- package/src/components/Button/Button.test.tsx +0 -156
- package/src/components/Button/Button.tsx +0 -12
- package/src/components/Button/IconButton.test.tsx +0 -234
- package/src/components/Button/IconButton.tsx +0 -14
- package/src/components/Button/index.tsx +0 -2
- package/src/components/Code/Code.test.tsx +0 -85
- package/src/components/Code/index.tsx +0 -37
- package/src/components/Container/Container.test.tsx +0 -241
- package/src/components/Container/index.tsx +0 -34
- package/src/components/Heading/Heading.test.tsx +0 -128
- package/src/components/Heading/index.tsx +0 -49
- package/src/components/Highlight/Highlight.test.tsx +0 -113
- package/src/components/Highlight/index.tsx +0 -96
- package/src/components/Mark/Mark.test.tsx +0 -82
- package/src/components/Mark/index.tsx +0 -33
- package/src/components/SpotIllustration/ArrowUpRight.tsx +0 -9
- package/src/components/SpotIllustration/CowboyHat.tsx +0 -6
- package/src/components/SpotIllustration/Cursor.tsx +0 -6
- package/src/components/SpotIllustration/FlowerSpiral.tsx +0 -9
- package/src/components/SpotIllustration/Football.tsx +0 -6
- package/src/components/SpotIllustration/Hand.tsx +0 -6
- package/src/components/SpotIllustration/Heart.tsx +0 -6
- package/src/components/SpotIllustration/HighFive.tsx +0 -6
- package/src/components/SpotIllustration/MapPin.tsx +0 -6
- package/src/components/SpotIllustration/NoteMusic.tsx +0 -6
- package/src/components/SpotIllustration/README.md +0 -280
- package/src/components/SpotIllustration/SpotIllustration.test.tsx +0 -179
- package/src/components/SpotIllustration/SpotIllustration.tsx +0 -96
- package/src/components/SpotIllustration/Ticket.tsx +0 -6
- package/src/components/SpotIllustration/WineGlass.tsx +0 -6
- package/src/components/SpotIllustration/createSpotIllustration.tsx +0 -46
- package/src/components/SpotIllustration/index.tsx +0 -42
- package/src/components/SpotIllustration/json/arrow-up-right.json +0 -34
- package/src/components/SpotIllustration/json/cowboy-hat.json +0 -34
- package/src/components/SpotIllustration/json/cursor.json +0 -34
- package/src/components/SpotIllustration/json/flower-spiral.json +0 -38
- package/src/components/SpotIllustration/json/football.json +0 -46
- package/src/components/SpotIllustration/json/hand.json +0 -22
- package/src/components/SpotIllustration/json/heart.json +0 -26
- package/src/components/SpotIllustration/json/high-five.json +0 -62
- package/src/components/SpotIllustration/json/map-pin.json +0 -26
- package/src/components/SpotIllustration/json/note-music.json +0 -42
- package/src/components/SpotIllustration/json/ticket.json +0 -42
- package/src/components/SpotIllustration/json/wine-glass.json +0 -34
- package/src/components/SpotIllustration/svgs/arrow-up-right.svg +0 -9
- package/src/components/SpotIllustration/svgs/cowboy-hat.svg +0 -9
- package/src/components/SpotIllustration/svgs/cursor.svg +0 -9
- package/src/components/SpotIllustration/svgs/flower-spiral.svg +0 -10
- package/src/components/SpotIllustration/svgs/football.svg +0 -12
- package/src/components/SpotIllustration/svgs/hand.svg +0 -6
- package/src/components/SpotIllustration/svgs/heart.svg +0 -7
- package/src/components/SpotIllustration/svgs/high-five.svg +0 -16
- package/src/components/SpotIllustration/svgs/map-pin.svg +0 -7
- package/src/components/SpotIllustration/svgs/note-music.svg +0 -11
- package/src/components/SpotIllustration/svgs/ticket.svg +0 -11
- package/src/components/SpotIllustration/svgs/wine-glass.svg +0 -9
- package/src/components/Text/Text.test.tsx +0 -121
- package/src/components/Text/index.tsx +0 -51
- package/src/components/View/View.test.tsx +0 -161
- package/src/components/View/index.tsx +0 -12
- package/src/components/index.ts +0 -17
- package/src/hooks/index.ts +0 -1
- package/src/hooks/useColorMode.ts +0 -37
- package/src/index.test.tsx +0 -37
- package/src/index.tsx +0 -9
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
type AccordionType = 'single' | 'multiple';
|
|
7
|
+
declare const accordionVariants: (props?: ({
|
|
8
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
9
|
+
emphasis?: "normal" | "subtle" | "subtler" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface AccordionProps extends ComponentProps<'div'>, VariantProps<typeof accordionVariants> {
|
|
12
|
+
type?: AccordionType;
|
|
13
|
+
}
|
|
14
|
+
declare function AccordionRoot({ type, intent, emphasis, className, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
declare namespace AccordionRoot {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
}
|
|
18
|
+
type AccordionItemProps = ComponentProps<'details'>;
|
|
19
|
+
declare function AccordionItem({ className, children, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
20
|
+
declare namespace AccordionItem {
|
|
21
|
+
var displayName: string;
|
|
22
|
+
}
|
|
23
|
+
declare function AccordionTrigger({ className, children, onClick, ...props }: ComponentProps<'summary'>): react_jsx_runtime.JSX.Element;
|
|
24
|
+
declare namespace AccordionTrigger {
|
|
25
|
+
var displayName: string;
|
|
26
|
+
}
|
|
27
|
+
declare function AccordionContent({ className, children, ...props }: ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
28
|
+
declare namespace AccordionContent {
|
|
29
|
+
var displayName: string;
|
|
30
|
+
}
|
|
31
|
+
declare const Accordion: typeof AccordionRoot & {
|
|
32
|
+
Item: typeof AccordionItem;
|
|
33
|
+
Trigger: typeof AccordionTrigger;
|
|
34
|
+
Content: typeof AccordionContent;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export { Accordion, type AccordionProps, accordionVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Accordion.js"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { RefAttributes } from 'react';
|
|
4
|
+
import { Autocomplete as Autocomplete$1, AutocompleteFilterOptions, AutocompleteFilter } from '@base-ui/react/autocomplete';
|
|
5
|
+
export { AutocompleteFilter as Filter, AutocompleteFilterOptions as FilterOptions } from '@base-ui/react/autocomplete';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
|
|
8
|
+
declare const useFilter: (options?: AutocompleteFilterOptions) => AutocompleteFilter;
|
|
9
|
+
declare const useFilteredItems: typeof Autocomplete$1.useFilteredItems;
|
|
10
|
+
|
|
11
|
+
declare const autocompleteInputGroupVariants: (props?: ({
|
|
12
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
13
|
+
emphasis?: "normal" | "subtle" | null | undefined;
|
|
14
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
15
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
16
|
+
type AutocompleteRootProps = Autocomplete$1.Root.Props<unknown>;
|
|
17
|
+
declare function AutocompleteRoot(props: AutocompleteRootProps): react_jsx_runtime.JSX.Element;
|
|
18
|
+
declare namespace AutocompleteRoot {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
21
|
+
type AutocompleteValueProps = Autocomplete$1.Value.Props;
|
|
22
|
+
declare function AutocompleteValue(props: AutocompleteValueProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
declare namespace AutocompleteValue {
|
|
24
|
+
var displayName: string;
|
|
25
|
+
}
|
|
26
|
+
type AutocompleteInputGroupProps = Autocomplete$1.InputGroup.Props & RefAttributes<HTMLDivElement> & VariantProps<typeof autocompleteInputGroupVariants>;
|
|
27
|
+
declare function AutocompleteInputGroup({ className, intent, emphasis, size, ...props }: AutocompleteInputGroupProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
declare namespace AutocompleteInputGroup {
|
|
29
|
+
var displayName: string;
|
|
30
|
+
}
|
|
31
|
+
type AutocompleteInputProps = Autocomplete$1.Input.Props & RefAttributes<HTMLInputElement>;
|
|
32
|
+
declare function AutocompleteInput({ className, ...props }: AutocompleteInputProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
declare namespace AutocompleteInput {
|
|
34
|
+
var displayName: string;
|
|
35
|
+
}
|
|
36
|
+
type AutocompleteTriggerProps = Autocomplete$1.Trigger.Props & RefAttributes<HTMLButtonElement>;
|
|
37
|
+
declare function AutocompleteTrigger({ className, children, ...props }: AutocompleteTriggerProps): react_jsx_runtime.JSX.Element;
|
|
38
|
+
declare namespace AutocompleteTrigger {
|
|
39
|
+
var displayName: string;
|
|
40
|
+
}
|
|
41
|
+
type AutocompleteClearProps = Autocomplete$1.Clear.Props & RefAttributes<HTMLButtonElement>;
|
|
42
|
+
declare function AutocompleteClear({ className, children, ...props }: AutocompleteClearProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
declare namespace AutocompleteClear {
|
|
44
|
+
var displayName: string;
|
|
45
|
+
}
|
|
46
|
+
type AutocompletePortalProps = Autocomplete$1.Portal.Props & RefAttributes<HTMLDivElement>;
|
|
47
|
+
declare function AutocompletePortal(props: AutocompletePortalProps): react_jsx_runtime.JSX.Element;
|
|
48
|
+
declare namespace AutocompletePortal {
|
|
49
|
+
var displayName: string;
|
|
50
|
+
}
|
|
51
|
+
type AutocompletePositionerProps = Autocomplete$1.Positioner.Props & RefAttributes<HTMLDivElement>;
|
|
52
|
+
declare function AutocompletePositioner({ className, ...props }: AutocompletePositionerProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare namespace AutocompletePositioner {
|
|
54
|
+
var displayName: string;
|
|
55
|
+
}
|
|
56
|
+
type AutocompletePopupProps = Autocomplete$1.Popup.Props & RefAttributes<HTMLDivElement>;
|
|
57
|
+
declare function AutocompletePopup({ className, ...props }: AutocompletePopupProps): react_jsx_runtime.JSX.Element;
|
|
58
|
+
declare namespace AutocompletePopup {
|
|
59
|
+
var displayName: string;
|
|
60
|
+
}
|
|
61
|
+
type AutocompleteListProps = Autocomplete$1.List.Props & RefAttributes<HTMLDivElement>;
|
|
62
|
+
declare function AutocompleteList({ className, ...props }: AutocompleteListProps): react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare namespace AutocompleteList {
|
|
64
|
+
var displayName: string;
|
|
65
|
+
}
|
|
66
|
+
type AutocompleteItemProps = Autocomplete$1.Item.Props & RefAttributes<HTMLDivElement>;
|
|
67
|
+
declare function AutocompleteItem({ className, ...props }: AutocompleteItemProps): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare namespace AutocompleteItem {
|
|
69
|
+
var displayName: string;
|
|
70
|
+
}
|
|
71
|
+
type AutocompleteCollectionProps = Autocomplete$1.Collection.Props;
|
|
72
|
+
declare function AutocompleteCollection(props: AutocompleteCollectionProps): react_jsx_runtime.JSX.Element;
|
|
73
|
+
declare namespace AutocompleteCollection {
|
|
74
|
+
var displayName: string;
|
|
75
|
+
}
|
|
76
|
+
type AutocompleteGroupProps = Autocomplete$1.Group.Props & RefAttributes<HTMLDivElement>;
|
|
77
|
+
declare function AutocompleteGroup({ className, ...props }: AutocompleteGroupProps): react_jsx_runtime.JSX.Element;
|
|
78
|
+
declare namespace AutocompleteGroup {
|
|
79
|
+
var displayName: string;
|
|
80
|
+
}
|
|
81
|
+
type AutocompleteGroupLabelProps = Autocomplete$1.GroupLabel.Props & RefAttributes<HTMLDivElement>;
|
|
82
|
+
declare function AutocompleteGroupLabel({ className, ...props }: AutocompleteGroupLabelProps): react_jsx_runtime.JSX.Element;
|
|
83
|
+
declare namespace AutocompleteGroupLabel {
|
|
84
|
+
var displayName: string;
|
|
85
|
+
}
|
|
86
|
+
type AutocompleteEmptyProps = Autocomplete$1.Empty.Props & RefAttributes<HTMLDivElement>;
|
|
87
|
+
declare function AutocompleteEmpty({ className, ...props }: AutocompleteEmptyProps): react_jsx_runtime.JSX.Element;
|
|
88
|
+
declare namespace AutocompleteEmpty {
|
|
89
|
+
var displayName: string;
|
|
90
|
+
}
|
|
91
|
+
type AutocompleteStatusProps = Autocomplete$1.Status.Props & RefAttributes<HTMLDivElement>;
|
|
92
|
+
declare function AutocompleteStatus({ className, ...props }: AutocompleteStatusProps): react_jsx_runtime.JSX.Element;
|
|
93
|
+
declare namespace AutocompleteStatus {
|
|
94
|
+
var displayName: string;
|
|
95
|
+
}
|
|
96
|
+
declare const Autocomplete: typeof AutocompleteRoot & {
|
|
97
|
+
Value: typeof AutocompleteValue;
|
|
98
|
+
InputGroup: typeof AutocompleteInputGroup;
|
|
99
|
+
Input: typeof AutocompleteInput;
|
|
100
|
+
Trigger: typeof AutocompleteTrigger;
|
|
101
|
+
Clear: typeof AutocompleteClear;
|
|
102
|
+
Portal: typeof AutocompletePortal;
|
|
103
|
+
Positioner: typeof AutocompletePositioner;
|
|
104
|
+
Popup: typeof AutocompletePopup;
|
|
105
|
+
List: typeof AutocompleteList;
|
|
106
|
+
Item: typeof AutocompleteItem;
|
|
107
|
+
Collection: typeof AutocompleteCollection;
|
|
108
|
+
Group: typeof AutocompleteGroup;
|
|
109
|
+
GroupLabel: typeof AutocompleteGroupLabel;
|
|
110
|
+
Empty: typeof AutocompleteEmpty;
|
|
111
|
+
Status: typeof AutocompleteStatus;
|
|
112
|
+
};
|
|
113
|
+
type AutocompleteProps = AutocompleteRootProps;
|
|
114
|
+
|
|
115
|
+
export { Autocomplete, AutocompleteClear, type AutocompleteClearProps, AutocompleteCollection, type AutocompleteCollectionProps, AutocompleteEmpty, type AutocompleteEmptyProps, AutocompleteGroup, AutocompleteGroupLabel, type AutocompleteGroupLabelProps, type AutocompleteGroupProps, AutocompleteInput, AutocompleteInputGroup, type AutocompleteInputGroupProps, type AutocompleteInputProps, AutocompleteItem, type AutocompleteItemProps, AutocompleteList, type AutocompleteListProps, AutocompletePopup, type AutocompletePopupProps, AutocompletePortal, type AutocompletePortalProps, AutocompletePositioner, type AutocompletePositionerProps, type AutocompleteProps, AutocompleteRoot, type AutocompleteRootProps, AutocompleteStatus, type AutocompleteStatusProps, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteValue, type AutocompleteValueProps, autocompleteInputGroupVariants, useFilter, useFilteredItems };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export{t as Autocomplete,i as AutocompleteClear,o as AutocompleteCollection,r as AutocompleteEmpty,p as AutocompleteGroup,q as AutocompleteGroupLabel,g as AutocompleteInput,f as AutocompleteInputGroup,n as AutocompleteItem,m as AutocompleteList,l as AutocompletePopup,j as AutocompletePortal,k as AutocompletePositioner,d as AutocompleteRoot,s as AutocompleteStatus,h as AutocompleteTrigger,e as AutocompleteValue,c as autocompleteInputGroupVariants,a as useFilter,b as useFilteredItems}from'./_chunks/chunk-SCS7WZ6Z.js';import'./_chunks/chunk-N2HGY7W7.js';import'./_chunks/chunk-OIAETOZT.js';import'./_chunks/chunk-LMV3JECI.js';import'./_chunks/chunk-VSKUGXQG.js';import'./_chunks/chunk-IEDKSZAQ.js';import'./_chunks/chunk-4LGCF3SN.js';//# sourceMappingURL=Autocomplete.js.map
|
|
3
|
+
//# sourceMappingURL=Autocomplete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Autocomplete.js"}
|
package/dist/Badge.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const badgeVariants: (props?: ({
|
|
7
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
8
|
+
emphasis?: "strong" | "normal" | "subtle" | "subtler" | null | undefined;
|
|
9
|
+
size?: "sm" | "md" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface BadgeProps extends ComponentProps<'span'>, VariantProps<typeof badgeVariants> {
|
|
12
|
+
/** Show a dot indicator before the text */
|
|
13
|
+
indicator?: boolean;
|
|
14
|
+
/** Animate the indicator with a slow pulse */
|
|
15
|
+
indicatorPulse?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare function Badge({ className, intent, emphasis, size, indicator, indicatorPulse, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
18
|
+
declare namespace Badge {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { Badge, type BadgeProps, badgeVariants };
|
package/dist/Badge.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Badge.js"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
declare function BreadcrumbRoot({ className, ...props }: ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
5
|
+
declare namespace BreadcrumbRoot {
|
|
6
|
+
var displayName: string;
|
|
7
|
+
}
|
|
8
|
+
declare function BreadcrumbList({ className, ...props }: ComponentProps<'ol'>): react_jsx_runtime.JSX.Element;
|
|
9
|
+
declare namespace BreadcrumbList {
|
|
10
|
+
var displayName: string;
|
|
11
|
+
}
|
|
12
|
+
declare function BreadcrumbItem({ className, ...props }: ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare namespace BreadcrumbItem {
|
|
14
|
+
var displayName: string;
|
|
15
|
+
}
|
|
16
|
+
type BreadcrumbLinkProps<T extends ElementType = 'a'> = {
|
|
17
|
+
as?: T;
|
|
18
|
+
className?: string;
|
|
19
|
+
} & Omit<ComponentProps<T>, 'as' | 'className'>;
|
|
20
|
+
declare function BreadcrumbLink<T extends ElementType = 'a'>({ as, className, ...props }: BreadcrumbLinkProps<T>): react_jsx_runtime.JSX.Element;
|
|
21
|
+
declare namespace BreadcrumbLink {
|
|
22
|
+
var displayName: string;
|
|
23
|
+
}
|
|
24
|
+
interface BreadcrumbSeparatorProps extends ComponentProps<'span'> {
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
}
|
|
27
|
+
declare function BreadcrumbSeparator({ className, children, ...props }: BreadcrumbSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
declare namespace BreadcrumbSeparator {
|
|
29
|
+
var displayName: string;
|
|
30
|
+
}
|
|
31
|
+
declare function BreadcrumbCurrent({ className, ...props }: ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare namespace BreadcrumbCurrent {
|
|
33
|
+
var displayName: string;
|
|
34
|
+
}
|
|
35
|
+
declare const Breadcrumb: typeof BreadcrumbRoot & {
|
|
36
|
+
List: typeof BreadcrumbList;
|
|
37
|
+
Item: typeof BreadcrumbItem;
|
|
38
|
+
Link: typeof BreadcrumbLink;
|
|
39
|
+
Separator: typeof BreadcrumbSeparator;
|
|
40
|
+
Current: typeof BreadcrumbCurrent;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export { Breadcrumb, type BreadcrumbSeparatorProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Breadcrumb.js"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { RefAttributes } from 'react';
|
|
4
|
+
import { Button as Button$1 } from '@base-ui/react/button';
|
|
5
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
|
|
7
|
+
declare const buttonVariants: (props?: ({
|
|
8
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
9
|
+
emphasis?: "strong" | "normal" | "subtle" | "subtler" | null | undefined;
|
|
10
|
+
size?: "xs" | "sm" | "md" | "lg" | "icon-xs" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
+
type ButtonProps = Button$1.Props & RefAttributes<HTMLElement> & VariantProps<typeof buttonVariants>;
|
|
13
|
+
declare function Button({ className, intent, emphasis, size, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
declare namespace Button {
|
|
15
|
+
var displayName: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { Button as B, type ButtonProps as a, buttonVariants as b };
|
package/dist/Button.d.ts
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { a as ButtonProps } from './Button-fnIVmjIB.js';
|
|
2
|
+
export { B as Button, b as buttonVariants } from './Button-fnIVmjIB.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import 'class-variance-authority/types';
|
|
5
|
+
import 'react';
|
|
6
|
+
import '@base-ui/react/button';
|
|
7
|
+
import 'class-variance-authority';
|
|
4
8
|
|
|
5
|
-
|
|
6
|
-
[x: string]: unknown;
|
|
7
|
-
[x: number]: unknown;
|
|
8
|
-
emphasis?: unknown;
|
|
9
|
-
size?: unknown;
|
|
10
|
-
}>;
|
|
11
|
-
type ButtonProps = ComponentProps<typeof Button>;
|
|
12
|
-
|
|
13
|
-
interface IconButtonProps extends Omit<ComponentProps<typeof Button>, 'aria-label'> {
|
|
9
|
+
type IconButtonProps = Omit<ButtonProps, 'aria-label'> & {
|
|
14
10
|
'aria-label': string;
|
|
15
|
-
}
|
|
16
|
-
declare const IconButton: {
|
|
17
|
-
(props: IconButtonProps): react_jsx_runtime.JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
11
|
};
|
|
12
|
+
declare function IconButton({ size, ...props }: IconButtonProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare namespace IconButton {
|
|
14
|
+
var displayName: string;
|
|
15
|
+
}
|
|
20
16
|
|
|
21
|
-
export {
|
|
17
|
+
export { ButtonProps, IconButton, type IconButtonProps };
|
package/dist/Button.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as Button,
|
|
1
|
+
export{a as IconButton}from'./_chunks/chunk-OIZX63GZ.js';export{b as Button,a as buttonVariants}from'./_chunks/chunk-NRVNUMJE.js';import'./_chunks/chunk-4LGCF3SN.js';//# sourceMappingURL=Button.js.map
|
|
2
2
|
//# sourceMappingURL=Button.js.map
|
package/dist/Card.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { ElementType, ComponentProps, ImgHTMLAttributes } from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const cardVariants: (props?: ({
|
|
7
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
8
|
+
emphasis?: "normal" | "subtle" | "subtler" | "raised" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
type CardOwnProps<T extends ElementType = 'div'> = {
|
|
11
|
+
as?: T;
|
|
12
|
+
} & VariantProps<typeof cardVariants>;
|
|
13
|
+
type CardProps<T extends ElementType = 'div'> = CardOwnProps<T> & Omit<ComponentProps<T>, keyof CardOwnProps<T>>;
|
|
14
|
+
declare function CardRoot<T extends ElementType = 'div'>({ as, className, intent, emphasis, ...props }: CardProps<T>): react_jsx_runtime.JSX.Element;
|
|
15
|
+
declare namespace CardRoot {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
}
|
|
18
|
+
declare function CardHeader({ className, ...props }: ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
19
|
+
declare namespace CardHeader {
|
|
20
|
+
var displayName: string;
|
|
21
|
+
}
|
|
22
|
+
declare function CardContent({ className, ...props }: ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
23
|
+
declare namespace CardContent {
|
|
24
|
+
var displayName: string;
|
|
25
|
+
}
|
|
26
|
+
declare function CardFooter({ className, ...props }: ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
27
|
+
declare namespace CardFooter {
|
|
28
|
+
var displayName: string;
|
|
29
|
+
}
|
|
30
|
+
declare function CardImage({ className, ...props }: ImgHTMLAttributes<HTMLImageElement>): react_jsx_runtime.JSX.Element;
|
|
31
|
+
declare namespace CardImage {
|
|
32
|
+
var displayName: string;
|
|
33
|
+
}
|
|
34
|
+
declare function CardTitle({ className, ...props }: ComponentProps<'h3'>): react_jsx_runtime.JSX.Element;
|
|
35
|
+
declare namespace CardTitle {
|
|
36
|
+
var displayName: string;
|
|
37
|
+
}
|
|
38
|
+
declare function CardDescription({ className, ...props }: ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
|
|
39
|
+
declare namespace CardDescription {
|
|
40
|
+
var displayName: string;
|
|
41
|
+
}
|
|
42
|
+
declare const Card: typeof CardRoot & {
|
|
43
|
+
Header: typeof CardHeader;
|
|
44
|
+
Content: typeof CardContent;
|
|
45
|
+
Footer: typeof CardFooter;
|
|
46
|
+
Image: typeof CardImage;
|
|
47
|
+
Title: typeof CardTitle;
|
|
48
|
+
Description: typeof CardDescription;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export { Card, type CardProps, cardVariants };
|
package/dist/Card.js
ADDED
package/dist/Card.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Card.js"}
|
package/dist/Code.d.ts
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* The color palette to use for the code
|
|
17
|
-
* @default 'neutral'
|
|
18
|
-
*/
|
|
19
|
-
colorPalette?: ColorPalette;
|
|
20
|
-
/**
|
|
21
|
-
* The content to display
|
|
22
|
-
*/
|
|
23
|
-
children?: ReactNode;
|
|
6
|
+
declare const codeVariants: (props?: ({
|
|
7
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
8
|
+
emphasis?: "strong" | "normal" | "subtle" | "subtler" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
interface CodeProps extends ComponentProps<'code'>, VariantProps<typeof codeVariants> {
|
|
11
|
+
}
|
|
12
|
+
declare function Code({ className, intent, emphasis, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare namespace Code {
|
|
14
|
+
var displayName: string;
|
|
24
15
|
}
|
|
25
|
-
declare const Code: React.ForwardRefExoticComponent<CodeProps>;
|
|
26
16
|
|
|
27
|
-
export { Code, type CodeProps };
|
|
17
|
+
export { Code, type CodeProps, codeVariants };
|
package/dist/Code.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as
|
|
1
|
+
export{b as Code,a as codeVariants}from'./_chunks/chunk-DRVUAPKN.js';import'./_chunks/chunk-4LGCF3SN.js';//# sourceMappingURL=Code.js.map
|
|
2
2
|
//# sourceMappingURL=Code.js.map
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { RefAttributes } from 'react';
|
|
4
|
+
import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
5
|
+
export { ComboboxFilter as Filter, ComboboxFilterOptions as FilterOptions } from '@base-ui/react/combobox';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
|
|
8
|
+
declare const useFilter: typeof Combobox$1.useFilter;
|
|
9
|
+
|
|
10
|
+
declare const comboboxInputGroupVariants: (props?: ({
|
|
11
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
12
|
+
emphasis?: "normal" | "subtle" | null | undefined;
|
|
13
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
14
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
+
type ComboboxRootProps = Combobox$1.Root.Props<unknown>;
|
|
16
|
+
declare function ComboboxRoot(props: ComboboxRootProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
declare namespace ComboboxRoot {
|
|
18
|
+
var displayName: string;
|
|
19
|
+
}
|
|
20
|
+
type ComboboxLabelProps = Combobox$1.Label.Props & RefAttributes<HTMLDivElement>;
|
|
21
|
+
declare function ComboboxLabel({ className, ...props }: ComboboxLabelProps): react_jsx_runtime.JSX.Element;
|
|
22
|
+
declare namespace ComboboxLabel {
|
|
23
|
+
var displayName: string;
|
|
24
|
+
}
|
|
25
|
+
type ComboboxInputGroupProps = Combobox$1.InputGroup.Props & RefAttributes<HTMLDivElement> & VariantProps<typeof comboboxInputGroupVariants>;
|
|
26
|
+
declare function ComboboxInputGroup({ className, intent, emphasis, size, ...props }: ComboboxInputGroupProps): react_jsx_runtime.JSX.Element;
|
|
27
|
+
declare namespace ComboboxInputGroup {
|
|
28
|
+
var displayName: string;
|
|
29
|
+
}
|
|
30
|
+
type ComboboxInputProps = Combobox$1.Input.Props & RefAttributes<HTMLInputElement>;
|
|
31
|
+
declare function ComboboxInput({ className, ...props }: ComboboxInputProps): react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare namespace ComboboxInput {
|
|
33
|
+
var displayName: string;
|
|
34
|
+
}
|
|
35
|
+
type ComboboxTriggerProps = Combobox$1.Trigger.Props & RefAttributes<HTMLButtonElement>;
|
|
36
|
+
declare function ComboboxTrigger({ className, children, ...props }: ComboboxTriggerProps): react_jsx_runtime.JSX.Element;
|
|
37
|
+
declare namespace ComboboxTrigger {
|
|
38
|
+
var displayName: string;
|
|
39
|
+
}
|
|
40
|
+
type ComboboxClearProps = Combobox$1.Clear.Props & RefAttributes<HTMLButtonElement>;
|
|
41
|
+
declare function ComboboxClear({ className, children, ...props }: ComboboxClearProps): react_jsx_runtime.JSX.Element;
|
|
42
|
+
declare namespace ComboboxClear {
|
|
43
|
+
var displayName: string;
|
|
44
|
+
}
|
|
45
|
+
type ComboboxPortalProps = Combobox$1.Portal.Props & RefAttributes<HTMLDivElement>;
|
|
46
|
+
declare function ComboboxPortal(props: ComboboxPortalProps): react_jsx_runtime.JSX.Element;
|
|
47
|
+
declare namespace ComboboxPortal {
|
|
48
|
+
var displayName: string;
|
|
49
|
+
}
|
|
50
|
+
type ComboboxPositionerProps = Combobox$1.Positioner.Props & RefAttributes<HTMLDivElement>;
|
|
51
|
+
declare function ComboboxPositioner({ className, ...props }: ComboboxPositionerProps): react_jsx_runtime.JSX.Element;
|
|
52
|
+
declare namespace ComboboxPositioner {
|
|
53
|
+
var displayName: string;
|
|
54
|
+
}
|
|
55
|
+
type ComboboxPopupProps = Combobox$1.Popup.Props & RefAttributes<HTMLDivElement>;
|
|
56
|
+
declare function ComboboxPopup({ className, ...props }: ComboboxPopupProps): react_jsx_runtime.JSX.Element;
|
|
57
|
+
declare namespace ComboboxPopup {
|
|
58
|
+
var displayName: string;
|
|
59
|
+
}
|
|
60
|
+
type ComboboxListProps = Combobox$1.List.Props & RefAttributes<HTMLDivElement>;
|
|
61
|
+
declare function ComboboxList({ className, ...props }: ComboboxListProps): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare namespace ComboboxList {
|
|
63
|
+
var displayName: string;
|
|
64
|
+
}
|
|
65
|
+
type ComboboxItemProps = Combobox$1.Item.Props & RefAttributes<HTMLDivElement>;
|
|
66
|
+
declare function ComboboxItem({ className, ...props }: ComboboxItemProps): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare namespace ComboboxItem {
|
|
68
|
+
var displayName: string;
|
|
69
|
+
}
|
|
70
|
+
type ComboboxCollectionProps = Combobox$1.Collection.Props;
|
|
71
|
+
declare function ComboboxCollection(props: ComboboxCollectionProps): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare namespace ComboboxCollection {
|
|
73
|
+
var displayName: string;
|
|
74
|
+
}
|
|
75
|
+
type ComboboxItemIndicatorProps = Combobox$1.ItemIndicator.Props & RefAttributes<HTMLSpanElement>;
|
|
76
|
+
declare function ComboboxItemIndicator({ className, children, ...props }: ComboboxItemIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
77
|
+
declare namespace ComboboxItemIndicator {
|
|
78
|
+
var displayName: string;
|
|
79
|
+
}
|
|
80
|
+
type ComboboxGroupProps = Combobox$1.Group.Props & RefAttributes<HTMLDivElement>;
|
|
81
|
+
declare function ComboboxGroup({ className, ...props }: ComboboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
82
|
+
declare namespace ComboboxGroup {
|
|
83
|
+
var displayName: string;
|
|
84
|
+
}
|
|
85
|
+
type ComboboxGroupLabelProps = Combobox$1.GroupLabel.Props & RefAttributes<HTMLDivElement>;
|
|
86
|
+
declare function ComboboxGroupLabel({ className, ...props }: ComboboxGroupLabelProps): react_jsx_runtime.JSX.Element;
|
|
87
|
+
declare namespace ComboboxGroupLabel {
|
|
88
|
+
var displayName: string;
|
|
89
|
+
}
|
|
90
|
+
type ComboboxEmptyProps = Combobox$1.Empty.Props & RefAttributes<HTMLDivElement>;
|
|
91
|
+
declare function ComboboxEmpty({ className, ...props }: ComboboxEmptyProps): react_jsx_runtime.JSX.Element;
|
|
92
|
+
declare namespace ComboboxEmpty {
|
|
93
|
+
var displayName: string;
|
|
94
|
+
}
|
|
95
|
+
type ComboboxStatusProps = Combobox$1.Status.Props & RefAttributes<HTMLDivElement>;
|
|
96
|
+
declare function ComboboxStatus({ className, ...props }: ComboboxStatusProps): react_jsx_runtime.JSX.Element;
|
|
97
|
+
declare namespace ComboboxStatus {
|
|
98
|
+
var displayName: string;
|
|
99
|
+
}
|
|
100
|
+
declare const Combobox: typeof ComboboxRoot & {
|
|
101
|
+
Label: typeof ComboboxLabel;
|
|
102
|
+
InputGroup: typeof ComboboxInputGroup;
|
|
103
|
+
Input: typeof ComboboxInput;
|
|
104
|
+
Trigger: typeof ComboboxTrigger;
|
|
105
|
+
Clear: typeof ComboboxClear;
|
|
106
|
+
Portal: typeof ComboboxPortal;
|
|
107
|
+
Positioner: typeof ComboboxPositioner;
|
|
108
|
+
Popup: typeof ComboboxPopup;
|
|
109
|
+
List: typeof ComboboxList;
|
|
110
|
+
Item: typeof ComboboxItem;
|
|
111
|
+
Collection: typeof ComboboxCollection;
|
|
112
|
+
ItemIndicator: typeof ComboboxItemIndicator;
|
|
113
|
+
Group: typeof ComboboxGroup;
|
|
114
|
+
GroupLabel: typeof ComboboxGroupLabel;
|
|
115
|
+
Empty: typeof ComboboxEmpty;
|
|
116
|
+
Status: typeof ComboboxStatus;
|
|
117
|
+
};
|
|
118
|
+
type ComboboxProps = ComboboxRootProps;
|
|
119
|
+
|
|
120
|
+
export { Combobox, ComboboxClear, type ComboboxClearProps, ComboboxCollection, type ComboboxCollectionProps, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, ComboboxGroupLabel, type ComboboxGroupLabelProps, type ComboboxGroupProps, ComboboxInput, ComboboxInputGroup, type ComboboxInputGroupProps, type ComboboxInputProps, ComboboxItem, ComboboxItemIndicator, type ComboboxItemIndicatorProps, type ComboboxItemProps, ComboboxLabel, type ComboboxLabelProps, ComboboxList, type ComboboxListProps, ComboboxPopup, type ComboboxPopupProps, ComboboxPortal, type ComboboxPortalProps, ComboboxPositioner, type ComboboxPositionerProps, type ComboboxProps, ComboboxRoot, type ComboboxRootProps, ComboboxStatus, type ComboboxStatusProps, ComboboxTrigger, type ComboboxTriggerProps, comboboxInputGroupVariants, useFilter };
|
package/dist/Combobox.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export{t as Combobox,h as ComboboxClear,n as ComboboxCollection,r as ComboboxEmpty,p as ComboboxGroup,q as ComboboxGroupLabel,f as ComboboxInput,e as ComboboxInputGroup,m as ComboboxItem,o as ComboboxItemIndicator,d as ComboboxLabel,l as ComboboxList,k as ComboboxPopup,i as ComboboxPortal,j as ComboboxPositioner,c as ComboboxRoot,s as ComboboxStatus,g as ComboboxTrigger,b as comboboxInputGroupVariants,a as useFilter}from'./_chunks/chunk-OPR5JL7N.js';import'./_chunks/chunk-N2HGY7W7.js';import'./_chunks/chunk-OIAETOZT.js';import'./_chunks/chunk-LMV3JECI.js';import'./_chunks/chunk-VSKUGXQG.js';import'./_chunks/chunk-IEDKSZAQ.js';import'./_chunks/chunk-4LGCF3SN.js';//# sourceMappingURL=Combobox.js.map
|
|
3
|
+
//# sourceMappingURL=Combobox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Combobox.js"}
|
package/dist/Field.d.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { InputProps } from './Input.js';
|
|
4
|
+
import { LabelProps } from './Label.js';
|
|
5
|
+
import { TextareaProps } from './Textarea.js';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import 'class-variance-authority';
|
|
8
|
+
|
|
9
|
+
interface FieldContextValue {
|
|
10
|
+
invalid?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
fieldId: string;
|
|
14
|
+
labelId: string;
|
|
15
|
+
helperTextId: string;
|
|
16
|
+
errorTextId: string;
|
|
17
|
+
}
|
|
18
|
+
declare function useFieldContext(): FieldContextValue;
|
|
19
|
+
interface FieldRootProps extends ComponentProps<'div'> {
|
|
20
|
+
invalid?: boolean;
|
|
21
|
+
required?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare function FieldRoot({ className, invalid, required, disabled, ...props }: FieldRootProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
declare namespace FieldRoot {
|
|
26
|
+
var displayName: string;
|
|
27
|
+
}
|
|
28
|
+
interface FieldLabelProps extends LabelProps {
|
|
29
|
+
showIndicator?: boolean;
|
|
30
|
+
}
|
|
31
|
+
declare function FieldLabel({ htmlFor, showIndicator, children, ...props }: FieldLabelProps): react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare namespace FieldLabel {
|
|
33
|
+
var displayName: string;
|
|
34
|
+
}
|
|
35
|
+
declare function useFieldInputProps(): {
|
|
36
|
+
id: string | undefined;
|
|
37
|
+
disabled: true | undefined;
|
|
38
|
+
'aria-invalid': true | undefined;
|
|
39
|
+
'aria-required': true | undefined;
|
|
40
|
+
'aria-describedby': string | undefined;
|
|
41
|
+
};
|
|
42
|
+
declare function FieldInput(props: InputProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
declare namespace FieldInput {
|
|
44
|
+
var displayName: string;
|
|
45
|
+
}
|
|
46
|
+
declare function FieldTextarea(props: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
47
|
+
declare namespace FieldTextarea {
|
|
48
|
+
var displayName: string;
|
|
49
|
+
}
|
|
50
|
+
interface FieldHelperTextProps extends ComponentProps<'p'> {
|
|
51
|
+
}
|
|
52
|
+
declare function FieldHelperText({ id, className, ...props }: FieldHelperTextProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare namespace FieldHelperText {
|
|
54
|
+
var displayName: string;
|
|
55
|
+
}
|
|
56
|
+
interface FieldErrorTextProps extends ComponentProps<'p'> {
|
|
57
|
+
}
|
|
58
|
+
declare function FieldErrorText({ id, className, ...props }: FieldErrorTextProps): react_jsx_runtime.JSX.Element | null;
|
|
59
|
+
declare namespace FieldErrorText {
|
|
60
|
+
var displayName: string;
|
|
61
|
+
}
|
|
62
|
+
declare const Field: typeof FieldRoot & {
|
|
63
|
+
Label: typeof FieldLabel;
|
|
64
|
+
Input: typeof FieldInput;
|
|
65
|
+
Textarea: typeof FieldTextarea;
|
|
66
|
+
HelperText: typeof FieldHelperText;
|
|
67
|
+
ErrorText: typeof FieldErrorText;
|
|
68
|
+
};
|
|
69
|
+
type FieldProps = FieldRootProps;
|
|
70
|
+
|
|
71
|
+
export { Field, type FieldErrorTextProps, type FieldHelperTextProps, type FieldLabelProps, type FieldProps, type FieldRootProps, useFieldContext, useFieldInputProps };
|
package/dist/Field.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export{c as Field,a as useFieldContext,b as useFieldInputProps}from'./_chunks/chunk-N2HGY7W7.js';import'./_chunks/chunk-OIAETOZT.js';import'./_chunks/chunk-LMV3JECI.js';import'./_chunks/chunk-VSKUGXQG.js';import'./_chunks/chunk-IEDKSZAQ.js';import'./_chunks/chunk-4LGCF3SN.js';//# sourceMappingURL=Field.js.map
|
|
3
|
+
//# sourceMappingURL=Field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Field.js"}
|