pukaad-ui-lib 1.74.0 → 1.75.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.74.0",
4
+ "version": "1.75.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -8,28 +8,15 @@
8
8
  >
9
9
  <template #header>
10
10
  <div v-if="step !== 'menu'">
11
- <div class="flex justify-between items-center w-full">
12
- <Button
13
- variant="text"
14
- color="black"
15
- disabled-padding
16
- icon-size="24"
17
- prepend-icon="lucide:chevron-left"
18
- @click="step = 'menu'"
19
- />
11
+ <div class="flex gap-[8px] items-center w-full">
12
+ <Button variant="text" @click="step = 'menu'">
13
+ <Icon name="lucide:chevron-left" :size="24" />
14
+ </Button>
20
15
  <div class="font-title-medium-prominent">
21
16
  <div v-if="step === 'profile-name'">แก้ไขชื่อโปรไฟล์</div>
22
17
  <div v-if="step === 'premium-id'">พรีเมียม ID</div>
23
18
  <div v-if="step === 'category'">หมวดหมู่</div>
24
19
  </div>
25
- <Button
26
- variant="text"
27
- color="black"
28
- disabled-padding
29
- icon-size="24"
30
- prepend-icon="lucide:x"
31
- @click="onClose"
32
- />
33
20
  </div>
34
21
  </div>
35
22
  </template>
@@ -141,12 +128,13 @@
141
128
  <InputTextField
142
129
  v-model="namePremiumID"
143
130
  label="ซื้อพรีเมียม ID"
144
- full-width
145
131
  show-counter
146
132
  :limit="18"
147
133
  prepend-icon="lucide:at-sign"
148
134
  />
149
- <Button color="primary" :disabled="!namePremiumID"
135
+ <Button
136
+ color="primary"
137
+ :disabled="!namePremiumID || namePremiumID.length > 18"
150
138
  >ซื้อพรีเมียม ID</Button
151
139
  >
152
140
  </div>
@@ -157,11 +145,10 @@
157
145
  <div class="font-body-large">เลือกหมวดหมู่ที่สอดคล้องกับโปรไฟล์</div>
158
146
  <InputAutocomplete
159
147
  v-model="profileCategory"
160
- :items="profileCategoryItems"
148
+ :options="profileCategoryItems"
161
149
  name="profileCategory"
162
150
  placeholder="ค้นหาหรือเลือกหมวดหมู่ที่เกี่ยวข้อง"
163
151
  label="หมวดหมู่"
164
- full-width
165
152
  />
166
153
  <Button color="primary" :disabled="!profileCategory">บันทึก</Button>
167
154
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.74.0",
3
+ "version": "1.75.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",