@toife/vue 3.3.2 → 3.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toife/vue",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "A Frontend framework for Vue",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -42,11 +42,13 @@ const readonly = computed(() => {
42
42
  const radioAttrs = computed(() => {
43
43
  const shadow = (props?.shadow !== undefined ? props.shadow : unref(appState?.shadow)) ?? false;
44
44
  const role = props.role || unref(radioGroupState?.role) || unref(appState?.role) || "";
45
+ const shape = props.shape || unref(radioGroupState?.shape) || unref(appState?.shape) || "";
45
46
  const variant = props.variant || unref(radioGroupState?.variant) || "";
46
47
  const isChecked = unref(radioGroupState?.modelValue) === props.value;
47
48
 
48
49
  return getRadioAttrs({
49
50
  role,
51
+ shape,
50
52
  size: props.size,
51
53
  variant,
52
54
  checked: isChecked,
@@ -30,6 +30,10 @@ const role = computed(() => {
30
30
  return props.role || unref(appState?.role) || "";
31
31
  });
32
32
 
33
+ const shape = computed(() => {
34
+ return props.shape || unref(appState?.shape) || "";
35
+ });
36
+
33
37
  const variant = computed(() => {
34
38
  return props.variant;
35
39
  });
@@ -48,6 +52,7 @@ const radioGroupAttrs = computed(() => getRadioGroupAttrs({ direction: props.dir
48
52
  provide<ProviderStateRefs<RadioGroupProviderState>>(RADIO_GROUP_PROVIDER_STATE_KEY, {
49
53
  modelValue,
50
54
  role,
55
+ shape,
51
56
  variant,
52
57
  disabled,
53
58
  readonly,