@mittwald/flow-react-components 0.1.0-alpha.430 → 0.1.0-alpha.432

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 CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.1.0-alpha.432](https://github.com/mittwald/flow/compare/0.1.0-alpha.431...0.1.0-alpha.432) (2025-02-18)
7
+
8
+ **Note:** Version bump only for package @mittwald/flow-react-components
9
+
10
+ # Change Log
11
+
12
+ All notable changes to this project will be documented in this file. See
13
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
14
+
15
+ # [0.1.0-alpha.431](https://github.com/mittwald/flow/compare/0.1.0-alpha.430...0.1.0-alpha.431) (2025-02-18)
16
+
17
+ ### Bug Fixes
18
+
19
+ - **Field:** Fix Checkbox is not reacting to Form defaultValue bug
20
+ ([#1191](https://github.com/mittwald/flow/issues/1191))
21
+ ([bea6bfb](https://github.com/mittwald/flow/commit/bea6bfb26bb4a718f54082db740e9f45b8aa1ef7))
22
+
23
+ # Change Log
24
+
25
+ All notable changes to this project will be documented in this file. See
26
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
27
+
6
28
  # [0.1.0-alpha.430](https://github.com/mittwald/flow/compare/0.1.0-alpha.429...0.1.0-alpha.430) (2025-02-17)
7
29
 
8
30
  ### Features
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import n, { createContext as v, useContext as x, useEffect as S, useRef as k } from "react";
3
+ import n, { createContext as E, useContext as x, useEffect as S, useRef as k } from "react";
4
4
  import { Controller as g, useFormState as h } from "react-hook-form";
5
5
  import "./propsContext-DzAKlmhS.js";
6
6
  import { PropsContextProvider as b } from "./PropsContextProvider.js";
@@ -9,7 +9,7 @@ import "remeda";
9
9
  import { d as F } from "./dynamic-ClpUSmEt.js";
10
10
  import { F as A } from "./FieldError-C-_2QNam.js";
11
11
  import { a as P, A as y } from "./Action-DdTtAlW3.js";
12
- const C = v({}), V = C.Provider, f = () => x(C);
12
+ const v = E({}), V = v.Provider, f = () => x(v);
13
13
  function D(t) {
14
14
  var i;
15
15
  const { children: r, control: o, ...s } = t, l = (i = f().form) == null ? void 0 : i.control;
@@ -28,11 +28,14 @@ function D(t) {
28
28
  isRequired: !!((p = s.rules) != null && p.required),
29
29
  isInvalid: m,
30
30
  validationBehavior: "aria",
31
- children: F((E) => /* @__PURE__ */ n.createElement(n.Fragment, null, E.children, /* @__PURE__ */ n.createElement(A, null, u == null ? void 0 : u.message))),
31
+ children: F((C) => /* @__PURE__ */ n.createElement(n.Fragment, null, C.children, /* @__PURE__ */ n.createElement(A, null, u == null ? void 0 : u.message))),
32
32
  ref: void 0,
33
33
  refProp: c.ref
34
34
  }, d = {
35
- Checkbox: e,
35
+ Checkbox: {
36
+ ...e,
37
+ isSelected: e.value
38
+ },
36
39
  CheckboxGroup: e,
37
40
  CheckboxButton: e,
38
41
  FileField: e,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.1.0-alpha.430",
3
+ "version": "0.1.0-alpha.432",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -440,7 +440,7 @@
440
440
  "@chakra-ui/live-region": "^2.1.0",
441
441
  "@internationalized/date": "^3.6.0",
442
442
  "@internationalized/string-compiler": "^3.2.6",
443
- "@mittwald/react-tunnel": "^0.1.0-alpha.430",
443
+ "@mittwald/react-tunnel": "^0.1.0-alpha.432",
444
444
  "@mittwald/react-use-promise": "^2.6.0",
445
445
  "@react-aria/form": "^3.0.11",
446
446
  "@react-aria/utils": "^3.26.0",
@@ -471,7 +471,7 @@
471
471
  },
472
472
  "devDependencies": {
473
473
  "@faker-js/faker": "^9.2.0",
474
- "@mittwald/flow-design-tokens": "^0.1.0-alpha.430",
474
+ "@mittwald/flow-design-tokens": "^0.1.0-alpha.432",
475
475
  "@mittwald/react-use-promise": "^2.6.0",
476
476
  "@nx/storybook": "^20.1.3",
477
477
  "@storybook/addon-a11y": "^8.4.5",
@@ -566,5 +566,5 @@
566
566
  }
567
567
  }
568
568
  },
569
- "gitHead": "963f85c3f35a60dcebce7f4a37f0c0832b31e109"
569
+ "gitHead": "f215bab600bf0ba986d2ba019f7086842109b6c8"
570
570
  }