fluekit 2.5.0 → 2.5.1

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.
@@ -12,7 +12,7 @@ interface Props {
12
12
  thumbDecoration?: BoxDecoration;
13
13
  padding?: EdgeInsets;
14
14
  height?: number | string;
15
- labelTextStyleBuilder?: (value: string | number, disabled?: boolean) => TextStyle;
15
+ labelTextStyleBuilder?: (value: string | number, selected: boolean, disabled?: boolean) => TextStyle;
16
16
  }
17
17
  declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
18
18
  "update:modelValue": (value: string | number) => any;
package/dist/index.js CHANGED
@@ -6142,7 +6142,7 @@ var ImageColorBackground_default = /* @__PURE__ */ __plugin_vue_export_helper_de
6142
6142
  })]
6143
6143
  }));
6144
6144
  function C(e) {
6145
- let p = g.disabledKeys.includes(e), m = g.labelTextStyleBuilder?.(e, p) || { color: p ? "rgba(0,0,0,0.38)" : "#000000" };
6145
+ let p = g.disabledKeys.includes(e), m = g.labelTextStyleBuilder?.(e, g.modelValue == e, p) || { color: p ? "rgba(0,0,0,0.38)" : "#000000" };
6146
6146
  return TextStyle({
6147
6147
  fontSize: 12,
6148
6148
  fontWeight: FontWeight.w500,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluekit",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "A Flutter-style Layout UI kit for Vue",
5
5
  "homepage": "https://fi2zz.github.io/fluekit/",
6
6
  "repository": {