armtek-uikit-react 1.0.17 → 1.0.19

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 (93) hide show
  1. package/index.d.ts +0 -29
  2. package/index.js +42 -15
  3. package/package.json +1 -1
  4. package/ui/Adornment/Adornment.module.scss +0 -1
  5. package/ui/Adornment/index.d.ts +2 -0
  6. package/ui/Adornment/index.js +2 -0
  7. package/ui/Alert/index.d.ts +2 -0
  8. package/ui/Alert/index.js +2 -0
  9. package/ui/Avatar/index.d.ts +2 -0
  10. package/ui/Avatar/index.js +2 -0
  11. package/ui/{Avatar → AvatarGroup}/AvatarGroup.d.ts +1 -1
  12. package/ui/AvatarGroup/AvatarGroup.module.scss +1 -0
  13. package/ui/AvatarGroup/index.d.ts +2 -0
  14. package/ui/AvatarGroup/index.js +2 -0
  15. package/ui/Badge/index.d.ts +2 -0
  16. package/ui/Badge/index.js +2 -0
  17. package/ui/Button/Button.d.ts +15 -0
  18. package/ui/Button/Button.js +42 -0
  19. package/ui/Button/index.d.ts +2 -15
  20. package/ui/Button/index.js +2 -42
  21. package/ui/ButtonGroup/ButtonGroup.d.ts +6 -0
  22. package/ui/ButtonGroup/ButtonGroup.js +24 -0
  23. package/ui/ButtonGroup/index.d.ts +2 -6
  24. package/ui/ButtonGroup/index.js +2 -24
  25. package/ui/ButtonIcon/ButtonIcon.d.ts +3 -0
  26. package/ui/ButtonIcon/ButtonIcon.js +19 -0
  27. package/ui/ButtonIcon/index.d.ts +2 -3
  28. package/ui/ButtonIcon/index.js +2 -19
  29. package/ui/Card/index.d.ts +2 -0
  30. package/ui/Card/index.js +2 -0
  31. package/ui/Chip/index.d.ts +2 -0
  32. package/ui/Chip/index.js +2 -0
  33. package/ui/Form/Checkbox/index.d.ts +2 -0
  34. package/ui/Form/Checkbox/index.js +2 -0
  35. package/ui/Form/DateField/index.d.ts +2 -0
  36. package/ui/Form/DateField/index.js +2 -0
  37. package/ui/Form/DatePicker/index.d.ts +2 -0
  38. package/ui/Form/DatePicker/index.js +2 -0
  39. package/ui/Form/Interval/index.d.ts +3 -0
  40. package/ui/Form/Interval/index.js +3 -0
  41. package/ui/Form/Password/index.d.ts +2 -0
  42. package/ui/Form/Password/index.js +2 -0
  43. package/ui/Form/Period/index.d.ts +2 -0
  44. package/ui/Form/Period/index.js +2 -0
  45. package/ui/Form/{DatePicker → PeriodSelect}/PeriodSelect.js +1 -1
  46. package/ui/Form/PeriodSelect/index.d.ts +2 -0
  47. package/ui/Form/PeriodSelect/index.js +2 -0
  48. package/ui/Form/{Checkbox → Radio}/Radio.d.ts +1 -1
  49. package/ui/Form/{Checkbox → Radio}/Radio.js +2 -2
  50. package/ui/Form/Radio/Radio.module.scss +1 -0
  51. package/ui/Form/Radio/index.d.ts +2 -0
  52. package/ui/Form/Radio/index.js +2 -0
  53. package/ui/Form/Rating/index.d.ts +2 -0
  54. package/ui/Form/Rating/index.js +2 -0
  55. package/ui/Form/Select/index.d.ts +2 -0
  56. package/ui/Form/Select/index.js +2 -0
  57. package/ui/Form/Switch/index.d.ts +2 -0
  58. package/ui/Form/Switch/index.js +2 -0
  59. package/ui/Form/TextArea/index.d.ts +2 -0
  60. package/ui/Form/TextArea/index.js +2 -0
  61. package/ui/Form/TextField/index.d.ts +2 -0
  62. package/ui/Form/TextField/index.js +2 -0
  63. package/ui/Form/{DateField → TimeField}/TimeField.d.ts +1 -1
  64. package/ui/Form/{DateField → TimeField}/TimeField.js +1 -1
  65. package/ui/Form/TimeField/index.d.ts +2 -0
  66. package/ui/Form/TimeField/index.js +2 -0
  67. package/ui/Form/{DatePicker → TimePicker}/TimePicker.js +1 -1
  68. package/ui/Form/TimePicker/index.d.ts +2 -0
  69. package/ui/Form/TimePicker/index.js +2 -0
  70. package/ui/HelperText/index.d.ts +2 -0
  71. package/ui/HelperText/index.js +2 -0
  72. package/ui/List/index.d.ts +2 -0
  73. package/ui/List/index.js +2 -0
  74. package/ui/Loader/Loader.d.ts +2 -1
  75. package/ui/Loader/Loader.js +7 -1
  76. package/ui/Loader/index.d.ts +2 -0
  77. package/ui/Loader/index.js +2 -0
  78. package/ui/Logo/index.d.ts +2 -0
  79. package/ui/Logo/index.js +2 -0
  80. package/ui/Slider/index.d.ts +2 -0
  81. package/ui/Slider/index.js +2 -0
  82. package/ui/Status/index.d.ts +2 -0
  83. package/ui/Status/index.js +2 -0
  84. package/ui/Stepper/StepItem.d.ts +1 -1
  85. package/ui/Stepper/StepItem.js +2 -2
  86. package/ui/Stepper/index.d.ts +2 -0
  87. package/ui/Stepper/index.js +2 -0
  88. package/ui/Tooltip/index.d.ts +2 -0
  89. package/ui/Tooltip/index.js +2 -0
  90. package/ui/Avatar/AvatarGroup.module.scss +0 -1
  91. /package/ui/{Avatar → AvatarGroup}/AvatarGroup.js +0 -0
  92. /package/ui/Form/{DatePicker → PeriodSelect}/PeriodSelect.d.ts +0 -0
  93. /package/ui/Form/{DatePicker → TimePicker}/TimePicker.d.ts +0 -0
