@scalar/components 0.20.8 → 0.20.9

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.
@@ -11,10 +11,10 @@ export default _default;
11
11
  declare const __VLS_export: import("vue").DefineComponent<{
12
12
  modelValue?: string;
13
13
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- "update:modelValue": (value: string | undefined) => any;
14
+ "update:modelValue": (value: string) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<{
16
16
  modelValue?: string;
17
17
  }> & Readonly<{
18
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
19
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  //# sourceMappingURL=ScalarTextArea.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarTextArea.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarTextArea/ScalarTextArea.vue"],"names":[],"mappings":"AA4DA;;;;;;;GAOG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;iBAmBL,MAAM;;;;iBAAN,MAAM;;;kFAsFf,CAAC"}
1
+ {"version":3,"file":"ScalarTextArea.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarTextArea/ScalarTextArea.vue"],"names":[],"mappings":"AA2DA;;;;;;;GAOG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;iBAqBL,MAAM;;;;iBAAN,MAAM;;;kFAsFf,CAAC"}
@@ -7,21 +7,20 @@ const A = {}, B = /* @__PURE__ */ u({
7
7
  inheritAttrs: !1,
8
8
  __name: "ScalarTextArea",
9
9
  props: {
10
- modelValue: {},
10
+ modelValue: { default: "" },
11
11
  modelModifiers: {}
12
12
  },
13
13
  emits: ["update:modelValue"],
14
- setup(i) {
15
- const o = m(i, "modelValue"), { textarea: r } = h({
16
- // @ts-expect-error - unexpected type mismatch
14
+ setup(a) {
15
+ const o = m(a, "modelValue"), { textarea: r } = h({
17
16
  input: o,
18
17
  styleProp: "minHeight"
19
- }), { stylingAttrsCx: a, otherAttrs: n } = g();
18
+ }), { stylingAttrsCx: i, otherAttrs: n } = g();
20
19
  return f(() => {
21
20
  "autofocus" in n.value && r.value?.focus();
22
21
  }), (C, e) => (c(), d(t(k), l(
23
22
  { is: "div" },
24
- t(a)(
23
+ t(i)(
25
24
  "custom-scroll flex items-start text-c-1 min-h-0 shrink cursor-text leading-snug"
26
25
  ),
27
26
  {
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.20.8",
13
+ "version": "0.20.9",
14
14
  "engines": {
15
15
  "node": ">=22"
16
16
  },
@@ -41,9 +41,9 @@
41
41
  "vue-component-type-helpers": "^3.2.2",
42
42
  "@scalar/helpers": "0.4.1",
43
43
  "@scalar/code-highlight": "0.3.0",
44
- "@scalar/oas-utils": "0.10.7",
45
44
  "@scalar/icons": "0.6.0",
46
45
  "@scalar/themes": "0.15.0",
46
+ "@scalar/oas-utils": "0.10.8",
47
47
  "@scalar/use-hooks": "0.4.0"
48
48
  },
49
49
  "devDependencies": {