mimir-ui-kit 1.14.4 → 1.14.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/README.md +62 -62
  2. package/dist/SelectSearchOption-snHM9uZX.js +3796 -0
  3. package/dist/assets/Image.css +1 -0
  4. package/dist/assets/SelectSearch.css +1 -1
  5. package/dist/assets/SelectSearchOption.css +1 -0
  6. package/dist/assets/Tag.css +1 -1
  7. package/dist/components/Image/Image.d.ts +12 -0
  8. package/dist/components/Image/Image.js +42 -15
  9. package/dist/components/Input/Input.js +1 -1
  10. package/dist/components/SelectSearch/SelectSearch.d.ts +7 -12
  11. package/dist/components/SelectSearch/SelectSearch.js +681 -3792
  12. package/dist/components/SelectSearch/constants.d.ts +2 -2
  13. package/dist/components/SelectSearch/constants.js +1 -1
  14. package/dist/components/SelectSearch/index.d.ts +2 -1
  15. package/dist/components/SelectSearch/types.d.ts +40 -0
  16. package/dist/components/SelectSearch/types.js +1 -0
  17. package/dist/components/SelectSearchOption/SelectSearchOption.d.ts +10 -0
  18. package/dist/components/SelectSearchOption/SelectSearchOption.js +8 -0
  19. package/dist/components/SelectSearchOption/index.d.ts +2 -0
  20. package/dist/components/SelectSearchOption/index.js +4 -0
  21. package/dist/components/Slider/Slider.d.ts +2 -0
  22. package/dist/components/Slider/Slider.js +4 -2
  23. package/dist/components/Tag/Tag.js +6 -6
  24. package/dist/components/Uploader/Uploader.d.ts +4 -4
  25. package/dist/components/Uploader/Uploader.js +5 -4
  26. package/dist/components/Uploader/constants.d.ts +1 -1
  27. package/dist/components/Uploader/constants.js +1 -1
  28. package/dist/components/Uploader/index.d.ts +1 -1
  29. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +3 -3
  30. package/dist/components/UploaderPhotos/UploaderPhotos.js +2 -2
  31. package/dist/components/UploaderPhotos/index.d.ts +1 -1
  32. package/dist/components/index.d.ts +8 -2
  33. package/dist/components/index.js +8 -1
  34. package/dist/hooks/index.d.ts +1 -1
  35. package/dist/hooks/index.js +2 -1
  36. package/dist/hooks/useMediaQuery/constants.d.ts +10 -0
  37. package/dist/hooks/useMediaQuery/constants.js +13 -1
  38. package/dist/hooks/useMediaQuery/index.d.ts +1 -1
  39. package/dist/hooks/useMediaQuery/index.js +2 -1
  40. package/dist/index.js +10 -2
  41. package/package.json +130 -128
