bonkers-ui 1.0.37 → 1.0.38

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": "bonkers-ui",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "storybook": "start-storybook -p 6006",
@@ -28,7 +28,7 @@
28
28
  "@storybook/addon-essentials": "^6.5.16",
29
29
  "@storybook/addon-links": "^6.5.16",
30
30
  "@storybook/addon-postcss": "^2.0.0",
31
- "@storybook/builder-vite": "^0.4.0",
31
+ "@storybook/builder-vite": "^0.2.7",
32
32
  "@storybook/vue3": "^6.5.16",
33
33
  "@typescript-eslint/eslint-plugin": "^5.50.0",
34
34
  "@typescript-eslint/parser": "^5.50.0",
@@ -51,7 +51,7 @@
51
51
  "tailwindcss": "^3.2.4",
52
52
  "ts-node": "^10.9.1",
53
53
  "typescript": "^4.9.5",
54
- "vite": "^4.1.0",
54
+ "vite": "^4.1.1",
55
55
  "vitest": "^0.28.3",
56
56
  "vue-eslint-parser": "^9.1.0",
57
57
  "vue-loader": "^17.0.1",
@@ -96,7 +96,7 @@
96
96
  </template>
97
97
 
98
98
  <script lang="ts" setup>
99
- import { computed } from "vue";
99
+ import { computed, withDefaults } from "vue";
100
100
  import UiTypography, { ETypographySizes, ETextWeight } from "../ui-typography";
101
101
  import type { TIconName } from "../ui-icon";
102
102
  import { ESize } from "../../_types/sizing";
@@ -104,14 +104,16 @@
104
104
  import { ERadioSizes } from "./_typings";
105
105
  import uiIcon from "../ui-icon";
106
106
 
107
- const props = defineProps<{
107
+ const props = withDefaults(defineProps<{
108
108
  modelValue: string;
109
109
  name: string;
110
110
  value: string | number;
111
111
  iconName: TIconName;
112
112
  disabled?: boolean;
113
113
  radioSize?: ERadioSizes;
114
- }>();
114
+ }>(), {
115
+ radioSize: ERadioSizes.DEFAULT
116
+ });
115
117
  const emit = defineEmits(["update:modelValue"]);
116
118
  const radioModel = computed({
117
119
  get() {