@asdp/ferryui 0.1.22-dev.10079 → 0.1.22-dev.10153
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/README.md +6 -3
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,13 +50,14 @@ npm run typecheck
|
|
|
50
50
|
|
|
51
51
|
We use **yalc** to simulate package publishing locally.
|
|
52
52
|
|
|
53
|
-
1.
|
|
53
|
+
1. **Install yalc globally** (if not already installed):
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
56
|
npm install -g yalc
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
2.
|
|
59
|
+
2. **In `ferryui` directory:**
|
|
60
|
+
|
|
60
61
|
After making changes, publish them locally:
|
|
61
62
|
|
|
62
63
|
```bash
|
|
@@ -65,8 +66,10 @@ We use **yalc** to simulate package publishing locally.
|
|
|
65
66
|
|
|
66
67
|
_`--push` will automatically update projects that have added this package via yalc._
|
|
67
68
|
|
|
68
|
-
3.
|
|
69
|
+
3. **In Consumer Project (e.g., ferizy):**
|
|
70
|
+
|
|
69
71
|
If the package doesn't update automatically, run:
|
|
72
|
+
|
|
70
73
|
```bash
|
|
71
74
|
yalc update
|
|
72
75
|
```
|
package/dist/index.js
CHANGED
|
@@ -10802,6 +10802,8 @@ var ModalListPassenger = ({
|
|
|
10802
10802
|
children: [
|
|
10803
10803
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
10804
10804
|
/* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Subtitle2, { children: [
|
|
10805
|
+
passenger.titleName,
|
|
10806
|
+
" ",
|
|
10805
10807
|
passenger.fullName,
|
|
10806
10808
|
" ",
|
|
10807
10809
|
passenger.isAccountOwner && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -11254,14 +11256,6 @@ var ModalPassengerForm = ({
|
|
|
11254
11256
|
);
|
|
11255
11257
|
const idRuleLengthMatch = selectedIdentityType?.rule?.match(/\{(\d+)(?:,\d+)?\}/);
|
|
11256
11258
|
const dynamicMinLengthId = idRuleLengthMatch ? parseInt(idRuleLengthMatch[1], 10) : 6;
|
|
11257
|
-
React.useEffect(() => {
|
|
11258
|
-
const subscription = watch((value, { name, type }) => {
|
|
11259
|
-
console.log("Changed field:", name);
|
|
11260
|
-
console.log("Change type:", type);
|
|
11261
|
-
onChange(value);
|
|
11262
|
-
});
|
|
11263
|
-
return () => subscription.unsubscribe();
|
|
11264
|
-
}, [watch, onChange]);
|
|
11265
11259
|
React.useEffect(() => {
|
|
11266
11260
|
reset(defaultValues);
|
|
11267
11261
|
}, [defaultValues, reset]);
|