@oztix/roadie-components 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/Accordion.d.ts +42 -21
  2. package/dist/Accordion.d.ts.map +1 -0
  3. package/dist/Accordion.js +1 -2
  4. package/dist/Accordion.js.map +1 -1
  5. package/dist/Autocomplete.d.ts +101 -60
  6. package/dist/Autocomplete.d.ts.map +1 -0
  7. package/dist/Autocomplete.js +1 -2
  8. package/dist/Autocomplete.js.map +1 -1
  9. package/dist/Badge.d.ts +27 -16
  10. package/dist/Badge.d.ts.map +1 -0
  11. package/dist/Badge.js +1 -1
  12. package/dist/Badge.js.map +1 -1
  13. package/dist/Breadcrumb.d.ts +45 -23
  14. package/dist/Breadcrumb.d.ts.map +1 -0
  15. package/dist/Breadcrumb.js +1 -1
  16. package/dist/Breadcrumb.js.map +1 -1
  17. package/dist/Button-CDQ6ik0P.js +2 -0
  18. package/dist/Button-CDQ6ik0P.js.map +1 -0
  19. package/dist/Button-CqyOi1Lf.d.ts +26 -0
  20. package/dist/Button-CqyOi1Lf.d.ts.map +1 -0
  21. package/dist/Button.d.ts +3 -17
  22. package/dist/Button.js +1 -2
  23. package/dist/Card.d.ts +56 -30
  24. package/dist/Card.d.ts.map +1 -0
  25. package/dist/Card.js +1 -1
  26. package/dist/Card.js.map +1 -1
  27. package/dist/Carousel.d.ts +257 -0
  28. package/dist/Carousel.d.ts.map +1 -0
  29. package/dist/Carousel.js +2 -0
  30. package/dist/Carousel.js.map +1 -0
  31. package/dist/Code.d.ts +19 -13
  32. package/dist/Code.d.ts.map +1 -0
  33. package/dist/Code.js +1 -1
  34. package/dist/Code.js.map +1 -1
  35. package/dist/Combobox.d.ts +111 -63
  36. package/dist/Combobox.d.ts.map +1 -0
  37. package/dist/Combobox.js +1 -2
  38. package/dist/Combobox.js.map +1 -1
  39. package/dist/Field.d.ts +63 -46
  40. package/dist/Field.d.ts.map +1 -0
  41. package/dist/Field.js +1 -2
  42. package/dist/Field.js.map +1 -1
  43. package/dist/Fieldset.d.ts +34 -22
  44. package/dist/Fieldset.d.ts.map +1 -0
  45. package/dist/Fieldset.js +1 -2
  46. package/dist/Fieldset.js.map +1 -1
  47. package/dist/Highlight.d.ts +20 -15
  48. package/dist/Highlight.d.ts.map +1 -0
  49. package/dist/Highlight.js +1 -2
  50. package/dist/Highlight.js.map +1 -1
  51. package/dist/IconButton-0UdUDm0O.js +2 -0
  52. package/dist/IconButton-0UdUDm0O.js.map +1 -0
  53. package/dist/IconButton-Bhg6u3Qm.d.ts +17 -0
  54. package/dist/IconButton-Bhg6u3Qm.d.ts.map +1 -0
  55. package/dist/Indicator.d.ts +20 -12
  56. package/dist/Indicator.d.ts.map +1 -0
  57. package/dist/Indicator.js +1 -1
  58. package/dist/Indicator.js.map +1 -1
  59. package/dist/Input.d.ts +22 -14
  60. package/dist/Input.d.ts.map +1 -0
  61. package/dist/Input.js +1 -2
  62. package/dist/Input.js.map +1 -1
  63. package/dist/Label.d.ts +12 -8
  64. package/dist/Label.d.ts.map +1 -0
  65. package/dist/Label.js +1 -1
  66. package/dist/Label.js.map +1 -1
  67. package/dist/LinkButton-9nnOzX_0.js +2 -0
  68. package/dist/LinkButton-9nnOzX_0.js.map +1 -0
  69. package/dist/LinkButton.d.ts +2 -35
  70. package/dist/LinkButton.js +1 -2
  71. package/dist/Mark.d.ts +19 -12
  72. package/dist/Mark.d.ts.map +1 -0
  73. package/dist/Mark.js +1 -1
  74. package/dist/Mark.js.map +1 -1
  75. package/dist/Marquee.d.ts +27 -16
  76. package/dist/Marquee.d.ts.map +1 -0
  77. package/dist/Marquee.js +5 -2
  78. package/dist/Marquee.js.map +1 -1
  79. package/dist/Prose.d.ts +19 -12
  80. package/dist/Prose.d.ts.map +1 -0
  81. package/dist/Prose.js +1 -1
  82. package/dist/Prose.js.map +1 -1
  83. package/dist/RadioGroup.d.ts +62 -38
  84. package/dist/RadioGroup.d.ts.map +1 -0
  85. package/dist/RadioGroup.js +1 -2
  86. package/dist/RadioGroup.js.map +1 -1
  87. package/dist/Select.d.ts +129 -73
  88. package/dist/Select.d.ts.map +1 -0
  89. package/dist/Select.js +1 -2
  90. package/dist/Select.js.map +1 -1
  91. package/dist/Separator.d.ts +17 -12
  92. package/dist/Separator.d.ts.map +1 -0
  93. package/dist/Separator.js +1 -1
  94. package/dist/Separator.js.map +1 -1
  95. package/dist/SpotIllustration.d.ts +71 -50
  96. package/dist/SpotIllustration.d.ts.map +1 -0
  97. package/dist/SpotIllustration.js +1 -2
  98. package/dist/SpotIllustration.js.map +1 -1
  99. package/dist/Steps.d.ts +102 -62
  100. package/dist/Steps.d.ts.map +1 -0
  101. package/dist/Steps.js +1 -2
  102. package/dist/Steps.js.map +1 -1
  103. package/dist/Textarea.d.ts +22 -13
  104. package/dist/Textarea.d.ts.map +1 -0
  105. package/dist/Textarea.js +1 -2
  106. package/dist/Textarea.js.map +1 -1
  107. package/dist/index-Coj58rPD.d.ts +50 -0
  108. package/dist/index-Coj58rPD.d.ts.map +1 -0
  109. package/dist/index.d.ts +48 -49
  110. package/dist/index.d.ts.map +1 -0
  111. package/dist/index.js +23 -23
  112. package/dist/index.js.map +1 -1
  113. package/dist/variants-DTAwzBl3.js +2 -0
  114. package/dist/variants-DTAwzBl3.js.map +1 -0
  115. package/package.json +28 -7
  116. package/dist/Button-fnIVmjIB.d.ts +0 -18
  117. package/dist/Button.js.map +0 -1
  118. package/dist/LinkButton.js.map +0 -1
  119. package/dist/_chunks/chunk-3H22EQQ6.js +0 -2
  120. package/dist/_chunks/chunk-3H22EQQ6.js.map +0 -1
  121. package/dist/_chunks/chunk-42UB7PQB.js +0 -3
  122. package/dist/_chunks/chunk-42UB7PQB.js.map +0 -1
  123. package/dist/_chunks/chunk-4LGCF3SN.js +0 -3
  124. package/dist/_chunks/chunk-4LGCF3SN.js.map +0 -1
  125. package/dist/_chunks/chunk-AFSDN4WI.js +0 -2
  126. package/dist/_chunks/chunk-AFSDN4WI.js.map +0 -1
  127. package/dist/_chunks/chunk-BQEJDV7D.js +0 -3
  128. package/dist/_chunks/chunk-BQEJDV7D.js.map +0 -1
  129. package/dist/_chunks/chunk-DRVUAPKN.js +0 -2
  130. package/dist/_chunks/chunk-DRVUAPKN.js.map +0 -1
  131. package/dist/_chunks/chunk-EKOEXSAP.js +0 -2
  132. package/dist/_chunks/chunk-EKOEXSAP.js.map +0 -1
  133. package/dist/_chunks/chunk-FQNVMKKV.js +0 -7
  134. package/dist/_chunks/chunk-FQNVMKKV.js.map +0 -1
  135. package/dist/_chunks/chunk-IEDKSZAQ.js +0 -3
  136. package/dist/_chunks/chunk-IEDKSZAQ.js.map +0 -1
  137. package/dist/_chunks/chunk-JBHYUOI2.js +0 -3
  138. package/dist/_chunks/chunk-JBHYUOI2.js.map +0 -1
  139. package/dist/_chunks/chunk-JGTZ3GCR.js +0 -2
  140. package/dist/_chunks/chunk-JGTZ3GCR.js.map +0 -1
  141. package/dist/_chunks/chunk-LHNOY24C.js +0 -2
  142. package/dist/_chunks/chunk-LHNOY24C.js.map +0 -1
  143. package/dist/_chunks/chunk-LMV3JECI.js +0 -3
  144. package/dist/_chunks/chunk-LMV3JECI.js.map +0 -1
  145. package/dist/_chunks/chunk-MDRAL676.js +0 -3
  146. package/dist/_chunks/chunk-MDRAL676.js.map +0 -1
  147. package/dist/_chunks/chunk-N2HGY7W7.js +0 -3
  148. package/dist/_chunks/chunk-N2HGY7W7.js.map +0 -1
  149. package/dist/_chunks/chunk-NRVNUMJE.js +0 -2
  150. package/dist/_chunks/chunk-NRVNUMJE.js.map +0 -1
  151. package/dist/_chunks/chunk-OIAETOZT.js +0 -3
  152. package/dist/_chunks/chunk-OIAETOZT.js.map +0 -1
  153. package/dist/_chunks/chunk-OIZX63GZ.js +0 -2
  154. package/dist/_chunks/chunk-OIZX63GZ.js.map +0 -1
  155. package/dist/_chunks/chunk-OPR5JL7N.js +0 -3
  156. package/dist/_chunks/chunk-OPR5JL7N.js.map +0 -1
  157. package/dist/_chunks/chunk-SCS7WZ6Z.js +0 -3
  158. package/dist/_chunks/chunk-SCS7WZ6Z.js.map +0 -1
  159. package/dist/_chunks/chunk-VSKUGXQG.js +0 -3
  160. package/dist/_chunks/chunk-VSKUGXQG.js.map +0 -1
  161. package/dist/_chunks/chunk-WOU2B425.js +0 -3
  162. package/dist/_chunks/chunk-WOU2B425.js.map +0 -1
  163. package/dist/_chunks/chunk-XERFFH3S.js +0 -3
  164. package/dist/_chunks/chunk-XERFFH3S.js.map +0 -1
  165. package/dist/_chunks/chunk-XRFHVFJ5.js +0 -3
  166. package/dist/_chunks/chunk-XRFHVFJ5.js.map +0 -1
  167. package/dist/_chunks/chunk-ZXR32FYA.js +0 -2
  168. package/dist/_chunks/chunk-ZXR32FYA.js.map +0 -1
