@ssa-ui-kit/core 0.0.6-alpha → 0.0.8-alpha

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 (102) hide show
  1. package/dist/components/Icon/Icon.d.ts +1 -1
  2. package/dist/components/Icon/icons/Archive.d.ts +1 -1
  3. package/dist/components/Icon/icons/ArrowDown.d.ts +1 -1
  4. package/dist/components/Icon/icons/ArrowUp.d.ts +1 -1
  5. package/dist/components/Icon/icons/Attention.d.ts +1 -1
  6. package/dist/components/Icon/icons/Bin.d.ts +1 -1
  7. package/dist/components/Icon/icons/Calendar.d.ts +1 -1
  8. package/dist/components/Icon/icons/CarrotDown.d.ts +1 -1
  9. package/dist/components/Icon/icons/CarrotLeft.d.ts +1 -1
  10. package/dist/components/Icon/icons/CarrotRight.d.ts +1 -1
  11. package/dist/components/Icon/icons/CarrotUp.d.ts +1 -1
  12. package/dist/components/Icon/icons/Change.d.ts +1 -1
  13. package/dist/components/Icon/icons/Chart.d.ts +1 -1
  14. package/dist/components/Icon/icons/Check.d.ts +1 -1
  15. package/dist/components/Icon/icons/CheckCircle.d.ts +1 -1
  16. package/dist/components/Icon/icons/Circle.d.ts +1 -1
  17. package/dist/components/Icon/icons/Clock.d.ts +1 -1
  18. package/dist/components/Icon/icons/Copy.d.ts +1 -1
  19. package/dist/components/Icon/icons/Cross.d.ts +1 -1
  20. package/dist/components/Icon/icons/Diet.d.ts +1 -1
  21. package/dist/components/Icon/icons/Email.d.ts +1 -1
  22. package/dist/components/Icon/icons/Filter.d.ts +1 -1
  23. package/dist/components/Icon/icons/Home.d.ts +1 -1
  24. package/dist/components/Icon/icons/Information.d.ts +1 -1
  25. package/dist/components/Icon/icons/Invisible.d.ts +1 -1
  26. package/dist/components/Icon/icons/Lock.d.ts +1 -1
  27. package/dist/components/Icon/icons/LogIn.d.ts +1 -1
  28. package/dist/components/Icon/icons/LogOut.d.ts +1 -1
  29. package/dist/components/Icon/icons/Measurements.d.ts +1 -1
  30. package/dist/components/Icon/icons/Minus.d.ts +1 -1
  31. package/dist/components/Icon/icons/More.d.ts +1 -1
  32. package/dist/components/Icon/icons/MoreVertical.d.ts +1 -1
  33. package/dist/components/Icon/icons/Notification.d.ts +1 -1
  34. package/dist/components/Icon/icons/Plus.d.ts +1 -1
  35. package/dist/components/Icon/icons/RadioOn.d.ts +1 -1
  36. package/dist/components/Icon/icons/Robot.d.ts +1 -1
  37. package/dist/components/Icon/icons/Search.d.ts +1 -1
  38. package/dist/components/Icon/icons/Settings.d.ts +1 -1
  39. package/dist/components/Icon/icons/Sleep.d.ts +1 -1
  40. package/dist/components/Icon/icons/Stats.d.ts +1 -1
  41. package/dist/components/Icon/icons/Trainings.d.ts +1 -1
  42. package/dist/components/Icon/icons/Union.d.ts +1 -1
  43. package/dist/components/Icon/icons/User.d.ts +1 -1
  44. package/dist/components/Icon/icons/Visible.d.ts +1 -1
  45. package/dist/components/Icon/icons/Warning.d.ts +1 -1
  46. package/dist/components/Icon/icons/index.d.ts +1 -1
  47. package/dist/components/Icon/types.d.ts +4 -8
  48. package/dist/index.js +1 -1
  49. package/dist/index.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/components/Dropdown/Dropdown.spec.tsx +6 -0
  52. package/src/components/DropdownToggle/DropdownToggle.tsx +1 -0
  53. package/src/components/Icon/Icon.tsx +2 -2
  54. package/src/components/Icon/Icons.spec.tsx +45 -19
  55. package/src/components/Icon/Icons.stories.tsx +7 -1
  56. package/src/components/Icon/icons/Archive.tsx +3 -2
  57. package/src/components/Icon/icons/ArrowDown.tsx +3 -2
  58. package/src/components/Icon/icons/ArrowUp.tsx +3 -2
  59. package/src/components/Icon/icons/Attention.tsx +3 -2
  60. package/src/components/Icon/icons/Bin.tsx +3 -2
  61. package/src/components/Icon/icons/Calendar.tsx +3 -2
  62. package/src/components/Icon/icons/CarrotDown.tsx +7 -2
  63. package/src/components/Icon/icons/CarrotLeft.tsx +7 -2
  64. package/src/components/Icon/icons/CarrotRight.tsx +7 -2
  65. package/src/components/Icon/icons/CarrotUp.tsx +3 -2
  66. package/src/components/Icon/icons/Change.tsx +3 -2
  67. package/src/components/Icon/icons/Chart.tsx +3 -2
  68. package/src/components/Icon/icons/Check.tsx +3 -2
  69. package/src/components/Icon/icons/CheckCircle.tsx +7 -2
  70. package/src/components/Icon/icons/Circle.tsx +3 -2
  71. package/src/components/Icon/icons/Clock.tsx +3 -2
  72. package/src/components/Icon/icons/Copy.tsx +3 -2
  73. package/src/components/Icon/icons/Cross.tsx +3 -2
  74. package/src/components/Icon/icons/Diet.tsx +3 -2
  75. package/src/components/Icon/icons/Email.tsx +3 -2
  76. package/src/components/Icon/icons/Filter.tsx +3 -2
  77. package/src/components/Icon/icons/Home.tsx +3 -2
  78. package/src/components/Icon/icons/Information.tsx +7 -2
  79. package/src/components/Icon/icons/Invisible.tsx +3 -2
  80. package/src/components/Icon/icons/Lock.tsx +3 -2
  81. package/src/components/Icon/icons/LogIn.tsx +3 -2
  82. package/src/components/Icon/icons/LogOut.tsx +3 -2
  83. package/src/components/Icon/icons/Measurements.tsx +7 -2
  84. package/src/components/Icon/icons/Minus.tsx +3 -2
  85. package/src/components/Icon/icons/More.tsx +3 -2
  86. package/src/components/Icon/icons/MoreVertical.tsx +8 -3
  87. package/src/components/Icon/icons/Notification.tsx +7 -2
  88. package/src/components/Icon/icons/Plus.tsx +3 -2
  89. package/src/components/Icon/icons/RadioOn.tsx +3 -2
  90. package/src/components/Icon/icons/Robot.tsx +5 -4
  91. package/src/components/Icon/icons/Search.tsx +5 -4
  92. package/src/components/Icon/icons/Settings.tsx +3 -2
  93. package/src/components/Icon/icons/Sleep.tsx +3 -2
  94. package/src/components/Icon/icons/Stats.tsx +3 -2
  95. package/src/components/Icon/icons/Trainings.tsx +3 -2
  96. package/src/components/Icon/icons/Union.tsx +3 -2
  97. package/src/components/Icon/icons/User.tsx +3 -2
  98. package/src/components/Icon/icons/Visible.tsx +3 -2
  99. package/src/components/Icon/icons/Warning.tsx +3 -2
  100. package/src/components/Icon/icons/index.tsx +2 -2
  101. package/src/components/Icon/types.ts +5 -9
  102. package/tsbuildcache +1 -1
