@scalar/components 0.13.9 → 0.13.10

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.
@@ -6,7 +6,7 @@ const e = {
6
6
  ],
7
7
  outlined: [
8
8
  "scalar-button-outlined",
9
- "active:bg-btn-1 border border-solid border-border bg-transparent text-c-1 hover:bg-b-2 shadow"
9
+ "active:bg-btn-1 border border-solid border-border bg-b-1 text-c-1 hover:bg-b-2 shadow"
10
10
  ],
11
11
  ghost: [
12
12
  "scalar-button-ghost",
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuButton.vue"],"names":[],"mappings":"AA6BA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAQF,iBAAS,cAAc;WAmET,OAAO,IAA6B;;yBATrB,GAAG;uBACJ,GAAG;;;;EAa9B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuButton.vue"],"names":[],"mappings":"AA6BA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAQF,iBAAS,cAAc;WAoET,OAAO,IAA6B;;yBATrB,GAAG;uBACJ,GAAG;;;;EAa9B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as a, openBlock as l, createBlock as c, unref as o, withCtx as p, createElementVNode as n, renderSlot as t, createVNode as s, createTextVNode as i, toDisplayString as u } from "vue";
1
+ import { defineComponent as a, openBlock as l, createBlock as c, unref as o, withCtx as p, createElementVNode as n, renderSlot as t, createVNode as r, createTextVNode as i, toDisplayString as u } from "vue";
2
2
  import d from "../ScalarHeader/ScalarHeaderButton.vue.js";
3
- import r from "../ScalarIcon/ScalarIcon.vue.js";
4
- const m = { class: "size-5" }, _ = { class: "sr-only" }, B = /* @__PURE__ */ a({
3
+ import s from "../ScalarIcon/ScalarIcon.vue.js";
4
+ const m = { class: "h-5 w-auto" }, _ = { class: "sr-only" }, B = /* @__PURE__ */ a({
5
5
  __name: "ScalarMenuButton",
6
6
  props: {
7
7
  open: { type: Boolean }
@@ -11,7 +11,7 @@ const m = { class: "size-5" }, _ = { class: "sr-only" }, B = /* @__PURE__ */ a({
11
11
  default: p(() => [
12
12
  n("div", m, [
13
13
  t(e.$slots, "default", {}, () => [
14
- s(o(r), { icon: "Logo" })
14
+ r(o(s), { icon: "Logo" })
15
15
  ])
16
16
  ]),
17
17
  n("span", _, [
@@ -19,7 +19,7 @@ const m = { class: "size-5" }, _ = { class: "sr-only" }, B = /* @__PURE__ */ a({
19
19
  i(u(e.open ? "Close Menu" : "Open Menu"), 1)
20
20
  ])
21
21
  ]),
22
- s(o(r), {
22
+ r(o(s), {
23
23
  class: "text-c-3 group-hover/button:text-c-1",
24
24
  icon: e.open ? "ChevronUp" : "ChevronDown",
25
25
  size: "md"
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.13.9",
13
+ "version": "0.13.10",
14
14
  "engines": {
15
15
  "node": ">=18"
16
16
  },
@@ -38,10 +38,10 @@
38
38
  "radix-vue": "^1.9.3",
39
39
  "tailwind-merge": "^2.5.5",
40
40
  "vue": "^3.5.12",
41
- "@scalar/use-toasts": "0.7.7",
42
41
  "@scalar/code-highlight": "0.0.19",
42
+ "@scalar/use-hooks": "0.1.11",
43
43
  "@scalar/themes": "0.9.58",
44
- "@scalar/use-hooks": "0.1.11"
44
+ "@scalar/use-toasts": "0.7.7"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@headlessui/tailwindcss": "^0.2.0",