pukaad-ui-lib 1.18.1 → 1.19.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.18.1",
4
+ "version": "1.19.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -5,13 +5,14 @@
5
5
  label="หัวข้อ"
6
6
  placeholder="ตั้งชื่อบทความให้น่าสนใจ"
7
7
  showCounter
8
- disabled-border
9
8
  :limit="180"
10
9
  required
11
10
  />
12
11
  <InputContent placeholder="อยากเล่าอะไร" />
13
12
 
14
13
  <InputCheckbox label="ไม่อนุญาตให้แสดงความคิดเห็น" />
14
+ <div class="h-[500px] w-full bg-red-500"></div>
15
+ <div class="h-[500px] w-full bg-red-500"></div>
15
16
  <!-- <div class="flex flex-col gap-[8px]">
16
17
  <div class="text-gray font-body-large">ภาพหน้าปก</div>
17
18
  <InputFile
@@ -9,10 +9,10 @@
9
9
  </ShadSheetDescription>
10
10
  </slot>
11
11
  </ShadSheetHeader>
12
- <div class="flex-1 overflow-y-auto min-h-0">
12
+ <div class="flex-1 overflow-y-auto px-[24px]">
13
13
  <slot name="default" :meta="meta" />
14
14
  </div>
15
- <ShadSheetFooter v-if="$slots.footer" class="flex-shrink-0">
15
+ <ShadSheetFooter class="flex-shrink-0">
16
16
  <slot name="footer" :meta="meta" />
17
17
  </ShadSheetFooter>
18
18
  </ShadSheetContent>
@@ -27,8 +27,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
27
27
  label: string;
28
28
  name: string;
29
29
  limit: number;
30
- accept: string;
31
30
  disabledErrorMessage: boolean;
31
+ accept: string;
32
32
  labelIcon: string;
33
33
  disabledDrop: boolean;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -27,8 +27,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
27
27
  label: string;
28
28
  name: string;
29
29
  limit: number;
30
- accept: string;
31
30
  disabledErrorMessage: boolean;
31
+ accept: string;
32
32
  labelIcon: string;
33
33
  disabledDrop: boolean;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -6,7 +6,6 @@
6
6
  data-slot="sheet-content"
7
7
  :class="
8
8
  cn(
9
- 'p-[24px]',
10
9
  'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500',
11
10
  side === 'right' && 'data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full min-w-full max-w-full sm:max-w-full sm:min-w-md border-l',
12
11
  side === 'left' && 'data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',
@@ -8,7 +8,7 @@ const props = defineProps({
8
8
  <template>
9
9
  <div
10
10
  data-slot="sheet-footer"
11
- :class="cn('mt-auto flex flex-col gap-2 ', props.class)"
11
+ :class="cn('mt-auto flex flex-col gap-2 pb-[24px] px-[24px]', props.class)"
12
12
  >
13
13
  <slot />
14
14
  </div>
@@ -8,7 +8,7 @@ const props = defineProps({
8
8
  <template>
9
9
  <div
10
10
  data-slot="sheet-header"
11
- :class="cn('flex flex-col gap-1.5 ', props.class)"
11
+ :class="cn('flex flex-col gap-1.5 pt-[24px] px-[24px]', props.class)"
12
12
  >
13
13
  <slot />
14
14
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.18.1",
3
+ "version": "1.19.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",