@kungal/ui-vue 1.6.2 → 1.6.3
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/CHANGELOG.md +20 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/Pagination.vue.d.ts.map +1 -1
- package/dist/index.js +730 -738
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @kungal/ui-vue
|
|
2
2
|
|
|
3
|
+
## 1.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0019f45: fix(vue): icon-only buttons now match the height of same-size text buttons
|
|
8
|
+
|
|
9
|
+
`isIconOnly` previously only swapped the padding (`p-2.5` etc.), so an icon-only
|
|
10
|
+
button collapsed to the icon's `1em` height instead of the text line-height —
|
|
11
|
+
leaving it ~8px shorter than a text button of the same `size` and breaking
|
|
12
|
+
alignment in a toolbar row. Icon-only buttons are now a fixed square whose side
|
|
13
|
+
equals the same-size text-button height (the new `kunControlSquareClasses`),
|
|
14
|
+
matching how shadcn/HeroUI/Chakra/Ant size their icon buttons. The icon stays at
|
|
15
|
+
its natural `1em`, centered.
|
|
16
|
+
|
|
17
|
+
Also pins `KunPagination`'s prev/next arrows to `size="sm"` so they line up with
|
|
18
|
+
the (already `sm`) numbered page buttons — without it the now-correct default
|
|
19
|
+
`md` icon button would render 4px taller than the numbers.
|
|
20
|
+
|
|
21
|
+
- @kungal/ui-core@1.6.3
|
|
22
|
+
|
|
3
23
|
## 1.6.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../src/components/Button.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../src/components/Button.vue"],"names":[],"mappings":"AAgMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAwQ7C,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK7C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.vue.d.ts","sourceRoot":"","sources":["../../src/components/Pagination.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Pagination.vue.d.ts","sourceRoot":"","sources":["../../src/components/Pagination.vue"],"names":[],"mappings":"AAyLA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAuWjD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|