package/dist/Select.d.ts CHANGED
@@ -1,131 +1,187 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as class_variance_authority_types from 'class-variance-authority/types';
3
- import { RefAttributes, ComponentProps } from 'react';
4
- import { Select as Select$1 } from '@base-ui/react/select';
5
- import { VariantProps } from 'class-variance-authority';
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
- intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
9
- emphasis?: "normal" | "subtle" | null | undefined;
10
- size?: "sm" | "md" | "lg" | null | undefined;
11
- } & class_variance_authority_types.ClassProp) | undefined) => string;
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;
12
13
  type SelectRootProps = Select$1.Root.Props<unknown> & {
13
- invalid?: boolean;
14
- required?: boolean;
14
+ invalid?: boolean;
15
+ required?: boolean;
15
16
  };
16
- declare function SelectRoot({ invalid, required, ...props }: SelectRootProps): react_jsx_runtime.JSX.Element;
17
+ declare function SelectRoot({
18
+ invalid,
19
+ required,
20
+ ...props
21
+ }: SelectRootProps): _$react_jsx_runtime0.JSX.Element;
17
22
  declare namespace SelectRoot {
18
- var displayName: string;
23
+ var displayName: string;
19
24
  }
20
25
  type SelectTriggerProps = Select$1.Trigger.Props & RefAttributes<HTMLButtonElement> & VariantProps<typeof selectTriggerVariants>;
