pukaad-ui-lib 1.82.0 → 1.84.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.82.0",
4
+ "version": "1.84.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -7,6 +7,7 @@ export interface ButtonProps {
7
7
  class?: HTMLAttributes["class"];
8
8
  variant?: ButtonVariant;
9
9
  color?: ButtonColor;
10
+ circle?: boolean;
10
11
  }
11
12
  declare var __VLS_8: {};
12
13
  type __VLS_Slots = {} & {
@@ -16,6 +17,7 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {}, {}, {},
16
17
  type: ButtonType;
17
18
  variant: ButtonVariant;
18
19
  color: ButtonColor;
20
+ circle: boolean;
19
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
23
  declare const _default: typeof __VLS_export;
@@ -3,6 +3,7 @@
3
3
  :class="[
4
4
  'font-body-medium',
5
5
  props.variant === 'text' && '!p-0',
6
+ props.circle && 'rounded-full aspect-square',
6
7
  props.class
7
8
  ]"
8
9
  :variant="props.variant"
@@ -18,6 +19,7 @@ const props = defineProps({
18
19
  type: { type: String, required: false, default: "button" },
19
20
  class: { type: null, required: false },
20
21
  variant: { type: String, required: false, default: "default" },
21
- color: { type: String, required: false, default: "default" }
22
+ color: { type: String, required: false, default: "default" },
23
+ circle: { type: Boolean, required: false, default: false }
22
24
  });
23
25
  </script>
@@ -7,6 +7,7 @@ export interface ButtonProps {
7
7
  class?: HTMLAttributes["class"];
8
8
  variant?: ButtonVariant;
9
9
  color?: ButtonColor;
10
+ circle?: boolean;
10
11
  }
11
12
  declare var __VLS_8: {};
12
13
  type __VLS_Slots = {} & {
@@ -16,6 +17,7 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {}, {}, {},
16
17
  type: ButtonType;
17
18
  variant: ButtonVariant;
18
19
  color: ButtonColor;
20
+ circle: boolean;
19
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
23
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,7 @@
1
1
  export interface CardProps {
2
2
  title?: string;
3
3
  description?: string;
4
+ variant?: "default" | "outline";
4
5
  }
5
6
  declare var __VLS_14: {}, __VLS_22: {}, __VLS_30: {}, __VLS_38: any, __VLS_46: any;
6
7
  type __VLS_Slots = {} & {
@@ -14,7 +15,9 @@ type __VLS_Slots = {} & {
14
15
  } & {
15
16
  footer?: (props: typeof __VLS_46) => any;
16
17
  };
17
- declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
19
+ variant: "default" | "outline";
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
22
  declare const _default: typeof __VLS_export;
20
23
  export default _default;
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ShadCard v-slot="slotScope">
2
+ <ShadCard
3
+ v-slot="slotScope"
4
+ :class="props.variant === 'outline' && 'border-[1px] border-mecury'"
5
+ >
3
6
  <ShadCardHeader
4
7
  v-if="$slots.header || props.title || props.description"
5
8
  v-bind="slotScope"
@@ -30,6 +33,7 @@
30
33
  <script setup>
31
34
  const props = defineProps({
32
35
  title: { type: String, required: false },
33
- description: { type: String, required: false }
36
+ description: { type: String, required: false },
37
+ variant: { type: String, required: false, default: "default" }
34
38
  });
35
39
  </script>
@@ -1,6 +1,7 @@
1
1
  export interface CardProps {
2
2
  title?: string;
3
3
  description?: string;
4
+ variant?: "default" | "outline";
4
5
  }
5
6
  declare var __VLS_14: {}, __VLS_22: {}, __VLS_30: {}, __VLS_38: any, __VLS_46: any;
6
7
  type __VLS_Slots = {} & {
@@ -14,7 +15,9 @@ type __VLS_Slots = {} & {
14
15
  } & {
15
16
  footer?: (props: typeof __VLS_46) => any;
16
17
  };
17
- declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
19
+ variant: "default" | "outline";
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
22
  declare const _default: typeof __VLS_export;
20
23
  export default _default;
@@ -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;
67
69
  responsive: boolean;
68
70
  restore: boolean;
69
71
  checkCrossOrigin: boolean;
70
72
  checkOrientation: boolean;
71
73
  crossorigin: "" | "anonymous" | "use-credentials";
72
- modal: boolean;
73
74
  guides: boolean;
74
75
  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;
67
69
  responsive: boolean;
68
70
  restore: boolean;
69
71
  checkCrossOrigin: boolean;
70
72
  checkOrientation: boolean;
71
73
  crossorigin: "" | "anonymous" | "use-credentials";
72
- modal: boolean;
73
74
  guides: boolean;
74
75
  highlight: boolean;
75
- background: boolean;
76
76
  autoCrop: boolean;
77
77
  movable: boolean;
78
78
  rotatable: boolean;
@@ -1,8 +1,8 @@
1
1
  import type { PickerOptionMenuProps, PickerOptionMenuItem } from "@/types/components/picker/picker-option-menu/picker-option-menu";
2
2
  declare const __VLS_export: import("vue").DefineComponent<PickerOptionMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PickerOptionMenuProps> & Readonly<{}>, {
3
3
  variant: ButtonVariant;
4
- items: PickerOptionMenuItem[];
5
4
  circle: boolean;
5
+ items: PickerOptionMenuItem[];
6
6
  horizontal: boolean;
7
7
  disabled: boolean;
8
8
  disabledPadding: boolean;
@@ -1,8 +1,8 @@
1
1
  import type { PickerOptionMenuProps, PickerOptionMenuItem } from "@/types/components/picker/picker-option-menu/picker-option-menu";
2
2
  declare const __VLS_export: import("vue").DefineComponent<PickerOptionMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PickerOptionMenuProps> & Readonly<{}>, {
3
3
  variant: ButtonVariant;
4
- items: PickerOptionMenuItem[];
5
4
  circle: boolean;
5
+ items: PickerOptionMenuItem[];
6
6
  horizontal: boolean;
7
7
  disabled: boolean;
8
8
  disabledPadding: boolean;
@@ -1,11 +1,14 @@
1
1
  <template>
2
2
  <Form v-slot="{ meta }" @submit="onSubmit">
3
- <div data-slot="card" :class="
3
+ <div
4
+ data-slot="card"
5
+ :class="
4
6
  cn(
5
- 'bg-card text-card-foreground flex flex-col gap-6 rounded-xl py-4',
7
+ 'bg-card text-card-foreground flex flex-col gap-4 rounded-xl py-4',
6
8
  props.class
7
9
  )
8
- ">
10
+ "
11
+ >
9
12
  <slot name="default" :meta="meta" />
10
13
  </div>
11
14
  </Form>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.82.0",
3
+ "version": "1.84.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",