@iit/precision-ui 0.1.0 → 0.2.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 (176) hide show
  1. package/dist/Adapters.d.ts +8 -0
  2. package/dist/Adapters.d.ts.map +1 -1
  3. package/dist/components/CarouselDotButton.d.ts +13 -0
  4. package/dist/components/CarouselDotButton.d.ts.map +1 -0
  5. package/dist/components/GridIterator.d.ts +13 -0
  6. package/dist/components/GridIterator.d.ts.map +1 -0
  7. package/dist/components/Informer.d.ts +6 -0
  8. package/dist/components/Informer.d.ts.map +1 -0
  9. package/dist/components/SafeHtml.d.ts +6 -0
  10. package/dist/components/SafeHtml.d.ts.map +1 -0
  11. package/dist/components/breadcrumbs/Breadcrumb.d.ts +9 -0
  12. package/dist/components/breadcrumbs/Breadcrumb.d.ts.map +1 -0
  13. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +9 -0
  14. package/dist/components/breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  15. package/dist/components/breadcrumbs/index.d.ts +5 -0
  16. package/dist/components/breadcrumbs/index.d.ts.map +1 -0
  17. package/dist/components/cards/Advantage.d.ts +10 -0
  18. package/dist/components/cards/Advantage.d.ts.map +1 -0
  19. package/dist/components/cards/Advantage2.d.ts +14 -0
  20. package/dist/components/cards/Advantage2.d.ts.map +1 -0
  21. package/dist/components/cards/FeaturedCard.d.ts +18 -0
  22. package/dist/components/cards/FeaturedCard.d.ts.map +1 -0
  23. package/dist/components/cards/Plate.d.ts +15 -0
  24. package/dist/components/cards/Plate.d.ts.map +1 -0
  25. package/dist/components/cards/Product.d.ts +28 -0
  26. package/dist/components/cards/Product.d.ts.map +1 -0
  27. package/dist/components/cards/Rate.d.ts +35 -0
  28. package/dist/components/cards/Rate.d.ts.map +1 -0
  29. package/dist/components/core/typography/Heading.d.ts +11 -0
  30. package/dist/components/core/typography/Heading.d.ts.map +1 -0
  31. package/dist/components/core/typography/Text.d.ts +11 -0
  32. package/dist/components/core/typography/Text.d.ts.map +1 -0
  33. package/dist/components/core/typography/typeVariants.d.ts +4 -0
  34. package/dist/components/core/typography/typeVariants.d.ts.map +1 -0
  35. package/dist/components/ui/Tag.d.ts +16 -0
  36. package/dist/components/ui/Tag.d.ts.map +1 -0
  37. package/dist/components/ui/alert.d.ts +2 -1
  38. package/dist/components/ui/alert.d.ts.map +1 -1
  39. package/dist/components/ui/button/index.d.ts +8 -0
  40. package/dist/components/ui/button/index.d.ts.map +1 -1
  41. package/dist/components/ui/carousel.d.ts +28 -0
  42. package/dist/components/ui/carousel.d.ts.map +1 -0
  43. package/dist/components/ui/checkbox/CheckboxWithLabel.d.ts +14 -0
  44. package/dist/components/ui/checkbox/CheckboxWithLabel.d.ts.map +1 -0
  45. package/dist/components/ui/checkbox/checkbox.d.ts +12 -0
  46. package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -0
  47. package/dist/components/ui/checkbox/index.d.ts +5 -0
  48. package/dist/components/ui/checkbox/index.d.ts.map +1 -0
  49. package/dist/components/ui/input/Input.d.ts +11 -0
  50. package/dist/components/ui/input/Input.d.ts.map +1 -0
  51. package/dist/components/ui/input/InputWithLabel.d.ts +13 -0
  52. package/dist/components/ui/input/InputWithLabel.d.ts.map +1 -0
  53. package/dist/components/ui/input/SearchInput.d.ts +12 -0
  54. package/dist/components/ui/input/SearchInput.d.ts.map +1 -0
  55. package/dist/components/ui/input/SearchInputWithButton.d.ts +17 -0
  56. package/dist/components/ui/input/SearchInputWithButton.d.ts.map +1 -0
  57. package/dist/components/ui/input/index.d.ts +5 -0
  58. package/dist/components/ui/input/index.d.ts.map +1 -0
  59. package/dist/components/ui/input/types.d.ts +2 -0
  60. package/dist/components/ui/input/types.d.ts.map +1 -0
  61. package/dist/components/ui/label.d.ts +8 -0
  62. package/dist/components/ui/label.d.ts.map +1 -0
  63. package/dist/components/ui/popover.d.ts +7 -0
  64. package/dist/components/ui/popover.d.ts.map +1 -0
  65. package/dist/components/ui/tooltip.d.ts +8 -0
  66. package/dist/components/ui/tooltip.d.ts.map +1 -0
  67. package/dist/decorators/CarouselWrapper.d.ts +10 -0
  68. package/dist/decorators/CarouselWrapper.d.ts.map +1 -0
  69. package/dist/decorators/ImageWrapper.d.ts +11 -0
  70. package/dist/decorators/ImageWrapper.d.ts.map +1 -0
  71. package/dist/index.d.ts +24 -0
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.es.js +40 -12
  74. package/dist/index.es.js.map +1 -1
  75. package/dist/index.es10.js +5 -5
  76. package/dist/index.es10.js.map +1 -1
  77. package/dist/index.es11.js +32 -6
  78. package/dist/index.es11.js.map +1 -1
  79. package/dist/index.es12.js +25 -22
  80. package/dist/index.es12.js.map +1 -1
  81. package/dist/index.es13.js +28 -0
  82. package/dist/index.es13.js.map +1 -0
  83. package/dist/index.es14.js +76 -0
  84. package/dist/index.es14.js.map +1 -0
  85. package/dist/index.es15.js +38 -0
  86. package/dist/index.es15.js.map +1 -0
  87. package/dist/index.es16.js +36 -0
  88. package/dist/index.es16.js.map +1 -0
  89. package/dist/index.es17.js +33 -0
  90. package/dist/index.es17.js.map +1 -0
  91. package/dist/index.es18.js +31 -0
  92. package/dist/index.es18.js.map +1 -0
  93. package/dist/index.es19.js +186 -0
  94. package/dist/index.es19.js.map +1 -0
  95. package/dist/index.es2.js +1 -1
  96. package/dist/index.es20.js +55 -0
  97. package/dist/index.es20.js.map +1 -0
  98. package/dist/index.es21.js +60 -0
  99. package/dist/index.es21.js.map +1 -0
  100. package/dist/index.es22.js +62 -0
  101. package/dist/index.es22.js.map +1 -0
  102. package/dist/index.es23.js +22 -0
  103. package/dist/index.es23.js.map +1 -0
  104. package/dist/index.es24.js +22 -0
  105. package/dist/index.es24.js.map +1 -0
  106. package/dist/index.es25.js +9 -0
  107. package/dist/index.es25.js.map +1 -0
  108. package/dist/index.es26.js +25 -0
  109. package/dist/index.es26.js.map +1 -0
  110. package/dist/index.es27.js +30 -0
  111. package/dist/index.es27.js.map +1 -0
  112. package/dist/index.es28.js +5 -0
  113. package/dist/index.es28.js.map +1 -0
  114. package/dist/index.es29.js +23 -0
  115. package/dist/index.es29.js.map +1 -0
  116. package/dist/index.es3.js +2 -2
  117. package/dist/index.es30.js +23 -0
  118. package/dist/index.es30.js.map +1 -0
  119. package/dist/index.es31.js +14 -0
  120. package/dist/index.es31.js.map +1 -0
  121. package/dist/index.es32.js +88 -0
  122. package/dist/index.es32.js.map +1 -0
  123. package/dist/index.es33.js +22 -0
  124. package/dist/index.es33.js.map +1 -0
  125. package/dist/index.es34.js +49 -0
  126. package/dist/index.es34.js.map +1 -0
  127. package/dist/index.es35.js +48 -0
  128. package/dist/index.es35.js.map +1 -0
  129. package/dist/index.es36.js +40 -0
  130. package/dist/index.es36.js.map +1 -0
  131. package/dist/index.es37.js +59 -0
  132. package/dist/index.es37.js.map +1 -0
  133. package/dist/index.es38.js +95 -0
  134. package/dist/index.es38.js.map +1 -0
  135. package/dist/index.es39.js +101 -0
  136. package/dist/index.es39.js.map +1 -0
  137. package/dist/index.es4.js +1 -1
  138. package/dist/index.es40.js +30 -0
  139. package/dist/index.es40.js.map +1 -0
  140. package/dist/index.es41.js +19 -0
  141. package/dist/index.es41.js.map +1 -0
  142. package/dist/index.es42.js +7 -0
  143. package/dist/index.es42.js.map +1 -0
  144. package/dist/index.es5.js +1 -1
  145. package/dist/index.es6.js +1 -1
  146. package/dist/index.es7.js +1 -1
  147. package/dist/index.es8.js +1 -1
  148. package/dist/index.es9.js.map +1 -1
  149. package/dist/lib/utils/truncateText.d.ts +3 -0
  150. package/dist/lib/utils/truncateText.d.ts.map +1 -0
  151. package/dist/partners/alfa.svg +3 -0
  152. package/dist/partners/mts.svg +6 -0
  153. package/dist/partners/otkrytie.svg +8 -0
  154. package/dist/partners/pochtabank.svg +11 -0
  155. package/dist/partners/rosbank.svg +10 -0
  156. package/dist/partners/rostelekom.svg +7 -0
  157. package/dist/partners/sberbank.svg +33 -0
  158. package/dist/partners/uralsib.svg +12 -0
  159. package/dist/partners/vtb.svg +16 -0
  160. package/dist/sections/CTA.d.ts +12 -0
  161. package/dist/sections/CTA.d.ts.map +1 -0
  162. package/dist/sections/CardsGridSection.d.ts +21 -0
  163. package/dist/sections/CardsGridSection.d.ts.map +1 -0
  164. package/dist/sections/Hero.d.ts +21 -0
  165. package/dist/sections/Hero.d.ts.map +1 -0
  166. package/dist/sections/Partners.d.ts +13 -0
  167. package/dist/sections/Partners.d.ts.map +1 -0
  168. package/dist/sections/Section.d.ts +22 -0
  169. package/dist/sections/Section.d.ts.map +1 -0
  170. package/dist/sections/common.d.ts +14 -0
  171. package/dist/sections/common.d.ts.map +1 -0
  172. package/dist/slides/crossed-circles.svg +59 -0
  173. package/dist/styles.css +2250 -730
  174. package/dist/utils/unique.d.ts +2 -0
  175. package/dist/utils/unique.d.ts.map +1 -0
  176. package/package.json +110 -101
