@deot/vc 1.0.50 → 1.0.51

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/dist/index.d.ts CHANGED
@@ -8013,6 +8013,8 @@ export declare const Components: {
8013
8013
  falseValue: string | number | boolean;
8014
8014
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8015
8015
  RadioButton: DefineComponent<ExtractPropTypes< {
8016
+ labelStyle: (ObjectConstructor | StringConstructor)[];
8017
+ labelClass: (ObjectConstructor | StringConstructor)[];
8016
8018
  disabled: {
8017
8019
  type: BooleanConstructor;
8018
8020
  default: boolean;
@@ -8041,6 +8043,8 @@ export declare const Components: {
8041
8043
  default: boolean;
8042
8044
  };
8043
8045
  }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
8046
+ labelStyle: (ObjectConstructor | StringConstructor)[];
8047
+ labelClass: (ObjectConstructor | StringConstructor)[];
8044
8048
  disabled: {
8045
8049
  type: BooleanConstructor;
8046
8050
  default: boolean;
@@ -23629,6 +23629,7 @@ var Vc = (function (exports, vue) {
23629
23629
  checked,
23630
23630
  classes,
23631
23631
  computedLabel,
23632
+ isDisabled,
23632
23633
  handleChange,
23633
23634
  handleFocus,
23634
23635
  handleBlur
@@ -23648,7 +23649,7 @@ var Vc = (function (exports, vue) {
23648
23649
  }, null)]), vue.createVNode("input", {
23649
23650
  "checked": checked.value,
23650
23651
  "name": radioName.value,
23651
- "disabled": props2.disabled,
23652
+ "disabled": isDisabled.value,
23652
23653
  "type": "radio",
23653
23654
  "onChange": handleChange,
23654
23655
  "onFocus": handleFocus,
@@ -23660,7 +23661,11 @@ var Vc = (function (exports, vue) {
23660
23661
  const COMPONENT_NAME$x = "vc-radio-button";
23661
23662
  const RadioButton = /* @__PURE__ */ vue.defineComponent({
23662
23663
  name: COMPONENT_NAME$x,
23663
- props: props$m,
23664
+ props: {
23665
+ ...props$m,
23666
+ labelStyle: [String, Object],
23667
+ labelClass: [String, Object]
23668
+ },
23664
23669
  emits: ["update:modelValue", "change"],
23665
23670
  setup(props2, {
23666
23671
  slots
@@ -23671,6 +23676,7 @@ var Vc = (function (exports, vue) {
23671
23676
  checked,
23672
23677
  classes,
23673
23678
  computedLabel,
23679
+ isDisabled,
23674
23680
  handleChange,
23675
23681
  handleFocus,
23676
23682
  handleBlur
@@ -23682,12 +23688,15 @@ var Vc = (function (exports, vue) {
23682
23688
  }, [vue.createVNode("input", {
23683
23689
  "checked": checked.value,
23684
23690
  "name": radioName.value,
23685
- "disabled": props2.disabled,
23691
+ "disabled": isDisabled.value,
23686
23692
  "type": "radio",
23687
23693
  "onChange": handleChange,
23688
23694
  "onFocus": handleFocus,
23689
23695
  "onBlur": handleBlur
23690
- }, null), slots.default ? slots.default() : computedLabel.value && vue.createVNode("span", null, [computedLabel.value])]);
23696
+ }, null), vue.createVNode("span", {
23697
+ "class": [props2.labelClass, "vc-radio-button__label"],
23698
+ "style": props2.labelStyle
23699
+ }, [slots.default ? slots.default() : computedLabel.value || ""])]);
23691
23700
  };
23692
23701
  }
23693
23702
  });
@@ -23793,6 +23802,7 @@ var Vc = (function (exports, vue) {
23793
23802
  checked,
23794
23803
  classes,
23795
23804
  computedLabel,
23805
+ isDisabled,
23796
23806
  handleChange,
23797
23807
  handleFocus,
23798
23808
  handleBlur
@@ -23812,7 +23822,7 @@ var Vc = (function (exports, vue) {
23812
23822
  }, null)]), vue.createVNode("input", {
23813
23823
  "checked": checked.value,
23814
23824
  "name": radioName.value,
23815
- "disabled": props2.disabled,
23825
+ "disabled": isDisabled.value,
23816
23826
  "type": "radio",
23817
23827
  "onChange": handleChange,
23818
23828
  "onFocus": handleFocus,
@@ -23632,6 +23632,7 @@
23632
23632
  checked,
23633
23633
  classes,
23634
23634
  computedLabel,
23635
+ isDisabled,
23635
23636
  handleChange,
23636
23637
  handleFocus,
23637
23638
  handleBlur
@@ -23651,7 +23652,7 @@
23651
23652
  }, null)]), vue.createVNode("input", {
23652
23653
  "checked": checked.value,
23653
23654
  "name": radioName.value,
23654
- "disabled": props2.disabled,
23655
+ "disabled": isDisabled.value,
23655
23656
  "type": "radio",
23656
23657
  "onChange": handleChange,
23657
23658
  "onFocus": handleFocus,
@@ -23663,7 +23664,11 @@
23663
23664
  const COMPONENT_NAME$x = "vc-radio-button";
23664
23665
  const RadioButton = /* @__PURE__ */ vue.defineComponent({
23665
23666
  name: COMPONENT_NAME$x,
23666
- props: props$m,
23667
+ props: {
23668
+ ...props$m,
23669
+ labelStyle: [String, Object],
23670
+ labelClass: [String, Object]
23671
+ },
23667
23672
  emits: ["update:modelValue", "change"],
23668
23673
  setup(props2, {
23669
23674
  slots
@@ -23674,6 +23679,7 @@
23674
23679
  checked,
23675
23680
  classes,
23676
23681
  computedLabel,
23682
+ isDisabled,
23677
23683
  handleChange,
23678
23684
  handleFocus,
23679
23685
  handleBlur
@@ -23685,12 +23691,15 @@
23685
23691
  }, [vue.createVNode("input", {
23686
23692
  "checked": checked.value,
23687
23693
  "name": radioName.value,
23688
- "disabled": props2.disabled,
23694
+ "disabled": isDisabled.value,
23689
23695
  "type": "radio",
23690
23696
  "onChange": handleChange,
23691
23697
  "onFocus": handleFocus,
23692
23698
  "onBlur": handleBlur
23693
- }, null), slots.default ? slots.default() : computedLabel.value && vue.createVNode("span", null, [computedLabel.value])]);
23699
+ }, null), vue.createVNode("span", {
23700
+ "class": [props2.labelClass, "vc-radio-button__label"],
23701
+ "style": props2.labelStyle
23702
+ }, [slots.default ? slots.default() : computedLabel.value || ""])]);
23694
23703
  };
23695
23704
  }
23696
23705
  });
@@ -23796,6 +23805,7 @@
23796
23805
  checked,
23797
23806
  classes,
23798
23807
  computedLabel,
23808
+ isDisabled,
23799
23809
  handleChange,
23800
23810
  handleFocus,
23801
23811
  handleBlur
@@ -23815,7 +23825,7 @@
23815
23825
  }, null)]), vue.createVNode("input", {
23816
23826
  "checked": checked.value,
23817
23827
  "name": radioName.value,
23818
- "disabled": props2.disabled,
23828
+ "disabled": isDisabled.value,
23819
23829
  "type": "radio",
23820
23830
  "onChange": handleChange,
23821
23831
  "onFocus": handleFocus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deot/vc",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,9 +19,9 @@
19
19
  "access": "public"
20
20
  },
21
21
  "dependencies": {
22
- "@deot/vc-components": "^1.0.50",
23
- "@deot/vc-hooks": "^1.0.50",
24
- "@deot/vc-shared": "^1.0.50"
22
+ "@deot/vc-components": "^1.0.51",
23
+ "@deot/vc-hooks": "^1.0.51",
24
+ "@deot/vc-shared": "^1.0.51"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "vue": "*"