package/package.json CHANGED
@@ -1,128 +1,130 @@
1
- {
2
- "name": "mimir-ui-kit",
3
- "private": false,
4
- "version": "1.14.4",
5
- "type": "module",
6
- "exports": {
7
- ".": {
8
- "types": "./dist/index.d.ts",
9
- "default": "./dist/index.js"
10
- },
11
- "./components": {
12
- "types": "./dist/components/index.d.ts",
13
- "default": "./dist/components/index.js"
14
- },
15
- "./hooks": {
16
- "types": "./dist/hooks/index.d.ts",
17
- "default": "./dist/hooks/index.js"
18
- },
19
- "./icons": {
20
- "types": "./dist/icons/index.d.ts",
21
- "default": "./dist/icons/index.js"
22
- },
23
- "./styles": {
24
- "default": "./dist/assets/index.css"
25
- }
26
- },
27
- "module": "./dist/index.js",
28
- "types": "./dist/index.d.ts",
29
- "files": [
30
- "dist"
31
- ],
32
- "sideEffects": [
33
- "**/*.{css,scss}"
34
- ],
35
- "scripts": {
36
- "build": "tsc --p ./tsconfig-build.json && vite build",
37
- "storybook": "storybook dev -p 6006",
38
- "build-storybook": "storybook build",
39
- "ts:check": "tsc -b",
40
- "lint:fix": "eslint . --ext ts,tsx --fix",
41
- "lint:prettier": "npx prettier . --write",
42
- "lint:stylelint": "stylelint '**/*.module{.css,.scss}'",
43
- "lint:stylelint:fix": "stylelint '**/*.module{.css,.scss}' --fix",
44
- "icons": "svgr --expand-props start ./src/icons/svgs",
45
- "prepare": "husky",
46
- "create-component": "node createComponent.js"
47
- },
48
- "devDependencies": {
49
- "@chromatic-com/storybook": "^1.6.1",
50
- "@headlessui/react": "^2.1.2",
51
- "@laynezh/vite-plugin-lib-assets": "^0.5.23",
52
- "@loadable/component": "^5.15.2",
53
- "@storybook/addon-essentials": "^8.2.2",
54
- "@storybook/addon-interactions": "^8.2.2",
55
- "@storybook/addon-links": "^8.2.2",
56
- "@storybook/addon-onboarding": "^8.2.2",
57
- "@storybook/blocks": "^8.2.2",
58
- "@storybook/builder-vite": "^8.2.2",
59
- "@storybook/react": "^8.2.2",
60
- "@storybook/react-vite": "^8.2.2",
61
- "@storybook/test": "^8.2.2",
62
- "@svgr/cli": "^8.1.0",
63
- "@svgr/core": "^8.1.0",
64
- "@svgr/plugin-svgo": "^8.1.0",
65
- "@types/node": "^20.14.10",
66
- "@types/react": "^18.3.3",
67
- "@types/react-dom": "^18.3.0",
68
- "@typescript-eslint/eslint-plugin": "^7.13.1",
69
- "@typescript-eslint/parser": "^7.13.1",
70
- "@vitejs/plugin-react": "^4.3.1",
71
- "autoprefixer": "^10.4.19",
72
- "chalk": "4.1.2",
73
- "classnames": "^2.5.1",
74
- "dotenv": "^16.4.5",
75
- "eslint": "^8.57.0",
76
- "eslint-config-prettier": "^9.1.0",
77
- "eslint-plugin-import": "^2.29.1",
78
- "eslint-plugin-react-hooks": "^4.6.2",
79
- "eslint-plugin-react-refresh": "^0.4.7",
80
- "eslint-plugin-storybook": "^0.8.0",
81
- "glob": "10.3.10",
82
- "husky": "^9.0.11",
83
- "lint-staged": "^15.2.7",
84
- "p-limit": "^6.1.0",
85
- "postcss-preset-env": "^9.6.0",
86
- "prettier": "^3.3.3",
87
- "react": "^18.3.1",
88
- "react-dom": "^18.3.1",
89
- "sass": "^1.77.7",
90
- "storybook": "^8.2.2",
91
- "stylelint": "^16.7.0",
92
- "stylelint-config-idiomatic-order": "^10.0.0",
93
- "stylelint-config-rational-order": "^0.1.2",
94
- "stylelint-config-standard": "^36.0.1",
95
- "stylelint-order": "^6.0.4",
96
- "stylelint-prettier": "^5.0.0",
97
- "stylelint-scss": "^6.4.0",
98
- "superagent": "^9.0.2",
99
- "typescript": "^5.2.2",
100
- "vite": "^5.3.1",
101
- "vite-plugin-dts": "^3.9.1",
102
- "vite-plugin-lib-inject-css": "^2.1.1",
103
- "vite-plugin-svgr": "^4.2.0"
104
- },
105
- "peerDependencies": {
106
- "@headlessui/react": "^2.1.2",
107
- "react": "^18.3.1",
108
- "react-dom": "^18.3.1"
109
- },
110
- "husky": {
111
- "hooks": {
112
- "pre-commit": "lint-staged"
113
- }
114
- },
115
- "lint-staged": {
116
- "**/*.{ts,tsx}": [
117
- "eslint --ignore-path .eslintignore",
118
- "prettier --write"
119
- ],
120
- "**/*.{css,scss}": [
121
- "stylelint --fix --formatter verbose"
122
- ]
123
- },
124
- "dependencies": {
125
- "swiper": "^11.1.5",
126
- "use-clipboard-copy": "^0.2.0"
127
- }
128
- }
1
+ {
2
+ "name": "mimir-ui-kit",
3
+ "private": false,
4
+ "version": "1.14.7",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./dist/index.d.ts",
9
+ "default": "./dist/index.js"
10
+ },
11
+ "./components": {
12
+ "types": "./dist/components/index.d.ts",
13
+ "default": "./dist/components/index.js"
14
+ },
15
+ "./hooks": {
16
+ "types": "./dist/hooks/index.d.ts",
17
+ "default": "./dist/hooks/index.js"
18
+ },
19
+ "./icons": {
20
+ "types": "./dist/icons/index.d.ts",
21
+ "default": "./dist/icons/index.js"
22
+ },
23
+ "./styles": {
24
+ "default": "./dist/assets/index.css"
25
+ }
26
+ },
27
+ "module": "./dist/index.js",
28
+ "types": "./dist/index.d.ts",
29
+ "files": [
30
+ "dist"
31
+ ],
32
+ "sideEffects": [
33
+ "**/*.{css,scss}"
34
+ ],
35
+ "scripts": {
36
+ "build": "tsc --p ./tsconfig-build.json && vite build",
37
+ "storybook": "storybook dev -p 6006",
38
+ "build-storybook": "storybook build",
39
+ "ts:check": "tsc -b",
40
+ "lint:fix": "eslint . --ext ts,tsx --fix",
41
+ "lint:prettier": "npx prettier . --write",
42
+ "lint:stylelint": "stylelint '**/*.module{.css,.scss}'",
43
+ "lint:stylelint:fix": "stylelint '**/*.module{.css,.scss}' --fix",
44
+ "icons": "svgr --expand-props start ./src/icons/svgs",
45
+ "prepare": "husky",
46
+ "create-component": "node createComponent.js"
47
+ },
48
+ "devDependencies": {
49
+ "@chromatic-com/storybook": "^1.6.1",
50
+ "@headlessui/react": "^2.1.2",
51
+ "@laynezh/vite-plugin-lib-assets": "^0.5.23",
52
+ "@loadable/component": "^5.15.2",
53
+ "@storybook/addon-essentials": "^8.2.2",
54
+ "@storybook/addon-interactions": "^8.2.2",
55
+ "@storybook/addon-links": "^8.2.2",
56
+ "@storybook/addon-onboarding": "^8.2.2",
57
+ "@storybook/blocks": "^8.2.2",
58
+ "@storybook/builder-vite": "^8.2.2",
59
+ "@storybook/react": "^8.2.2",
60
+ "@storybook/react-vite": "^8.2.2",
61
+ "@storybook/test": "^8.2.2",
62
+ "@svgr/cli": "^8.1.0",
63
+ "@svgr/core": "^8.1.0",
64
+ "@svgr/plugin-svgo": "^8.1.0",
65
+ "@types/node": "^20.14.10",
66
+ "@types/react": "^18.3.3",
67
+ "@types/react-dom": "^18.3.0",
68
+ "@types/react-window": "^1.8.8",
69
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
70
+ "@typescript-eslint/parser": "^7.13.1",
71
+ "@vitejs/plugin-react": "^4.3.1",
72
+ "autoprefixer": "^10.4.19",
73
+ "chalk": "4.1.2",
74
+ "classnames": "^2.5.1",
75
+ "dotenv": "^16.4.5",
76
+ "eslint": "^8.57.0",
77
+ "eslint-config-prettier": "^9.1.0",
78
+ "eslint-plugin-import": "^2.29.1",
79
+ "eslint-plugin-react-hooks": "^4.6.2",
80
+ "eslint-plugin-react-refresh": "^0.4.7",
81
+ "eslint-plugin-storybook": "^0.8.0",
82
+ "glob": "10.3.10",
83
+ "husky": "^9.0.11",
84
+ "lint-staged": "^15.2.7",
85
+ "p-limit": "^6.1.0",
86
+ "postcss-preset-env": "^9.6.0",
87
+ "prettier": "^3.3.3",
88
+ "react": "^18.3.1",
89
+ "react-dom": "^18.3.1",
90
+ "sass": "^1.77.7",
91
+ "storybook": "^8.2.2",
92
+ "stylelint": "^16.7.0",
93
+ "stylelint-config-idiomatic-order": "^10.0.0",
94
+ "stylelint-config-rational-order": "^0.1.2",
95
+ "stylelint-config-standard": "^36.0.1",
96
+ "stylelint-order": "^6.0.4",
97
+ "stylelint-prettier": "^5.0.0",
98
+ "stylelint-scss": "^6.4.0",
99
+ "superagent": "^9.0.2",
100
+ "typescript": "^5.2.2",
101
+ "vite": "^5.3.1",
102
+ "vite-plugin-dts": "^3.9.1",
103
+ "vite-plugin-lib-inject-css": "^2.1.1",
104
+ "vite-plugin-svgr": "^4.2.0"
105
+ },
106
+ "peerDependencies": {
107
+ "@headlessui/react": "^2.1.2",
108
+ "react": "^18.3.1",
109
+ "react-dom": "^18.3.1"
110
+ },
111
+ "husky": {
112
+ "hooks": {
113
+ "pre-commit": "lint-staged"
114
+ }
115
+ },
116
+ "lint-staged": {
117
+ "**/*.{ts,tsx}": [
118
+ "eslint --ignore-path .eslintignore",
119
+ "prettier --write"
120
+ ],
121
+ "**/*.{css,scss}": [
122
+ "stylelint --fix --formatter verbose"
123
+ ]
124
+ },
125
+ "dependencies": {
126
+ "react-window": "^1.8.10",
127
+ "swiper": "^11.1.5",
128
+ "use-clipboard-copy": "^0.2.0"
129
+ }
130
+ }