kwant-ui 3.15.1-alpha.2 → 3.15.2-alpha.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.
Files changed (33) hide show
  1. package/GlobalStyles/index.ts +3 -4
  2. package/dist/HOC/HoverHOC/types.d.ts +1 -0
  3. package/dist/components/ConfirmationScreen/types.d.ts +1 -0
  4. package/dist/components/Dropdown/DropdownStyled.d.ts +0 -4
  5. package/dist/components/Dropdown/DropdownTypes.d.ts +0 -4
  6. package/dist/components/IconLabel/InfoAccordion/types.d.ts +1 -0
  7. package/dist/components/InfoAccordion/types.d.ts +1 -0
  8. package/dist/components/MultiSelect/MultiSelect.d.ts +1 -1
  9. package/dist/components/MultiSelect/types.d.ts +1 -3
  10. package/dist/components/MultiSelect/utils.d.ts +2 -4
  11. package/dist/components/Tag/types.d.ts +1 -0
  12. package/dist/index.es.js +110 -127
  13. package/dist/index.js +109 -126
  14. package/dist/package.json +14 -11
  15. package/dist/stories/Dropdown.stories.d.ts +0 -1
  16. package/dist/stories/MultiSelect/MultiSelect.stories.d.ts +0 -1
  17. package/package.json +11 -11
  18. package/dist/components/Dropdown/DropdownUtils.d.ts +0 -5
  19. package/fonts/Poppins-Black.woff +0 -0
  20. package/fonts/Poppins-Black.woff2 +0 -0
  21. package/fonts/Poppins-Bold.woff +0 -0
  22. package/fonts/Poppins-Bold.woff2 +0 -0
  23. package/fonts/Poppins-Italic.woff +0 -0
  24. package/fonts/Poppins-Italic.woff2 +0 -0
  25. package/fonts/Poppins-Light.woff +0 -0
  26. package/fonts/Poppins-Light.woff2 +0 -0
  27. package/fonts/Poppins-Medium.woff +0 -0
  28. package/fonts/Poppins-Medium.woff2 +0 -0
  29. package/fonts/Poppins-Regular.woff +0 -0
  30. package/fonts/Poppins-Regular.woff2 +0 -0
  31. package/fonts/Poppins-SemiBold.woff +0 -0
  32. package/fonts/Poppins-SemiBold.woff2 +0 -0
  33. package/fonts/fonts.ts +0 -95
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwant-ui",
3
- "version": "3.15.1-alpha.2",
3
+ "version": "3.15.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,14 +21,14 @@
21
21
  "@rollup/plugin-node-resolve": "^15.1.0",
22
22
  "@rollup/plugin-typescript": "^11.1.1",
23
23
  "@rollup/plugin-url": "^8.0.1",
24
- "@storybook/addon-essentials": "^7.4.0",
25
- "@storybook/addon-interactions": "^7.4.0",
26
- "@storybook/addon-links": "^7.4.0",
27
- "@storybook/addon-mdx-gfm": "^7.4.0",
28
- "@storybook/blocks": "^7.4.0",
29
- "@storybook/react": "^7.4.0",
30
- "@storybook/react-vite": "^7.4.0",
31
- "@storybook/testing-library": "^0.2.0",
24
+ "@storybook/addon-essentials": "^7.6.4",
25
+ "@storybook/addon-interactions": "^7.6.4",
26
+ "@storybook/addon-links": "^7.6.4",
27
+ "@storybook/addon-mdx-gfm": "^7.6.4",
28
+ "@storybook/blocks": "^7.6.4",
29
+ "@storybook/react": "^7.6.4",
30
+ "@storybook/react-vite": "^7.6.4",
31
+ "@storybook/testing-library": "^0.2.2",
32
32
  "@svgr/rollup": "^8.1.0",
33
33
  "@typescript-eslint/eslint-plugin": "^5.57.1",
34
34
  "@typescript-eslint/parser": "^5.57.1",
@@ -37,14 +37,14 @@
37
37
  "eslint-config-custom": "*",
