@oztix/roadie-components 2.0.0 → 2.0.2
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 +42 -21
- package/dist/Accordion.d.ts.map +1 -0
- package/dist/Accordion.js +1 -2
- package/dist/Accordion.js.map +1 -1
- package/dist/Autocomplete.d.ts +120 -95
- package/dist/Autocomplete.d.ts.map +1 -0
- package/dist/Autocomplete.js +1 -2
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Badge.d.ts +27 -16
- package/dist/Badge.d.ts.map +1 -0
- package/dist/Badge.js +1 -1
- package/dist/Badge.js.map +1 -1
- package/dist/Breadcrumb.d.ts +45 -23
- package/dist/Breadcrumb.d.ts.map +1 -0
- package/dist/Breadcrumb.js +1 -1
- package/dist/Breadcrumb.js.map +1 -1
- package/dist/Button-CDQ6ik0P.js +2 -0
- package/dist/Button-CDQ6ik0P.js.map +1 -0
- package/dist/Button-DdE0vCfo.js +2 -0
- package/dist/Button-DdE0vCfo.js.map +1 -0
- package/dist/Button-Dt1TGgrL.d.ts +26 -0
- package/dist/Button-Dt1TGgrL.d.ts.map +1 -0
- package/dist/Button.d.ts +3 -17
- package/dist/Button.js +1 -2
- package/dist/Card.d.ts +56 -30
- package/dist/Card.d.ts.map +1 -0
- package/dist/Card.js +1 -1
- package/dist/Card.js.map +1 -1
- package/dist/Code.d.ts +19 -13
- package/dist/Code.d.ts.map +1 -0
- package/dist/Code.js +1 -1
- package/dist/Code.js.map +1 -1
- package/dist/Combobox.d.ts +132 -101
- package/dist/Combobox.d.ts.map +1 -0
- package/dist/Combobox.js +1 -2
- package/dist/Combobox.js.map +1 -1
- package/dist/Field.d.ts +63 -46
- package/dist/Field.d.ts.map +1 -0
- package/dist/Field.js +1 -2
- package/dist/Field.js.map +1 -1
- package/dist/Fieldset.d.ts +34 -22
- package/dist/Fieldset.d.ts.map +1 -0
- package/dist/Fieldset.js +1 -2
- package/dist/Fieldset.js.map +1 -1
- package/dist/Highlight.d.ts +20 -15
- package/dist/Highlight.d.ts.map +1 -0
- package/dist/Highlight.js +1 -2
- package/dist/Highlight.js.map +1 -1
- package/dist/Indicator.d.ts +20 -12
- package/dist/Indicator.d.ts.map +1 -0
- package/dist/Indicator.js +1 -1
- package/dist/Indicator.js.map +1 -1
- package/dist/Input.d.ts +22 -14
- package/dist/Input.d.ts.map +1 -0
- package/dist/Input.js +1 -2
- package/dist/Input.js.map +1 -1
- package/dist/Label.d.ts +12 -8
- package/dist/Label.d.ts.map +1 -0
- package/dist/Label.js +1 -1
- package/dist/Label.js.map +1 -1
- package/dist/LinkButton-9nnOzX_0.js +2 -0
- package/dist/LinkButton-9nnOzX_0.js.map +1 -0
- package/dist/LinkButton.d.ts +2 -35
- package/dist/LinkButton.js +1 -2
- package/dist/Mark.d.ts +19 -12
- package/dist/Mark.d.ts.map +1 -0
- package/dist/Mark.js +1 -1
- package/dist/Mark.js.map +1 -1
- package/dist/Marquee.d.ts +27 -16
- package/dist/Marquee.d.ts.map +1 -0
- package/dist/Marquee.js +5 -2
- package/dist/Marquee.js.map +1 -1
- package/dist/Prose.d.ts +19 -12
- package/dist/Prose.d.ts.map +1 -0
- package/dist/Prose.js +1 -1
- package/dist/Prose.js.map +1 -1
- package/dist/RadioGroup.d.ts +64 -40
- package/dist/RadioGroup.d.ts.map +1 -0
- package/dist/RadioGroup.js +1 -2
- package/dist/RadioGroup.js.map +1 -1
- package/dist/Select.d.ts +150 -107
- package/dist/Select.d.ts.map +1 -0
- package/dist/Select.js +1 -2
- package/dist/Select.js.map +1 -1
- package/dist/Separator.d.ts +17 -12
- package/dist/Separator.d.ts.map +1 -0
- package/dist/Separator.js +1 -1
- package/dist/Separator.js.map +1 -1
- package/dist/SpotIllustration.d.ts +71 -50
- package/dist/SpotIllustration.d.ts.map +1 -0
- package/dist/SpotIllustration.js +1 -2
- package/dist/SpotIllustration.js.map +1 -1
- package/dist/Steps.d.ts +111 -72
- package/dist/Steps.d.ts.map +1 -0
- package/dist/Steps.js +1 -2
- package/dist/Steps.js.map +1 -1
- package/dist/Textarea.d.ts +22 -13
- package/dist/Textarea.d.ts.map +1 -0
- package/dist/Textarea.js +1 -2
- package/dist/Textarea.js.map +1 -1
- package/dist/index-0w-ydb3o.d.ts +50 -0
- package/dist/index-0w-ydb3o.d.ts.map +1 -0
- package/dist/index-C3_4djmE.d.ts +17 -0
- package/dist/index-C3_4djmE.d.ts.map +1 -0
- package/dist/index.d.ts +47 -49
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -23
- package/dist/index.js.map +1 -1
- package/dist/variants-DTAwzBl3.js +2 -0
- package/dist/variants-DTAwzBl3.js.map +1 -0
- package/package.json +14 -8
- package/dist/Button-DagX1D_q.d.ts +0 -19
- package/dist/Button.js.map +0 -1
- package/dist/LinkButton.js.map +0 -1
- package/dist/_chunks/chunk-2MBFDJ6K.js +0 -3
- package/dist/_chunks/chunk-2MBFDJ6K.js.map +0 -1
- package/dist/_chunks/chunk-3HWPLULJ.js +0 -2
- package/dist/_chunks/chunk-3HWPLULJ.js.map +0 -1
- package/dist/_chunks/chunk-3NU36NBL.js +0 -3
- package/dist/_chunks/chunk-3NU36NBL.js.map +0 -1
- package/dist/_chunks/chunk-42UB7PQB.js +0 -3
- package/dist/_chunks/chunk-42UB7PQB.js.map +0 -1
- package/dist/_chunks/chunk-4LGCF3SN.js +0 -3
- package/dist/_chunks/chunk-4LGCF3SN.js.map +0 -1
- package/dist/_chunks/chunk-A6JSYXKN.js +0 -2
- package/dist/_chunks/chunk-A6JSYXKN.js.map +0 -1
- package/dist/_chunks/chunk-AFSDN4WI.js +0 -2
- package/dist/_chunks/chunk-AFSDN4WI.js.map +0 -1
- package/dist/_chunks/chunk-DRVUAPKN.js +0 -2
- package/dist/_chunks/chunk-DRVUAPKN.js.map +0 -1
- package/dist/_chunks/chunk-EKOEXSAP.js +0 -2
- package/dist/_chunks/chunk-EKOEXSAP.js.map +0 -1
- package/dist/_chunks/chunk-FQNVMKKV.js +0 -7
- package/dist/_chunks/chunk-FQNVMKKV.js.map +0 -1
- package/dist/_chunks/chunk-FSO4EAAY.js +0 -3
- package/dist/_chunks/chunk-FSO4EAAY.js.map +0 -1
- package/dist/_chunks/chunk-IEDKSZAQ.js +0 -3
- package/dist/_chunks/chunk-IEDKSZAQ.js.map +0 -1
- package/dist/_chunks/chunk-JBHYUOI2.js +0 -3
- package/dist/_chunks/chunk-JBHYUOI2.js.map +0 -1
- package/dist/_chunks/chunk-JGTZ3GCR.js +0 -2
- package/dist/_chunks/chunk-JGTZ3GCR.js.map +0 -1
- package/dist/_chunks/chunk-LHNOY24C.js +0 -2
- package/dist/_chunks/chunk-LHNOY24C.js.map +0 -1
- package/dist/_chunks/chunk-LMV3JECI.js +0 -3
- package/dist/_chunks/chunk-LMV3JECI.js.map +0 -1
- package/dist/_chunks/chunk-M4FEKBLW.js +0 -2
- package/dist/_chunks/chunk-M4FEKBLW.js.map +0 -1
- package/dist/_chunks/chunk-MDRAL676.js +0 -3
- package/dist/_chunks/chunk-MDRAL676.js.map +0 -1
- package/dist/_chunks/chunk-N2HGY7W7.js +0 -3
- package/dist/_chunks/chunk-N2HGY7W7.js.map +0 -1
- package/dist/_chunks/chunk-OIAETOZT.js +0 -3
- package/dist/_chunks/chunk-OIAETOZT.js.map +0 -1
- package/dist/_chunks/chunk-RXMWFJ6W.js +0 -3
- package/dist/_chunks/chunk-RXMWFJ6W.js.map +0 -1
- package/dist/_chunks/chunk-VSKUGXQG.js +0 -3
- package/dist/_chunks/chunk-VSKUGXQG.js.map +0 -1
- package/dist/_chunks/chunk-WOU2B425.js +0 -3
- package/dist/_chunks/chunk-WOU2B425.js.map +0 -1
- package/dist/_chunks/chunk-Y6TDYPCZ.js +0 -3
- package/dist/_chunks/chunk-Y6TDYPCZ.js.map +0 -1
- package/dist/_chunks/chunk-ZXR32FYA.js +0 -2
- package/dist/_chunks/chunk-ZXR32FYA.js.map +0 -1
package/dist/Select.d.ts
CHANGED
|
@@ -1,144 +1,187 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
3
|
-
import { ComponentProps } from
|
|
4
|
-
import { Select as Select$1 } from
|
|
5
|
-
import
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps, RefAttributes } from "react";
|
|
4
|
+
import { Select as Select$1 } from "@base-ui/react/select";
|
|
5
|
+
import * as _$class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
|
+
//#region src/components/Select/index.d.ts
|
|
7
8
|
declare const selectTriggerVariants: (props?: ({
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} &
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
declare function SelectRoot({
|
|
9
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
10
|
+
emphasis?: "normal" | "subtle" | null | undefined;
|
|
11
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
12
|
+
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
13
|
+
type SelectRootProps = Select$1.Root.Props<unknown> & {
|
|
14
|
+
invalid?: boolean;
|
|
15
|
+
required?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare function SelectRoot({
|
|
18
|
+
invalid,
|
|
19
|
+
required,
|
|
20
|
+
...props
|
|
21
|
+
}: SelectRootProps): _$react_jsx_runtime0.JSX.Element;
|
|
17
22
|
declare namespace SelectRoot {
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
var displayName: string;
|
|
24
|
+
}
|
|
25
|
+
type SelectTriggerProps = Select$1.Trigger.Props & RefAttributes<HTMLButtonElement> & VariantProps<typeof selectTriggerVariants>;
|
|
26
|
+
declare function SelectTrigger({
|
|
27
|
+
className,
|
|
28
|
+
intent,
|
|
29
|
+
emphasis,
|
|
30
|
+
size,
|
|
31
|
+
...props
|
|
32
|
+
}: SelectTriggerProps): _$react_jsx_runtime0.JSX.Element;
|
|
23
33
|
declare namespace SelectTrigger {
|
|
24
|
-
|
|
34
|
+
var displayName: string;
|
|
25
35
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
36
|
+
type SelectValueProps = Select$1.Value.Props & RefAttributes<HTMLSpanElement>;
|
|
37
|
+
declare function SelectValue({
|
|
38
|
+
className,
|
|
39
|
+
...props
|
|
40
|
+
}: SelectValueProps): _$react_jsx_runtime0.JSX.Element;
|
|
29
41
|
declare namespace SelectValue {
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
42
|
+
var displayName: string;
|
|
43
|
+
}
|
|
44
|
+
type SelectIconProps = Select$1.Icon.Props & RefAttributes<HTMLSpanElement>;
|
|
45
|
+
declare function SelectIcon({
|
|
46
|
+
className,
|
|
47
|
+
children,
|
|
48
|
+
...props
|
|
49
|
+
}: SelectIconProps): _$react_jsx_runtime0.JSX.Element;
|
|
35
50
|
declare namespace SelectIcon {
|
|
36
|
-
|
|
51
|
+
var displayName: string;
|
|
37
52
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
declare function SelectPortal(props: SelectPortalProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
type SelectPortalProps = Select$1.Portal.Props & RefAttributes<HTMLDivElement>;
|
|
54
|
+
declare function SelectPortal(props: SelectPortalProps): _$react_jsx_runtime0.JSX.Element;
|
|
41
55
|
declare namespace SelectPortal {
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
interface SelectPositionerProps extends ComponentProps<typeof Select$1.Positioner> {
|
|
56
|
+
var displayName: string;
|
|
45
57
|
}
|
|
46
|
-
|
|
58
|
+
type SelectPositionerProps = Select$1.Positioner.Props & RefAttributes<HTMLDivElement>;
|
|
59
|
+
declare function SelectPositioner({
|
|
60
|
+
className,
|
|
61
|
+
...props
|
|
62
|
+
}: SelectPositionerProps): _$react_jsx_runtime0.JSX.Element;
|
|
47
63
|
declare namespace SelectPositioner {
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
interface SelectPopupProps extends ComponentProps<typeof Select$1.Popup> {
|
|
64
|
+
var displayName: string;
|
|
51
65
|
}
|
|
52
|
-
|
|
66
|
+
type SelectPopupProps = Select$1.Popup.Props & RefAttributes<HTMLDivElement>;
|
|
67
|
+
declare function SelectPopup({
|
|
68
|
+
className,
|
|
69
|
+
...props
|
|
70
|
+
}: SelectPopupProps): _$react_jsx_runtime0.JSX.Element;
|
|
53
71
|
declare namespace SelectPopup {
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
72
|
+
var displayName: string;
|
|
73
|
+
}
|
|
74
|
+
type SelectItemProps = Select$1.Item.Props & RefAttributes<HTMLDivElement>;
|
|
75
|
+
declare function SelectItem({
|
|
76
|
+
className,
|
|
77
|
+
children,
|
|
78
|
+
...props
|
|
79
|
+
}: SelectItemProps): _$react_jsx_runtime0.JSX.Element;
|
|
59
80
|
declare namespace SelectItem {
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
interface SelectItemTextProps extends ComponentProps<typeof Select$1.ItemText> {
|
|
81
|
+
var displayName: string;
|
|
63
82
|
}
|
|
64
|
-
|
|
83
|
+
type SelectItemTextProps = Select$1.ItemText.Props & RefAttributes<HTMLSpanElement>;
|
|
84
|
+
declare function SelectItemText(props: SelectItemTextProps): _$react_jsx_runtime0.JSX.Element;
|
|
65
85
|
declare namespace SelectItemText {
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
86
|
+
var displayName: string;
|
|
87
|
+
}
|
|
88
|
+
type SelectItemIndicatorProps = Select$1.ItemIndicator.Props & RefAttributes<HTMLSpanElement>;
|
|
89
|
+
declare function SelectItemIndicator({
|
|
90
|
+
className,
|
|
91
|
+
children,
|
|
92
|
+
...props
|
|
93
|
+
}: SelectItemIndicatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
71
94
|
declare namespace SelectItemIndicator {
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
interface SelectGroupProps extends ComponentProps<typeof Select$1.Group> {
|
|
95
|
+
var displayName: string;
|
|
75
96
|
}
|
|
76
|
-
|
|
97
|
+
type SelectGroupProps = Select$1.Group.Props & RefAttributes<HTMLDivElement>;
|
|
98
|
+
declare function SelectGroup({
|
|
99
|
+
className,
|
|
100
|
+
...props
|
|
101
|
+
}: SelectGroupProps): _$react_jsx_runtime0.JSX.Element;
|
|
77
102
|
declare namespace SelectGroup {
|
|
78
|
-
|
|
103
|
+
var displayName: string;
|
|
79
104
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
105
|
+
type SelectGroupLabelProps = Select$1.GroupLabel.Props & RefAttributes<HTMLDivElement>;
|
|
106
|
+
declare function SelectGroupLabel({
|
|
107
|
+
className,
|
|
108
|
+
...props
|
|
109
|
+
}: SelectGroupLabelProps): _$react_jsx_runtime0.JSX.Element;
|
|
83
110
|
declare namespace SelectGroupLabel {
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
interface SelectLabelProps extends ComponentProps<typeof Select$1.Label> {
|
|
87
|
-
showIndicator?: boolean;
|
|
111
|
+
var displayName: string;
|
|
88
112
|
}
|
|
89
|
-
|
|
113
|
+
type SelectLabelProps = Select$1.Label.Props & RefAttributes<HTMLDivElement> & {
|
|
114
|
+
showIndicator?: boolean;
|
|
115
|
+
};
|
|
116
|
+
declare function SelectLabel({
|
|
117
|
+
className,
|
|
118
|
+
showIndicator,
|
|
119
|
+
children,
|
|
120
|
+
...props
|
|
121
|
+
}: SelectLabelProps): _$react_jsx_runtime0.JSX.Element;
|
|
90
122
|
declare namespace SelectLabel {
|
|
91
|
-
|
|
123
|
+
var displayName: string;
|
|
92
124
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
125
|
+
type SelectScrollUpArrowProps = Select$1.ScrollUpArrow.Props & RefAttributes<HTMLDivElement>;
|
|
126
|
+
declare function SelectScrollUpArrow({
|
|
127
|
+
className,
|
|
128
|
+
...props
|
|
129
|
+
}: SelectScrollUpArrowProps): _$react_jsx_runtime0.JSX.Element;
|
|
96
130
|
declare namespace SelectScrollUpArrow {
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
interface SelectScrollDownArrowProps extends ComponentProps<typeof Select$1.ScrollDownArrow> {
|
|
131
|
+
var displayName: string;
|
|
100
132
|
}
|
|
101
|
-
|
|
133
|
+
type SelectScrollDownArrowProps = Select$1.ScrollDownArrow.Props & RefAttributes<HTMLDivElement>;
|
|
134
|
+
declare function SelectScrollDownArrow({
|
|
135
|
+
className,
|
|
136
|
+
...props
|
|
137
|
+
}: SelectScrollDownArrowProps): _$react_jsx_runtime0.JSX.Element;
|
|
102
138
|
declare namespace SelectScrollDownArrow {
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
interface SelectHelperTextProps extends ComponentProps<'p'> {
|
|
139
|
+
var displayName: string;
|
|
106
140
|
}
|
|
107
|
-
|
|
141
|
+
interface SelectHelperTextProps extends ComponentProps<'p'> {}
|
|
142
|
+
declare function SelectHelperText({
|
|
143
|
+
className,
|
|
144
|
+
...props
|
|
145
|
+
}: SelectHelperTextProps): _$react_jsx_runtime0.JSX.Element;
|
|
108
146
|
declare namespace SelectHelperText {
|
|
109
|
-
|
|
147
|
+
var displayName: string;
|
|
110
148
|
}
|
|
111
|
-
interface SelectErrorTextProps extends ComponentProps<'p'> {
|
|
112
|
-
|
|
113
|
-
|
|
149
|
+
interface SelectErrorTextProps extends ComponentProps<'p'> {}
|
|
150
|
+
declare function SelectErrorText({
|
|
151
|
+
className,
|
|
152
|
+
...props
|
|
153
|
+
}: SelectErrorTextProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
114
154
|
declare namespace SelectErrorText {
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
interface SelectContentProps extends SelectPopupProps {
|
|
155
|
+
var displayName: string;
|
|
118
156
|
}
|
|
119
|
-
|
|
157
|
+
interface SelectContentProps extends SelectPopupProps {}
|
|
158
|
+
declare function SelectContent({
|
|
159
|
+
children,
|
|
160
|
+
...props
|
|
161
|
+
}: SelectContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
120
162
|
declare namespace SelectContent {
|
|
121
|
-
|
|
163
|
+
var displayName: string;
|
|
122
164
|
}
|
|
123
165
|
declare const Select: typeof SelectRoot & {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
166
|
+
Trigger: typeof SelectTrigger;
|
|
167
|
+
Value: typeof SelectValue;
|
|
168
|
+
Icon: typeof SelectIcon;
|
|
169
|
+
Portal: typeof SelectPortal;
|
|
170
|
+
Positioner: typeof SelectPositioner;
|
|
171
|
+
Popup: typeof SelectPopup;
|
|
172
|
+
Content: typeof SelectContent;
|
|
173
|
+
Item: typeof SelectItem;
|
|
174
|
+
ItemText: typeof SelectItemText;
|
|
175
|
+
ItemIndicator: typeof SelectItemIndicator;
|
|
176
|
+
Group: typeof SelectGroup;
|
|
177
|
+
GroupLabel: typeof SelectGroupLabel;
|
|
178
|
+
Label: typeof SelectLabel;
|
|
179
|
+
HelperText: typeof SelectHelperText;
|
|
180
|
+
ErrorText: typeof SelectErrorText;
|
|
181
|
+
ScrollUpArrow: typeof SelectScrollUpArrow;
|
|
182
|
+
ScrollDownArrow: typeof SelectScrollDownArrow;
|
|
141
183
|
};
|
|
142
184
|
type SelectProps = SelectRootProps;
|
|
143
|
-
|
|
144
|
-
export { Select, SelectContent,
|
|
185
|
+
//#endregion
|
|
186
|
+
export { Select, SelectContent, SelectContentProps, SelectErrorText, SelectErrorTextProps, SelectGroup, SelectGroupLabel, SelectGroupLabelProps, SelectGroupProps, SelectHelperText, SelectHelperTextProps, SelectIcon, SelectIconProps, SelectItem, SelectItemIndicator, SelectItemIndicatorProps, SelectItemProps, SelectItemText, SelectItemTextProps, SelectLabel, SelectLabelProps, SelectPopup, SelectPopupProps, SelectPortal, SelectPortalProps, SelectPositioner, SelectPositionerProps, SelectProps, SelectRoot, SelectRootProps, SelectScrollDownArrow, SelectScrollDownArrowProps, SelectScrollUpArrow, SelectScrollUpArrowProps, SelectTrigger, SelectTriggerProps, type SelectTriggerProps as SelectTriggerVariantProps, SelectValue, SelectValueProps, selectTriggerVariants };
|
|
187
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","names":[],"sources":["../src/components/Select/index.tsx"],"mappings":";;;;;;;cA+Ba,qBAAA,GAAqB,KAAA;;;;IAqBjC,iCAAA,CAAA,SAAA;AAAA,KAIW,eAAA,GAAkB,QAAA,CAAgB,IAAA,CAAK,KAAA;EACjD,OAAA;EACA,QAAA;AAAA;AAAA,iBAGc,UAAA,CAAA;EAAa,OAAA;EAAS,QAAA;EAAA,GAAa;AAAA,GAAS,eAAA,GAAe,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,kBAA3D,UAAA;EAAA,IAAU,WAAA;AAAA;AAAA,KAkBd,kBAAA,GAAqB,QAAA,CAAgB,OAAA,CAAQ,KAAA,GACvD,aAAA,CAAc,iBAAA,IACd,YAAA,QAAoB,qBAAA;AAAA,iBAEN,aAAA,CAAA;EACd,SAAA;EACA,MAAA;EACA,QAAA;EACA,IAAA;EAAA,GACG;AAAA,GACF,kBAAA,GAAkB,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,kBANL,aAAA;EAAA,IAAa,WAAA;AAAA;AAAA,KAiCjB,gBAAA,GAAmB,QAAA,CAAgB,KAAA,CAAM,KAAA,GACnD,aA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
|
|
2
|
-
export{t as Select,s as SelectContent,r as SelectErrorText,l as SelectGroup,m as SelectGroupLabel,q as SelectHelperText,e as SelectIcon,i as SelectItem,k as SelectItemIndicator,j as SelectItemText,n as SelectLabel,h as SelectPopup,f as SelectPortal,g as SelectPositioner,b as SelectRoot,p as SelectScrollDownArrow,o as SelectScrollUpArrow,c as SelectTrigger,d as SelectValue,a as selectTriggerVariants}from'./_chunks/chunk-RXMWFJ6W.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=Select.js.map
|
|
1
|
+
"use client";import{t as e}from"./variants-DTAwzBl3.js";import{OptionalIndicator as t,RequiredIndicator as n}from"./Indicator.js";import{useFieldContext as r}from"./Field.js";import{cva as i}from"class-variance-authority";import{cn as a}from"@oztix/roadie-core/utils";import{Fragment as o,jsx as s,jsxs as c}from"react/jsx-runtime";import{createContext as l,use as u}from"react";import{CaretDownIcon as d,CaretUpIcon as f,CheckIcon as p}from"@phosphor-icons/react";import{Select as m}from"@base-ui/react/select";const h=l({}),g=i(`inline-flex w-full items-center justify-between rounded-lg font-sans select-none cursor-pointer text-left data-[popup-open]:bg-[var(--color-accent-2)] data-[popup-open]:border-[var(--color-accent-9)] data-[popup-open]:outline-[length:var(--focus-ring-width)]`,{variants:{intent:e,emphasis:{normal:`emphasis-raised border border-normal is-interactive-field`,subtle:`bg-subtle text-normal border border-transparent is-interactive-field`},size:{sm:`h-8 px-1.5 text-base`,md:`h-10 px-2 text-base`,lg:`h-12 px-2 text-base`}},defaultVariants:{emphasis:`normal`,size:`md`}});function _({invalid:e,required:t,...n}){let i=r();return s(h,{value:{invalid:e??i.invalid,required:t??i.required},children:s(m.Root,{...n})})}_.displayName=`Select`;function v({className:e,intent:t,emphasis:n,size:i,...o}){let c=r(),{invalid:l}=u(h),d=!!c.fieldId;return s(m.Trigger,{className:a(g({intent:t,emphasis:n,size:i,className:e})),...d&&{"aria-labelledby":c.labelId||void 0,"aria-describedby":l?c.errorTextId||void 0:c.helperTextId||void 0,"aria-invalid":l||void 0,"aria-required":c.required||void 0},...o})}v.displayName=`Select.Trigger`;function y({className:e,...t}){return s(m.Value,{className:a(`truncate data-[placeholder]:text-subtle`,e),...t})}y.displayName=`Select.Value`;function b({className:e,children:t,...n}){return s(m.Icon,{className:a(`duration-moderate ml-2 shrink-0 text-subtle transition-transform data-[popup-open]:rotate-180`,e),...n,children:t??s(d,{weight:`bold`,className:`size-4`})})}b.displayName=`Select.Icon`;function x(e){return s(m.Portal,{...e})}x.displayName=`Select.Portal`;function S({className:e,...t}){return s(m.Positioner,{className:a(`z-50`,e),alignItemWithTrigger:!1,...t})}S.displayName=`Select.Positioner`;function C({className:e,...t}){return s(m.Popup,{className:a(`max-h-[var(--available-height)] max-w-[var(--available-width)] min-w-[var(--anchor-width)] overflow-y-auto rounded-xl border border-[var(--intent-border-subtle)] bg-raised p-1 shadow-lg`,`origin-[var(--transform-origin)] transition-[transform,scale,opacity] data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0`,e),...t})}C.displayName=`Select.Popup`;function w({className:e,children:t,...n}){let r=typeof t==`string`||typeof t==`number`?c(o,{children:[s(T,{children:t}),s(E,{})]}):t;return s(m.Item,{className:a(`flex w-full min-w-0 cursor-pointer items-center justify-between gap-2 rounded-lg px-2 py-1.5 text-sm text-normal outline-none select-none`,`data-[highlighted]:bg-subtle`,e),...n,children:r})}w.displayName=`Select.Item`;function T(e){return s(m.ItemText,{...e})}T.displayName=`Select.ItemText`;function E({className:e,children:t,...n}){return s(m.ItemIndicator,{className:a(`shrink-0 text-subtle`,e),...n,children:t??s(p,{weight:`bold`,className:`size-4`})})}E.displayName=`Select.ItemIndicator`;function D({className:e,...t}){return s(m.Group,{className:a(`[&+&]:mt-1`,e),...t})}D.displayName=`Select.Group`;function O({className:e,...t}){return s(m.GroupLabel,{className:a(`px-2 py-1.5 text-xs font-medium text-subtle select-none`,e),...t})}O.displayName=`Select.GroupLabel`;function k({className:e,showIndicator:r,children:i,...l}){let{required:d}=u(h);return c(m.Label,{className:a(`flex items-center gap-1 text-sm font-medium text-normal`,e),...l,children:[i,r&&(d?c(o,{children:[` `,s(n,{})]}):c(o,{children:[` `,s(t,{})]}))]})}k.displayName=`Select.Label`;function A({className:e,...t}){return s(m.ScrollUpArrow,{className:a(`flex items-center justify-center py-1 text-subtle`,e),...t,children:s(f,{weight:`bold`,className:`size-3`})})}A.displayName=`Select.ScrollUpArrow`;function j({className:e,...t}){return s(m.ScrollDownArrow,{className:a(`flex items-center justify-center py-1 text-subtle`,e),...t,children:s(d,{weight:`bold`,className:`size-3`})})}j.displayName=`Select.ScrollDownArrow`;function M({className:e,...t}){return s(`p`,{className:a(`text-sm text-subtle`,e),...t})}M.displayName=`Select.HelperText`;function N({className:e,...t}){let{invalid:n}=u(h);return n?s(`p`,{role:`alert`,className:a(`text-sm text-subtle intent-danger`,e),...t}):null}N.displayName=`Select.ErrorText`;function P({children:e,...t}){return s(x,{children:s(S,{children:s(C,{...t,children:e})})})}P.displayName=`Select.Content`;const F=Object.assign(_,{Trigger:v,Value:y,Icon:b,Portal:x,Positioner:S,Popup:C,Content:P,Item:w,ItemText:T,ItemIndicator:E,Group:D,GroupLabel:O,Label:k,HelperText:M,ErrorText:N,ScrollUpArrow:A,ScrollDownArrow:j});export{F as Select,P as SelectContent,N as SelectErrorText,D as SelectGroup,O as SelectGroupLabel,M as SelectHelperText,b as SelectIcon,w as SelectItem,E as SelectItemIndicator,T as SelectItemText,k as SelectLabel,C as SelectPopup,x as SelectPortal,S as SelectPositioner,_ as SelectRoot,j as SelectScrollDownArrow,A as SelectScrollUpArrow,v as SelectTrigger,y as SelectValue,g as selectTriggerVariants};
|
|
3
2
|
//# sourceMappingURL=Select.js.map
|
package/dist/Select.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"Select.js"}
|
|
1
|
+
{"version":3,"file":"Select.js","names":["SelectPrimitive"],"sources":["../src/components/Select/index.tsx"],"sourcesContent":["'use client'\n\nimport {\n type ComponentProps,\n type RefAttributes,\n createContext,\n use\n} from 'react'\n\nimport { Select as SelectPrimitive } from '@base-ui/react/select'\nimport { CaretDownIcon, CaretUpIcon, CheckIcon } from '@phosphor-icons/react'\nimport { type VariantProps, cva } from 'class-variance-authority'\n\nimport { cn } from '@oztix/roadie-core/utils'\n\nimport { intentVariants } from '../../variants'\nimport { useFieldContext } from '../Field'\nimport { OptionalIndicator } from '../Indicator'\nimport { RequiredIndicator } from '../Indicator'\n\n/* ─── Context ─── */\n\ninterface SelectContextValue {\n invalid?: boolean\n required?: boolean\n}\n\nconst SelectContext = createContext<SelectContextValue>({})\n\n/* ─── Trigger variants (matches Input) ─── */\n\nexport const selectTriggerVariants = cva(\n 'inline-flex w-full items-center justify-between rounded-lg font-sans select-none cursor-pointer text-left data-[popup-open]:bg-[var(--color-accent-2)] data-[popup-open]:border-[var(--color-accent-9)] data-[popup-open]:outline-[length:var(--focus-ring-width)]',\n {\n variants: {\n intent: intentVariants,\n emphasis: {\n normal: 'emphasis-raised border border-normal is-interactive-field',\n subtle:\n 'bg-subtle text-normal border border-transparent is-interactive-field'\n },\n size: {\n sm: 'h-8 px-1.5 text-base',\n md: 'h-10 px-2 text-base',\n lg: 'h-12 px-2 text-base'\n }\n },\n defaultVariants: {\n emphasis: 'normal',\n size: 'md'\n }\n }\n)\n\n/* ─── Root ─── */\n\nexport type SelectRootProps = SelectPrimitive.Root.Props<unknown> & {\n invalid?: boolean\n required?: boolean\n}\n\nexport function SelectRoot({ invalid, required, ...props }: SelectRootProps) {\n const fieldContext = useFieldContext()\n const resolvedInvalid = invalid ?? fieldContext.invalid\n const resolvedRequired = required ?? fieldContext.required\n\n return (\n <SelectContext\n value={{ invalid: resolvedInvalid, required: resolvedRequired }}\n >\n <SelectPrimitive.Root {...props} />\n </SelectContext>\n )\n}\n\nSelectRoot.displayName = 'Select'\n\n/* ─── Trigger ─── */\n\nexport type SelectTriggerProps = SelectPrimitive.Trigger.Props &\n RefAttributes<HTMLButtonElement> &\n VariantProps<typeof selectTriggerVariants>\n\nexport function SelectTrigger({\n className,\n intent,\n emphasis,\n size,\n ...props\n}: SelectTriggerProps) {\n const fieldContext = useFieldContext()\n const { invalid } = use(SelectContext)\n const inField = !!fieldContext.fieldId\n\n return (\n <SelectPrimitive.Trigger\n className={cn(\n selectTriggerVariants({ intent, emphasis, size, className })\n )}\n {...(inField && {\n 'aria-labelledby': fieldContext.labelId || undefined,\n 'aria-describedby': invalid\n ? fieldContext.errorTextId || undefined\n : fieldContext.helperTextId || undefined,\n 'aria-invalid': invalid || undefined,\n 'aria-required': fieldContext.required || undefined\n })}\n {...props}\n />\n )\n}\n\nSelectTrigger.displayName = 'Select.Trigger'\n\n/* ─── Value ─── */\n\nexport type SelectValueProps = SelectPrimitive.Value.Props &\n RefAttributes<HTMLSpanElement>\n\nexport function SelectValue({ className, ...props }: SelectValueProps) {\n return (\n <SelectPrimitive.Value\n className={cn('truncate data-[placeholder]:text-subtle', className)}\n {...props}\n />\n )\n}\n\nSelectValue.displayName = 'Select.Value'\n\n/* ─── Icon ─── */\n\nexport type SelectIconProps = SelectPrimitive.Icon.Props &\n RefAttributes<HTMLSpanElement>\n\nexport function SelectIcon({ className, children, ...props }: SelectIconProps) {\n return (\n <SelectPrimitive.Icon\n className={cn(\n 'duration-moderate ml-2 shrink-0 text-subtle transition-transform data-[popup-open]:rotate-180',\n className\n )}\n {...props}\n >\n {children ?? <CaretDownIcon weight='bold' className='size-4' />}\n </SelectPrimitive.Icon>\n )\n}\n\nSelectIcon.displayName = 'Select.Icon'\n\n/* ─── Portal ─── */\n\nexport type SelectPortalProps = SelectPrimitive.Portal.Props &\n RefAttributes<HTMLDivElement>\n\nexport function SelectPortal(props: SelectPortalProps) {\n return <SelectPrimitive.Portal {...props} />\n}\n\nSelectPortal.displayName = 'Select.Portal'\n\n/* ─── Positioner ─── */\n\nexport type SelectPositionerProps = SelectPrimitive.Positioner.Props &\n RefAttributes<HTMLDivElement>\n\nexport function SelectPositioner({\n className,\n ...props\n}: SelectPositionerProps) {\n return (\n <SelectPrimitive.Positioner\n className={cn('z-50', className)}\n alignItemWithTrigger={false}\n {...props}\n />\n )\n}\n\nSelectPositioner.displayName = 'Select.Positioner'\n\n/* ─── Popup (dropdown content) ─── */\n\nexport type SelectPopupProps = SelectPrimitive.Popup.Props &\n RefAttributes<HTMLDivElement>\n\nexport function SelectPopup({ className, ...props }: SelectPopupProps) {\n return (\n <SelectPrimitive.Popup\n className={cn(\n 'max-h-[var(--available-height)] max-w-[var(--available-width)] min-w-[var(--anchor-width)] overflow-y-auto rounded-xl border border-[var(--intent-border-subtle)] bg-raised p-1 shadow-lg',\n 'origin-[var(--transform-origin)] transition-[transform,scale,opacity] data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0',\n className\n )}\n {...props}\n />\n )\n}\n\nSelectPopup.displayName = 'Select.Popup'\n\n/* ─── Item ─── */\n\nexport type SelectItemProps = SelectPrimitive.Item.Props &\n RefAttributes<HTMLDivElement>\n\nexport function SelectItem({ className, children, ...props }: SelectItemProps) {\n const content =\n typeof children === 'string' || typeof children === 'number' ? (\n <>\n <SelectItemText>{children}</SelectItemText>\n <SelectItemIndicator />\n </>\n ) : (\n children\n )\n\n return (\n <SelectPrimitive.Item\n className={cn(\n 'flex w-full min-w-0 cursor-pointer items-center justify-between gap-2 rounded-lg px-2 py-1.5 text-sm text-normal outline-none select-none',\n 'data-[highlighted]:bg-subtle',\n className\n )}\n {...props}\n >\n {content}\n </SelectPrimitive.Item>\n )\n}\n\nSelectItem.displayName = 'Select.Item'\n\n/* ─── ItemText ─── */\n\nexport type SelectItemTextProps = SelectPrimitive.ItemText.Props &\n RefAttributes<HTMLSpanElement>\n\nexport function SelectItemText(props: SelectItemTextProps) {\n return <SelectPrimitive.ItemText {...props} />\n}\n\nSelectItemText.displayName = 'Select.ItemText'\n\n/* ─── ItemIndicator ─── */\n\nexport type SelectItemIndicatorProps = SelectPrimitive.ItemIndicator.Props &\n RefAttributes<HTMLSpanElement>\n\nexport function SelectItemIndicator({\n className,\n children,\n ...props\n}: SelectItemIndicatorProps) {\n return (\n <SelectPrimitive.ItemIndicator\n className={cn('shrink-0 text-subtle', className)}\n {...props}\n >\n {children ?? <CheckIcon weight='bold' className='size-4' />}\n </SelectPrimitive.ItemIndicator>\n )\n}\n\nSelectItemIndicator.displayName = 'Select.ItemIndicator'\n\n/* ─── Group ─── */\n\nexport type SelectGroupProps = SelectPrimitive.Group.Props &\n RefAttributes<HTMLDivElement>\n\nexport function SelectGroup({ className, ...props }: SelectGroupProps) {\n return (\n <SelectPrimitive.Group className={cn('[&+&]:mt-1', className)} {...props} />\n )\n}\n\nSelectGroup.displayName = 'Select.Group'\n\n/* ─── GroupLabel ─── */\n\nexport type SelectGroupLabelProps = SelectPrimitive.GroupLabel.Props &\n RefAttributes<HTMLDivElement>\n\nexport function SelectGroupLabel({\n className,\n ...props\n}: SelectGroupLabelProps) {\n return (\n <SelectPrimitive.GroupLabel\n className={cn(\n 'px-2 py-1.5 text-xs font-medium text-subtle select-none',\n className\n )}\n {...props}\n />\n )\n}\n\nSelectGroupLabel.displayName = 'Select.GroupLabel'\n\n/* ─── Label ─── */\n\nexport type SelectLabelProps = SelectPrimitive.Label.Props &\n RefAttributes<HTMLDivElement> & {\n showIndicator?: boolean\n }\n\nexport function SelectLabel({\n className,\n showIndicator,\n children,\n ...props\n}: SelectLabelProps) {\n const { required } = use(SelectContext)\n return (\n <SelectPrimitive.Label\n className={cn(\n 'flex items-center gap-1 text-sm font-medium text-normal',\n className\n )}\n {...props}\n >\n {children}\n {showIndicator &&\n (required ? (\n <>\n {' '}\n <RequiredIndicator />\n </>\n ) : (\n <>\n {' '}\n <OptionalIndicator />\n </>\n ))}\n </SelectPrimitive.Label>\n )\n}\n\nSelectLabel.displayName = 'Select.Label'\n\n/* ─── ScrollUpArrow ─── */\n\nexport type SelectScrollUpArrowProps = SelectPrimitive.ScrollUpArrow.Props &\n RefAttributes<HTMLDivElement>\n\nexport function SelectScrollUpArrow({\n className,\n ...props\n}: SelectScrollUpArrowProps) {\n return (\n <SelectPrimitive.ScrollUpArrow\n className={cn(\n 'flex items-center justify-center py-1 text-subtle',\n className\n )}\n {...props}\n >\n <CaretUpIcon weight='bold' className='size-3' />\n </SelectPrimitive.ScrollUpArrow>\n )\n}\n\nSelectScrollUpArrow.displayName = 'Select.ScrollUpArrow'\n\n/* ─── ScrollDownArrow ─── */\n\nexport type SelectScrollDownArrowProps = SelectPrimitive.ScrollDownArrow.Props &\n RefAttributes<HTMLDivElement>\n\nexport function SelectScrollDownArrow({\n className,\n ...props\n}: SelectScrollDownArrowProps) {\n return (\n <SelectPrimitive.ScrollDownArrow\n className={cn(\n 'flex items-center justify-center py-1 text-subtle',\n className\n )}\n {...props}\n >\n <CaretDownIcon weight='bold' className='size-3' />\n </SelectPrimitive.ScrollDownArrow>\n )\n}\n\nSelectScrollDownArrow.displayName = 'Select.ScrollDownArrow'\n\n/* ─── HelperText ─── */\n\nexport interface SelectHelperTextProps extends ComponentProps<'p'> {}\n\nexport function SelectHelperText({\n className,\n ...props\n}: SelectHelperTextProps) {\n return <p className={cn('text-sm text-subtle', className)} {...props} />\n}\n\nSelectHelperText.displayName = 'Select.HelperText'\n\n/* ─── ErrorText ─── */\n\nexport interface SelectErrorTextProps extends ComponentProps<'p'> {}\n\nexport function SelectErrorText({ className, ...props }: SelectErrorTextProps) {\n const { invalid } = use(SelectContext)\n if (!invalid) return null\n return (\n <p\n role='alert'\n className={cn('text-sm text-subtle intent-danger', className)}\n {...props}\n />\n )\n}\n\nSelectErrorText.displayName = 'Select.ErrorText'\n\n/* ─── Content (convenience wrapper) ─── */\n\nexport interface SelectContentProps extends SelectPopupProps {}\n\nexport function SelectContent({ children, ...props }: SelectContentProps) {\n return (\n <SelectPortal>\n <SelectPositioner>\n <SelectPopup {...props}>{children}</SelectPopup>\n </SelectPositioner>\n </SelectPortal>\n )\n}\n\nSelectContent.displayName = 'Select.Content'\n\n/* ─── Compound export ─── */\n\nexport const Select = Object.assign(SelectRoot, {\n Trigger: SelectTrigger,\n Value: SelectValue,\n Icon: SelectIcon,\n Portal: SelectPortal,\n Positioner: SelectPositioner,\n Popup: SelectPopup,\n Content: SelectContent,\n Item: SelectItem,\n ItemText: SelectItemText,\n ItemIndicator: SelectItemIndicator,\n Group: SelectGroup,\n GroupLabel: SelectGroupLabel,\n Label: SelectLabel,\n HelperText: SelectHelperText,\n ErrorText: SelectErrorText,\n ScrollUpArrow: SelectScrollUpArrow,\n ScrollDownArrow: SelectScrollDownArrow\n})\n\nexport type SelectProps = SelectRootProps\nexport type { SelectTriggerProps as SelectTriggerVariantProps }\n"],"mappings":"ggBA2BA,MAAM,EAAgB,EAAkC,EAAE,CAAC,CAI9C,EAAwB,EACnC,qQACA,CACE,SAAU,CACR,OAAQ,EACR,SAAU,CACR,OAAQ,4DACR,OACE,uEACH,CACD,KAAM,CACJ,GAAI,uBACJ,GAAI,sBACJ,GAAI,sBACL,CACF,CACD,gBAAiB,CACf,SAAU,SACV,KAAM,KACP,CACF,CACF,CASD,SAAgB,EAAW,CAAE,UAAS,WAAU,GAAG,GAA0B,CAC3E,IAAM,EAAe,GAAiB,CAItC,OACE,EAAC,EAAD,CACE,MAAO,CAAE,QALW,GAAW,EAAa,QAKT,SAJd,GAAY,EAAa,SAIiB,UAE/D,EAACA,EAAgB,KAAjB,CAAsB,GAAI,EAAS,CAAA,CACrB,CAAA,CAIpB,EAAW,YAAc,SAQzB,SAAgB,EAAc,CAC5B,YACA,SACA,WACA,OACA,GAAG,GACkB,CACrB,IAAM,EAAe,GAAiB,CAChC,CAAE,WAAY,EAAI,EAAc,CAChC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
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
3
|
-
import { ComponentProps } from
|
|
4
|
-
import
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
import * as _$class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
|
+
//#region src/components/Separator/index.d.ts
|
|
6
7
|
declare const separatorVariants: (props?: ({
|
|
7
|
-
|
|
8
|
-
} &
|
|
9
|
-
interface SeparatorProps extends ComponentProps<'div'>, VariantProps<typeof separatorVariants> {
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
+
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
|
+
interface SeparatorProps extends ComponentProps<'div'>, VariantProps<typeof separatorVariants> {}
|
|
11
|
+
declare function Separator({
|
|
12
|
+
className,
|
|
13
|
+
orientation,
|
|
14
|
+
...props
|
|
15
|
+
}: SeparatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
12
16
|
declare namespace Separator {
|
|
13
|
-
|
|
17
|
+
var displayName: string;
|
|
14
18
|
}
|
|
15
|
-
|
|
16
|
-
export { Separator,
|
|
19
|
+
//#endregion
|
|
20
|
+
export { Separator, SeparatorProps, separatorVariants };
|
|
21
|
+
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","names":[],"sources":["../src/components/Separator/index.tsx"],"mappings":";;;;;;cAMa,iBAAA,GAAiB,KAAA;;IAU5B,iCAAA,CAAA,SAAA;AAAA,UAEe,cAAA,SACP,cAAA,SACN,YAAA,QAAoB,iBAAA;AAAA,iBAER,SAAA,CAAA;EACd,SAAA;EACA,WAAA;EAAA,GACG;AAAA,GACF,cAAA,GAAc,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,kBAJD,SAAA;EAAA,IAAS,WAAA;AAAA"}
|
package/dist/Separator.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{cva as e}from"class-variance-authority";import{cn as t}from"@oztix/roadie-core/utils";import{jsx as n}from"react/jsx-runtime";const r=e(`border border-subtle`,{variants:{orientation:{horizontal:`h-px w-full border-t`,vertical:`w-px self-stretch border-l`}},defaultVariants:{orientation:`horizontal`}});function i({className:e,orientation:i,...a}){return n(`div`,{role:`separator`,"aria-orientation":i??`horizontal`,className:t(r({orientation:i,className:e})),...a})}i.displayName=`Separator`;export{i as Separator,r as separatorVariants};
|
|
2
2
|
//# sourceMappingURL=Separator.js.map
|
package/dist/Separator.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Separator.js","names":[],"sources":["../src/components/Separator/index.tsx"],"sourcesContent":["import type { ComponentProps } from 'react'\n\nimport { type VariantProps, cva } from 'class-variance-authority'\n\nimport { cn } from '@oztix/roadie-core/utils'\n\nexport const separatorVariants = cva('border border-subtle', {\n variants: {\n orientation: {\n horizontal: 'h-px w-full border-t',\n vertical: 'w-px self-stretch border-l'\n }\n },\n defaultVariants: {\n orientation: 'horizontal'\n }\n})\n\nexport interface SeparatorProps\n extends ComponentProps<'div'>,\n VariantProps<typeof separatorVariants> {}\n\nexport function Separator({\n className,\n orientation,\n ...props\n}: SeparatorProps) {\n return (\n <div\n role='separator'\n aria-orientation={orientation ?? 'horizontal'}\n className={cn(separatorVariants({ orientation, className }))}\n {...props}\n />\n )\n}\n\nSeparator.displayName = 'Separator'\n"],"mappings":"qIAMA,MAAa,EAAoB,EAAI,uBAAwB,CAC3D,SAAU,CACR,YAAa,CACX,WAAY,uBACZ,SAAU,6BACX,CACF,CACD,gBAAiB,CACf,YAAa,aACd,CACF,CAAC,CAMF,SAAgB,EAAU,CACxB,YACA,cACA,GAAG,GACc,CACjB,OACE,EAAC,MAAD,CACE,KAAK,YACL,mBAAkB,GAAe,aACjC,UAAW,EAAG,EAAkB,CAAE,cAAa,YAAW,CAAC,CAAC,CAC5D,GAAI,EACJ,CAAA,CAIN,EAAU,YAAc"}
|
|
@@ -1,23 +1,31 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ComponentProps } from
|
|
1
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
3
|
|
|
4
|
+
//#region src/components/SpotIllustration/SpotIllustration.d.ts
|
|
4
5
|
interface PathData {
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
d: string;
|
|
7
|
+
layer: 'outline' | 'face' | 'detail' | 'shadow' | 'highlight' | 'stroke';
|
|
7
8
|
}
|
|
8
9
|
interface IllustrationData {
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
viewBox: string;
|
|
11
|
+
paths: PathData[];
|
|
11
12
|
}
|
|
12
13
|
interface SpotIllustrationProps extends Omit<ComponentProps<'svg'>, 'outline'> {
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
illustration: IllustrationData;
|
|
15
|
+
outline?: boolean;
|
|
15
16
|
}
|
|
16
|
-
declare function SpotIllustration({
|
|
17
|
+
declare function SpotIllustration({
|
|
18
|
+
illustration,
|
|
19
|
+
outline,
|
|
20
|
+
className,
|
|
21
|
+
ref,
|
|
22
|
+
...props
|
|
23
|
+
}: SpotIllustrationProps): _$react_jsx_runtime0.JSX.Element;
|
|
17
24
|
declare namespace SpotIllustration {
|
|
18
|
-
|
|
25
|
+
var displayName: string;
|
|
19
26
|
}
|
|
20
|
-
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/components/SpotIllustration/createSpotIllustration.d.ts
|
|
21
29
|
type SpotIllustrationComponentProps = Omit<SpotIllustrationProps, 'illustration'>;
|
|
22
30
|
/**
|
|
23
31
|
* Factory function to create a SpotIllustration component from JSON data
|
|
@@ -35,80 +43,93 @@ type SpotIllustrationComponentProps = Omit<SpotIllustrationProps, 'illustration'
|
|
|
35
43
|
* ```
|
|
36
44
|
*/
|
|
37
45
|
declare function createSpotIllustration(name: string, data: unknown): {
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
47
|
+
displayName: string;
|
|
40
48
|
};
|
|
41
|
-
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/components/SpotIllustration/ArrowUpRight.d.ts
|
|
42
51
|
declare const ArrowUpRight: {
|
|
43
|
-
|
|
44
|
-
|
|
52
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
53
|
+
displayName: string;
|
|
45
54
|
};
|
|
46
55
|
type ArrowUpRightProps = React.ComponentPropsWithRef<typeof ArrowUpRight>;
|
|
47
|
-
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/components/SpotIllustration/CowboyHat.d.ts
|
|
48
58
|
declare const CowboyHat: {
|
|
49
|
-
|
|
50
|
-
|
|
59
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
60
|
+
displayName: string;
|
|
51
61
|
};
|
|
52
62
|
type CowboyHatProps = React.ComponentPropsWithRef<typeof CowboyHat>;
|
|
53
|
-
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/components/SpotIllustration/Cursor.d.ts
|
|
54
65
|
declare const Cursor: {
|
|
55
|
-
|
|
56
|
-
|
|
66
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
67
|
+
displayName: string;
|
|
57
68
|
};
|
|
58
69
|
type CursorProps = React.ComponentPropsWithRef<typeof Cursor>;
|
|
59
|
-
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/SpotIllustration/FlowerSpiral.d.ts
|
|
60
72
|
declare const FlowerSpiral: {
|
|
61
|
-
|
|
62
|
-
|
|
73
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
74
|
+
displayName: string;
|
|
63
75
|
};
|
|
64
76
|
type FlowerSpiralProps = React.ComponentPropsWithRef<typeof FlowerSpiral>;
|
|
65
|
-
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/components/SpotIllustration/Football.d.ts
|
|
66
79
|
declare const Football: {
|
|
67
|
-
|
|
68
|
-
|
|
80
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
81
|
+
displayName: string;
|
|
69
82
|
};
|
|
70
83
|
type FootballProps = React.ComponentPropsWithRef<typeof Football>;
|
|
71
|
-
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/components/SpotIllustration/Hand.d.ts
|
|
72
86
|
declare const Hand: {
|
|
73
|
-
|
|
74
|
-
|
|
87
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
88
|
+
displayName: string;
|
|
75
89
|
};
|
|
76
90
|
type HandProps = React.ComponentPropsWithRef<typeof Hand>;
|
|
77
|
-
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region src/components/SpotIllustration/Heart.d.ts
|
|
78
93
|
declare const Heart: {
|
|
79
|
-
|
|
80
|
-
|
|
94
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
95
|
+
displayName: string;
|
|
81
96
|
};
|
|
82
97
|
type HeartProps = React.ComponentPropsWithRef<typeof Heart>;
|
|
83
|
-
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/components/SpotIllustration/HighFive.d.ts
|
|
84
100
|
declare const HighFive: {
|
|
85
|
-
|
|
86
|
-
|
|
101
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
102
|
+
displayName: string;
|
|
87
103
|
};
|
|
88
104
|
type HighFiveProps = React.ComponentPropsWithRef<typeof HighFive>;
|
|
89
|
-
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/components/SpotIllustration/MapPin.d.ts
|
|
90
107
|
declare const MapPin: {
|
|
91
|
-
|
|
92
|
-
|
|
108
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
109
|
+
displayName: string;
|
|
93
110
|
};
|
|
94
111
|
type MapPinProps = React.ComponentPropsWithRef<typeof MapPin>;
|
|
95
|
-
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region src/components/SpotIllustration/NoteMusic.d.ts
|
|
96
114
|
declare const NoteMusic: {
|
|
97
|
-
|
|
98
|
-
|
|
115
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
116
|
+
displayName: string;
|
|
99
117
|
};
|
|
100
118
|
type NoteMusicProps = React.ComponentPropsWithRef<typeof NoteMusic>;
|
|
101
|
-
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/components/SpotIllustration/Ticket.d.ts
|
|
102
121
|
declare const Ticket: {
|
|
103
|
-
|
|
104
|
-
|
|
122
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
123
|
+
displayName: string;
|
|
105
124
|
};
|
|
106
125
|
type TicketProps = React.ComponentPropsWithRef<typeof Ticket>;
|
|
107
|
-
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region src/components/SpotIllustration/WineGlass.d.ts
|
|
108
128
|
declare const WineGlass: {
|
|
109
|
-
|
|
110
|
-
|
|
129
|
+
(props: SpotIllustrationComponentProps): _$react_jsx_runtime0.JSX.Element;
|
|
130
|
+
displayName: string;
|
|
111
131
|
};
|
|
112
132
|
type WineGlassProps = React.ComponentPropsWithRef<typeof WineGlass>;
|
|
113
|
-
|
|
133
|
+
//#endregion
|
|
114
134
|
export { ArrowUpRight, type ArrowUpRightProps, CowboyHat, type CowboyHatProps, Cursor, type CursorProps, FlowerSpiral, type FlowerSpiralProps, Football, type FootballProps, Hand, type HandProps, Heart, type HeartProps, HighFive, type HighFiveProps, MapPin, type MapPinProps, NoteMusic, type NoteMusicProps, SpotIllustration, type SpotIllustrationComponentProps, type SpotIllustrationProps, Ticket, type TicketProps, WineGlass, type WineGlassProps, createSpotIllustration };
|
|
135
|
+
//# sourceMappingURL=SpotIllustration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpotIllustration.d.ts","names":[],"sources":["../src/components/SpotIllustration/SpotIllustration.tsx","../src/components/SpotIllustration/createSpotIllustration.tsx","../src/components/SpotIllustration/ArrowUpRight.tsx","../src/components/SpotIllustration/CowboyHat.tsx","../src/components/SpotIllustration/Cursor.tsx","../src/components/SpotIllustration/FlowerSpiral.tsx","../src/components/SpotIllustration/Football.tsx","../src/components/SpotIllustration/Hand.tsx","../src/components/SpotIllustration/Heart.tsx","../src/components/SpotIllustration/HighFive.tsx","../src/components/SpotIllustration/MapPin.tsx","../src/components/SpotIllustration/NoteMusic.tsx","../src/components/SpotIllustration/Ticket.tsx","../src/components/SpotIllustration/WineGlass.tsx"],"mappings":";;;;UAIU,QAAA;EACR,CAAA;EACA,KAAA;AAAA;AAAA,UAGQ,gBAAA;EACR,OAAA;EACA,KAAA,EAAO,QAAA;AAAA;AAAA,UAGQ,qBAAA,SACP,IAAA,CAAK,cAAA;EACb,YAAA,EAAc,gBAAA;EACd,OAAA;AAAA;AAAA,iBA0Cc,gBAAA,CAAA;EACd,YAAA;EACA,OAAA;EACA,SAAA;EACA,GAAA;EAAA,GACG;AAAA,GACF,qBAAA,GAAqB,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,kBANR,gBAAA;EAAA,IAAgB,WAAA;AAAA;;;KCpDpB,8BAAA,GAAiC,IAAA,CAC3C,qBAAA;;;ADRyC;;;;;AAMpC;;;;;;;;iBCqBS,sBAAA,CAAuB,IAAA,UAAc,IAAA;EAAA,QACzB,8BAAA,GAA8B,oBAAA,CAAA,GAAA,CAAA,OAAA;;;;;cCxB7C,YAAA;EAAA,QAGZ,8BAAA,GAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;;;KACW,iBAAA,GAAoB,KAAA,CAAM,qBAAA,QA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