prlg-ui 1.0.12 → 1.0.14
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.
- package/dist/index.cjs.js +10 -0
- package/dist/index.d.ts +18 -17
- package/dist/{my-lib.es.js → index.es.js} +985 -902
- package/dist/prlg-ui.css +1 -0
- package/dist/scss/colors.scss +134 -0
- package/dist/scss/fonts.scss +3 -0
- package/dist/scss/main.scss +36 -0
- package/dist/scss/mixins.scss +163 -0
- package/dist/scss/reset.scss +51 -0
- package/dist/scss/root-vars.scss +4 -0
- package/dist/useBodyScroll.util-BgQeA8Dg.js +82 -0
- package/dist/useBodyScroll.util-D-eNxODy.cjs +1 -0
- package/dist/utils/Portal/Portal.vue +27 -0
- package/dist/utils/Portal/index.ts +3 -0
- package/dist/utils/Portal.vue +27 -0
- package/dist/utils/date.util.ts +29 -0
- package/dist/utils/dayjs.util.ts +26 -0
- package/dist/utils/eventBus.util.ts +41 -0
- package/dist/utils/index.ts +3 -0
- package/dist/utils/isClient.util.ts +3 -0
- package/dist/utils/onClickOutside.util.ts +57 -0
- package/dist/utils/price.util.ts +21 -0
- package/dist/utils/useBodyScroll.util.ts +33 -0
- package/dist/utils/utils.cjs.js +1 -0
- package/dist/utils/utils.es.js +497 -0
- package/dist/utils.d.ts +90 -0
- package/package.json +48 -46
- package/dist/fonts/Roboto/Roboto-Black.woff +0 -0
- package/dist/fonts/Roboto/Roboto-Black.woff2 +0 -0
- package/dist/fonts/Roboto/Roboto-Bold.woff +0 -0
- package/dist/fonts/Roboto/Roboto-Bold.woff2 +0 -0
- package/dist/fonts/Roboto/Roboto-ExtraBold.woff +0 -0
- package/dist/fonts/Roboto/Roboto-ExtraBold.woff2 +0 -0
- package/dist/fonts/Roboto/Roboto-ExtraLight.woff +0 -0
- package/dist/fonts/Roboto/Roboto-ExtraLight.woff2 +0 -0
- package/dist/fonts/Roboto/Roboto-Light.woff +0 -0
- package/dist/fonts/Roboto/Roboto-Light.woff2 +0 -0
- package/dist/fonts/Roboto/Roboto-Medium.woff +0 -0
- package/dist/fonts/Roboto/Roboto-Medium.woff2 +0 -0
- package/dist/fonts/Roboto/Roboto-Regular.woff +0 -0
- package/dist/fonts/Roboto/Roboto-Regular.woff2 +0 -0
- package/dist/fonts/Roboto/Roboto-SemiBold.woff +0 -0
- package/dist/fonts/Roboto/Roboto-SemiBold.woff2 +0 -0
- package/dist/fonts/Roboto/Roboto-Thin.woff +0 -0
- package/dist/fonts/Roboto/Roboto-Thin.woff2 +0 -0
- package/dist/images/catalogs/acssesuari.png +0 -0
- package/dist/images/catalogs/all.png +0 -0
- package/dist/images/catalogs/antifriz.png +0 -0
- package/dist/images/catalogs/battery.png +0 -0
- package/dist/images/catalogs/chemistry.png +0 -0
- package/dist/images/catalogs/lamps.png +0 -0
- package/dist/images/catalogs/oil.png +0 -0
- package/dist/images/catalogs/original.png +0 -0
- package/dist/images/catalogs/to.png +0 -0
- package/dist/images/catalogs/ucenka.png +0 -0
- package/dist/images/catalogs/vin.png +0 -0
- package/dist/images/catalogs/wheels.png +0 -0
- package/dist/images/mainPage/banner.png +0 -0
- package/dist/images/manager.png +0 -0
- package/dist/images/news/news1.png +0 -0
- package/dist/images/news/newsBig1.png +0 -0
- package/dist/logo.svg +0 -27
- package/dist/my-lib.css +0 -1
- package/dist/my-lib.umd.js +0 -2
package/package.json
CHANGED
|
@@ -1,70 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prlg-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.14",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/
|
|
7
|
-
"module": "dist/
|
|
6
|
+
"main": "./dist/prlg-ui.umd.js",
|
|
7
|
+
"module": "./dist/prlg-ui.es.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
10
|
-
"import": "./dist/
|
|
11
|
-
"require": "./dist/
|
|
11
|
+
"import": "./dist/prlg-ui.es.js",
|
|
12
|
+
"require": "./dist/prlg-ui.umd.js",
|
|
12
13
|
"types": "./dist/index.d.ts"
|
|
13
14
|
},
|
|
14
15
|
"./style.css": {
|
|
15
|
-
"
|
|
16
|
-
|
|
16
|
+
"default": "./dist/prlg-ui.css"
|
|
17
|
+
},
|
|
18
|
+
"./scss": {
|
|
19
|
+
"default": "./dist/scss/index.scss"
|
|
20
|
+
},
|
|
21
|
+
"./utils": {
|
|
22
|
+
"import": "./dist/utils/index.es.js",
|
|
23
|
+
"require": "./dist/utils/index.umd.js",
|
|
24
|
+
"types": "./dist/utils.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./utils/*": {
|
|
27
|
+
"import": "./dist/utils/*.es.js",
|
|
28
|
+
"require": "./dist/utils/*.umd.js",
|
|
29
|
+
"types": "./dist/utils.d.ts"
|
|
17
30
|
}
|
|
18
31
|
},
|
|
19
|
-
"types": "./dist/index.d.ts",
|
|
20
32
|
"files": [
|
|
21
33
|
"dist"
|
|
22
34
|
],
|
|
23
35
|
"scripts": {
|
|
24
36
|
"dev": "yarn storybook",
|
|
25
|
-
"build": "vite build",
|
|
26
|
-
"preview": "vite preview",
|
|
37
|
+
"build": "vue-tsc -b && vite build",
|
|
27
38
|
"storybook": "storybook dev -p 6006",
|
|
28
|
-
"build-storybook": "storybook build"
|
|
29
|
-
"chromatic": "chromatic --project-token=chpt_77ab3ade2fa5986"
|
|
39
|
+
"build-storybook": "storybook build"
|
|
30
40
|
},
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"@types/node": "^22.15.29",
|
|
36
|
-
"axios": "^1.10.0",
|
|
37
|
-
"chromatic": "^13.0.1",
|
|
38
|
-
"dayjs": "^1.11.13",
|
|
39
|
-
"pinia": "^3.0.3",
|
|
40
|
-
"postcss": "^8.5.6",
|
|
41
|
-
"swiper": "^11.2.8",
|
|
42
|
-
"tailwindcss": "^4.1.11",
|
|
43
|
-
"vite-plugin-dts": "^4.5.4",
|
|
44
|
-
"vue": "^3.5.13",
|
|
45
|
-
"vue-router": "^4.5.1"
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"dayjs": "=>1.11",
|
|
43
|
+
"vue": ">=3",
|
|
44
|
+
"vue-router": ">=4"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
|
-
"@chromatic-com/storybook": "^
|
|
49
|
-
"@storybook/addon-
|
|
50
|
-
"@storybook/addon-
|
|
51
|
-
"@storybook/addon-
|
|
52
|
-
"@storybook/
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@storybook/vue3-vite": "^8.6.14",
|
|
57
|
-
"@vitejs/plugin-vue": "^5.2.3",
|
|
58
|
-
"@vitest/browser": "^3.1.4",
|
|
59
|
-
"@vitest/coverage-v8": "^3.1.4",
|
|
47
|
+
"@chromatic-com/storybook": "^4.0.1",
|
|
48
|
+
"@storybook/addon-a11y": "^9.0.16",
|
|
49
|
+
"@storybook/addon-docs": "^9.0.16",
|
|
50
|
+
"@storybook/addon-vitest": "^9.0.16",
|
|
51
|
+
"@storybook/vue3-vite": "^9.0.16",
|
|
52
|
+
"@vitejs/plugin-vue": "^6.0.0",
|
|
53
|
+
"@vitest/browser": "^3.2.4",
|
|
54
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
60
55
|
"@vue/tsconfig": "^0.7.0",
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
56
|
+
"dayjs": "^1.11.13",
|
|
57
|
+
"playwright": "^1.53.2",
|
|
58
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
59
|
+
"sass-embedded": "^1.89.2",
|
|
60
|
+
"storybook": "^9.0.16",
|
|
64
61
|
"typescript": "~5.8.3",
|
|
65
|
-
"vite": "^
|
|
66
|
-
"vite-plugin-
|
|
67
|
-
"vitest": "^3.
|
|
68
|
-
"vue-
|
|
62
|
+
"vite": "^7.0.3",
|
|
63
|
+
"vite-plugin-dts": "^4.5.4",
|
|
64
|
+
"vitest": "^3.2.4",
|
|
65
|
+
"vue-router": "^4.5.1",
|
|
66
|
+
"vue-tsc": "^2.2.12"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@floating-ui/dom": "^1.7.2",
|
|
70
|
+
"vue": "^3.5.17"
|
|
69
71
|
}
|
|
70
72
|
}
|
|
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
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/images/manager.png
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/logo.svg
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<svg width="167" height="32" viewBox="0 0 167 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M162.254 0H16.6644C8.10619 0 0.893694 6.68534 0.516405 15.2645C0.107676 24.4372 7.38935 32 16.4317 32H154.84C156.953 32 158.814 30.6112 159.418 28.5784L166.316 5.49221C167.14 2.75242 165.096 0 162.254 0Z" fill="url(#paint0_linear_15061_44974)"/>
|
|
3
|
-
<path d="M162.254 1.33202C163.184 1.33202 164.04 1.76129 164.599 2.51253C165.159 3.26376 165.322 4.21069 165.052 5.10712L158.154 28.1933C157.714 29.6705 156.381 30.6617 154.846 30.6617H16.4317C12.4073 30.6617 8.65326 29.0519 5.8739 26.129C3.09454 23.2062 1.66085 19.3679 1.83692 15.3214C2.0067 11.5336 3.63532 8.00473 6.42726 5.38489C9.21291 2.77136 12.8475 1.33202 16.6581 1.33202H162.254ZM162.254 0H16.6644C8.10619 0 0.893694 6.68534 0.516405 15.2645C0.107676 24.4372 7.38935 32 16.4317 32H154.84C156.953 32 158.814 30.6112 159.418 28.5784L166.316 5.49221C167.14 2.75242 165.096 0 162.254 0Z" fill="#009648"/>
|
|
4
|
-
<path d="M16.9662 29.3297C24.3008 29.3297 30.2468 23.3604 30.2468 15.9969C30.2468 8.63336 24.3008 2.66406 16.9662 2.66406C9.63155 2.66406 3.68564 8.63336 3.68564 15.9969C3.68564 23.3604 9.63155 29.3297 16.9662 29.3297Z" fill="white"/>
|
|
5
|
-
<path d="M16.9662 26.9303C22.9812 26.9303 27.8573 22.035 27.8573 15.9964C27.8573 9.95778 22.9812 5.0625 16.9662 5.0625C10.9512 5.0625 6.07513 9.95778 6.07513 15.9964C6.07513 22.035 10.9512 26.9303 16.9662 26.9303Z" fill="#E02126"/>
|
|
6
|
-
<path d="M16.8341 16.2592C20.7202 16.2592 23.8706 14.0518 23.8706 11.3288C23.8706 8.60584 20.7202 6.39844 16.8341 6.39844C12.948 6.39844 9.7977 8.60584 9.7977 11.3288C9.7977 14.0518 12.948 16.2592 16.8341 16.2592Z" fill="url(#paint1_linear_15061_44974)"/>
|
|
7
|
-
<path d="M59.1974 14.5336V17.4691C59.1974 19.6786 60.9832 21.4715 63.184 21.4715H63.9826C66.1835 21.4715 67.9693 19.6786 67.9693 17.4691V14.5336C67.9693 12.3241 66.1835 10.5312 63.9826 10.5312H63.184C60.9832 10.5376 59.1974 12.3241 59.1974 14.5336ZM64.6429 19.4703H62.5175C61.7126 19.4703 61.0586 18.8138 61.0586 18.0057V14.0033C61.0586 13.1953 61.7126 12.5387 62.5175 12.5387H64.6429C65.4478 12.5387 66.1017 13.1953 66.1017 14.0033V18.0057C66.1017 18.8138 65.4478 19.4703 64.6429 19.4703Z" fill="white"/>
|
|
8
|
-
<path d="M38.2138 21.4651V11.333C38.2138 10.5249 38.8678 9.86837 39.6727 9.86837H43.2569C44.0618 9.86837 44.7158 10.5249 44.7158 11.333V21.4651H46.5771V11.8696C46.5771 9.66005 44.7912 7.86719 42.5904 7.86719H40.3329C38.1321 7.86719 36.3463 9.66005 36.3463 11.8696V21.4714H38.2138V21.4651Z" fill="white"/>
|
|
9
|
-
<path d="M114.043 7.86719C111.842 7.86719 110.056 9.66005 110.056 11.8696V18.0057C110.056 18.8137 109.402 19.4703 108.597 19.4703H108.465V21.4336C110.414 21.1747 111.917 19.4955 111.917 17.4691V11.333C111.917 10.5249 112.571 9.86837 113.376 9.86837H117.627V21.4651H119.488V7.86719H114.043Z" fill="white"/>
|
|
10
|
-
<path d="M53.4877 10.5391H52.6891C50.4883 10.5391 48.7025 12.3319 48.7025 14.5414V24.1433H50.5637V21.1131L53.4877 21.4793C55.6886 21.4793 57.4744 19.6864 57.4744 17.4769V14.5414C57.4681 12.3256 55.6886 10.5391 53.4877 10.5391ZM55.6131 18.0009C55.6131 18.8089 54.9592 19.4655 54.1543 19.4655L50.57 19.093V13.9985C50.57 13.1905 51.224 12.5339 52.0289 12.5339H54.1543C54.9592 12.5339 55.6131 13.1905 55.6131 13.9985V18.0009Z" fill="white"/>
|
|
11
|
-
<path d="M78.4516 10.5359H77.653C77.4707 10.5359 77.2946 10.5485 77.1248 10.5737V9.60156H75.2636V10.5737C75.0875 10.5485 74.9114 10.5359 74.7354 10.5359H73.9368C71.7359 10.5359 69.9501 12.3287 69.9501 14.5382V17.4737C69.9501 19.6832 71.7359 21.4761 73.9368 21.4761C73.9368 21.4761 75.0938 21.1983 75.2636 21.1731V23.7424H77.1248V21.1731C77.3009 21.1983 78.4516 21.4761 78.4516 21.4761C80.6525 21.4761 82.4383 19.6832 82.4383 17.4737V14.5382C82.4383 12.3224 80.6525 10.5359 78.4516 10.5359ZM75.2636 19.1971L73.2702 19.4623C72.4653 19.4623 71.8114 18.8057 71.8114 17.9977V13.9953C71.8114 13.1873 72.4653 12.5307 73.2702 12.5307H75.2636V19.1971ZM80.577 17.9977C80.577 18.8057 79.9231 19.4623 79.1182 19.4623L77.1248 19.1971V12.5307H79.1182C79.9231 12.5307 80.577 13.1873 80.577 13.9953V17.9977Z" fill="white"/>
|
|
12
|
-
<path d="M103.95 10.5391H94.9203V12.5339H98.5046V21.4667H100.366V12.5339H103.95V10.5391Z" fill="white"/>
|
|
13
|
-
<path d="M93.0653 18.266V10.5391H91.204V18.0072C91.204 18.8153 90.55 19.4718 89.7452 19.4718H87.6198C86.8149 19.4718 86.1609 18.8153 86.1609 18.0072V10.5391H84.2996V17.4706C84.2996 19.6801 86.0855 21.473 88.2863 21.473H89.0849C90.1916 21.473 91.1977 21.0184 91.9209 20.2862C92.5057 21.0121 93.3986 21.473 94.3984 21.473V19.6044C93.6564 19.6044 93.0653 19.0046 93.0653 18.266Z" fill="white"/>
|
|
14
|
-
<path d="M130.247 18.266V10.5391H128.386V18.0072C128.386 18.8153 127.732 19.4718 126.927 19.4718H124.802C123.997 19.4718 123.343 18.8153 123.343 18.0072V10.5391H121.481V17.4706C121.481 19.6801 123.267 21.473 125.468 21.473H126.267C127.373 21.473 128.38 21.0184 129.103 20.2862C129.687 21.0121 130.58 21.473 131.58 21.473V19.6044C130.844 19.6044 130.247 19.0046 130.247 18.266Z" fill="white"/>
|
|
15
|
-
<path d="M137.151 10.5391C134.951 10.5391 133.165 12.3319 133.165 14.5414V21.473H135.026V14.0048C135.026 13.1968 135.68 12.5402 136.485 12.5402H140.604V10.5391H137.151Z" fill="white"/>
|
|
16
|
-
<path d="M149.772 18.8011V14.5336C149.772 12.3241 147.986 10.5312 145.785 10.5312H142.861V12.5324H146.445C147.25 12.5324 147.904 13.189 147.904 13.997V14.4515C146.829 14.3127 145.232 14.1296 144.251 14.1296C142.239 14.1296 140.597 15.7773 140.597 17.7974C140.597 19.7922 142.188 21.402 144.219 21.4652C144.251 21.4652 144.289 21.4652 144.32 21.4652C145.729 21.4652 147.08 20.594 148.074 19.7291C148.451 20.7392 149.42 21.4652 150.558 21.4652V19.6029C150.13 19.6029 149.772 19.243 149.772 18.8011ZM144.333 19.6029C144.32 19.6029 144.301 19.6029 144.289 19.6029C143.27 19.5713 142.471 18.7822 142.471 17.8037C142.471 16.8126 143.276 16.0045 144.263 16.0045C145.213 16.0045 146.892 16.2065 147.917 16.3391V17.2734C147.168 18.113 145.596 19.6029 144.333 19.6029Z" fill="white"/>
|
|
17
|
-
<defs>
|
|
18
|
-
<linearGradient id="paint0_linear_15061_44974" x1="83.5013" y1="0.533565" x2="83.5013" y2="31.9987" gradientUnits="userSpaceOnUse">
|
|
19
|
-
<stop stop-color="#72B544"/>
|
|
20
|
-
<stop offset="1" stop-color="#009648"/>
|
|
21
|
-
</linearGradient>
|
|
22
|
-
<linearGradient id="paint1_linear_15061_44974" x1="16.8327" y1="16.2633" x2="16.8327" y2="6.39711" gradientUnits="userSpaceOnUse">
|
|
23
|
-
<stop stop-color="#EB7823" stop-opacity="0"/>
|
|
24
|
-
<stop offset="1" stop-color="#EB7823"/>
|
|
25
|
-
</linearGradient>
|
|
26
|
-
</defs>
|
|
27
|
-
</svg>
|