@dotss/ui 1.0.0 → 1.0.1

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.
Files changed (50) hide show
  1. package/Accordion/Accordion.d.ts +1 -1
  2. package/Backdrop/Backdrop.d.ts +1 -1
  3. package/Badge/Badge.d.ts +3 -3
  4. package/BottomSheet/BottomSheet.d.ts +1 -1
  5. package/BottomSheet/BottomSheetAction/BottomSheetAction.d.ts +1 -1
  6. package/BottomSheet/BottomSheetContent/BottomSheetContent.d.ts +1 -1
  7. package/BottomSheet/BottomSheetText/BottomSheetText.d.ts +1 -1
  8. package/BottomSheet/BottomSheetTitle/BottomSheetTitle.d.ts +1 -1
  9. package/Box/Box.d.ts +1 -1
  10. package/Button/Button.d.ts +2 -2
  11. package/Card/Card.d.ts +1 -1
  12. package/ChainPicker/ChainPicker.d.ts +1 -1
  13. package/Checkbox/Checkbox.d.ts +2 -2
  14. package/Chip/Chip.d.ts +1 -1
  15. package/CircularProgressIndicator/CircularProgressIndicator.d.ts +1 -1
  16. package/DatePicker/DatePicker.d.ts +1 -1
  17. package/DatePicker/EventDot/EventDot.d.ts +1 -1
  18. package/DatePicker/EventDotGroup/EventDotGroup.d.ts +1 -1
  19. package/Dialog/Dialog.d.ts +1 -1
  20. package/Dialog/DialogText/DialogText.d.ts +1 -1
  21. package/Dialog/DialogTitle/DialogTitle.d.ts +1 -1
  22. package/Flexbox/Flexbox.d.ts +1 -1
  23. package/FocusBoundary/FocusBoundary.d.ts +1 -1
  24. package/FormControlText/FormControlText.d.ts +1 -1
  25. package/Icon/Icon.d.ts +2 -2
  26. package/IconButton/IconButton.d.ts +2 -2
  27. package/Label/Label.d.ts +4 -4
  28. package/LineProgressIndicator/LineProgressIndicator.d.ts +1 -1
  29. package/Menu/Menu.d.ts +1 -1
  30. package/Menu/MenuBlock/MenuBlock.d.ts +1 -1
  31. package/NumberKeypad/NumberKeypad.d.ts +2 -2
  32. package/NumberKeypad/NumberKeypadBlock/NumberKeypadBlock.d.ts +1 -1
  33. package/PageControl/PageControl.d.ts +2 -2
  34. package/Radio/Radio.d.ts +2 -2
  35. package/RadioGroup/RadioGroup.d.ts +1 -1
  36. package/SegmentedButton/SegmentedButton.d.ts +2 -2
  37. package/SegmentedButton/SegmentedButtonBlock/SegmentedButtonBlock.d.ts +1 -1
  38. package/Select/Option/Option.d.ts +1 -1
  39. package/Select/Select.d.ts +1 -1
  40. package/Skeleton/Skeleton.d.ts +3 -3
  41. package/Slider/Slider.d.ts +1 -1
  42. package/Snackbar/Snackbar.d.ts +2 -2
  43. package/Switch/Switch.d.ts +1 -1
  44. package/Tab/Tab.d.ts +1 -1
  45. package/Tab/TabBlock/TabBlock.d.ts +1 -1
  46. package/TextArea/TextArea.d.ts +1 -1
  47. package/TextField/TextField.d.ts +1 -1
  48. package/Tooltip/Tooltip.d.ts +2 -2
  49. package/Typography/Typography.d.ts +2 -2
  50. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { ElementType, HTMLAttributes, MouseEvent, ReactNode } from 'react';
2
- import { GeneralComponentProps, PolymorphicComponentProps } from '../../typings/component';
2
+ import { GeneralComponentProps, PolymorphicComponentProps } from '../typings/component';
3
3
 
4
4
  export interface AccordionProps extends Omit<GeneralComponentProps<HTMLAttributes<HTMLDivElement>>, 'title'> {
5
5
  expand?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, RefObject } from 'react';
2
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { GeneralComponentProps } from '../typings/component';
3
3
 
4
4
  export interface BackdropProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  open?: boolean;
