demio-ui 2.1.83 → 2.1.84
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/cjs/index.css +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/types/src/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/cjs/types/src/components/Tooltip/Tooltip.d.ts +12 -11
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/types/src/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/esm/types/src/components/Tooltip/Tooltip.d.ts +12 -11
- package/dist/types.d.ts +13 -12
- package/package.json +1 -1
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
11
11
|
value?: string;
|
|
12
12
|
};
|
|
13
|
-
declare const Checkbox: React.MemoExoticComponent<
|
|
13
|
+
declare const Checkbox: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>>;
|
|
14
14
|
export default Checkbox;
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type Props = {
|
|
3
|
-
|
|
3
|
+
align?: 'start' | 'center' | 'end';
|
|
4
|
+
alignOffset?: number;
|
|
4
5
|
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
collisionBoundary?: HTMLElement | null | Array<HTMLElement | null>;
|
|
8
|
+
container?: HTMLElement | null;
|
|
5
9
|
content: React.ReactNode | string;
|
|
6
|
-
open?: boolean;
|
|
7
10
|
defaultOpen?: boolean;
|
|
11
|
+
delayDuration?: number;
|
|
12
|
+
isCustomTrigger?: boolean;
|
|
13
|
+
isPortal?: boolean;
|
|
14
|
+
isTriggerAsChild?: boolean;
|
|
8
15
|
onOpenChange?: (open: boolean) => void;
|
|
16
|
+
open?: boolean;
|
|
9
17
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
10
|
-
align?: 'start' | 'center' | 'end';
|
|
11
|
-
className?: string;
|
|
12
|
-
delayDuration?: number;
|
|
13
|
-
skipDelayDuration?: number;
|
|
14
|
-
alignOffset?: number;
|
|
15
18
|
sideOffset?: number;
|
|
16
|
-
|
|
17
|
-
container?: HTMLElement | null;
|
|
18
|
-
collisionBoundary?: HTMLElement | null | Array<HTMLElement | null>;
|
|
19
|
+
skipDelayDuration?: number;
|
|
19
20
|
};
|
|
20
21
|
/**
|
|
21
22
|
* Accessibility [Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/tooltip#keyboard-interactions)
|
|
22
23
|
**/
|
|
23
|
-
export declare function Tooltip({
|
|
24
|
+
export declare function Tooltip({ align, alignOffset, children, className, collisionBoundary, container, content, defaultOpen, delayDuration, isCustomTrigger, isPortal, isTriggerAsChild, open, onOpenChange, side, sideOffset, skipDelayDuration, ...props }: Props): string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
|
24
25
|
export default Tooltip;
|
package/dist/types.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ type Props$g = {
|
|
|
98
98
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
99
99
|
value?: string;
|
|
100
100
|
};
|
|
101
|
-
declare const Checkbox: React__default.MemoExoticComponent<
|
|
101
|
+
declare const Checkbox: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$g & React__default.RefAttributes<HTMLDivElement>>>;
|
|
102
102
|
|
|
103
103
|
type Props$f = {
|
|
104
104
|
children?: ReactNode;
|
|
@@ -373,27 +373,28 @@ interface TagProps extends PropsWithChildren {
|
|
|
373
373
|
declare function Tag({ children, onDelete, className }: TagProps): React__default.JSX.Element;
|
|
374
374
|
|
|
375
375
|
type Props = {
|
|
376
|
-
|
|
376
|
+
align?: 'start' | 'center' | 'end';
|
|
377
|
+
alignOffset?: number;
|
|
377
378
|
children: React__default.ReactNode;
|
|
379
|
+
className?: string;
|
|
380
|
+
collisionBoundary?: HTMLElement | null | Array<HTMLElement | null>;
|
|
381
|
+
container?: HTMLElement | null;
|
|
378
382
|
content: React__default.ReactNode | string;
|
|
379
|
-
open?: boolean;
|
|
380
383
|
defaultOpen?: boolean;
|
|
384
|
+
delayDuration?: number;
|
|
385
|
+
isCustomTrigger?: boolean;
|
|
386
|
+
isPortal?: boolean;
|
|
387
|
+
isTriggerAsChild?: boolean;
|
|
381
388
|
onOpenChange?: (open: boolean) => void;
|
|
389
|
+
open?: boolean;
|
|
382
390
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
383
|
-
align?: 'start' | 'center' | 'end';
|
|
384
|
-
className?: string;
|
|
385
|
-
delayDuration?: number;
|
|
386
|
-
skipDelayDuration?: number;
|
|
387
|
-
alignOffset?: number;
|
|
388
391
|
sideOffset?: number;
|
|
389
|
-
|
|
390
|
-
container?: HTMLElement | null;
|
|
391
|
-
collisionBoundary?: HTMLElement | null | Array<HTMLElement | null>;
|
|
392
|
+
skipDelayDuration?: number;
|
|
392
393
|
};
|
|
393
394
|
/**
|
|
394
395
|
* Accessibility [Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/tooltip#keyboard-interactions)
|
|
395
396
|
**/
|
|
396
|
-
declare function Tooltip({
|
|
397
|
+
declare function Tooltip({ align, alignOffset, children, className, collisionBoundary, container, content, defaultOpen, delayDuration, isCustomTrigger, isPortal, isTriggerAsChild, open, onOpenChange, side, sideOffset, skipDelayDuration, ...props }: Props): string | number | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | null | undefined;
|
|
397
398
|
|
|
398
399
|
interface TypoProps extends PropsWithChildren {
|
|
399
400
|
className?: string;
|