@scalar/components 0.14.33 → 0.14.35

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 (54) hide show
  1. package/dist/components/ScalarButton/ScalarButton.vue.js +37 -40
  2. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue3.js +1 -1
  3. package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue.js +1 -1
  4. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleIcon.vue.js +1 -1
  5. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.js +46 -49
  6. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.js +144 -160
  7. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.js +26 -27
  8. package/dist/components/ScalarCombobox/types.js +6 -6
  9. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.js +1 -1
  10. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.js +1 -1
  11. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue.js +11 -14
  12. package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.js +86 -91
  13. package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts.map +1 -1
  14. package/dist/components/ScalarFloating/ScalarFloating.vue.js +22 -23
  15. package/dist/components/ScalarFloating/useResizeWithTarget.js +12 -13
  16. package/dist/components/ScalarIcon/ScalarIcon.vue.js +1 -1
  17. package/dist/components/ScalarLoading/ScalarLoading.vue.js +1 -1
  18. package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.js +20 -21
  19. package/dist/components/ScalarMarkdown/ScalarMarkdown.vue3.js +1 -1
  20. package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.js +22 -26
  21. package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue3.js +1 -1
  22. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts.map +1 -1
  23. package/dist/components/ScalarMenu/ScalarMenuLink.vue.js +6 -3
  24. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.js +45 -48
  25. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.js +20 -23
  26. package/dist/components/ScalarModal/ScalarModal.vue.js +1 -1
  27. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.js +1 -1
  28. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue3.js +1 -1
  29. package/dist/components/ScalarSidebar/ScalarSidebarSearchInput.vue.js +16 -19
  30. package/dist/components/ScalarTextArea/ScalarTextArea.vue.d.ts.map +1 -1
  31. package/dist/components/ScalarTextArea/ScalarTextArea.vue.js +19 -22
  32. package/dist/components/ScalarTextInput/ScalarTextInput.vue.js +25 -29
  33. package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue.js +12 -15
  34. package/dist/components/ScalarTooltip/ScalarTooltip.vue.js +20 -23
  35. package/dist/components/ScalarTooltip/ScalarTooltip.vue3.js +1 -1
  36. package/dist/components/ScalarTooltip/useTooltip.js +24 -31
  37. package/dist/index.d.ts +1 -1
  38. package/dist/index.js +6 -6
  39. package/dist/style.css +1 -1
  40. package/package.json +15 -14
  41. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue2.js +0 -4
  42. package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue3.js +0 -4
  43. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleIcon.vue3.js +0 -4
  44. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue3.js +0 -4
  45. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue3.js +0 -4
  46. package/dist/components/ScalarIcon/ScalarIcon.vue3.js +0 -4
  47. package/dist/components/ScalarLoading/ScalarLoading.vue3.js +0 -4
  48. package/dist/components/ScalarMarkdown/ScalarMarkdown.vue2.js +0 -4
  49. package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue2.js +0 -4
  50. package/dist/components/ScalarModal/ScalarModal.vue3.js +0 -4
  51. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue3.js +0 -4
  52. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue2.js +0 -4
  53. package/dist/components/ScalarTooltip/ScalarTooltip.vue2.js +0 -4
  54. package/dist/style.css.js +0 -4
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "git+https://github.com/scalar/scalar.git",
11
11
  "directory": "packages/components"
12
12
  },
13
- "version": "0.14.33",
13
+ "version": "0.14.35",
14
14
  "engines": {
15
15
  "node": ">=20"
16
16
  },
@@ -29,23 +29,23 @@
29
29
  ],
30
30
  "module": "./dist/index.js",
31
31
  "dependencies": {
32
- "@floating-ui/utils": "^0.2.2",
33
- "@floating-ui/vue": "^1.1.7",
34
- "@headlessui/vue": "^1.7.23",
35
- "@vueuse/core": "^11.2.0",
32
+ "@floating-ui/utils": "0.2.10",
33
+ "@floating-ui/vue": "1.1.9",
34
+ "@headlessui/vue": "1.7.23",
35
+ "@vueuse/core": "13.9.0",
36
36
  "cva": "1.0.0-beta.2",
37
37
  "nanoid": "5.1.5",
38
38
  "pretty-bytes": "^6.1.1",
39
39
  "radix-vue": "^1.9.3",
40
40
  "vue": "^3.5.17",
41
41
  "vue-component-type-helpers": "^3.0.4",
42
- "@scalar/code-highlight": "0.1.9",
43
- "@scalar/helpers": "0.0.10",
42
+ "@scalar/code-highlight": "0.2.0",
43
+ "@scalar/helpers": "0.0.11",
44
44
  "@scalar/icons": "0.4.7",
45
- "@scalar/oas-utils": "0.4.28",
46
- "@scalar/themes": "0.13.16",
45
+ "@scalar/oas-utils": "0.4.30",
46
+ "@scalar/themes": "0.13.18",
47
47
  "@scalar/use-toasts": "0.8.0",
48
- "@scalar/use-hooks": "0.2.4"
48
+ "@scalar/use-hooks": "0.2.5"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@headlessui/tailwindcss": "^0.2.2",
@@ -60,7 +60,7 @@
60
60
  "@tailwindcss/vite": "^4.1.7",
61
61
  "@types/jsdom": "^21.1.3",
62
62
  "@types/node": "^22.9.0",
63
- "@vitejs/plugin-vue": "^5.2.4",
63
+ "@vitejs/plugin-vue": "6.0.1",
64
64
  "@vue/test-utils": "^2.4.1",
65
65
  "jsdom": "^22.1.0",
66
66
  "plugins": "^0.4.2",
@@ -68,9 +68,9 @@
68
68
  "storybook-dark-mode": "^4.0.1",
69
69
  "svglint": "^2.7.1",
70
70
  "tailwindcss": "^4.1.7",
71
- "vite": "6.1.6",
71
+ "vite": "7.1.5",
72
72
  "vite-svg-loader": "^5.1.0",
73
- "vitest": "^3.2.4",
73
+ "vitest": "3.2.4",
74
74
  "@scalar/build-tooling": "0.2.7"
75
75
  },
76
76
  "scripts": {
@@ -83,11 +83,12 @@
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",
86
87
  "preview": "vite preview --outDir storybook-static -c test/vite.config.ts 1>&2",
87
88
  "test": "vitest",
88
89
  "test:e2e": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:5001/ playwright test",
89
90
  "test:e2e:ci": "CI=1 playwright test",
90
- "test:e2e:playwright": "docker run --network=host -e PORT=5001 --rm --name scalar-playwright scalarapi/playwright:1.55.0",
91
+ "test:e2e:playwright": "pnpm playwright:cleanup-docker && docker run --network=host -e PORT=5001 --rm --name scalar-playwright scalarapi/playwright:1.55.0",
91
92
  "test:e2e:report": "playwright show-report",
92
93
  "test:e2e:ui": "pnpm test:e2e --ui",
93
94
  "test:e2e:update": "pnpm test:e2e --update-snapshots",
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const _ = "";
2
- export {
3
- _ as default
4
- };
@@ -1,4 +0,0 @@
1
- const _ = "";
2
- export {
3
- _ as default
4
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const a = "";
2
- export {
3
- a as default
4
- };
@@ -1,4 +0,0 @@
1
- const _ = "";
2
- export {
3
- _ as default
4
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
package/dist/style.css.js DELETED
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };