spoko-design-system 0.2.42 → 0.2.43
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/index.ts +0 -7
- package/package.json +3 -2
- package/src/types/astro.d.ts +3 -4
- package/src/utils/product/getPriceFormatted.ts +3 -1
- package/src/utils/product/getProductChecklist.ts +2 -0
- package/src/utils/seo/getShorterDescription.ts +2 -0
- package/src/utils/text/formatDate.ts +1 -1
- package/src/utils/text/formatLocaleNumber.ts +1 -1
- package/src/utils/text/formatPad.ts +1 -0
- package/src/utils/text/getNumberFormatted.ts +1 -0
- package/src/utils/text/getTranslatedLink.ts +3 -1
- package/tsconfig.json +1 -1
package/index.ts
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
// Do not write code directly here, instead use the `src` folder!
|
|
2
2
|
// Then, use this file to export everything you want your user to access.
|
|
3
3
|
|
|
4
|
-
// import MyComponent from './src/src/MyComponent.astro';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
// export default MyComponent;
|
|
9
|
-
|
|
10
|
-
|
|
11
4
|
// src/index.ts
|
|
12
5
|
|
|
13
6
|
// Vue Components
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spoko-design-system",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.43",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "./index.ts",
|
|
6
6
|
"module": "./index.ts",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"@astrojs/mdx": "^3.1.9",
|
|
42
42
|
"@astrojs/node": "^8.3.4",
|
|
43
43
|
"@astrojs/sitemap": "^3.2.1",
|
|
44
|
+
"@astrojs/ts-plugin": "^1.10.4",
|
|
44
45
|
"@astrojs/vue": "^4.5.2",
|
|
45
46
|
"@docsearch/css": "^3.7.0",
|
|
46
47
|
"@iconify-json/ant-design": "^1.2.2",
|
|
@@ -61,7 +62,7 @@
|
|
|
61
62
|
"@iconify-json/ph": "^1.2.1",
|
|
62
63
|
"@iconify-json/simple-icons": "^1.2.11",
|
|
63
64
|
"@iconify-json/uil": "^1.2.1",
|
|
64
|
-
"@iconify/json": "^2.2.
|
|
65
|
+
"@iconify/json": "^2.2.269",
|
|
65
66
|
"@iconify/vue": "^4.1.2",
|
|
66
67
|
"@playform/compress": "^0.1.6",
|
|
67
68
|
"@playform/inline": "github:playform/inline",
|
package/src/types/astro.d.ts
CHANGED
package/tsconfig.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"moduleResolution": "node",
|
|
19
19
|
"jsx": "preserve",
|
|
20
20
|
"allowJs": true,
|
|
21
|
-
"types": ["vitest, vite/client", "@astrojs/ts","unplugin-vue-macros/macros-global", "unplugin-icons/types/astro"],
|
|
21
|
+
"types": ["vitest, vite/client", "@astrojs/ts","unplugin-vue-macros/macros-global", "unplugin-icons/types/astro", "src/types/astro.d.ts", "@astrojs/ts-plugin"],
|
|
22
22
|
"paths": {
|
|
23
23
|
"@components/*": ["components/*"],
|
|
24
24
|
"@utils/*": ["utils/*"],
|