@@ -1,3 +1,3 @@
1
1
  import { IconProps } from './types';
2
- declare const Icon: ({ name, color, size }: IconProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Icon: ({ name, color, size, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Icon;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Archive: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Archive: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const ArrowDown: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ArrowDown: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const ArrowUp: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ArrowUp: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Attention: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Attention: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Bin: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Bin: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Calendar: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Calendar: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const CarrotDown: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const CarrotDown: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const CarrotLeft: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const CarrotLeft: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const CarrotRight: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const CarrotRight: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const CarrotUp: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const CarrotUp: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Change: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Change: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Chart: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Chart: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Check: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Check: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const CheckCircle: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const CheckCircle: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Circle: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Circle: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Clock: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Clock: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Copy: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Copy: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Cross: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Cross: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Diet: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Diet: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Email: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Email: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Filter: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Filter: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Home: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Home: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Information: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Information: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Invisible: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Invisible: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Lock: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Lock: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const LogIn: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const LogIn: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const LogOut: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const LogOut: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Measurements: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Measurements: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Minus: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Minus: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const More: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const More: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const MoreVertical: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MoreVertical: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Notification: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Notification: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Plus: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Plus: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const RadioOn: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const RadioOn: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Robot: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Robot: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Search: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Search: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Settings: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Settings: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Sleep: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Sleep: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Stats: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Stats: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Trainings: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Trainings: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Union: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Union: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const User: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const User: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Visible: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Visible: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from '../types';
2
- export declare const Warning: ({ fill, size }: SVGProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Warning: ({ fill, size, ...props }: SVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { IconProps } from '../types';
2
- declare const IconMapComponent: ({ name, color, size }: IconProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ declare const IconMapComponent: ({ name, color, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element | null;
3
3
  export default IconMapComponent;
@@ -1,15 +1,11 @@
1
1
  import React from 'react';
2
- import { CommonProps } from '../../types/emotion';
3
2
  import { iconsList } from './icons/iconsList';
4
- export interface IconProps extends CommonProps {
5
- name: keyof IMapIcons;
6
- color?: string;
3
+ export interface SVGProps extends React.SVGProps<SVGSVGElement> {
7
4
  size?: number;
8
5
  }
6
+ export interface IconProps extends Omit<SVGProps, 'fill'> {
7
+ name: keyof IMapIcons;
8
+ }
9
9
  export type IMapIcons = {
10
10
  [key in (typeof iconsList)[number]]: React.ElementType;
11
11
  };
12
- export interface SVGProps {
13
- fill?: string;
14
- size?: number;
15
- }