@collective-intelligence/ui-react 0.1.1 → 0.1.3
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/README.md +3 -1
- package/dist/components/icons/index.js +1 -1
- package/dist/components/illustrations/index.d.ts +8 -8
- package/dist/components/illustrations/index.js +1 -1
- package/dist/components/ui/index.js +20 -1
- package/dist/components/ui-extensions/atoms/ThemeToggle/index.js +1 -1
- package/dist/components/ui-extensions/hooks/use-mobile.js +1 -1
- package/dist/components/ui-extensions/index.d.ts +12 -0
- package/dist/components/ui-extensions/index.js +6 -6
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/operations.js +1 -1
- package/dist/hooks/use-debounced-callback.js +1 -1
- package/dist/hooks/use-mount-action.js +1 -1
- package/dist/index-1hg2mydq.js +2 -0
- package/dist/index-1kd3e9cz.js +2 -0
- package/dist/index-24awe3d6.js +2 -0
- package/dist/index-38cmkpwj.js +6 -0
- package/dist/index-42q094m7.js +2 -0
- package/dist/index-75cf149h.js +2 -0
- package/dist/index-7gzq3np4.js +2 -0
- package/dist/index-87bxrmfq.js +42 -0
- package/dist/index-9nkdbb33.js +2 -0
- package/dist/index-ckt9z566.js +2 -0
- package/dist/index-db7hx21g.js +2 -0
- package/dist/index-k79cbjh7.js +2 -0
- package/dist/index-q2bgrvjz.js +2 -0
- package/dist/index-rgye3pe5.js +2 -0
- package/dist/index-s7dyqth2.js +2 -0
- package/dist/index-vs10z2rc.js +2 -0
- package/dist/index-whabarfn.js +2 -0
- package/dist/index-x6g6brsv.js +2 -0
- package/dist/index-ycc4mvy6.js +2 -0
- package/dist/index.js +1 -1
- package/dist/resources.d.ts +2 -1
- package/dist/resources.js +1 -1
- package/dist/tokens/theme.js +1 -1
- package/dist/utils/cn.js +1 -1
- package/package.json +3 -3
- package/dist/index-225zhfvs.js +0 -2
- package/dist/index-4djc1w16.js +0 -2
- package/dist/index-5m33z54y.js +0 -25
- package/dist/index-eevg910d.js +0 -2
- package/dist/index-f91yzwpm.js +0 -2
- package/dist/index-fdh3nr3r.js +0 -2
- package/dist/index-fmpwyc92.js +0 -2
- package/dist/index-gzgwcnnv.js +0 -42
- package/dist/index-kghpgv95.js +0 -2
- package/dist/index-m283d3wz.js +0 -2
- package/dist/index-mtc4857g.js +0 -2
- package/dist/index-y8r5sgrk.js +0 -2
- package/dist/index-yaz3187s.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
2
|
+
import"../../../../index-s7dyqth2.js";import"../../../../index-87bxrmfq.js";import"../../../../index-whabarfn.js";import{no}from"../../../../index-ckt9z566.js";import"../../../../index-1hg2mydq.js";export{no as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{vt}from"../../../index-24awe3d6.js";export{vt as useIsMobile};
|
|
@@ -643,6 +643,18 @@ export interface JsonViewerDialogProps {
|
|
|
643
643
|
jsonViewerProps?: Omit<JsonViewerProps, "data">;
|
|
644
644
|
}
|
|
645
645
|
export declare const JsonViewerDialog: ({ open, onOpenChange, title, data, jsonViewerProps }: JsonViewerDialogProps) => React$1.JSX.Element;
|
|
646
|
+
export interface LabeledFieldProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "id"> {
|
|
647
|
+
/** The id of the control that `children` renders. The label points at it. */
|
|
648
|
+
id: string;
|
|
649
|
+
label: React$1.ReactNode;
|
|
650
|
+
/** Shown in parentheses after the label of a field that can stay empty. */
|
|
651
|
+
optionalLabel?: string;
|
|
652
|
+
help?: string;
|
|
653
|
+
/** Replaces the help text and is announced as an alert. */
|
|
654
|
+
error?: string;
|
|
655
|
+
}
|
|
656
|
+
/** A labelled control with its help text, or with the error that replaces it. */
|
|
657
|
+
export declare const LabeledField: React$1.ForwardRefExoticComponent<LabeledFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
646
658
|
export interface LinkComponentProps {
|
|
647
659
|
to: string;
|
|
648
660
|
className?: string;
|