pukaad-ui-lib 1.251.0 → 1.252.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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
3
  "configKey": "pukaadUI",
4
- "version": "1.251.0",
4
+ "version": "1.252.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
64
64
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
65
65
  src: string;
66
66
  center: boolean;
67
- background: boolean;
68
- modal: boolean;
69
67
  responsive: boolean;
70
68
  restore: boolean;
71
69
  checkCrossOrigin: boolean;
72
70
  checkOrientation: boolean;
73
71
  crossorigin: "" | "anonymous" | "use-credentials";
72
+ modal: boolean;
74
73
  guides: boolean;
75
74
  highlight: boolean;
75
+ background: boolean;
76
76
  autoCrop: boolean;
77
77
  movable: boolean;
78
78
  rotatable: boolean;
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
64
64
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
65
65
  src: string;
66
66
  center: boolean;
67
- background: boolean;
68
- modal: boolean;
69
67
  responsive: boolean;
70
68
  restore: boolean;
71
69
  checkCrossOrigin: boolean;
72
70
  checkOrientation: boolean;
73
71
  crossorigin: "" | "anonymous" | "use-credentials";
72
+ modal: boolean;
74
73
  guides: boolean;
75
74
  highlight: boolean;
75
+ background: boolean;
76
76
  autoCrop: boolean;
77
77
  movable: boolean;
78
78
  rotatable: boolean;
@@ -1,21 +1,23 @@
1
1
  <template>
2
2
  <ShadFormField :name="props.name" :rules="props.rules || defaultRules" v-slot="{ componentField }">
3
3
  <ShadFormItem>
4
- <ShadFormControl>
5
- <div class="flex gap-2 items-center" :class="[
4
+ <ShadFormLabel
5
+ class="flex gap-2 items-center font-body-medium text-black leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer"
6
+ :class="[
6
7
  props.labelPosition === 'left' ? 'flex-row-reverse justify-between w-full' : ''
7
- ]">
8
- <ShadCheckbox v-bind="componentField" v-model="modelValue" :indeterminate="props.indeterminate"
9
- :style="{ width: `${props.size}px`, height: `${props.size}px` }" />
10
- <ShadFormLabel
11
- class="font-body-medium text-black leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer"
8
+ ]"
9
+ >
10
+ <ShadFormControl>
11
+ <ShadCheckbox v-bind="componentField" v-model="modelValue" :indeterminate="props.indeterminate"
12
+ :style="{ width: `${props.size}px`, height: `${props.size}px` }" />
13
+ </ShadFormControl>
14
+ <span
12
15
  :class="[
13
16
  props.labelPosition === 'left' ? 'flex-1' : ''
14
17
  ]">
15
18
  {{ props.label }}
16
- </ShadFormLabel>
17
- </div>
18
- </ShadFormControl>
19
+ </span>
20
+ </ShadFormLabel>
19
21
  </ShadFormItem>
20
22
  </ShadFormField>
21
23
  </template>
@@ -18,7 +18,7 @@
18
18
  </template>
19
19
 
20
20
  <input v-bind="field"
21
- :class="['appearance-none rounded-full border border-black bg-white shrink-0 checked:border-primary checked:border-[5px] cursor-pointer', cursor]"
21
+ :class="['appearance-none rounded-full border border-black bg-white checked:border-primary checked:bg-primary checked:shadow-[inset_0_0_0_2px_white] cursor-pointer shrink-0', cursor]"
22
22
  type="radio" :name="props.name" :style="{ width: `${props.size}px`, height: `${props.size}px` }"
23
23
  :value="typeof item === 'object' ? item.value : item" :disabled="
24
24
  props.disabled || typeof item === 'object' && item.disabled
@@ -48,7 +48,7 @@
48
48
  </template>
49
49
 
50
50
  <input v-bind="field"
51
- :class="['appearance-none rounded-full border border-black bg-white shrink-0 checked:border-primary checked:border-[5px] cursor-pointer', cursor]"
51
+ :class="['appearance-none rounded-full border border-black bg-white checked:border-primary checked:bg-primary checked:shadow-[inset_0_0_0_2px_white] cursor-pointer shrink-0', cursor]"
52
52
  type="radio" :name="props.name" :style="{ width: `${props.size}px`, height: `${props.size}px` }"
53
53
  :value="item" :disabled="props.disabled" />
54
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.251.0",
3
+ "version": "1.252.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",