bonkers-ui 1.0.39 → 1.0.41

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.39",
3
+ "version": "1.0.41",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "storybook": "start-storybook -p 6006",
@@ -17,7 +17,7 @@
17
17
  </div>
18
18
 
19
19
  <div class="grid border border-secondary-alt-400 rounded-2xl overflow-hidden bg-white">
20
- <div class="flex gap-xs justify-between items-center rounded-lg bg-secondary-alt-200 p-xs m-xs mb-sm">
20
+ <div class="ui-card-result__header grid gap-xs justify-between items-center rounded-lg bg-secondary-alt-200 p-xs m-xs mb-sm">
21
21
  <ui-typography
22
22
  v-if="header"
23
23
  line-height
@@ -67,3 +67,9 @@
67
67
  }>();
68
68
 
69
69
  </script>
70
+
71
+ <style scoped>
72
+ .ui-card-result__header {
73
+ grid-template-columns: 1fr auto;
74
+ }
75
+ </style>
@@ -54,7 +54,7 @@
54
54
 
55
55
  withDefaults(defineProps<{
56
56
  placeholder?: string;
57
- modelValue: string;
57
+ modelValue: string | number;
58
58
  disabled?: boolean;
59
59
  kind?: EInputKinds;
60
60
  heading?: string;
@@ -62,7 +62,7 @@
62
62
  >
63
63
  <ui-radio
64
64
  v-model="radioModel"
65
- :value="value"
65
+ :value="value.toString()"
66
66
  :name="name"
67
67
  :disabled="disabled"
68
68
  class="pointer-events-none"
@@ -99,11 +99,11 @@
99
99
  import UiTypography, { ETypographySizes, EColors, ETextWeight } from "../ui-typography";
100
100
 
101
101
  const props = defineProps<{
102
- modelValue: string;
102
+ modelValue: string | number | boolean;
103
103
  header?: string;
104
104
  subHeader?: string;
105
105
  name: string;
106
- value: string;
106
+ value: string | number | boolean;
107
107
  disabled?: boolean;
108
108
  }>();
109
109
 
@@ -16,7 +16,7 @@
16
16
  :id="value"
17
17
  v-model="radioModel"
18
18
  type="radio"
19
- :name="name"
19
+ :name="name.toString()"
20
20
  :value="value"
21
21
  :disabled="disabled"
22
22
  class="appearance-none absolute peer"
@@ -64,8 +64,8 @@
64
64
  import { EJustify } from "../../_types/align";
65
65
  const slots = useSlots();
66
66
  const props = defineProps<{
67
- modelValue: string;
68
- name: string;
67
+ modelValue: string | number | boolean;
68
+ name: string | number | boolean;
69
69
  value: string;
70
70
  justify?: EJustify;
71
71
  invertOrder?: boolean;
@@ -105,9 +105,9 @@
105
105
  import uiIcon from "../ui-icon";
106
106
 
107
107
  const props = withDefaults(defineProps<{
108
- modelValue: string;
108
+ modelValue: string | number | boolean;
109
109
  name: string;
110
- value: string | number;
110
+ value: string | number | boolean;
111
111
  iconName: TIconName;
112
112
  disabled?: boolean;
113
113
  radioSize?: ERadioSizes;