21
- declare function SelectTrigger({ className, intent, emphasis, size, ...props }: SelectTriggerProps): react_jsx_runtime.JSX.Element;
26
+ declare function SelectTrigger({
27
+ className,
28
+ intent,
29
+ emphasis,
30
+ size,
31
+ ...props
32
+ }: SelectTriggerProps): _$react_jsx_runtime0.JSX.Element;
22
33
  declare namespace SelectTrigger {
23
- var displayName: string;
34
+ var displayName: string;
24
35
  }
25
36
  type SelectValueProps = Select$1.Value.Props & RefAttributes<HTMLSpanElement>;
26
- declare function SelectValue({ className, ...props }: SelectValueProps): react_jsx_runtime.JSX.Element;
37
+ declare function SelectValue({
38
+ className,
39
+ ...props
40
+ }: SelectValueProps): _$react_jsx_runtime0.JSX.Element;
27
41
  declare namespace SelectValue {
28
- var displayName: string;
42
+ var displayName: string;
29
43
  }
30
44
  type SelectIconProps = Select$1.Icon.Props & RefAttributes<HTMLSpanElement>;
31
- declare function SelectIcon({ className, children, ...props }: SelectIconProps): react_jsx_runtime.JSX.Element;
45
+ declare function SelectIcon({
46
+ className,
47
+ children,
48
+ ...props
49
+ }: SelectIconProps): _$react_jsx_runtime0.JSX.Element;
32
50
  declare namespace SelectIcon {
33
- var displayName: string;
51
+ var displayName: string;
34
52
  }
