@cdx-ui/components 0.3.8 → 0.3.10

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.
Files changed (33) hide show
  1. package/docs/components/data-grid/content.md +47 -0
  2. package/docs/components/date-range-picker/content.md +62 -1
  3. package/docs/llms.txt +4 -2
  4. package/docs/resources/release-notes/0.2.5/content.md +6 -8
  5. package/docs/resources/release-notes/0.3.0/content.md +2 -2
  6. package/docs/resources/release-notes/0.3.1/content.md +3 -3
  7. package/docs/resources/release-notes/0.3.2/content.md +1 -1
  8. package/docs/resources/release-notes/0.3.3/content.md +6 -6
  9. package/docs/resources/release-notes/0.3.4/content.md +5 -5
  10. package/docs/resources/release-notes/0.3.6/content.md +3 -3
  11. package/docs/resources/release-notes/0.3.7/content.md +7 -11
  12. package/docs/resources/release-notes/0.3.8/content.md +21 -0
  13. package/docs/resources/release-notes/0.3.9/content.md +13 -0
  14. package/docs/resources/release-notes/content.md +4 -2
  15. package/lib/commonjs/components/CurrencyInput/styles.js +4 -1
  16. package/lib/commonjs/components/CurrencyInput/styles.js.map +1 -1
  17. package/lib/commonjs/components/DateRangePicker/index.js +3 -1
  18. package/lib/commonjs/components/DateRangePicker/index.js.map +1 -1
  19. package/lib/commonjs/components/picker/surfaces.js.map +1 -1
  20. package/lib/module/components/CurrencyInput/styles.js +4 -1
  21. package/lib/module/components/CurrencyInput/styles.js.map +1 -1
  22. package/lib/module/components/DateRangePicker/index.js +3 -1
  23. package/lib/module/components/DateRangePicker/index.js.map +1 -1
  24. package/lib/module/components/picker/surfaces.js.map +1 -1
  25. package/lib/typescript/components/CurrencyInput/styles.d.ts.map +1 -1
  26. package/lib/typescript/components/DateRangePicker/index.d.ts +26 -2
  27. package/lib/typescript/components/DateRangePicker/index.d.ts.map +1 -1
  28. package/lib/typescript/components/picker/surfaces.d.ts +1 -1
  29. package/lib/typescript/components/picker/surfaces.d.ts.map +1 -1
  30. package/package.json +5 -5
  31. package/src/components/CurrencyInput/styles.ts +4 -1
  32. package/src/components/DateRangePicker/index.tsx +29 -1
  33. package/src/components/picker/surfaces.tsx +6 -1
@@ -215,6 +215,53 @@ export default function DataGridRichCellsDemo() {
215
215
  }
216
216
  ```
217
217
 
218
+ ## Numeric columns
219
+
220
+ Set `align: 'end'` on numeric columns so values line up by their last digit. The header label follows the column alignment, and the sort control moves to the label's leading side so the label ends at the same edge as the values. A header label that is wider than its column truncates with an ellipsis, and the full label is available as a tooltip. Give the column enough `width` for its label plus the sort control to keep the label readable.
221
+
222
+ ```tsx
223
+ import { DataGrid, type GridColDef } from '@cdx-ui/data-grid';
224
+ import { accounts, type Account } from './_data';
225
+
226
+ const currencyFormatter = new Intl.NumberFormat('en-US', {
227
+ style: 'currency',
228
+ currency: 'USD',
229
+ maximumFractionDigits: 0,
230
+ });
231
+
232
+ const columns: GridColDef<Account>[] = [
233
+ { field: 'name', headerName: 'Account', flex: 1, minWidth: 160 },
234
+ {
235
+ field: 'balance',
236
+ headerName: 'Available balance',
237
+ width: 200,
238
+ align: 'end',
239
+ valueFormatter: (_, row) => currencyFormatter.format(row.balance),
240
+ },
241
+ {
242
+ field: 'automation',
243
+ headerName: 'Automated payments share of all outgoing payments',
244
+ width: 160,
245
+ align: 'end',
246
+ valueFormatter: (_, row) => `${row.automation.toString()}%`,
247
+ },
248
+ ];
249
+
250
+ export default function DataGridNumericColumnsDemo() {
251
+ return (
252
+ <DataGrid
253
+ rows={accounts}
254
+ columns={columns}
255
+ aria-label="Account balances"
256
+ defaultSortModel={[{ field: 'balance', sort: 'desc' }]}
257
+ defaultPaginationModel={{ page: 0, pageSize: 5 }}
258
+ pageSizeOptions={[5, 10]}
259
+ autoHeight
260
+ />
261
+ );
262
+ }
263
+ ```
264
+
218
265
  ## Toolbar actions
219
266
 
220
267
  `toolbarActions` is an extension slot for your own toolbar controls beside search — export, density, view toggles, and so on. DataGrid does not ship toolbar buttons; you compose them and wire `onPress` to state that drives grid props.
@@ -128,6 +128,60 @@ export default function DateRangePickerBottomSheetDemo() {
128
128
  }
129
129
  ```
130
130
 
131
+ ## Snap points
132
+
133
+ The sheet snaps to 70% and 90% of the screen by default. Pass `snapPoints` for a different height, and set `stackBehavior="push"` when the picker opens over another sheet so that sheet stays presented underneath. With a short snap point, set `fill` and wrap the content in `BottomSheet.ScrollView` so the calendar scrolls under a fixed header instead of being cut off.
134
+
135
+ ```tsx
136
+ import { useState } from 'react';
137
+ import {
138
+ BottomSheet,
139
+ DateField,
140
+ DateRangePicker,
141
+ Field,
142
+ type DateRangeValue,
143
+ } from '@cdx-ui/components';
144
+ import { PickerBottomSheetFrame } from './_frame';
145
+
146
+ export default function DateRangePickerBottomSheetSnapPointsDemo() {
147
+ const [value, setValue] = useState<DateRangeValue | undefined>();
148
+ const [open, setOpen] = useState(false);
149
+
150
+ return (
151
+ <PickerBottomSheetFrame>
152
+ <Field className="w-full max-w-sm">
153
+ <DateRangePicker
154
+ value={value}
155
+ onValueChange={setValue}
156
+ isOpen={open}
157
+ onOpenChange={setOpen}
158
+ >
159
+ <Field.Label>Due dates</Field.Label>
160
+ <DateRangePicker.Trigger className="w-full">
161
+ <DateField.Group fullWidth>
162
+ <DateField.Input slot="start" />
163
+ <DateRangePicker.RangeSeparator />
164
+ <DateField.Input slot="end" />
165
+ <DateField.Suffix>
166
+ <DateRangePicker.TriggerIndicator />
167
+ </DateField.Suffix>
168
+ </DateField.Group>
169
+ </DateRangePicker.Trigger>
170
+ <DateRangePicker.BottomSheet snapPoints={['55%']} stackBehavior="push" fill>
171
+ <BottomSheet.Header title="Select dates" onClose={() => setOpen(false)} />
172
+ <BottomSheet.ScrollView>
173
+ <BottomSheet.Content>
174
+ <DateRangePicker.Calendar accessibilityLabel="Due dates" />
175
+ </BottomSheet.Content>
176
+ </BottomSheet.ScrollView>
177
+ </DateRangePicker.BottomSheet>
178
+ </DateRangePicker>
179
+ </Field>
180
+ </PickerBottomSheetFrame>
181
+ );
182
+ }
183
+ ```
184
+
131
185
  ## Standalone
132
186
 
133
187
  Render a `DateRangePicker.Calendar` inline instead of a presentation surface when the fields and calendar share the screen.
@@ -294,7 +348,14 @@ Presents the range calendar in a modal dialog. Wires the surface's open state an
294
348
 
295
349
  ### DateRangePicker.BottomSheet
296
350
 
