@kungal/ui-vue 1.6.2 → 1.7.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/CHANGELOG.md +51 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/CheckBox.vue.d.ts.map +1 -1
- package/dist/components/Pagination.vue.d.ts.map +1 -1
- package/dist/index.js +750 -758
- package/dist/prose.css +24 -24
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# @kungal/ui-vue
|
|
2
2
|
|
|
3
|
+
## 1.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 82de3b5: feat(tokens): regenerate the semantic palette in OKLCH with contrast-guaranteed on-colors
|
|
8
|
+
|
|
9
|
+
The whole semantic color system is now **generated** (scripts/gen-tokens.mjs,
|
|
10
|
+
OKLCH via culori) instead of hand-authored HSL. Each hue is defined once by its
|
|
11
|
+
OKLCH hue + a vivid `solidL`; every shade is laid on a perceptual lightness ramp
|
|
12
|
+
(so `-500` means the same perceived lightness for every color), and each color
|
|
13
|
+
ships a paired **`--color-{c}-foreground`** on-color DERIVED by measured WCAG
|
|
14
|
+
contrast. The generator asserts AA on every solid (fill, text) pair in BOTH light
|
|
15
|
+
and dark and fails the build on any regression — illegible solids can't ship
|
|
16
|
+
again. Adds the previously-missing `-950` shade.
|
|
17
|
+
|
|
18
|
+
What changes visually: solids keep HeroUI-style vivid fills (bright amber warning,
|
|
19
|
+
bright green success — no more muddy darkened `-600` fills), with white text on
|
|
20
|
+
the medium hues (primary/danger/default) and a refined dark tint on the bright
|
|
21
|
+
ones (secondary/success/warning/info). Solids are now mode-independent, so the
|
|
22
|
+
per-variant `dark:bg-{c}-{n}` pins are gone. **This is a visual change** to every
|
|
23
|
+
colored surface; the component API (color/variant names) is unchanged.
|
|
24
|
+
|
|
25
|
+
`@kungal/ui-core`: `kunSolidClasses` / `kunSolidFgClasses` / `kunSolidBgClasses`
|
|
26
|
+
and the Button solid/shadow rows now use `bg-{c} text-{c}-foreground`. CheckBox,
|
|
27
|
+
DatePicker, Switch, Carousel drop their hardcoded white/black + dark pins.
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [82de3b5]
|
|
32
|
+
- @kungal/ui-core@1.7.0
|
|
33
|
+
|
|
34
|
+
## 1.6.3
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- 0019f45: fix(vue): icon-only buttons now match the height of same-size text buttons
|
|
39
|
+
|
|
40
|
+
`isIconOnly` previously only swapped the padding (`p-2.5` etc.), so an icon-only
|
|
41
|
+
button collapsed to the icon's `1em` height instead of the text line-height —
|
|
42
|
+
leaving it ~8px shorter than a text button of the same `size` and breaking
|
|
43
|
+
alignment in a toolbar row. Icon-only buttons are now a fixed square whose side
|
|
44
|
+
equals the same-size text-button height (the new `kunControlSquareClasses`),
|
|
45
|
+
matching how shadcn/HeroUI/Chakra/Ant size their icon buttons. The icon stays at
|
|
46
|
+
its natural `1em`, centered.
|
|
47
|
+
|
|
48
|
+
Also pins `KunPagination`'s prev/next arrows to `size="sm"` so they line up with
|
|
49
|
+
the (already `sm`) numbered page buttons — without it the now-correct default
|
|
50
|
+
`md` icon button would render 4px taller than the numbers.
|
|
51
|
+
|
|
52
|
+
- @kungal/ui-core@1.6.3
|
|
53
|
+
|
|
3
54
|
## 1.6.2
|
|
4
55
|
|
|
5
56
|
### 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":"CheckBox.vue.d.ts","sourceRoot":"","sources":["../../src/components/CheckBox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckBox.vue.d.ts","sourceRoot":"","sources":["../../src/components/CheckBox.vue"],"names":[],"mappings":"AAgLA,OAAO,EAKL,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,iBAAiB,CAAA;AAIxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAI/C,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAiFpC,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAmBF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAoIxD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,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"}
|