package/index.d.ts CHANGED
@@ -1,29 +0,0 @@
1
- export { default as Button } from './ui/Button';
2
- export { default as ButtonIcon } from './ui/ButtonIcon';
3
- export type { ButtonProps } from './ui/Button';
4
- export { default as Alert } from './ui/Alert/Alert';
5
- export type { AlertProps } from './ui/Alert/Alert';
6
- export { default as Avatar } from './ui/Avatar/Avatar';
7
- export type { AvatarProps } from './ui/Avatar/Avatar';
8
- export { default as AvatarGroup } from './ui/Avatar/AvatarGroup';
9
- export type { AvatarGroupProps } from './ui/Avatar/AvatarGroup';
10
- export { default as Badge } from './ui/Badge/Badge';
11
- export type { BadgeProps } from './ui/Badge/Badge';
12
- export { default as Card } from './ui/Card/Card';
13
- export type { CardProps } from './ui/Card/Card';
14
- export { default as Chip } from './ui/Chip/Chip';
15
- export type { ChipProps } from './ui/Chip/Chip';
16
- export { default as ListItem } from './ui/List/ListItem';
17
- export type { ListItemProps } from './ui/List/ListItem';
18
- export { default as Loader } from './ui/Loader/Loader';
19
- export type { LoaderProps } from './ui/Loader/Loader';
20
- export { default as Logo } from './ui/Logo/Logo';
21
- export type { LogoProps } from './ui/Logo/Logo';
22
- export { default as Slider } from './ui/Slider/Slider';
23
- export type { SliderProps } from './ui/Slider/Slider';
24
- export { default as Status } from './ui/Status/Status';
25
- export type { StatusProps } from './ui/Status/Status';
26
- export { default as Stepper } from './ui/Stepper/Stepper';
27
- export type { StepperProps } from './ui/Stepper/Stepper';
28
- export { default as Tooltip } from './ui/Tooltip/Tooltip';
29
- export type { TooltipProps } from './ui/Tooltip/Tooltip';
package/index.js CHANGED
@@ -1,15 +1,42 @@
1
- export { default as Button } from "./ui/Button";
2
- export { default as ButtonIcon } from "./ui/ButtonIcon";
3
- export { default as Alert } from "./ui/Alert/Alert";
4
- export { default as Avatar } from "./ui/Avatar/Avatar";
5
- export { default as AvatarGroup } from "./ui/Avatar/AvatarGroup";
6
- export { default as Badge } from "./ui/Badge/Badge";
7
- export { default as Card } from "./ui/Card/Card";
8
- export { default as Chip } from "./ui/Chip/Chip";
9
- export { default as ListItem } from "./ui/List/ListItem";
10
- export { default as Loader } from "./ui/Loader/Loader";
11
- export { default as Logo } from "./ui/Logo/Logo";
12
- export { default as Slider } from "./ui/Slider/Slider";
13
- export { default as Status } from "./ui/Status/Status";
14
- export { default as Stepper } from "./ui/Stepper/Stepper";
15
- export { default as Tooltip } from "./ui/Tooltip/Tooltip";
1
+ // export {default as Button} from './ui/Button/Button'
2
+ // export {default as ButtonIcon} from './ui/ButtonIcon'
3
+ // export type {ButtonProps} from './ui/Button/Button'
4
+ //
5
+ // export {default as Alert} from './ui/Alert/Alert'
6
+ // export type {AlertProps} from './ui/Alert/Alert'
7
+ //
8
+ // export {default as Avatar} from './ui/Avatar/Avatar'
9
+ // export type {AvatarProps} from './ui/Avatar/Avatar'
10
+ //
11
+ // export {default as AvatarGroup} from './ui/AvatarGroup/AvatarGroup'
12
+ // export type {AvatarGroupProps} from './ui/AvatarGroup/AvatarGroup'
13
+ //
14
+ // export {default as Badge} from './ui/Badge/Badge'
15
+ // export type {BadgeProps} from './ui/Badge/Badge'
16
+ //
17
+ // export {default as Card} from './ui/Card/Card'
18
+ // export type {CardProps} from './ui/Card/Card'
19
+ //
20
+ // export {default as Chip} from './ui/Chip/Chip'
21
+ // export type {ChipProps} from './ui/Chip/Chip'
22
+ //
23
+ // export {default as ListItem} from './ui/List/ListItem'
24
+ // export type {ListItemProps} from './ui/List/ListItem'
25
+ //
26
+ // export {default as Loader} from './ui/Loader/Loader'
27
+ // export type {LoaderProps} from './ui/Loader/Loader'
28
+ //
29
+ // export {default as Logo} from './ui/Logo/Logo'
30
+ // export type {LogoProps} from './ui/Logo/Logo'
31
+ //
32
+ // export {default as Slider} from './ui/Slider/Slider'
33
+ // export type {SliderProps} from './ui/Slider/Slider'
34
+ //
35
+ // export {default as Status} from './ui/Status/Status'
36
+ // export type {StatusProps} from './ui/Status/Status'
37
+ //
38
+ // export {default as Stepper} from './ui/Stepper/Stepper'
39
+ // export type {StepperProps} from './ui/Stepper/Stepper'
40
+ //
41
+ // export {default as Tooltip} from './ui/Tooltip/Tooltip'
42
+ // export type {TooltipProps} from './ui/Tooltip/Tooltip'
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"armtek-uikit-react","version":"1.0.17","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
1
+ {"name":"armtek-uikit-react","version":"1.0.19","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
@@ -1,2 +1 @@
1
- @import "./../../assets/variables";
2
1
  @import "./../../assets/Adornment";
@@ -0,0 +1,2 @@
1
+ export { default } from './Adornment';
2
+ export * from './Adornment';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Adornment";
2
+ export * from "./Adornment";
@@ -0,0 +1,2 @@
1
+ export { default } from './Alert';
2
+ export * from './Alert';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Alert";
2
+ export * from "./Alert";
@@ -0,0 +1,2 @@
1
+ export { default } from './Avatar';
2
+ export * from './Avatar';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Avatar";
2
+ export * from "./Avatar";
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { AvatarProps } from './Avatar';
2
+ import { AvatarProps } from '../Avatar/Avatar';
3
3
  export type AvatarGroupProps = {
4
4
  limit?: number;
5
5
  children: ReactNode;
@@ -0,0 +1 @@
1
+ @import "../../assets/AvatarGroup";
@@ -0,0 +1,2 @@
1
+ export { default } from './AvatarGroup';
2
+ export * from './AvatarGroup';
@@ -0,0 +1,2 @@
1
+ export { default } from "./AvatarGroup";
2
+ export * from "./AvatarGroup";
@@ -0,0 +1,2 @@
1
+ export { default } from './Badge';
2
+ export * from './Badge';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Badge";
2
+ export * from "./Badge";
@@ -0,0 +1,15 @@
1
+ import { ComponentPropsWithoutRef, ElementType, HTMLAttributes, ReactNode } from 'react';
2
+ import { ColorThemeType, ColorType, SizeType, VariantType } from '../../types/theme';
3
+ type OwnProps<T extends ElementType = ElementType> = {
4
+ children: ReactNode;
5
+ size?: SizeType;
6
+ color?: ColorType | Exclude<ColorThemeType, 'white'>;
7
+ variant?: VariantType;
8
+ startAdornment?: string | ReactNode;
9
+ endAdornment?: string | ReactNode;
10
+ group?: 'inline' | 'column';
11
+ as?: T;
12
+ };
13
+ export type ButtonProps<T extends ElementType = ElementType<HTMLAttributes<HTMLButtonElement>>> = OwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof OwnProps>;
14
+ declare const Button: <T extends ElementType>(props: ButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
15
+ export default Button;
@@ -0,0 +1,42 @@
1
+ import clsx from 'clsx';
2
+ import css from "./Button.module.scss";
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ import { jsxs as _jsxs } from "react/jsx-runtime";
5
+ import { Fragment as _Fragment } from "react/jsx-runtime";
6
+ const ButtonClasses = ['button', 'button_contained', 'button_transparent', 'button_outlined', 'button_primary', 'button_secondary', 'button_neutral', 'button_black', 'button__adornment', 'button__adornment_end', 'button__adornment_start', 'button_large', 'button_medium', 'button_small', 'button_icon', 'button_group', 'button_group_inline', 'button_group_column', 'button_grouped_inline', 'button_grouped_column'];
7
+
8
+ // const css = getCssPrefix(ButtonClasses)
9
+
10
+ const Button = props => {
11
+ let {
12
+ size = 'extraLarge',
13
+ color = 'primary',
14
+ variant = 'contained',
15
+ endAdornment,
16
+ startAdornment,
17
+ children,
18
+ className,
19
+ group,
20
+ as,
21
+ ...restProps
22
+ } = props;
23
+ let Component = as || 'button';
24
+ return /*#__PURE__*/_jsx(_Fragment, {
25
+ children: /*#__PURE__*/_jsxs(Component, {
26
+ ...restProps,
27
+ className: clsx(css.button, css['button_' + size], css['button_' + variant], css['button_' + color], className, {
28
+ [css['button_grouped_' + group]]: group
29
+ }),
30
+ children: [startAdornment && /*#__PURE__*/_jsx("div", {
31
+ className: clsx(css.button__adornment, css.button__adornment_start),
32
+ children: startAdornment
33
+ }), /*#__PURE__*/_jsx("div", {
34
+ children: children
35
+ }), endAdornment && /*#__PURE__*/_jsx("div", {
36
+ className: clsx(css.button__adornment, css.button__adornment_end),
37
+ children: endAdornment
38
+ })]
39
+ })
40
+ });
41
+ };
42
+ export default Button;
@@ -1,15 +1,2 @@
1
- import { ComponentPropsWithoutRef, ElementType, HTMLAttributes, ReactNode } from 'react';
2
- import { ColorThemeType, ColorType, SizeType, VariantType } from '../../types/theme';
3
- type OwnProps<T extends ElementType = ElementType> = {
4
- children: ReactNode;
5
- size?: SizeType;
6
- color?: ColorType | Exclude<ColorThemeType, 'white'>;
7
- variant?: VariantType;
8
- startAdornment?: string | ReactNode;
9
- endAdornment?: string | ReactNode;
10
- group?: 'inline' | 'column';
11
- as?: T;
12
- };
13
- export type ButtonProps<T extends ElementType = ElementType<HTMLAttributes<HTMLButtonElement>>> = OwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof OwnProps>;
14
- declare const Index: <T extends ElementType>(props: ButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
15
- export default Index;
1
+ export { default } from './Button';
2
+ export * from './Button';
@@ -1,42 +1,2 @@
1
- import clsx from 'clsx';
2
- import css from "./Button.module.scss";
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- import { jsxs as _jsxs } from "react/jsx-runtime";
5
- import { Fragment as _Fragment } from "react/jsx-runtime";
6
- const ButtonClasses = ['button', 'button_contained', 'button_transparent', 'button_outlined', 'button_primary', 'button_secondary', 'button_neutral', 'button_black', 'button__adornment', 'button__adornment_end', 'button__adornment_start', 'button_large', 'button_medium', 'button_small', 'button_icon', 'button_group', 'button_group_inline', 'button_group_column', 'button_grouped_inline', 'button_grouped_column'];
7
-
8
- // const css = getCssPrefix(ButtonClasses)
9
-
10
- const Index = props => {
11
- let {
12
- size = 'extraLarge',
13
- color = 'primary',
14
- variant = 'contained',
15
- endAdornment,
16
- startAdornment,
17
- children,
18
- className,
19
- group,
20
- as,
21
- ...restProps
22
- } = props;
23
- let Component = as || 'button';
24
- return /*#__PURE__*/_jsx(_Fragment, {
25
- children: /*#__PURE__*/_jsxs(Component, {
26
- ...restProps,
27
- className: clsx(css.button, css['button_' + size], css['button_' + variant], css['button_' + color], className, {
28
- [css['button_grouped_' + group]]: group
29
- }),
30
- children: [startAdornment && /*#__PURE__*/_jsx("div", {
31
- className: clsx(css.button__adornment, css.button__adornment_start),
32
- children: startAdornment
33
- }), /*#__PURE__*/_jsx("div", {
34
- children: children
35
- }), endAdornment && /*#__PURE__*/_jsx("div", {
36
- className: clsx(css.button__adornment, css.button__adornment_end),
37
- children: endAdornment
38
- })]
39
- })
40
- });
41
- };
42
- export default Index;
1
+ export { default } from "./Button";
2
+ export * from "./Button";
@@ -0,0 +1,6 @@
1
+ import { HTMLAttributes } from 'react';
2
+ type PropsType = {
3
+ orientation?: 'column' | 'inline';
4
+ } & HTMLAttributes<HTMLDivElement>;
5
+ declare const ButtonGroup: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
6
+ export default ButtonGroup;
@@ -0,0 +1,24 @@
1
+ import clsx from 'clsx';
2
+ import css from "../Button/Button.module.scss";
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ import { Fragment as _Fragment } from "react/jsx-runtime";
5
+ const ButtonGroupClasses = ['button_group', 'button_group_inline', 'button_group_column'];
6
+
7
+ // const css = getCssPrefix(ButtonGroupClasses)
8
+
9
+ const ButtonGroup = props => {
10
+ let {
11
+ orientation = 'inline',
12
+ className,
13
+ children,
14
+ ...restProps
15
+ } = props;
16
+ return /*#__PURE__*/_jsx(_Fragment, {
17
+ children: /*#__PURE__*/_jsx("div", {
18
+ ...restProps,
19
+ className: clsx(css.button_group, css['button_group_' + orientation], className),
20
+ children: children
21
+ })
22
+ });
23
+ };
24
+ export default ButtonGroup;
@@ -1,6 +1,2 @@
1
- import { HTMLAttributes } from 'react';
2
- type PropsType = {
3
- orientation?: 'column' | 'inline';
4
- } & HTMLAttributes<HTMLDivElement>;
5
- declare const ButtonGroup: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
6
- export default ButtonGroup;
1
+ export { default } from './ButtonGroup';
2
+ export * from './ButtonGroup';
@@ -1,24 +1,2 @@
1
- import clsx from 'clsx';
2
- import css from "../Button/Button.module.scss";
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- import { Fragment as _Fragment } from "react/jsx-runtime";
5
- const ButtonGroupClasses = ['button_group', 'button_group_inline', 'button_group_column'];
6
-
7
- // const css = getCssPrefix(ButtonGroupClasses)
8
-
9
- const ButtonGroup = props => {
10
- let {
11
- orientation = 'inline',
12
- className,
13
- children,
14
- ...restProps
15
- } = props;
16
- return /*#__PURE__*/_jsx(_Fragment, {
17
- children: /*#__PURE__*/_jsx("div", {
18
- ...restProps,
19
- className: clsx(css.button_group, css['button_group_' + orientation], className),
20
- children: children
21
- })
22
- });
23
- };
24
- export default ButtonGroup;
1
+ export { default } from "./ButtonGroup";
2
+ export * from "./ButtonGroup";
@@ -0,0 +1,3 @@
1
+ import { ButtonProps } from '../Button/Button';
2
+ declare const ButtonIcon: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default ButtonIcon;
@@ -0,0 +1,19 @@
1
+ import Button from "../Button/Button";
2
+ import clsx from 'clsx';
3
+ import css from "../Button/Button.module.scss";
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ import { Fragment as _Fragment } from "react/jsx-runtime";
6
+ const ButtonIconClasses = ['button_icon'];
7
+
8
+ // const css = getCssPrefix(ButtonIconClasses)
9
+
10
+ const ButtonIcon = props => {
11
+ return /*#__PURE__*/_jsx(_Fragment, {
12
+ children: /*#__PURE__*/_jsx(Button, {
13
+ ...props,
14
+ className: clsx(css.button_icon, props.className),
15
+ children: props.children
16
+ })
17
+ });
18
+ };
19
+ export default ButtonIcon;
@@ -1,3 +1,2 @@
1
- import { ButtonProps } from '../Button';
2
- declare const ButtonIcon: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ButtonIcon;
1
+ export { default } from './ButtonIcon';
2
+ export * from './ButtonIcon';
@@ -1,19 +1,2 @@
1
- import Button from "../Button";
2
- import clsx from 'clsx';
3
- import css from "../Button/Button.module.scss";
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { Fragment as _Fragment } from "react/jsx-runtime";
6
- const ButtonIconClasses = ['button_icon'];
7
-
8
- // const css = getCssPrefix(ButtonIconClasses)
9
-
10
- const ButtonIcon = props => {
11
- return /*#__PURE__*/_jsx(_Fragment, {
12
- children: /*#__PURE__*/_jsx(Button, {
13
- ...props,
14
- className: clsx(css.button_icon, props.className),
15
- children: props.children
16
- })
17
- });
18
- };
19
- export default ButtonIcon;
1
+ export { default } from "./ButtonIcon";
2
+ export * from "./ButtonIcon";
@@ -0,0 +1,2 @@
1
+ export { default } from './Card';
2
+ export * from './Card';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Card";
2
+ export * from "./Card";
@@ -0,0 +1,2 @@
1
+ export { default } from './Chip';
2
+ export * from './Chip';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Chip";
2
+ export * from "./Chip";
@@ -0,0 +1,2 @@
1
+ export { default } from './Checkbox';
2
+ export * from './Checkbox';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Checkbox";
2
+ export * from "./Checkbox";
@@ -0,0 +1,2 @@
1
+ export { default } from './DateField';
2
+ export * from './DateField';
@@ -0,0 +1,2 @@
1
+ export { default } from "./DateField";
2
+ export * from "./DateField";
@@ -0,0 +1,2 @@
1
+ export { default } from './DatePicker';
2
+ export * from './DatePicker';
@@ -0,0 +1,2 @@
1
+ export { default } from "./DatePicker";
2
+ export * from "./DatePicker";
@@ -0,0 +1,3 @@
1
+ export { default } from './Interval';
2
+ export { default as IntervalSlide } from './IntervalSlide';
3
+ export * from './Interval';
@@ -0,0 +1,3 @@
1
+ export { default } from "./Interval";
2
+ export { default as IntervalSlide } from "./IntervalSlide";
3
+ export * from "./Interval";
@@ -0,0 +1,2 @@
1
+ export { default } from './Password';
2
+ export * from './Password';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Password";
2
+ export * from "./Password";
@@ -0,0 +1,2 @@
1
+ export { default } from './Period';
2
+ export * from './Period';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Period";
2
+ export * from "./Period";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import DatePicker from "./DatePicker";
3
+ import DatePicker from "../DatePicker/DatePicker";
4
4
  import { useState } from 'react';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { Fragment as _Fragment } from "react/jsx-runtime";
@@ -0,0 +1,2 @@
1
+ export { default } from './PeriodSelect';
2
+ export * from './PeriodSelect';
@@ -0,0 +1,2 @@
1
+ export { default } from "./PeriodSelect";
2
+ export * from "./PeriodSelect";
@@ -1,3 +1,3 @@
1
- import { CheckboxPropsType } from './Checkbox';
1
+ import { CheckboxPropsType } from '../Checkbox/Checkbox';
2
2
  declare const Radio: (props: CheckboxPropsType) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Radio;
@@ -1,6 +1,6 @@
1
- import Checkbox from "./Checkbox";
1
+ import Checkbox from "../Checkbox/Checkbox";
2
2
  import clsx from 'clsx';
3
- import css from "./Checkbox.module.scss";
3
+ import css from "./Radio.module.scss";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  import { Fragment as _Fragment } from "react/jsx-runtime";
6
6
  const CssClasses = ['radio'];
@@ -0,0 +1 @@
1
+ @import "../../../assets/Checkbox";
@@ -0,0 +1,2 @@
1
+ export { default } from './Radio';
2
+ export * from './Radio';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Radio";
2
+ export * from "./Radio";
@@ -0,0 +1,2 @@
1
+ export { default } from './Rating';
2
+ export * from './Rating';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Rating";
2
+ export * from "./Rating";
@@ -0,0 +1,2 @@
1
+ export { default } from './Select';
2
+ export * from './Select';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Select";
2
+ export * from "./Select";
@@ -0,0 +1,2 @@
1
+ export { default } from './Switch';
2
+ export * from './Switch';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Switch";
2
+ export * from "./Switch";
@@ -0,0 +1,2 @@
1
+ export { default } from './TextArea';
2
+ export * from './TextArea';
@@ -0,0 +1,2 @@
1
+ export { default } from "./TextArea";
2
+ export * from "./TextArea";
@@ -0,0 +1,2 @@
1
+ export { default } from './TextField';
2
+ export * from './TextField';
@@ -0,0 +1,2 @@
1
+ export { default } from "./TextField";
2
+ export * from "./TextField";
@@ -1,3 +1,3 @@
1
- import { DateFieldProps } from './DateField';
1
+ import { DateFieldProps } from '../DateField/DateField';
2
2
  declare const TimeField: (props: DateFieldProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default TimeField;
@@ -1,4 +1,4 @@
1
- import DateField from "./DateField";
1
+ import DateField from "../DateField/DateField";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { Fragment as _Fragment } from "react/jsx-runtime";
4
4
  const TimeField = props => {
@@ -0,0 +1,2 @@
1
+ export { default } from './TimeField';
2
+ export * from './TimeField';
@@ -0,0 +1,2 @@
1
+ export { default } from "./TimeField";
2
+ export * from "./TimeField";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import DatePicker from "./DatePicker";
3
+ import DatePicker from "../DatePicker/DatePicker";
4
4
  import { useState } from 'react';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { Fragment as _Fragment } from "react/jsx-runtime";
@@ -0,0 +1,2 @@
1
+ export { default } from './TimePicker';
2
+ export * from './TimePicker';
@@ -0,0 +1,2 @@
1
+ export { default } from "./TimePicker";
2
+ export * from "./TimePicker";
@@ -0,0 +1,2 @@
1
+ export { default } from './HelperText';
2
+ export * from './HelperText';
@@ -0,0 +1,2 @@
1
+ export { default } from "./HelperText";
2
+ export * from "./HelperText";
@@ -0,0 +1,2 @@
1
+ export { default } from './ListItem';
2
+ export * from './ListItem';
@@ -0,0 +1,2 @@
1
+ export { default } from "./ListItem";
2
+ export * from "./ListItem";
@@ -1,6 +1,7 @@
1
1
  import { SizeType } from '../../types/theme';
2
+ import { HTMLAttributes } from 'react';
2
3
  export type LoaderProps = {
3
4
  size?: SizeType;
4
- };
5
+ } & HTMLAttributes<HTMLDivElement>;
5
6
  declare const Loader: (props: LoaderProps) => import("react/jsx-runtime").JSX.Element;
6
7
  export default Loader;
@@ -8,11 +8,17 @@ const CssClasses = ['loader'];
8
8
  // const css = getCssPrefix(CssClasses)
9
9
 
10
10
  const Loader = props => {
11
+ let {
12
+ size,
13
+ className,
14
+ ...divProps
15
+ } = props;
11
16
  let width = props.size === 'large' ? 25 : props.size === 'medium' ? 23 : props.size === 'small' ? 21 : 27;
12
17
  let height = props.size === 'large' ? 24 : props.size === 'medium' ? 22 : props.size === 'small' ? 20 : 26;
13
18
  return /*#__PURE__*/_jsx(_Fragment, {
14
19
  children: /*#__PURE__*/_jsx("div", {
15
- className: clsx(css.loader, 'material_icon'),
20
+ ...divProps,
21
+ className: clsx(css.loader, 'material_icon', className),
16
22
  children: /*#__PURE__*/_jsxs("svg", {
17
23
  xmlns: "http://www.w3.org/2000/svg",
18
24
  width: width,
@@ -0,0 +1,2 @@
1
+ export { default } from './Loader';
2
+ export * from './Loader';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Loader";
2
+ export * from "./Loader";
@@ -0,0 +1,2 @@
1
+ export { default } from './Logo';
2
+ export * from './Logo';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Logo";
2
+ export * from "./Logo";
@@ -0,0 +1,2 @@
1
+ export { default } from './Slider';
2
+ export * from './Slider';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Slider";
2
+ export * from "./Slider";
@@ -0,0 +1,2 @@
1
+ export { default } from './Status';
2
+ export * from './Status';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Status";
2
+ export * from "./Status";
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { StepItemIconProps } from './StepItemIcon';
3
- import { ButtonProps } from '../Button';
3
+ import { ButtonProps } from '../Button/Button';
4
4
  export type StepItemProps = {
5
5
  title: string;
6
6
  children?: ReactNode | string;
@@ -1,6 +1,6 @@
1
1
  import StepItemIcon from "./StepItemIcon";
2
2
  import clsx from 'clsx';
3
- import Index from "../Button";
3
+ import Button from "../Button/Button";
4
4
  import css from "./StepItem.module.scss";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -43,7 +43,7 @@ const StepItem = props => {
43
43
  className: css.stepItem__content,
44
44
  children: [content || children, !!button && /*#__PURE__*/_jsx("div", {
45
45
  className: css.stepItem__button,
46
- children: /*#__PURE__*/_jsx(Index, {
46
+ children: /*#__PURE__*/_jsx(Button, {
47
47
  ...buttonProps,
48
48
  children: button
49
49
  })
@@ -0,0 +1,2 @@
1
+ export { default } from './Stepper';
2
+ export * from './Stepper';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Stepper";
2
+ export * from "./Stepper";
@@ -0,0 +1,2 @@
1
+ export { default } from './Tooltip';
2
+ export * from './Tooltip';
@@ -0,0 +1,2 @@
1
+ export { default } from "./Tooltip";
2
+ export * from "./Tooltip";
@@ -1 +0,0 @@
1
- @import "./../../assets/AvatarGroup";
File without changes