@oztix/roadie-components 2.0.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/Autocomplete.d.ts +17 -33
- package/dist/Autocomplete.js +1 -1
- package/dist/{Button-DagX1D_q.d.ts → Button-fnIVmjIB.d.ts} +2 -3
- package/dist/Button.d.ts +6 -6
- package/dist/Button.js +1 -1
- package/dist/Combobox.d.ts +18 -35
- package/dist/Combobox.js +1 -1
- package/dist/LinkButton.d.ts +1 -1
- package/dist/LinkButton.js +1 -1
- package/dist/RadioGroup.d.ts +4 -4
- package/dist/RadioGroup.js +1 -1
- package/dist/Select.d.ts +18 -31
- package/dist/Select.js +1 -1
- package/dist/Steps.d.ts +9 -10
- package/dist/Steps.js +1 -1
- package/dist/_chunks/{chunk-A6JSYXKN.js → chunk-3H22EQQ6.js} +2 -2
- package/dist/_chunks/{chunk-A6JSYXKN.js.map → chunk-3H22EQQ6.js.map} +1 -1
- package/dist/_chunks/chunk-BQEJDV7D.js +3 -0
- package/dist/_chunks/chunk-BQEJDV7D.js.map +1 -0
- package/dist/_chunks/{chunk-3HWPLULJ.js → chunk-NRVNUMJE.js} +2 -2
- package/dist/_chunks/chunk-NRVNUMJE.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-2MBFDJ6K.js → chunk-XERFFH3S.js} +2 -2
- package/dist/_chunks/chunk-XERFFH3S.js.map +1 -0
- package/dist/_chunks/{chunk-3NU36NBL.js → chunk-XRFHVFJ5.js} +2 -2
- package/dist/_chunks/{chunk-3NU36NBL.js.map → chunk-XRFHVFJ5.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +10 -5
- package/dist/_chunks/chunk-2MBFDJ6K.js.map +0 -1
- package/dist/_chunks/chunk-3HWPLULJ.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-M4FEKBLW.js +0 -2
- package/dist/_chunks/chunk-M4FEKBLW.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-Y6TDYPCZ.js +0 -3
- package/dist/_chunks/chunk-Y6TDYPCZ.js.map +0 -1
package/dist/Autocomplete.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import {
|
|
3
|
+
import { RefAttributes } from 'react';
|
|
4
4
|
import { Autocomplete as Autocomplete$1, AutocompleteFilterOptions, AutocompleteFilter } from '@base-ui/react/autocomplete';
|
|
5
5
|
export { AutocompleteFilter as Filter, AutocompleteFilterOptions as FilterOptions } from '@base-ui/react/autocomplete';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -13,98 +13,82 @@ declare const autocompleteInputGroupVariants: (props?: ({
|
|
|
13
13
|
emphasis?: "normal" | "subtle" | null | undefined;
|
|
14
14
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
15
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
16
|
-
|
|
17
|
-
}
|
|
16
|
+
type AutocompleteRootProps = Autocomplete$1.Root.Props<unknown>;
|
|
18
17
|
declare function AutocompleteRoot(props: AutocompleteRootProps): react_jsx_runtime.JSX.Element;
|
|
19
18
|
declare namespace AutocompleteRoot {
|
|
20
19
|
var displayName: string;
|
|
21
20
|
}
|
|
22
|
-
|
|
23
|
-
}
|
|
21
|
+
type AutocompleteValueProps = Autocomplete$1.Value.Props;
|
|
24
22
|
declare function AutocompleteValue(props: AutocompleteValueProps): react_jsx_runtime.JSX.Element;
|
|
25
23
|
declare namespace AutocompleteValue {
|
|
26
24
|
var displayName: string;
|
|
27
25
|
}
|
|
28
|
-
|
|
29
|
-
}
|
|
26
|
+
type AutocompleteInputGroupProps = Autocomplete$1.InputGroup.Props & RefAttributes<HTMLDivElement> & VariantProps<typeof autocompleteInputGroupVariants>;
|
|
30
27
|
declare function AutocompleteInputGroup({ className, intent, emphasis, size, ...props }: AutocompleteInputGroupProps): react_jsx_runtime.JSX.Element;
|
|
31
28
|
declare namespace AutocompleteInputGroup {
|
|
32
29
|
var displayName: string;
|
|
33
30
|
}
|
|
34
|
-
|
|
35
|
-
}
|
|
31
|
+
type AutocompleteInputProps = Autocomplete$1.Input.Props & RefAttributes<HTMLInputElement>;
|
|
36
32
|
declare function AutocompleteInput({ className, ...props }: AutocompleteInputProps): react_jsx_runtime.JSX.Element;
|
|
37
33
|
declare namespace AutocompleteInput {
|
|
38
34
|
var displayName: string;
|
|
39
35
|
}
|
|
40
|
-
|
|
41
|
-
}
|
|
36
|
+
type AutocompleteTriggerProps = Autocomplete$1.Trigger.Props & RefAttributes<HTMLButtonElement>;
|
|
42
37
|
declare function AutocompleteTrigger({ className, children, ...props }: AutocompleteTriggerProps): react_jsx_runtime.JSX.Element;
|
|
43
38
|
declare namespace AutocompleteTrigger {
|
|
44
39
|
var displayName: string;
|
|
45
40
|
}
|
|
46
|
-
|
|
47
|
-
}
|
|
41
|
+
type AutocompleteClearProps = Autocomplete$1.Clear.Props & RefAttributes<HTMLButtonElement>;
|
|
48
42
|
declare function AutocompleteClear({ className, children, ...props }: AutocompleteClearProps): react_jsx_runtime.JSX.Element;
|
|
49
43
|
declare namespace AutocompleteClear {
|
|
50
44
|
var displayName: string;
|
|
51
45
|
}
|
|
52
|
-
|
|
53
|
-
}
|
|
46
|
+
type AutocompletePortalProps = Autocomplete$1.Portal.Props & RefAttributes<HTMLDivElement>;
|
|
54
47
|
declare function AutocompletePortal(props: AutocompletePortalProps): react_jsx_runtime.JSX.Element;
|
|
55
48
|
declare namespace AutocompletePortal {
|
|
56
49
|
var displayName: string;
|
|
57
50
|
}
|
|
58
|
-
|
|
59
|
-
}
|
|
51
|
+
type AutocompletePositionerProps = Autocomplete$1.Positioner.Props & RefAttributes<HTMLDivElement>;
|
|
60
52
|
declare function AutocompletePositioner({ className, ...props }: AutocompletePositionerProps): react_jsx_runtime.JSX.Element;
|
|
61
53
|
declare namespace AutocompletePositioner {
|
|
62
54
|
var displayName: string;
|
|
63
55
|
}
|
|
64
|
-
|
|
65
|
-
}
|
|
56
|
+
type AutocompletePopupProps = Autocomplete$1.Popup.Props & RefAttributes<HTMLDivElement>;
|
|
66
57
|
declare function AutocompletePopup({ className, ...props }: AutocompletePopupProps): react_jsx_runtime.JSX.Element;
|
|
67
58
|
declare namespace AutocompletePopup {
|
|
68
59
|
var displayName: string;
|
|
69
60
|
}
|
|
70
|
-
|
|
71
|
-
}
|
|
61
|
+
type AutocompleteListProps = Autocomplete$1.List.Props & RefAttributes<HTMLDivElement>;
|
|
72
62
|
declare function AutocompleteList({ className, ...props }: AutocompleteListProps): react_jsx_runtime.JSX.Element;
|
|
73
63
|
declare namespace AutocompleteList {
|
|
74
64
|
var displayName: string;
|
|
75
65
|
}
|
|
76
|
-
|
|
77
|
-
}
|
|
66
|
+
type AutocompleteItemProps = Autocomplete$1.Item.Props & RefAttributes<HTMLDivElement>;
|
|
78
67
|
declare function AutocompleteItem({ className, ...props }: AutocompleteItemProps): react_jsx_runtime.JSX.Element;
|
|
79
68
|
declare namespace AutocompleteItem {
|
|
80
69
|
var displayName: string;
|
|
81
70
|
}
|
|
82
|
-
|
|
83
|
-
}
|
|
71
|
+
type AutocompleteCollectionProps = Autocomplete$1.Collection.Props;
|
|
84
72
|
declare function AutocompleteCollection(props: AutocompleteCollectionProps): react_jsx_runtime.JSX.Element;
|
|
85
73
|
declare namespace AutocompleteCollection {
|
|
86
74
|
var displayName: string;
|
|
87
75
|
}
|
|
88
|
-
|
|
89
|
-
}
|
|
76
|
+
type AutocompleteGroupProps = Autocomplete$1.Group.Props & RefAttributes<HTMLDivElement>;
|
|
90
77
|
declare function AutocompleteGroup({ className, ...props }: AutocompleteGroupProps): react_jsx_runtime.JSX.Element;
|
|
91
78
|
declare namespace AutocompleteGroup {
|
|
92
79
|
var displayName: string;
|
|
93
80
|
}
|
|
94
|
-
|
|
95
|
-
}
|
|
81
|
+
type AutocompleteGroupLabelProps = Autocomplete$1.GroupLabel.Props & RefAttributes<HTMLDivElement>;
|
|
96
82
|
declare function AutocompleteGroupLabel({ className, ...props }: AutocompleteGroupLabelProps): react_jsx_runtime.JSX.Element;
|
|
97
83
|
declare namespace AutocompleteGroupLabel {
|
|
98
84
|
var displayName: string;
|
|
99
85
|
}
|
|
100
|
-
|
|
101
|
-
}
|
|
86
|
+
type AutocompleteEmptyProps = Autocomplete$1.Empty.Props & RefAttributes<HTMLDivElement>;
|
|
102
87
|
declare function AutocompleteEmpty({ className, ...props }: AutocompleteEmptyProps): react_jsx_runtime.JSX.Element;
|
|
103
88
|
declare namespace AutocompleteEmpty {
|
|
104
89
|
var displayName: string;
|
|
105
90
|
}
|
|
106
|
-
|
|
107
|
-
}
|
|
91
|
+
type AutocompleteStatusProps = Autocomplete$1.Status.Props & RefAttributes<HTMLDivElement>;
|
|
108
92
|
declare function AutocompleteStatus({ className, ...props }: AutocompleteStatusProps): react_jsx_runtime.JSX.Element;
|
|
109
93
|
declare namespace AutocompleteStatus {
|
|
110
94
|
var displayName: string;
|
package/dist/Autocomplete.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
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-
|
|
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
3
|
//# sourceMappingURL=Autocomplete.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import {
|
|
3
|
+
import { RefAttributes } from 'react';
|
|
4
4
|
import { Button as Button$1 } from '@base-ui/react/button';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
|
|
@@ -9,8 +9,7 @@ declare const buttonVariants: (props?: ({
|
|
|
9
9
|
emphasis?: "strong" | "normal" | "subtle" | "subtler" | null | undefined;
|
|
10
10
|
size?: "xs" | "sm" | "md" | "lg" | "icon-xs" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
-
|
|
13
|
-
}
|
|
12
|
+
type ButtonProps = Button$1.Props & RefAttributes<HTMLElement> & VariantProps<typeof buttonVariants>;
|
|
14
13
|
declare function Button({ className, intent, emphasis, size, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
15
14
|
declare namespace Button {
|
|
16
15
|
var displayName: string;
|
package/dist/Button.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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 { ComponentProps } from 'react';
|
|
5
4
|
import 'class-variance-authority/types';
|
|
5
|
+
import 'react';
|
|
6
6
|
import '@base-ui/react/button';
|
|
7
7
|
import 'class-variance-authority';
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
type IconButtonProps = Omit<ButtonProps, 'aria-label'> & {
|
|
10
10
|
'aria-label': string;
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
declare function IconButton({ size, ...props }: IconButtonProps): react_jsx_runtime.JSX.Element;
|
|
13
13
|
declare namespace IconButton {
|
|
14
14
|
var displayName: string;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
export {
|
|
17
|
+
export { ButtonProps, IconButton, type IconButtonProps };
|
package/dist/Button.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as IconButton}from'./_chunks/chunk-
|
|
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/Combobox.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import {
|
|
3
|
+
import { RefAttributes } from 'react';
|
|
4
4
|
import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
5
5
|
export { ComboboxFilter as Filter, ComboboxFilterOptions as FilterOptions } from '@base-ui/react/combobox';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -12,104 +12,87 @@ declare const comboboxInputGroupVariants: (props?: ({
|
|
|
12
12
|
emphasis?: "normal" | "subtle" | null | undefined;
|
|
13
13
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
|
|
16
|
-
}
|
|
15
|
+
type ComboboxRootProps = Combobox$1.Root.Props<unknown>;
|
|
17
16
|
declare function ComboboxRoot(props: ComboboxRootProps): react_jsx_runtime.JSX.Element;
|
|
18
17
|
declare namespace ComboboxRoot {
|
|
19
18
|
var displayName: string;
|
|
20
19
|
}
|
|
21
|
-
|
|
22
|
-
}
|
|
20
|
+
type ComboboxLabelProps = Combobox$1.Label.Props & RefAttributes<HTMLDivElement>;
|
|
23
21
|
declare function ComboboxLabel({ className, ...props }: ComboboxLabelProps): react_jsx_runtime.JSX.Element;
|
|
24
22
|
declare namespace ComboboxLabel {
|
|
25
23
|
var displayName: string;
|
|
26
24
|
}
|
|
27
|
-
|
|
28
|
-
}
|
|
25
|
+
type ComboboxInputGroupProps = Combobox$1.InputGroup.Props & RefAttributes<HTMLDivElement> & VariantProps<typeof comboboxInputGroupVariants>;
|
|
29
26
|
declare function ComboboxInputGroup({ className, intent, emphasis, size, ...props }: ComboboxInputGroupProps): react_jsx_runtime.JSX.Element;
|
|
30
27
|
declare namespace ComboboxInputGroup {
|
|
31
28
|
var displayName: string;
|
|
32
29
|
}
|
|
33
|
-
|
|
34
|
-
}
|
|
30
|
+
type ComboboxInputProps = Combobox$1.Input.Props & RefAttributes<HTMLInputElement>;
|
|
35
31
|
declare function ComboboxInput({ className, ...props }: ComboboxInputProps): react_jsx_runtime.JSX.Element;
|
|
36
32
|
declare namespace ComboboxInput {
|
|
37
33
|
var displayName: string;
|
|
38
34
|
}
|
|
39
|
-
|
|
40
|
-
}
|
|
35
|
+
type ComboboxTriggerProps = Combobox$1.Trigger.Props & RefAttributes<HTMLButtonElement>;
|
|
41
36
|
declare function ComboboxTrigger({ className, children, ...props }: ComboboxTriggerProps): react_jsx_runtime.JSX.Element;
|
|
42
37
|
declare namespace ComboboxTrigger {
|
|
43
38
|
var displayName: string;
|
|
44
39
|
}
|
|
45
|
-
|
|
46
|
-
}
|
|
40
|
+
type ComboboxClearProps = Combobox$1.Clear.Props & RefAttributes<HTMLButtonElement>;
|
|
47
41
|
declare function ComboboxClear({ className, children, ...props }: ComboboxClearProps): react_jsx_runtime.JSX.Element;
|
|
48
42
|
declare namespace ComboboxClear {
|
|
49
43
|
var displayName: string;
|
|
50
44
|
}
|
|
51
|
-
|
|
52
|
-
}
|
|
45
|
+
type ComboboxPortalProps = Combobox$1.Portal.Props & RefAttributes<HTMLDivElement>;
|
|
53
46
|
declare function ComboboxPortal(props: ComboboxPortalProps): react_jsx_runtime.JSX.Element;
|
|
54
47
|
declare namespace ComboboxPortal {
|
|
55
48
|
var displayName: string;
|
|
56
49
|
}
|
|
57
|
-
|
|
58
|
-
}
|
|
50
|
+
type ComboboxPositionerProps = Combobox$1.Positioner.Props & RefAttributes<HTMLDivElement>;
|
|
59
51
|
declare function ComboboxPositioner({ className, ...props }: ComboboxPositionerProps): react_jsx_runtime.JSX.Element;
|
|
60
52
|
declare namespace ComboboxPositioner {
|
|
61
53
|
var displayName: string;
|
|
62
54
|
}
|
|
63
|
-
|
|
64
|
-
}
|
|
55
|
+
type ComboboxPopupProps = Combobox$1.Popup.Props & RefAttributes<HTMLDivElement>;
|
|
65
56
|
declare function ComboboxPopup({ className, ...props }: ComboboxPopupProps): react_jsx_runtime.JSX.Element;
|
|
66
57
|
declare namespace ComboboxPopup {
|
|
67
58
|
var displayName: string;
|
|
68
59
|
}
|
|
69
|
-
|
|
70
|
-
}
|
|
60
|
+
type ComboboxListProps = Combobox$1.List.Props & RefAttributes<HTMLDivElement>;
|
|
71
61
|
declare function ComboboxList({ className, ...props }: ComboboxListProps): react_jsx_runtime.JSX.Element;
|
|
72
62
|
declare namespace ComboboxList {
|
|
73
63
|
var displayName: string;
|
|
74
64
|
}
|
|
75
|
-
|
|
76
|
-
}
|
|
65
|
+
type ComboboxItemProps = Combobox$1.Item.Props & RefAttributes<HTMLDivElement>;
|
|
77
66
|
declare function ComboboxItem({ className, ...props }: ComboboxItemProps): react_jsx_runtime.JSX.Element;
|
|
78
67
|
declare namespace ComboboxItem {
|
|
79
68
|
var displayName: string;
|
|
80
69
|
}
|
|
81
|
-
|
|
82
|
-
}
|
|
70
|
+
type ComboboxCollectionProps = Combobox$1.Collection.Props;
|
|
83
71
|
declare function ComboboxCollection(props: ComboboxCollectionProps): react_jsx_runtime.JSX.Element;
|
|
84
72
|
declare namespace ComboboxCollection {
|
|
85
73
|
var displayName: string;
|
|
86
74
|
}
|
|
87
|
-
|
|
88
|
-
}
|
|
75
|
+
type ComboboxItemIndicatorProps = Combobox$1.ItemIndicator.Props & RefAttributes<HTMLSpanElement>;
|
|
89
76
|
declare function ComboboxItemIndicator({ className, children, ...props }: ComboboxItemIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
90
77
|
declare namespace ComboboxItemIndicator {
|
|
91
78
|
var displayName: string;
|
|
92
79
|
}
|
|
93
|
-
|
|
94
|
-
}
|
|
80
|
+
type ComboboxGroupProps = Combobox$1.Group.Props & RefAttributes<HTMLDivElement>;
|
|
95
81
|
declare function ComboboxGroup({ className, ...props }: ComboboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
96
82
|
declare namespace ComboboxGroup {
|
|
97
83
|
var displayName: string;
|
|
98
84
|
}
|
|
99
|
-
|
|
100
|
-
}
|
|
85
|
+
type ComboboxGroupLabelProps = Combobox$1.GroupLabel.Props & RefAttributes<HTMLDivElement>;
|
|
101
86
|
declare function ComboboxGroupLabel({ className, ...props }: ComboboxGroupLabelProps): react_jsx_runtime.JSX.Element;
|
|
102
87
|
declare namespace ComboboxGroupLabel {
|
|
103
88
|
var displayName: string;
|
|
104
89
|
}
|
|
105
|
-
|
|
106
|
-
}
|
|
90
|
+
type ComboboxEmptyProps = Combobox$1.Empty.Props & RefAttributes<HTMLDivElement>;
|
|
107
91
|
declare function ComboboxEmpty({ className, ...props }: ComboboxEmptyProps): react_jsx_runtime.JSX.Element;
|
|
108
92
|
declare namespace ComboboxEmpty {
|
|
109
93
|
var displayName: string;
|
|
110
94
|
}
|
|
111
|
-
|
|
112
|
-
}
|
|
95
|
+
type ComboboxStatusProps = Combobox$1.Status.Props & RefAttributes<HTMLDivElement>;
|
|
113
96
|
declare function ComboboxStatus({ className, ...props }: ComboboxStatusProps): react_jsx_runtime.JSX.Element;
|
|
114
97
|
declare namespace ComboboxStatus {
|
|
115
98
|
var displayName: string;
|
package/dist/Combobox.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
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-
|
|
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
3
|
//# sourceMappingURL=Combobox.js.map
|
package/dist/LinkButton.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ElementType, ComponentProps } from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { b as buttonVariants } from './Button-
|
|
4
|
+
import { b as buttonVariants } from './Button-fnIVmjIB.js';
|
|
5
5
|
import 'class-variance-authority/types';
|
|
6
6
|
import '@base-ui/react/button';
|
|
7
7
|
|
package/dist/LinkButton.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as LinkButton,b as LinkIconButton}from'./_chunks/chunk-
|
|
1
|
+
export{a as LinkButton,b as LinkIconButton}from'./_chunks/chunk-3H22EQQ6.js';import'./_chunks/chunk-NRVNUMJE.js';import'./_chunks/chunk-4LGCF3SN.js';//# sourceMappingURL=LinkButton.js.map
|
|
2
2
|
//# sourceMappingURL=LinkButton.js.map
|
package/dist/RadioGroup.d.ts
CHANGED
|
@@ -12,19 +12,19 @@ declare const radioGroupVariants: (props?: ({
|
|
|
12
12
|
declare const radioGroupItemVariants: (props?: ({
|
|
13
13
|
emphasis?: "normal" | "subtler" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
|
|
15
|
+
type RadioGroupRootProps = RadioGroup$1.Props & VariantProps<typeof radioGroupVariants> & {
|
|
16
16
|
emphasis?: RadioGroupEmphasis;
|
|
17
17
|
invalid?: boolean;
|
|
18
18
|
required?: boolean;
|
|
19
|
-
}
|
|
19
|
+
};
|
|
20
20
|
declare function RadioGroupRoot({ className, direction, emphasis, invalid, required, ...props }: RadioGroupRootProps): react_jsx_runtime.JSX.Element;
|
|
21
21
|
declare namespace RadioGroupRoot {
|
|
22
22
|
var displayName: string;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
type RadioGroupItemProps = Radio.Root.Props & {
|
|
25
25
|
label?: string;
|
|
26
26
|
description?: string;
|
|
27
|
-
}
|
|
27
|
+
};
|
|
28
28
|
declare function RadioGroupItem({ className, label, description, children, ...props }: RadioGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
29
29
|
declare namespace RadioGroupItem {
|
|
30
30
|
var displayName: string;
|
package/dist/RadioGroup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{c as RadioGroup,b as radioGroupItemVariants,a as radioGroupVariants}from'./_chunks/chunk-
|
|
2
|
+
export{c as RadioGroup,b as radioGroupItemVariants,a as radioGroupVariants}from'./_chunks/chunk-XRFHVFJ5.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=RadioGroup.js.map
|
|
3
3
|
//# sourceMappingURL=RadioGroup.js.map
|
package/dist/Select.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import { ComponentProps } from 'react';
|
|
3
|
+
import { RefAttributes, ComponentProps } from 'react';
|
|
4
4
|
import { Select as Select$1 } from '@base-ui/react/select';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
|
|
@@ -9,95 +9,82 @@ declare const selectTriggerVariants: (props?: ({
|
|
|
9
9
|
emphasis?: "normal" | "subtle" | null | undefined;
|
|
10
10
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
-
|
|
12
|
+
type SelectRootProps = Select$1.Root.Props<unknown> & {
|
|
13
13
|
invalid?: boolean;
|
|
14
14
|
required?: boolean;
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
declare function SelectRoot({ invalid, required, ...props }: SelectRootProps): react_jsx_runtime.JSX.Element;
|
|
17
17
|
declare namespace SelectRoot {
|
|
18
18
|
var displayName: string;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
}
|
|
20
|
+
type SelectTriggerProps = Select$1.Trigger.Props & RefAttributes<HTMLButtonElement> & VariantProps<typeof selectTriggerVariants>;
|
|
22
21
|
declare function SelectTrigger({ className, intent, emphasis, size, ...props }: SelectTriggerProps): react_jsx_runtime.JSX.Element;
|
|
23
22
|
declare namespace SelectTrigger {
|
|
24
23
|
var displayName: string;
|
|
25
24
|
}
|
|
26
|
-
|
|
27
|
-
}
|
|
25
|
+
type SelectValueProps = Select$1.Value.Props & RefAttributes<HTMLSpanElement>;
|
|
28
26
|
declare function SelectValue({ className, ...props }: SelectValueProps): react_jsx_runtime.JSX.Element;
|
|
29
27
|
declare namespace SelectValue {
|
|
30
28
|
var displayName: string;
|
|
31
29
|
}
|
|
32
|
-
|
|
33
|
-
}
|
|
30
|
+
type SelectIconProps = Select$1.Icon.Props & RefAttributes<HTMLSpanElement>;
|
|
34
31
|
declare function SelectIcon({ className, children, ...props }: SelectIconProps): react_jsx_runtime.JSX.Element;
|
|
35
32
|
declare namespace SelectIcon {
|
|
36
33
|
var displayName: string;
|
|
37
34
|
}
|
|
38
|
-
|
|
39
|
-
}
|
|
35
|
+
type SelectPortalProps = Select$1.Portal.Props & RefAttributes<HTMLDivElement>;
|
|
40
36
|
declare function SelectPortal(props: SelectPortalProps): react_jsx_runtime.JSX.Element;
|
|
41
37
|
declare namespace SelectPortal {
|
|
42
38
|
var displayName: string;
|
|
43
39
|
}
|
|
44
|
-
|
|
45
|
-
}
|
|
40
|
+
type SelectPositionerProps = Select$1.Positioner.Props & RefAttributes<HTMLDivElement>;
|
|
46
41
|
declare function SelectPositioner({ className, ...props }: SelectPositionerProps): react_jsx_runtime.JSX.Element;
|
|
47
42
|
declare namespace SelectPositioner {
|
|
48
43
|
var displayName: string;
|
|
49
44
|
}
|
|
50
|
-
|
|
51
|
-
}
|
|
45
|
+
type SelectPopupProps = Select$1.Popup.Props & RefAttributes<HTMLDivElement>;
|
|
52
46
|
declare function SelectPopup({ className, ...props }: SelectPopupProps): react_jsx_runtime.JSX.Element;
|
|
53
47
|
declare namespace SelectPopup {
|
|
54
48
|
var displayName: string;
|
|
55
49
|
}
|
|
56
|
-
|
|
57
|
-
}
|
|
50
|
+
type SelectItemProps = Select$1.Item.Props & RefAttributes<HTMLDivElement>;
|
|
58
51
|
declare function SelectItem({ className, children, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element;
|
|
59
52
|
declare namespace SelectItem {
|
|
60
53
|
var displayName: string;
|
|
61
54
|
}
|
|
62
|
-
|
|
63
|
-
}
|
|
55
|
+
type SelectItemTextProps = Select$1.ItemText.Props & RefAttributes<HTMLSpanElement>;
|
|
64
56
|
declare function SelectItemText(props: SelectItemTextProps): react_jsx_runtime.JSX.Element;
|
|
65
57
|
declare namespace SelectItemText {
|
|
66
58
|
var displayName: string;
|
|
67
59
|
}
|
|
68
|
-
|
|
69
|
-
}
|
|
60
|
+
type SelectItemIndicatorProps = Select$1.ItemIndicator.Props & RefAttributes<HTMLSpanElement>;
|
|
70
61
|
declare function SelectItemIndicator({ className, children, ...props }: SelectItemIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
71
62
|
declare namespace SelectItemIndicator {
|
|
72
63
|
var displayName: string;
|
|
73
64
|
}
|
|
74
|
-
|
|
75
|
-
}
|
|
65
|
+
type SelectGroupProps = Select$1.Group.Props & RefAttributes<HTMLDivElement>;
|
|
76
66
|
declare function SelectGroup({ className, ...props }: SelectGroupProps): react_jsx_runtime.JSX.Element;
|
|
77
67
|
declare namespace SelectGroup {
|
|
78
68
|
var displayName: string;
|
|
79
69
|
}
|
|
80
|
-
|
|
81
|
-
}
|
|
70
|
+
type SelectGroupLabelProps = Select$1.GroupLabel.Props & RefAttributes<HTMLDivElement>;
|
|
82
71
|
declare function SelectGroupLabel({ className, ...props }: SelectGroupLabelProps): react_jsx_runtime.JSX.Element;
|
|
83
72
|
declare namespace SelectGroupLabel {
|
|
84
73
|
var displayName: string;
|
|
85
74
|
}
|
|
86
|
-
|
|
75
|
+
type SelectLabelProps = Select$1.Label.Props & RefAttributes<HTMLDivElement> & {
|
|
87
76
|
showIndicator?: boolean;
|
|
88
|
-
}
|
|
77
|
+
};
|
|
89
78
|
declare function SelectLabel({ className, showIndicator, children, ...props }: SelectLabelProps): react_jsx_runtime.JSX.Element;
|
|
90
79
|
declare namespace SelectLabel {
|
|
91
80
|
var displayName: string;
|
|
92
81
|
}
|
|
93
|
-
|
|
94
|
-
}
|
|
82
|
+
type SelectScrollUpArrowProps = Select$1.ScrollUpArrow.Props & RefAttributes<HTMLDivElement>;
|
|
95
83
|
declare function SelectScrollUpArrow({ className, ...props }: SelectScrollUpArrowProps): react_jsx_runtime.JSX.Element;
|
|
96
84
|
declare namespace SelectScrollUpArrow {
|
|
97
85
|
var displayName: string;
|
|
98
86
|
}
|
|
99
|
-
|
|
100
|
-
}
|
|
87
|
+
type SelectScrollDownArrowProps = Select$1.ScrollDownArrow.Props & RefAttributes<HTMLDivElement>;
|
|
101
88
|
declare function SelectScrollDownArrow({ className, ...props }: SelectScrollDownArrowProps): react_jsx_runtime.JSX.Element;
|
|
102
89
|
declare namespace SelectScrollDownArrow {
|
|
103
90
|
var displayName: string;
|
package/dist/Select.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
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-
|
|
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-BQEJDV7D.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
|
|
3
3
|
//# sourceMappingURL=Select.js.map
|
package/dist/Steps.d.ts
CHANGED
|
@@ -9,13 +9,12 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
9
9
|
declare const stepsVariants: (props?: ({
|
|
10
10
|
direction?: "horizontal" | "vertical" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
-
|
|
13
|
-
}
|
|
12
|
+
type StepsProps = Omit<Steps$1.RootProps, 'orientation'> & VariantProps<typeof stepsVariants>;
|
|
14
13
|
declare function StepsRoot({ direction, className, ...props }: StepsProps): react_jsx_runtime.JSX.Element;
|
|
15
14
|
declare namespace StepsRoot {
|
|
16
15
|
var displayName: string;
|
|
17
16
|
}
|
|
18
|
-
type StepsListProps =
|
|
17
|
+
type StepsListProps = Steps$1.ListProps;
|
|
19
18
|
declare function StepsList({ className, ...props }: StepsListProps): react_jsx_runtime.JSX.Element;
|
|
20
19
|
declare namespace StepsList {
|
|
21
20
|
var displayName: string;
|
|
@@ -30,17 +29,17 @@ declare function StepsItem({ className, invalid, ...props }: StepsItemProps): re
|
|
|
30
29
|
declare namespace StepsItem {
|
|
31
30
|
var displayName: string;
|
|
32
31
|
}
|
|
33
|
-
type StepsTriggerProps =
|
|
32
|
+
type StepsTriggerProps = Steps$1.TriggerProps;
|
|
34
33
|
declare function StepsTrigger({ className, ...props }: StepsTriggerProps): react_jsx_runtime.JSX.Element;
|
|
35
34
|
declare namespace StepsTrigger {
|
|
36
35
|
var displayName: string;
|
|
37
36
|
}
|
|
38
|
-
type StepsIndicatorProps =
|
|
37
|
+
type StepsIndicatorProps = Steps$1.IndicatorProps;
|
|
39
38
|
declare function StepsIndicator({ className, children, ...props }: StepsIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
40
39
|
declare namespace StepsIndicator {
|
|
41
40
|
var displayName: string;
|
|
42
41
|
}
|
|
43
|
-
type StepsSeparatorProps =
|
|
42
|
+
type StepsSeparatorProps = Steps$1.SeparatorProps;
|
|
44
43
|
declare function StepsSeparator({ className, ...props }: StepsSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
45
44
|
declare namespace StepsSeparator {
|
|
46
45
|
var displayName: string;
|
|
@@ -54,22 +53,22 @@ declare function StepsContent({ className, ...props }: StepsContentProps): react
|
|
|
54
53
|
declare namespace StepsContent {
|
|
55
54
|
var displayName: string;
|
|
56
55
|
}
|
|
57
|
-
type StepsCompletedContentProps =
|
|
56
|
+
type StepsCompletedContentProps = Steps$1.CompletedContentProps;
|
|
58
57
|
declare function StepsCompletedContent({ className, ...props }: StepsCompletedContentProps): react_jsx_runtime.JSX.Element;
|
|
59
58
|
declare namespace StepsCompletedContent {
|
|
60
59
|
var displayName: string;
|
|
61
60
|
}
|
|
62
|
-
type StepsNextTriggerProps =
|
|
61
|
+
type StepsNextTriggerProps = Steps$1.NextTriggerProps;
|
|
63
62
|
declare function StepsNextTrigger({ className, ...props }: StepsNextTriggerProps): react_jsx_runtime.JSX.Element;
|
|
64
63
|
declare namespace StepsNextTrigger {
|
|
65
64
|
var displayName: string;
|
|
66
65
|
}
|
|
67
|
-
type StepsPrevTriggerProps =
|
|
66
|
+
type StepsPrevTriggerProps = Steps$1.PrevTriggerProps;
|
|
68
67
|
declare function StepsPrevTrigger({ className, ...props }: StepsPrevTriggerProps): react_jsx_runtime.JSX.Element;
|
|
69
68
|
declare namespace StepsPrevTrigger {
|
|
70
69
|
var displayName: string;
|
|
71
70
|
}
|
|
72
|
-
type StepsProgressProps =
|
|
71
|
+
type StepsProgressProps = Steps$1.ProgressProps;
|
|
73
72
|
declare function StepsProgress({ className, ...props }: StepsProgressProps): react_jsx_runtime.JSX.Element;
|
|
74
73
|
declare namespace StepsProgress {
|
|
75
74
|
var displayName: string;
|
package/dist/Steps.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{c as Steps,b as stepsVariants,a as useSteps}from'./_chunks/chunk-
|
|
2
|
+
export{c as Steps,b as stepsVariants,a as useSteps}from'./_chunks/chunk-XERFFH3S.js';//# sourceMappingURL=Steps.js.map
|
|
3
3
|
//# sourceMappingURL=Steps.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {a}from'./chunk-NRVNUMJE.js';import {cn}from'@oztix/roadie-core/utils';import {jsx}from'react/jsx-runtime';function p({as:n,className:o,intent:e,emphasis:i,size:s,...a$1}){return jsx(n||"a",{className:cn(a({intent:e,emphasis:i,size:s,className:o})),...a$1})}p.displayName="LinkButton";function r({as:n,className:o,intent:e,emphasis:i,size:s="icon-md",...a$1}){return jsx(n||"a",{className:cn(a({intent:e,emphasis:i,size:s,className:o})),...a$1})}r.displayName="LinkIconButton";export{p as a,r as b};//# sourceMappingURL=chunk-3H22EQQ6.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-3H22EQQ6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/LinkButton/LinkButton.tsx","../../src/components/LinkButton/LinkIconButton.tsx"],"names":["LinkButton","as","className","intent","emphasis","size","props","jsx","cn","buttonVariants","LinkIconButton"],"mappings":"kHAkBO,SAASA,CAAAA,CAAwC,CACtD,EAAA,CAAAC,CAAAA,CACA,UAAAC,CAAAA,CACA,MAAA,CAAAC,EACA,QAAA,CAAAC,CAAAA,CACA,KAAAC,CAAAA,CACA,GAAGC,GACL,CAAA,CAAuB,CAErB,OACEC,IAFgBN,CAAAA,EAAM,GAAA,CAErB,CACC,SAAA,CAAWO,EAAAA,CAAGC,EAAe,CAAE,MAAA,CAAAN,CAAAA,CAAQ,QAAA,CAAAC,CAAAA,CAAU,IAAA,CAAAC,EAAM,SAAA,CAAAH,CAAU,CAAC,CAAC,CAAA,CAClE,GAAGI,GAAAA,CACN,CAEJ,CAEAN,CAAAA,CAAW,WAAA,CAAc,YAAA,CCblB,SAASU,CAAAA,CAA4C,CAC1D,EAAA,CAAAT,CAAAA,CACA,SAAA,CAAAC,EACA,MAAA,CAAAC,CAAAA,CACA,SAAAC,CAAAA,CACA,IAAA,CAAAC,EAAO,SAAA,CACP,GAAGC,GACL,CAAA,CAA2B,CAEzB,OACEC,IAFgBN,CAAAA,EAAM,GAAA,CAErB,CACC,SAAA,CAAWO,EAAAA,CAAGC,EAAe,CAAE,MAAA,CAAAN,CAAAA,CAAQ,QAAA,CAAAC,CAAAA,CAAU,IAAA,CAAAC,EAAM,SAAA,CAAAH,CAAU,CAAC,CAAC,CAAA,CAClE,GAAGI,GAAAA,CACN,CAEJ,CAEAI,CAAAA,CAAe,WAAA,CAAc,gBAAA","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/components/LinkButton/LinkButton.tsx","../../src/components/LinkButton/LinkIconButton.tsx"],"names":["LinkButton","as","className","intent","emphasis","size","props","jsx","cn","buttonVariants","LinkIconButton"],"mappings":"kHAkBO,SAASA,CAAAA,CAAwC,CACtD,EAAA,CAAAC,CAAAA,CACA,UAAAC,CAAAA,CACA,MAAA,CAAAC,EACA,QAAA,CAAAC,CAAAA,CACA,KAAAC,CAAAA,CACA,GAAGC,GACL,CAAA,CAAuB,CAErB,OACEC,IAFgBN,CAAAA,EAAM,GAAA,CAErB,CACC,SAAA,CAAWO,EAAAA,CAAGC,EAAe,CAAE,MAAA,CAAAN,CAAAA,CAAQ,QAAA,CAAAC,CAAAA,CAAU,IAAA,CAAAC,EAAM,SAAA,CAAAH,CAAU,CAAC,CAAC,CAAA,CAClE,GAAGI,GAAAA,CACN,CAEJ,CAEAN,CAAAA,CAAW,WAAA,CAAc,YAAA,CCblB,SAASU,CAAAA,CAA4C,CAC1D,EAAA,CAAAT,CAAAA,CACA,SAAA,CAAAC,EACA,MAAA,CAAAC,CAAAA,CACA,SAAAC,CAAAA,CACA,IAAA,CAAAC,EAAO,SAAA,CACP,GAAGC,GACL,CAAA,CAA2B,CAEzB,OACEC,IAFgBN,CAAAA,EAAM,GAAA,CAErB,CACC,SAAA,CAAWO,EAAAA,CAAGC,EAAe,CAAE,MAAA,CAAAN,CAAAA,CAAQ,QAAA,CAAAC,CAAAA,CAAU,IAAA,CAAAC,EAAM,SAAA,CAAAH,CAAU,CAAC,CAAC,CAAA,CAClE,GAAGI,GAAAA,CACN,CAEJ,CAEAI,CAAAA,CAAe,WAAA,CAAc,gBAAA","file":"chunk-3H22EQQ6.js","sourcesContent":["import type { ComponentProps, ElementType } from 'react'\n\nimport type { VariantProps } from 'class-variance-authority'\n\nimport { cn } from '@oztix/roadie-core/utils'\n\nimport { buttonVariants } from '../Button/Button'\n\ntype LinkButtonSize = 'xs' | 'sm' | 'md' | 'lg'\n\nexport type LinkButtonProps<T extends ElementType = 'a'> = {\n as?: T\n intent?: VariantProps<typeof buttonVariants>['intent']\n emphasis?: VariantProps<typeof buttonVariants>['emphasis']\n size?: LinkButtonSize\n className?: string\n} & Omit<ComponentProps<T>, 'as' | 'intent' | 'emphasis' | 'size' | 'className'>\n\nexport function LinkButton<T extends ElementType = 'a'>({\n as,\n className,\n intent,\n emphasis,\n size,\n ...props\n}: LinkButtonProps<T>) {\n const Component = as || 'a'\n return (\n <Component\n className={cn(buttonVariants({ intent, emphasis, size, className }))}\n {...props}\n />\n )\n}\n\nLinkButton.displayName = 'LinkButton'\n","import type { ComponentProps, ElementType } from 'react'\n\nimport type { VariantProps } from 'class-variance-authority'\n\nimport { cn } from '@oztix/roadie-core/utils'\n\nimport { buttonVariants } from '../Button/Button'\n\ntype LinkIconButtonSize = 'icon-xs' | 'icon-sm' | 'icon-md' | 'icon-lg'\n\nexport type LinkIconButtonProps<T extends ElementType = 'a'> = {\n as?: T\n 'aria-label': string\n intent?: VariantProps<typeof buttonVariants>['intent']\n emphasis?: VariantProps<typeof buttonVariants>['emphasis']\n size?: LinkIconButtonSize\n className?: string\n} & Omit<\n ComponentProps<T>,\n 'as' | 'aria-label' | 'intent' | 'emphasis' | 'size' | 'className'\n>\n\nexport function LinkIconButton<T extends ElementType = 'a'>({\n as,\n className,\n intent,\n emphasis,\n size = 'icon-md',\n ...props\n}: LinkIconButtonProps<T>) {\n const Component = as || 'a'\n return (\n <Component\n className={cn(buttonVariants({ intent, emphasis, size, className }))}\n {...props}\n />\n )\n}\n\nLinkIconButton.displayName = 'LinkIconButton'\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {a as a$1}from'./chunk-N2HGY7W7.js';import {a as a$2,b as b$1}from'./chunk-LMV3JECI.js';import {a}from'./chunk-4LGCF3SN.js';import {createContext,use}from'react';import {Select}from'@base-ui/react/select';import {CaretDownIcon,CaretUpIcon,CheckIcon}from'@phosphor-icons/react';import {cva}from'class-variance-authority';import {cn}from'@oztix/roadie-core/utils';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var c=createContext({}),F=cva("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:a,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 w({invalid:e,required:t,...i}){let n=a$1(),p=e??n.invalid,a=t??n.required;return jsx(c,{value:{invalid:p,required:a},children:jsx(Select.Root,{...i})})}w.displayName="Select";function N({className:e,intent:t,emphasis:i,size:n,...p}){let a=a$1(),{invalid:y}=use(c),q=!!a.fieldId;return jsx(Select.Trigger,{className:cn(F({intent:t,emphasis:i,size:n,className:e})),...q&&{"aria-labelledby":a.labelId||void 0,"aria-describedby":y?a.errorTextId||void 0:a.helperTextId||void 0,"aria-invalid":y||void 0,"aria-required":a.required||void 0},...p})}N.displayName="Select.Trigger";function A({className:e,...t}){return jsx(Select.Value,{className:cn("truncate data-[placeholder]:text-subtle",e),...t})}A.displayName="Select.Value";function L({className:e,children:t,...i}){return jsx(Select.Icon,{className:cn("duration-moderate ml-2 shrink-0 text-subtle transition-transform data-[popup-open]:rotate-180",e),...i,children:t??jsx(CaretDownIcon,{weight:"bold",className:"size-4"})})}L.displayName="Select.Icon";function d(e){return jsx(Select.Portal,{...e})}d.displayName="Select.Portal";function P({className:e,...t}){return jsx(Select.Positioner,{className:cn("z-50",e),alignItemWithTrigger:false,...t})}P.displayName="Select.Positioner";function x({className:e,...t}){return jsx(Select.Popup,{className:cn("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})}x.displayName="Select.Popup";function h({className:e,children:t,...i}){let n=typeof t=="string"||typeof t=="number"?jsxs(Fragment,{children:[jsx(f,{children:t}),jsx(b,{})]}):t;return jsx(Select.Item,{className:cn("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),...i,children:n})}h.displayName="Select.Item";function f(e){return jsx(Select.ItemText,{...e})}f.displayName="Select.ItemText";function b({className:e,children:t,...i}){return jsx(Select.ItemIndicator,{className:cn("shrink-0 text-subtle",e),...i,children:t??jsx(CheckIcon,{weight:"bold",className:"size-4"})})}b.displayName="Select.ItemIndicator";function R({className:e,...t}){return jsx(Select.Group,{className:cn("[&+&]:mt-1",e),...t})}R.displayName="Select.Group";function C({className:e,...t}){return jsx(Select.GroupLabel,{className:cn("px-2 py-1.5 text-xs font-medium text-subtle select-none",e),...t})}C.displayName="Select.GroupLabel";function E({className:e,showIndicator:t,children:i,...n}){let{required:p}=use(c);return jsxs(Select.Label,{className:cn("flex items-center gap-1 text-sm font-medium text-normal",e),...n,children:[i,t&&(p?jsxs(Fragment,{children:[" ",jsx(a$2,{})]}):jsxs(Fragment,{children:[" ",jsx(b$1,{})]}))]})}E.displayName="Select.Label";function H({className:e,...t}){return jsx(Select.ScrollUpArrow,{className:cn("flex items-center justify-center py-1 text-subtle",e),...t,children:jsx(CaretUpIcon,{weight:"bold",className:"size-3"})})}H.displayName="Select.ScrollUpArrow";function D({className:e,...t}){return jsx(Select.ScrollDownArrow,{className:cn("flex items-center justify-center py-1 text-subtle",e),...t,children:jsx(CaretDownIcon,{weight:"bold",className:"size-3"})})}D.displayName="Select.ScrollDownArrow";function V({className:e,...t}){return jsx("p",{className:cn("text-sm text-subtle",e),...t})}V.displayName="Select.HelperText";function G({className:e,...t}){let{invalid:i}=use(c);return i?jsx("p",{role:"alert",className:cn("text-sm text-subtle intent-danger",e),...t}):null}G.displayName="Select.ErrorText";function M({children:e,...t}){return jsx(d,{children:jsx(P,{children:jsx(x,{...t,children:e})})})}M.displayName="Select.Content";var _=Object.assign(w,{Trigger:N,Value:A,Icon:L,Portal:d,Positioner:P,Popup:x,Content:M,Item:h,ItemText:f,ItemIndicator:b,Group:R,GroupLabel:C,Label:E,HelperText:V,ErrorText:G,ScrollUpArrow:H,ScrollDownArrow:D});export{F as a,w as b,N as c,A as d,L as e,d as f,P as g,x as h,h as i,f as j,b as k,R as l,C as m,E as n,H as o,D as p,V as q,G as r,M as s,_ as t};//# sourceMappingURL=chunk-BQEJDV7D.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-BQEJDV7D.js.map
|