@northlight/ui 2.43.1 → 2.43.3
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/es/northlight.d.ts +3 -2
- package/dist/es/northlight.js +1390 -896
- package/dist/es/northlight.js.map +1 -1
- package/dist/sandbox/index.cjs +1185 -693
- package/dist/sandbox/index.cjs.map +1 -1
- package/dist/sandbox/index.js +1186 -694
- package/dist/sandbox/index.js.map +1 -1
- package/dist/umd/northlight.cjs +1392 -898
- package/dist/umd/northlight.cjs.map +1 -1
- package/dist/umd/northlight.min.cjs +3 -3
- package/dist/umd/northlight.min.cjs.map +1 -1
- package/lib/components/date-picker/components/date-field/trigger.tsx +26 -6
- package/lib/components/date-picker/components/date-field/types.ts +1 -0
- package/lib/components/date-picker/date-picker/date-picker.tsx +225 -11
- package/lib/components/date-picker/date-picker/date-range-picker.tsx +214 -33
- package/lib/components/date-picker/types.ts +3 -1
- package/lib/hooks/use-arrow-focus/index.ts +1 -1
- package/package.json +3 -3
package/dist/es/northlight.d.ts
CHANGED
|
@@ -1274,6 +1274,7 @@ interface DatePickerSettings {
|
|
|
1274
1274
|
variant?: 'outline' | 'filled';
|
|
1275
1275
|
}
|
|
1276
1276
|
interface DatePickerProps extends Omit<AriaDatePickerProps<DateValue>, 'firstDayOfWeek'>, DatePickerSettings {
|
|
1277
|
+
'data-testid': string;
|
|
1277
1278
|
}
|
|
1278
1279
|
interface DateRangePickerProps extends Omit<AriaDateRangePickerProps<DateValue>, 'firstDayOfWeek' | 'onChange' | 'value' | 'minValue' | 'maxValue'>, DatePickerSettings {
|
|
1279
1280
|
/**
|
|
@@ -4835,8 +4836,8 @@ declare const useArrowFocus: (columns: number) => {
|
|
|
4835
4836
|
wrap: boolean;
|
|
4836
4837
|
repeat: number;
|
|
4837
4838
|
}) => void;
|
|
4838
|
-
focusFirst: (opts?: _react_aria_focus.FocusManagerOptions | undefined) => _react_types_shared.FocusableElement;
|
|
4839
|
-
focusLast: (opts?: _react_aria_focus.FocusManagerOptions | undefined) => _react_types_shared.FocusableElement;
|
|
4839
|
+
focusFirst: (opts?: _react_aria_focus.FocusManagerOptions | undefined) => _react_types_shared.FocusableElement | null;
|
|
4840
|
+
focusLast: (opts?: _react_aria_focus.FocusManagerOptions | undefined) => _react_types_shared.FocusableElement | null;
|
|
4840
4841
|
};
|
|
4841
4842
|
|
|
4842
4843
|
interface UseSelectCallbacksProps<T, K extends boolean = false> extends Omit<Props<T, boolean, GroupBase<T>>, 'onChange' | 'value'> {
|