@@ -0,0 +1,2 @@
1
+ export declare const uniqueId: () => string;
2
+ //# sourceMappingURL=unique.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unique.d.ts","sourceRoot":"","sources":["../../src/utils/unique.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,cAAsD,CAAA"}
package/package.json CHANGED
@@ -1,101 +1,110 @@
1
- {
2
- "name": "@iit/precision-ui",
3
- "title": "Precision UI",
4
- "description": "Yet another React Component Library",
5
- "author": {
6
- "name": "wowxoxo",
7
- "url": "https://github.com/wowxoxo"
8
- },
9
- "license": "MIT",
10
- "homepage": "https://github.com/wowxoxo/precision-ui",
11
- "repository": {
12
- "type": "git",
13
- "url": "https://github.com/wowxoxo/precision-ui"
14
- },
15
- "version": "0.1.0",
16
- "type": "module",
17
- "module": "./dist/index.es.js",
18
- "types": "./dist/index.d.ts",
19
- "sideEffects": false,
20
- "files": [
21
- "dist"
22
- ],
23
- "keywords": [
24
- "react",
25
- "ui",
26
- "component",
27
- "library",
28
- "components",
29
- "ui-library"
30
- ],
31
- "engines": {
32
- "node": ">=20.0.0"
33
- },
34
- "scripts": {
35
- "dev": "vite",
36
- "build": "rm -rf dist && tsc -p tsconfig.prod.json && vite build && npm run build:styles",
37
- "build:styles": "postcss ./src/index.scss -o ./dist/styles.css",
38
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings=-1",
39
- "preview": "vite preview",
40
- "storybook": "storybook dev -p 6006",
41
- "build-storybook": "storybook build",
42
- "prepare": "husky install",
43
- "test": "vitest",
44
- "test:coverage": "vitest run --coverage"
45
- },
46
- "dependencies": {
47
- "@iit/precision-ui-icons": "^0.4.0",
48
- "@radix-ui/react-slot": "^1.0.2",
49
- "class-variance-authority": "^0.7.0",
50
- "clsx": "^2.1.1",
51
- "lucide-react": "^0.394.0",
52
- "react": "^18.2.0",
53
- "react-dom": "^18.2.0",
54
- "tailwind-merge": "^2.3.0",
55
- "tailwindcss-animate": "^1.0.7"
56
- },
57
- "peerDependencies": {
58
- "react": "^18.2.0",
59
- "react-dom": "^18.2.0"
60
- },
61
- "devDependencies": {
62
- "@chromatic-com/storybook": "^3.2.3",
63
- "@storybook/addon-essentials": "^8.4.7",
64
- "@storybook/addon-interactions": "^8.4.7",
65
- "@storybook/addon-onboarding": "^8.4.7",
66
- "@storybook/addon-themes": "^8.4.7",
67
- "@storybook/blocks": "^8.4.7",
68
- "@storybook/react": "^8.4.7",
69
- "@storybook/react-vite": "^8.4.7",
70
- "@storybook/test": "^8.4.7",
71
- "@testing-library/jest-dom": "^6.6.3",
72
- "@testing-library/react": "^16.2.0",
73
- "@types/jest": "^29.5.14",
74
- "@types/node": "^22.10.7",
75
- "@types/react": "^18.2.66",
76
- "@types/react-dom": "^18.2.22",
77
- "@typescript-eslint/eslint-plugin": "^7.2.0",
78
- "@typescript-eslint/parser": "^7.2.0",
79
- "@vitejs/plugin-react": "^4.2.1",
80
- "@vitest/coverage-v8": "^3.0.2",
81
- "autoprefixer": "^10.4.19",
82
- "eslint": "^8.57.0",
83
- "eslint-plugin-react-hooks": "^4.6.0",
84
- "eslint-plugin-react-refresh": "^0.4.6",
85
- "eslint-plugin-storybook": "^0.11.2",
86
- "husky": "^8.0.0",
87
- "jsdom": "^26.0.0",
88
- "lint-staged": "^15.4.1",
89
- "postcss": "^8.4.38",
90
- "postcss-cli": "^11.0.0",
91
- "postcss-replace": "^2.0.1",
92
- "sass": "^1.77.6",
93
- "storybook": "^8.4.7",
94
- "tailwindcss": "^3.4.4",
95
- "typescript": "^5.2.2",
96
- "vite": "^5.2.0",
97
- "vite-plugin-dts": "^3.9.1",
98
- "vitest": "^3.0.2",
99
- "vitest-dom": "^0.1.1"
100
- }
101
- }
1
+ {
2
+ "name": "@iit/precision-ui",
3
+ "name0": "precision-ui",
4
+ "title": "Precision UI",
5
+ "description": "Yet another React Component Library",
6
+ "author": {
7
+ "name": "wowxoxo",
8
+ "url": "https://github.com/wowxoxo"
9
+ },
10
+ "license": "MIT",
11
+ "homepage": "https://github.com/wowxoxo/precision-ui",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/wowxoxo/precision-ui"
15
+ },
16
+ "version": "0.2.0",
17
+ "type": "module",
18
+ "module": "./dist/index.es.js",
19
+ "types": "./dist/index.d.ts",
20
+ "sideEffects": false,
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "keywords": [
25
+ "react",
26
+ "ui",
27
+ "component",
28
+ "library",
29
+ "components",
30
+ "ui-library"
31
+ ],
32
+ "engines": {
33
+ "node": ">=20.0.0"
34
+ },
35
+ "scripts": {
36
+ "dev": "vite",
37
+ "build": "rm -rf dist && tsc -p tsconfig.prod.json && vite build && npm run build:styles",
38
+ "build:styles": "sass ./src/index.scss ./dist/styles.css --no-source-map && postcss ./dist/styles.css -o ./dist/styles.css",
39
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings=-1",
40
+ "preview": "vite preview",
41
+ "storybook": "storybook dev -p 6006",
42
+ "build-storybook": "storybook build",
43
+ "prepare": "husky install",
44
+ "test": "vitest",
45
+ "test:coverage": "vitest run --coverage"
46
+ },
47
+ "dependencies": {
48
+ "@iit/precision-ui-icons": "^0.4.0",
49
+ "@radix-ui/react-checkbox": "^1.1.3",
50
+ "@radix-ui/react-label": "^2.1.1",
51
+ "@radix-ui/react-popover": "^1.1.4",
52
+ "@radix-ui/react-slot": "^1.1.1",
53
+ "@radix-ui/react-tooltip": "^1.1.6",
54
+ "class-variance-authority": "^0.7.0",
55
+ "clsx": "^2.1.1",
56
+ "embla-carousel-react": "^8.5.2",
57
+ "lucide-react": "^0.394.0",
58
+ "react": "^18.2.0",
59
+ "react-dom": "^18.2.0",
60
+ "tailwind-merge": "^2.3.0",
61
+ "tailwindcss-animate": "^1.0.7",
62
+ "the-new-css-reset": "^1.11.3"
63
+ },
64
+ "peerDependencies": {
65
+ "react": "^18.2.0",
66
+ "react-dom": "^18.2.0"
67
+ },
68
+ "devDependencies": {
69
+ "@chromatic-com/storybook": "^3.2.3",
70
+ "@storybook/addon-essentials": "^8.4.7",
71
+ "@storybook/addon-interactions": "^8.4.7",
72
+ "@storybook/addon-onboarding": "^8.4.7",
73
+ "@storybook/addon-themes": "^8.4.7",
74
+ "@storybook/blocks": "^8.4.7",
75
+ "@storybook/react": "^8.4.7",
76
+ "@storybook/react-vite": "^8.4.7",
77
+ "@storybook/test": "^8.4.7",
78
+ "@testing-library/jest-dom": "^6.6.3",
79
+ "@testing-library/react": "^16.2.0",
80
+ "@types/jest": "^29.5.14",
81
+ "@types/node": "^22.10.7",
82
+ "@types/react": "^18.2.66",
83
+ "@types/react-dom": "^18.2.22",
84
+ "@typescript-eslint/eslint-plugin": "^7.2.0",
85
+ "@typescript-eslint/parser": "^7.2.0",
86
+ "@vitejs/plugin-react": "^4.2.1",
87
+ "@vitest/coverage-v8": "^3.0.2",
88
+ "autoprefixer": "^10.4.19",
89
+ "eslint": "^8.57.0",
90
+ "eslint-plugin-react-hooks": "^4.6.0",
91
+ "eslint-plugin-react-refresh": "^0.4.6",
92
+ "eslint-plugin-storybook": "^0.11.2",
93
+ "husky": "^8.0.0",
94
+ "jsdom": "^26.0.0",
95
+ "lint-staged": "^15.4.1",
96
+ "postcss": "^8.4.38",
97
+ "postcss-cli": "^11.0.0",
98
+ "postcss-import": "^16.1.0",
99
+ "postcss-replace": "^2.0.1",
100
+ "postcss-scss": "^4.0.9",
101
+ "sass": "^1.77.6",
102
+ "storybook": "^8.4.7",
103
+ "tailwindcss": "^3.4.4",
104
+ "typescript": "^5.2.2",
105
+ "vite": "^5.2.0",
106
+ "vite-plugin-dts": "^3.9.1",
107
+ "vitest": "^3.0.2",
108
+ "vitest-dom": "^0.1.1"
109
+ }
110
+ }