@scalar/components 0.16.2 → 0.16.4
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/components/ScalarIcon/logos/Astro.svg.js +14 -0
- package/dist/components/ScalarIcon/logos/index.d.ts +1 -1
- package/dist/components/ScalarIcon/logos/index.d.ts.map +1 -1
- package/dist/components/ScalarIcon/utils/index.js +66 -64
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.d.ts +2 -2
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.d.ts.map +1 -1
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.js +21 -19
- package/dist/components/ScalarMarkdown/types.d.ts +10 -0
- package/dist/components/ScalarMarkdown/types.d.ts.map +1 -1
- package/dist/components/ScalarThemeSwatches/ScalarThemeSwatches.vue.d.ts +15 -0
- package/dist/components/ScalarThemeSwatches/ScalarThemeSwatches.vue.d.ts.map +1 -0
- package/dist/components/ScalarThemeSwatches/ScalarThemeSwatches.vue.js +35 -0
- package/dist/components/ScalarThemeSwatches/ScalarThemeSwatches.vue2.js +4 -0
- package/dist/components/ScalarThemeSwatches/index.d.ts +3 -0
- package/dist/components/ScalarThemeSwatches/index.d.ts.map +1 -0
- package/dist/components/ScalarThemeSwatches/useThemeSwatches.d.ts +28 -0
- package/dist/components/ScalarThemeSwatches/useThemeSwatches.d.ts.map +1 -0
- package/dist/components/ScalarThemeSwatches/useThemeSwatches.js +33 -0
- package/dist/components/ScalarWrappingText/ScalarWrappingText.vue.d.ts +14 -0
- package/dist/components/ScalarWrappingText/ScalarWrappingText.vue.d.ts.map +1 -0
- package/dist/components/ScalarWrappingText/ScalarWrappingText.vue.js +25 -0
- package/dist/components/ScalarWrappingText/ScalarWrappingText.vue2.js +4 -0
- package/dist/components/ScalarWrappingText/constants.d.ts +13 -0
- package/dist/components/ScalarWrappingText/constants.d.ts.map +1 -0
- package/dist/components/ScalarWrappingText/constants.js +12 -0
- package/dist/components/ScalarWrappingText/index.d.ts +2 -0
- package/dist/components/ScalarWrappingText/index.d.ts.map +1 -0
- package/dist/components/ScalarWrappingText/types.d.ts +18 -0
- package/dist/components/ScalarWrappingText/types.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +76 -70
- package/dist/style.css +1 -1
- package/package.json +8 -12
package/package.json
CHANGED
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
"url": "git+https://github.com/scalar/scalar.git",
|
|
11
11
|
"directory": "packages/components"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.16.
|
|
13
|
+
"version": "0.16.4",
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=20"
|
|
16
16
|
},
|
|
17
17
|
"type": "module",
|
|
18
18
|
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.js",
|
|
19
20
|
"types": "./dist/index.d.ts",
|
|
20
21
|
"exports": {
|
|
21
22
|
".": {
|
|
@@ -27,7 +28,6 @@
|
|
|
27
28
|
"files": [
|
|
28
29
|
"dist"
|
|
29
30
|
],
|
|
30
|
-
"module": "./dist/index.js",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@floating-ui/utils": "0.2.10",
|
|
33
33
|
"@floating-ui/vue": "1.1.9",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"vue": "^3.5.21",
|
|
41
41
|
"vue-component-type-helpers": "^3.0.4",
|
|
42
42
|
"@scalar/code-highlight": "0.2.0",
|
|
43
|
-
"@scalar/helpers": "0.1.
|
|
43
|
+
"@scalar/helpers": "0.1.2",
|
|
44
44
|
"@scalar/icons": "0.5.0",
|
|
45
|
-
"@scalar/oas-utils": "0.6.
|
|
46
|
-
"@scalar/
|
|
45
|
+
"@scalar/oas-utils": "0.6.4",
|
|
46
|
+
"@scalar/use-hooks": "0.3.0",
|
|
47
47
|
"@scalar/use-toasts": "0.9.0",
|
|
48
|
-
"@scalar/
|
|
48
|
+
"@scalar/themes": "0.13.24"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@headlessui/tailwindcss": "^0.2.2",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@types/node": "^22.9.0",
|
|
63
63
|
"@vitejs/plugin-vue": "6.0.1",
|
|
64
64
|
"@vue/test-utils": "2.4.6",
|
|
65
|
-
"jsdom": "
|
|
65
|
+
"jsdom": "26.1.0",
|
|
66
66
|
"plugins": "^0.4.2",
|
|
67
67
|
"storybook": "^8.0.8",
|
|
68
68
|
"storybook-dark-mode": "^4.0.1",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"vite": "7.1.11",
|
|
72
72
|
"vite-svg-loader": "5.1.0",
|
|
73
73
|
"vitest": "3.2.4",
|
|
74
|
-
"@scalar/build-tooling": "0.
|
|
74
|
+
"@scalar/build-tooling": "0.3.0"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build": "pnpm typegen:icons && scalar-build-vite",
|
|
@@ -83,14 +83,10 @@
|
|
|
83
83
|
"lint:check": "eslint . && pnpm lint:icons",
|
|
84
84
|
"lint:fix": "eslint . --fix",
|
|
85
85
|
"lint:icons": "svglint src/components/ScalarIcon/icons/*.svg --config src/components/ScalarIcon/.svglintrc.js",
|
|
86
|
-
"playwright:cleanup-docker": "docker rm -f scalar-playwright 2>/dev/null || true",
|
|
87
86
|
"preview": "vite preview --outDir storybook-static -c test/vite.config.ts 1>&2",
|
|
88
87
|
"test": "vitest",
|
|
89
88
|
"test:e2e": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:5001/ playwright test",
|
|
90
89
|
"test:e2e:ci": "CI=1 playwright test",
|
|
91
|
-
"test:e2e:playwright": "pnpm playwright:cleanup-docker && docker run --network=host -e PORT=5001 --rm --tty --name scalar-playwright scalarapi/playwright:1.56.0",
|
|
92
|
-
"test:e2e:report": "playwright show-report",
|
|
93
|
-
"test:e2e:ui": "pnpm test:e2e --ui",
|
|
94
90
|
"test:e2e:update": "pnpm test:e2e --update-snapshots",
|
|
95
91
|
"typegen:icons": "vite-node ./src/scripts/typegen.ts",
|
|
96
92
|
"types:build": "scalar-types-build-vue",
|