38
38
  "eslint-plugin-react-hooks": "^4.6.0",
39
39
  "eslint-plugin-react-refresh": "^0.3.4",
40
- "eslint-plugin-storybook": "^0.6.13",
40
+ "eslint-plugin-storybook": "^0.6.15",
41
41
  "prop-types": "^15.8.1",
42
42
  "react-dom": "^18.2.0",
43
43
  "rollup": "^3.25.2",
44
44
  "rollup-plugin-copy": "^3.4.0",
45
45
  "rollup-plugin-peer-deps-external": "^2.2.4",
46
46
  "rollup-plugin-terser": "^7.0.2",
47
- "storybook": "^7.4.0",
47
+ "storybook": "^7.6.4",
48
48
  "tsconfig": "*"
49
49
  },
50
50
  "dependencies": {
@@ -84,5 +84,8 @@
84
84
  "GlobalStyles",
85
85
  "README.md",
86
86
  "package.json"
87
+ ],
88
+ "exclude": [
89
+ "stories"
87
90
  ]
88
91
  }
@@ -101,4 +101,3 @@ export declare const CustomOption: Story;
101
101
  export declare const NotSearchable: Story;
102
102
  export declare const WithoutScrollbar: Story;
103
103
  export declare const Controlled: Story;
104
- export declare const WithImageProperty: Story;
@@ -35,4 +35,3 @@ export default meta;
35
35
  type Story = StoryObj<typeof meta>;
36
36
  export declare const DefaultVariant: Story;
37
37
  export declare const CheckboxVariant: Story;
38
- export declare const WithImageProperty: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwant-ui",
3
- "version": "3.15.1-alpha.2",
3
+ "version": "3.15.2-alpha.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,14 +21,14 @@
21
21
  "@rollup/plugin-node-resolve": "^15.1.0",
22
22
  "@rollup/plugin-typescript": "^11.1.1",
23
23
  "@rollup/plugin-url": "^8.0.1",
24
- "@storybook/addon-essentials": "^7.4.0",
25
- "@storybook/addon-interactions": "^7.4.0",
26
- "@storybook/addon-links": "^7.4.0",
27
- "@storybook/addon-mdx-gfm": "^7.4.0",
28
- "@storybook/blocks": "^7.4.0",
29
- "@storybook/react": "^7.4.0",
30
- "@storybook/react-vite": "^7.4.0",
31
- "@storybook/testing-library": "^0.2.0",
24
+ "@storybook/addon-essentials": "^7.6.4",
25
+ "@storybook/addon-interactions": "^7.6.4",
26
+ "@storybook/addon-links": "^7.6.4",
27
+ "@storybook/addon-mdx-gfm": "^7.6.4",
28
+ "@storybook/blocks": "^7.6.4",
29
+ "@storybook/react": "^7.6.4",
30
+ "@storybook/react-vite": "^7.6.4",
31
+ "@storybook/testing-library": "^0.2.2",
32
32
  "@svgr/rollup": "^8.1.0",
33
33
  "@typescript-eslint/eslint-plugin": "^5.57.1",
34
34
  "@typescript-eslint/parser": "^5.57.1",
@@ -37,14 +37,14 @@
37
37
  "eslint-config-custom": "*",
38
38
  "eslint-plugin-react-hooks": "^4.6.0",
39
39
  "eslint-plugin-react-refresh": "^0.3.4",
40
- "eslint-plugin-storybook": "^0.6.13",
40
+ "eslint-plugin-storybook": "^0.6.15",
41
41
  "prop-types": "^15.8.1",
42
42
  "react-dom": "^18.2.0",
43
43
  "rollup": "^3.25.2",
44
44
  "rollup-plugin-copy": "^3.4.0",
45
45
  "rollup-plugin-peer-deps-external": "^2.2.4",
46
46
  "rollup-plugin-terser": "^7.0.2",
47
- "storybook": "^7.4.0",
47
+ "storybook": "^7.6.4",
48
48
  "tsconfig": "*"
