demio-ui 2.1.14 → 2.1.16
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 +2 -2
- package/dist/cjs/types/src/components/InfoBanner/InfoBanner.d.ts +10 -0
- package/dist/cjs/types/src/components/InfoBanner/index.d.ts +1 -0
- package/dist/cjs/types/src/components/index.d.ts +1 -0
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/types/src/components/InfoBanner/InfoBanner.d.ts +10 -0
- package/dist/esm/types/src/components/InfoBanner/index.d.ts +1 -0
- package/dist/esm/types/src/components/index.d.ts +1 -0
- package/dist/types.d.ts +19 -11
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './InfoBanner';
|
|
@@ -2,6 +2,7 @@ export { default as Alert } from './Alert';
|
|
|
2
2
|
export { default as Button } from './Button';
|
|
3
3
|
export { default as Checkbox } from './Checkbox';
|
|
4
4
|
export { default as FormGroup } from './FormGroup';
|
|
5
|
+
export { default as InfoBanner } from './InfoBanner';
|
|
5
6
|
export { default as Input } from './Input';
|
|
6
7
|
export { default as InputHint } from './InputHint';
|
|
7
8
|
export { default as Label } from './Label';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { MouseEventHandler, FC } from 'react';
|
|
2
|
+
import React__default, { MouseEventHandler, FC, ReactNode } from 'react';
|
|
3
3
|
import { PopoverContentTypeProps } from '@radix-ui/react-popover';
|
|
4
4
|
export { Content as PopoverContent, Portal as PopoverPortal, Root as PopoverRoot, Trigger as PopoverTrigger } from '@radix-ui/react-popover';
|
|
5
5
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
6
6
|
|
|
7
|
-
type Props$
|
|
7
|
+
type Props$e = {
|
|
8
8
|
open: boolean;
|
|
9
9
|
actionText?: string;
|
|
10
10
|
onActionClick: MouseEventHandler<HTMLButtonElement>;
|
|
@@ -19,9 +19,9 @@ type Props$d = {
|
|
|
19
19
|
maxWidth?: string;
|
|
20
20
|
isCloseButtonVisible?: boolean;
|
|
21
21
|
};
|
|
22
|
-
declare function Alert({ open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, }: Props$
|
|
22
|
+
declare function Alert({ open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, }: Props$e): React__default.JSX.Element;
|
|
23
23
|
|
|
24
|
-
type Props$
|
|
24
|
+
type Props$d = {
|
|
25
25
|
disabled?: boolean;
|
|
26
26
|
children?: string;
|
|
27
27
|
size?: 'small' | 'medium' | 'large';
|
|
@@ -37,9 +37,9 @@ type Props$c = {
|
|
|
37
37
|
/**
|
|
38
38
|
* Button component documentation.
|
|
39
39
|
**/
|
|
40
|
-
declare const Button: React__default.ForwardRefExoticComponent<Props$
|
|
40
|
+
declare const Button: React__default.ForwardRefExoticComponent<Props$d & React__default.RefAttributes<HTMLButtonElement>>;
|
|
41
41
|
|
|
42
|
-
type Props$
|
|
42
|
+
type Props$c = {
|
|
43
43
|
children: React__default.ReactNode;
|
|
44
44
|
disabled?: boolean;
|
|
45
45
|
id: string;
|
|
@@ -56,15 +56,24 @@ type Props$b = {
|
|
|
56
56
|
/**
|
|
57
57
|
* Checkbox component documentation.
|
|
58
58
|
**/
|
|
59
|
-
declare function Checkbox({ children, id, checked, onChange, disabled, defaultChecked, name, value, ...props }: Props$
|
|
59
|
+
declare function Checkbox({ children, id, checked, onChange, disabled, defaultChecked, name, value, ...props }: Props$c): React__default.JSX.Element;
|
|
60
60
|
|
|
61
|
-
type Props$
|
|
61
|
+
type Props$b = {
|
|
62
62
|
children: React__default.ReactNode;
|
|
63
63
|
position?: 'horizontal' | 'vertical';
|
|
64
64
|
justify?: 'between' | 'start';
|
|
65
65
|
alignItems?: 'start' | 'stretch';
|
|
66
66
|
};
|
|
67
|
-
declare function FormGroup({ children, position, justify, alignItems, }: Props$
|
|
67
|
+
declare function FormGroup({ children, position, justify, alignItems, }: Props$b): React__default.JSX.Element;
|
|
68
|
+
|
|
69
|
+
type Props$a = {
|
|
70
|
+
icon?: ReactNode;
|
|
71
|
+
title?: ReactNode;
|
|
72
|
+
text?: ReactNode;
|
|
73
|
+
className?: string;
|
|
74
|
+
children?: ReactNode;
|
|
75
|
+
};
|
|
76
|
+
declare const InfoBanner: FC<Props$a>;
|
|
68
77
|
|
|
69
78
|
type Props$9 = {
|
|
70
79
|
autoComplete?: 'off' | 'on';
|
|
@@ -1153,7 +1162,6 @@ var SvgRocket = function SvgRocket(props) {
|
|
|
1153
1162
|
fill: "none",
|
|
1154
1163
|
viewBox: "0 0 24 24"
|
|
1155
1164
|
}, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
|
|
1156
|
-
fill: "#1C1B1F",
|
|
1157
1165
|
d: "M7.1 11.35q.35-.7.725-1.35t.825-1.3l-1.4-.275-2.1 2.1zm12.05-6.875q-1.75.05-3.737 1.025A13.5 13.5 0 0 0 11.8 8.1q-1.05 1.05-1.875 2.25T8.7 12.6l2.85 2.825q1.05-.4 2.25-1.225t2.25-1.875a13.6 13.6 0 0 0 2.6-3.6Q19.625 6.75 19.675 5a.6.6 0 0 0-.038-.2.49.49 0 0 0-.287-.288.6.6 0 0 0-.2-.037m-5.5 6a1.92 1.92 0 0 1-.575-1.413q0-.837.575-1.412t1.425-.575 1.425.575.575 1.412a1.92 1.92 0 0 1-.575 1.413q-.575.575-1.425.575t-1.425-.575m-.85 6.55L13.625 19l2.1-2.1-.275-1.4q-.65.45-1.3.813t-1.35.712m8.775-13.35q.2 2.75-.9 5.362T17.2 14.025l.5 2.475q.1.5-.05.975t-.5.825L14 21.45a.98.98 0 0 1-.9.288.9.9 0 0 1-.725-.588l-1.525-3.575L6.575 13.3 3 11.775a.92.92 0 0 1-.6-.725.95.95 0 0 1 .275-.9L5.825 7q.35-.35.838-.5t.987-.05l2.475.5q2.375-2.375 4.988-3.475 2.612-1.1 5.362-.9.2.025.4.112a1.13 1.13 0 0 1 .587.588q.088.2.113.4m-17.65 12.3q.875-.876 2.138-.887 1.262-.013 2.137.862.874.875.863 2.137-.014 1.263-.888 2.138-.625.625-2.087 1.075t-4.038.8q.35-2.575.8-4.038.45-1.462 1.075-2.087m1.425 1.4q-.25.25-.5.913a6.5 6.5 0 0 0-.35 1.337q.675-.101 1.338-.337.662-.238.912-.488.3-.3.325-.725a.9.9 0 0 0-.275-.725.95.95 0 0 0-.725-.288 1.03 1.03 0 0 0-.725.313"
|
|
1158
1166
|
})));
|
|
1159
1167
|
};
|
|
@@ -1563,4 +1571,4 @@ declare namespace index {
|
|
|
1563
1571
|
export { SvgAdd as AddIcon, SvgKeyboardArrowDown as ArrowDownIcon, SvgArrowLeft as ArrowLeftIcon, SvgBlock as BlockIcon, SvgBlurOn as BlurOnIcon, SvgCached as CachedIcon, SvgCalendar as CalendarIcon, SvgCalendarStar as CalendarStarIcon, SvgCheckCircle as CheckCircleIcon, SvgCheckbox as CheckboxIcon, SvgCheckboxUncheck as CheckboxUncheckIcon, SvgClock as ClockIcon, SvgClose as CloseIcon, SvgCustomize as CustomizeIcon, SvgDelete as DeleteIcon, SvgDots as DotsIcon, SvgElectricBolt as ElectricBoltIcon, SvgEventDetails as EventDetailsIcon, SvgEventRepeat as EventRepeatIcon, SvgExclamation as ExclamationIcon, SvgExternalLink as ExternalLinkIcon, SvgFile as FileIcon, SvgFilterList as FilterListIcon, SvgInfo as InfoIcon, SvgInfo1 as InfoSolidIcon, SvgItems as ItemsIcon, SvgList as ListIcon, SvgListTh as ListThIcon, SvgLock as LockIcon, SvgMagic as MagicIcon, SvgMaterials as MaterialsIcon, SvgMicOff1 as MicOffIcon, SvgMicOff as MicOffSolidIcon, SvgMic1 as MicOnSolidIcon, SvgMic as MicOnfIcon, SvgPasswordEyeCrossed as PasswordEyeCrossedIcon, SvgPasswordEye as PasswordEyeIcon, SvgPlay as PlayIcon, SvgPoll as PollIcon, SvgProgress as ProgressIcon, SvgReplayDisabled as ReplayDisabledIcon, SvgRocket as RocketIcon, SvgSearch as SearchIcon, SvgSmile as SmileIcon, SvgStackedEmail as StackedEmailIcon, SvgToday as TodayIcon, SvgTrendingDown as TrendingDownIcon, SvgTrendingUp as TrendingUpIcon, SvgVideocamOff as VideoCamOffIcon, SvgVideocamOff1 as VideoCamOffSolidIcon, SvgVideocam as VideoCamOnIcon, SvgVideocam1 as VideoCamOnSolidIcon, SvgVolumeOff1 as VolumeOffIcon, SvgVolumeOff as VolumeOffSolidIcon, SvgVolumeUp1 as VolumeUpIcon, SvgVolumeUp as VolumeUpSolidIcon, SvgWarning1 as WarningIcon, SvgWarning as WarningSolidIcon };
|
|
1564
1572
|
}
|
|
1565
1573
|
|
|
1566
|
-
export { Alert, Button, Checkbox, FormGroup, Input, InputHint, Label, Loader, Modal, Popover, Progress, RadioGroup, Select, SelectItem, SelectItemText, Switch, Tab, TabsContent, TabsList, TabsRoot, Tooltip, index as icons };
|
|
1574
|
+
export { Alert, Button, Checkbox, FormGroup, InfoBanner, Input, InputHint, Label, Loader, Modal, Popover, Progress, RadioGroup, Select, SelectItem, SelectItemText, Switch, Tab, TabsContent, TabsList, TabsRoot, Tooltip, index as icons };
|