@cdx-ui/components 0.2.4 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/components/accordion/content.md +2 -2
- package/docs/components/alert/content.md +1 -1
- package/docs/components/badge/content.md +5 -15
- package/docs/components/bottom-sheet/content.md +18 -14
- package/docs/components/box/content.md +141 -0
- package/docs/components/breadcrumbs/content.md +9 -9
- package/docs/components/button/content.md +19 -19
- package/docs/components/calendar/content.md +25 -1
- package/docs/components/card/content.md +2 -2
- package/docs/components/carousel/content.md +9 -8
- package/docs/components/chip/content.md +1 -1
- package/docs/components/color-area/content.md +3 -5
- package/docs/components/color-field/content.md +3 -5
- package/docs/components/color-picker/content.md +5 -4
- package/docs/components/color-slider/content.md +3 -5
- package/docs/components/color-swatch/content.md +3 -5
- package/docs/components/color-swatch-picker/content.md +3 -5
- package/docs/components/content.md +10 -9
- package/docs/components/data-grid/content.md +10 -11
- package/docs/components/drawer/content.md +17 -25
- package/docs/components/full-screen-dialog/content.md +2 -2
- package/docs/components/icon/content.md +1 -1
- package/docs/components/icon-button/content.md +3 -3
- package/docs/components/input/content.md +65 -0
- package/docs/components/list-item/content.md +9 -9
- package/docs/components/menu/content.md +57 -50
- package/docs/components/month-calendar/content.md +2 -0
- package/docs/components/range-calendar/content.md +3 -1
- package/docs/components/reorderable-list/content.md +5 -3
- package/docs/components/scoped-theme/content.md +1 -1
- package/docs/components/scroll-shadow/content.md +43 -36
- package/docs/components/select/content.md +80 -7
- package/docs/components/skeleton/content.md +7 -6
- package/docs/components/table/content.md +2 -2
- package/docs/components/tabs/content.md +14 -9
- package/docs/components/tile/content.md +9 -10
- package/docs/components/toggle-button/content.md +1 -1
- package/docs/components/tooltip/content.md +9 -9
- package/docs/components/virtualized-list/content.md +14 -14
- package/docs/getting-started/developers/content.md +2 -2
- package/docs/getting-started/developers/styling/content.md +20 -18
- package/docs/llms.txt +12 -9
- package/docs/patterns/authentication/content.md +4 -6
- package/docs/patterns/dashboard/content.md +8 -13
- package/docs/patterns/empty-states/content.md +7 -6
- package/docs/patterns/forms/content.md +6 -7
- package/docs/patterns/onboarding/content.md +4 -4
- package/docs/patterns/settings/content.md +5 -5
- package/docs/resources/release-notes/0.2.4/content.md +17 -0
- package/docs/resources/release-notes/0.2.5/content.md +25 -0
- package/docs/resources/release-notes/content.md +2 -0
- package/lib/commonjs/components/BottomSheet/index.js +25 -1
- package/lib/commonjs/components/BottomSheet/index.js.map +1 -1
- package/lib/commonjs/components/BottomSheet/styles.js +8 -2
- package/lib/commonjs/components/BottomSheet/styles.js.map +1 -1
- package/lib/commonjs/components/Box/Box.js +9 -1
- package/lib/commonjs/components/Box/Box.js.map +1 -1
- package/lib/commonjs/components/Breadcrumbs/index.js +28 -3
- package/lib/commonjs/components/Breadcrumbs/index.js.map +1 -1
- package/lib/commonjs/components/Breadcrumbs/styles.js +27 -0
- package/lib/commonjs/components/Breadcrumbs/styles.js.map +1 -1
- package/lib/commonjs/components/Calendar/CalendarMonthHeader.js +15 -5
- package/lib/commonjs/components/Calendar/CalendarMonthHeader.js.map +1 -1
- package/lib/commonjs/components/Calendar/CalendarYearList.js +116 -0
- package/lib/commonjs/components/Calendar/CalendarYearList.js.map +1 -0
- package/lib/commonjs/components/Calendar/CalendarYearPickerGrid.js +58 -31
- package/lib/commonjs/components/Calendar/CalendarYearPickerGrid.js.map +1 -1
- package/lib/commonjs/components/Calendar/flashCalendarAdapter.js +22 -3
- package/lib/commonjs/components/Calendar/flashCalendarAdapter.js.map +1 -1
- package/lib/commonjs/components/Calendar/index.js +6 -2
- package/lib/commonjs/components/Calendar/index.js.map +1 -1
- package/lib/commonjs/components/Calendar/styles.js +16 -2
- package/lib/commonjs/components/Calendar/styles.js.map +1 -1
- package/lib/commonjs/components/MonthCalendar/index.js +39 -13
- package/lib/commonjs/components/MonthCalendar/index.js.map +1 -1
- package/lib/commonjs/components/RangeCalendar/index.js +6 -2
- package/lib/commonjs/components/RangeCalendar/index.js.map +1 -1
- package/lib/commonjs/components/Stack/HStack.js +6 -2
- package/lib/commonjs/components/Stack/HStack.js.map +1 -1
- package/lib/commonjs/components/Stack/VStack.js +6 -2
- package/lib/commonjs/components/Stack/VStack.js.map +1 -1
- package/lib/commonjs/index.js +10 -10
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/components/BottomSheet/index.js +27 -3
- package/lib/module/components/BottomSheet/index.js.map +1 -1
- package/lib/module/components/BottomSheet/styles.js +8 -2
- package/lib/module/components/BottomSheet/styles.js.map +1 -1
- package/lib/module/components/Box/Box.js +9 -1
- package/lib/module/components/Box/Box.js.map +1 -1
- package/lib/module/components/Breadcrumbs/index.js +29 -4
- package/lib/module/components/Breadcrumbs/index.js.map +1 -1
- package/lib/module/components/Breadcrumbs/styles.js +26 -0
- package/lib/module/components/Breadcrumbs/styles.js.map +1 -1
- package/lib/module/components/Calendar/CalendarMonthHeader.js +15 -5
- package/lib/module/components/Calendar/CalendarMonthHeader.js.map +1 -1
- package/lib/module/components/Calendar/CalendarYearList.js +112 -0
- package/lib/module/components/Calendar/CalendarYearList.js.map +1 -0
- package/lib/module/components/Calendar/CalendarYearPickerGrid.js +61 -34
- package/lib/module/components/Calendar/CalendarYearPickerGrid.js.map +1 -1
- package/lib/module/components/Calendar/flashCalendarAdapter.js +20 -2
- package/lib/module/components/Calendar/flashCalendarAdapter.js.map +1 -1
- package/lib/module/components/Calendar/index.js +7 -3
- package/lib/module/components/Calendar/index.js.map +1 -1
- package/lib/module/components/Calendar/styles.js +15 -1
- package/lib/module/components/Calendar/styles.js.map +1 -1
- package/lib/module/components/MonthCalendar/index.js +42 -15
- package/lib/module/components/MonthCalendar/index.js.map +1 -1
- package/lib/module/components/RangeCalendar/index.js +7 -3
- package/lib/module/components/RangeCalendar/index.js.map +1 -1
- package/lib/module/components/Stack/HStack.js +6 -2
- package/lib/module/components/Stack/HStack.js.map +1 -1
- package/lib/module/components/Stack/VStack.js +6 -2
- package/lib/module/components/Stack/VStack.js.map +1 -1
- package/lib/module/index.js +6 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts +2 -2
- package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts +2 -2
- package/lib/typescript/components/BottomSheet/index.d.ts +8 -0
- package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/components/BottomSheet/styles.d.ts +5 -1
- package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -1
- package/lib/typescript/components/Box/Box.d.ts +4 -0
- package/lib/typescript/components/Box/Box.d.ts.map +1 -1
- package/lib/typescript/components/Breadcrumbs/index.d.ts +3 -1
- package/lib/typescript/components/Breadcrumbs/index.d.ts.map +1 -1
- package/lib/typescript/components/Breadcrumbs/styles.d.ts +2 -0
- package/lib/typescript/components/Breadcrumbs/styles.d.ts.map +1 -1
- package/lib/typescript/components/Calendar/CalendarMonthHeader.d.ts.map +1 -1
- package/lib/typescript/components/Calendar/CalendarYearList.d.ts +23 -0
- package/lib/typescript/components/Calendar/CalendarYearList.d.ts.map +1 -0
- package/lib/typescript/components/Calendar/CalendarYearPickerGrid.d.ts +5 -1
- package/lib/typescript/components/Calendar/CalendarYearPickerGrid.d.ts.map +1 -1
- package/lib/typescript/components/Calendar/flashCalendarAdapter.d.ts +8 -0
- package/lib/typescript/components/Calendar/flashCalendarAdapter.d.ts.map +1 -1
- package/lib/typescript/components/Calendar/index.d.ts.map +1 -1
- package/lib/typescript/components/Calendar/styles.d.ts +7 -1
- package/lib/typescript/components/Calendar/styles.d.ts.map +1 -1
- package/lib/typescript/components/MonthCalendar/index.d.ts.map +1 -1
- package/lib/typescript/components/RangeCalendar/index.d.ts.map +1 -1
- package/lib/typescript/components/Stack/HStack.d.ts +3 -2
- package/lib/typescript/components/Stack/HStack.d.ts.map +1 -1
- package/lib/typescript/components/Stack/VStack.d.ts +3 -2
- package/lib/typescript/components/Stack/VStack.d.ts.map +1 -1
- package/lib/typescript/components/Toast/animation.d.ts +3 -3
- package/lib/typescript/components/Toast/animation.d.ts.map +1 -1
- package/lib/typescript/components/ToggleButton/styles.d.ts +1 -1
- package/lib/typescript/index.d.ts +6 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/components/BottomSheet/index.tsx +174 -138
- package/src/components/BottomSheet/styles.ts +11 -3
- package/src/components/Box/Box.tsx +18 -4
- package/src/components/Breadcrumbs/index.tsx +28 -4
- package/src/components/Breadcrumbs/styles.ts +30 -0
- package/src/components/Calendar/CalendarMonthHeader.tsx +29 -22
- package/src/components/Calendar/CalendarYearList.tsx +136 -0
- package/src/components/Calendar/CalendarYearPickerGrid.tsx +60 -33
- package/src/components/Calendar/flashCalendarAdapter.ts +27 -2
- package/src/components/Calendar/index.tsx +8 -3
- package/src/components/Calendar/styles.ts +17 -1
- package/src/components/MonthCalendar/index.tsx +55 -33
- package/src/components/RangeCalendar/index.tsx +8 -3
- package/src/components/Stack/HStack.tsx +8 -4
- package/src/components/Stack/VStack.tsx +8 -4
- package/src/index.ts +8 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef, useCallback,
|
|
3
|
+
import { forwardRef, useCallback, useState } from 'react';
|
|
4
4
|
import { Pressable, Text, View } from 'react-native';
|
|
5
5
|
import { dataAttributes, mergeDataAttributes, MonthCalendarCell as MonthCalendarCellPrimitive, MonthCalendarRoot as MonthCalendarRootPrimitive, MonthCalendarYearCell as MonthCalendarYearCellPrimitive, useMonthCalendarContext } from '@cdx-ui/primitives';
|
|
6
6
|
import { compareMonthIds, formatMonthCalendarMonth, formatMonthCalendarYear, formatMonthId, formatSelectYear, parseMonthId } from '@cdx-ui/formatters';
|
|
@@ -8,8 +8,17 @@ import { cn } from '@cdx-ui/utils';
|
|
|
8
8
|
import { ChevronLeft, ChevronRight, KeyboardArrowDown } from '@cdx-ui/icons';
|
|
9
9
|
import { Icon } from '../Icon';
|
|
10
10
|
import { IconButton } from '../IconButton';
|
|
11
|
-
import {
|
|
11
|
+
import { CalendarYearList, getYearRange, YEAR_ROW_HEIGHT } from '../Calendar/CalendarYearList';
|
|
12
|
+
import { calendarMonthHeaderIconVariants, calendarMonthHeaderLabelVariants, calendarMonthHeaderNavVariants, calendarMonthHeaderToggleVariants, calendarMonthHeaderVariants, calendarPillCellTextVariants, calendarPillCellVariants, calendarRootVariants, calendarYearPickerGridVariants, calendarYearPickerListVariants } from '../Calendar/styles';
|
|
13
|
+
|
|
14
|
+
// The month grid's four rows of pill cells, so the year view matches its height.
|
|
12
15
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
const MONTH_GRID_HEIGHT = 4 * YEAR_ROW_HEIGHT;
|
|
17
|
+
function renderYearCell(year) {
|
|
18
|
+
return /*#__PURE__*/_jsx(MonthCalendarYearCell, {
|
|
19
|
+
year: year
|
|
20
|
+
});
|
|
21
|
+
}
|
|
13
22
|
function MonthCalendarDefaultBody() {
|
|
14
23
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
15
24
|
children: [/*#__PURE__*/_jsx(MonthCalendarHeader, {}), /*#__PURE__*/_jsx(MonthCalendarGrid, {})]
|
|
@@ -80,15 +89,24 @@ const MonthCalendarHeader = /*#__PURE__*/forwardRef(({
|
|
|
80
89
|
isYearView
|
|
81
90
|
})
|
|
82
91
|
})]
|
|
83
|
-
}),
|
|
84
|
-
className: calendarMonthHeaderNavVariants(
|
|
92
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
93
|
+
className: calendarMonthHeaderNavVariants({
|
|
94
|
+
hidden: isYearView
|
|
95
|
+
}),
|
|
96
|
+
pointerEvents: isYearView ? 'none' : 'auto',
|
|
97
|
+
accessibilityElementsHidden: isYearView,
|
|
98
|
+
importantForAccessibility: isYearView ? 'no-hide-descendants' : 'auto',
|
|
99
|
+
...(isYearView ? {
|
|
100
|
+
'aria-hidden': true
|
|
101
|
+
} : {}),
|
|
85
102
|
children: [/*#__PURE__*/_jsx(IconButton, {
|
|
86
103
|
as: ChevronLeft,
|
|
87
104
|
variant: "ghost",
|
|
88
105
|
color: "neutral",
|
|
89
106
|
size: "small",
|
|
90
107
|
accessibilityLabel: labels.previousYear,
|
|
91
|
-
isDisabled: disabled,
|
|
108
|
+
isDisabled: disabled || isYearView,
|
|
109
|
+
focusable: !isYearView,
|
|
92
110
|
onPress: () => shiftYear(-1)
|
|
93
111
|
}), /*#__PURE__*/_jsx(IconButton, {
|
|
94
112
|
as: ChevronRight,
|
|
@@ -96,10 +114,11 @@ const MonthCalendarHeader = /*#__PURE__*/forwardRef(({
|
|
|
96
114
|
color: "neutral",
|
|
97
115
|
size: "small",
|
|
98
116
|
accessibilityLabel: labels.nextYear,
|
|
99
|
-
isDisabled: disabled,
|
|
117
|
+
isDisabled: disabled || isYearView,
|
|
118
|
+
focusable: !isYearView,
|
|
100
119
|
onPress: () => shiftYear(1)
|
|
101
120
|
})]
|
|
102
|
-
})
|
|
121
|
+
})]
|
|
103
122
|
});
|
|
104
123
|
});
|
|
105
124
|
MonthCalendarHeader.displayName = 'MonthCalendar.Header';
|
|
@@ -110,21 +129,29 @@ const MonthCalendarGrid = /*#__PURE__*/forwardRef(({
|
|
|
110
129
|
}, ref) => {
|
|
111
130
|
const {
|
|
112
131
|
view,
|
|
113
|
-
visibleYear
|
|
132
|
+
visibleYear,
|
|
133
|
+
minValue,
|
|
134
|
+
maxValue
|
|
114
135
|
} = useMonthCalendarContext();
|
|
115
|
-
const
|
|
116
|
-
length: 12
|
|
117
|
-
}, (_, i) => visibleYear - 5 + i), [visibleYear]);
|
|
136
|
+
const [todayYear] = useState(() => new Date().getFullYear());
|
|
118
137
|
if (view === 'year') {
|
|
138
|
+
const {
|
|
139
|
+
first,
|
|
140
|
+
last
|
|
141
|
+
} = getYearRange(minValue ? parseMonthId(minValue)?.year : undefined, maxValue ? parseMonthId(maxValue)?.year : undefined, visibleYear, todayYear);
|
|
119
142
|
return /*#__PURE__*/_jsx(View, {
|
|
120
143
|
ref: ref,
|
|
121
|
-
className: cn(
|
|
144
|
+
className: cn(calendarYearPickerListVariants(), className),
|
|
122
145
|
style: style,
|
|
123
146
|
accessibilityRole: "none",
|
|
124
147
|
...props,
|
|
125
|
-
children:
|
|
126
|
-
|
|
127
|
-
|
|
148
|
+
children: /*#__PURE__*/_jsx(CalendarYearList, {
|
|
149
|
+
first: first,
|
|
150
|
+
last: last,
|
|
151
|
+
selectedYear: visibleYear,
|
|
152
|
+
height: MONTH_GRID_HEIGHT,
|
|
153
|
+
renderYear: renderYearCell
|
|
154
|
+
})
|
|
128
155
|
});
|
|
129
156
|
}
|
|
130
157
|
return /*#__PURE__*/_jsx(View, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["forwardRef","useCallback","
|
|
1
|
+
{"version":3,"names":["forwardRef","useCallback","useState","Pressable","Text","View","dataAttributes","mergeDataAttributes","MonthCalendarCell","MonthCalendarCellPrimitive","MonthCalendarRoot","MonthCalendarRootPrimitive","MonthCalendarYearCell","MonthCalendarYearCellPrimitive","useMonthCalendarContext","compareMonthIds","formatMonthCalendarMonth","formatMonthCalendarYear","formatMonthId","formatSelectYear","parseMonthId","cn","ChevronLeft","ChevronRight","KeyboardArrowDown","Icon","IconButton","CalendarYearList","getYearRange","YEAR_ROW_HEIGHT","calendarMonthHeaderIconVariants","calendarMonthHeaderLabelVariants","calendarMonthHeaderNavVariants","calendarMonthHeaderToggleVariants","calendarMonthHeaderVariants","calendarPillCellTextVariants","calendarPillCellVariants","calendarRootVariants","calendarYearPickerGridVariants","calendarYearPickerListVariants","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","MONTH_GRID_HEIGHT","renderYearCell","year","MonthCalendarDefaultBody","children","MonthCalendarHeader","MonthCalendarGrid","className","style","props","ref","slot","displayName","view","onViewChange","visibleYear","onVisibleYearChange","disabled","labels","isYearView","shiftYear","delta","toggleYearView","accessibilityRole","accessibilityLabel","showMonths","showYearPicker","onPress","numberOfLines","as","hidden","pointerEvents","accessibilityElementsHidden","importantForAccessibility","variant","color","size","previousYear","isDisabled","focusable","nextYear","minValue","maxValue","todayYear","Date","getFullYear","first","last","undefined","selectedYear","height","renderYear","Array","from","length","_","i","map","month","value","locale","monthId","selected","minYear","maxYear","MonthCalendar","Object","assign","Header","Grid","Cell","YearCell"],"sourceRoot":"../../../../src","sources":["components/MonthCalendar/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,WAAW,EAAEC,QAAQ,QAAwB,OAAO;AACzE,SAASC,SAAS,EAAEC,IAAI,EAAEC,IAAI,QAAwB,cAAc;AACpE,SACEC,cAAc,EACdC,mBAAmB,EACnBC,iBAAiB,IAAIC,0BAA0B,EAC/CC,iBAAiB,IAAIC,0BAA0B,EAC/CC,qBAAqB,IAAIC,8BAA8B,EACvDC,uBAAuB,QAElB,oBAAoB;AAC3B,SACEC,eAAe,EACfC,wBAAwB,EACxBC,uBAAuB,EACvBC,aAAa,EACbC,gBAAgB,EAChBC,YAAY,QACP,oBAAoB;AAC3B,SAASC,EAAE,QAAQ,eAAe;AAClC,SAASC,WAAW,EAAEC,YAAY,EAAEC,iBAAiB,QAAQ,eAAe;AAC5E,SAASC,IAAI,QAAQ,SAAS;AAC9B,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,gBAAgB,EAAEC,YAAY,EAAEC,eAAe,QAAQ,8BAA8B;AAC9F,SACEC,+BAA+B,EAC/BC,gCAAgC,EAChCC,8BAA8B,EAC9BC,iCAAiC,EACjCC,2BAA2B,EAC3BC,4BAA4B,EAC5BC,wBAAwB,EACxBC,oBAAoB,EACpBC,8BAA8B,EAC9BC,8BAA8B,QACzB,oBAAoB;;AAE3B;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AACA,MAAMC,iBAAiB,GAAG,CAAC,GAAGjB,eAAe;AAE7C,SAASkB,cAAcA,CAACC,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wG,MAAM,EAAE/D,mBAAmB;EAC3BgE,IAAI,EAAE/D,iBAAiB;EACvBgE,IAAI,EAAE5G,iBAAiB;EACvB6G,QAAQ,EAAEzG;AACZ,CAAC,CAA0B","ignoreList":[]}
|
|
@@ -7,7 +7,7 @@ import { dataAttributes, mergeDataAttributes, RangeCalendarRoot as RangeCalendar
|
|
|
7
7
|
import { cn } from '@cdx-ui/utils';
|
|
8
8
|
import { CalendarMonthHeader } from '../Calendar/CalendarMonthHeader';
|
|
9
9
|
import { CalendarYearPickerGrid } from '../Calendar/CalendarYearPickerGrid';
|
|
10
|
-
import { FLASH_CALENDAR_DAY_HEIGHT, FLASH_CALENDAR_RANGE_DAY_SPACING, formatFlashCalendarWeekdayShort, toCalendarDateId, useFlashCalendarRangeTheme } from '../Calendar/flashCalendarAdapter';
|
|
10
|
+
import { FLASH_CALENDAR_DAY_HEIGHT, FLASH_CALENDAR_RANGE_DAY_SPACING, FLASH_CALENDAR_ROW_VERTICAL_SPACING, FLASH_CALENDAR_WEEK_HEADER_HEIGHT, formatFlashCalendarWeekdayShort, toCalendarDateId, useFlashCalendarRangeTheme } from '../Calendar/flashCalendarAdapter';
|
|
11
11
|
import { calendarRootVariants } from '../Calendar/styles';
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
function RangeCalendarDefaultBody() {
|
|
@@ -71,6 +71,8 @@ const RangeCalendarYearPicker = /*#__PURE__*/forwardRef(({
|
|
|
71
71
|
const {
|
|
72
72
|
monthId,
|
|
73
73
|
onMonthIdChange,
|
|
74
|
+
minValue,
|
|
75
|
+
maxValue,
|
|
74
76
|
disabled,
|
|
75
77
|
setView,
|
|
76
78
|
labels
|
|
@@ -79,6 +81,8 @@ const RangeCalendarYearPicker = /*#__PURE__*/forwardRef(({
|
|
|
79
81
|
ref: ref,
|
|
80
82
|
monthId: monthId,
|
|
81
83
|
onMonthIdChange: onMonthIdChange,
|
|
84
|
+
minValue: minValue,
|
|
85
|
+
maxValue: maxValue,
|
|
82
86
|
disabled: disabled,
|
|
83
87
|
onViewChange: setView,
|
|
84
88
|
labels: labels,
|
|
@@ -142,8 +146,8 @@ const RangeCalendarGrid = /*#__PURE__*/forwardRef(({
|
|
|
142
146
|
calendarMaxDateId: maxValue,
|
|
143
147
|
calendarMonthHeaderHeight: 0,
|
|
144
148
|
calendarDayHeight: FLASH_CALENDAR_DAY_HEIGHT,
|
|
145
|
-
calendarWeekHeaderHeight:
|
|
146
|
-
calendarRowVerticalSpacing:
|
|
149
|
+
calendarWeekHeaderHeight: FLASH_CALENDAR_WEEK_HEADER_HEIGHT,
|
|
150
|
+
calendarRowVerticalSpacing: FLASH_CALENDAR_ROW_VERTICAL_SPACING,
|
|
147
151
|
calendarRowHorizontalSpacing: FLASH_CALENDAR_RANGE_DAY_SPACING,
|
|
148
152
|
getCalendarMonthFormat: () => '',
|
|
149
153
|
getCalendarWeekDayFormat: formatWeekday,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["forwardRef","useCallback","useId","useMemo","View","Calendar","FlashCalendar","dataAttributes","mergeDataAttributes","RangeCalendarRoot","RangeCalendarRootPrimitive","useRangeCalendarContext","cn","CalendarMonthHeader","CalendarYearPickerGrid","FLASH_CALENDAR_DAY_HEIGHT","FLASH_CALENDAR_RANGE_DAY_SPACING","formatFlashCalendarWeekdayShort","toCalendarDateId","useFlashCalendarRangeTheme","calendarRootVariants","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","RangeCalendarDefaultBody","view","children","RangeCalendarHeader","RangeCalendarYearPicker","RangeCalendarGrid","className","style","props","ref","slot","displayName","monthId","onMonthIdChange","disabled","setView","locale","labels","onViewChange","
|
|
1
|
+
{"version":3,"names":["forwardRef","useCallback","useId","useMemo","View","Calendar","FlashCalendar","dataAttributes","mergeDataAttributes","RangeCalendarRoot","RangeCalendarRootPrimitive","useRangeCalendarContext","cn","CalendarMonthHeader","CalendarYearPickerGrid","FLASH_CALENDAR_DAY_HEIGHT","FLASH_CALENDAR_RANGE_DAY_SPACING","FLASH_CALENDAR_ROW_VERTICAL_SPACING","FLASH_CALENDAR_WEEK_HEADER_HEIGHT","formatFlashCalendarWeekdayShort","toCalendarDateId","useFlashCalendarRangeTheme","calendarRootVariants","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","RangeCalendarDefaultBody","view","children","RangeCalendarHeader","RangeCalendarYearPicker","RangeCalendarGrid","className","style","props","ref","slot","displayName","monthId","onMonthIdChange","disabled","setView","locale","labels","onViewChange","minValue","maxValue","startId","endId","onDayPress","instanceId","theme","formatWeekday","date","activeRanges","handleDayPress","dateId","calendarInstanceId","calendarMonthId","calendarActiveDateRanges","calendarMinDateId","calendarMaxDateId","calendarMonthHeaderHeight","calendarDayHeight","calendarWeekHeaderHeight","calendarRowVerticalSpacing","calendarRowHorizontalSpacing","getCalendarMonthFormat","getCalendarWeekDayFormat","onCalendarDayPress","RangeCalendar","Object","assign","Header","Grid","YearPicker"],"sourceRoot":"../../../../src","sources":["components/RangeCalendar/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,WAAW,EAAEC,KAAK,EAAEC,OAAO,QAAwB,OAAO;AAC/E,SAASC,IAAI,QAAwB,cAAc;AACnD,SAASC,QAAQ,IAAIC,aAAa,QAAQ,iCAAiC;AAC3E,SACEC,cAAc,EACdC,mBAAmB,EACnBC,iBAAiB,IAAIC,0BAA0B,EAC/CC,uBAAuB,QAElB,oBAAoB;AAC3B,SAASC,EAAE,QAAQ,eAAe;AAClC,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,sBAAsB,QAAQ,oCAAoC;AAC3E,SACEC,yBAAyB,EACzBC,gCAAgC,EAChCC,mCAAmC,EACnCC,iCAAiC,EACjCC,+BAA+B,EAC/BC,gBAAgB,EAChBC,0BAA0B,QACrB,kCAAkC;AACzC,SAASC,oBAAoB,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC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C;MAC5DkD,0BAA0B,EAAEnD,mCAAoC;MAChEoD,4BAA4B,EAAErD,gCAAiC;MAC/DsD,sBAAsB,EAAEA,CAAA,KAAM,EAAG;MACjCC,wBAAwB,EAAEhB,aAAc;MACxCiB,kBAAkB,EAAEd,cAAe;MACnCJ,KAAK,EAAEA;IAAM,CACd;EAAC,CACE,CAAC;AAEX,CAAC,CAAC;AAEFpB,iBAAiB,CAACM,WAAW,GAAG,oBAAoB;AAQpD,OAAO,MAAMiC,aAAa,GAAGC,MAAM,CAACC,MAAM,CAAClE,iBAAiB,EAAE;EAC5DmE,MAAM,EAAE5C,mBAAmB;EAC3B6C,IAAI,EAAE3C,iBAAiB;EACvB4C,UAAU,EAAE7C;AACd,CAAC,CAA0B","ignoreList":[]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { dataAttributes, mergeDataAttributes } from '@cdx-ui/primitives';
|
|
5
5
|
import { cn } from '@cdx-ui/utils';
|
|
6
|
+
import { Box } from '../Box';
|
|
6
7
|
import { hStackRootVariants } from './styles';
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
9
|
export const HStack = /*#__PURE__*/forwardRef(({
|
|
@@ -13,7 +14,7 @@ export const HStack = /*#__PURE__*/forwardRef(({
|
|
|
13
14
|
children,
|
|
14
15
|
...restProps
|
|
15
16
|
}, ref) => {
|
|
16
|
-
return /*#__PURE__*/_jsx(
|
|
17
|
+
return /*#__PURE__*/_jsx(Box, {
|
|
17
18
|
ref: ref,
|
|
18
19
|
className: cn(hStackRootVariants({
|
|
19
20
|
reversed,
|
|
@@ -21,6 +22,9 @@ export const HStack = /*#__PURE__*/forwardRef(({
|
|
|
21
22
|
}), className),
|
|
22
23
|
style: style,
|
|
23
24
|
...restProps,
|
|
25
|
+
...mergeDataAttributes(dataAttributes({
|
|
26
|
+
slot: 'hstack'
|
|
27
|
+
}), restProps),
|
|
24
28
|
children: children
|
|
25
29
|
});
|
|
26
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["forwardRef","
|
|
1
|
+
{"version":3,"names":["forwardRef","dataAttributes","mergeDataAttributes","cn","Box","hStackRootVariants","jsx","_jsx","HStack","reversed","space","style","className","children","restProps","ref","slot","displayName"],"sourceRoot":"../../../../src","sources":["components/Stack/HStack.tsx"],"mappings":";;AACA,SAASA,UAAU,QAAQ,OAAO;AAElC,SAASC,cAAc,EAAEC,mBAAmB,QAAQ,oBAAoB;AACxE,SAASC,EAAE,QAAQ,eAAe;AAClC,SAASC,GAAG,QAAuB,QAAQ;AAC3C,SAASC,kBAAkB,QAAyB,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAc/D,OAAO,MAAMC,MAAM,gBAAGR,UAAU,CAC9B,CACE;EAAES,QAAQ,GAAG,KAAK;EAAEC,KAAK;EAAEC,KAAK;EAAEC,SAAS;EAAEC,QAAQ;EAAE,GAAGC;AAAU,CAAC,EACrEC,GAAuB,KACpB;EACH,oBACER,IAAA,CAACH,GAAG;IACFW,GAAG,EAAEA,GAAI;IACTH,SAAS,EAAET,EAAE,CAACE,kBAAkB,CAAC;MAAEI,QAAQ;MAAEC;IAAM,CAAC,CAAC,EAAEE,SAAS,CAAE;IAClED,KAAK,EAAEA,KAAM;IAAA,GACTG,SAAS;IAAA,GAETZ,mBAAmB,CAACD,cAAc,CAAC;MAAEe,IAAI,EAAE;IAAS,CAAC,CAAC,EAAEF,SAAS,CAAC;IAAAD,QAAA,EAErEA;EAAQ,CACN,CAAC;AAEV,CACF,CAAC;AAEDL,MAAM,CAACS,WAAW,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { dataAttributes, mergeDataAttributes } from '@cdx-ui/primitives';
|
|
5
5
|
import { cn } from '@cdx-ui/utils';
|
|
6
|
+
import { Box } from '../Box';
|
|
6
7
|
import { vStackRootVariants } from './styles';
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
9
|
export const VStack = /*#__PURE__*/forwardRef(({
|
|
@@ -13,7 +14,7 @@ export const VStack = /*#__PURE__*/forwardRef(({
|
|
|
13
14
|
children,
|
|
14
15
|
...restProps
|
|
15
16
|
}, ref) => {
|
|
16
|
-
return /*#__PURE__*/_jsx(
|
|
17
|
+
return /*#__PURE__*/_jsx(Box, {
|
|
17
18
|
ref: ref,
|
|
18
19
|
className: cn(vStackRootVariants({
|
|
19
20
|
reversed,
|
|
@@ -21,6 +22,9 @@ export const VStack = /*#__PURE__*/forwardRef(({
|
|
|
21
22
|
}), className),
|
|
22
23
|
style: style,
|
|
23
24
|
...restProps,
|
|
25
|
+
...mergeDataAttributes(dataAttributes({
|
|
26
|
+
slot: 'vstack'
|
|
27
|
+
}), restProps),
|
|
24
28
|
children: children
|
|
25
29
|
});
|
|
26
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["forwardRef","
|
|
1
|
+
{"version":3,"names":["forwardRef","dataAttributes","mergeDataAttributes","cn","Box","vStackRootVariants","jsx","_jsx","VStack","reversed","space","style","className","children","restProps","ref","slot","displayName"],"sourceRoot":"../../../../src","sources":["components/Stack/VStack.tsx"],"mappings":";;AACA,SAASA,UAAU,QAAQ,OAAO;AAElC,SAASC,cAAc,EAAEC,mBAAmB,QAAQ,oBAAoB;AACxE,SAASC,EAAE,QAAQ,eAAe;AAClC,SAASC,GAAG,QAAuB,QAAQ;AAC3C,SAASC,kBAAkB,QAAyB,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAc/D,OAAO,MAAMC,MAAM,gBAAGR,UAAU,CAC9B,CACE;EAAES,QAAQ,GAAG,KAAK;EAAEC,KAAK;EAAEC,KAAK;EAAEC,SAAS;EAAEC,QAAQ;EAAE,GAAGC;AAAU,CAAC,EACrEC,GAAuB,KACpB;EACH,oBACER,IAAA,CAACH,GAAG;IACFW,GAAG,EAAEA,GAAI;IACTH,SAAS,EAAET,EAAE,CAACE,kBAAkB,CAAC;MAAEI,QAAQ;MAAEC;IAAM,CAAC,CAAC,EAAEE,SAAS,CAAE;IAClED,KAAK,EAAEA,KAAM;IAAA,GACTG,SAAS;IAAA,GAETZ,mBAAmB,CAACD,cAAc,CAAC;MAAEe,IAAI,EAAE;IAAS,CAAC,CAAC,EAAEF,SAAS,CAAC;IAAAD,QAAA,EAErEA;EAAQ,CACN,CAAC;AAEV,CACF,CAAC;AAEDL,MAAM,CAACS,WAAW,GAAG,QAAQ","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
/// <reference types="uniwind/types" preserve="true" />
|
|
4
|
+
import { View as RNView } from 'react-native';
|
|
4
5
|
export * from './components';
|
|
5
6
|
export * from './hooks';
|
|
6
7
|
export * from './navigation';
|
|
7
8
|
export { ToastProvider, useToast } from './providers/toast';
|
|
8
9
|
export { ForgeDesignProvider } from './providers/forge-design';
|
|
9
|
-
export {
|
|
10
|
+
export { ScrollView, KeyboardAvoidingView } from 'react-native';
|
|
10
11
|
export { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
12
|
+
|
|
13
|
+
/** @deprecated Use `Box` instead. */
|
|
14
|
+
export const View = RNView;
|
|
15
|
+
/** @deprecated Use `BoxRef` for refs and `BoxProps` for props instead. */
|
|
11
16
|
//# sourceMappingURL=index.js.map
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ToastProvider","useToast","ForgeDesignProvider","
|
|
1
|
+
{"version":3,"names":["View","RNView","ToastProvider","useToast","ForgeDesignProvider","ScrollView","KeyboardAvoidingView","SafeAreaView","useSafeAreaInsets"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA;AACA,SAASA,IAAI,IAAIC,MAAM,QAAQ,cAAc;AAE7C,cAAc,cAAc;AAC5B,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,SAASC,aAAa,EAAEC,QAAQ,QAAQ,mBAAmB;AAE3D,SAASC,mBAAmB,QAAQ,0BAA0B;AAE9D,SAASC,UAAU,EAAEC,oBAAoB,QAAQ,cAAc;AAC/D,SAASC,YAAY,EAAEC,iBAAiB,QAAQ,gCAAgC;;AAEhF;AACA,OAAO,MAAMR,IAAI,GAAGC,MAAM;AAC1B","ignoreList":[]}
|
|
@@ -22,7 +22,7 @@ export declare function usePopupDialogContentAnimation({ isOpen, progress, isDra
|
|
|
22
22
|
contentY: SharedValue<number>;
|
|
23
23
|
contentHeight: SharedValue<number>;
|
|
24
24
|
panGesture: import("react-native-gesture-handler/lib/typescript/handlers/gestures/panGesture").PanGesture;
|
|
25
|
-
rDragContainerStyle: {
|
|
25
|
+
rDragContainerStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
|
|
26
26
|
opacity: number;
|
|
27
27
|
transform: ({
|
|
28
28
|
translateY: number;
|
|
@@ -40,7 +40,7 @@ export declare function usePopupDialogContentAnimation({ isOpen, progress, isDra
|
|
|
40
40
|
translateY?: undefined;
|
|
41
41
|
})[];
|
|
42
42
|
opacity?: undefined;
|
|
43
|
-
}
|
|
43
|
+
}>;
|
|
44
44
|
entering: import("react-native-reanimated").BaseAnimationBuilder | ((targetValues: import("react-native-reanimated").EntryAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | ((targetValues: import("react-native-reanimated").ExitAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | import("react-native-reanimated").ReanimatedKeyframe | undefined;
|
|
45
45
|
exiting: import("react-native-reanimated").BaseAnimationBuilder | ((targetValues: import("react-native-reanimated").EntryAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | ((targetValues: import("react-native-reanimated").ExitAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | import("react-native-reanimated").ReanimatedKeyframe | undefined;
|
|
46
46
|
};
|
|
@@ -18,11 +18,11 @@ export interface UsePopupOverlayAnimationOptions {
|
|
|
18
18
|
* On web, entering/exiting are undefined (CSS transitions drive the visuals).
|
|
19
19
|
*/
|
|
20
20
|
export declare function usePopupOverlayAnimation(options: UsePopupOverlayAnimationOptions): {
|
|
21
|
-
rContainerStyle: {
|
|
21
|
+
rContainerStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
|
|
22
22
|
opacity?: undefined;
|
|
23
23
|
} | {
|
|
24
24
|
opacity: number;
|
|
25
|
-
}
|
|
25
|
+
}>;
|
|
26
26
|
entering: import("react-native-reanimated").BaseAnimationBuilder | ((targetValues: import("react-native-reanimated").EntryAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | ((targetValues: import("react-native-reanimated").ExitAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | import("react-native-reanimated").ReanimatedKeyframe | undefined;
|
|
27
27
|
exiting: import("react-native-reanimated").BaseAnimationBuilder | ((targetValues: import("react-native-reanimated").EntryAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | ((targetValues: import("react-native-reanimated").ExitAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | import("react-native-reanimated").ReanimatedKeyframe | undefined;
|
|
28
28
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
2
|
import { View, ViewStyle } from 'react-native';
|
|
3
3
|
import { BottomSheetModal, BottomSheetModalProvider, BottomSheetScrollView, BottomSheetView, type BottomSheetModalProps as GorhomBottomSheetModalProps } from '@gorhom/bottom-sheet';
|
|
4
|
+
import { type BottomSheetContentVariantProps } from './styles';
|
|
4
5
|
/** Ref type for BottomSheet; forwards the @gorhom modal ref (present, dismiss, snapToIndex, minimize, restore, etc.). */
|
|
5
6
|
export type BottomSheetModalRef = React.ComponentRef<typeof BottomSheetModal>;
|
|
6
7
|
export interface BottomSheetHeaderProps {
|
|
@@ -26,6 +27,8 @@ export interface BottomSheetContentProps {
|
|
|
26
27
|
className?: string;
|
|
27
28
|
/** Adds bottom padding equal to the safe-area inset. */
|
|
28
29
|
hasSafeAreaInset?: boolean;
|
|
30
|
+
/** Removes horizontal padding. Inherits the parent `BottomSheet.Modal`'s `fullBleed` when omitted. */
|
|
31
|
+
fullBleed?: BottomSheetContentVariantProps['fullBleed'];
|
|
29
32
|
style?: ViewStyle;
|
|
30
33
|
}
|
|
31
34
|
declare const BottomSheetContent: React.ForwardRefExoticComponent<BottomSheetContentProps & React.RefAttributes<View>>;
|
|
@@ -43,6 +46,11 @@ export interface BottomSheetModalProps extends GorhomBottomSheetModalProps {
|
|
|
43
46
|
* Pass it through this prop; a footer placed as a child does not animate with the sheet.
|
|
44
47
|
*/
|
|
45
48
|
footer?: ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Removes `BottomSheet.Content`'s horizontal padding so content can span the sheet edge to edge.
|
|
51
|
+
* `BottomSheet.Content` inherits this unless it sets its own `fullBleed`. The footer keeps its padding.
|
|
52
|
+
*/
|
|
53
|
+
fullBleed?: BottomSheetContentVariantProps['fullBleed'];
|
|
46
54
|
}
|
|
47
55
|
declare const BottomSheetModalStyled: React.ForwardRefExoticComponent<BottomSheetModalProps & React.RefAttributes<BottomSheetModal<unknown>>>;
|
|
48
56
|
declare function BottomSheetScrollViewStyled({ enableFooterMarginAdjustment, children, ...rest }: React.ComponentPropsWithoutRef<typeof BottomSheetScrollView>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAUZ,KAAK,SAAS,EACf,MA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settle correctly. */
|
|
2
3
|
export declare const bottomSheetModalContainerClassName = "rounded-t-4xl";
|
|
3
4
|
/** Clip the static background for rounded corners without clipping the animated sheet. */
|
|
4
5
|
export declare const bottomSheetBackgroundClassName = "rounded-t-4xl overflow-hidden bg-surface-primary";
|
|
5
|
-
export declare const bottomSheetContentVariants: (props?:
|
|
6
|
+
export declare const bottomSheetContentVariants: (props?: ({
|
|
7
|
+
fullBleed?: boolean | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
export type BottomSheetContentVariantProps = VariantProps<typeof bottomSheetContentVariants>;
|
|
6
10
|
export declare const bottomSheetFooterVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
7
11
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAEvD,yFAAyF;AACzF,eAAO,MAAM,kCAAkC,kBAAkB,CAAC;AAElE,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B,qDAA6E,CAAC;AAEzH,eAAO,MAAM,0BAA0B;;8EAMrC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,YAAY,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE7F,eAAO,MAAM,yBAAyB,oFAAiD,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { View, type ViewProps } from 'react-native';
|
|
2
2
|
export interface BoxProps extends ViewProps {
|
|
3
3
|
className?: string;
|
|
4
|
+
/** Renders the child element in place of the default `View`, merging Box's props onto it. */
|
|
5
|
+
asChild?: boolean;
|
|
4
6
|
}
|
|
7
|
+
/** The instance type of a `Box` ref, e.g. `useRef<BoxRef>(null)`. */
|
|
8
|
+
export type BoxRef = View;
|
|
5
9
|
export declare const Box: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<View>>;
|
|
6
10
|
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,WAAW,QAAS,SAAQ,SAAS;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6FAA6F;IAC7F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,qEAAqE;AACrE,MAAM,MAAM,MAAM,GAAG,IAAI,CAAC;AAE1B,eAAO,MAAM,GAAG,2FAgBf,CAAC"}
|
|
@@ -6,7 +6,8 @@ export type { BreadcrumbVariantProps } from './styles';
|
|
|
6
6
|
export interface BreadcrumbsProps extends IBreadcrumbsProps {
|
|
7
7
|
className?: string;
|
|
8
8
|
/**
|
|
9
|
-
* Separator rendered between breadcrumb items.
|
|
9
|
+
* Separator rendered between breadcrumb items. A direct `Icon` or `Text` child takes the
|
|
10
|
+
* separator color unless it sets `color`.
|
|
10
11
|
* @default `/`
|
|
11
12
|
*/
|
|
12
13
|
separator?: ReactNode;
|
|
@@ -17,6 +18,7 @@ interface BreadcrumbItemInternalProps {
|
|
|
17
18
|
}
|
|
18
19
|
export interface BreadcrumbsItemProps extends Omit<ILinkProps, 'children' | 'disabled'> {
|
|
19
20
|
className?: string;
|
|
21
|
+
/** Item content. A direct `Icon` or `Text` child takes the item's state color unless it sets `color`. */
|
|
20
22
|
children?: ReactNode;
|
|
21
23
|
}
|
|
22
24
|
declare const BreadcrumbsRoot: import("react").ForwardRefExoticComponent<BreadcrumbsProps & import("react").RefAttributes<View>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAkB,IAAI,EAAkC,MAAM,cAAc,CAAC;AACpF,OAAO,EAML,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAkB,IAAI,EAAkC,MAAM,cAAc,CAAC;AACpF,OAAO,EAML,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAC;AAa5B,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAIvD,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,UAAU,2BAA2B;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAAC;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yGAAyG;IACzG,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAgGD,QAAA,MAAM,eAAe,mGAqDpB,CAAC;AAkBF,QAAA,MAAM,eAAe,qIAqGpB,CAAC;AAIF,KAAK,4BAA4B,GAAG,OAAO,eAAe,GAAG;IAC3D,IAAI,EAAE,OAAO,eAAe,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAElB,4BAA4B,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type VariantProps } from '@cdx-ui/utils';
|
|
2
|
+
import type { BreadcrumbColor } from '@cdx-ui/primitives';
|
|
2
3
|
export declare const breadcrumbRootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
3
4
|
export declare const breadcrumbDisabledCursor = "web:cursor-not-allowed";
|
|
4
5
|
export declare const breadcrumbSeparatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
6
|
+
export declare function breadcrumbContentColor(state: 'current' | 'ancestor' | 'disabled' | 'separator', color: BreadcrumbColor): string;
|
|
5
7
|
export declare const breadcrumbItemRootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
6
8
|
export declare const breadcrumbItemVariants: (props?: ({
|
|
7
9
|
isUnderlined?: boolean | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,eAAO,MAAM,sBAAsB,oFAIjC,CAAC;AAEH,eAAO,MAAM,wBAAwB,2BAA2B,CAAC;AAEjE,eAAO,MAAM,2BAA2B,oFAA0D,CAAC;AAcnG,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,EACxD,KAAK,EAAE,eAAe,GACrB,MAAM,CAaR;AAED,eAAO,MAAM,0BAA0B,oFAKrC,CAAC;AAeH,eAAO,MAAM,sBAAsB;;;8EAyBlC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarMonthHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarMonthHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAKL,KAAK,mBAAmB,EACxB,KAAK,OAAO,EACb,MAAM,oBAAoB,CAAC;AAa5B,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEtD,MAAM,WAAW,wBAAyB,SAAQ,SAAS;IACzD,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,YAAY,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"CalendarMonthHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarMonthHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAKL,KAAK,mBAAmB,EACxB,KAAK,OAAO,EACb,MAAM,oBAAoB,CAAC;AAa5B,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEtD,MAAM,WAAW,wBAAyB,SAAQ,SAAS;IACzD,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,YAAY,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,mBAAmB,2GA8F/B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
/** Pill cell (40px) plus its vertical margins and row gap; fixed so the initial offset is exact. */
|
|
3
|
+
export declare const YEAR_ROW_HEIGHT = 52;
|
|
4
|
+
export interface YearRange {
|
|
5
|
+
first: number;
|
|
6
|
+
last: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function getYearRange(minYear: number | undefined, maxYear: number | undefined, visibleYear: number, todayYear: number): YearRange;
|
|
9
|
+
export interface CalendarYearListProps extends YearRange {
|
|
10
|
+
selectedYear: number;
|
|
11
|
+
/** Fixed list height, matched to the sibling view so switching views does not resize. */
|
|
12
|
+
height: number;
|
|
13
|
+
renderYear: (year: number) => ReactElement;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Three-up year list shared by the Calendar, RangeCalendar, and MonthCalendar year views.
|
|
17
|
+
*
|
|
18
|
+
* A plain `ScrollView` rather than a `FlatList`: the pickers render this inside their popover
|
|
19
|
+
* `ScrollView`, and a nested `VirtualizedList` breaks windowing there. The list is a few hundred
|
|
20
|
+
* light cells at most, so virtualization buys little.
|
|
21
|
+
*/
|
|
22
|
+
export declare function CalendarYearList({ first, last, selectedYear, height, renderYear, }: CalendarYearListProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=CalendarYearList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarYearList.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarYearList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAYlF,oGAAoG;AACpG,eAAO,MAAM,eAAe,KAAK,CAAC;AAIlC,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAChB,SAAS,CAKX;AAMD,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,yFAAyF;IACzF,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,YAAY,CAAC;CAC5C;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,UAAU,GACX,EAAE,qBAAqB,2CA6EvB"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { View, type ViewProps } from 'react-native';
|
|
2
|
-
import { type DateComponentLabels, type MonthId } from '@cdx-ui/formatters';
|
|
2
|
+
import { type DateComponentLabels, type DateId, type MonthId } from '@cdx-ui/formatters';
|
|
3
3
|
import type { CalendarNavigationView } from './CalendarMonthHeader';
|
|
4
4
|
export interface CalendarYearPickerGridProps extends ViewProps {
|
|
5
5
|
monthId: MonthId;
|
|
6
6
|
onMonthIdChange: (monthId: MonthId) => void;
|
|
7
|
+
/** Earliest selectable date; its year is the first year listed. */
|
|
8
|
+
minValue?: DateId;
|
|
9
|
+
/** Latest selectable date; its year is the last year listed. */
|
|
10
|
+
maxValue?: DateId;
|
|
7
11
|
disabled?: boolean;
|
|
8
12
|
onViewChange: (view: CalendarNavigationView) => void;
|
|
9
13
|
labels?: Partial<DateComponentLabels>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarYearPickerGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarYearPickerGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,
|
|
1
|
+
{"version":3,"file":"CalendarYearPickerGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarYearPickerGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAML,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,OAAO,EACb,MAAM,oBAAoB,CAAC;AAG5B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAQpE,MAAM,WAAW,2BAA4B,SAAQ,SAAS;IAC5D,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,sBAAsB,8GA2FlC,CAAC"}
|
|
@@ -8,6 +8,14 @@ export declare function useFlashCalendarRangeTheme(range?: {
|
|
|
8
8
|
/** Keep range days flush so the band reads as one shape (filler covers residual sub-pixel gaps). */
|
|
9
9
|
export declare const FLASH_CALENDAR_RANGE_DAY_SPACING = 0;
|
|
10
10
|
export declare const FLASH_CALENDAR_DAY_HEIGHT = 36;
|
|
11
|
+
export declare const FLASH_CALENDAR_WEEK_HEADER_HEIGHT = 28;
|
|
12
|
+
export declare const FLASH_CALENDAR_ROW_VERTICAL_SPACING = 4;
|
|
13
|
+
/**
|
|
14
|
+
* Rendered height of the Flash Calendar month grid for `monthId`, derived from the same layout
|
|
15
|
+
* values passed to Flash Calendar (zero-height month row, weekday header, one row per week with
|
|
16
|
+
* Sunday as the first day). Lets the year view match the day view without measuring.
|
|
17
|
+
*/
|
|
18
|
+
export declare function getFlashCalendarGridHeight(monthId: MonthId): number;
|
|
11
19
|
export declare function formatFlashCalendarWeekdayShort(date: Date, locale: string): string;
|
|
12
20
|
/** Every day of the month Flash Calendar renders; days of adjacent months render as blanks. */
|
|
13
21
|
export declare function getMonthDateIds(monthId: MonthId): DateId[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flashCalendarAdapter.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/flashCalendarAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAA8B,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"flashCalendarAdapter.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/flashCalendarAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAA8B,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;AA4I3F,wBAAgB,qBAAqB,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,aAAa,CAqF5E;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAiHhB;AAED,oGAAoG;AACpG,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAElD,eAAO,MAAM,yBAAyB,KAAW,CAAC;AAElD,eAAO,MAAM,iCAAiC,KAAK,CAAC;AAEpD,eAAO,MAAM,mCAAmC,IAAI,CAAC;AAErD;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAWnE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAElF;AAED,+FAA+F;AAC/F,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAS1D;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAEnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxF,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxF,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAC;AAe5B,MAAM,WAAW,aAAc,SAAQ,cAAc,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAYD,QAAA,MAAM,YAAY,gGAYjB,CAAC;AAIF,QAAA,MAAM,cAAc,4FAkBlB,CAAC;AAsBH,QAAA,MAAM,YAAY,4FA4DhB,CAAC;AAIH,QAAA,MAAM,kBAAkB,4FAkBtB,CAAC;AAIH,KAAK,gBAAgB,GAAG,OAAO,YAAY,GAAG;IAC5C,MAAM,EAAE,OAAO,cAAc,CAAC;IAC9B,IAAI,EAAE,OAAO,YAAY,CAAC;IAC1B,UAAU,EAAE,OAAO,kBAAkB,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAIf,gBAAgB,CAAC"}
|