@oztix/roadie-components 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion.d.ts +37 -0
- package/dist/Accordion.js +3 -0
- package/dist/Accordion.js.map +1 -0
- package/dist/Autocomplete.d.ts +131 -0
- package/dist/Autocomplete.js +3 -0
- package/dist/Autocomplete.js.map +1 -0
- package/dist/Badge.d.ts +22 -0
- package/dist/Badge.js +2 -0
- package/dist/Badge.js.map +1 -0
- package/dist/Breadcrumb.d.ts +43 -0
- package/dist/Breadcrumb.js +2 -0
- package/dist/Breadcrumb.js.map +1 -0
- package/dist/Button-DagX1D_q.d.ts +19 -0
- package/dist/Button.d.ts +14 -33
- package/dist/Button.js +1 -1
- package/dist/Card.d.ts +51 -0
- package/dist/Card.js +2 -0
- package/dist/Card.js.map +1 -0
- package/dist/Code.d.ts +14 -24
- package/dist/Code.js +1 -1
- package/dist/Combobox.d.ts +137 -0
- package/dist/Combobox.js +3 -0
- package/dist/Combobox.js.map +1 -0
- package/dist/Field.d.ts +71 -0
- package/dist/Field.js +3 -0
- package/dist/Field.js.map +1 -0
- package/dist/Fieldset.d.ts +36 -0
- package/dist/Fieldset.js +3 -0
- package/dist/Fieldset.js.map +1 -0
- package/dist/Highlight.d.ts +22 -0
- package/dist/Highlight.js +3 -0
- package/dist/Highlight.js.map +1 -0
- package/dist/Indicator.d.ts +17 -0
- package/dist/Indicator.js +2 -0
- package/dist/Indicator.js.map +1 -0
- package/dist/Input.d.ts +18 -0
- package/dist/Input.js +3 -0
- package/dist/Input.js.map +1 -0
- package/dist/Label.d.ts +11 -0
- package/dist/Label.js +2 -0
- package/dist/Label.js.map +1 -0
- package/dist/LinkButton.d.ts +35 -0
- package/dist/LinkButton.js +2 -0
- package/dist/LinkButton.js.map +1 -0
- package/dist/Mark.d.ts +18 -0
- package/dist/Mark.js +2 -0
- package/dist/Mark.js.map +1 -0
- package/dist/Marquee.d.ts +21 -0
- package/dist/Marquee.js +3 -0
- package/dist/Marquee.js.map +1 -0
- package/dist/Prose.d.ts +22 -0
- package/dist/Prose.js +2 -0
- package/dist/Prose.js.map +1 -0
- package/dist/RadioGroup.d.ts +59 -0
- package/dist/RadioGroup.js +3 -0
- package/dist/RadioGroup.js.map +1 -0
- package/dist/Select.d.ts +144 -0
- package/dist/Select.js +3 -0
- package/dist/Select.js.map +1 -0
- package/dist/Separator.d.ts +16 -0
- package/dist/Separator.js +2 -0
- package/dist/Separator.js.map +1 -0
- package/dist/SpotIllustration.d.ts +114 -0
- package/dist/SpotIllustration.js +3 -0
- package/dist/SpotIllustration.js.map +1 -0
- package/dist/Steps.d.ts +105 -0
- package/dist/Steps.js +3 -0
- package/dist/Steps.js.map +1 -0
- package/dist/Textarea.d.ts +19 -0
- package/dist/Textarea.js +3 -0
- package/dist/Textarea.js.map +1 -0
- package/dist/_chunks/chunk-2MBFDJ6K.js +3 -0
- package/dist/_chunks/chunk-2MBFDJ6K.js.map +1 -0
- package/dist/_chunks/chunk-3HWPLULJ.js +2 -0
- package/dist/_chunks/chunk-3HWPLULJ.js.map +1 -0
- package/dist/_chunks/chunk-3NU36NBL.js +3 -0
- package/dist/_chunks/chunk-3NU36NBL.js.map +1 -0
- package/dist/_chunks/chunk-42UB7PQB.js +3 -0
- package/dist/_chunks/chunk-42UB7PQB.js.map +1 -0
- package/dist/_chunks/chunk-4LGCF3SN.js +3 -0
- package/dist/_chunks/chunk-4LGCF3SN.js.map +1 -0
- package/dist/_chunks/chunk-A6JSYXKN.js +2 -0
- package/dist/_chunks/chunk-A6JSYXKN.js.map +1 -0
- package/dist/_chunks/chunk-AFSDN4WI.js +2 -0
- package/dist/_chunks/chunk-AFSDN4WI.js.map +1 -0
- package/dist/_chunks/chunk-DRVUAPKN.js +2 -0
- package/dist/_chunks/chunk-DRVUAPKN.js.map +1 -0
- package/dist/_chunks/chunk-EKOEXSAP.js +2 -0
- package/dist/_chunks/chunk-EKOEXSAP.js.map +1 -0
- package/dist/_chunks/chunk-FQNVMKKV.js +7 -0
- package/dist/_chunks/chunk-FQNVMKKV.js.map +1 -0
- package/dist/_chunks/chunk-FSO4EAAY.js +3 -0
- package/dist/_chunks/chunk-FSO4EAAY.js.map +1 -0
- package/dist/_chunks/chunk-IEDKSZAQ.js +3 -0
- package/dist/_chunks/chunk-IEDKSZAQ.js.map +1 -0
- package/dist/_chunks/chunk-JBHYUOI2.js +3 -0
- package/dist/_chunks/chunk-JBHYUOI2.js.map +1 -0
- package/dist/_chunks/chunk-JGTZ3GCR.js +2 -0
- package/dist/_chunks/chunk-JGTZ3GCR.js.map +1 -0
- package/dist/_chunks/chunk-LHNOY24C.js +2 -0
- package/dist/_chunks/chunk-LHNOY24C.js.map +1 -0
- package/dist/_chunks/chunk-LMV3JECI.js +3 -0
- package/dist/_chunks/chunk-LMV3JECI.js.map +1 -0
- package/dist/_chunks/chunk-M4FEKBLW.js +2 -0
- package/dist/_chunks/chunk-M4FEKBLW.js.map +1 -0
- package/dist/_chunks/chunk-MDRAL676.js +3 -0
- package/dist/_chunks/chunk-MDRAL676.js.map +1 -0
- package/dist/_chunks/chunk-N2HGY7W7.js +3 -0
- package/dist/_chunks/chunk-N2HGY7W7.js.map +1 -0
- package/dist/_chunks/chunk-OIAETOZT.js +3 -0
- package/dist/_chunks/chunk-OIAETOZT.js.map +1 -0
- package/dist/_chunks/chunk-RXMWFJ6W.js +3 -0
- package/dist/_chunks/chunk-RXMWFJ6W.js.map +1 -0
- package/dist/_chunks/chunk-VSKUGXQG.js +3 -0
- package/dist/_chunks/chunk-VSKUGXQG.js.map +1 -0
- package/dist/_chunks/chunk-WOU2B425.js +3 -0
- package/dist/_chunks/chunk-WOU2B425.js.map +1 -0
- package/dist/_chunks/chunk-Y6TDYPCZ.js +3 -0
- package/dist/_chunks/chunk-Y6TDYPCZ.js.map +1 -0
- package/dist/_chunks/chunk-ZXR32FYA.js +2 -0
- package/dist/_chunks/chunk-ZXR32FYA.js.map +1 -0
- package/dist/index.d.ts +61 -10
- package/dist/index.js +34 -1
- package/dist/index.js.map +1 -1
- package/package.json +21 -18
- package/dist/Heading.d.ts +0 -40
- package/dist/Heading.js +0 -2
- package/dist/Heading.js.map +0 -1
- package/dist/Text.d.ts +0 -41
- package/dist/Text.js +0 -2
- package/dist/Text.js.map +0 -1
- package/dist/View.d.ts +0 -12
- package/dist/View.js +0 -2
- package/dist/View.js.map +0 -1
- package/dist/_chunks/chunk-6FIUWNC7.js +0 -2
- package/dist/_chunks/chunk-6FIUWNC7.js.map +0 -1
- package/dist/_chunks/chunk-GSK3G4DW.js +0 -2
- package/dist/_chunks/chunk-GSK3G4DW.js.map +0 -1
- package/dist/_chunks/chunk-P5L5LN6E.js +0 -2
- package/dist/_chunks/chunk-P5L5LN6E.js.map +0 -1
- package/dist/_chunks/chunk-RJEJUZ3O.js +0 -2
- package/dist/_chunks/chunk-RJEJUZ3O.js.map +0 -1
- package/dist/_chunks/chunk-VDMZIGT2.js +0 -2
- package/dist/_chunks/chunk-VDMZIGT2.js.map +0 -1
- package/dist/hooks/index.d.ts +0 -27
- package/dist/hooks/index.js +0 -2
- package/dist/hooks/index.js.map +0 -1
- package/src/components/Button/Button.test.tsx +0 -156
- package/src/components/Button/index.tsx +0 -48
- package/src/components/Code/Code.test.tsx +0 -85
- package/src/components/Code/index.tsx +0 -37
- package/src/components/Heading/Heading.test.tsx +0 -128
- package/src/components/Heading/index.tsx +0 -52
- package/src/components/Text/Text.test.tsx +0 -121
- package/src/components/Text/index.tsx +0 -54
- package/src/components/View/View.test.tsx +0 -161
- package/src/components/View/index.tsx +0 -12
- package/src/components/index.ts +0 -14
- package/src/hooks/index.ts +0 -1
- package/src/hooks/useColorMode.ts +0 -37
- package/src/index.test.tsx +0 -37
- package/src/index.tsx +0 -5
package/dist/Field.d.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { InputProps } from './Input.js';
|
|
4
|
+
import { LabelProps } from './Label.js';
|
|
5
|
+
import { TextareaProps } from './Textarea.js';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import 'class-variance-authority';
|
|
8
|
+
|
|
9
|
+
interface FieldContextValue {
|
|
10
|
+
invalid?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
fieldId: string;
|
|
14
|
+
labelId: string;
|
|
15
|
+
helperTextId: string;
|
|
16
|
+
errorTextId: string;
|
|
17
|
+
}
|
|
18
|
+
declare function useFieldContext(): FieldContextValue;
|
|
19
|
+
interface FieldRootProps extends ComponentProps<'div'> {
|
|
20
|
+
invalid?: boolean;
|
|
21
|
+
required?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare function FieldRoot({ className, invalid, required, disabled, ...props }: FieldRootProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
declare namespace FieldRoot {
|
|
26
|
+
var displayName: string;
|
|
27
|
+
}
|
|
28
|
+
interface FieldLabelProps extends LabelProps {
|
|
29
|
+
showIndicator?: boolean;
|
|
30
|
+
}
|
|
31
|
+
declare function FieldLabel({ htmlFor, showIndicator, children, ...props }: FieldLabelProps): react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare namespace FieldLabel {
|
|
33
|
+
var displayName: string;
|
|
34
|
+
}
|
|
35
|
+
declare function useFieldInputProps(): {
|
|
36
|
+
id: string | undefined;
|
|
37
|
+
disabled: true | undefined;
|
|
38
|
+
'aria-invalid': true | undefined;
|
|
39
|
+
'aria-required': true | undefined;
|
|
40
|
+
'aria-describedby': string | undefined;
|
|
41
|
+
};
|
|
42
|
+
declare function FieldInput(props: InputProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
declare namespace FieldInput {
|
|
44
|
+
var displayName: string;
|
|
45
|
+
}
|
|
46
|
+
declare function FieldTextarea(props: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
47
|
+
declare namespace FieldTextarea {
|
|
48
|
+
var displayName: string;
|
|
49
|
+
}
|
|
50
|
+
interface FieldHelperTextProps extends ComponentProps<'p'> {
|
|
51
|
+
}
|
|
52
|
+
declare function FieldHelperText({ id, className, ...props }: FieldHelperTextProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare namespace FieldHelperText {
|
|
54
|
+
var displayName: string;
|
|
55
|
+
}
|
|
56
|
+
interface FieldErrorTextProps extends ComponentProps<'p'> {
|
|
57
|
+
}
|
|
58
|
+
declare function FieldErrorText({ id, className, ...props }: FieldErrorTextProps): react_jsx_runtime.JSX.Element | null;
|
|
59
|
+
declare namespace FieldErrorText {
|
|
60
|
+
var displayName: string;
|
|
61
|
+
}
|
|
62
|
+
declare const Field: typeof FieldRoot & {
|
|
63
|
+
Label: typeof FieldLabel;
|
|
64
|
+
Input: typeof FieldInput;
|
|
65
|
+
Textarea: typeof FieldTextarea;
|
|
66
|
+
HelperText: typeof FieldHelperText;
|
|
67
|
+
ErrorText: typeof FieldErrorText;
|
|
68
|
+
};
|
|
69
|
+
type FieldProps = FieldRootProps;
|
|
70
|
+
|
|
71
|
+
export { Field, type FieldErrorTextProps, type FieldHelperTextProps, type FieldLabelProps, type FieldProps, type FieldRootProps, useFieldContext, useFieldInputProps };
|
package/dist/Field.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export{c as Field,a as useFieldContext,b as useFieldInputProps}from'./_chunks/chunk-N2HGY7W7.js';import'./_chunks/chunk-OIAETOZT.js';import'./_chunks/chunk-LMV3JECI.js';import'./_chunks/chunk-VSKUGXQG.js';import'./_chunks/chunk-IEDKSZAQ.js';import'./_chunks/chunk-4LGCF3SN.js';//# sourceMappingURL=Field.js.map
|
|
3
|
+
//# sourceMappingURL=Field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Field.js"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
|
|
4
|
+
interface FieldsetRootProps extends ComponentProps<'fieldset'> {
|
|
5
|
+
invalid?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare function FieldsetRoot({ className, invalid, ...props }: FieldsetRootProps): react_jsx_runtime.JSX.Element;
|
|
8
|
+
declare namespace FieldsetRoot {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
11
|
+
interface FieldsetLegendProps extends ComponentProps<'legend'> {
|
|
12
|
+
}
|
|
13
|
+
declare function FieldsetLegend({ className, ...props }: FieldsetLegendProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
declare namespace FieldsetLegend {
|
|
15
|
+
var displayName: string;
|
|
16
|
+
}
|
|
17
|
+
interface FieldsetHelperTextProps extends ComponentProps<'p'> {
|
|
18
|
+
}
|
|
19
|
+
declare function FieldsetHelperText({ className, ...props }: FieldsetHelperTextProps): react_jsx_runtime.JSX.Element;
|
|
20
|
+
declare namespace FieldsetHelperText {
|
|
21
|
+
var displayName: string;
|
|
22
|
+
}
|
|
23
|
+
interface FieldsetErrorTextProps extends ComponentProps<'p'> {
|
|
24
|
+
}
|
|
25
|
+
declare function FieldsetErrorText({ className, ...props }: FieldsetErrorTextProps): react_jsx_runtime.JSX.Element | null;
|
|
26
|
+
declare namespace FieldsetErrorText {
|
|
27
|
+
var displayName: string;
|
|
28
|
+
}
|
|
29
|
+
declare const Fieldset: typeof FieldsetRoot & {
|
|
30
|
+
Legend: typeof FieldsetLegend;
|
|
31
|
+
HelperText: typeof FieldsetHelperText;
|
|
32
|
+
ErrorText: typeof FieldsetErrorText;
|
|
33
|
+
};
|
|
34
|
+
type FieldsetProps = FieldsetRootProps;
|
|
35
|
+
|
|
36
|
+
export { Fieldset, type FieldsetErrorTextProps, type FieldsetHelperTextProps, type FieldsetLegendProps, type FieldsetProps, type FieldsetRootProps };
|
package/dist/Fieldset.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Fieldset.js"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { MarkProps } from './Mark.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'class-variance-authority/types';
|
|
5
|
+
import 'class-variance-authority';
|
|
6
|
+
|
|
7
|
+
interface HighlightChunk {
|
|
8
|
+
text: string;
|
|
9
|
+
match: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface HighlightProps extends Omit<MarkProps, 'children'> {
|
|
12
|
+
text: string;
|
|
13
|
+
query: string | string[];
|
|
14
|
+
ignoreCase?: boolean;
|
|
15
|
+
matchAll?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare function Highlight({ text, query, ignoreCase, matchAll, ...markProps }: HighlightProps): ReactElement;
|
|
18
|
+
declare namespace Highlight {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { Highlight, type HighlightChunk, type HighlightProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Highlight.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
|
|
4
|
+
interface RequiredIndicatorProps extends ComponentProps<'span'> {
|
|
5
|
+
}
|
|
6
|
+
declare function RequiredIndicator({ className, children, ...props }: RequiredIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare namespace RequiredIndicator {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
interface OptionalIndicatorProps extends ComponentProps<'span'> {
|
|
11
|
+
}
|
|
12
|
+
declare function OptionalIndicator({ className, children, ...props }: OptionalIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare namespace OptionalIndicator {
|
|
14
|
+
var displayName: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { OptionalIndicator, type OptionalIndicatorProps, RequiredIndicator, type RequiredIndicatorProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Indicator.js"}
|
package/dist/Input.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const inputVariants: (props?: ({
|
|
7
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
8
|
+
emphasis?: "normal" | "subtle" | null | undefined;
|
|
9
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface InputProps extends Omit<ComponentProps<'input'>, 'size'>, VariantProps<typeof inputVariants> {
|
|
12
|
+
}
|
|
13
|
+
declare function Input({ className, intent, emphasis, size, type, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
declare namespace Input {
|
|
15
|
+
var displayName: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { Input, type InputProps, inputVariants };
|
package/dist/Input.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Input.js"}
|
package/dist/Label.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
|
|
4
|
+
interface LabelProps extends ComponentProps<'label'> {
|
|
5
|
+
}
|
|
6
|
+
declare function Label({ className, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare namespace Label {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { Label, type LabelProps };
|
package/dist/Label.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Label.js"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ElementType, ComponentProps } from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { b as buttonVariants } from './Button-DagX1D_q.js';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
import '@base-ui/react/button';
|
|
7
|
+
|
|
8
|
+
type LinkButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
9
|
+
type LinkButtonProps<T extends ElementType = 'a'> = {
|
|
10
|
+
as?: T;
|
|
11
|
+
intent?: VariantProps<typeof buttonVariants>['intent'];
|
|
12
|
+
emphasis?: VariantProps<typeof buttonVariants>['emphasis'];
|
|
13
|
+
size?: LinkButtonSize;
|
|
14
|
+
className?: string;
|
|
15
|
+
} & Omit<ComponentProps<T>, 'as' | 'intent' | 'emphasis' | 'size' | 'className'>;
|
|
16
|
+
declare function LinkButton<T extends ElementType = 'a'>({ as, className, intent, emphasis, size, ...props }: LinkButtonProps<T>): react_jsx_runtime.JSX.Element;
|
|
17
|
+
declare namespace LinkButton {
|
|
18
|
+
var displayName: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type LinkIconButtonSize = 'icon-xs' | 'icon-sm' | 'icon-md' | 'icon-lg';
|
|
22
|
+
type LinkIconButtonProps<T extends ElementType = 'a'> = {
|
|
23
|
+
as?: T;
|
|
24
|
+
'aria-label': string;
|
|
25
|
+
intent?: VariantProps<typeof buttonVariants>['intent'];
|
|
26
|
+
emphasis?: VariantProps<typeof buttonVariants>['emphasis'];
|
|
27
|
+
size?: LinkIconButtonSize;
|
|
28
|
+
className?: string;
|
|
29
|
+
} & Omit<ComponentProps<T>, 'as' | 'aria-label' | 'intent' | 'emphasis' | 'size' | 'className'>;
|
|
30
|
+
declare function LinkIconButton<T extends ElementType = 'a'>({ as, className, intent, emphasis, size, ...props }: LinkIconButtonProps<T>): react_jsx_runtime.JSX.Element;
|
|
31
|
+
declare namespace LinkIconButton {
|
|
32
|
+
var displayName: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { LinkButton, type LinkButtonProps, LinkIconButton, type LinkIconButtonProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"LinkButton.js"}
|
package/dist/Mark.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { ElementType, ComponentProps } from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const markVariants: (props?: ({
|
|
7
|
+
intent?: "neutral" | "brand" | "brand-secondary" | "accent" | "danger" | "success" | "warning" | "info" | "neutral-inverted" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
type MarkProps<T extends ElementType = 'mark'> = {
|
|
10
|
+
as?: T;
|
|
11
|
+
className?: string;
|
|
12
|
+
} & VariantProps<typeof markVariants> & Omit<ComponentProps<T>, 'as' | 'className'>;
|
|
13
|
+
declare function Mark<T extends ElementType = 'mark'>({ as, className, intent, ...props }: MarkProps<T>): react_jsx_runtime.JSX.Element;
|
|
14
|
+
declare namespace Mark {
|
|
15
|
+
var displayName: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { Mark, type MarkProps, markVariants };
|
package/dist/Mark.js
ADDED
package/dist/Mark.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Mark.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
|
|
4
|
+
interface MarqueeProps extends ComponentProps<'div'> {
|
|
5
|
+
/** Scroll speed in pixels per second. @default 50 */
|
|
6
|
+
speed?: number;
|
|
7
|
+
/** Pause animation on hover. @default false */
|
|
8
|
+
pauseOnHover?: boolean;
|
|
9
|
+
/** Scroll direction. @default 'normal' */
|
|
10
|
+
direction?: 'normal' | 'reverse';
|
|
11
|
+
/** Gap between items in pixels. @default 16 */
|
|
12
|
+
gap?: number;
|
|
13
|
+
/** Accessible label for the marquee region. */
|
|
14
|
+
'aria-label'?: string;
|
|
15
|
+
}
|
|
16
|
+
declare function Marquee({ children, speed, pauseOnHover, direction, gap, className, 'aria-label': ariaLabel, ...props }: MarqueeProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
declare namespace Marquee {
|
|
18
|
+
var displayName: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { Marquee, type MarqueeProps };
|
package/dist/Marquee.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Marquee.js"}
|
package/dist/Prose.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { ElementType, ComponentProps } from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const proseVariants: (props?: ({
|
|
7
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
type ProseProps<T extends ElementType = 'div'> = {
|
|
10
|
+
as?: T;
|
|
11
|
+
className?: string;
|
|
12
|
+
} & VariantProps<typeof proseVariants> & Omit<ComponentProps<T>, 'as' | 'className' | 'size'>;
|
|
13
|
+
/**
|
|
14
|
+
* Prose container for long-form/rich content (CMS output, markdown, user HTML).
|
|
15
|
+
* Applies semantic typography styles to nested HTML elements.
|
|
16
|
+
*/
|
|
17
|
+
declare function Prose<T extends ElementType = 'div'>({ as, className, size, ...props }: ProseProps<T>): react_jsx_runtime.JSX.Element;
|
|
18
|
+
declare namespace Prose {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { Prose, type ProseProps, proseVariants };
|
package/dist/Prose.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Prose.js"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { Radio } from '@base-ui/react/radio';
|
|
5
|
+
import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
|
|
8
|
+
type RadioGroupEmphasis = 'subtler' | 'normal';
|
|
9
|
+
declare const radioGroupVariants: (props?: ({
|
|
10
|
+
direction?: "horizontal" | "vertical" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
+
declare const radioGroupItemVariants: (props?: ({
|
|
13
|
+
emphasis?: "normal" | "subtler" | null | undefined;
|
|
14
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
+
interface RadioGroupRootProps extends ComponentProps<typeof RadioGroup$1>, VariantProps<typeof radioGroupVariants> {
|
|
16
|
+
emphasis?: RadioGroupEmphasis;
|
|
17
|
+
invalid?: boolean;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare function RadioGroupRoot({ className, direction, emphasis, invalid, required, ...props }: RadioGroupRootProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
declare namespace RadioGroupRoot {
|
|
22
|
+
var displayName: string;
|
|
23
|
+
}
|
|
24
|
+
interface RadioGroupItemProps extends ComponentProps<typeof Radio.Root> {
|
|
25
|
+
label?: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
}
|
|
28
|
+
declare function RadioGroupItem({ className, label, description, children, ...props }: RadioGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare namespace RadioGroupItem {
|
|
30
|
+
var displayName: string;
|
|
31
|
+
}
|
|
32
|
+
interface RadioGroupLabelProps extends ComponentProps<'label'> {
|
|
33
|
+
showIndicator?: boolean;
|
|
34
|
+
}
|
|
35
|
+
declare function RadioGroupLabel({ className, showIndicator, children, ...props }: RadioGroupLabelProps): react_jsx_runtime.JSX.Element;
|
|
36
|
+
declare namespace RadioGroupLabel {
|
|
37
|
+
var displayName: string;
|
|
38
|
+
}
|
|
39
|
+
interface RadioGroupHelperTextProps extends ComponentProps<'p'> {
|
|
40
|
+
}
|
|
41
|
+
declare function RadioGroupHelperText({ className, ...props }: RadioGroupHelperTextProps): react_jsx_runtime.JSX.Element;
|
|
42
|
+
declare namespace RadioGroupHelperText {
|
|
43
|
+
var displayName: string;
|
|
44
|
+
}
|
|
45
|
+
interface RadioGroupErrorTextProps extends ComponentProps<'p'> {
|
|
46
|
+
}
|
|
47
|
+
declare function RadioGroupErrorText({ className, ...props }: RadioGroupErrorTextProps): react_jsx_runtime.JSX.Element | null;
|
|
48
|
+
declare namespace RadioGroupErrorText {
|
|
49
|
+
var displayName: string;
|
|
50
|
+
}
|
|
51
|
+
declare const RadioGroup: typeof RadioGroupRoot & {
|
|
52
|
+
Item: typeof RadioGroupItem;
|
|
53
|
+
Label: typeof RadioGroupLabel;
|
|
54
|
+
HelperText: typeof RadioGroupHelperText;
|
|
55
|
+
ErrorText: typeof RadioGroupErrorText;
|
|
56
|
+
};
|
|
57
|
+
type RadioGroupProps = RadioGroupRootProps;
|
|
58
|
+
|
|
59
|
+
export { RadioGroup, type RadioGroupErrorTextProps, type RadioGroupHelperTextProps, type RadioGroupItemProps, type RadioGroupLabelProps, type RadioGroupProps, type RadioGroupRootProps, radioGroupItemVariants, radioGroupVariants };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export{c as RadioGroup,b as radioGroupItemVariants,a as radioGroupVariants}from'./_chunks/chunk-3NU36NBL.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
|
+
//# sourceMappingURL=RadioGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"RadioGroup.js"}
|
package/dist/Select.d.ts
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
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 { Select as Select$1 } from '@base-ui/react/select';
|
|
5
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
|
|
7
|
+
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;
|
|
12
|
+
interface SelectRootProps extends ComponentProps<typeof Select$1.Root> {
|
|
13
|
+
invalid?: boolean;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare function SelectRoot({ invalid, required, ...props }: SelectRootProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
declare namespace SelectRoot {
|
|
18
|
+
var displayName: string;
|
|
19
|
+
}
|
|
20
|
+
interface SelectTriggerProps extends ComponentProps<typeof Select$1.Trigger>, VariantProps<typeof selectTriggerVariants> {
|
|
21
|
+
}
|
|
22
|
+
declare function SelectTrigger({ className, intent, emphasis, size, ...props }: SelectTriggerProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
declare namespace SelectTrigger {
|
|
24
|
+
var displayName: string;
|
|
25
|
+
}
|
|
26
|
+
interface SelectValueProps extends ComponentProps<typeof Select$1.Value> {
|
|
27
|
+
}
|
|
28
|
+
declare function SelectValue({ className, ...props }: SelectValueProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare namespace SelectValue {
|
|
30
|
+
var displayName: string;
|
|
31
|
+
}
|
|
32
|
+
interface SelectIconProps extends ComponentProps<typeof Select$1.Icon> {
|
|
33
|
+
}
|
|
34
|
+
declare function SelectIcon({ className, children, ...props }: SelectIconProps): react_jsx_runtime.JSX.Element;
|
|
35
|
+
declare namespace SelectIcon {
|
|
36
|
+
var displayName: string;
|
|
37
|
+
}
|
|
38
|
+
interface SelectPortalProps extends ComponentProps<typeof Select$1.Portal> {
|
|
39
|
+
}
|
|
40
|
+
declare function SelectPortal(props: SelectPortalProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
declare namespace SelectPortal {
|
|
42
|
+
var displayName: string;
|
|
43
|
+
}
|
|
44
|
+
interface SelectPositionerProps extends ComponentProps<typeof Select$1.Positioner> {
|
|
45
|
+
}
|
|
46
|
+
declare function SelectPositioner({ className, ...props }: SelectPositionerProps): react_jsx_runtime.JSX.Element;
|
|
47
|
+
declare namespace SelectPositioner {
|
|
48
|
+
var displayName: string;
|
|
49
|
+
}
|
|
50
|
+
interface SelectPopupProps extends ComponentProps<typeof Select$1.Popup> {
|
|
51
|
+
}
|
|
52
|
+
declare function SelectPopup({ className, ...props }: SelectPopupProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare namespace SelectPopup {
|
|
54
|
+
var displayName: string;
|
|
55
|
+
}
|
|
56
|
+
interface SelectItemProps extends ComponentProps<typeof Select$1.Item> {
|
|
57
|
+
}
|
|
58
|
+
declare function SelectItem({ className, children, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element;
|
|
59
|
+
declare namespace SelectItem {
|
|
60
|
+
var displayName: string;
|
|
61
|
+
}
|
|
62
|
+
interface SelectItemTextProps extends ComponentProps<typeof Select$1.ItemText> {
|
|
63
|
+
}
|
|
64
|
+
declare function SelectItemText(props: SelectItemTextProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
declare namespace SelectItemText {
|
|
66
|
+
var displayName: string;
|
|
67
|
+
}
|
|
68
|
+
interface SelectItemIndicatorProps extends ComponentProps<typeof Select$1.ItemIndicator> {
|
|
69
|
+
}
|
|
70
|
+
declare function SelectItemIndicator({ className, children, ...props }: SelectItemIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
71
|
+
declare namespace SelectItemIndicator {
|
|
72
|
+
var displayName: string;
|
|
73
|
+
}
|
|
74
|
+
interface SelectGroupProps extends ComponentProps<typeof Select$1.Group> {
|
|
75
|
+
}
|
|
76
|
+
declare function SelectGroup({ className, ...props }: SelectGroupProps): react_jsx_runtime.JSX.Element;
|
|
77
|
+
declare namespace SelectGroup {
|
|
78
|
+
var displayName: string;
|
|
79
|
+
}
|
|
80
|
+
interface SelectGroupLabelProps extends ComponentProps<typeof Select$1.GroupLabel> {
|
|
81
|
+
}
|
|
82
|
+
declare function SelectGroupLabel({ className, ...props }: SelectGroupLabelProps): react_jsx_runtime.JSX.Element;
|
|
83
|
+
declare namespace SelectGroupLabel {
|
|
84
|
+
var displayName: string;
|
|
85
|
+
}
|
|
86
|
+
interface SelectLabelProps extends ComponentProps<typeof Select$1.Label> {
|
|
87
|
+
showIndicator?: boolean;
|
|
88
|
+
}
|
|
89
|
+
declare function SelectLabel({ className, showIndicator, children, ...props }: SelectLabelProps): react_jsx_runtime.JSX.Element;
|
|
90
|
+
declare namespace SelectLabel {
|
|
91
|
+
var displayName: string;
|
|
92
|
+
}
|
|
93
|
+
interface SelectScrollUpArrowProps extends ComponentProps<typeof Select$1.ScrollUpArrow> {
|
|
94
|
+
}
|
|
95
|
+
declare function SelectScrollUpArrow({ className, ...props }: SelectScrollUpArrowProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
declare namespace SelectScrollUpArrow {
|
|
97
|
+
var displayName: string;
|
|
98
|
+
}
|
|
99
|
+
interface SelectScrollDownArrowProps extends ComponentProps<typeof Select$1.ScrollDownArrow> {
|
|
100
|
+
}
|
|
101
|
+
declare function SelectScrollDownArrow({ className, ...props }: SelectScrollDownArrowProps): react_jsx_runtime.JSX.Element;
|
|
102
|
+
declare namespace SelectScrollDownArrow {
|
|
103
|
+
var displayName: string;
|
|
104
|
+
}
|
|
105
|
+
interface SelectHelperTextProps extends ComponentProps<'p'> {
|
|
106
|
+
}
|
|
107
|
+
declare function SelectHelperText({ className, ...props }: SelectHelperTextProps): react_jsx_runtime.JSX.Element;
|
|
108
|
+
declare namespace SelectHelperText {
|
|
109
|
+
var displayName: string;
|
|
110
|
+
}
|
|
111
|
+
interface SelectErrorTextProps extends ComponentProps<'p'> {
|
|
112
|
+
}
|
|
113
|
+
declare function SelectErrorText({ className, ...props }: SelectErrorTextProps): react_jsx_runtime.JSX.Element | null;
|
|
114
|
+
declare namespace SelectErrorText {
|
|
115
|
+
var displayName: string;
|
|
116
|
+
}
|
|
117
|
+
interface SelectContentProps extends SelectPopupProps {
|
|
118
|
+
}
|
|
119
|
+
declare function SelectContent({ children, ...props }: SelectContentProps): react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare namespace SelectContent {
|
|
121
|
+
var displayName: string;
|
|
122
|
+
}
|
|
123
|
+
declare const Select: typeof SelectRoot & {
|
|
124
|
+
Trigger: typeof SelectTrigger;
|
|
125
|
+
Value: typeof SelectValue;
|
|
126
|
+
Icon: typeof SelectIcon;
|
|
127
|
+
Portal: typeof SelectPortal;
|
|
128
|
+
Positioner: typeof SelectPositioner;
|
|
129
|
+
Popup: typeof SelectPopup;
|
|
130
|
+
Content: typeof SelectContent;
|
|
131
|
+
Item: typeof SelectItem;
|
|
132
|
+
ItemText: typeof SelectItemText;
|
|
133
|
+
ItemIndicator: typeof SelectItemIndicator;
|
|
134
|
+
Group: typeof SelectGroup;
|
|
135
|
+
GroupLabel: typeof SelectGroupLabel;
|
|
136
|
+
Label: typeof SelectLabel;
|
|
137
|
+
HelperText: typeof SelectHelperText;
|
|
138
|
+
ErrorText: typeof SelectErrorText;
|
|
139
|
+
ScrollUpArrow: typeof SelectScrollUpArrow;
|
|
140
|
+
ScrollDownArrow: typeof SelectScrollDownArrow;
|
|
141
|
+
};
|
|
142
|
+
type SelectProps = SelectRootProps;
|
|
143
|
+
|
|
144
|
+
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 };
|
package/dist/Select.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
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-RXMWFJ6W.js';import'./_chunks/chunk-N2HGY7W7.js';import'./_chunks/chunk-OIAETOZT.js';import'./_chunks/chunk-LMV3JECI.js';import'./_chunks/chunk-VSKUGXQG.js';import'./_chunks/chunk-IEDKSZAQ.js';import'./_chunks/chunk-4LGCF3SN.js';//# sourceMappingURL=Select.js.map
|
|
3
|
+
//# sourceMappingURL=Select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Select.js"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const 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;
|
|
12
|
+
declare namespace Separator {
|
|
13
|
+
var displayName: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { Separator, type SeparatorProps, separatorVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Separator.js"}
|