49
49
  },
50
50
  "dependencies": {
@@ -1,5 +0,0 @@
1
- import { IDropdown } from './DropdownTypes';
2
- export declare const CustomOptionWithImage: (option: IDropdown.Option & {
3
- selected?: boolean;
4
- avatarProps?: IDropdown.Props['avatarProps'];
5
- }) => import("react/jsx-runtime").JSX.Element;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/fonts/fonts.ts DELETED
@@ -1,95 +0,0 @@
1
- /** black */
2
- import PoppinsBlack from "./Poppins-Black.woff2";
3
- import PoppinsBlackWoff from "./Poppins-Black.woff";
4
-
5
- /** bold */
6
- import PoppinsBold from "./Poppins-Bold.woff2";
7
- import PoppinsBoldWoff from "./Poppins-Bold.woff";
8
-
9
- /** light */
10
- import PoppinsLight from "./Poppins-Light.woff2";
11
- import PoppinsLightWoff from "./Poppins-Light.woff";
12
-
13
- /** italic */
14
- import PoppinsItalic from "./Poppins-Italic.woff2";
15
- import PoppinsItalicWoff from "./Poppins-Italic.woff";
16
-
17
- /** medium */
18
- import PoppinsMedium from "./Poppins-Medium.woff2";
19
- import PoppinsMediumWoff from "./Poppins-Medium.woff";
20
-
21
- /** regular */
22
- import PoppinsRegular from "./Poppins-Regular.woff2";
23
- import PoppinsRegularWoff from "./Poppins-Regular.woff";
24
-
25
- /** semi-bold */
26
- import PoppinsSemiBold from "./Poppins-SemiBold.woff2";
27
- import PoppinsSemiBoldWoff from "./Poppins-SemiBold.woff";
28
-
29
- const fonts = `
30
- @font-face {
31
- font-family: 'Poppins';
32
- src: url(${PoppinsBlack}) format('woff2'),
33
- url(${PoppinsBlackWoff}) format('woff');
34
- font-weight: 900;
35
- font-style: normal;
36
- font-display: swap;
37
- }
38
-
39
- @font-face {
40
- font-family: 'Poppins';
41
- src: url(${PoppinsBold}) format('woff2'),
42
- url(${PoppinsBoldWoff}) format('woff');
43
- font-weight: bold;
44
- font-style: normal;
45
- font-display: swap;
46
- }
47
-
48
- @font-face {
49
- font-family: 'Poppins';
50
- src: url(${PoppinsLight}) format('woff2'),
51
- url(${PoppinsLightWoff}) format('woff');
52
- font-weight: 300;
53
- font-style: normal;
54
- font-display: swap;
55
- }
56
-
57
- @font-face {
58
- font-family: 'Poppins';
59
- src: url(${PoppinsItalic}) format('woff2'),
60
- url(${PoppinsItalicWoff}) format('woff');
61
- font-weight: normal;
62
- font-style: italic;
63
- font-display: swap;
64
- }
65
-
66
- @font-face {
67
- font-family: 'Poppins';
68
- src: url(${PoppinsMedium}) format('woff2'),
69
- url(${PoppinsMediumWoff}) format('woff');
70
- font-weight: 500;
71
- font-style: normal;
72
- font-display: swap;
73
- }
74
-
75
- @font-face {
76
- font-family: 'Poppins';
77
- src: url(${PoppinsRegular}) format('woff2'),
78
- url(${PoppinsRegularWoff}) format('woff');
79
- font-weight: normal;
80
- font-style: normal;
81
- font-display: swap;
82
- }
83
-
84
-
85
- @font-face {
86
- font-family: 'Poppins';
87
- src: url(${PoppinsSemiBold}) format('woff2'),
88
- url(${PoppinsSemiBoldWoff}) format('woff');
89
- font-weight: 600;
90
- font-style: normal;
91
- font-display: swap;
92
- }
93
- `;
94
-
95
- export { fonts };