35
53
  type SelectPortalProps = Select$1.Portal.Props & RefAttributes<HTMLDivElement>;
36
- declare function SelectPortal(props: SelectPortalProps): react_jsx_runtime.JSX.Element;
54
+ declare function SelectPortal(props: SelectPortalProps): _$react_jsx_runtime0.JSX.Element;
37
55
  declare namespace SelectPortal {
38
- var displayName: string;
56
+ var displayName: string;
39
57
  }
40
58
  type SelectPositionerProps = Select$1.Positioner.Props & RefAttributes<HTMLDivElement>;
41
- declare function SelectPositioner({ className, ...props }: SelectPositionerProps): react_jsx_runtime.JSX.Element;
59
+ declare function SelectPositioner({
60
+ className,
61
+ ...props
62
+ }: SelectPositionerProps): _$react_jsx_runtime0.JSX.Element;
42
63
  declare namespace SelectPositioner {
43
- var displayName: string;
64
+ var displayName: string;
44
65
  }
45
66
  type SelectPopupProps = Select$1.Popup.Props & RefAttributes<HTMLDivElement>;
46
- declare function SelectPopup({ className, ...props }: SelectPopupProps): react_jsx_runtime.JSX.Element;
67
+ declare function SelectPopup({
68
+ className,
69
+ ...props
70
+ }: SelectPopupProps): _$react_jsx_runtime0.JSX.Element;
47
71
  declare namespace SelectPopup {
48
- var displayName: string;
72
+ var displayName: string;
49
73
  }
50
74
  type SelectItemProps = Select$1.Item.Props & RefAttributes<HTMLDivElement>;