297
- Presents the range calendar in a bottom sheet, the preferred surface on native. It wires open state only — compose `BottomSheet.Header` and `BottomSheet.Content` (or any sheet layout) as its children.
351
+ Presents the range calendar in a bottom sheet, the preferred surface on native. It wires open state only — compose `BottomSheet.Header` and `BottomSheet.Content` (or any sheet layout) as its children. `snapPoints`, `enableDynamicSizing`, and `stackBehavior` are forwarded to [`BottomSheet.Modal`](https://design.candescent.com/docs/components/bottom-sheet/content.md).
352
+
353
+ | Prop | Type | Default | Description |
354
+ | --- | --- | --- | --- |
355
+ | `snapPoints?` | `(string \| number)[] \| SharedValue<(string \| number)[]>` | `['70%', '90%']` | Heights the sheet snaps to, as percentages of the screen or pixel values. |
356
+ | `enableDynamicSizing?` | `boolean` | `false` | Sizes the sheet to its content and adds that height as a snap point. |
357
+ | `stackBehavior?` | `'replace' \| 'push' \| 'switch'` | `'switch'` | How the sheet opens over a sheet that is already presented: `push` keeps that sheet underneath, `switch` minimizes it until this sheet closes, and `replace` dismisses it. |
358
+ | `fill?` | `boolean` | `false` | Lays the children out in a container that fills the sheet, so a fixed header can sit above a `BottomSheet.ScrollView`. By default the children size a `BottomSheet.View`. |
298
359
 
299
360
  ## Accessibility
300
361
 
package/docs/llms.txt CHANGED
@@ -151,15 +151,17 @@ 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.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.
155
+ - [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.
154
156
  - [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.
155
157
  - [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.
156
158
  - [0.3.5](resources/release-notes/0.3.5/content.md): Selected subtle Chip labels stay visible on Android when the variant changes from outline to subtle.
157
159
  - [0.3.4](resources/release-notes/0.3.4/content.md): Select adds multiple selection, in-list search, and a native bottom sheet; Input gains a subtle variant for fields inside popups and sheets.
158
- - [0.3.3](resources/release-notes/0.3.3/content.md): Insight and InsightStack add dismissible summary cards with status colors, optional AI styling, and stacked depth for insight feeds.
160
+ - [0.3.3](resources/release-notes/0.3.3/content.md): Insight and InsightStack add dismissible insight cards in info, warning, and danger, with optional AI styling and stacked depth.
159
161
  - [0.3.2](resources/release-notes/0.3.2/content.md): CurrencyInput adds an outline variant for bordered amount fields; BottomSheet opens reliably in optimized web production builds.
160
162
  - [0.3.1](resources/release-notes/0.3.1/content.md): DataGrid adds filterMode for server-side search and filters; IconButton adds warning, success, and info color options.
161
163
  - [0.3.0](resources/release-notes/0.3.0/content.md): Calendar and MonthCalendar year pickers scroll the full selectable range; BottomSheet adds fullBleed and updated Content and Footer padding.
162
- - [0.2.5](resources/release-notes/0.2.5/content.md): Box is the supported layout primitive with hardened stacks; View from @cdx-ui/components is deprecated. Align Expo apps with SDK 57 and React Native 0.86.
164
+ - [0.2.5](resources/release-notes/0.2.5/content.md): Box is the supported layout primitive; stacks render through it, and View from @cdx-ui/components is deprecated.
163
165
  - [0.2.4](resources/release-notes/0.2.4/content.md): ScrollShadow fades scroll edges on iOS, Android, and web; ListItem.SectionHeader adds a gradient variant for account-style lists.
164
166
  - [0.2.3](resources/release-notes/0.2.3/content.md): ReorderableList brings drag-and-drop list reordering on web and native; Tile flat rows show the selected background again.
165
167
  - [0.2.2](resources/release-notes/0.2.2/content.md): Fixes web Text layout in production, Button solid edges on native, and Field required labels on web.
@@ -1,22 +1,20 @@
1
1
  # 0.2.5 (https://design.candescent.com/docs/resources/release-notes/0.2.5)
2
2
 
3
- Box is the supported layout primitive with hardened stacks; View from @cdx-ui/components is deprecated. Align Expo apps with SDK 57 and React Native 0.86.
3
+ Box is the supported layout primitive; stacks render through it, and View from @cdx-ui/components is deprecated.
4
4
 
5
- This release makes **[Box](https://design.candescent.com/docs/components/box/content.md)** the supported layout container, aligns the native toolchain with Expo SDK 57 and React Native 0.86, and fixes touch targets and styling on several inputs.
5
+ This release makes **[Box](https://design.candescent.com/docs/components/box/content.md)** the supported layout container, and fixes the Slider rail hit area, ColorSlider thumb placement, and Breadcrumb icon and text color.
6
6
 
7
7
  ## What's new
8
8
 
9
- **[Box](https://design.candescent.com/docs/components/box/content.md)** — Forge UI’s cross-platform layout primitive (a styled `View` on native and a `div` on web). Box gains `asChild` for composition and emits `data-slot="box"`. **[HStack](https://design.candescent.com/docs/components/stack/content.md)** and **[VStack](https://design.candescent.com/docs/components/stack/content.md)** now render through Box and emit `data-slot="hstack"` and `data-slot="vstack"`; caller `data-*` attributes still win when you compose higher-level components. The `View` re-export from `@cdx-ui/components` remains at runtime but is marked `@deprecated` in favor of Box; migrate imports when you touch layout code ([#801](https://github.com/dfh-candescent/forge-design-system/pull/801)).
10
-
11
- **Expo and React Native** — Forge UI’s development and CI stack now targets Expo SDK 57, React Native 0.86, and React 19.2. If you integrate `@cdx-ui/native` or mirror Forge’s Expo app setup, bump your app to a compatible SDK 57 / RN 0.86 line before upgrading these packages ([#737](https://github.com/dfh-candescent/forge-design-system/pull/737)).
9
+ **[Box](https://design.candescent.com/docs/components/box/content.md)** — Forge UI’s cross-platform layout primitive (a `View` on native and a `div` on web). Box gains `asChild` for composition and emits `data-slot="box"`. **[HStack](https://design.candescent.com/docs/components/stack/content.md)** and **[VStack](https://design.candescent.com/docs/components/stack/content.md)** now render through Box and emit `data-slot="hstack"` and `data-slot="vstack"`; caller `data-*` attributes still win when you compose higher-level components. The `View` re-export from `@cdx-ui/components` remains at runtime but is marked `@deprecated` in favor of Box; migrate imports when you touch layout code ([#801](https://github.com/dfh-candescent/forge-design-system/pull/801)).
12
10
 
13
11
  ## Bug fixes
14
12
 
15
- **[Slider](https://design.candescent.com/docs/components/slider/content.md)** — Restores the rail hit area on React Native 0.85 and later, where `StyleSheet.absoluteFillObject` was removed and absolute positioning on the rail silently stopped applying ([#732](https://github.com/dfh-candescent/forge-design-system/pull/732)).
13
+ **[Slider](https://design.candescent.com/docs/components/slider/content.md)** — Restores the rail hit area on React Native 0.85 and later, where `StyleSheet.absoluteFillObject` was removed and absolute positioning on that hit area silently stopped applying ([#732](https://github.com/dfh-candescent/forge-design-system/pull/732)).
16
14
 
17
- **ColorSlider** — Sizes the track from layout so scaled ancestor views no longer skew thumb position ([#807](https://github.com/dfh-candescent/forge-design-system/pull/807)).
15
+ **[ColorSlider](https://design.candescent.com/docs/components/color-slider/content.md)** — Sizes the track from layout so scaled ancestor views no longer skew thumb position ([#807](https://github.com/dfh-candescent/forge-design-system/pull/807)).
18
16
 
19
- **[Breadcrumbs](https://design.candescent.com/docs/components/breadcrumbs/content.md)** — Direct `Icon` and `Text` children of `Breadcrumbs.Item` and separators pick up the item’s state color on native and inherit content color on web unless they set their own `color` ([#802](https://github.com/dfh-candescent/forge-design-system/pull/802)).
17
+ **[Breadcrumbs](https://design.candescent.com/docs/components/breadcrumbs/content.md)** — Direct `Icon` and `Text` children of `Breadcrumbs.Item` take the item’s state color on native and inherit content color on web; the same components passed as `separator` take the separator color on native and inherit it on web, unless they set `color` ([#802](https://github.com/dfh-candescent/forge-design-system/pull/802)).
20
18
 
21
19
  **@cdx-ui/web** — The Vite pre-bundle patch for `react-native-worklets` matches both pre-0.10 and 0.10+ initializer paths, so Vite apps and the theme editor pre-bundle worklets without a dev-only self-check failure ([#735](https://github.com/dfh-candescent/forge-design-system/pull/735)).
22
20
 
@@ -10,9 +10,9 @@ This release improves year selection in the calendar family and updates **[Botto
10
10
 
11
11
  ## Bug fixes
12
12
 
13
- **[Calendar](https://design.candescent.com/docs/components/calendar/content.md)**, **[MonthCalendar](https://design.candescent.com/docs/components/month-calendar/content.md)**, and **[RangeCalendar](https://design.candescent.com/docs/components/range-calendar/content.md)** — The year view scrolls across every year between `minValue` and `maxValue` (defaulting to a wide range when a bound is unset) instead of a short fixed window, opens scrolled to the current year, and keeps header navigation mounted so the header height stays stable in year view ([#812](https://github.com/dfh-candescent/forge-design-system/pull/812)).
13
+ **[Calendar](https://design.candescent.com/docs/components/calendar/content.md)**, **[MonthCalendar](https://design.candescent.com/docs/components/month-calendar/content.md)**, and **[RangeCalendar](https://design.candescent.com/docs/components/range-calendar/content.md)** — The year view lists every year from the `minValue` year through the `maxValue` year (an unset side extends 100 years from today, and still includes the visible year when that year falls outside that window) instead of a short fixed window, opens scrolled to the visible year, and keeps header navigation mounted so the header height stays stable in year view ([#812](https://github.com/dfh-candescent/forge-design-system/pull/812)).
14
14
 
15
- **[BottomSheet](https://design.candescent.com/docs/components/bottom-sheet/content.md)** — `Content` and `Footer` horizontal padding matches the design spec ([#811](https://github.com/dfh-candescent/forge-design-system/pull/811)).
15
+ **[BottomSheet](https://design.candescent.com/docs/components/bottom-sheet/content.md)** — `Content` horizontal and bottom padding, and `Footer` horizontal padding, match the design spec ([#811](https://github.com/dfh-candescent/forge-design-system/pull/811)).
16
16
 
17
17
  ## Dependencies
18
18
 
@@ -2,12 +2,12 @@
2
2
 
3
3
  DataGrid adds filterMode for server-side search and filters; IconButton adds warning, success, and info color options.
4
4
 
5
- This release extends **DataGrid** for server-driven filtering and adds status-colored variants to **[IconButton](https://design.candescent.com/docs/components/icon-button/content.md)** and **[Toast](https://design.candescent.com/docs/components/toast/content.md)**.
5
+ This release extends **[DataGrid](https://design.candescent.com/docs/components/data-grid/content.md)** for server-driven filtering and adds `warning`, `success`, and `info` colors to **[IconButton](https://design.candescent.com/docs/components/icon-button/content.md)**. **[Toast](https://design.candescent.com/docs/components/toast/content.md)** close controls follow the toast color.
6
6
 
7
7
  ## What's new
8
8
 
9
- **DataGrid** — Set `filterMode="server"` when pagination or sorting already runs on the server so quick search and column filters no longer run only against the rows on the current page. The grid emits `quickFilter` and `filterModel` changes and leaves filtering to your data source; `filterMode` defaults to match `paginationMode`, so server pagination does not silently filter a single page. `GridFilterItem.operator` is optional and defaults to `contains` ([#813](https://github.com/dfh-candescent/forge-design-system/pull/813)).
9
+ **[DataGrid](https://design.candescent.com/docs/components/data-grid/content.md)** — `filterMode="server"` stops the grid from applying quick search and header filters to `rows` and reports changes through `onQuickFilterChange` and `onFilterModelChange` so your data source can filter. `filterMode` defaults to `paginationMode`, so server pagination no longer filters only the current page. Pass `filterMode="client"` to keep filtering the loaded rows ([#813](https://github.com/dfh-candescent/forge-design-system/pull/813)).
10
10
 
11
11
  **[IconButton](https://design.candescent.com/docs/components/icon-button/content.md)** — `color` accepts `warning`, `success`, and `info` across solid, subtle, and ghost variants so icon actions can match semantic status without custom styling ([#793](https://github.com/dfh-candescent/forge-design-system/pull/793)).
12
12
 
13
- **[Toast](https://design.candescent.com/docs/components/toast/content.md)** — The close control uses the toast’s semantic color so dismiss actions stay visually aligned with warning, success, info, and error toasts ([#793](https://github.com/dfh-candescent/forge-design-system/pull/793)).
13
+ **[Toast](https://design.candescent.com/docs/components/toast/content.md)** — The close control uses the toast’s semantic color so dismiss actions stay visually aligned with warning, success, info, and danger toasts ([#793](https://github.com/dfh-candescent/forge-design-system/pull/793)).
@@ -10,7 +10,7 @@ This release adds a bordered **[CurrencyInput](https://design.candescent.com/doc
10
10
 
11
11
  ## Bug fixes
12
12
 
13
- **[BottomSheet](https://design.candescent.com/docs/components/bottom-sheet/content.md)** — Modal sheets open at the correct height in production web bundles, so dynamic detents are no longer clipped below the backdrop and footers no longer cover scrollable content ([#829](https://github.com/dfh-candescent/forge-design-system/pull/829)).
13
+ **[BottomSheet](https://design.candescent.com/docs/components/bottom-sheet/content.md)** — Modal sheets open at the correct height in production web bundles, so a dynamically sized sheet no longer stays below its frame behind the backdrop and a footer no longer covers the sheet body ([#829](https://github.com/dfh-candescent/forge-design-system/pull/829)).
14
14
 
15
15
  ## Dependencies
16
16
 
@@ -1,22 +1,22 @@
1
1
  # 0.3.3 (https://design.candescent.com/docs/resources/release-notes/0.3.3)
2
2
 
3
- Insight and InsightStack add dismissible summary cards with status colors, optional AI styling, and stacked depth for insight feeds.
3
+ Insight and InsightStack add dismissible insight cards in info, warning, and danger, with optional AI styling and stacked depth.
4
4
 
5
- This release ships **[Insight](https://design.candescent.com/docs/components/insight/content.md)** and **[InsightStack](https://design.candescent.com/docs/components/insight-stack/content.md)** for banking insight and notification summaries, refreshes design tokens, and adds a mobile Add Payee Form pattern on the docs site.
5
+ This release ships **[Insight](https://design.candescent.com/docs/components/insight/content.md)** and **[InsightStack](https://design.candescent.com/docs/components/insight-stack/content.md)** for insight cards, refreshes design tokens, and adds a mobile Add Payee Form pattern on the docs site.
6
6
 
7
7
  ## What's new
8
8
 
9
- **[Insight](https://design.candescent.com/docs/components/insight/content.md)** — Use the compound API to show a pressable summary card with a status **color** (`info`, `success`, `warning`, `danger`, and others), optional **`aiGenerated`** gradient frame, medallion icon, title and body copy, **`Insight.Tag`**, footer actions, and an optional dismiss control. The summary region supports **`onPress`**, press-scale feedback (skipped when reduced motion or animations are disabled), disabled state with focus ring, and logical start/end layout so tag and close align correctly in RTL on native and web. Dark mode **info**, **success**, and **warning** on-subtle content colors are corrected so **Alert**, **Toast**, **IconButton** subtle variants, and Insight text and icons stay readable. Pair **`InsightRoot`** from `@cdx-ui/primitives` when you need the unstyled behavior ([#842](https://github.com/dfh-candescent/forge-design-system/pull/842)).
9
+ **[Insight](https://design.candescent.com/docs/components/insight/content.md)** — Use the compound API for a pressable summary or a static detail card, or `InsightRoot` from `@cdx-ui/primitives` for the unstyled behavior. `color` is `info`, `warning`, or `danger` and tints the border, the summary medallion, and the detail tag; `aiGenerated` swaps that border for a gradient frame. A summary shows the medallion and body copy, accepts `onPress`, scales on press unless reduced motion or animations are disabled, and can be disabled, with a focus ring on web keyboard focus. A detail card adds `Insight.Tag`, title and description, optional content, and footer actions; `onClose` adds a dismiss control, and the tag and close use logical start and end placement so they align in RTL on native and web ([#842](https://github.com/dfh-candescent/forge-design-system/pull/842)).
10
10
 
11
- **[InsightStack](https://design.candescent.com/docs/components/insight-stack/content.md)** — Layer one or more decorative cards behind a front **[Insight](https://design.candescent.com/docs/components/insight/content.md)** summary to suggest depth in insight feeds or notification stacks. Control how many layers appear and match their **color** to the summary ([#842](https://github.com/dfh-candescent/forge-design-system/pull/842)).
11
+ **[InsightStack](https://design.candescent.com/docs/components/insight-stack/content.md)** — Draw up to two decorative cards behind a front **[Insight](https://design.candescent.com/docs/components/insight/content.md)** to show that more insights are waiting. Pass `count` for depth: 1 or less draws no layers, 2 draws one, and 3 or more draws two. The layers stay neutral, and the front Insight's `color` tints only the front card ([#842](https://github.com/dfh-candescent/forge-design-system/pull/842)).
12
12
 
13
13
  ## Bug fixes
14
14
 
15
- **@cdx-ui/styles** — Design token values sync with the design system source; review theme overrides if you pin specific token values ([#635](https://github.com/dfh-candescent/forge-design-system/pull/635)).
15
+ **[Alert](https://design.candescent.com/docs/components/alert/content.md)**, **[Toast](https://design.candescent.com/docs/components/toast/content.md)**, **[IconButton](https://design.candescent.com/docs/components/icon-button/content.md)**, and **[Insight](https://design.candescent.com/docs/components/insight/content.md)** — Dark mode **info**, **success**, and **warning** on-subtle content colors stay readable on subtle surfaces: Alert and Toast copy, IconButton subtle icons, and the Insight medallion and tag icons ([#842](https://github.com/dfh-candescent/forge-design-system/pull/842)).
16
16
 
17
17
  ## Dependencies
18
18
 
19
- **@cdx-ui/\*** — Upgrade every installed Forge UI package to `0.3.3` together when you adopt this release.
19
+ **Design tokens** — Token values updated from the design system source. Review your theme if you override specific token values ([#635](https://github.com/dfh-candescent/forge-design-system/pull/635)).
20
20
 
21
21
  ## Documentation
22
22
 
@@ -6,22 +6,22 @@ This release expands **[Select](https://design.candescent.com/docs/components/se
6
6
 
7
7
  ## What's new
8
8
 
9
- **[Select](https://design.candescent.com/docs/components/select/content.md)** — Set **`type="multiple"`** so `value` is a `string[]` and each option press toggles selection while the popup stays open. Use **`Select.ItemControl`** for checkbox affordances and **`Select.Value`** with a function child to read `selectedItems` and `selectedText`; multiple mode joins labels with a comma on one line. Add **`Select.Search`** and **`Select.Empty`** to filter options in single and multiple mode via controllable `inputValue`, `defaultInputValue`, `onInputChange`, and an optional custom `filter`; the query clears when the popup closes and selected values still resolve against the full item list. On iOS and Android, swap **`Select.Content`** for **`Select.BottomSheet`** to present the same search and list regions in the shared picker sheet (web still renders the dropdown). Disabled items no longer receive keyboard highlight. Wrappers that assume `value` is always a `string` should narrow with `Extract<SelectProps, { type?: 'single' }>` ([#857](https://github.com/dfh-candescent/forge-design-system/pull/857)).
9
+ **[Select](https://design.candescent.com/docs/components/select/content.md)** — Set **`type="multiple"`** so `value` is a `string[]` and each option press toggles selection while the popup stays open. Use **`Select.ItemControl`** for checkbox affordances and **`Select.Value`** with a function child to read `selectedItems` and `selectedText`; multiple mode joins labels with a comma and a space on one line. Add **`Select.Search`** and **`Select.Empty`** to filter options in single and multiple mode via controllable `inputValue`, `defaultInputValue`, `onInputChange`, and an optional custom `filter`; the query clears when the popup closes and selected values still resolve against the full item list. On iOS and Android, swap **`Select.Content`** for **`Select.BottomSheet`** to present the same search and list regions in the shared picker sheet (web still renders the dropdown). **`Select.Item disabled`** keeps that option out of keyboard highlight and keyboard selection. Wrappers that assume `value` is always a `string` should narrow with `Extract<SelectProps, { type?: 'single' }>`. Primitive **`SelectContextValue`** drops `onValueChange`; use `commitValue`, `toggleValue`, or `selectValueAndClose` ([#857](https://github.com/dfh-candescent/forge-design-system/pull/857)).
10
10
 
11
11
  **[Input](https://design.candescent.com/docs/components/input/content.md)** — Pass **`variant="subtle"`** for a filled, borderless field suited to search inputs inside popovers and bottom sheets. **`Select.Search`** defaults to subtle in both dropdown and sheet paths; override with the search field’s own **`variant`** prop ([#857](https://github.com/dfh-candescent/forge-design-system/pull/857)).
12
12
 
13
13
  ## Bug fixes
14
14
 
15
- **[Drawer](https://design.candescent.com/docs/components/drawer/content.md)** — A permanent panel on web collapses to zero width when closed instead of leaving an empty surface behind ([#861](https://github.com/dfh-candescent/forge-design-system/pull/861)).
15
+ **[Drawer](https://design.candescent.com/docs/components/drawer/content.md)** — A permanent panel on web collapses when closed — width for a side placement, height for top or bottom — instead of keeping its open size and leaving an empty surface behind ([#861](https://github.com/dfh-candescent/forge-design-system/pull/861)).
16
16
 
17
- **[Select](https://design.candescent.com/docs/components/select/content.md)** — The first option receives highlight when items load or change after the popup opens, so screen readers get a valid `aria-activedescendant` without an arrow key ([#857](https://github.com/dfh-candescent/forge-design-system/pull/857)).
17
+ **[Select](https://design.candescent.com/docs/components/select/content.md)** — While the popup is open and nothing is highlighted, loading items highlights the first enabled selected option, or the first enabled option when no selected option can be highlighted, so screen readers get a valid `aria-activedescendant` without an arrow key. Swapping the list highlights the first enabled option when the current highlight is no longer visible ([#857](https://github.com/dfh-candescent/forge-design-system/pull/857)).
18
18
 
19
19
  ## Documentation
20
20
 
21
21
  **Invite User drawer** — Web-only Forms pattern: a permanent right-side drawer with name, email, role select, and a searchable multi-select for teams shown as removable chips ([#861](https://github.com/dfh-candescent/forge-design-system/pull/861)).
22
22
 
23
- **Input**, **OTP Input**, and **Insurance Disclosure** — Component page titles use Title Case in the sidebar ([#860](https://github.com/dfh-candescent/forge-design-system/pull/860)).
23
+ **Input**, **OTP Input**, and **Insurance Disclosure** — Sidebar titles are renamed from Input Field, OTP Input Field, and FDIC Digital Sign. Page routes stay the same ([#860](https://github.com/dfh-candescent/forge-design-system/pull/860)).
24
24
 
25
- **Text** — New demos for nested inline text, slot composition, and mixed nesting ([#858](https://github.com/dfh-candescent/forge-design-system/pull/858)).
25
+ **Text** — New demos for nested text that inherits or overrides color, size, and weight, for nesting inside `Heading`, `Button.Label`, and `Alert.Description`, and for inline emphasis in running copy ([#858](https://github.com/dfh-candescent/forge-design-system/pull/858)).
26
26
 
27
27
  **Pattern blocks** — Block section headings on pattern pages are clickable anchor links for deep linking ([#862](https://github.com/dfh-candescent/forge-design-system/pull/862)).
@@ -6,11 +6,11 @@ This release ships SystemAlert, bar, line, and pie charts on a shared MUI X-shap
6
6
 
7
7
  ## What's new
8
8
 
9
- **[SystemAlert](https://design.candescent.com/docs/components/system-alert/content.md)** — A full-bleed banner on a strong semantic surface for app-wide warnings and status messages. Set `color` to match severity, compose `SystemAlert.Icon`, `SystemAlert.Description`, and trailing actions or `SystemAlert.Close`, and use `isOpen` with `onOpenChange` for controlled enter and exit motion. `hasSafeAreaInset` extends the banner behind the status bar; pair it with `useSystemAlertStatusBarStyle` so status-bar glyphs stay readable on the banner’s on-strong text ([#866](https://github.com/dfh-candescent/forge-design-system/pull/866)).
9
+ **[SystemAlert](https://design.candescent.com/docs/components/system-alert/content.md)** — A full-width banner on a strong semantic surface for app-wide warnings and status messages. Set `color` to match severity, and compose `SystemAlert.Icon`, `SystemAlert.Description`, and `SystemAlert.Actions` (`SystemAlert.Action` and `SystemAlert.IconAction`). Pass `onClose` to add the dismiss control, and set `isOpen` for controlled enter and exit motion. `hasSafeAreaInset` extends the banner behind the status bar; pair it with `useSystemAlertStatusBarStyle` so status-bar glyphs stay readable on the banner’s on-strong text ([#866](https://github.com/dfh-candescent/forge-design-system/pull/866)).
10
10
 
11
- **[BarChart](https://design.candescent.com/docs/components/bar-chart/content.md)**, **[LineChart](https://design.candescent.com/docs/components/line-chart/content.md)**, and **[PieChart](https://design.candescent.com/docs/components/pie-chart/content.md)** — Cross-platform charts that follow an MUI X Charts–shaped API: pass a `dataset`, define `series` with `dataKey`, and configure `xAxis` and `yAxis` arrays. Bar charts support stacking, waterfall, and overlay series; line charts support curves, areas, and markers; pie charts support donut radii and slice formatters. Selection uses `selectedItem` and `onSelectedItemChange`; tooltips, locale formatters, and `palette` (`auto` or `categorical`) resolve through the shared chart kit ([#867](https://github.com/dfh-candescent/forge-design-system/pull/867)).
11
+ **[BarChart](https://design.candescent.com/docs/components/bar-chart/content.md)**, **[LineChart](https://design.candescent.com/docs/components/line-chart/content.md)**, and **[PieChart](https://design.candescent.com/docs/components/pie-chart/content.md)** — Cross-platform charts on an MUI X Charts–shaped API. Bar and line charts take a `dataset`, `series` with `dataKey`, and `xAxis` and `yAxis` arrays: bar charts support stacking, waterfall, and overlay series, and line charts support curves, areas, and markers. Pie charts take `series` with a `data` array of slices, an `innerRadius` for a donut, and `valueFormatter` and `shareFormatter` for slice text. Selection uses `selectedItem` and `onSelectedItemChange`; tooltips and locale formatters are shared, and bar and line charts take `palette` (`auto` or `categorical`) ([#867](https://github.com/dfh-candescent/forge-design-system/pull/867)).
12
12
 
13
- **[Stepper](https://design.candescent.com/docs/components/stepper/content.md)** — Shows progress through a linear or non-linear sequence with vertical or horizontal layout. Use `orientation`, `labelPlacement` (`end` or `bottom` on horizontal steppers), and `onStepChange` with `isLinear` to let users jump to completed or allowed steps. Compound parts include `Stepper.Step`, `Stepper.StepLabel`, `Stepper.StepContent`, and optional custom indicators ([#839](https://github.com/dfh-candescent/forge-design-system/pull/839)).
13
+ **[Stepper](https://design.candescent.com/docs/components/stepper/content.md)** — Shows progress through a linear or non-linear sequence with vertical or horizontal layout. Use `orientation`, `labelPlacement` (`end` or `bottom` on horizontal steppers), and `onStepChange` with `isLinear` to let users jump to completed or allowed steps. Compound parts are `Stepper.Step`, `Stepper.Indicator`, `Stepper.Title`, `Stepper.Description`, `Stepper.Content`, and `Stepper.Separator`. Children of `Stepper.Indicator` replace the default numeral or check ([#839](https://github.com/dfh-candescent/forge-design-system/pull/839)).
14
14
 
15
15
  ## Bug fixes
16
16
 
@@ -2,26 +2,22 @@
2
2
 
3
3
  Adds CountryFlag for ISO country flags, ProgressBar size and color props, DataGrid autoHeight, and fixes for web charts and published DataGrid styles.
4
4
 
5
- This release adds **[CountryFlag](https://design.candescent.com/docs/components/country-flag/content.md)** and new **[Progress Bar](https://design.candescent.com/docs/components/progress-bar/content.md)** styling options, lets **DataGrid** size to its rows, and fixes web chart accessibility warnings plus DataGrid styling when installed from npm.
5
+ This release adds **[CountryFlag](https://design.candescent.com/docs/components/country-flag/content.md)** and new **[Progress Bar](https://design.candescent.com/docs/components/progress-bar/content.md)** styling options, lets **[DataGrid](https://design.candescent.com/docs/components/data-grid/content.md)** size to its rows, and fixes web chart accessibility warnings plus DataGrid styling when installed from npm.
6
6
 
7
7
  ## What's new
8
8
 
9
- **[CountryFlag](https://design.candescent.com/docs/components/country-flag/content.md)** — Renders officially assigned ISO country flags from `@cdx-ui/icons/flags` so country pickers and forms can show a flag without a third-party flag library. Pass a country code and optional `size` to match surrounding icons; use it inside **[Input](https://design.candescent.com/docs/components/input/content.md)** or **[Select](https://design.candescent.com/docs/components/select/content.md)** adornments the same way you use other Forge icons ([#912](https://github.com/dfh-candescent/forge-design-system/pull/912)).
9
+ **[CountryFlag](https://design.candescent.com/docs/components/country-flag/content.md)** — Renders an officially assigned ISO 3166-1 alpha-2 flag from `@cdx-ui/icons/flags`, so a country picker or form can show a flag without a third-party flag library. Pass `code`. Size the flag with a `size-*` class (the default box is `size-5`) and place it in an **[Input](https://design.candescent.com/docs/components/input/content.md)** or **[Select](https://design.candescent.com/docs/components/select/content.md)** icon slot with `asChild` ([#912](https://github.com/dfh-candescent/forge-design-system/pull/912)).
10
10
 
11
- **[Progress Bar](https://design.candescent.com/docs/components/progress-bar/content.md)** — `size` and `color` props tune track height and semantic fill without custom classes. Use them for dense lists, dashboards, and budget-style insights where several bars share one screen ([#873](https://github.com/dfh-candescent/forge-design-system/pull/873)).
11
+ **[Progress Bar](https://design.candescent.com/docs/components/progress-bar/content.md)** — `size` and `color` set track height and indicator fill. `size` is `default` (6px) or `large` (8px), the track is `surface-neutral-subtle`, and `color` defaults to `action`. Existing bars pick up that track: it was `h-1` on `surface-action-subtle`, and the indicator stays `surface-action-strong` unless you set `color` ([#873](https://github.com/dfh-candescent/forge-design-system/pull/873)).
12
12
 
13
- **DataGrid** — `autoHeight` (MUI X naming) removes the default fixed viewport height so the grid grows with its rows; horizontal overflow still scrolls. Empty and custom loading overlays keep a minimum height because they are absolutely positioned ([#899](https://github.com/dfh-candescent/forge-design-system/pull/899)).
13
+ **[DataGrid](https://design.candescent.com/docs/components/data-grid/content.md)** — `autoHeight` (MUI X naming) removes the default fixed viewport height so the grid grows with its rows; horizontal overflow still scrolls. Empty and custom loading overlays keep a minimum height because they are absolutely positioned ([#899](https://github.com/dfh-candescent/forge-design-system/pull/899)).
14
14
 
15
15
  ## Bug fixes
16
16
 
17
17
  **[Progress Bar](https://design.candescent.com/docs/components/progress-bar/content.md)** — Indeterminate mode (`value={null}`) animates a segment across the track instead of collapsing the indicator to zero width ([#873](https://github.com/dfh-candescent/forge-design-system/pull/873)).
18
18
 
19
- **[Input](https://design.candescent.com/docs/components/input/content.md)** — `Input.Icon` with `asChild` accepts a child element, so icons such as CountryFlag typecheck and render in adornment slots ([#912](https://github.com/dfh-candescent/forge-design-system/pull/912)).
19
+ **[Input](https://design.candescent.com/docs/components/input/content.md)** and **[Select](https://design.candescent.com/docs/components/select/content.md)** — `Input.Icon` and `Select.Icon` with `asChild` accept a child element, so a child such as CountryFlag typechecks in those adornment slots ([#912](https://github.com/dfh-candescent/forge-design-system/pull/912)).
20
20
 
21
- **DataGrid** — Published `@cdx-ui/data-grid` installs include a stylesheet so Uniwind generates grid utility classes in consumer apps; import it alongside your other Forge UI styles as documented on the DataGrid page ([#906](https://github.com/dfh-candescent/forge-design-system/pull/906)).
21
+ **[DataGrid](https://design.candescent.com/docs/components/data-grid/content.md)** — Published `@cdx-ui/data-grid` installs export `./styles.css`, a Tailwind `@source` scan so the grid's utility classes are generated. Import `@cdx-ui/data-grid/styles.css` after `@cdx-ui/components/styles.css`, or the grid renders without its border, header background, or row dividers ([#906](https://github.com/dfh-candescent/forge-design-system/pull/906)).
22
22
 
23
- **[LineChart](https://design.candescent.com/docs/components/line-chart/content.md)** and **[BarChart](https://design.candescent.com/docs/components/bar-chart/content.md)** — Decorative chart SVGs on web no longer pass React Native accessibility props through to the DOM, which removes React warnings in the browser ([#899](https://github.com/dfh-candescent/forge-design-system/pull/899)).
24
-
25
- ## Dependencies
26
-
27
- Upgrade every installed `@cdx-ui/*` package to `0.3.7` together when you adopt this release ([#910](https://github.com/dfh-candescent/forge-design-system/pull/910)).
23
+ **[LineChart](https://design.candescent.com/docs/components/line-chart/content.md)** and **[BarChart](https://design.candescent.com/docs/components/bar-chart/content.md)** — Decorative chart SVGs on web no longer pass React Native accessibility props through to the DOM, which removes React warnings in the browser ([#899](https://github.com/dfh-candescent/forge-design-system/pull/899)).
@@ -0,0 +1,21 @@
1
+ # 0.3.8 (https://design.candescent.com/docs/resources/release-notes/0.3.8)
2
+
3
+ Adds CurrencyFlag for ISO 4217 codes, expands CountryFlag to the full flag set including EU, and adds CurrencyInput align.
4
+
5
+ This release adds **[CurrencyFlag](https://design.candescent.com/docs/components/currency-flag/content.md)** for currency codes, expands **[CountryFlag](https://design.candescent.com/docs/components/country-flag/content.md)** to the full shipped flag set, and gives **[CurrencyInput](https://design.candescent.com/docs/components/currency-input/content.md)** an `align` prop with a native alignment fix.
6
+
7
+ ## What's new
8
+
9
+ **[CurrencyFlag](https://design.candescent.com/docs/components/currency-flag/content.md)** — Renders the flag for the country or union that issues an ISO 4217 currency code. National codes use the first two letters of the code; `EUR` maps to the European Union flag. Codes with no single issuer (for example `XOF`, `XCD`, `XAU`) render nothing. Import **`currencyFlagCode`** from `@cdx-ui/components` when you need to know whether a flag will appear before reserving space ([#922](https://github.com/dfh-candescent/forge-design-system/pull/922)).
10
+
11
+ **[CountryFlag](https://design.candescent.com/docs/components/country-flag/content.md)** — `@cdx-ui/icons/flags` now includes every flag from the pinned `country-flag-icons` set, including `EU` and subdivision codes such as `GB-ENG`. Subdivision flags export as **`FlagGB_ENG`** (underscore before the subdivision segment). The `code` prop accepts the hyphenated code (`GB-ENG`) ([#922](https://github.com/dfh-candescent/forge-design-system/pull/922)).
12
+
13
+ **[CurrencyInput](https://design.candescent.com/docs/components/currency-input/content.md)** — Optional **`align`** accepts `center` or `end`. Ghost fields stay centered by default; outline fields stay start-aligned until you set `align`. Use `align="end"` for amounts at the trailing edge of a row, such as a read-only balance in a card ([#920](https://github.com/dfh-candescent/forge-design-system/pull/920)).
14
+
15
+ ## Bug fixes
16
+
17
+ **[CurrencyInput](https://design.candescent.com/docs/components/currency-input/content.md)** — `align="end"` places the amount on the trailing edge on iOS and Android, matching web `text-end` behavior ([#920](https://github.com/dfh-candescent/forge-design-system/pull/920)).
18
+
19
+ ## Dependencies
20
+
21
+ Upgrade every installed `@cdx-ui/*` package to `0.3.8` together when you adopt this release.
@@ -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,15 +8,17 @@ 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.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.
12
+ - [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.
11
13
  - [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.
12
14
  - [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.
13
15
  - [0.3.5](https://design.candescent.com/docs/resources/release-notes/0.3.5/content.md) — 2026-10-21 — Selected subtle Chip labels stay visible on Android when the variant changes from outline to subtle.
14
16
  - [0.3.4](https://design.candescent.com/docs/resources/release-notes/0.3.4/content.md) — 2026-10-20 — Select adds multiple selection, in-list search, and a native bottom sheet; Input gains a subtle variant for fields inside popups and sheets.
15
- - [0.3.3](https://design.candescent.com/docs/resources/release-notes/0.3.3/content.md) — 2026-10-15 — Insight and InsightStack add dismissible summary cards with status colors, optional AI styling, and stacked depth for insight feeds.
17
+ - [0.3.3](https://design.candescent.com/docs/resources/release-notes/0.3.3/content.md) — 2026-10-15 — Insight and InsightStack add dismissible insight cards in info, warning, and danger, with optional AI styling and stacked depth.
16
18
  - [0.3.2](https://design.candescent.com/docs/resources/release-notes/0.3.2/content.md) — 2026-10-13 — CurrencyInput adds an outline variant for bordered amount fields; BottomSheet opens reliably in optimized web production builds.
17
19
  - [0.3.1](https://design.candescent.com/docs/resources/release-notes/0.3.1/content.md) — 2026-10-13 — DataGrid adds filterMode for server-side search and filters; IconButton adds warning, success, and info color options.
18
20
  - [0.3.0](https://design.candescent.com/docs/resources/release-notes/0.3.0/content.md) — 2026-10-13 — Calendar and MonthCalendar year pickers scroll the full selectable range; BottomSheet adds fullBleed and updated Content and Footer padding.
19
- - [0.2.5](https://design.candescent.com/docs/resources/release-notes/0.2.5/content.md) — 2026-10-12 — Box is the supported layout primitive with hardened stacks; View from @cdx-ui/components is deprecated. Align Expo apps with SDK 57 and React Native 0.86.
21
+ - [0.2.5](https://design.candescent.com/docs/resources/release-notes/0.2.5/content.md) — 2026-10-12 — Box is the supported layout primitive; stacks render through it, and View from @cdx-ui/components is deprecated.
20
22
  - [0.2.4](https://design.candescent.com/docs/resources/release-notes/0.2.4/content.md) — 2026-10-09 — ScrollShadow fades scroll edges on iOS, Android, and web; ListItem.SectionHeader adds a gradient variant for account-style lists.
21
23
  - [0.2.3](https://design.candescent.com/docs/resources/release-notes/0.2.3/content.md) — 2026-10-08 — ReorderableList brings drag-and-drop list reordering on web and native; Tile flat rows show the selected background again.
22
24
  - [0.2.2](https://design.candescent.com/docs/resources/release-notes/0.2.2/content.md) — 2026-10-07 — Fixes web Text layout in production, Button solid edges on native, and Field required labels on web.
@@ -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
- default: 'heading-xl',
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;MACJC,OAAO,EAAE,YAAY;MACrBC,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":[]}
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,OA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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":[]}
@@ -134,13 +134,15 @@ function DateRangePickerDialog({
134
134
  });
135
135
  }
136
136
  function DateRangePickerBottomSheet({
137
- children
137
+ children,
138
+ ...sheetProps
138
139
  }) {
139
140
  const ctx = (0, _primitives.useDateRangePickerContext)();
140
141
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_surfaces.PickerBottomSheetSurface, {
141
142
  open: ctx.open,
142
143
  setOpen: ctx.setOpen,
143
144
  registerSurface: ctx.registerSurface,
145
+ ...sheetProps,
144
146
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.DateRangePickerContext.Provider, {
145
147
  value: ctx,
146
148
  children: children
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactNative","_icons","_primitives","_utils","_Dialog","_Icon","_RangeCalendar","_PickerTrigger","_surfaces","_jsxRuntime","DATE_FIELD_SCOPE","DateRangePickerRoot","forwardRef","className","children","style","props","ref","parent","useParentContext","ctx","useMemo","variant","size","fullWidth","jsx","ParentContext","Provider","value","cn","mergeDataAttributes","dataAttributes","slot","displayName","DateRangePickerTrigger","accessibilityLabel","open","setOpen","disabled","triggerRef","labels","useDateRangePickerContext","PickerTrigger","openDateRangePicker","DateRangePickerTriggerIndicator","Icon","as","CalendarToday","DateRangePickerRangeSeparator","Text","rangeSeparator","DateRangePickerCalendar","startValue","endValue","onRangeChange","focusedField","setFocusedField","locale","RangeCalendar","onFocusedFieldChange","range","startId","endId","DateRangePickerDialog","PickerDialogSurface","registerSurface","Dialog","Popup","DateRangePickerContext","DateRangePickerBottomSheet","PickerBottomSheetSurface","DateRangePickerPopover","PickerPopoverSurface","anchorRef","DateRangePicker","exports","Object","assign","Trigger","TriggerIndicator","RangeSeparator","Calendar","Popover","BottomSheet"],"sourceRoot":"../../../../src","sources":["components/DateRangePicker/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAQA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,cAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AAI4B,IAAAU,WAAA,GAAAV,OAAA;AAU5B,MAAMW,gBAAgB,GAAG,YAAY;AAErC,MAAMC,mBAAmB,gBAAG,IAAAC,iBAAU,EACpC,CAAC;EAAEC,SAAS;EAAEC,QAAQ;EAAEC,KAAK;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,KAAK;EACjD,MAAMC,MAAM,GAAG,IAA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sBAAsB,CAACzC,QAAQ;MAACC,KAAK,EAAER,GAAI;MAAAN,QAAA,EAAEA;IAAQ,CAAkC;EAAC,CACjE,CAAC;AAE/B;AAEA,SAASyD,sBAAsBA,CAAC;EAC9BzD,QAAQ;EACRD;AAIF,CAAC,EAAE;EACD,MAAMO,GAAG,GAAG,IAAAqB,qCAAyB,EAAC,CAAC;EACvC,oBACE,IAAAhC,WAAA,CAAAgB,GAAA,EAACjB,SAAA,CAAAgE,oBAAoB;IACnBpC,IAAI,EAAEhB,GAAG,CAACgB,IAAK;IACfC,OAAO,EAAEjB,GAAG,CAACiB,OAAQ;IACrB4B,eAAe,EAAE7C,GAAG,CAAC6C,eAAgB;IACrCQ,SAAS,EAAErD,GAAG,CAACqD,SAAU;IACzBlC,UAAU,EAAEnB,GAAG,CAACmB,UAAW;IAC3B1B,SAAS,EAAEA,SAAU;IAAAC,QAAA,eAErB,IAAAL,WAAA,CAAAgB,GAAA,EAACvB,WAAA,CAAAkE,sBAAsB,CAACzC,QAAQ;MAACC,KAAK,EAAER,GAAI;MAAAN,QAAA,EAAEA;IAAQ,CAAkC;EAAC,CACrE,CAAC;AAE3B;AAYO,MAAM4D,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAGE,MAAM,CAACC,MAAM,CAAClE,mBAAmB,EAAE;EAChEmE,OAAO,EAAE5C,sBAAsB;EAC/B6C,gBAAgB,EAAEnC,+BAA+B;EACjDoC,cAAc,EAAEhC,6BAA6B;EAC7CiC,QAAQ,EAAE9B,uBAAuB;EACjC+B,OAAO,EAAEX,sBAAsB;EAC/BL,MAAM,EAAEH,qBAAqB;EAC7BoB,WAAW,EAAEd;AACf,CAAC,CAA4B","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_reactNative","_icons","_primitives","_utils","_Dialog","_Icon","_RangeCalendar","_PickerTrigger","_surfaces","_jsxRuntime","DATE_FIELD_SCOPE","DateRangePickerRoot","forwardRef","className","children","style","props","ref","parent","useParentContext","ctx","useMemo","variant","size","fullWidth","jsx","ParentContext","Provider","value","cn","mergeDataAttributes","dataAttributes","slot","displayName","DateRangePickerTrigger","accessibilityLabel","open","setOpen","disabled","triggerRef","labels","useDateRangePickerContext","PickerTrigger","openDateRangePicker","DateRangePickerTriggerIndicator","Icon","as","CalendarToday","DateRangePickerRangeSeparator","Text","rangeSeparator","DateRangePickerCalendar","startValue","endValue","onRangeChange","focusedField","setFocusedField","locale","RangeCalendar","onFocusedFieldChange","range","startId","endId","DateRangePickerDialog","PickerDialogSurface","registerSurface","Dialog","Popup","DateRangePickerContext","DateRangePickerBottomSheet","sheetProps","PickerBottomSheetSurface","DateRangePickerPopover","PickerPopoverSurface","anchorRef","DateRangePicker","exports","Object","assign","Trigger","TriggerIndicator","RangeSeparator","Calendar","Popover","BottomSheet"],"sourceRoot":"../../../../src","sources":["components/DateRangePicker/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAQA,IAAAI,MAAA,GAAAJ,OAAA;AAEA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,cAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AAI4B,IAAAU,WAAA,GAAAV,OAAA;AAU5B,MAAMW,gBAAgB,GAAG,YAAY;AAErC,MAAMC,mBAAmB,gBAAG,IAAAC,iBAAU,EACpC,CAAC;EAAEC,SAAS;EAAEC,QAAQ;EAAEC,KAAK;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,KAAK;EACjD,MAAMC,MAAM,GAAG,IAAAC,uBAAgB,EAAC,CAAC;EACjC,MAAMC,GAAG,GAAG,IAAAC,cAAO,EACjB,OAAO;IACL,GAAGH,MAAM;IACT,CAACR,gBAAgB,GAAG;MAAEY,OAAO,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CACjE,CAAC;AAE/B;AAEA,SAAS0D,sBAAsBA,CAAC;EAC9B1D,QAAQ;EACRD;AAIF,CAAC,EAAE;EACD,MAAMO,GAAG,GAAG,IAAAqB,qCAAyB,EAAC,CAAC;EACvC,oBACE,IAAAhC,WAAA,CAAAgB,GAAA,EAACjB,SAAA,CAAAiE,oBAAoB;IACnBrC,IAAI,EAAEhB,GAAG,CAACgB,IAAK;IACfC,OAAO,EAAEjB,GAAG,CAACiB,OAAQ;IACrB4B,eAAe,EAAE7C,GAAG,CAAC6C,eAAgB;IACrCS,SAAS,EAAEtD,GAAG,CAACsD,SAAU;IACzBnC,UAAU,EAAEnB,GAAG,CAACmB,UAAW;IAC3B1B,SAAS,EAAEA,SAAU;IAAAC,QAAA,eAErB,IAAAL,WAAA,CAAAgB,GAAA,EAACvB,WAAA,CAAAkE,sBAAsB,CAACzC,QAAQ;MAACC,KAAK,EAAER,GAAI;MAAAN,QAAA,EAAEA;IAAQ,CAAkC;EAAC,CACrE,CAAC;AAE3B;AAYO,MAAM6D,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAGE,MAAM,CAACC,MAAM,CAACnE,mBAAmB,EAAE;EAChEoE,OAAO,EAAE7C,sBAAsB;EAC/B8C,gBAAgB,EAAEpC,+BAA+B;EACjDqC,cAAc,EAAEjC,6BAA6B;EAC7CkC,QAAQ,EAAE/B,uBAAuB;EACjCgC,OAAO,EAAEX,sBAAsB;EAC/BN,MAAM,EAAEH,qBAAqB;EAC7BqB,WAAW,EAAEf;AACf,CAAC,CAA4B","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactNative","_reactNativeReanimated","_bottomSheet","_primitives","_utils","_Dialog","_BottomSheet","_styles","_jsxRuntime","PickerDialogSurface","open","setOpen","registerSurface","children","useEffect","jsx","Dialog","isOpen","onOpenChange","PickerSheetTextInput","exports","BottomSheetTextInput","PickerBottomSheetSurface","fill","snapPoints","enableDynamicSizing","modalProps","ref","dismiss","useBottomSheet","isPresentedRef","useRef","handleDismiss","useCallback","current","tryPresent","present","frame","requestAnimationFrame","cancelAnimationFrame","BottomSheet","Modal","onDismiss","View","className","onLayout","PickerPopoverSurface","anchorRef","triggerRef","contentClassName","dataSlot","width","contentRef","dismissEnabled","setDismissEnabled","useState","floatingRef","onFloatingLayout","style","useAnchoredOverlay","placement","offset","collisionBehavior","excludeRefs","useDismissOverlay","useEscapeKey","OverlayContainer","entering","FadeIn","duration","exiting","FadeOut","zIndex","PICKER_POPOVER_Z_INDEX","mergeRefs","cn","pickerPopoverContentVariants","accessibilityViewIsModal","dataAttributes","slot","ScrollView","contentContainerClassName","scrollEventThrottle","showsVerticalScrollIndicator"],"sourceRoot":"../../../../src","sources":["components/picker/surfaces.tsx"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAQA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AAAgF,IAAAS,WAAA,GAAAT,OAAA;AAEhF;;AAEO,SAASU,mBAAmBA,CAAC;EAClCC,IAAI;EACJC,OAAO;EACPC,eAAe;EACfC;AAMF,CAAC,EAAE;EACD,IAAAC,gBAAS,EAAC,MAAM;IACdF,eAAe,CAAC,QAAQ,CAAC;EAC3B,CAAC,EAAE,CAACA,eAAe,CAAC,CAAC;EAErB,oBACE,IAAAJ,WAAA,CAAAO,GAAA,EAACV,OAAA,CAAAW,MAAM;IAACC,MAAM,EAAEP,IAAK;IAACQ,YAAY,EAAEP,OAAQ;IAAAE,QAAA,EACzCA;EAAQ,CACH,CAAC;AAEb;AAiBA;AACA;AACA;AACA;AACA;AACO,MAAMM,oBAAoB,GAAAC,OAAA,CAAA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EAAC,CAAC,EAAEhC,SAAS,CAAE;MACzDc,KAAK,EAAEA,KAAM;MACbmB,wBAAwB;MAAA,GACpB,IAAAC,0BAAc,EAAC;QAAEC,IAAI,EAAE7B;MAAS,CAAC,CAAC;MAAArC,QAAA,eAEtC,IAAAL,WAAA,CAAAO,GAAA,EAACf,YAAA,CAAAgF,UAAU;QACTC,yBAAyB,EAAEhC,gBAAiB;QAC5CiC,mBAAmB,EAAE,EAAG;QACxBC,4BAA4B,EAAE,KAAM;QAAAtE,QAAA,EAEnCA;MAAQ,CACC;IAAC,CACT;EAAC,CACS,CAAC;AAEvB","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_reactNative","_reactNativeReanimated","_bottomSheet","_primitives","_utils","_Dialog","_BottomSheet","_styles","_jsxRuntime","PickerDialogSurface","open","setOpen","registerSurface","children","useEffect","jsx","Dialog","isOpen","onOpenChange","PickerSheetTextInput","exports","BottomSheetTextInput","PickerBottomSheetSurface","fill","snapPoints","enableDynamicSizing","modalProps","ref","dismiss","useBottomSheet","isPresentedRef","useRef","handleDismiss","useCallback","current","tryPresent","present","frame","requestAnimationFrame","cancelAnimationFrame","BottomSheet","Modal","onDismiss","View","className","onLayout","PickerPopoverSurface","anchorRef","triggerRef","contentClassName","dataSlot","width","contentRef","dismissEnabled","setDismissEnabled","useState","floatingRef","onFloatingLayout","style","useAnchoredOverlay","placement","offset","collisionBehavior","excludeRefs","useDismissOverlay","useEscapeKey","OverlayContainer","entering","FadeIn","duration","exiting","FadeOut","zIndex","PICKER_POPOVER_Z_INDEX","mergeRefs","cn","pickerPopoverContentVariants","accessibilityViewIsModal","dataAttributes","slot","ScrollView","contentContainerClassName","scrollEventThrottle","showsVerticalScrollIndicator"],"sourceRoot":"../../../../src","sources":["components/picker/surfaces.tsx"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,Y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AEW,WAAW,EAAEnC,OAAO,CAAC;EACnE,IAAAqC,wBAAY,EAACvD,IAAI,EAAEkB,OAAO,CAAC;EAE3B,IAAI,CAAClB,IAAI,EAAE;IACT,OAAO,IAAI;EACb;EAEA,oBACE,IAAAF,WAAA,CAAAO,GAAA,EAACZ,WAAA,CAAA+D,gBAAgB;IACfxB,SAAS,EAAEd,OAAQ;IACnBuC,QAAQ,EAAEC,6BAAM,CAACC,QAAQ,CAAC,GAAG,CAAE;IAC/BC,OAAO,EAAEC,8BAAO,CAACF,QAAQ,CAAC,GAAG,CAAE;IAC/BX,KAAK,EAAE;MAAEc,MAAM,EAAEC;IAAuB,CAAE;IAAA5D,QAAA,eAE1C,IAAAL,WAAA,CAAAO,GAAA,EAACf,YAAA,CAAA2C,IAAI;MACHhB,GAAG,EAAE,IAAA+C,gBAAS,EAACtB,UAAU,EAAEI,WAAW,CAAE;MACxCX,QAAQ,EAAEY,gBAAiB;MAC3Bb,SAAS,EAAE,IAAA+B,SAAE,EAAC,IAAAC,oCAA4B,EAAC,CAAC,EAAEhC,SAAS,CAAE;MACzDc,KAAK,EAAEA,KAAM;MACbmB,wBAAwB;MAAA,GACpB,IAAAC,0BAAc,EAAC;QAAEC,IAAI,EAAE7B;MAAS,CAAC,CAAC;MAAArC,QAAA,eAEtC,IAAAL,WAAA,CAAAO,GAAA,EAACf,YAAA,CAAAgF,UAAU;QACTC,yBAAyB,EAAEhC,gBAAiB;QAC5CiC,mBAAmB,EAAE,EAAG;QACxBC,4BAA4B,EAAE,KAAM;QAAAtE,QAAA,EAEnCA;MAAQ,CACC;IAAC,CACT;EAAC,CACS,CAAC;AAEvB","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
- default: 'heading-xl',
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;MACJC,OAAO,EAAE,YAAY;MACrBC,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
+ {"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":[]}
@@ -130,13 +130,15 @@ function DateRangePickerDialog({
130
130
  });
131
131
  }
132
132
  function DateRangePickerBottomSheet({
133
- children
133
+ children,
134
+ ...sheetProps
134
135
  }) {
135
136
  const ctx = useDateRangePickerContext();
136
137
  return /*#__PURE__*/_jsx(PickerBottomSheetSurface, {
137
138
  open: ctx.open,
138
139
  setOpen: ctx.setOpen,
139
140
  registerSurface: ctx.registerSurface,
141
+ ...sheetProps,
140
142
  children: /*#__PURE__*/_jsx(DateRangePickerContext.Provider, {
141
143
  value: ctx,
142
144
  children: children
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","useMemo","Text","CalendarToday","dataAttributes","DateRangePickerContext","DateRangePickerRoot","DateRangePickerRootPrimitive","mergeDataAttributes","useDateRangePickerContext","cn","ParentContext","useParentContext","Dialog","Icon","RangeCalendar","PickerTrigger","PickerBottomSheetSurface","PickerDialogSurface","PickerPopoverSurface","jsx","_jsx","DATE_FIELD_SCOPE","className","children","style","props","ref","parent","ctx","variant","size","fullWidth","Provider","value","slot","displayName","DateRangePickerTrigger","accessibilityLabel","open","setOpen","disabled","triggerRef","labels","openDateRangePicker","DateRangePickerTriggerIndicator","as","DateRangePickerRangeSeparator","rangeSeparator","DateRangePickerCalendar","startValue","endValue","onRangeChange","focusedField","setFocusedField","locale","onFocusedFieldChange","range","startId","endId","DateRangePickerDialog","registerSurface","Popup","DateRangePickerBottomSheet","DateRangePickerPopover","anchorRef","DateRangePicker","Object","assign","Trigger","TriggerIndicator","RangeSeparator","Calendar","Popover","BottomSheet"],"sourceRoot":"../../../../src","sources":["components/DateRangePicker/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,OAAO,QAAwB,OAAO;AAC3D,SAASC,IAAI,QAA8B,cAAc;AACzD,SAASC,aAAa,QAAQ,eAAe;AAC7C,SACEC,cAAc,EACdC,sBAAsB,EACtBC,mBAAmB,IAAIC,4BAA4B,EACnDC,mBAAmB,EACnBC,yBAAyB,QAEpB,oBAAoB;AAC3B,SAASC,EAAE,EAAEC,aAAa,EAAEC,gBAAgB,QAAQ,eAAe;AACnE,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,IAAI,QAAQ,SAAS;AAC9B,SAASC,aAAa,QAAiC,kBAAkB;AACzE,SAASC,aAAa,QAAiC,yBAAyB;AAChF,SACEC,wBAAwB,EACxBC,mBAAmB,EACnBC,oBAAoB,QACf,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAU5B,MAAMC,gBAAgB,GAAG,YAAY;AAErC,MAAMhB,mBAAmB,gBAAGN,UAAU,CACpC,CAAC;EAAEuB,S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G,CAACgC,eAAgB;IACrCI,SAAS,EAAEpC,GAAG,CAACoC,SAAU;IACzBvB,UAAU,EAAEb,GAAG,CAACa,UAAW;IAC3BnB,SAAS,EAAEA,SAAU;IAAAC,QAAA,eAErBH,IAAA,CAAChB,sBAAsB,CAAC4B,QAAQ;MAACC,KAAK,EAAEL,GAAI;MAAAL,QAAA,EAAEA;IAAQ,CAAkC;EAAC,CACrE,CAAC;AAE3B;AAYA,OAAO,MAAM0C,eAAe,GAAGC,MAAM,CAACC,MAAM,CAAC9D,mBAAmB,EAAE;EAChE+D,OAAO,EAAEhC,sBAAsB;EAC/BiC,gBAAgB,EAAEzB,+BAA+B;EACjD0B,cAAc,EAAExB,6BAA6B;EAC7CyB,QAAQ,EAAEvB,uBAAuB;EACjCwB,OAAO,EAAET,sBAAsB;EAC/BnD,MAAM,EAAE+C,qBAAqB;EAC7Bc,WAAW,EAAEX;AACf,CAAC,CAA4B","ignoreList":[]}
1
+ {"version":3,"names":["forwardRef","useMemo","Text","CalendarToday","dataAttributes","DateRangePickerContext","DateRangePickerRoot","DateRangePickerRootPrimitive","mergeDataAttributes","useDateRangePickerContext","cn","ParentContext","useParentContext","Dialog","Icon","RangeCalendar","PickerTrigger","PickerBottomSheetSurface","PickerDialogSurface","PickerPopoverSurface","jsx","_jsx","DATE_FIELD_SCOPE","className","children","style","props","ref","parent","ctx","variant","size","fullWidth","Provider","value","slot","displayName","DateRangePickerTrigger","accessibilityLabel","open","setOpen","disabled","triggerRef","labels","openDateRangePicker","DateRangePickerTriggerIndicator","as","DateRangePickerRangeSeparator","rangeSeparator","DateRangePickerCalendar","startValue","endValue","onRangeChange","focusedField","setFocusedField","locale","onFocusedFieldChange","range","startId","endId","DateRangePickerDialog","registerSurface","Popup","DateRangePickerBottomSheet","sheetProps","DateRangePickerPopover","anchorRef","DateRangePicker","Object","assign","Trigger","TriggerIndicator","RangeSeparator","Calendar","Popover","BottomSheet"],"sourceRoot":"../../../../src","sources":["components/DateRangePicker/index.ts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A4B","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["useCallback","useEffect","useRef","useState","ScrollView","View","FadeIn","FadeOut","BottomSheetTextInput","dataAttributes","OverlayContainer","useAnchoredOverlay","useDismissOverlay","useEscapeKey","cn","mergeRefs","Dialog","BottomSheet","useBottomSheet","PICKER_POPOVER_Z_INDEX","pickerPopoverContentVariants","jsx","_jsx","PickerDialogSurface","open","setOpen","registerSurface","children","isOpen","onOpenChange","PickerSheetTextInput","PickerBottomSheetSurface","fill","snapPoints","enableDynamicSizing","modalProps","ref","dismiss","isPresentedRef","handleDismiss","current","tryPresent","present","frame","requestAnimationFrame","cancelAnimationFrame","Modal","onDismiss","className","onLayout","PickerPopoverSurface","anchorRef","triggerRef","contentClassName","dataSlot","width","contentRef","dismissEnabled","setDismissEnabled","floatingRef","onFloatingLayout","style","placement","offset","collisionBehavior","excludeRefs","entering","duration","exiting","zIndex","accessibilityViewIsModal","slot","contentContainerClassName","scrollEventThrottle","showsVerticalScrollIndicator"],"sourceRoot":"../../../../src","sources":["components/picker/surfaces.tsx"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAwC,OAAO;AAChG,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,MAAM,EAAEC,OAAO,QAAQ,yBAAyB;AACzD,SAASC,oBAAoB,QAAQ,sBAAsB;AAC3D,SACEC,cAAc,EACdC,gBAAgB,EAChBC,kBAAkB,EAClBC,iBAAiB,EACjBC,YAAY,QAEP,oBAAoB;AAC3B,SAASC,EAAE,EAAEC,SAAS,QAAQ,eAAe;AAC7C,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,WAAW,EAAEC,cAAc,QAAoC,gBAAgB;AACxF,SAASC,sBAAsB,EAAEC,4BAA4B,QAAQ,UAAU;;AAE/E;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAEA,OAAO,SAASC,mBAAmBA,CAAC;EAClCC,IAAI;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AAQ,EAAEW,gBAAiB;MAC3BZ,SAAS,EAAElC,EAAE,CAACM,4BAA4B,CAAC,CAAC,EAAE4B,SAAS,CAAE;MACzDa,KAAK,EAAEA,KAAM;MACbS,wBAAwB;MAAA,GACpB7D,cAAc,CAAC;QAAE8D,IAAI,EAAEjB;MAAS,CAAC,CAAC;MAAA3B,QAAA,eAEtCL,IAAA,CAAClB,UAAU;QACToE,yBAAyB,EAAEnB,gBAAiB;QAC5CoB,mBAAmB,EAAE,EAAG;QACxBC,4BAA4B,EAAE,KAAM;QAAA/C,QAAA,EAEnCA;MAAQ,CACC;IAAC,CACT;EAAC,CACS,CAAC;AAEvB","ignoreList":[]}
1
+ {"version":3,"names":["useCallback","useEffect","useRef","useState","ScrollView","View","FadeIn","FadeOut","BottomSheetTextInput","dataAttributes","OverlayContainer","useAnchoredOverlay","useDismissOverlay","useEscapeKey","cn","mergeRefs","Dialog","BottomSheet","useBottomSheet","PICKER_POPOVER_Z_INDEX","pickerPopoverContentVariants","jsx","_jsx","PickerDialogSurface","open","setOpen","registerSurface","children","isOpen","onOpenChange","PickerSheetTextInput","PickerBottomSheetSurface","fill","snapPoints","enableDynamicSizing","modalProps","ref","dismiss","isPresentedRef","handleDismiss","current","tryPresent","present","frame","requestAnimationFrame","cancelAnimationFrame","Modal","onDismiss","className","onLayout","PickerPopoverSurface","anchorRef","triggerRef","contentClassName","dataSlot","width","contentRef","dismissEnabled","setDismissEnabled","floatingRef","onFloatingLayout","style","placement","offset","collisionBehavior","excludeRefs","entering","duration","exiting","zIndex","accessibilityViewIsModal","slot","contentContainerClassName","scrollEventThrottle","showsVerticalScrollIndicator"],"sourceRoot":"../../../../src","sources":["components/picker/surfaces.tsx"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAwC,OAAO;AAChG,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,MAAM,EAAEC,OAAO,QAAQ,yBAAyB;AAC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AIxC,yBAA8B,KAAG,MASnC,CAAC;AAGF,eAAO,MAAM,2BAA2B;;8EAavC,CAAC"}
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"}
@@ -1,6 +1,7 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { View, type ViewProps } from 'react-native';
3
3
  import { type DateRangePickerRootProps as DateRangePickerRootPrimitiveProps } from '@cdx-ui/primitives';
4
+ import type { BottomSheetModalProps } from '../BottomSheet';
4
5
  import { type RangeCalendarProps } from '../RangeCalendar';
5
6
  import { type PickerTriggerProps } from '../picker/PickerTrigger';
6
7
  export type { DateRangeValue } from '@cdx-ui/primitives';
@@ -25,9 +26,32 @@ declare const DateRangePickerCalendar: import("react").ForwardRefExoticComponent
25
26
  declare function DateRangePickerDialog({ children }: {
26
27
  children: ReactNode;
27
28
  }): import("react/jsx-runtime").JSX.Element;
28
- declare function DateRangePickerBottomSheet({ children }: {
29
+ export interface DateRangePickerBottomSheetProps {
29
30
  children: ReactNode;
30
- }): import("react/jsx-runtime").JSX.Element;
31
+ /**
32
+ * Heights the sheet snaps to, as percentages of the screen or pixel values.
33
+ * @default ['70%', '90%']
34
+ */
35
+ snapPoints?: BottomSheetModalProps['snapPoints'];
36
+ /**
37
+ * Sizes the sheet to its content and adds that height as a snap point.
38
+ * @default false
39
+ */
40
+ enableDynamicSizing?: BottomSheetModalProps['enableDynamicSizing'];
41
+ /**
42
+ * How the sheet opens over a sheet that is already presented: `push` keeps that sheet
43
+ * underneath, `switch` minimizes it until this sheet closes, and `replace` dismisses it.
44
+ * @default 'switch'
45
+ */
46
+ stackBehavior?: BottomSheetModalProps['stackBehavior'];
47
+ /**
48
+ * Lays the children out in a container that fills the sheet, so a fixed header can sit above a
49
+ * `BottomSheet.ScrollView`. By default the children size a `BottomSheet.View`.
50
+ * @default false
51
+ */
52
+ fill?: boolean;
53
+ }
54
+ declare function DateRangePickerBottomSheet({ children, ...sheetProps }: DateRangePickerBottomSheetProps): import("react/jsx-runtime").JSX.Element;
31
55
  declare function DateRangePickerPopover({ children, className, }: {
32
56
  children: ReactNode;
33
57
  className?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAQ,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EAML,KAAK,wBAAwB,IAAI,iCAAiC,EACnE,MAAM,oBAAoB,CAAC;AAI5B,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAOjF,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,WAAW,oBACf,SAAQ,iCAAiC,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAID,QAAA,MAAM,mBAAmB,uGAyBxB,CAAC;AAWF,QAAA,MAAM,sBAAsB;yBAHL,MAAM;wCAkB5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E,GAAG,UAAU,EAAE,EAAE,+BAA+B,2CAY/F;AAED,iBAAS,sBAAsB,CAAC,EAC9B,QAAQ,EACR,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAcA;AAED,KAAK,uBAAuB,GAAG,OAAO,mBAAmB,GAAG;IAC1D,OAAO,EAAE,OAAO,sBAAsB,CAAC;IACvC,gBAAgB,EAAE,OAAO,+BAA+B,CAAC;IACzD,cAAc,EAAE,OAAO,6BAA6B,CAAC;IACrD,QAAQ,EAAE,OAAO,uBAAuB,CAAC;IACzC,OAAO,EAAE,OAAO,sBAAsB,CAAC;IACvC,MAAM,EAAE,OAAO,qBAAqB,CAAC;IACrC,WAAW,EAAE,OAAO,0BAA0B,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,eAAe,EAQtB,uBAAuB,CAAC"}
@@ -18,7 +18,7 @@ type PickerBottomSheetSurfaceProps = {
18
18
  */
19
19
  fill?: boolean;
20
20
  children: ReactNode;
21
- } & Pick<BottomSheetModalProps, 'snapPoints' | 'enableDynamicSizing' | 'keyboardBehavior' | 'keyboardBlurBehavior' | 'accessible'>;
21
+ } & Pick<BottomSheetModalProps, 'snapPoints' | 'enableDynamicSizing' | 'stackBehavior' | 'keyboardBehavior' | 'keyboardBlurBehavior' | 'accessible'>;
22
22
  /**
23
23
  * Text input for a picker sheet. It registers with the sheet's keyboard handling, which moves
24
24
  * the sheet for a focused `BottomSheetTextInput` only; a plain `TextInput` stays under the
@@ -1 +1 @@
1
- {"version":3,"file":"surfaces.d.ts","sourceRoot":"","sources":["../../../../src/components/picker/surfaces.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjG,OAAO,EAAc,IAAI,EAAE,MAAM,cAAc,CAAC;AAGhD,OAAO,EAML,KAAK,kBAAkB,EACxB,MAAM,oBAAoB,CAAC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AC;CACrB,GAAG,IAAI,CACN,qBAAqB,EACnB,YAAY,GACZ,qBAAqB,GACrB,eAAe,GACf,kBAAkB,GAClB,sBAAsB,GACtB,YAAY,CACf,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,uRAAuB,CAAC;AAEzD,wBAAgB,wBAAwB,CAAC,EACvC,IAAI,EACJ,OAAO,EACP,eAAe,EACf,IAAY,EACZ,QAAQ,EACR,UAA2B,EAC3B,mBAA2B,EAC3B,GAAG,UAAU,EACd,EAAE,6BAA6B,2CAsD/B;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,eAAe,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAC3C,SAAS,EAAE,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IAClC,UAAU,CAAC,EAAE,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC5B;AAED,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,OAAO,EACP,eAAe,EACf,SAAS,EACT,UAAU,EACV,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,KAAgB,GACjB,EAAE,yBAAyB,kDA+D3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdx-ui/components",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
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.8",
110
- "@cdx-ui/icons": "0.3.8",
111
- "@cdx-ui/primitives": "0.3.8",
112
- "@cdx-ui/utils": "0.3.8"
109
+ "@cdx-ui/formatters": "0.3.10",
110
+ "@cdx-ui/icons": "0.3.10",
111
+ "@cdx-ui/primitives": "0.3.10",
112
+ "@cdx-ui/utils": "0.3.10"
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
- default: 'heading-xl',
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
  },
@@ -10,6 +10,7 @@ import {
10
10
  type DateRangePickerRootProps as DateRangePickerRootPrimitiveProps,
11
11
  } from '@cdx-ui/primitives';
12
12
  import { cn, ParentContext, useParentContext } from '@cdx-ui/utils';
13
+ import type { BottomSheetModalProps } from '../BottomSheet';
13
14
  import { Dialog } from '../Dialog';
14
15
  import { Icon } from '../Icon';
15
16
  import { RangeCalendar, type RangeCalendarProps } from '../RangeCalendar';
@@ -146,13 +147,40 @@ function DateRangePickerDialog({ children }: { children: ReactNode }) {
146
147
  );
147
148
  }
148
149
 
149
- function DateRangePickerBottomSheet({ children }: { children: ReactNode }) {
150
+ export interface DateRangePickerBottomSheetProps {
151
+ children: ReactNode;
152
+ /**
153
+ * Heights the sheet snaps to, as percentages of the screen or pixel values.
154
+ * @default ['70%', '90%']
155
+ */
156
+ snapPoints?: BottomSheetModalProps['snapPoints'];
157
+ /**
158
+ * Sizes the sheet to its content and adds that height as a snap point.
159
+ * @default false
160
+ */
161
+ enableDynamicSizing?: BottomSheetModalProps['enableDynamicSizing'];
162
+ /**
163
+ * How the sheet opens over a sheet that is already presented: `push` keeps that sheet
164
+ * underneath, `switch` minimizes it until this sheet closes, and `replace` dismisses it.
165
+ * @default 'switch'
166
+ */
167
+ stackBehavior?: BottomSheetModalProps['stackBehavior'];
168
+ /**
169
+ * Lays the children out in a container that fills the sheet, so a fixed header can sit above a
170
+ * `BottomSheet.ScrollView`. By default the children size a `BottomSheet.View`.
171
+ * @default false
172
+ */
173
+ fill?: boolean;
174
+ }
175
+
176
+ function DateRangePickerBottomSheet({ children, ...sheetProps }: DateRangePickerBottomSheetProps) {
150
177
  const ctx = useDateRangePickerContext();
151
178
  return (
152
179
  <PickerBottomSheetSurface
153
180
  open={ctx.open}
154
181
  setOpen={ctx.setOpen}
155
182
  registerSurface={ctx.registerSurface}
183
+ {...sheetProps}
156
184
  >
157
185
  <DateRangePickerContext.Provider value={ctx}>{children}</DateRangePickerContext.Provider>
158
186
  </PickerBottomSheetSurface>
@@ -51,7 +51,12 @@ type PickerBottomSheetSurfaceProps = {
51
51
  children: ReactNode;
52
52
  } & Pick<
53
53
  BottomSheetModalProps,
54
- 'snapPoints' | 'enableDynamicSizing' | 'keyboardBehavior' | 'keyboardBlurBehavior' | 'accessible'
54
+ | 'snapPoints'
55
+ | 'enableDynamicSizing'
56
+ | 'stackBehavior'
57
+ | 'keyboardBehavior'
58
+ | 'keyboardBlurBehavior'
59
+ | 'accessible'
55
60
  >;
56
61
 
57
62
  /**