@maxio-com/react-ui-components 9.29.3 → 9.30.2
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/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/skills/maxio-react/references/components-calendar.md +34 -0
- package/dist/skills/maxio-react/references/components-forms-datepicker.md +29 -9
- package/dist/skills/maxio-react/references/components-forms-daterangepicker.md +29 -9
- package/dist/skills/maxio-react/references/components-rangecalendar.md +35 -7
- package/dist/skills/maxio-react/references/migration-guides-v9.md +126 -40
- package/dist/temporary-typings/src/components/ActionList/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Buttons/Button/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Calendar/Calendar.d.ts +1 -1
- package/dist/temporary-typings/src/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Calendar/CalendarTitle.d.ts +7 -0
- package/dist/temporary-typings/src/components/Calendar/CalendarTitle.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Calendar/index.d.ts +1 -1
- package/dist/temporary-typings/src/components/Calendar/index.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Calendar/types.d.ts +2 -0
- package/dist/temporary-typings/src/components/Calendar/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/CopyToClipboard/CopyToClipboard.types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/DataTable/utils/rowReorderAvailability.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Grid/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Link/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/RangeCalendar/RangeCalendar.d.ts +1 -1
- package/dist/temporary-typings/src/components/RangeCalendar/RangeCalendar.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/RangeCalendar/types.d.ts +2 -0
- package/dist/temporary-typings/src/components/RangeCalendar/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/SideNav/contexts/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tabs/TabList/TabList.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/Tabs/TabPanel/TabPanel.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/Checkbox/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/DatePicker/DatePicker.d.ts +1 -1
- package/dist/temporary-typings/src/components/forms/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/DatePicker/types.d.ts +2 -0
- package/dist/temporary-typings/src/components/forms/DatePicker/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/temporary-typings/src/components/forms/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/DateRangePicker/types.d.ts +2 -0
- package/dist/temporary-typings/src/components/forms/DateRangePicker/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/Select/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/TextArea/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/TextField/types.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/forms/TextInput/TextInput.d.ts.map +1 -1
- package/dist/temporary-typings/src/components/index.d.ts +1 -1
- package/dist/temporary-typings/src/components/index.d.ts.map +1 -1
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/typings/index.d.ts +16 -11
|
@@ -21,6 +21,7 @@ Calendar displays a localized month grid for selecting a single date.
|
|
|
21
21
|
| Variant | Purpose | Usage notes |
|
|
22
22
|
| :---------------- | :---------------------------- | :----------------------------------------------------------------- |
|
|
23
23
|
| Default | Select one date | Displays one month at a time. |
|
|
24
|
+
| Year picker | Jump between years | Adds month and year pickers; years respect minimum and maximum. |
|
|
24
25
|
| Date restrictions | Limit available dates | Use minimum and maximum dates and mark specific dates unavailable. |
|
|
25
26
|
| Disabled | Prevent interaction | Use when the calendar cannot be used in the current context. |
|
|
26
27
|
| Read only | Display an existing selection | Users can browse without changing the selected date. |
|
|
@@ -29,6 +30,7 @@ Calendar displays a localized month grid for selecting a single date.
|
|
|
29
30
|
### Behavior
|
|
30
31
|
|
|
31
32
|
- **Mouse and touch**: select an available date or use the previous and next buttons to browse months.
|
|
33
|
+
- **Month and year pickers**: with `navigation` set to `year`, choosing an option moves the visible month without changing the selected date.
|
|
32
34
|
- **Keyboard**: arrow keys move between dates; Enter or Space selects the focused date. Page Up and Page Down browse months.
|
|
33
35
|
- **Focus management**: the date grid uses one tab stop. Moving focus does not select a date until the user activates it.
|
|
34
36
|
- **Localization**: the locale determines date labels, weekday order, and reading direction.
|
|
@@ -86,6 +88,29 @@ Use `minValue`, `maxValue`, and `isDateUnavailable` to constrain selection.
|
|
|
86
88
|
`isReadOnly` allows browsing without changing the value; `isDisabled` disables
|
|
87
89
|
interaction. Pair `isInvalid` with `errorMessage` for validation feedback.
|
|
88
90
|
|
|
91
|
+
### Navigation
|
|
92
|
+
|
|
93
|
+
Use `navigation` to control how users move between dates from the header. The
|
|
94
|
+
pickers use React Aria's `CalendarMonthPicker` and `CalendarYearPicker` and
|
|
95
|
+
render with the `Select` component.
|
|
96
|
+
|
|
97
|
+
| Value | Header |
|
|
98
|
+
| :------ | :------------------------------------------------------ |
|
|
99
|
+
| `month` | Month and year heading with previous and next (default) |
|
|
100
|
+
| `year` | Month picker and year picker with previous and next |
|
|
101
|
+
|
|
102
|
+
```tsx
|
|
103
|
+
<Calendar
|
|
104
|
+
aria-label="Contract start date"
|
|
105
|
+
navigation="year"
|
|
106
|
+
defaultValue={parseDate('2026-09-09')}
|
|
107
|
+
/>
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
The year picker shows 20 years around the focused date, limited by `minValue`
|
|
111
|
+
and `maxValue`. Months outside `minValue` and `maxValue` are disabled in the
|
|
112
|
+
month picker.
|
|
113
|
+
|
|
89
114
|
### Localization
|
|
90
115
|
|
|
91
116
|
Wrap Calendar in React Aria's `I18nProvider` to set the locale, week start,
|
|
@@ -116,6 +141,7 @@ import { Calendar, I18nProvider } from "@maxio-com/react-ui-components";
|
|
|
116
141
|
| Prop | Type | Required | Default | Description | Source |
|
|
117
142
|
| --- | --- | --- | --- | --- | --- |
|
|
118
143
|
| `errorMessage` | `string` | no | - | Message announced when the selected date is invalid. | CalendarProps |
|
|
144
|
+
| `navigation` | `"month" \| "year"` | no | `month` | How users move between dates from the header. `month` shows the month and year as a heading with previous and next buttons, and `year` replaces the heading with month and year pickers. | CalendarProps |
|
|
119
145
|
|
|
120
146
|
## Stories
|
|
121
147
|
|
|
@@ -127,6 +153,14 @@ Use Default when users need to select one date from a visible month grid.
|
|
|
127
153
|
const Default = () => <Calendar aria-label="Billing date" defaultValue={referenceDate} />;
|
|
128
154
|
```
|
|
129
155
|
|
|
156
|
+
### Year Picker
|
|
157
|
+
|
|
158
|
+
Use Year Picker when the selected date may be several years away, such as contract start or renewal dates.
|
|
159
|
+
|
|
160
|
+
```tsx
|
|
161
|
+
const YearPicker = () => <Calendar aria-label="Billing date" defaultValue={referenceDate} navigation="year" />;
|
|
162
|
+
```
|
|
163
|
+
|
|
130
164
|
### Controlled
|
|
131
165
|
|
|
132
166
|
Use Controlled when application state owns the selected date.
|
|
@@ -19,15 +19,16 @@ DatePicker combines localized date entry with a calendar popover for selecting o
|
|
|
19
19
|
|
|
20
20
|
### Variants
|
|
21
21
|
|
|
22
|
-
| Variant | Purpose | Usage notes
|
|
23
|
-
| :---------------- | :------------------------------- |
|
|
24
|
-
| Default | Enter a date | Provide a specific label.
|
|
25
|
-
| Empty | Start without a value | Date placeholders follow the locale.
|
|
26
|
-
| Disabled | Prevent interaction | Use when the field is unavailable.
|
|
27
|
-
| Read only | Prevent edits | Keep the existing value available to read.
|
|
28
|
-
| Invalid | Explain a validation failure | Supply an actionable error message.
|
|
29
|
-
| Date restrictions | Limit permitted dates | Explain the limits in the description.
|
|
30
|
-
|
|
|
22
|
+
| Variant | Purpose | Usage notes |
|
|
23
|
+
| :---------------- | :------------------------------- | :------------------------------------------ |
|
|
24
|
+
| Default | Enter a date | Provide a specific label. |
|
|
25
|
+
| Empty | Start without a value | Date placeholders follow the locale. |
|
|
26
|
+
| Disabled | Prevent interaction | Use when the field is unavailable. |
|
|
27
|
+
| Read only | Prevent edits | Keep the existing value available to read. |
|
|
28
|
+
| Invalid | Explain a validation failure | Supply an actionable error message. |
|
|
29
|
+
| Date restrictions | Limit permitted dates | Explain the limits in the description. |
|
|
30
|
+
| Year picker | Jump months or years away | Adds month and year pickers to the popover. |
|
|
31
|
+
| Presets | Offer frequently used selections | Give each shortcut a clear label. |
|
|
31
32
|
|
|
32
33
|
### Behavior
|
|
33
34
|
|
|
@@ -87,6 +88,16 @@ A cleared value is `null`. Use `name` for native form submission.
|
|
|
87
88
|
Use `isRequired`, `validate`, and `validationBehavior` for validation. Pair custom
|
|
88
89
|
invalid state with `isInvalid` and `errorMessage`.
|
|
89
90
|
|
|
91
|
+
### Navigation
|
|
92
|
+
|
|
93
|
+
Set `navigation="year"` to add month and year pickers to the calendar popover,
|
|
94
|
+
so users can jump months or years away. The default, `month`, shows a heading
|
|
95
|
+
with previous and next buttons.
|
|
96
|
+
|
|
97
|
+
```tsx
|
|
98
|
+
<DatePicker label="Contract start" navigation="year" />
|
|
99
|
+
```
|
|
100
|
+
|
|
90
101
|
### Localization
|
|
91
102
|
|
|
92
103
|
Use React Aria's `I18nProvider`, as shown in the International story, to set date
|
|
@@ -115,6 +126,7 @@ import { DatePicker, I18nProvider } from "@maxio-com/react-ui-components";
|
|
|
115
126
|
| `description` | `ReactNode` | no | - | Instructions associated with the field. | DatePickerProps |
|
|
116
127
|
| `errorMessage` | `ReactNode \| ((validation: ValidationResult) => ReactNode)` | no | - | Validation feedback, or a function formatting native validation errors. | DatePickerProps |
|
|
117
128
|
| `label` | `ReactNode` | no | - | Visible accessible label. Supply aria-label when omitted. | DatePickerProps |
|
|
129
|
+
| `navigation` | `"month" \| "year"` | no | `'month'` | How users move between dates from the calendar header. `month` shows a heading with previous and next buttons, and `year` adds month and year pickers. | DatePickerProps |
|
|
118
130
|
| `presets` | `readonly DatePreset<T>[]` | no | - | Optional shortcuts. Values use the same date type as the picker. | DatePickerProps |
|
|
119
131
|
| `presetsLabel` | `string` | no | - | Accessible name for the preset group; localize alongside preset labels. | DatePickerProps |
|
|
120
132
|
|
|
@@ -136,6 +148,14 @@ Use when users should make an explicit selection. Placeholders and segment order
|
|
|
136
148
|
const Empty = () => <DatePicker label="Billing date" defaultValue={undefined} />;
|
|
137
149
|
```
|
|
138
150
|
|
|
151
|
+
### Year Picker
|
|
152
|
+
|
|
153
|
+
Use when users may need to jump months or years away. Adds month and year pickers to the calendar popover.
|
|
154
|
+
|
|
155
|
+
```tsx
|
|
156
|
+
const YearPicker = () => <DatePicker label="Billing date" defaultValue={initialValue} navigation="year" />;
|
|
157
|
+
```
|
|
158
|
+
|
|
139
159
|
### Controlled
|
|
140
160
|
|
|
141
161
|
Use when application state owns the selection. Apply onChange values back to value to display edits.
|
|
@@ -19,15 +19,16 @@ DateRangePicker combines two localized date inputs with a calendar popover for s
|
|
|
19
19
|
|
|
20
20
|
### Variants
|
|
21
21
|
|
|
22
|
-
| Variant | Purpose | Usage notes
|
|
23
|
-
| :---------------- | :------------------------------- |
|
|
24
|
-
| Default | Choose a date range | Provide a specific label.
|
|
25
|
-
| Empty | Start without a value | Date placeholders follow the locale.
|
|
26
|
-
| Disabled | Prevent interaction | Use when the field is unavailable.
|
|
27
|
-
| Read only | Prevent edits | Keep the existing value available to read.
|
|
28
|
-
| Invalid | Explain a validation failure | Supply an actionable error message.
|
|
29
|
-
| Date restrictions | Limit permitted dates | Explain the limits in the description.
|
|
30
|
-
|
|
|
22
|
+
| Variant | Purpose | Usage notes |
|
|
23
|
+
| :---------------- | :------------------------------- | :------------------------------------------ |
|
|
24
|
+
| Default | Choose a date range | Provide a specific label. |
|
|
25
|
+
| Empty | Start without a value | Date placeholders follow the locale. |
|
|
26
|
+
| Disabled | Prevent interaction | Use when the field is unavailable. |
|
|
27
|
+
| Read only | Prevent edits | Keep the existing value available to read. |
|
|
28
|
+
| Invalid | Explain a validation failure | Supply an actionable error message. |
|
|
29
|
+
| Date restrictions | Limit permitted dates | Explain the limits in the description. |
|
|
30
|
+
| Year picker | Jump months or years away | Adds month and year pickers to the popover. |
|
|
31
|
+
| Presets | Offer frequently used selections | Give each shortcut a clear label. |
|
|
31
32
|
|
|
32
33
|
### Behavior
|
|
33
34
|
|
|
@@ -88,6 +89,16 @@ A complete range has `{ start, end }` endpoints; a cleared range is `null`. Use
|
|
|
88
89
|
Use `isRequired`, `validate`, and `validationBehavior` for validation. Pair custom
|
|
89
90
|
invalid state with `isInvalid` and `errorMessage`.
|
|
90
91
|
|
|
92
|
+
### Navigation
|
|
93
|
+
|
|
94
|
+
Set `navigation="year"` to add month and year pickers to the calendar popover,
|
|
95
|
+
so users can jump months or years away. The default, `month`, shows a heading
|
|
96
|
+
with previous and next buttons.
|
|
97
|
+
|
|
98
|
+
```tsx
|
|
99
|
+
<DateRangePicker label="Contract start" navigation="year" />
|
|
100
|
+
```
|
|
101
|
+
|
|
91
102
|
### Localization
|
|
92
103
|
|
|
93
104
|
Use React Aria's `I18nProvider`, as shown in the International story, to set date
|
|
@@ -121,6 +132,7 @@ import { DateRangePicker, I18nProvider } from "@maxio-com/react-ui-components";
|
|
|
121
132
|
| `description` | `ReactNode` | no | - | Instructions associated with the field. | DateRangePickerProps |
|
|
122
133
|
| `errorMessage` | `ReactNode \| ((validation: ValidationResult) => ReactNode)` | no | - | Validation feedback, or a function formatting native validation errors. | DateRangePickerProps |
|
|
123
134
|
| `label` | `ReactNode` | no | - | Visible accessible label. Supply aria-label when omitted. | DateRangePickerProps |
|
|
135
|
+
| `navigation` | `"month" \| "year"` | no | `'month'` | How users move between dates from the calendar header. `month` shows a heading with previous and next buttons, and `year` adds month and year pickers. | DateRangePickerProps |
|
|
124
136
|
| `presets` | `readonly DateRangePreset<T>[]` | no | - | Optional shortcuts. Values use the same date type as the picker. | DateRangePickerProps |
|
|
125
137
|
| `presetsLabel` | `string` | no | - | Accessible name for the preset group; localize alongside preset labels. | DateRangePickerProps |
|
|
126
138
|
|
|
@@ -142,6 +154,14 @@ Use when users should make an explicit selection. Placeholders and segment order
|
|
|
142
154
|
const Empty = () => <DateRangePicker label="Billing period" defaultValue={undefined} />;
|
|
143
155
|
```
|
|
144
156
|
|
|
157
|
+
### Year Picker
|
|
158
|
+
|
|
159
|
+
Use when users may need to jump months or years away. Adds month and year pickers to the calendar popover.
|
|
160
|
+
|
|
161
|
+
```tsx
|
|
162
|
+
const YearPicker = () => <DateRangePicker label="Billing period" defaultValue={initialValue} navigation="year" />;
|
|
163
|
+
```
|
|
164
|
+
|
|
145
165
|
### Controlled
|
|
146
166
|
|
|
147
167
|
Use when application state owns the selection. Apply onChange values back to value to display edits.
|
|
@@ -18,13 +18,14 @@ RangeCalendar displays a localized month grid for selecting a date range.
|
|
|
18
18
|
|
|
19
19
|
### Variants
|
|
20
20
|
|
|
21
|
-
| Variant | Purpose | Usage notes
|
|
22
|
-
| :---------------- | :---------------------------- |
|
|
23
|
-
| Default | Select a date range | Displays one month at a time.
|
|
24
|
-
|
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
|
21
|
+
| Variant | Purpose | Usage notes |
|
|
22
|
+
| :---------------- | :---------------------------- | :------------------------------------------------------------------- |
|
|
23
|
+
| Default | Select a date range | Displays one month at a time. |
|
|
24
|
+
| Year picker | Jump between years | Adds month and year pickers; months outside the bounds are disabled. |
|
|
25
|
+
| Date restrictions | Limit available dates | Use minimum and maximum dates and mark specific dates unavailable. |
|
|
26
|
+
| Disabled | Prevent interaction | Use when the calendar cannot be used in the current context. |
|
|
27
|
+
| Read only | Display an existing selection | Users can browse without changing the selected range. |
|
|
28
|
+
| Invalid | Explain a validation problem | Pair the invalid state with a specific error message. |
|
|
28
29
|
|
|
29
30
|
### Behavior
|
|
30
31
|
|
|
@@ -102,6 +103,17 @@ interaction. Pair `isInvalid` with `errorMessage` for validation feedback.
|
|
|
102
103
|
|
|
103
104
|
By default, ranges cannot cross unavailable dates. Set `allowsNonContiguousRanges` to allow unavailable dates inside the range while keeping endpoints selectable.
|
|
104
105
|
|
|
106
|
+
### Navigation
|
|
107
|
+
|
|
108
|
+
Set `navigation="year"` to replace the heading with month and year pickers
|
|
109
|
+
built from React Aria's `CalendarMonthPicker` and `CalendarYearPicker` and our
|
|
110
|
+
`Select` component. The default, `month`, shows a heading. Options outside
|
|
111
|
+
`minValue` and `maxValue` are disabled.
|
|
112
|
+
|
|
113
|
+
```tsx
|
|
114
|
+
<RangeCalendar aria-label="Contract term" navigation="year" />
|
|
115
|
+
```
|
|
116
|
+
|
|
105
117
|
### Localization
|
|
106
118
|
|
|
107
119
|
Wrap RangeCalendar in React Aria's `I18nProvider` to set the locale, week start,
|
|
@@ -135,6 +147,7 @@ import { I18nProvider, RangeCalendar } from "@maxio-com/react-ui-components";
|
|
|
135
147
|
| Prop | Type | Required | Default | Description | Source |
|
|
136
148
|
| --- | --- | --- | --- | --- | --- |
|
|
137
149
|
| `errorMessage` | `string` | no | - | Message announced when the selected range is invalid. | RangeCalendarProps |
|
|
150
|
+
| `navigation` | `"month" \| "year"` | no | `month` | How users move between dates from the header. `month` shows the month and year as a heading with previous and next buttons, and `year` replaces the heading with month and year pickers. | RangeCalendarProps |
|
|
138
151
|
|
|
139
152
|
## Stories
|
|
140
153
|
|
|
@@ -152,6 +165,21 @@ const Default = () => <RangeCalendar
|
|
|
152
165
|
}} />;
|
|
153
166
|
```
|
|
154
167
|
|
|
168
|
+
### Year Picker
|
|
169
|
+
|
|
170
|
+
Use Year Picker when the range may start several months or years away.
|
|
171
|
+
|
|
172
|
+
```tsx
|
|
173
|
+
const YearPicker = () => <RangeCalendar
|
|
174
|
+
aria-label="Billing period"
|
|
175
|
+
defaultFocusedValue={referenceDate}
|
|
176
|
+
defaultValue={{
|
|
177
|
+
start: referenceDate.subtract({ days: 3 }),
|
|
178
|
+
end: referenceDate.add({ days: 3 }),
|
|
179
|
+
}}
|
|
180
|
+
navigation="year" />;
|
|
181
|
+
```
|
|
182
|
+
|
|
155
183
|
### Controlled
|
|
156
184
|
|
|
157
185
|
Use Controlled when application state owns the selected range.
|
|
@@ -95,89 +95,175 @@ import { TextField } from '@maxio-com/react-ui-components';
|
|
|
95
95
|
</thead>
|
|
96
96
|
<tbody>
|
|
97
97
|
<tr>
|
|
98
|
-
<td
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
<td>
|
|
99
|
+
<code>label</code>
|
|
100
|
+
</td>
|
|
101
|
+
<td>
|
|
102
|
+
<code>label</code>
|
|
103
|
+
</td>
|
|
104
|
+
<td>
|
|
105
|
+
Same visible label prop. Prefer a visible label whenever possible.
|
|
106
|
+
</td>
|
|
101
107
|
</tr>
|
|
102
108
|
<tr className="migration-prop-row--changed">
|
|
103
|
-
<td
|
|
104
|
-
|
|
105
|
-
|
|
109
|
+
<td>
|
|
110
|
+
<code>helperText</code>
|
|
111
|
+
</td>
|
|
112
|
+
<td>
|
|
113
|
+
<code>description</code>
|
|
114
|
+
</td>
|
|
115
|
+
<td>
|
|
116
|
+
Rename helper copy to <code>description</code>; it is hidden when an
|
|
117
|
+
error shows.
|
|
118
|
+
</td>
|
|
106
119
|
</tr>
|
|
107
120
|
<tr>
|
|
108
|
-
<td
|
|
109
|
-
|
|
121
|
+
<td>
|
|
122
|
+
<code>errorMessage</code>
|
|
123
|
+
</td>
|
|
124
|
+
<td>
|
|
125
|
+
<code>errorMessage</code>
|
|
126
|
+
</td>
|
|
110
127
|
<td>Same error copy prop. Pair it with invalid state.</td>
|
|
111
128
|
</tr>
|
|
112
129
|
<tr className="migration-prop-row--changed">
|
|
113
|
-
<td
|
|
114
|
-
|
|
130
|
+
<td>
|
|
131
|
+
<code>invalid</code>
|
|
132
|
+
</td>
|
|
133
|
+
<td>
|
|
134
|
+
<code>isInvalid</code>
|
|
135
|
+
</td>
|
|
115
136
|
<td>Rename to the React Aria Components state prop.</td>
|
|
116
137
|
</tr>
|
|
117
138
|
<tr className="migration-prop-row--changed">
|
|
118
|
-
<td
|
|
119
|
-
|
|
139
|
+
<td>
|
|
140
|
+
<code>disabled</code>
|
|
141
|
+
</td>
|
|
142
|
+
<td>
|
|
143
|
+
<code>isDisabled</code>
|
|
144
|
+
</td>
|
|
120
145
|
<td>Rename to the React Aria Components state prop.</td>
|
|
121
146
|
</tr>
|
|
122
147
|
<tr className="migration-prop-row--changed">
|
|
123
|
-
<td
|
|
124
|
-
|
|
148
|
+
<td>
|
|
149
|
+
<code>readOnly</code>
|
|
150
|
+
</td>
|
|
151
|
+
<td>
|
|
152
|
+
<code>isReadOnly</code>
|
|
153
|
+
</td>
|
|
125
154
|
<td>Rename to the React Aria Components state prop.</td>
|
|
126
155
|
</tr>
|
|
127
156
|
<tr className="migration-prop-row--changed">
|
|
128
|
-
<td
|
|
129
|
-
|
|
130
|
-
|
|
157
|
+
<td>
|
|
158
|
+
<code>required</code>
|
|
159
|
+
</td>
|
|
160
|
+
<td>
|
|
161
|
+
<code>isRequired</code>
|
|
162
|
+
</td>
|
|
163
|
+
<td>
|
|
164
|
+
Not equivalent: <code>TextInput</code>'s native <code>required</code>{' '}
|
|
165
|
+
attribute was silently ignored (see Behavior Notes).{' '}
|
|
166
|
+
<code>isRequired</code> is the first working required state.
|
|
167
|
+
</td>
|
|
131
168
|
</tr>
|
|
132
169
|
<tr>
|
|
133
|
-
<td
|
|
134
|
-
|
|
170
|
+
<td>
|
|
171
|
+
<code>placeholder</code>
|
|
172
|
+
</td>
|
|
173
|
+
<td>
|
|
174
|
+
<code>placeholder</code>
|
|
175
|
+
</td>
|
|
135
176
|
<td>Same example-value prop. Do not use it as the only label.</td>
|
|
136
177
|
</tr>
|
|
137
178
|
<tr>
|
|
138
|
-
<td
|
|
139
|
-
|
|
179
|
+
<td>
|
|
180
|
+
<code>value</code>
|
|
181
|
+
</td>
|
|
182
|
+
<td>
|
|
183
|
+
<code>value</code>
|
|
184
|
+
</td>
|
|
140
185
|
<td>Same controlled value pattern.</td>
|
|
141
186
|
</tr>
|
|
142
187
|
<tr>
|
|
143
|
-
<td
|
|
144
|
-
|
|
188
|
+
<td>
|
|
189
|
+
<code>defaultValue</code>
|
|
190
|
+
</td>
|
|
191
|
+
<td>
|
|
192
|
+
<code>defaultValue</code>
|
|
193
|
+
</td>
|
|
145
194
|
<td>Same uncontrolled value pattern.</td>
|
|
146
195
|
</tr>
|
|
147
196
|
<tr>
|
|
148
|
-
<td
|
|
149
|
-
|
|
150
|
-
|
|
197
|
+
<td>
|
|
198
|
+
<code>onChange</code>
|
|
199
|
+
</td>
|
|
200
|
+
<td>
|
|
201
|
+
<code>onChange</code>
|
|
202
|
+
</td>
|
|
203
|
+
<td>
|
|
204
|
+
Both components call <code>onChange</code> with the next string value.
|
|
205
|
+
</td>
|
|
151
206
|
</tr>
|
|
152
207
|
<tr>
|
|
153
|
-
<td
|
|
154
|
-
|
|
155
|
-
|
|
208
|
+
<td>
|
|
209
|
+
<code>size</code>
|
|
210
|
+
</td>
|
|
211
|
+
<td>
|
|
212
|
+
<code>size</code>
|
|
213
|
+
</td>
|
|
214
|
+
<td>
|
|
215
|
+
Same supported sizes: <code>sm</code>, <code>md</code>, <code>lg</code>,
|
|
216
|
+
and <code>xl</code>.
|
|
217
|
+
</td>
|
|
156
218
|
</tr>
|
|
157
219
|
<tr>
|
|
158
|
-
<td
|
|
159
|
-
|
|
220
|
+
<td>
|
|
221
|
+
<code>fullWidth</code>
|
|
222
|
+
</td>
|
|
223
|
+
<td>
|
|
224
|
+
<code>fullWidth</code>
|
|
225
|
+
</td>
|
|
160
226
|
<td>Same layout prop.</td>
|
|
161
227
|
</tr>
|
|
162
228
|
<tr>
|
|
163
|
-
<td
|
|
164
|
-
|
|
229
|
+
<td>
|
|
230
|
+
<code>leadingElement</code>
|
|
231
|
+
</td>
|
|
232
|
+
<td>
|
|
233
|
+
<code>leadingElement</code>
|
|
234
|
+
</td>
|
|
165
235
|
<td>Same slot for compact visual context or a small action.</td>
|
|
166
236
|
</tr>
|
|
167
237
|
<tr>
|
|
168
|
-
<td
|
|
169
|
-
|
|
238
|
+
<td>
|
|
239
|
+
<code>trailingElement</code>
|
|
240
|
+
</td>
|
|
241
|
+
<td>
|
|
242
|
+
<code>trailingElement</code>
|
|
243
|
+
</td>
|
|
170
244
|
<td>Same slot for compact visual context or a small action.</td>
|
|
171
245
|
</tr>
|
|
172
246
|
<tr className="migration-prop-row--removed">
|
|
173
|
-
<td
|
|
247
|
+
<td>
|
|
248
|
+
<code>showErrorMessage</code>
|
|
249
|
+
</td>
|
|
174
250
|
<td>No direct prop</td>
|
|
175
|
-
<td>
|
|
251
|
+
<td>
|
|
252
|
+
Remove unless the surrounding UX intentionally suppresses error text.
|
|
253
|
+
</td>
|
|
176
254
|
</tr>
|
|
177
255
|
<tr className="migration-prop-row--changed">
|
|
178
|
-
<td
|
|
179
|
-
|
|
180
|
-
|
|
256
|
+
<td>
|
|
257
|
+
<code>type</code>
|
|
258
|
+
</td>
|
|
259
|
+
<td>
|
|
260
|
+
<code>type</code>
|
|
261
|
+
</td>
|
|
262
|
+
<td>
|
|
263
|
+
<code>TextField</code> supports text-like types: <code>text</code>,{' '}
|
|
264
|
+
<code>search</code>, <code>url</code>, <code>tel</code>,{' '}
|
|
265
|
+
<code>email</code>, and <code>password</code>.
|
|
266
|
+
</td>
|
|
181
267
|
</tr>
|
|
182
268
|
</tbody>
|
|
183
269
|
</table>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionList/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,UAAU,eAAe;IACvB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,UAAU,QAAQ;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,WAAW,CAAC;IAC/B,IAAI,EAAE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;CACrD;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionList/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,UAAU,eAAe;IACvB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,UAAU,QAAQ;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,WAAW,CAAC;IAC/B,IAAI,EAAE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;CACrD;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAC3D,iBAAiB,GAAG,cAAc,CACnC;IACC,IAAI,EAAE,cAAc,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,eAAe,CAAC;AAExD,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAI3E,KAAK,EAAE,cAAc,EAAE,CAAC;IAIxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAIrB,SAAS,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,YAAY,CAAC,CAAC;IAIzD,cAAc,CAAC,EAAE,OAAO,CAAC;IAKzB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Buttons/Button/types.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Buttons/Button/types.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,GAChB,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEzE,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,iBAAiB;IAIhC,OAAO,CAAC,EAAE,aAAa,CAAC;IAIxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAIlB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAIjC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAIlC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,mBACf,SACE,iBAAiB,EACjB,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAI9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,OAAO,CAAC,EAAE,OAAO,CAAC;IAIlB,IAAI,CAAC,EAAE,KAAK,CAAC;IAIb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBACf,SAAQ,iBAAiB,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG,iBAAiB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type DateValue } from 'react-aria-components';
|
|
3
3
|
import type { CalendarProps } from './types';
|
|
4
|
-
declare const Calendar: <T extends DateValue>({ className, errorMessage, ...props }: CalendarProps<T>) => React.JSX.Element;
|
|
4
|
+
declare const Calendar: <T extends DateValue>({ className, errorMessage, navigation, ...props }: CalendarProps<T>) => React.JSX.Element;
|
|
5
5
|
export default Calendar;
|
|
6
6
|
//# sourceMappingURL=Calendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
|
1
|
+
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,uBAAuB,CAAC;AAG/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,QAAA,MAAM,QAAQ,GAAI,CAAC,SAAS,SAAS,EAAE,mDAKpC,aAAa,CAAC,CAAC,CAAC,sBA6ClB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { CalendarNavigation } from './types';
|
|
3
|
+
declare const CalendarTitle: ({ navigation }: {
|
|
4
|
+
navigation: CalendarNavigation;
|
|
5
|
+
}) => React.JSX.Element;
|
|
6
|
+
export default CalendarTitle;
|
|
7
|
+
//# sourceMappingURL=CalendarTitle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/CalendarTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAiB1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAwDlD,QAAA,MAAM,aAAa,GAAI,gBAAgB;IAAE,UAAU,EAAE,kBAAkB,CAAA;CAAE,sBAUtE,CAAC;AAEJ,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { CalendarProps as AriaCalendarProps, DateValue } from 'react-aria-components';
|
|
2
|
+
export type CalendarNavigation = 'month' | 'year';
|
|
2
3
|
export interface CalendarProps<T extends DateValue = DateValue> extends Omit<AriaCalendarProps<T>, 'children' | 'visibleDuration'> {
|
|
3
4
|
errorMessage?: string;
|
|
5
|
+
navigation?: CalendarNavigation;
|
|
4
6
|
}
|
|
5
7
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,IAAI,iBAAiB,EAClC,SAAS,EACV,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,IAAI,iBAAiB,EAClC,SAAS,EACV,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,MAAM,CAAC;AAGlD,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CAAE,SAAQ,IAAI,CAC1E,iBAAiB,CAAC,CAAC,CAAC,EACpB,UAAU,GAAG,iBAAiB,CAC/B;IAEC,YAAY,CAAC,EAAE,MAAM,CAAC;IAOtB,UAAU,CAAC,EAAE,kBAAkB,CAAC;CACjC"}
|
package/dist/temporary-typings/src/components/CopyToClipboard/CopyToClipboard.types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyToClipboard.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CopyToClipboard/CopyToClipboard.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEhE,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5D,MAAM,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"CopyToClipboard.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CopyToClipboard/CopyToClipboard.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEhE,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5D,MAAM,MAAM,sBAAsB,GAChC,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE5D,MAAM,MAAM,oBAAoB,GAAG;IAIjC,KAAK,EAAE,MAAM,CAAC;IAKd,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAK3B,OAAO,CAAC,EAAE,sBAAsB,CAAC;IAIjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAI7B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAKjC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC,GAAG,IAAI,CACN,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CACzC,CAAC"}
|
package/dist/temporary-typings/src/components/DataTable/utils/rowReorderAvailability.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rowReorderAvailability.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataTable/utils/rowReorderAvailability.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"rowReorderAvailability.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataTable/utils/rowReorderAvailability.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,2BAA2B,GACrC,WAAW,GAAG,UAAU,GAAG,YAAY,CAAC;AAE1C,MAAM,MAAM,sBAAsB,GAC9B;IAAE,SAAS,EAAE,IAAI,CAAA;CAAE,GACnB;IACE,SAAS,EAAE,KAAK,CAAC;IACjB,MAAM,EAAE,2BAA2B,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,KAAK,gCAAgC,GAAG;IACtC,aAAa,EAAE,SAAS,OAAO,EAAE,CAAC;IAClC,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,SAAS,OAAO,EAAE,CAAC;IAC7B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAuBF,eAAO,MAAM,yBAAyB,GAAI,2DAKvC,gCAAgC,KAAG,sBAcrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Grid/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Grid/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,KAAK,oBAAoB,GACvB,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC;AACxE,KAAK,cAAc,GAAG,oBAAoB,CAAC;AAC3C,KAAK,cAAc,GAAG,oBAAoB,CAAC;AAE3C,KAAK,iBAAiB,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,IAAI,CAAC;AAEvD,KAAK,uBAAuB,GAC1B,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAExD,KAAK,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,uBAAuB,CAAC;AACtE,KAAK,4BAA4B,GAAG,MAAM,GAAG,uBAAuB,CAAC;AAErE,KAAK,OAAO,GACR,CAAC,GACD,IAAI,GACJ,GAAG,GACH,CAAC,GACD,GAAG,GACH,CAAC,GACD,GAAG,GACH,CAAC,GACD,GAAG,GACH,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,CAAC;AACP,KAAK,UAAU,GAAG,OAAO,CAAC;AAE1B,KAAK,iBAAiB,GACpB,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC3E,KAAK,qBAAqB,GAAG,iBAAiB,GAAG,QAAQ,CAAC;AAE1D,KAAK,eAAe,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC9D,KAAK,iBAAiB,GAAG,eAAe,GAAG,UAAU,CAAC;AAEtD,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,SAAS,CAAC;IAKpB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,eAAe,CAAC,EAAE,cAAc,CAAC;IAIjC,YAAY,CAAC,EAAE,cAAc,CAAC;IAK9B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAI9B,WAAW,CAAC,EAAE,4BAA4B,CAAC;IAI3C,SAAS,CAAC,EAAE,4BAA4B,CAAC;IAKzC,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAI3B,QAAQ,CAAC,EAAE,4BAA4B,CAAC;IAIxC,MAAM,CAAC,EAAE,4BAA4B,CAAC;IAKtC,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAIhC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAK7B,GAAG,CAAC,EAAE,UAAU,CAAC;IAIjB,IAAI,CAAC,EAAE,UAAU,CAAC;IAIlB,IAAI,CAAC,EAAE,UAAU,CAAC;IAKlB,cAAc,CAAC,EAAE,qBAAqB,CAAC;IAIvC,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAChC,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEzC,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Link/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,KAAK,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Link/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,KAAK,OAAO,GACV,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,eAAe,GAAG,SAAS,CAAC;AAErE,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtC,MAAM,WAAW,SAAU,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAIxE,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,QAAQ,EAAE,SAAS,CAAC;IAIpB,IAAI,CAAC,EAAE,IAAI,CAAC;IAIZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,IAAI,CAAC,EAAE,WAAW,CAAC;IAInB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,OAAO,CAAC,EAAE,OAAO,CAAC;IAIlB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type DateValue } from 'react-aria-components';
|
|
3
3
|
import type { RangeCalendarProps } from './types';
|
|
4
|
-
declare const RangeCalendar: <T extends DateValue>({ className, errorMessage, ...props }: RangeCalendarProps<T>) => React.JSX.Element;
|
|
4
|
+
declare const RangeCalendar: <T extends DateValue>({ className, errorMessage, navigation, ...props }: RangeCalendarProps<T>) => React.JSX.Element;
|
|
5
5
|
export default RangeCalendar;
|
|
6
6
|
//# sourceMappingURL=RangeCalendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeCalendar.d.ts","sourceRoot":"","sources":["../../../../../src/components/RangeCalendar/RangeCalendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
|
1
|
+
{"version":3,"file":"RangeCalendar.d.ts","sourceRoot":"","sources":["../../../../../src/components/RangeCalendar/RangeCalendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,QAAA,MAAM,aAAa,GAAI,CAAC,SAAS,SAAS,EAAE,mDAKzC,kBAAkB,CAAC,CAAC,CAAC,sBAkDvB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { RangeCalendarProps as AriaRangeCalendarProps, DateValue } from 'react-aria-components';
|
|
2
|
+
import type { CalendarNavigation } from '../Calendar';
|
|
2
3
|
export interface RangeCalendarProps<T extends DateValue = DateValue> extends Omit<AriaRangeCalendarProps<T>, 'children' | 'visibleDuration'> {
|
|
3
4
|
errorMessage?: string;
|
|
5
|
+
navigation?: CalendarNavigation;
|
|
4
6
|
}
|
|
5
7
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/RangeCalendar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,IAAI,sBAAsB,EAC5C,SAAS,EACV,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/RangeCalendar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,IAAI,sBAAsB,EAC5C,SAAS,EACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGtD,MAAM,WAAW,kBAAkB,CACjC,CAAC,SAAS,SAAS,GAAG,SAAS,CAC/B,SAAQ,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,iBAAiB,CAAC;IAEvE,YAAY,CAAC,EAAE,MAAM,CAAC;IAOtB,UAAU,CAAC,EAAE,kBAAkB,CAAC;CACjC"}
|