51
- declare function SelectItem({ className, children, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element;
75
+ declare function SelectItem({
76
+ className,
77
+ children,
78
+ ...props
79
+ }: SelectItemProps): _$react_jsx_runtime0.JSX.Element;
52
80
  declare namespace SelectItem {
53
- var displayName: string;
81
+ var displayName: string;
54
82
  }
55
83
  type SelectItemTextProps = Select$1.ItemText.Props & RefAttributes<HTMLSpanElement>;
56
- declare function SelectItemText(props: SelectItemTextProps): react_jsx_runtime.JSX.Element;
84
+ declare function SelectItemText(props: SelectItemTextProps): _$react_jsx_runtime0.JSX.Element;
57
85
  declare namespace SelectItemText {
58
- var displayName: string;
86
+ var displayName: string;
59
87
  }
60
88
  type SelectItemIndicatorProps = Select$1.ItemIndicator.Props & RefAttributes<HTMLSpanElement>;
61
- declare function SelectItemIndicator({ className, children, ...props }: SelectItemIndicatorProps): react_jsx_runtime.JSX.Element;
89
+ declare function SelectItemIndicator({
90
+ className,
91
+ children,
92
+ ...props
93
+ }: SelectItemIndicatorProps): _$react_jsx_runtime0.JSX.Element;
62
94
  declare namespace SelectItemIndicator {
63
- var displayName: string;
95
+ var displayName: string;
64
96
  }
65
97
  type SelectGroupProps = Select$1.Group.Props & RefAttributes<HTMLDivElement>;
66
- declare function SelectGroup({ className, ...props }: SelectGroupProps): react_jsx_runtime.JSX.Element;
98
+ declare function SelectGroup({
99
+ className,
100
+ ...props
101
+ }: SelectGroupProps): _$react_jsx_runtime0.JSX.Element;
67
102
  declare namespace SelectGroup {
68
- var displayName: string;
103
+ var displayName: string;
69
104
  }
70
105
  type SelectGroupLabelProps = Select$1.GroupLabel.Props & RefAttributes<HTMLDivElement>;
71
- declare function SelectGroupLabel({ className, ...props }: SelectGroupLabelProps): react_jsx_runtime.JSX.Element;
106
+ declare function SelectGroupLabel({
107
+ className,
108
+ ...props
109
+ }: SelectGroupLabelProps): _$react_jsx_runtime0.JSX.Element;
72
110
  declare namespace SelectGroupLabel {
73
- var displayName: string;
111
+ var displayName: string;
74
112
  }
75
113
  type SelectLabelProps = Select$1.Label.Props & RefAttributes<HTMLDivElement> & {
76
- showIndicator?: boolean;
114
+ showIndicator?: boolean;
77
115
  };
78
- declare function SelectLabel({ className, showIndicator, children, ...props }: SelectLabelProps): react_jsx_runtime.JSX.Element;
116
+ declare function SelectLabel({
117
+ className,
118
+ showIndicator,
119
+ children,
120
+ ...props
121
+ }: SelectLabelProps): _$react_jsx_runtime0.JSX.Element;
79
122
  declare namespace SelectLabel {
80
- var displayName: string;
123
+ var displayName: string;
81
124
  }
82
125
  type SelectScrollUpArrowProps = Select$1.ScrollUpArrow.Props & RefAttributes<HTMLDivElement>;
83
- declare function SelectScrollUpArrow({ className, ...props }: SelectScrollUpArrowProps): react_jsx_runtime.JSX.Element;
126
+ declare function SelectScrollUpArrow({
127
+ className,
128
+ ...props
129
+ }: SelectScrollUpArrowProps): _$react_jsx_runtime0.JSX.Element;
84
130
  declare namespace SelectScrollUpArrow {
85
- var displayName: string;
131
+ var displayName: string;
86
132
  }
87
133
  type SelectScrollDownArrowProps = Select$1.ScrollDownArrow.Props & RefAttributes<HTMLDivElement>;
88
- declare function SelectScrollDownArrow({ className, ...props }: SelectScrollDownArrowProps): react_jsx_runtime.JSX.Element;
134
+ declare function SelectScrollDownArrow({
135
+ className,
136
+ ...props
137
+ }: SelectScrollDownArrowProps): _$react_jsx_runtime0.JSX.Element;
89
138
  declare namespace SelectScrollDownArrow {
90
- var displayName: string;
139
+ var displayName: string;
91
140
  }
92
- interface SelectHelperTextProps extends ComponentProps<'p'> {
93
- }
94
- declare function SelectHelperText({ className, ...props }: SelectHelperTextProps): react_jsx_runtime.JSX.Element;
141
+ interface SelectHelperTextProps extends ComponentProps<'p'> {}
142
+ declare function SelectHelperText({
143
+ className,
144
+ ...props
145
+ }: SelectHelperTextProps): _$react_jsx_runtime0.JSX.Element;
95
146
  declare namespace SelectHelperText {
96
- var displayName: string;
97
- }
98
- interface SelectErrorTextProps extends ComponentProps<'p'> {
147
+ var displayName: string;
99
148
  }
100
- declare function SelectErrorText({ className, ...props }: SelectErrorTextProps): react_jsx_runtime.JSX.Element | null;
149
+ interface SelectErrorTextProps extends ComponentProps<'p'> {}
150
+ declare function SelectErrorText({
151
+ className,
152
+ ...props
153
+ }: SelectErrorTextProps): _$react_jsx_runtime0.JSX.Element | null;
101
154
  declare namespace SelectErrorText {
102
- var displayName: string;
155
+ var displayName: string;
103
156
  }
104
- interface SelectContentProps extends SelectPopupProps {
105
- }
106
- declare function SelectContent({ children, ...props }: SelectContentProps): react_jsx_runtime.JSX.Element;
157
+ interface SelectContentProps extends SelectPopupProps {}
158
+ declare function SelectContent({
159
+ children,
160
+ ...props
161
+ }: SelectContentProps): _$react_jsx_runtime0.JSX.Element;
107
162
  declare namespace SelectContent {
108
- var displayName: string;
163
+ var displayName: string;
109
164
  }
110
165
  declare const Select: typeof SelectRoot & {
111
- Trigger: typeof SelectTrigger;
112
- Value: typeof SelectValue;
113
- Icon: typeof SelectIcon;
114
- Portal: typeof SelectPortal;
115
- Positioner: typeof SelectPositioner;
116
- Popup: typeof SelectPopup;
117
- Content: typeof SelectContent;
118
- Item: typeof SelectItem;
119
- ItemText: typeof SelectItemText;
120
- ItemIndicator: typeof SelectItemIndicator;
121
- Group: typeof SelectGroup;
122
- GroupLabel: typeof SelectGroupLabel;
123
- Label: typeof SelectLabel;
124
- HelperText: typeof SelectHelperText;
125
- ErrorText: typeof SelectErrorText;
126
- ScrollUpArrow: typeof SelectScrollUpArrow;
127
- ScrollDownArrow: typeof SelectScrollDownArrow;
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;
128
183
  };
129
184
  type SelectProps = SelectRootProps;
130
-
131
- export { Select, SelectContent, type SelectContentProps, SelectErrorText, type SelectErrorTextProps, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectHelperText, type SelectHelperTextProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectRoot, type SelectRootProps, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectTrigger, type SelectTriggerProps, type SelectTriggerProps as SelectTriggerVariantProps, SelectValue, type SelectValueProps, selectTriggerVariants };
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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AAA,kBAAxD,aAAA;EAAA,IAAa,WAAA;AAAA;AAAA,cAchB,MAAA,SAAM,UAAA;;;;;;;;;;;;;;;;;;;KAoBP,WAAA,GAAc,eAAA"}
package/dist/Select.js CHANGED
@@ -1,3 +1,2 @@
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-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
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
@@ -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,EAA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EACZ,MAAO,EACP,WAAY,EACZ,UAAW,EACX,cAAe,EACf,gBAAiB,EAClB,CAAC"}
@@ -1,16 +1,21 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as class_variance_authority_types from 'class-variance-authority/types';
3
- import { ComponentProps } from 'react';
4
- import { VariantProps } from 'class-variance-authority';
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
- orientation?: "horizontal" | "vertical" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
- interface SeparatorProps extends ComponentProps<'div'>, VariantProps<typeof separatorVariants> {
10
- }
11
- declare function Separator({ className, orientation, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
8
+ orientation?: "horizontal" | "vertical" | 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
- var displayName: string;
17
+ var displayName: string;
14
18
  }
15
-
16
- export { Separator, type SeparatorProps, separatorVariants };
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
- export{b as Separator,a as separatorVariants}from'./_chunks/chunk-JGTZ3GCR.js';//# sourceMappingURL=Separator.js.map
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
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"Separator.js"}
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 react_jsx_runtime from 'react/jsx-runtime';
2
- import { ComponentProps } from 'react';
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
- d: string;
6
- layer: 'outline' | 'face' | 'detail' | 'shadow' | 'highlight' | 'stroke';
6
+ d: string;
7
+ layer: 'outline' | 'face' | 'detail' | 'shadow' | 'highlight' | 'stroke';
7
8
  }
8
9
  interface IllustrationData {
9
- viewBox: string;
10
- paths: PathData[];
10
+ viewBox: string;
11
+ paths: PathData[];
11
12
  }
12
13
  interface SpotIllustrationProps extends Omit<ComponentProps<'svg'>, 'outline'> {
13
- illustration: IllustrationData;
14
- outline?: boolean;
14
+ illustration: IllustrationData;
15
+ outline?: boolean;
15
16
  }
16
- declare function SpotIllustration({ illustration, outline, className, ref, ...props }: SpotIllustrationProps): react_jsx_runtime.JSX.Element;
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
- var displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
39
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
44
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
50
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
56
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
62
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
68
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
74
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
80
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
86
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
92
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
98
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
104
- displayName: string;
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
- (props: SpotIllustrationComponentProps): react_jsx_runtime.JSX.Element;
110
- displayName: string;
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,QAA6B,YAAA;;;cCJtD,SAAA;EAAA,QAA8D,8BAAA,GAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;;;KAC/D,cAAA,GAAiB,KAAA,CAAM,qBAAA,QAA6B,SAAA;;;cCDnD,MAAA;EAAA,QAAqD,8BAAA,GAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;;;KACtD,WAAA,GAAc,KAAA,CAAM,qBAAA,QAA6B,MAAA;;;cCDhD,YAAA;EAAA,QAGZ,8BAAA,GAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;;;K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