@dotss/ui 1.6.0 → 1.7.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/Accordion/index.d.ts +1 -0
- package/Autocomplete/index.d.ts +1 -0
- package/Backdrop/index.d.ts +1 -0
- package/Badge/index.d.ts +1 -0
- package/BottomSheet/BottomSheetAction/index.d.ts +1 -0
- package/BottomSheet/BottomSheetContent/index.d.ts +1 -0
- package/BottomSheet/BottomSheetText/index.d.ts +1 -0
- package/BottomSheet/BottomSheetTitle/index.d.ts +1 -0
- package/BottomSheet/index.d.ts +5 -0
- package/Box/index.d.ts +1 -0
- package/CHANGELOG.md +33 -0
- package/Card/index.d.ts +1 -0
- package/ChainPicker/ChainPicker.stories.d.ts +1 -1
- package/ChainPicker/index.d.ts +1 -1
- package/Checkbox/index.d.ts +1 -0
- package/Chip/index.d.ts +1 -0
- package/CircularProgressIndicator/index.d.ts +1 -0
- package/ClickAwayListener/index.d.ts +1 -0
- package/DatePicker/EventDot/index.d.ts +1 -0
- package/DatePicker/EventDotGroup/index.d.ts +1 -0
- package/DatePicker/index.d.ts +4 -2
- package/Dialog/DialogText/index.d.ts +1 -0
- package/Dialog/DialogTitle/index.d.ts +1 -0
- package/Dialog/index.d.ts +3 -0
- package/Flexbox/index.d.ts +1 -0
- package/FocusBoundary/index.d.ts +1 -0
- package/FormControlText/index.d.ts +1 -0
- package/Icon/index.d.ts +1 -0
- package/IconButton/index.d.ts +1 -0
- package/Label/index.d.ts +1 -0
- package/LineProgressIndicator/index.d.ts +1 -0
- package/Menu/MenuBlock/index.d.ts +1 -0
- package/Menu/MenuButton/index.d.ts +1 -0
- package/Menu/index.d.ts +3 -0
- package/NumberKeypad/NumberKeypadBlock/index.d.ts +1 -0
- package/NumberKeypad/index.d.ts +2 -0
- package/PageControl/index.d.ts +1 -0
- package/Radio/index.d.ts +1 -0
- package/RadioGroup/index.d.ts +1 -0
- package/SegmentedButton/SegmentedButtonBlock/index.d.ts +1 -0
- package/SegmentedButton/index.d.ts +2 -0
- package/Select/Option/index.d.ts +1 -0
- package/Select/index.d.ts +2 -0
- package/Skeleton/index.d.ts +1 -0
- package/Slider/index.d.ts +1 -0
- package/Snackbar/index.d.ts +1 -0
- package/Switch/index.d.ts +1 -0
- package/Tab/TabBlock/index.d.ts +1 -0
- package/Tab/index.d.ts +2 -0
- package/TextArea/index.d.ts +1 -0
- package/TextField/index.d.ts +1 -0
- package/Tooltip/index.d.ts +1 -0
- package/Typography/index.d.ts +1 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/interactions/useCollapse/useCollapse.d.ts +1 -1
- package/hooks/useCheckHasFocus/useCheckHasFocus.d.ts +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +40 -2
- package/index.es.js +2 -0
- package/package.json +2 -34
- package/utils/isPrefersReducedMotion/isPrefersReducedMotion.cjs +1 -1
- package/utils/isPrefersReducedMotion/isPrefersReducedMotion.es.js +1 -1
package/Accordion/index.d.ts
CHANGED
package/Autocomplete/index.d.ts
CHANGED
package/Backdrop/index.d.ts
CHANGED
package/Badge/index.d.ts
CHANGED
package/BottomSheet/index.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { default as BottomSheet } from './BottomSheet';
|
|
2
2
|
|
|
3
|
+
export type { BottomSheetProps } from './BottomSheet';
|
|
3
4
|
export { default as BottomSheetTitle } from './BottomSheetTitle';
|
|
5
|
+
export type { BottomSheetTitleProps } from './BottomSheetTitle';
|
|
4
6
|
export { default as BottomSheetContent } from './BottomSheetContent';
|
|
7
|
+
export type { BottomSheetContentProps } from './BottomSheetContent';
|
|
5
8
|
export { default as BottomSheetAction } from './BottomSheetAction';
|
|
9
|
+
export type { BottomSheetActionProps } from './BottomSheetAction';
|
|
6
10
|
export { default as BottomSheetText } from './BottomSheetText';
|
|
11
|
+
export type { BottomSheetTextProps } from './BottomSheetText';
|
|
7
12
|
export default BottomSheet;
|
package/Box/index.d.ts
CHANGED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @dotss/ui
|
|
2
|
+
|
|
3
|
+
## 1.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bb267c2: feat(ui): 컴포넌트Props 인터페이스 export 처리
|
|
8
|
+
|
|
9
|
+
## 1.0.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
### Documentation
|
|
14
|
+
|
|
15
|
+
- 1.0.3 릴리즈 ([67b2ccb](https://github.com/thedotscorp/dots/commit/67b2ccb96108b1d1035df95482378cc5ed9b6bab))
|
|
16
|
+
|
|
17
|
+
### Documentation
|
|
18
|
+
|
|
19
|
+
- 1.0.3 릴리즈 ([67b2ccb](https://github.com/thedotscorp/dots/commit/67b2ccb96108b1d1035df95482378cc5ed9b6bab))
|
|
20
|
+
|
|
21
|
+
### Documentation
|
|
22
|
+
|
|
23
|
+
- 1.0.3 릴리즈 ([67b2ccb](https://github.com/thedotscorp/dots/commit/67b2ccb96108b1d1035df95482378cc5ed9b6bab))
|
|
24
|
+
|
|
25
|
+
## 0.0.10
|
|
26
|
+
|
|
27
|
+
## 0.0.6
|
|
28
|
+
|
|
29
|
+
## 0.0.5
|
|
30
|
+
|
|
31
|
+
## 0.0.4
|
|
32
|
+
|
|
33
|
+
## 0.0.2
|
package/Card/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import('react').ForwardRefExoticComponent<import('
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('..').ChainPickerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
6
|
tags: string[];
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
package/ChainPicker/index.d.ts
CHANGED
package/Checkbox/index.d.ts
CHANGED
package/Chip/index.d.ts
CHANGED
package/DatePicker/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as DatePicker } from './DatePicker';
|
|
2
2
|
|
|
3
|
-
export type { DatePickerValue, DateValue
|
|
3
|
+
export type { DateFormatter, DatePickerProps, DatePickerValue, DateValue } from './DatePicker';
|
|
4
4
|
export { default as EventDot } from './EventDot';
|
|
5
|
+
export type { EventDotProps } from './EventDot';
|
|
5
6
|
export { default as EventDotGroup } from './EventDotGroup';
|
|
7
|
+
export type { EventGroupProps } from './EventDotGroup';
|
|
6
8
|
export default DatePicker;
|
package/Dialog/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { default as Dialog } from './Dialog';
|
|
2
2
|
|
|
3
|
+
export type { DialogProps } from './Dialog';
|
|
3
4
|
export { default as DialogTitle } from './DialogTitle';
|
|
5
|
+
export type { DialogTitleProps } from './DialogTitle';
|
|
4
6
|
export { default as DialogContent } from './DialogContent';
|
|
5
7
|
export { default as DialogAction } from './DialogAction';
|
|
6
8
|
export { default as DialogText } from './DialogText';
|
|
9
|
+
export type { DialogTextProps } from './DialogText';
|
|
7
10
|
export default Dialog;
|
package/Flexbox/index.d.ts
CHANGED
package/FocusBoundary/index.d.ts
CHANGED
package/Icon/index.d.ts
CHANGED
package/IconButton/index.d.ts
CHANGED
package/Label/index.d.ts
CHANGED
package/Menu/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { default as Menu } from './Menu';
|
|
2
2
|
|
|
3
|
+
export type { MenuProps } from './Menu';
|
|
3
4
|
export { default as MenuBlock } from './MenuBlock';
|
|
5
|
+
export type { MenuBlockProps } from './MenuBlock';
|
|
4
6
|
export { default as MenuButton } from './MenuButton';
|
|
7
|
+
export type { MenuButtonProps } from './MenuButton';
|
|
5
8
|
export default Menu;
|
package/NumberKeypad/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { default as NumberKeypad } from './NumberKeypad';
|
|
2
2
|
|
|
3
|
+
export type { NumberKeypadProps } from './NumberKeypad';
|
|
3
4
|
export { default as NumberKeypadBlock } from './NumberKeypadBlock';
|
|
5
|
+
export type { NumberKeypadBlockProps } from './NumberKeypadBlock';
|
|
4
6
|
export default NumberKeypad;
|
package/PageControl/index.d.ts
CHANGED
package/Radio/index.d.ts
CHANGED
package/RadioGroup/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { default as SegmentedButton } from './SegmentedButton';
|
|
2
2
|
|
|
3
|
+
export type { SegmentedButtonProps } from './SegmentedButton';
|
|
3
4
|
export { default as SegmentedButtonBlock } from './SegmentedButtonBlock';
|
|
5
|
+
export type { SegmentedButtonBlockProps } from './SegmentedButtonBlock';
|
|
4
6
|
export default SegmentedButton;
|
package/Select/Option/index.d.ts
CHANGED
package/Select/index.d.ts
CHANGED
package/Skeleton/index.d.ts
CHANGED
package/Slider/index.d.ts
CHANGED
package/Snackbar/index.d.ts
CHANGED
package/Switch/index.d.ts
CHANGED
package/Tab/TabBlock/index.d.ts
CHANGED
package/Tab/index.d.ts
CHANGED
package/TextArea/index.d.ts
CHANGED
package/TextField/index.d.ts
CHANGED
package/Tooltip/index.d.ts
CHANGED
package/Typography/index.d.ts
CHANGED
package/hooks/index.d.ts
CHANGED
|
@@ -7,5 +7,6 @@ export { default as useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffec
|
|
|
7
7
|
export { default as usePrefersReducedMotion } from './usePrefersReducedMotion/usePrefersReducedMotion';
|
|
8
8
|
export { default as useForm } from './useForm/useForm';
|
|
9
9
|
export type { UseFocusBoundaryProps } from './useFocusBoundary/useFocusBoundary';
|
|
10
|
+
export type { UseCheckHasFocusProps } from './useCheckHasFocus/useCheckHasFocus';
|
|
10
11
|
export type { UseCollapseProps } from './interactions/useCollapse/useCollapse';
|
|
11
12
|
export type { FieldErrors, FormContext, FormFieldHelper, OnSubmitFn, SubmitFn, ValidateFn, UseFormProps, UseFormReturn } from './useForm/useForm';
|
|
@@ -9,7 +9,7 @@ export interface UseCollapseProps {
|
|
|
9
9
|
onTransitionEnd?: () => void;
|
|
10
10
|
}
|
|
11
11
|
export default function useCollapse({ isCollapsed, duration, delay, easing, onTransitionStart, onTransitionEnd }?: UseCollapseProps): {
|
|
12
|
-
targetRef: import('react').RefObject<HTMLDivElement>;
|
|
12
|
+
targetRef: import('react').RefObject<HTMLDivElement | null>;
|
|
13
13
|
isCollapsed: boolean;
|
|
14
14
|
height: CSSValue;
|
|
15
15
|
style: {
|
package/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Button/Button.cjs"),t=require("./Icon/Icon.cjs"),o=require("./Label/Label.cjs"),r=require("./Typography/Typography.cjs"),u=require("./Box/Box.cjs"),n=require("./Flexbox/Flexbox.cjs"),a=require("./TextField/TextField.cjs"),i=require("./TextArea/TextArea.cjs"),l=require("./IconButton/IconButton.cjs"),c=require("./PageControl/PageControl.cjs"),d=require("./Checkbox/Checkbox.cjs"),s=require("./Radio/Radio.cjs"),f=require("./Chip/Chip.cjs"),q=require("./SegmentedButton/SegmentedButton.cjs"),B=require("./SegmentedButton/SegmentedButtonBlock/SegmentedButtonBlock.cjs"),g=require("./Backdrop/Backdrop.cjs"),S=require("./Dialog/Dialog.cjs"),p=require("./Dialog/DialogTitle/DialogTitle.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Button/Button.cjs"),t=require("./Icon/Icon.cjs"),o=require("./Label/Label.cjs"),r=require("./Typography/Typography.cjs"),u=require("./Box/Box.cjs"),n=require("./Flexbox/Flexbox.cjs"),a=require("./TextField/TextField.cjs"),i=require("./TextArea/TextArea.cjs"),l=require("./IconButton/IconButton.cjs"),c=require("./PageControl/PageControl.cjs"),d=require("./Checkbox/Checkbox.cjs"),s=require("./Radio/Radio.cjs"),f=require("./Chip/Chip.cjs"),q=require("./SegmentedButton/SegmentedButton.cjs"),B=require("./SegmentedButton/SegmentedButtonBlock/SegmentedButtonBlock.cjs"),g=require("./Backdrop/Backdrop.cjs"),S=require("./Dialog/Dialog.cjs"),p=require("./Dialog/DialogTitle/DialogTitle.cjs"),m=require("./Dialog/DialogContent/DialogContent.cjs"),T=require("./Dialog/DialogAction/DialogAction.cjs"),k=require("./Dialog/DialogText/DialogText.cjs"),C=require("./Tooltip/Tooltip.cjs"),h=require("./Select/Select.cjs"),b=require("./Select/Option/Option.cjs"),x=require("./Menu/Menu.cjs"),D=require("./Menu/MenuBlock/MenuBlock.cjs");require("./Menu/MenuButton/MenuButton.cjs");const y=require("./Skeleton/Skeleton.cjs"),A=require("./Switch/Switch.cjs"),P=require("./BottomSheet/BottomSheet.cjs"),F=require("./BottomSheet/BottomSheetTitle/BottomSheetTitle.cjs"),I=require("./BottomSheet/BottomSheetContent/BottomSheetContent.cjs"),L=require("./BottomSheet/BottomSheetAction/BottomSheetAction.cjs"),v=require("./BottomSheet/BottomSheetText/BottomSheetText.cjs"),M=require("./Snackbar/Snackbar.cjs"),w=require("./ChainPicker/ChainPicker.cjs"),E=require("./DatePicker/DatePicker.cjs"),G=require("./DatePicker/EventDot/EventDot.cjs"),K=require("./DatePicker/EventDotGroup/EventDotGroup.cjs"),N=require("./FormControlText/FormControlText.cjs"),R=require("./ClickAwayListener/ClickAwayListener.cjs"),O=require("./Card/Card.cjs"),j=require("./LineProgressIndicator/LineProgressIndicator.cjs"),z=require("./CircularProgressIndicator/CircularProgressIndicator.cjs"),H=require("./NumberKeypad/NumberKeypad.cjs"),J=require("./NumberKeypad/NumberKeypadBlock/NumberKeypadBlock.cjs"),Q=require("./FocusBoundary/FocusBoundary.cjs"),U=require("./Badge/Badge.cjs"),V=require("./Tab/Tab.cjs"),W=require("./Tab/TabBlock/TabBlock.cjs"),X=require("./Slider/Slider.cjs"),Y=require("./Accordion/Accordion.cjs"),Z=require("./RadioGroup/RadioGroup.cjs"),_=require("./Collapse/Collapse.cjs"),$=require("./Autocomplete/Autocomplete.cjs");exports.Button=e.default;exports.Icon=t.default;exports.Label=o.default;exports.Typography=r.default;exports.Box=u.default;exports.Flexbox=n.default;exports.TextField=a.default;exports.TextArea=i.default;exports.IconButton=l.default;exports.PageControl=c.default;exports.Checkbox=d.default;exports.Radio=s.default;exports.Chip=f.default;exports.SegmentedButton=q.default;exports.SegmentedButtonBlock=B.default;exports.Backdrop=g.default;exports.Dialog=S.default;exports.DialogTitle=p.default;exports.DialogContent=m.default;exports.DialogAction=T.default;exports.DialogText=k.default;exports.Tooltip=C.default;exports.Select=h.default;exports.Option=b.default;exports.Menu=x.default;exports.MenuBlock=D.default;exports.Skeleton=y.default;exports.Switch=A.default;exports.BottomSheet=P.default;exports.BottomSheetTitle=F.default;exports.BottomSheetContent=I.default;exports.BottomSheetAction=L.default;exports.BottomSheetText=v.default;exports.Snackbar=M.default;exports.ChainPicker=w.default;exports.DatePicker=E.default;exports.EventDot=G.default;exports.EventDotGroup=K.default;exports.FormControlText=N.default;exports.ClickAwayListener=R.default;exports.Card=O.default;exports.LineProgressIndicator=j.default;exports.CircularProgressIndicator=z.default;exports.NumberKeypad=H.default;exports.NumberKeypadBlock=J.default;exports.FocusBoundary=Q.default;exports.Badge=U.default;exports.Tab=V.default;exports.TabBlock=W.default;exports.Slider=X.default;exports.Accordion=Y.default;exports.RadioGroup=Z.default;exports.Collapse=_.default;exports.Autocomplete=$.default;
|
package/index.d.ts
CHANGED
|
@@ -1,40 +1,78 @@
|
|
|
1
1
|
export { default as Button } from './Button';
|
|
2
|
+
export type { ButtonProps } from './Button';
|
|
2
3
|
export { default as Icon } from './Icon';
|
|
4
|
+
export type { IconProps } from './Icon';
|
|
3
5
|
export { default as Label } from './Label';
|
|
6
|
+
export type { LabelProps } from './Label';
|
|
4
7
|
export { default as Typography } from './Typography';
|
|
8
|
+
export type { TypographyProps } from './Typography';
|
|
5
9
|
export { default as Box } from './Box';
|
|
10
|
+
export type { BoxProps } from './Box';
|
|
6
11
|
export { default as Flexbox } from './Flexbox';
|
|
12
|
+
export type { FlexboxProps } from './Flexbox';
|
|
7
13
|
export { default as TextField } from './TextField';
|
|
14
|
+
export type { TextFieldProps } from './TextField';
|
|
8
15
|
export { default as TextArea } from './TextArea';
|
|
16
|
+
export type { TextAreaProps } from './TextArea';
|
|
9
17
|
export { default as IconButton } from './IconButton';
|
|
18
|
+
export type { IconButtonProps } from './IconButton';
|
|
10
19
|
export { default as PageControl } from './PageControl';
|
|
20
|
+
export type { PageControlProps } from './PageControl';
|
|
11
21
|
export { default as Checkbox } from './Checkbox';
|
|
22
|
+
export type { CheckboxProps } from './Checkbox';
|
|
12
23
|
export { default as Radio } from './Radio';
|
|
24
|
+
export type { RadioProps } from './Radio';
|
|
13
25
|
export { default as Chip } from './Chip';
|
|
26
|
+
export type { ChipProps } from './Chip';
|
|
14
27
|
export { default as SegmentedButton, SegmentedButtonBlock } from './SegmentedButton';
|
|
28
|
+
export type { SegmentedButtonBlockProps, SegmentedButtonProps } from './SegmentedButton';
|
|
15
29
|
export { default as Backdrop } from './Backdrop';
|
|
30
|
+
export type { BackdropProps } from './Backdrop';
|
|
16
31
|
export { default as Dialog, DialogTitle, DialogContent, DialogAction, DialogText } from './Dialog';
|
|
32
|
+
export type { DialogProps, DialogTextProps, DialogTitleProps } from './Dialog';
|
|
17
33
|
export { default as Tooltip } from './Tooltip';
|
|
34
|
+
export type { TooltipProps } from './Tooltip';
|
|
18
35
|
export { default as Select, Option } from './Select';
|
|
36
|
+
export type { OptionProps, SelectProps } from './Select';
|
|
19
37
|
export { default as Menu, MenuBlock } from './Menu';
|
|
38
|
+
export type { MenuBlockProps, MenuProps } from './Menu';
|
|
20
39
|
export { default as Skeleton } from './Skeleton';
|
|
40
|
+
export type { SkeletonProps } from './Skeleton';
|
|
21
41
|
export { default as Switch } from './Switch';
|
|
42
|
+
export type { SwitchProps } from './Switch';
|
|
22
43
|
export { default as BottomSheet, BottomSheetTitle, BottomSheetContent, BottomSheetAction, BottomSheetText } from './BottomSheet';
|
|
44
|
+
export type { BottomSheetActionProps, BottomSheetContentProps, BottomSheetProps, BottomSheetTextProps, BottomSheetTitleProps } from './BottomSheet';
|
|
23
45
|
export { default as Snackbar } from './Snackbar';
|
|
46
|
+
export type { SnackbarProps } from './Snackbar';
|
|
24
47
|
export { default as ChainPicker } from './ChainPicker';
|
|
25
|
-
export type { ChainPickerItem } from './ChainPicker';
|
|
48
|
+
export type { ChainPickerItem, ChainPickerProps } from './ChainPicker';
|
|
26
49
|
export { default as DatePicker, EventDotGroup, EventDot } from './DatePicker';
|
|
27
|
-
export type { DateFormatter, DatePickerValue, DateValue } from './DatePicker';
|
|
50
|
+
export type { DateFormatter, DatePickerProps, DatePickerValue, DateValue, EventDotProps, EventGroupProps } from './DatePicker';
|
|
28
51
|
export { default as FormControlText } from './FormControlText';
|
|
52
|
+
export type { FormControlTextProps } from './FormControlText';
|
|
29
53
|
export { default as ClickAwayListener } from './ClickAwayListener';
|
|
54
|
+
export type { ClickAwayListenerProps } from './ClickAwayListener';
|
|
30
55
|
export { default as Card } from './Card';
|
|
56
|
+
export type { CardProps } from './Card';
|
|
31
57
|
export { default as LineProgressIndicator } from './LineProgressIndicator';
|
|
58
|
+
export type { LineProgressIndicatorProps } from './LineProgressIndicator';
|
|
32
59
|
export { default as CircularProgressIndicator } from './CircularProgressIndicator';
|
|
60
|
+
export type { CircularProgressIndicatorProps } from './CircularProgressIndicator';
|
|
33
61
|
export { default as NumberKeypad, NumberKeypadBlock } from './NumberKeypad';
|
|
62
|
+
export type { NumberKeypadBlockProps, NumberKeypadProps } from './NumberKeypad';
|
|
34
63
|
export { default as FocusBoundary } from './FocusBoundary';
|
|
64
|
+
export type { FocusBoundaryProps } from './FocusBoundary';
|
|
35
65
|
export { default as Badge } from './Badge';
|
|
66
|
+
export type { BadgeProps } from './Badge';
|
|
36
67
|
export { default as Tab, TabBlock } from './Tab';
|
|
68
|
+
export type { TabBlockProps, TabProps } from './Tab';
|
|
37
69
|
export { default as Slider } from './Slider';
|
|
70
|
+
export type { SliderProps } from './Slider';
|
|
38
71
|
export { default as Accordion } from './Accordion';
|
|
72
|
+
export type { AccordionProps } from './Accordion';
|
|
39
73
|
export { default as RadioGroup } from './RadioGroup';
|
|
74
|
+
export type { RadioGroupProps } from './RadioGroup';
|
|
40
75
|
export { default as Collapse } from './Collapse';
|
|
76
|
+
export type { CollapseProps } from './Collapse';
|
|
77
|
+
export { default as Autocomplete } from './Autocomplete';
|
|
78
|
+
export type { AutocompleteProps, AutocompleteOption } from './Autocomplete';
|
package/index.es.js
CHANGED
|
@@ -52,8 +52,10 @@ import { default as Wo } from "./Slider/Slider.es.js";
|
|
|
52
52
|
import { default as Yo } from "./Accordion/Accordion.es.js";
|
|
53
53
|
import { default as _o } from "./RadioGroup/RadioGroup.es.js";
|
|
54
54
|
import { default as oe } from "./Collapse/Collapse.es.js";
|
|
55
|
+
import { default as te } from "./Autocomplete/Autocomplete.es.js";
|
|
55
56
|
export {
|
|
56
57
|
Yo as Accordion,
|
|
58
|
+
te as Autocomplete,
|
|
57
59
|
E as Backdrop,
|
|
58
60
|
zo as Badge,
|
|
59
61
|
fo as BottomSheet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotss/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "React UI components for Dotss",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.cjs",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"author": "connectingthedots <admin@thedotscorp.com>",
|
|
45
|
-
"homepage": "https://
|
|
45
|
+
"homepage": "https://ui.tictoccroc.com",
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|
|
48
48
|
"url": "https://github.com/thedotscorp/dotss.git",
|
|
@@ -59,38 +59,6 @@
|
|
|
59
59
|
"component",
|
|
60
60
|
"ui"
|
|
61
61
|
],
|
|
62
|
-
"devDependencies": {
|
|
63
|
-
"@chromatic-com/storybook": "^4.1.1",
|
|
64
|
-
"@emotion/react": "^11.11.4",
|
|
65
|
-
"@emotion/serialize": "^1.1.4",
|
|
66
|
-
"@emotion/styled": "^11.11.5",
|
|
67
|
-
"@storybook/addon-a11y": "^9.1.15",
|
|
68
|
-
"@storybook/addon-docs": "^9.1.15",
|
|
69
|
-
"@storybook/addon-links": "^9.1.15",
|
|
70
|
-
"@storybook/react": "^9.1.15",
|
|
71
|
-
"@storybook/react-vite": "^9.1.15",
|
|
72
|
-
"@storybook/test": "^8.6.14",
|
|
73
|
-
"@testing-library/jest-dom": "^6.4.2",
|
|
74
|
-
"@testing-library/react": "^15.0.0",
|
|
75
|
-
"@testing-library/user-event": "^14.5.2",
|
|
76
|
-
"@types/node": "20.12.12",
|
|
77
|
-
"@types/react": "18.3.3",
|
|
78
|
-
"@types/react-dom": "^18.3.0",
|
|
79
|
-
"@vitest/ui": "^1.6.0",
|
|
80
|
-
"chromatic": "^11.4.0",
|
|
81
|
-
"cross-env": "^7.0.3",
|
|
82
|
-
"csstype": "^3.1.3",
|
|
83
|
-
"glob": "^10.4.2",
|
|
84
|
-
"jsdom": "^24.0.0",
|
|
85
|
-
"react": "^18.3.1",
|
|
86
|
-
"react-dom": "^18.3.1",
|
|
87
|
-
"rollup-plugin-visualizer": "^5.12.0",
|
|
88
|
-
"storybook": "^9.1.15",
|
|
89
|
-
"vite": "^6.3.3",
|
|
90
|
-
"vite-plugin-dts": "^3.9.1",
|
|
91
|
-
"vite-plugin-svgr": "^4.2.0",
|
|
92
|
-
"vitest": "^1.6.0"
|
|
93
|
-
},
|
|
94
62
|
"peerDependencies": {
|
|
95
63
|
"@emotion/react": "^11.0.0",
|
|
96
64
|
"@emotion/styled": "^11.0.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function e(){return window!=null&&window.matchMedia
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function e(){return typeof window>"u"||!(window!=null&&window.matchMedia)?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}exports.default=e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function e() {
|
|
2
|
-
return window != null && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches
|
|
2
|
+
return typeof window > "u" || !(window != null && window.matchMedia) ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
3
3
|
}
|
|
4
4
|
export {
|
|
5
5
|
e as default
|