@scalar/api-client 2.2.34 → 2.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.2.35
4
+
5
+ ### Patch Changes
6
+
7
+ - f9668c5: feat: updates checkbox style and display in path params
8
+ - f9668c5: fix: handles path variable on request path change
9
+ - b968e0f: fix: prevents raw removal when binary
10
+ - b968e0f: fix: updates request body style
11
+ - 406eb48: Increase OAuth state parameter to 8 characters for increased entropy
12
+ - f1f8de9: fix: prevent hitting enter in auth from refreshing page
13
+ - Updated dependencies [97d8981]
14
+ - Updated dependencies [1bee104]
15
+ - Updated dependencies [b552db5]
16
+ - @scalar/components@0.13.15
17
+ - @scalar/types@0.0.27
18
+ - @scalar/use-codemirror@0.11.60
19
+ - @scalar/oas-utils@0.2.98
20
+ - @scalar/openapi-parser@0.10.4
21
+ - @scalar/themes@0.9.61
22
+ - @scalar/import@0.2.18
23
+ - @scalar/postman-to-openapi@0.1.21
24
+ - @scalar/use-hooks@0.1.15
25
+
3
26
  ## 2.2.34
4
27
 
5
28
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":"AAmJA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;AAwKF,wBAQG"}
1
+ {"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":"AAgJA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;AAsKF,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ContextBar.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cf482b83"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7906217f"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableCheckbox.vue"],"names":[],"mappings":"AAwDA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;CAC1B,CAAC;;;;;;WADQ,MAAM,GAAG,QAAQ;;AAsH7B,wBASG"}
1
+ {"version":3,"file":"DataTableCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableCheckbox.vue"],"names":[],"mappings":"AA4DA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;CAC1B,CAAC;;;;;;WADQ,MAAM,GAAG,QAAQ;;AAuH7B,wBASG"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as s, openBlock as n, createBlock as i, withCtx as c, createElementVNode as o, normalizeClass as d, unref as a, createVNode as p } from "vue";
2
- import { cva as u, ScalarIcon as m } from "@scalar/components";
3
- import f from "./DataTableCell.vue.js";
4
- const b = ["checked", "disabled"], y = /* @__PURE__ */ s({
1
+ import { defineComponent as c, openBlock as i, createBlock as n, withCtx as d, createElementVNode as a, normalizeClass as o, unref as l, createVNode as u } from "vue";
2
+ import { cva as p, ScalarIcon as m } from "@scalar/components";
3
+ import b from "./DataTableCell.vue.js";
4
+ const f = ["checked", "disabled"], y = /* @__PURE__ */ c({
5
5
  __name: "DataTableCheckbox",
6
6
  props: {
7
7
  modelValue: { type: Boolean },
@@ -10,8 +10,8 @@ const b = ["checked", "disabled"], y = /* @__PURE__ */ s({
10
10
  },
11
11
  emits: ["update:modelValue"],
12
12
  setup(h) {
13
- const l = u({
14
- base: "w-8 h-8 flex items-center justify-center text-border peer-checked:text-c-2 pointer-events-none absolute",
13
+ const s = p({
14
+ base: "w-8 h-8 flex items-center justify-center text-border peer-checked:text-c-1 pointer-events-none absolute",
15
15
  variants: {
16
16
  align: {
17
17
  left: "left-0",
@@ -19,20 +19,25 @@ const b = ["checked", "disabled"], y = /* @__PURE__ */ s({
19
19
  }
20
20
  }
21
21
  });
22
- return (e, t) => (n(), i(f, { class: "group/cell relative flex min-w-8" }, {
23
- default: c(() => [
24
- o("input", {
22
+ return (e, t) => (i(), n(b, { class: "group/cell relative flex min-w-8" }, {
23
+ default: d(() => [
24
+ a("input", {
25
25
  checked: e.modelValue,
26
- class: "peer absolute inset-0 opacity-0 cursor-pointer",
26
+ class: "peer absolute inset-0 opacity-0 disabled:cursor-default cursor-pointer",
27
27
  disabled: e.disabled,
28
28
  type: "checkbox",
29
29
  onChange: t[0] || (t[0] = (r) => e.$emit("update:modelValue", r.target.checked))
30
- }, null, 40, b),
31
- o("div", {
32
- class: d(a(l)({ align: e.align }))
30
+ }, null, 40, f),
31
+ a("div", {
32
+ class: o(l(s)({ align: e.align }))
33
33
  }, [
34
- t[1] || (t[1] = o("div", { class: "absolute opacity-0 group-hover/cell:opacity-100 group-has-[:focus-visible]/cell:opacity-100 group-has-[:focus-visible]/cell:border-c-accent border-[1px] rounded size-3/4 m-auto" }, null, -1)),
35
- p(a(m), {
34
+ a("div", {
35
+ class: o([
36
+ "absolute opacity-0 border-[1px] rounded size-3/4 m-auto",
37
+ !e.disabled && "group-hover/cell:opacity-100 group-has-[:focus-visible]/cell:opacity-100 group-has-[:focus-visible]/cell:border-c-accent"
38
+ ])
39
+ }, null, 2),
40
+ u(l(m), {
36
41
  icon: "Checkmark",
37
42
  size: "xs",
38
43
  thickness: "2.5"