@bison-lab/ui 3.40.0 → 3.43.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/index.d.mts +249 -18
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +320 -90
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -507,6 +507,13 @@ declare const Form: React$1.ForwardRefExoticComponent<FormProps & React$1.RefAtt
|
|
|
507
507
|
interface FormFieldProps {
|
|
508
508
|
name: string;
|
|
509
509
|
label?: string;
|
|
510
|
+
/**
|
|
511
|
+
* Helper text below the control, hidden while the field is in error.
|
|
512
|
+
*
|
|
513
|
+
* A string, so it cannot be restyled or repeated. Compose one or more
|
|
514
|
+
* `FieldNote` children instead when the note needs its own size, or when
|
|
515
|
+
* there is more than one — they wire up the same way.
|
|
516
|
+
*/
|
|
510
517
|
description?: string;
|
|
511
518
|
required?: boolean;
|
|
512
519
|
/**
|
|
@@ -552,6 +559,123 @@ declare function FormError({
|
|
|
552
559
|
className
|
|
553
560
|
}: FormErrorProps): react_jsx_runtime0.JSX.Element | null;
|
|
554
561
|
//#endregion
|
|
562
|
+
//#region src/form/field-layout.d.ts
|
|
563
|
+
/**
|
|
564
|
+
* The vertical rhythm of a field, decided once.
|
|
565
|
+
*
|
|
566
|
+
* A field is a label, a control and some small print, and the three had drifted
|
|
567
|
+
* apart: `FormField` put 6px above and below its control, `InputGroup` put 8px
|
|
568
|
+
* of column gap on top of the `Label`'s own 8px margin, and `OutlinedField` put
|
|
569
|
+
* 6px under the shell. The same form built with two different wrappers did not
|
|
570
|
+
* look like the same form.
|
|
571
|
+
*
|
|
572
|
+
* These are margins on the parts rather than a `gap` on the column on purpose.
|
|
573
|
+
* A `gap` also separates the control slot's own children, so a `FormField
|
|
574
|
+
* as="group"` holding a stack of checkboxes would have every row pushed apart
|
|
575
|
+
* by the same value that spaces the label — the control slot has to keep
|
|
576
|
+
* whatever spacing its own contents ask for.
|
|
577
|
+
*
|
|
578
|
+
* Plain strings, no React: `Label` (a component) and `FieldNote` (a form part)
|
|
579
|
+
* both read them, and neither should have to import the other.
|
|
580
|
+
*/
|
|
581
|
+
/**
|
|
582
|
+
* The two scales, because one value does not read the same in both cases.
|
|
583
|
+
*
|
|
584
|
+
* A bordered input is a solid block, and a label 4px above it is clearly
|
|
585
|
+
* attached to it. A set of checkboxes is bare text and empty boxes with its own
|
|
586
|
+
* internal spacing, and a legend 4px above the first row lands almost on it —
|
|
587
|
+
* the label reads as part of that row rather than as the heading for the set.
|
|
588
|
+
* Set spacing is a step wider so the legend and the note sit outside the rows
|
|
589
|
+
* they bracket.
|
|
590
|
+
*
|
|
591
|
+
* Frozen, not merely `as const`. This is public, and `Label` closes over its
|
|
592
|
+
* value at module evaluation while `FieldNote` and the error paragraphs read it
|
|
593
|
+
* per render — so a consumer writing through the type would move some of the
|
|
594
|
+
* rhythm and leave the rest where it was.
|
|
595
|
+
*/
|
|
596
|
+
declare const fieldSpacing: Readonly<{
|
|
597
|
+
/** A label and small print against ONE bordered control. */readonly control: Readonly<{
|
|
598
|
+
label: "mb-1";
|
|
599
|
+
note: "mt-1";
|
|
600
|
+
}>; /** A legend and small print against a SET of bare controls. */
|
|
601
|
+
readonly set: Readonly<{
|
|
602
|
+
label: "mb-2";
|
|
603
|
+
note: "mt-2";
|
|
604
|
+
}>;
|
|
605
|
+
}>;
|
|
606
|
+
/** Which of {@link fieldSpacing}'s scales a field uses. */
|
|
607
|
+
type FieldSpacing = keyof typeof fieldSpacing;
|
|
608
|
+
/** Space under a stacked field label, before a single bordered control. */
|
|
609
|
+
declare const FIELD_LABEL_SPACING: "mb-1";
|
|
610
|
+
/**
|
|
611
|
+
* Space above a line of small print — a hint, a note, an error — after a single
|
|
612
|
+
* bordered control. Carried by each line, so consecutive ones are spaced too.
|
|
613
|
+
*/
|
|
614
|
+
declare const FIELD_NOTE_SPACING: "mt-1";
|
|
615
|
+
//#endregion
|
|
616
|
+
//#region src/form/field-note.d.ts
|
|
617
|
+
interface FieldNoteProps extends React$1.ComponentPropsWithoutRef<'p'> {
|
|
618
|
+
/**
|
|
619
|
+
* `md`: the shipped hint size (default).
|
|
620
|
+
* `sm`: a step smaller, for dense admin chrome.
|
|
621
|
+
*
|
|
622
|
+
* There is no `lg`. A note is small print by definition; at body size it is
|
|
623
|
+
* body copy and belongs outside the field.
|
|
624
|
+
*/
|
|
625
|
+
size?: 'sm' | 'md';
|
|
626
|
+
/**
|
|
627
|
+
* Which spacing scale brackets the note — see `fieldSpacing`.
|
|
628
|
+
*
|
|
629
|
+
* Inside a field wrapper this is already right: `FormField as="group"`
|
|
630
|
+
* publishes `set` and everything else publishes `control`. Pass it for a
|
|
631
|
+
* fieldset you assembled yourself, where there is no wrapper to publish
|
|
632
|
+
* anything.
|
|
633
|
+
*
|
|
634
|
+
* `Label as="legend"` needs no such prop, which looks asymmetric until you
|
|
635
|
+
* ask what each element can see. A legend only ever captions a fieldset, so
|
|
636
|
+
* `as` alone settles it. A note is a paragraph under something, and nothing
|
|
637
|
+
* in its own props or position tells it whether that something was one
|
|
638
|
+
* bordered control or a stack of bare rows — only the field above it knows,
|
|
639
|
+
* and in a hand-built fieldset there is no field to ask.
|
|
640
|
+
*/
|
|
641
|
+
spacing?: FieldSpacing;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* The small print under a control.
|
|
645
|
+
*
|
|
646
|
+
* A component rather than a `descriptionClassName`-style prop on `FormField`,
|
|
647
|
+
* because a note is a thing on the page with its own size and tone and it turns
|
|
648
|
+
* up in three places: inside a field, under a field group, and beside a control
|
|
649
|
+
* that is not in a field wrapper at all. A prop reaches only the one paragraph
|
|
650
|
+
* `FormField` already renders, which is why consumers ended up selecting on
|
|
651
|
+
* that paragraph's classes from the call site instead.
|
|
652
|
+
*
|
|
653
|
+
* Composed into a field wrapper it keeps everything the `description` prop
|
|
654
|
+
* does — it mints an id, registers it so the control (or, in a group, the
|
|
655
|
+
* `<fieldset>`) names it in `aria-describedby`, and renders nothing while the
|
|
656
|
+
* field is invalid so the error paragraph has the description to itself.
|
|
657
|
+
* Outside a wrapper it is just the paragraph, styled identically.
|
|
658
|
+
*/
|
|
659
|
+
declare const FieldNote: React$1.ForwardRefExoticComponent<FieldNoteProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
660
|
+
/**
|
|
661
|
+
* Split a field wrapper's `children` into the control and the notes composed
|
|
662
|
+
* beside it.
|
|
663
|
+
*
|
|
664
|
+
* A note belongs in the wrapper's small-print region: under the control, after
|
|
665
|
+
* the `description` / `hint` the wrapper renders itself. Left where the
|
|
666
|
+
* consumer wrote it, it would sit BEFORE that paragraph on the page while
|
|
667
|
+
* `aria-describedby` reads it after — and inside `OutlinedField` it would land
|
|
668
|
+
* inside the bordered shell, drawn over the input.
|
|
669
|
+
*
|
|
670
|
+
* Only direct children are lifted. A note nested inside a consumer's own
|
|
671
|
+
* element stays where it is; it still wires itself up, but its place in the
|
|
672
|
+
* reading order is then the consumer's business.
|
|
673
|
+
*/
|
|
674
|
+
declare function splitFieldNotes(children: React$1.ReactNode): {
|
|
675
|
+
control: React$1.ReactNode[];
|
|
676
|
+
notes: React$1.ReactNode[];
|
|
677
|
+
};
|
|
678
|
+
//#endregion
|
|
555
679
|
//#region src/form/field-context.d.ts
|
|
556
680
|
/**
|
|
557
681
|
* The channel between a field wrapper and the control nested inside it.
|
|
@@ -579,6 +703,21 @@ interface FieldContextValue {
|
|
|
579
703
|
controlId: string;
|
|
580
704
|
/** `id` of the hint paragraph, when one is rendered. */
|
|
581
705
|
descriptionId?: string;
|
|
706
|
+
/**
|
|
707
|
+
* ids of the `FieldNote`s composed inside the field, in document order.
|
|
708
|
+
*
|
|
709
|
+
* The `description` prop is a string the wrapper owns, so its id can be
|
|
710
|
+
* computed up front. A note is a child, and a wrapper cannot read its own
|
|
711
|
+
* descendants — so notes announce themselves through
|
|
712
|
+
* {@link FieldContextValue.registerNote} and land here.
|
|
713
|
+
*/
|
|
714
|
+
noteIds?: readonly string[];
|
|
715
|
+
/**
|
|
716
|
+
* Called by a `FieldNote` on mount with the id to describe the field with;
|
|
717
|
+
* returns the unregister. Absent outside the wrappers that keep a registry,
|
|
718
|
+
* in which case the note renders as plain small print.
|
|
719
|
+
*/
|
|
720
|
+
registerNote?: (id: string) => () => void;
|
|
582
721
|
/** `id` of the error paragraph, when one is rendered. */
|
|
583
722
|
errorId?: string;
|
|
584
723
|
/**
|
|
@@ -591,6 +730,16 @@ interface FieldContextValue {
|
|
|
591
730
|
invalid: boolean;
|
|
592
731
|
/** Whether the field is required. */
|
|
593
732
|
required: boolean;
|
|
733
|
+
/**
|
|
734
|
+
* Which spacing scale the field's small print uses — see `fieldSpacing`.
|
|
735
|
+
* `control` (the default) when the field holds one bordered control, `set`
|
|
736
|
+
* when it holds a set of bare ones.
|
|
737
|
+
*
|
|
738
|
+
* Separate from {@link FieldContextValue.group}, which is about ARIA: a
|
|
739
|
+
* composite control re-provides the field in group mode through
|
|
740
|
+
* {@link FieldGroupScope} but is still one bordered control on the page.
|
|
741
|
+
*/
|
|
742
|
+
spacing?: FieldSpacing;
|
|
594
743
|
/**
|
|
595
744
|
* True when the wrapper labels a SET of controls (a checkbox or radio group)
|
|
596
745
|
* rather than a single one. Controls must not adopt the field's ids in this
|
|
@@ -603,6 +752,28 @@ interface FieldContextValue {
|
|
|
603
752
|
declare const FieldProvider: React$1.Provider<FieldContextValue | undefined>;
|
|
604
753
|
/** Read the surrounding field, if there is one. */
|
|
605
754
|
declare function useField(): FieldContextValue | undefined;
|
|
755
|
+
/**
|
|
756
|
+
* Build one `aria-describedby` out of the field's ids and whatever the consumer
|
|
757
|
+
* already set.
|
|
758
|
+
*
|
|
759
|
+
* Deduplicates, and splits on whitespace first so an incoming multi-id value is
|
|
760
|
+
* handled. `FormField` renders its own `description` as a `FieldNote`, so the
|
|
761
|
+
* description id arrives twice — once as `descriptionId`, once through the
|
|
762
|
+
* registry — and repeating it makes a screen reader read the hint twice.
|
|
763
|
+
*/
|
|
764
|
+
declare function describedBy(...parts: readonly (string | undefined)[]): string | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* The note registry a field wrapper owns.
|
|
767
|
+
*
|
|
768
|
+
* Every wrapper that publishes a {@link FieldContextValue} calls this and
|
|
769
|
+
* passes both halves through the context: `noteIds` so the control's (or the
|
|
770
|
+
* `<fieldset>`'s) `aria-describedby` reaches each note, `registerNote` so the
|
|
771
|
+
* notes can get themselves in there.
|
|
772
|
+
*/
|
|
773
|
+
declare function useFieldNotes(): {
|
|
774
|
+
noteIds: readonly string[];
|
|
775
|
+
registerNote: (id: string) => () => void;
|
|
776
|
+
};
|
|
606
777
|
/** The ARIA surface a control exposes to its field wrapper. */
|
|
607
778
|
interface FieldControlProps {
|
|
608
779
|
id?: string;
|
|
@@ -692,7 +863,7 @@ declare function useFieldIds({
|
|
|
692
863
|
//#endregion
|
|
693
864
|
//#region src/components/button.d.ts
|
|
694
865
|
declare const buttonVariants: (props?: ({
|
|
695
|
-
variant?: "default" | "secondary" | "accent" | "highlight" | "destructive" | "outline" | "ghost" | "actionNeutral" | "actionPositive" | "actionNegative" |
|
|
866
|
+
variant?: "default" | "link" | "secondary" | "accent" | "highlight" | "destructive" | "outline" | "ghost" | "actionNeutral" | "actionPositive" | "actionNegative" | null | undefined;
|
|
696
867
|
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
697
868
|
fullWidth?: boolean | null | undefined;
|
|
698
869
|
withIcon?: boolean | null | undefined;
|
|
@@ -839,7 +1010,12 @@ interface InputGroupProps {
|
|
|
839
1010
|
htmlFor?: string;
|
|
840
1011
|
/** Validation error message displayed below the input. */
|
|
841
1012
|
error?: string;
|
|
842
|
-
/**
|
|
1013
|
+
/**
|
|
1014
|
+
* Helper text displayed below the input (hidden when error is present).
|
|
1015
|
+
*
|
|
1016
|
+
* Rendered as a `FieldNote`. Compose `FieldNote` children instead when the
|
|
1017
|
+
* note needs its own size, or when there is more than one.
|
|
1018
|
+
*/
|
|
843
1019
|
hint?: string;
|
|
844
1020
|
/** Marks the field as required with a visual indicator. */
|
|
845
1021
|
required?: boolean;
|
|
@@ -871,7 +1047,13 @@ interface OutlinedFieldProps {
|
|
|
871
1047
|
* replays even when the error text is unchanged. Optional for standalone use.
|
|
872
1048
|
*/
|
|
873
1049
|
errorVersion?: number;
|
|
874
|
-
/**
|
|
1050
|
+
/**
|
|
1051
|
+
* Helper text below the field (hidden when `error` is set).
|
|
1052
|
+
*
|
|
1053
|
+
* Rendered as a `FieldNote`. Compose `FieldNote` children instead when the
|
|
1054
|
+
* note needs its own size, or when there is more than one; they are lifted
|
|
1055
|
+
* out of the shell and rendered here too.
|
|
1056
|
+
*/
|
|
875
1057
|
hint?: string;
|
|
876
1058
|
/** Renders a required indicator next to the label. */
|
|
877
1059
|
required?: boolean;
|
|
@@ -893,9 +1075,39 @@ interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaEleme
|
|
|
893
1075
|
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
894
1076
|
//#endregion
|
|
895
1077
|
//#region src/components/label.d.ts
|
|
896
|
-
declare const
|
|
1078
|
+
declare const labelVariants: (props?: ({
|
|
897
1079
|
layout?: "stack" | "inline" | null | undefined;
|
|
898
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string
|
|
1080
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
1081
|
+
interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof Label$1.Root>, VariantProps<typeof labelVariants> {
|
|
1082
|
+
/**
|
|
1083
|
+
* `label` (default), or `legend` for the caption of a `<fieldset>` that
|
|
1084
|
+
* labels a SET of controls.
|
|
1085
|
+
*
|
|
1086
|
+
* A legend is not a `<label for>` — it names the fieldset, not one control —
|
|
1087
|
+
* so it renders as a real `<legend>` rather than through Radix's label
|
|
1088
|
+
* primitive, and the required indicator has to work differently. See
|
|
1089
|
+
* `required`.
|
|
1090
|
+
*/
|
|
1091
|
+
as?: 'label' | 'legend';
|
|
1092
|
+
/**
|
|
1093
|
+
* Renders the required indicator.
|
|
1094
|
+
*
|
|
1095
|
+
* The asterisk is decoration and always `aria-hidden`: on a `<label>` it is
|
|
1096
|
+
* `aria-required` on the control that carries the meaning, and before that a
|
|
1097
|
+
* screen reader either read "star" or skipped it (WCAG 3.3.2). A `<fieldset>`
|
|
1098
|
+
* must not take `aria-required` at all (axe `aria-allowed-attr`), so a legend
|
|
1099
|
+
* puts the requirement in its accessible name instead.
|
|
1100
|
+
*/
|
|
1101
|
+
required?: boolean;
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* The one label a field uses, whichever wrapper renders the field.
|
|
1105
|
+
*
|
|
1106
|
+
* `FormField`, `InputGroup` and a hand-composed field all reach for this, so
|
|
1107
|
+
* they cannot drift on type, weight or the space under the label — which they
|
|
1108
|
+
* had, each carrying its own copy of the classes.
|
|
1109
|
+
*/
|
|
1110
|
+
declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
899
1111
|
//#endregion
|
|
900
1112
|
//#region src/components/select.d.ts
|
|
901
1113
|
declare const Select: React$1.FC<Select$1.SelectProps>;
|
|
@@ -1444,10 +1656,29 @@ declare const FilterButton: React$1.ForwardRefExoticComponent<FilterButtonProps
|
|
|
1444
1656
|
declare const TooltipProvider: React$1.FC<Tooltip$1.TooltipProviderProps>;
|
|
1445
1657
|
declare const Tooltip: React$1.FC<Tooltip$1.TooltipProps>;
|
|
1446
1658
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Tooltip$1.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1447
|
-
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<Tooltip$1.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
1448
|
-
size?: "sm" | "md" | null | undefined;
|
|
1449
|
-
|
|
1450
|
-
|
|
1659
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<Omit<Tooltip$1.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref">, "side" | "align"> & Omit<VariantProps<(props?: ({
|
|
1660
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1661
|
+
withIcon?: boolean | null | undefined;
|
|
1662
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string>, "withIcon"> & {
|
|
1663
|
+
/**
|
|
1664
|
+
* Which edge of the trigger the bubble opens from, flipping to the
|
|
1665
|
+
* opposite edge when there is no room. Radix's own prop, named here so
|
|
1666
|
+
* it shows up in the props table. Defaults to `'top'`.
|
|
1667
|
+
*/
|
|
1668
|
+
side?: Tooltip$1.TooltipContentProps["side"];
|
|
1669
|
+
/**
|
|
1670
|
+
* How the bubble lines up along that edge. Radix's own prop, named here
|
|
1671
|
+
* for the same reason. Defaults to `'center'`.
|
|
1672
|
+
*/
|
|
1673
|
+
align?: Tooltip$1.TooltipContentProps["align"];
|
|
1674
|
+
/**
|
|
1675
|
+
* Leading icon, consumer-owned: any React node (a Lucide glyph, a
|
|
1676
|
+
* `<FontAwesomeIcon />`, an inline SVG). An svg child is sized to the
|
|
1677
|
+
* text; pass a wrapper with your own classes to opt out. Omit for no
|
|
1678
|
+
* icon — the bubble stays a single column.
|
|
1679
|
+
*/
|
|
1680
|
+
icon?: React$1.ReactNode; /** Render the pointing arrow. Defaults to true. */
|
|
1681
|
+
arrow?: boolean;
|
|
1451
1682
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1452
1683
|
declare const TooltipTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1453
1684
|
declare const TooltipDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -1925,7 +2156,7 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
1925
2156
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1926
2157
|
} & {
|
|
1927
2158
|
asChild?: boolean;
|
|
1928
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "
|
|
2159
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
1929
2160
|
label?: string;
|
|
1930
2161
|
shouldFilter?: boolean;
|
|
1931
2162
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -1941,11 +2172,11 @@ declare const CommandDialog: ({
|
|
|
1941
2172
|
children,
|
|
1942
2173
|
...props
|
|
1943
2174
|
}: CommandDialogProps) => react_jsx_runtime0.JSX.Element;
|
|
1944
|
-
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof React$1.InputHTMLAttributes<HTMLInputElement
|
|
2175
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
1945
2176
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
1946
2177
|
} & {
|
|
1947
2178
|
asChild?: boolean;
|
|
1948
|
-
}, "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement
|
|
2179
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
1949
2180
|
value?: string;
|
|
1950
2181
|
onValueChange?: (search: string) => void;
|
|
1951
2182
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -1955,7 +2186,7 @@ declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
1955
2186
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1956
2187
|
} & {
|
|
1957
2188
|
asChild?: boolean;
|
|
1958
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "
|
|
2189
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
1959
2190
|
label?: string;
|
|
1960
2191
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1961
2192
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
@@ -1964,14 +2195,14 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
1964
2195
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1965
2196
|
} & {
|
|
1966
2197
|
asChild?: boolean;
|
|
1967
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "
|
|
2198
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1968
2199
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
1969
2200
|
children?: React$1.ReactNode;
|
|
1970
2201
|
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1971
2202
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1972
2203
|
} & {
|
|
1973
2204
|
asChild?: boolean;
|
|
1974
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "
|
|
2205
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "value" | "heading"> & {
|
|
1975
2206
|
heading?: React$1.ReactNode;
|
|
1976
2207
|
value?: string;
|
|
1977
2208
|
forceMount?: boolean;
|
|
@@ -1980,7 +2211,7 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick
|
|
|
1980
2211
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1981
2212
|
} & {
|
|
1982
2213
|
asChild?: boolean;
|
|
1983
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "
|
|
2214
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
1984
2215
|
alwaysRender?: boolean;
|
|
1985
2216
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1986
2217
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
@@ -1989,7 +2220,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
1989
2220
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1990
2221
|
} & {
|
|
1991
2222
|
asChild?: boolean;
|
|
1992
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "
|
|
2223
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "onSelect" | "value" | "disabled"> & {
|
|
1993
2224
|
disabled?: boolean;
|
|
1994
2225
|
onSelect?: (value: string) => void;
|
|
1995
2226
|
value?: string;
|
|
@@ -3646,5 +3877,5 @@ interface ContrastStripProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
3646
3877
|
*/
|
|
3647
3878
|
declare const ContrastStrip: React$1.ForwardRefExoticComponent<ContrastStripProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3648
3879
|
//#endregion
|
|
3649
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, type AccountSettingsBlockProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AppSidebarBlock, type AppSidebarBlockProps, type SidebarUser as AppSidebarUser, AspectRatio, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeProps, type BisonFont, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHROME_LOOK_CLASSES, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselNavProps, CarouselNext, CarouselPrevious, type CarouselProps, Checkbox, type ChromeLookClasses, CodeInput, type CodeInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContrastStrip, type ContrastStripMode, type ContrastStripProps, CurrencyInput, type CurrencyInputProps, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, type EditableTitleProps, EmptyStateBlock, type EmptyStateBlockProps, type FAQCallToAction, FAQColumnsBlock, type FAQColumnsBlockProps, type FAQItem, type FieldContextValue, type FieldControlProps, type FieldGroupProps, FieldGroupScope, FieldProvider, FilterButton, type FilterButtonProps, type FilterChip, type FilterGroup, type FilterOption, type FilterValue, FloatingNavBlock, type FloatingNavBlockProps, type FloatingNavItem, type FloatingNavLinkProps, type FloatingNavRenderLink, type FloatingNavSubItem, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, type FormData_, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, type GoogleFontConfig, HeaderBlock, type HeaderBlockProps, Input, InputGroup, type InputGroupProps, type InputProps, type InputSize, JsonLd, type JsonLdProps, Kbd, type KbdProps, Label, type LocalBusinessDepartmentJsonLd, type LocalBusinessJsonLd, LookSurface, type LookSurfaceProps, MaintenanceBlock, MediaCard, type MediaCardMeta, type MediaCardProps, type MegaMenu, type MegaMenuColumn, type MegaMenuFooter, type MegaMenuFooterLink, type MegaMenuIcons, type MegaMenuItem, type MegaMenuLink, type MegaMenuMaxWidth, MegaMenuPanel, type MegaMenuPanelData, type MegaMenuPanelProps, type MegaMenuSection, type MegaMenuToFloatingNavOptions, type MegaMenuVariant, type MegaMenuVariants, type MegaMenuWidth, type NapAddress, NapBlock, type NapBlockProps, type NapDepartment, type NapPhone, type NapRecord, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, type NotificationGroup, type NotificationSetting, NotificationSettingsBlock, type NotificationSettingsBlockProps, OutlinedField, type OutlinedFieldProps, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverContent, PopoverTrigger, type PostalAddressJsonLd, type ProcessStepItem, ProcessStepsBlock, type ProcessStepsBlockProps, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, ProgressBar, type ProgressBarFormat, type ProgressBarProps, RadioGroup, RadioGroupItem, Rating, type RatingDistributionItem, type RatingProps, type RenderLink, type RenderLinkProps, ResetPasswordBlock, type ResourceAuthor, type ResourceCategoryStyle, type ResourceItem, ResourcesBlock, type ResourcesBlockProps, type ReviewItem, ReviewsBlock, type ReviewsBlockProps, RotatingBadge, type RotatingBadgeProps, SavedPing, type SavedPingProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type ShowcasePanelItem, ShowcasePanelsBlock, type ShowcasePanelsBlockProps, type ShowcasePanelsLabels, type ShowcaseSpineVariant, Sidebar, SidebarBlock, type SidebarBlockProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, type SidebarItem, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarNavGroup, type SidebarNavItem, type SidebarNavSubItem, SidebarProvider, SidebarRail, type SidebarSection, SidebarSeparator, type SidebarTeam, SidebarTrigger, type SidebarUserMenuItem, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, type SocialFeedBlockProps, type SocialFeedTileSize, type SocialPlatform, type SocialPostItem, type SocialProvider, SocialProviders, Spinner, type SpinnerProps, type StatItem, StatsBandBlock, type StatsBandBlockProps, type StatsBandColumns, Stepper, StepperDescription, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperLabel, type StepperOrientation, type StepperProps, StepperSeparator, type StepperState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellPin, type TableCellProps, TableFooter, TableHead, type TableHeadProps, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, type TestimonialCarouselProps, type TestimonialItem, TestimonialMasonry, type TestimonialMasonryLink, type TestimonialMasonryProps, TextContent, type TextContentProps, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeProvider, ThemeScope, type ThemeScopeProps, ThemeShowcase, type ThemeShowcaseProps, type ThemeShowcaseSection, TimePicker, type TimePickerProps, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, type UseHideOnScrollOptions, type UseScrollRevealOptions, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, avgFooter, badgeVariants, buttonVariants, cn, countFooter, dateRangePresets, editableTitleVariants, filterChips, filterCount, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, megaMenuVariantsFromLooks, megaMenuVariantsFromTones, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, sumFooter, switchVariants, testimonialInitials, themeShowcaseSections, toColumnFilters, toast, toggleFilter, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
3880
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, type AccountSettingsBlockProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AppSidebarBlock, type AppSidebarBlockProps, type SidebarUser as AppSidebarUser, AspectRatio, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeProps, type BisonFont, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHROME_LOOK_CLASSES, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselNavProps, CarouselNext, CarouselPrevious, type CarouselProps, Checkbox, type ChromeLookClasses, CodeInput, type CodeInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContrastStrip, type ContrastStripMode, type ContrastStripProps, CurrencyInput, type CurrencyInputProps, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, type EditableTitleProps, EmptyStateBlock, type EmptyStateBlockProps, type FAQCallToAction, FAQColumnsBlock, type FAQColumnsBlockProps, type FAQItem, FIELD_LABEL_SPACING, FIELD_NOTE_SPACING, type FieldContextValue, type FieldControlProps, type FieldGroupProps, FieldGroupScope, FieldNote, type FieldNoteProps, FieldProvider, type FieldSpacing, FilterButton, type FilterButtonProps, type FilterChip, type FilterGroup, type FilterOption, type FilterValue, FloatingNavBlock, type FloatingNavBlockProps, type FloatingNavItem, type FloatingNavLinkProps, type FloatingNavRenderLink, type FloatingNavSubItem, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, type FormData_, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, type GoogleFontConfig, HeaderBlock, type HeaderBlockProps, Input, InputGroup, type InputGroupProps, type InputProps, type InputSize, JsonLd, type JsonLdProps, Kbd, type KbdProps, Label, type LabelProps, type LocalBusinessDepartmentJsonLd, type LocalBusinessJsonLd, LookSurface, type LookSurfaceProps, MaintenanceBlock, MediaCard, type MediaCardMeta, type MediaCardProps, type MegaMenu, type MegaMenuColumn, type MegaMenuFooter, type MegaMenuFooterLink, type MegaMenuIcons, type MegaMenuItem, type MegaMenuLink, type MegaMenuMaxWidth, MegaMenuPanel, type MegaMenuPanelData, type MegaMenuPanelProps, type MegaMenuSection, type MegaMenuToFloatingNavOptions, type MegaMenuVariant, type MegaMenuVariants, type MegaMenuWidth, type NapAddress, NapBlock, type NapBlockProps, type NapDepartment, type NapPhone, type NapRecord, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, type NotificationGroup, type NotificationSetting, NotificationSettingsBlock, type NotificationSettingsBlockProps, OutlinedField, type OutlinedFieldProps, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverContent, PopoverTrigger, type PostalAddressJsonLd, type ProcessStepItem, ProcessStepsBlock, type ProcessStepsBlockProps, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, ProgressBar, type ProgressBarFormat, type ProgressBarProps, RadioGroup, RadioGroupItem, Rating, type RatingDistributionItem, type RatingProps, type RenderLink, type RenderLinkProps, ResetPasswordBlock, type ResourceAuthor, type ResourceCategoryStyle, type ResourceItem, ResourcesBlock, type ResourcesBlockProps, type ReviewItem, ReviewsBlock, type ReviewsBlockProps, RotatingBadge, type RotatingBadgeProps, SavedPing, type SavedPingProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type ShowcasePanelItem, ShowcasePanelsBlock, type ShowcasePanelsBlockProps, type ShowcasePanelsLabels, type ShowcaseSpineVariant, Sidebar, SidebarBlock, type SidebarBlockProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, type SidebarItem, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarNavGroup, type SidebarNavItem, type SidebarNavSubItem, SidebarProvider, SidebarRail, type SidebarSection, SidebarSeparator, type SidebarTeam, SidebarTrigger, type SidebarUserMenuItem, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, type SocialFeedBlockProps, type SocialFeedTileSize, type SocialPlatform, type SocialPostItem, type SocialProvider, SocialProviders, Spinner, type SpinnerProps, type StatItem, StatsBandBlock, type StatsBandBlockProps, type StatsBandColumns, Stepper, StepperDescription, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperLabel, type StepperOrientation, type StepperProps, StepperSeparator, type StepperState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellPin, type TableCellProps, TableFooter, TableHead, type TableHeadProps, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, type TestimonialCarouselProps, type TestimonialItem, TestimonialMasonry, type TestimonialMasonryLink, type TestimonialMasonryProps, TextContent, type TextContentProps, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeProvider, ThemeScope, type ThemeScopeProps, ThemeShowcase, type ThemeShowcaseProps, type ThemeShowcaseSection, TimePicker, type TimePickerProps, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, type UseHideOnScrollOptions, type UseScrollRevealOptions, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, avgFooter, badgeVariants, buttonVariants, cn, countFooter, dateRangePresets, editableTitleVariants, describedBy as fieldDescribedBy, fieldSpacing, filterChips, filterCount, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, megaMenuVariantsFromLooks, megaMenuVariantsFromTones, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, splitFieldNotes, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, sumFooter, switchVariants, testimonialInitials, themeShowcaseSections, toColumnFilters, toast, toggleFilter, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFieldNotes, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
3650
3881
|
//# sourceMappingURL=index.d.mts.map
|