@oods/components-vue 0.14.0 → 0.15.0

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/README.md CHANGED
@@ -34,4 +34,4 @@ Generated apps pin the OODS release that generated them; to upgrade, regenerate
34
34
 
35
35
  ## License
36
36
 
37
- Apache License 2.0. See [LICENSE](https://cdn.jsdelivr.net/npm/@oods/components-vue@0.14.0/LICENSE) and [NOTICE](https://cdn.jsdelivr.net/npm/@oods/components-vue@0.14.0/NOTICE). Generated output belongs to its user; installed package dependencies retain their own licenses.
37
+ Apache License 2.0. See [LICENSE](https://cdn.jsdelivr.net/npm/@oods/components-vue@0.15.0/LICENSE) and [NOTICE](https://cdn.jsdelivr.net/npm/@oods/components-vue@0.15.0/NOTICE). Generated output belongs to its user; installed package dependencies retain their own licenses.
package/dist/index.cjs CHANGED
@@ -1195,7 +1195,7 @@ var PreferenceEditor = vue.defineComponent({
1195
1195
  formHeader(title, subtitle),
1196
1196
  vue.h("div", { "data-form-content": "true" }, content.length ? content : [
1197
1197
  vue.h("label", { "data-form-control": "select" }, [vue.h("span", "Namespace"), vue.h("select", { name: "namespace", value: selected }, selectOptionNodes(choices, selected))]),
1198
- vue.h("label", { "data-form-control": "textarea" }, [vue.h("span", "Preference Document"), vue.h("textarea", { name: "preferenceDocument", value: firstScalar(props.document, props.json, props.value) ?? "" })])
1198
+ vue.h("label", { "data-form-control": "textarea" }, [vue.h("span", "Preference Document"), vue.h("textarea", { name: "preferenceDocument", rows: 4, value: firstScalar(props.document, props.json, props.value) ?? "" })])
1199
1199
  ])
1200
1200
  ]);
1201
1201
  };
@@ -1582,7 +1582,7 @@ var CancellationForm = vue.defineComponent({
1582
1582
  vue.h("div", { "data-form-content": "true" }, content.length ? content : [
1583
1583
  vue.h("label", { "data-form-control": "select" }, [vue.h("span", "Reason Code"), props.allowedReasons?.length === 0 ? vue.h("input", { name: "reasonCode", value: props.reasonCode ?? "" }) : vue.h("select", { name: "reasonCode", value: props.reasonCode }, selectOptionNodes(choices, props.reasonCode))]),
1584
1584
  props.codeHelp ? vue.h("p", { class: "oods-field-help" }, props.codeHelp) : null,
1585
- vue.h("label", { "data-form-control": "textarea" }, [vue.h("span", "Reason"), vue.h("textarea", { name: "reason", value: firstText(props.reason, props.cancellationReason) ?? "" })]),
1585
+ vue.h("label", { "data-form-control": "textarea" }, [vue.h("span", "Reason"), vue.h("textarea", { name: "reason", rows: 4, value: firstText(props.reason, props.cancellationReason) ?? "" })]),
1586
1586
  props.reasonHelp ? vue.h("p", { class: "oods-field-help" }, props.reasonHelp) : null
1587
1587
  ])
1588
1588
  ]);
@@ -1719,7 +1719,8 @@ var Textarea = vue.defineComponent({
1719
1719
  name: "OodsTextarea",
1720
1720
  props: {
1721
1721
  ...textFieldProps,
1722
- rows: { type: Number, default: 3 }
1722
+ // s248-m01 (next step 1862): four rows, as React's Textarea and every HTML text area.
1723
+ rows: { type: Number, default: 4 }
1723
1724
  },
1724
1725
  emits: {
1725
1726
  "update:modelValue": (_value) => true,
package/dist/index.d.cts CHANGED
@@ -1970,10 +1970,10 @@ declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
1970
1970
  "onUpdate:modelValue"?: ((_value: string) => any) | undefined;
1971
1971
  }>, {
1972
1972
  disabled: boolean;
1973
+ rows: number;
1973
1974
  defaultValue: string;
1974
1975
  required: boolean;
1975
1976
  readOnly: boolean;
1976
- rows: number;
1977
1977
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
1978
1978
  declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
1979
1979
  id: StringConstructor;
package/dist/index.d.ts CHANGED
@@ -1970,10 +1970,10 @@ declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
1970
1970
  "onUpdate:modelValue"?: ((_value: string) => any) | undefined;
1971
1971
  }>, {
1972
1972
  disabled: boolean;
1973
+ rows: number;
1973
1974
  defaultValue: string;
1974
1975
  required: boolean;
1975
1976
  readOnly: boolean;
1976
- rows: number;
1977
1977
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
1978
1978
  declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
1979
1979
  id: StringConstructor;
package/dist/index.js CHANGED
@@ -1193,7 +1193,7 @@ var PreferenceEditor = defineComponent({
1193
1193
  formHeader(title, subtitle),
1194
1194
  h("div", { "data-form-content": "true" }, content.length ? content : [
1195
1195
  h("label", { "data-form-control": "select" }, [h("span", "Namespace"), h("select", { name: "namespace", value: selected }, selectOptionNodes(choices, selected))]),
1196
- h("label", { "data-form-control": "textarea" }, [h("span", "Preference Document"), h("textarea", { name: "preferenceDocument", value: firstScalar(props.document, props.json, props.value) ?? "" })])
1196
+ h("label", { "data-form-control": "textarea" }, [h("span", "Preference Document"), h("textarea", { name: "preferenceDocument", rows: 4, value: firstScalar(props.document, props.json, props.value) ?? "" })])
1197
1197
  ])
1198
1198
  ]);
1199
1199
  };
@@ -1580,7 +1580,7 @@ var CancellationForm = defineComponent({
1580
1580
  h("div", { "data-form-content": "true" }, content.length ? content : [
1581
1581
  h("label", { "data-form-control": "select" }, [h("span", "Reason Code"), props.allowedReasons?.length === 0 ? h("input", { name: "reasonCode", value: props.reasonCode ?? "" }) : h("select", { name: "reasonCode", value: props.reasonCode }, selectOptionNodes(choices, props.reasonCode))]),
1582
1582
  props.codeHelp ? h("p", { class: "oods-field-help" }, props.codeHelp) : null,
1583
- h("label", { "data-form-control": "textarea" }, [h("span", "Reason"), h("textarea", { name: "reason", value: firstText(props.reason, props.cancellationReason) ?? "" })]),
1583
+ h("label", { "data-form-control": "textarea" }, [h("span", "Reason"), h("textarea", { name: "reason", rows: 4, value: firstText(props.reason, props.cancellationReason) ?? "" })]),
1584
1584
  props.reasonHelp ? h("p", { class: "oods-field-help" }, props.reasonHelp) : null
1585
1585
  ])
1586
1586
  ]);
@@ -1717,7 +1717,8 @@ var Textarea = defineComponent({
1717
1717
  name: "OodsTextarea",
1718
1718
  props: {
1719
1719
  ...textFieldProps,
1720
- rows: { type: Number, default: 3 }
1720
+ // s248-m01 (next step 1862): four rows, as React's Textarea and every HTML text area.
1721
+ rows: { type: Number, default: 4 }
1721
1722
  },
1722
1723
  emits: {
1723
1724
  "update:modelValue": (_value) => true,
package/dist/ported.cjs CHANGED
@@ -550,7 +550,8 @@ vue.defineComponent({
550
550
  name: "OodsTextarea",
551
551
  props: {
552
552
  ...textFieldProps,
553
- rows: { type: Number, default: 3 }
553
+ // s248-m01 (next step 1862): four rows, as React's Textarea and every HTML text area.
554
+ rows: { type: Number, default: 4 }
554
555
  },
555
556
  emits: {
556
557
  "update:modelValue": (_value) => true,
package/dist/ported.js CHANGED
@@ -548,7 +548,8 @@ defineComponent({
548
548
  name: "OodsTextarea",
549
549
  props: {
550
550
  ...textFieldProps,
551
- rows: { type: Number, default: 3 }
551
+ // s248-m01 (next step 1862): four rows, as React's Textarea and every HTML text area.
552
+ rows: { type: Number, default: 4 }
552
553
  },
553
554
  emits: {
554
555
  "update:modelValue": (_value) => true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oods/components-vue",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Vue 3 components for OODS Foundry: the controls, layouts and domain views its generated screens use.",
5
5
  "homepage": "https://oods-foundry.com/",
6
6
  "bugs": {
@@ -53,8 +53,8 @@
53
53
  "**/*.css"
54
54
  ],
55
55
  "dependencies": {
56
- "@oods/component-contracts": "0.14.0",
57
- "@oods/component-styles": "0.14.0"
56
+ "@oods/component-contracts": "0.15.0",
57
+ "@oods/component-styles": "0.15.0"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "vue": "^3.5.0"