package/Badge/Badge.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { ColorScaleKey } from '../../typings/color';
3
- import { GeneralComponentProps, Size } from '../../typings/component';
4
- import { EtcColorKey } from '../../typings/theme/core';
2
+ import { ColorScaleKey } from '../typings/color';
3
+ import { GeneralComponentProps, Size } from '../typings/component';
4
+ import { EtcColorKey } from '../typings/theme/core';
5
5
 
6
6
  export interface BadgeProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'content'>> {
7
7
  color?: Extract<ColorScaleKey, 'pink'> | Extract<EtcColorKey, 'orange'>;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { BackdropProps } from '../Backdrop/Backdrop';
3
- import { GeneralComponentProps } from '../../typings/component';
3
+ import { GeneralComponentProps } from '../typings/component';
4
4
 
5
5
  export interface BottomSheetProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
6
6
  open?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../../typings/component';
2
+ import { GeneralComponentProps } from '../../typings/component';
3
3
 
4
4
  export interface BottomSheetActionProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  enableAdjustSpacing?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../../typings/component';
2
+ import { GeneralComponentProps } from '../../typings/component';
3
3
 
4
4
  export interface BottomSheetContentProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  enableAdjustSpacing?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { Property } from 'csstype';
3
- import { GeneralComponentProps } from '../../../typings/component';
3
+ import { GeneralComponentProps } from '../../typings/component';
4
4
 
5
5
  export interface BottomSheetTextProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
6
6
  type?: 'main' | 'sub';
@@ -1,5 +1,5 @@
1
1
  import { ElementType, HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../../typings/component';
2
+ import { GeneralComponentProps } from '../../typings/component';
3
3
 
4
4
  export interface BottomSheetTitleProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  onClose?: () => void;
package/Box/Box.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
- import { PolymorphicComponentProps, Spacing } from '../../typings/component';
2
+ import { PolymorphicComponentProps, Spacing } from '../typings/component';
3
3
 
4
4
  export type BoxProps<T extends ElementType = 'div'> = Spacing & PolymorphicComponentProps<T> & {
5
5
  visuallyHidden?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { ButtonHTMLAttributes, ReactNode } from 'react';
2
- import { BrandColorKey } from '../../typings/color';
3
- import { GeneralComponentProps, Size, Variant } from '../../typings/component';
2
+ import { BrandColorKey } from '../typings/color';
3
+ import { GeneralComponentProps, Size, Variant } from '../typings/component';
4
4
 
5
5
  export interface ButtonProps extends GeneralComponentProps<ButtonHTMLAttributes<HTMLButtonElement>> {
6
6
  variant?: Extract<Variant, 'filled' | 'outlined' | 'text'>;
package/Card/Card.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ElementType, HTMLAttributes, ReactNode } from 'react';
2
- import { GeneralComponentProps, PolymorphicComponentProps, Variant } from '../../typings/component';
2
+ import { GeneralComponentProps, PolymorphicComponentProps, Variant } from '../typings/component';
3
3
 
4
4
  export type CardProps<T extends ElementType = 'div'> = PolymorphicComponentProps<T> & {
5
5
  variant?: Extract<Variant, 'filled' | 'outlined'>;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { GeneralComponentProps } from '../typings/component';
3
3
 
4
4
  export declare const SCROLL_POSITION_THRESHOLD = 3;
5
5
  export interface ChainPickerItem {
@@ -1,6 +1,6 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
- import { BrandColorKey } from '../../typings/color';
3
- import { GeneralComponentProps, Size } from '../../typings/component';
2
+ import { BrandColorKey } from '../typings/color';
3
+ import { GeneralComponentProps, Size } from '../typings/component';
4
4
 
5
5
  export interface CheckboxProps extends GeneralComponentProps<Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>> {
6
6
  size?: Extract<Size, 'medium' | '2xLarge'>;
package/Chip/Chip.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
- import { PolymorphicComponentProps, Variant } from '../../typings/component';
2
+ import { PolymorphicComponentProps, Variant } from '../typings/component';
3
3
 
4
4
  export type ChipProps<T extends ElementType = 'div'> = PolymorphicComponentProps<T> & {
5
5
  variant?: Extract<Variant, 'filled' | 'outlined'>;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps, Size } from '../../typings/component';
2
+ import { GeneralComponentProps, Size } from '../typings/component';
3
3
 
4
4
  export interface CircularProgressIndicatorProps extends GeneralComponentProps<HTMLAttributes<SVGSVGElement>> {
5
5
  size?: Extract<Size, 'large' | 'small'>;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { GeneralComponentProps } from '../typings/component';
3
3
 
4
4
  export type DateValue = string | number | Date | null;
5
5
  export type DatePickerValue = DateValue[] | DateValue;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { Color, GeneralComponentProps } from '../../../typings/component';
2
+ import { Color, GeneralComponentProps } from '../../typings/component';
3
3
 
4
4
  export interface EventDotProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLSpanElement>, 'color'>> {
5
5
  color: Color;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../../typings/component';
2
+ import { GeneralComponentProps } from '../../typings/component';
3
3
 
4
4
  export interface EventGroupProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  limit?: number;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { BackdropProps } from '../Backdrop/Backdrop';
3
- import { GeneralComponentProps } from '../../typings/component';
3
+ import { GeneralComponentProps } from '../typings/component';
4
4
 
5
5
  export interface DialogProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
6
6
  open?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { Property } from 'csstype';
3
- import { GeneralComponentProps } from '../../../typings/component';
3
+ import { GeneralComponentProps } from '../../typings/component';
4
4
 
5
5
  export interface DialogTextProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
6
6
  type?: 'main' | 'sub';
@@ -1,5 +1,5 @@
1
1
  import { ElementType, HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../../typings/component';
2
+ import { GeneralComponentProps } from '../../typings/component';
3
3
 
4
4
  export interface DialogTitleProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  onClose?: () => void;
@@ -1,6 +1,6 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
2
  import { Property } from 'csstype';
3
- import { PolymorphicComponentProps, Spacing } from '../../typings/component';
3
+ import { PolymorphicComponentProps, Spacing } from '../typings/component';
4
4
 
5
5
  export type FlexboxProps<T extends ElementType = 'div'> = Spacing & PolymorphicComponentProps<T> & {
6
6
  alignItems?: Property.AlignItems;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { GeneralComponentProps } from '../typings/component';
3
3
 
4
4
  export interface FocusBoundaryProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  active?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { HTMLAttributes, ReactElement, ReactNode } from 'react';
2
2
  import { default as Checkbox } from '../Checkbox';
3
3
  import { default as Radio } from '../Radio';
4
- import { GeneralComponentProps, Size } from '../../typings/component';
4
+ import { GeneralComponentProps, Size } from '../typings/component';
5
5
 
6
6
  export interface FormControlTextProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
7
7
  control: ReactElement<typeof Checkbox | typeof Radio>;
package/Icon/Icon.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { SVGProps } from 'react';
2
- import { Color, GeneralComponentProps, IconName, Size } from '../../typings/component';
3
- import { CSSValue } from '../../typings/utility';
2
+ import { Color, GeneralComponentProps, IconName, Size } from '../typings/component';
3
+ import { CSSValue } from '../typings/utility';
4
4
 
5
5
  export interface IconProps extends GeneralComponentProps<Omit<SVGProps<SVGElement>, 'width' | 'height' | 'color'>> {
6
6
  name: IconName;
@@ -1,6 +1,6 @@
1
1
  import { ButtonHTMLAttributes } from 'react';
2
- import { BrandColorKey } from '../../typings/color';
3
- import { GeneralComponentProps, IconName, Size, Variant } from '../../typings/component';
2
+ import { BrandColorKey } from '../typings/color';
3
+ import { GeneralComponentProps, IconName, Size, Variant } from '../typings/component';
4
4
 
5
5
  export interface IconButtonProps extends GeneralComponentProps<ButtonHTMLAttributes<HTMLButtonElement>> {
6
6
  name: IconName;
package/Label/Label.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
- import { SpecifyColorScaleKey } from '../../typings/color';
3
- import { PolymorphicComponentProps, Size, Variant } from '../../typings/component';
4
- import { EtcColorKey } from '../../typings/theme/core';
5
- import { TictoccrocBrandColorKey, TictoccrocClassTypeColorKey } from '../../typings/theme/tictoccroc';
2
+ import { SpecifyColorScaleKey } from '../typings/color';
3
+ import { PolymorphicComponentProps, Size, Variant } from '../typings/component';
4
+ import { EtcColorKey } from '../typings/theme/core';
5
+ import { TictoccrocBrandColorKey, TictoccrocClassTypeColorKey } from '../typings/theme/tictoccroc';
6
6
 
7
7
  export type LabelProps<T extends ElementType = 'span'> = PolymorphicComponentProps<T> & {
8
8
  variant?: Extract<Variant, 'solid' | 'ghost' | 'outlined'>;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps, Size } from '../../typings/component';
2
+ import { GeneralComponentProps, Size } from '../typings/component';
3
3
 
4
4
  export interface LineProgressIndicatorProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  size?: Extract<Size, 'large' | 'small'>;
package/Menu/Menu.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, ReactElement, ReactNode, RefObject, SyntheticEvent } from 'react';
2
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { GeneralComponentProps } from '../typings/component';
3
3
  import { default as MenuBlock } from './MenuBlock';
4
4
 
5
5
  export interface MenuProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>> {
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
- import { GeneralComponentProps } from '../../../typings/component';
2
+ import { GeneralComponentProps } from '../../typings/component';
3
3
 
4
4
  export interface MenuBlockProps extends GeneralComponentProps<HTMLAttributes<HTMLLIElement>> {
5
5
  startAdornment?: ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes, ReactElement, ReactNode } from 'react';
2
- import { GeneralComponentProps, Size } from '../../typings/component';
3
- import { CSSValue } from '../../typings/utility';
2
+ import { GeneralComponentProps, Size } from '../typings/component';
3
+ import { CSSValue } from '../typings/utility';
4
4
  import { default as NumberKeypadBlock } from './NumberKeypadBlock';
5
5
 
6
6
  export interface NumberKeypadProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>> {
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../../typings/component';
2
+ import { GeneralComponentProps } from '../../typings/component';
3
3
  import { NumberKeypadProps } from '../NumberKeypad';
4
4
 
5
5
  export interface NumberKeypadBlockProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement> & Pick<NumberKeypadProps, 'size' | 'disabled'>> {
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { BrandColorKey } from '../../typings/color';
3
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { BrandColorKey } from '../typings/color';
3
+ import { GeneralComponentProps } from '../typings/component';
4
4
 
5
5
  export interface PageControlProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onClick'>> {
6
6
  totalCount?: number;
package/Radio/Radio.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
- import { BrandColorKey } from '../../typings/color';
3
- import { GeneralComponentProps, Size } from '../../typings/component';
2
+ import { BrandColorKey } from '../typings/color';
3
+ import { GeneralComponentProps, Size } from '../typings/component';
4
4
 
5
5
  export interface RadioProps extends GeneralComponentProps<Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>> {
6
6
  size?: Extract<Size, 'medium' | '2xLarge'>;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { GeneralComponentProps } from '../typings/component';
3
3
 
4
4
  export interface RadioGroupProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  name?: string;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes, ReactElement } from 'react';
2
- import { BrandColorKey } from '../../typings/color';
3
- import { GeneralComponentProps, Variant } from '../../typings/component';
2
+ import { BrandColorKey } from '../typings/color';
3
+ import { GeneralComponentProps, Variant } from '../typings/component';
4
4
  import { default as SegmentedButtonBlock } from './SegmentedButtonBlock';
5
5
 
6
6
  export interface SegmentedButtonProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>> {
@@ -1,5 +1,5 @@
1
1
  import { ButtonHTMLAttributes, ReactNode } from 'react';
2
- import { GeneralComponentProps } from '../../../typings/component';
2
+ import { GeneralComponentProps } from '../../typings/component';
3
3
  import { SegmentedButtonProps } from '../SegmentedButton';
4
4
 
5
5
  export interface SegmentedButtonBlockProps extends GeneralComponentProps<ButtonHTMLAttributes<HTMLButtonElement> & Pick<SegmentedButtonProps, 'variant' | 'color' | 'rounded'>> {
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
- import { GeneralComponentProps } from '../../../typings/component';
2
+ import { GeneralComponentProps } from '../../typings/component';
3
3
 
4
4
  export interface OptionProps extends GeneralComponentProps<HTMLAttributes<HTMLLIElement>> {
5
5
  value?: string;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes, ReactElement, ReactNode } from 'react';
2
2
  import { default as Option } from './Option';
3
- import { GeneralComponentProps, Size, Variant } from '../../typings/component';
3
+ import { GeneralComponentProps, Size, Variant } from '../typings/component';
4
4
 
5
5
  export interface SelectProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>> {
6
6
  value: string;
@@ -1,7 +1,7 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../typings/component';
3
- import { TypographyBodyKey, TypographyCaptionKey, TypographyHeadlineKey } from '../../typings/typography';
4
- import { CSSValue } from '../../typings/utility';
2
+ import { GeneralComponentProps } from '../typings/component';
3
+ import { TypographyBodyKey, TypographyCaptionKey, TypographyHeadlineKey } from '../typings/typography';
4
+ import { CSSValue } from '../typings/utility';
5
5
 
6
6
  export interface SkeletonProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
7
7
  ratio?: `${number}:${number}`;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { GeneralComponentProps } from '../typings/component';
3
3
 
4
4
  export interface SliderProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>> {
5
5
  value: number;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes, ReactNode, RefObject } from 'react';
2
- import { BrandColorKey } from '../../typings/color';
3
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { BrandColorKey } from '../typings/color';
3
+ import { GeneralComponentProps } from '../typings/component';
4
4
 
5
5
  export interface SnackbarProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
6
6
  open?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { ChangeEventHandler, HTMLAttributes } from 'react';
2
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { GeneralComponentProps } from '../typings/component';
3
3
 
4
4
  export interface SwitchProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
5
5
  selected: boolean;
package/Tab/Tab.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { GeneralComponentProps, Size } from '../../typings/component';
2
+ import { GeneralComponentProps, Size } from '../typings/component';
3
3
 
4
4
  export interface TabProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>> {
5
5
  value: string;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes, MouseEvent } from 'react';
2
2
  import { TabProps } from '../Tab';
3
- import { GeneralComponentProps } from '../../../typings/component';
3
+ import { GeneralComponentProps } from '../../typings/component';
4
4
 
5
5
  export interface TabBlockProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement> & Pick<TabProps, 'size'>> {
6
6
  value: string;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, TextareaHTMLAttributes } from 'react';
2
- import { GeneralComponentProps, Size, Variant } from '../../typings/component';
2
+ import { GeneralComponentProps, Size, Variant } from '../typings/component';
3
3
 
4
4
  export interface TextAreaProps extends GeneralComponentProps<TextareaHTMLAttributes<HTMLTextAreaElement>> {
5
5
  value: string;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, InputHTMLAttributes, ReactNode } from 'react';
2
- import { GeneralComponentProps, Size, Variant } from '../../typings/component';
2
+ import { GeneralComponentProps, Size, Variant } from '../typings/component';
3
3
 
4
4
  export interface TextFieldProps extends GeneralComponentProps<Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>> {
5
5
  variant?: Extract<Variant, 'outlined' | 'filled'>;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
2
- import { BrandColorKey } from '../../typings/color';
3
- import { GeneralComponentProps } from '../../typings/component';
2
+ import { BrandColorKey } from '../typings/color';
3
+ import { GeneralComponentProps } from '../typings/component';
4
4
 
5
5
  export interface TooltipOffset {
6
6
  x?: number;
@@ -1,6 +1,6 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
- import { Color, PolymorphicComponentProps } from '../../typings/component';
3
- import { TypographyBodyKey, TypographyCaptionKey, TypographyDisplayKey, TypographyHeadlineKey } from '../../typings/typography';
2
+ import { Color, PolymorphicComponentProps } from '../typings/component';
3
+ import { TypographyBodyKey, TypographyCaptionKey, TypographyDisplayKey, TypographyHeadlineKey } from '../typings/typography';
4
4
 
5
5
  export type TypographyProps<T extends ElementType = 'div'> = PolymorphicComponentProps<T> & {
6
6
  variant?: TypographyDisplayKey | TypographyHeadlineKey | TypographyBodyKey | TypographyCaptionKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotss/ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "React UI components for Dotss",
5
5
  "type": "module",
6
6
  "main": "./index.cjs",