@cdx-ui/components 0.3.9 → 0.3.11
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/docs/llms.txt +2 -0
- package/docs/resources/release-notes/0.3.10/content.md +15 -0
- package/docs/resources/release-notes/0.3.9/content.md +13 -0
- package/docs/resources/release-notes/content.md +2 -0
- package/lib/commonjs/components/CurrencyInput/styles.js +4 -1
- package/lib/commonjs/components/CurrencyInput/styles.js.map +1 -1
- package/lib/module/components/CurrencyInput/styles.js +4 -1
- package/lib/module/components/CurrencyInput/styles.js.map +1 -1
- package/lib/typescript/components/CurrencyInput/styles.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/components/CurrencyInput/styles.ts +4 -1
package/docs/llms.txt
CHANGED
|
@@ -151,6 +151,8 @@ Links point at each page's `content.md`, which carries the page's prose, demo so
|
|
|
151
151
|
|
|
152
152
|
## Release notes
|
|
153
153
|
|
|
154
|
+
- [0.3.10](resources/release-notes/0.3.10/content.md): CurrencyInput no longer clips the top of default-size amounts on iOS.
|
|
155
|
+
- [0.3.9](resources/release-notes/0.3.9/content.md): DateRangePicker bottom sheets accept custom snap points, stack behavior, and fill; DataGrid keeps column headers within their bounds.
|
|
154
156
|
- [0.3.8](resources/release-notes/0.3.8/content.md): Adds CurrencyFlag for ISO 4217 codes, expands CountryFlag to the full flag set including EU, and adds CurrencyInput align.
|
|
155
157
|
- [0.3.7](resources/release-notes/0.3.7/content.md): Adds CountryFlag for ISO country flags, ProgressBar size and color props, DataGrid autoHeight, and fixes for web charts and published DataGrid styles.
|
|
156
158
|
- [0.3.6](resources/release-notes/0.3.6/content.md): Adds SystemAlert, bar, line, and pie charts on a shared MUI X-shaped API, Stepper, and a fix for tabs scroll controls.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# 0.3.10 (https://design.candescent.com/docs/resources/release-notes/0.3.10)
|
|
2
|
+
|
|
3
|
+
CurrencyInput no longer clips the top of default-size amounts on iOS.
|
|
4
|
+
|
|
5
|
+
## Bug fixes
|
|
6
|
+
|
|
7
|
+
**[CurrencyInput](https://design.candescent.com/docs/components/currency-input/content.md)** — Default-size ghost amounts no longer lose the top of glyphs on iOS, where tight line height clipped text above the field’s line box ([#935](https://github.com/dfh-candescent/forge-design-system/pull/935)).
|
|
8
|
+
|
|
9
|
+
## Dependencies
|
|
10
|
+
|
|
11
|
+
Upgrade every installed `@cdx-ui/*` package to `0.3.10` together when you adopt this release.
|
|
12
|
+
|
|
13
|
+
## Documentation
|
|
14
|
+
|
|
15
|
+
Docs site callouts use semantic status surface and content tokens (and the accent family for idea callouts) so severity colors follow your theme overrides instead of fixed palette fills ([#934](https://github.com/dfh-candescent/forge-design-system/pull/934)).
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# 0.3.9 (https://design.candescent.com/docs/resources/release-notes/0.3.9)
|
|
2
|
+
|
|
3
|
+
DateRangePicker bottom sheets accept custom snap points, stack behavior, and fill; DataGrid keeps column headers within their bounds.
|
|
4
|
+
|
|
5
|
+
This release lets you tune how the **[DateRangePicker](https://design.candescent.com/docs/components/date-range-picker/content.md)** bottom sheet sizes and stacks, and fixes **DataGrid** column headers so labels and sort controls stay inside each column.
|
|
6
|
+
|
|
7
|
+
## What's new
|
|
8
|
+
|
|
9
|
+
**[DateRangePicker](https://design.candescent.com/docs/components/date-range-picker/content.md)** — **`DateRangePicker.BottomSheet`** forwards **`snapPoints`**, **`enableDynamicSizing`**, and **`stackBehavior`** to the picker sheet surface so you can match Select or other sheets in deep settings flows. Omit those props to keep the default 70% and 90% snap points with dynamic sizing off. **`fill`** keeps a fixed header above a **`BottomSheet.ScrollView`** when a short snap (for example 55%) would otherwise clip the calendar and actions on small screens ([#928](https://github.com/dfh-candescent/forge-design-system/pull/928)).
|
|
10
|
+
|
|
11
|
+
## Bug fixes
|
|
12
|
+
|
|
13
|
+
**DataGrid** — Column header labels and the sort control stay within their column instead of overflowing adjacent cells ([#907](https://github.com/dfh-candescent/forge-design-system/pull/907)).
|
|
@@ -8,6 +8,8 @@ Notes are generated from the release commit itself, so the versions and commit r
|
|
|
8
8
|
each entry are exact. Releases that contained nothing but backlog or dependency bookkeeping
|
|
9
9
|
are omitted.
|
|
10
10
|
|
|
11
|
+
- [0.3.10](https://design.candescent.com/docs/resources/release-notes/0.3.10/content.md) — 2026-10-30 — CurrencyInput no longer clips the top of default-size amounts on iOS.
|
|
12
|
+
- [0.3.9](https://design.candescent.com/docs/resources/release-notes/0.3.9/content.md) — 2026-10-29 — DateRangePicker bottom sheets accept custom snap points, stack behavior, and fill; DataGrid keeps column headers within their bounds.
|
|
11
13
|
- [0.3.8](https://design.candescent.com/docs/resources/release-notes/0.3.8/content.md) — 2026-10-28 — Adds CurrencyFlag for ISO 4217 codes, expands CountryFlag to the full flag set including EU, and adds CurrencyInput align.
|
|
12
14
|
- [0.3.7](https://design.candescent.com/docs/resources/release-notes/0.3.7/content.md) — 2026-10-27 — Adds CountryFlag for ISO country flags, ProgressBar size and color props, DataGrid autoHeight, and fixes for web charts and published DataGrid styles.
|
|
13
15
|
- [0.3.6](https://design.candescent.com/docs/resources/release-notes/0.3.6/content.md) — 2026-10-23 — Adds SystemAlert, bar, line, and pie charts on a shared MUI X-shaped API, Stepper, and a fix for tabs scroll controls.
|
|
@@ -33,7 +33,10 @@ const currencyInputAlignClass = {
|
|
|
33
33
|
const currencyInputGhostFieldVariants = (0, _utils.cva)(['w-full bg-transparent p-0', 'placeholder:text-content-tertiary', 'web:outline-none', 'data-[invalid=true]:text-content-danger'], {
|
|
34
34
|
variants: {
|
|
35
35
|
size: {
|
|
36
|
-
|
|
36
|
+
// iOS TextInput clips glyphs that rise above its line box, and heading-xl's 1.0 leading
|
|
37
|
+
// sits below most fonts' ascent. The taller line gives glyphs headroom; the negative
|
|
38
|
+
// margin cancels the 12px it adds so the field keeps its height.
|
|
39
|
+
default: ['heading-xl', 'ios:leading-[1.25] ios:-my-1.5'],
|
|
37
40
|
small: 'heading-lg'
|
|
38
41
|
}
|
|
39
42
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_utils","_constants","_styles","currencyInputGhostRootVariants","cva","DISABLED_CURSOR","variants","size","default","small","defaultVariants","currencyInputAlignClass","center","end","Platform","select","web","currencyInputGhostFieldVariants","currencyInputRootVariants","variant","cn","inputRootVariants","exports","currencyInputFieldVariants","align","resolvedAlign","undefined","inputFieldVariants","currencyInputPrefixVariants"],"sourceRoot":"../../../../src","sources":["components/CurrencyInput/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAsBA,MAAMI,8BAA8B,GAAG,IAAAC,UAAG,EACxC,CACE,oCAAoC,EACpC,wDAAwD,EACxDC,0BAAe,EACf,qCAAqC,CACtC,EACD;EACEC,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJC,OAAO,EAAE,MAAM;MACfC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;AACA;AACA;AACA,MAAMI,uBAAuB,GAAG;EAC9BC,MAAM,EAAE,aAAa;EACrBC,GAAG,EAAEC,qBAAQ,CAACC,MAAM,CAAC;IACnBC,GAAG,EAAE,UAAU;IACfR,OAAO,EAAE;EACX,CAAC;AACH,CAAU;AAEV,MAAMS,+BAA+B,GAAG,IAAAb,UAAG,EACzC,CACE,2BAA2B,EAC3B,mCAAmC,EACnC,kBAAkB,EAClB,yCAAyC,CAC1C,EACD;EACEE,QAAQ,EAAE;IACRC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_utils","_constants","_styles","currencyInputGhostRootVariants","cva","DISABLED_CURSOR","variants","size","default","small","defaultVariants","currencyInputAlignClass","center","end","Platform","select","web","currencyInputGhostFieldVariants","currencyInputRootVariants","variant","cn","inputRootVariants","exports","currencyInputFieldVariants","align","resolvedAlign","undefined","inputFieldVariants","currencyInputPrefixVariants"],"sourceRoot":"../../../../src","sources":["components/CurrencyInput/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAsBA,MAAMI,8BAA8B,GAAG,IAAAC,UAAG,EACxC,CACE,oCAAoC,EACpC,wDAAwD,EACxDC,0BAAe,EACf,qCAAqC,CACtC,EACD;EACEC,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJC,OAAO,EAAE,MAAM;MACfC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;AACA;AACA;AACA,MAAMI,uBAAuB,GAAG;EAC9BC,MAAM,EAAE,aAAa;EACrBC,GAAG,EAAEC,qBAAQ,CAACC,MAAM,CAAC;IACnBC,GAAG,EAAE,UAAU;IACfR,OAAO,EAAE;EACX,CAAC;AACH,CAAU;AAEV,MAAMS,+BAA+B,GAAG,IAAAb,UAAG,EACzC,CACE,2BAA2B,EAC3B,mCAAmC,EACnC,kBAAkB,EAClB,yCAAyC,CAC1C,EACD;EACEE,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJ;MACA;MACA;MACAC,OAAO,EAAE,CAAC,YAAY,EAAE,gCAAgC,CAAC;MACzDC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;AACA;AACA;AACO,MAAMW,yBAAyB,GAAGA,CAAC;EACxCC,OAAO,GAAG,OAAO;EACjBZ,IAAI,GAAG;AACkB,CAAC,GAAG,CAAC,CAAC,KAC/BY,OAAO,KAAK,SAAS,GACjB,IAAAC,SAAE,EAAC,IAAAC,yBAAiB,EAAC;EAAEF,OAAO,EAAE,SAAS;EAAEZ;AAAK,CAAC,CAAC,EAAEA,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,GAClFJ,8BAA8B,CAAC;EAAEI;AAAK,CAAC,CAAC;AAACe,OAAA,CAAAJ,yBAAA,GAAAA,yBAAA;AAExC,MAAMK,0BAA0B,GAAGA,CAAC;EACzCJ,OAAO,GAAG,OAAO;EACjBZ,IAAI,GAAG,SAAS;EAChBiB;AACyB,CAAC,GAAG,CAAC,CAAC,KAAa;EAC5C,MAAMC,aAAa,GAAGD,KAAK,KAAKL,OAAO,KAAK,SAAS,GAAGO,SAAS,GAAG,QAAQ,CAAC;EAE7E,OAAO,IAAAN,SAAE,EACPD,OAAO,KAAK,SAAS,GACjB,IAAAQ,0BAAkB,EAAC;IAAEpB;EAAK,CAAC,CAAC,GAC5BU,+BAA+B,CAAC;IAAEV;EAAK,CAAC,CAAC,EAC7CkB,aAAa,GAAGd,uBAAuB,CAACc,aAAa,CAAC,GAAGC,SAC3D,CAAC;AACH,CAAC;;AAED;AAAAJ,OAAA,CAAAC,0BAAA,GAAAA,0BAAA;AACO,MAAMK,2BAA2B,GAAAN,OAAA,CAAAM,2BAAA,GAAG,IAAAxB,UAAG,EAC5C,CAAC,6DAA6D,CAAC,EAC/D;EACEE,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJC,OAAO,EAAE,iBAAiB;MAC1BC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC","ignoreList":[]}
|
|
@@ -29,7 +29,10 @@ const currencyInputAlignClass = {
|
|
|
29
29
|
const currencyInputGhostFieldVariants = cva(['w-full bg-transparent p-0', 'placeholder:text-content-tertiary', 'web:outline-none', 'data-[invalid=true]:text-content-danger'], {
|
|
30
30
|
variants: {
|
|
31
31
|
size: {
|
|
32
|
-
|
|
32
|
+
// iOS TextInput clips glyphs that rise above its line box, and heading-xl's 1.0 leading
|
|
33
|
+
// sits below most fonts' ascent. The taller line gives glyphs headroom; the negative
|
|
34
|
+
// margin cancels the 12px it adds so the field keeps its height.
|
|
35
|
+
default: ['heading-xl', 'ios:leading-[1.25] ios:-my-1.5'],
|
|
33
36
|
small: 'heading-lg'
|
|
34
37
|
}
|
|
35
38
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Platform","cn","cva","DISABLED_CURSOR","inputFieldVariants","inputRootVariants","currencyInputGhostRootVariants","variants","size","default","small","defaultVariants","currencyInputAlignClass","center","end","select","web","currencyInputGhostFieldVariants","currencyInputRootVariants","variant","currencyInputFieldVariants","align","resolvedAlign","undefined","currencyInputPrefixVariants"],"sourceRoot":"../../../../src","sources":["components/CurrencyInput/styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,EAAE,EAAEC,GAAG,QAAQ,eAAe;AACvC,SAASC,eAAe,QAAQ,wBAAwB;AACxD,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,iBAAiB;AAsBvE,MAAMC,8BAA8B,GAAGJ,GAAG,CACxC,CACE,oCAAoC,EACpC,wDAAwD,EACxDC,eAAe,EACf,qCAAqC,CACtC,EACD;EACEI,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJC,OAAO,EAAE,MAAM;MACfC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;AACA;AACA;AACA,MAAMI,uBAAuB,GAAG;EAC9BC,MAAM,EAAE,aAAa;EACrBC,GAAG,EAAEd,QAAQ,CAACe,MAAM,CAAC;IACnBC,GAAG,EAAE,UAAU;IACfP,OAAO,EAAE;EACX,CAAC;AACH,CAAU;AAEV,MAAMQ,+BAA+B,GAAGf,GAAG,CACzC,CACE,2BAA2B,EAC3B,mCAAmC,EACnC,kBAAkB,EAClB,yCAAyC,CAC1C,EACD;EACEK,QAAQ,EAAE;IACRC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"names":["Platform","cn","cva","DISABLED_CURSOR","inputFieldVariants","inputRootVariants","currencyInputGhostRootVariants","variants","size","default","small","defaultVariants","currencyInputAlignClass","center","end","select","web","currencyInputGhostFieldVariants","currencyInputRootVariants","variant","currencyInputFieldVariants","align","resolvedAlign","undefined","currencyInputPrefixVariants"],"sourceRoot":"../../../../src","sources":["components/CurrencyInput/styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,EAAE,EAAEC,GAAG,QAAQ,eAAe;AACvC,SAASC,eAAe,QAAQ,wBAAwB;AACxD,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,iBAAiB;AAsBvE,MAAMC,8BAA8B,GAAGJ,GAAG,CACxC,CACE,oCAAoC,EACpC,wDAAwD,EACxDC,eAAe,EACf,qCAAqC,CACtC,EACD;EACEI,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJC,OAAO,EAAE,MAAM;MACfC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;AACA;AACA;AACA,MAAMI,uBAAuB,GAAG;EAC9BC,MAAM,EAAE,aAAa;EACrBC,GAAG,EAAEd,QAAQ,CAACe,MAAM,CAAC;IACnBC,GAAG,EAAE,UAAU;IACfP,OAAO,EAAE;EACX,CAAC;AACH,CAAU;AAEV,MAAMQ,+BAA+B,GAAGf,GAAG,CACzC,CACE,2BAA2B,EAC3B,mCAAmC,EACnC,kBAAkB,EAClB,yCAAyC,CAC1C,EACD;EACEK,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJ;MACA;MACA;MACAC,OAAO,EAAE,CAAC,YAAY,EAAE,gCAAgC,CAAC;MACzDC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMU,yBAAyB,GAAGA,CAAC;EACxCC,OAAO,GAAG,OAAO;EACjBX,IAAI,GAAG;AACkB,CAAC,GAAG,CAAC,CAAC,KAC/BW,OAAO,KAAK,SAAS,GACjBlB,EAAE,CAACI,iBAAiB,CAAC;EAAEc,OAAO,EAAE,SAAS;EAAEX;AAAK,CAAC,CAAC,EAAEA,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,GAClFF,8BAA8B,CAAC;EAAEE;AAAK,CAAC,CAAC;AAE9C,OAAO,MAAMY,0BAA0B,GAAGA,CAAC;EACzCD,OAAO,GAAG,OAAO;EACjBX,IAAI,GAAG,SAAS;EAChBa;AACyB,CAAC,GAAG,CAAC,CAAC,KAAa;EAC5C,MAAMC,aAAa,GAAGD,KAAK,KAAKF,OAAO,KAAK,SAAS,GAAGI,SAAS,GAAG,QAAQ,CAAC;EAE7E,OAAOtB,EAAE,CACPkB,OAAO,KAAK,SAAS,GACjBf,kBAAkB,CAAC;IAAEI;EAAK,CAAC,CAAC,GAC5BS,+BAA+B,CAAC;IAAET;EAAK,CAAC,CAAC,EAC7Cc,aAAa,GAAGV,uBAAuB,CAACU,aAAa,CAAC,GAAGC,SAC3D,CAAC;AACH,CAAC;;AAED;AACA,OAAO,MAAMC,2BAA2B,GAAGtB,GAAG,CAC5C,CAAC,6DAA6D,CAAC,EAC/D;EACEK,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJC,OAAO,EAAE,iBAAiB;MAC1BC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/CurrencyInput/styles.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,yBAAyB;IACxC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3B;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;CAC1B;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/CurrencyInput/styles.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,yBAAyB;IACxC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3B;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;CAC1B;AA2DD,eAAO,MAAM,yBAAyB,GAAI,qBAGvC,yBAA8B,KAAG,MAGU,CAAC;AAE/C,eAAO,MAAM,0BAA0B,GAAI,4BAIxC,yBAA8B,KAAG,MASnC,CAAC;AAGF,eAAO,MAAM,2BAA2B;;8EAavC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cdx-ui/components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -106,10 +106,10 @@
|
|
|
106
106
|
"@marceloterreiro/flash-calendar": "2.0.0",
|
|
107
107
|
"react-native-reanimated-carousel": "5.0.0-beta.5",
|
|
108
108
|
"uniwind": "1.10.0",
|
|
109
|
-
"@cdx-ui/formatters": "0.3.
|
|
110
|
-
"@cdx-ui/icons": "0.3.
|
|
111
|
-
"@cdx-ui/primitives": "0.3.
|
|
112
|
-
"@cdx-ui/utils": "0.3.
|
|
109
|
+
"@cdx-ui/formatters": "0.3.11",
|
|
110
|
+
"@cdx-ui/icons": "0.3.11",
|
|
111
|
+
"@cdx-ui/primitives": "0.3.11",
|
|
112
|
+
"@cdx-ui/utils": "0.3.11"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@dnd-kit/core": "6.3.1",
|
|
@@ -64,7 +64,10 @@ const currencyInputGhostFieldVariants = cva(
|
|
|
64
64
|
{
|
|
65
65
|
variants: {
|
|
66
66
|
size: {
|
|
67
|
-
|
|
67
|
+
// iOS TextInput clips glyphs that rise above its line box, and heading-xl's 1.0 leading
|
|
68
|
+
// sits below most fonts' ascent. The taller line gives glyphs headroom; the negative
|
|
69
|
+
// margin cancels the 12px it adds so the field keeps its height.
|
|
70
|
+
default: ['heading-xl', 'ios:leading-[1.25] ios:-my-1.5'],
|
|
68
71
|
small: 'heading-lg',
|
|
69
72
|
},
|
|
70
73
|
},
|