@alfadocs/ui-kit 0.98.1 → 0.99.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/README.md +11 -4
- package/dist/_chunks/{address-fields-7k59FnJ6.js → address-fields-pHsfkXGk.js} +2 -2
- package/dist/_chunks/{booking-Bhbvef95.js → booking-DSOK-bnR.js} +2 -2
- package/dist/_chunks/{country-select-BN9nedAp.js → country-select-UEF9BEeQ.js} +2 -2
- package/dist/_chunks/flag-DVBE6DnB.js +576 -0
- package/dist/_chunks/flag-view-udarpAot.js +131 -0
- package/dist/_chunks/{header-settings-CLwFqMHI.js → header-settings--pjYOe6g.js} +2 -2
- package/dist/_chunks/{locale-picker-EyvPrwDc.js → locale-picker-BfBUdT1m.js} +310 -239
- package/dist/_chunks/{marketplace-app-shell-Bv1ZO4XO.js → marketplace-app-shell-pCHBp8bo.js} +2 -2
- package/dist/_chunks/{patient-details-DrhlTrLf.js → patient-details-UmNcxL0c.js} +3 -3
- package/dist/_chunks/{phone-input-D00ZBAm-.js → phone-input-BsZIoE36.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/flag/flag-core.d.ts +12 -0
- package/dist/components/flag/flag-view.d.ts +38 -0
- package/dist/components/flag/flag.d.ts +3 -10
- package/dist/components/flag/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/workflow/workflow-types.d.ts +4 -5
- package/dist/index.js +7 -7
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/package.json +1 -1
- package/dist/_chunks/flag-Cnmivlrl.js +0 -641
package/README.md
CHANGED
|
@@ -15,21 +15,28 @@ Requires React 18+ and Node ≥ 22.6.
|
|
|
15
15
|
### Source maps (optional)
|
|
16
16
|
|
|
17
17
|
The default `@alfadocs/ui-kit` tarball ships without `.map` files to keep
|
|
18
|
-
installs small (
|
|
19
|
-
|
|
18
|
+
installs small (4.6 MB tarball / 17.3 MB unpacked, against 9.5 MB / 36.8 MB
|
|
19
|
+
for the debug build). Browsers only request source maps on demand when
|
|
20
|
+
devtools is open, so end-users don't pay this cost regardless.
|
|
20
21
|
|
|
21
22
|
If you need symbolicated stack traces (Sentry / Rollbar uploads, in-browser
|
|
22
23
|
debugging of kit internals), install the `-debug` sibling instead. Both
|
|
23
24
|
packages are runtime-identical and version-locked:
|
|
24
25
|
|
|
25
26
|
```jsonc
|
|
26
|
-
// package.json — alias-install so imports still resolve as @alfadocs/ui-kit
|
|
27
|
-
|
|
27
|
+
// package.json — alias-install so imports still resolve as @alfadocs/ui-kit.
|
|
28
|
+
// Pin the exact version you already have installed, not a range: maps from a
|
|
29
|
+
// different release point at lines that have moved.
|
|
30
|
+
"@alfadocs/ui-kit": "npm:@alfadocs/ui-kit-debug@0.98.1"
|
|
28
31
|
```
|
|
29
32
|
|
|
30
33
|
Or as a separate dev-only dep if your error reporter accepts maps from a
|
|
31
34
|
sibling package.
|
|
32
35
|
|
|
36
|
+
Never commit the alias — it rewrites the lockfile, so `npm ci` would pull the
|
|
37
|
+
debug build into production images. See Storybook → "30. Debugging — Source
|
|
38
|
+
Maps and the Debug Package" for the full guide.
|
|
39
|
+
|
|
33
40
|
## Troubleshooting
|
|
34
41
|
|
|
35
42
|
### `npm install` fails with `ETARGET No matching version found for @alfadocs/ui-kit@<x.y.z>` — even though the version exists on npmjs.org
|
|
@@ -2,7 +2,7 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as _, useRef as j, useEffect as k, useCallback as E, useMemo as x } from "react";
|
|
3
3
|
import { c as L } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as N } from "react-i18next";
|
|
5
|
-
import { C as O } from "./country-select-
|
|
5
|
+
import { C as O } from "./country-select-UEF9BEeQ.js";
|
|
6
6
|
import { P as B } from "./province-select-BDywtmL-.js";
|
|
7
7
|
import { P as q } from "./postal-code-input-BznBxVxf.js";
|
|
8
8
|
import { C as H } from "./city-input-towzBenY.js";
|
|
@@ -243,4 +243,4 @@ export {
|
|
|
243
243
|
Z as A,
|
|
244
244
|
Y as a
|
|
245
245
|
};
|
|
246
|
-
//# sourceMappingURL=address-fields-
|
|
246
|
+
//# sourceMappingURL=address-fields-pHsfkXGk.js.map
|
|
@@ -10,7 +10,7 @@ import { C as Bt } from "./checkbox-group-CfqMv57d.js";
|
|
|
10
10
|
import { D as Et } from "./date-picker-BP_W6VtE.js";
|
|
11
11
|
import { E as Rt } from "./email-input-Dpe63k0K.js";
|
|
12
12
|
import { F as Z } from "./form-field-M5UpX65Z.js";
|
|
13
|
-
import { P as Vt } from "./phone-input-
|
|
13
|
+
import { P as Vt } from "./phone-input-BsZIoE36.js";
|
|
14
14
|
import { T as Lt } from "./text-area-Bt3p7Pt0.js";
|
|
15
15
|
import { T as Ce } from "./text-input-CUvCb6ST.js";
|
|
16
16
|
import { S as Ft } from "./spinner-hbwuKwMf.js";
|
|
@@ -2692,4 +2692,4 @@ export {
|
|
|
2692
2692
|
X as O,
|
|
2693
2693
|
Cs as b
|
|
2694
2694
|
};
|
|
2695
|
-
//# sourceMappingURL=booking-
|
|
2695
|
+
//# sourceMappingURL=booking-DSOK-bnR.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as O } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as P, useMemo as n, useCallback as x, useRef as aa, useEffect as ea } from "react";
|
|
3
3
|
import { useTranslation as ra } from "react-i18next";
|
|
4
4
|
import { C as ia } from "./combobox-DiMLItyu.js";
|
|
5
|
-
import { h as ca, a as sa } from "./flag-
|
|
5
|
+
import { h as ca, a as sa } from "./flag-DVBE6DnB.js";
|
|
6
6
|
import { u as ta } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
7
|
import { u as oa } from "./registry-DvAUVLHh.js";
|
|
8
8
|
const N = {
|
|
@@ -706,4 +706,4 @@ export {
|
|
|
706
706
|
ua as c,
|
|
707
707
|
Aa as r
|
|
708
708
|
};
|
|
709
|
-
//# sourceMappingURL=country-select-
|
|
709
|
+
//# sourceMappingURL=country-select-UEF9BEeQ.js.map
|