@fluidattacks/design 3.0.0 → 3.0.1
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.js +119 -119
- package/dist/index.mjs +3194 -3195
- package/dist/types/components/inputs/fields/date/calendar/index.d.ts +1 -1
- package/dist/types/components/inputs/fields/date/types.d.ts +2 -4
- package/dist/types/components/inputs/fields/date-range/calendar/index.d.ts +1 -1
- package/dist/types/components/inputs/fields/date-time/calendar/index.d.ts +2 -3
- package/dist/types/components/inputs/utils/calendar-button/index.d.ts +1 -1
- package/dist/types/components/inputs/utils/dialog/index.d.ts +1 -1
- package/dist/types/components/inputs/utils/types.d.ts +2 -4
- package/dist/types/components/slider/types.d.ts +2 -2
- package/package.json +8 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CalendarStateOptions } from "
|
|
1
|
+
import type { CalendarStateOptions } from "react-stately";
|
|
2
2
|
declare const Calendar: ({ onClose, props, }: Readonly<{
|
|
3
3
|
onClose: () => void;
|
|
4
4
|
props: Omit<CalendarStateOptions, "createCalendar" | "locale">;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { AriaCalendarCellProps, AriaCalendarGridProps, CalendarAria } from "@react-aria/calendar";
|
|
2
|
-
import type { DateValue } from "@react-aria/datepicker";
|
|
3
|
-
import type { CalendarState, RangeCalendarState } from "@react-stately/calendar";
|
|
4
|
-
import type { DatePickerStateOptions, DateRangePickerStateOptions } from "@react-stately/datepicker";
|
|
5
1
|
import { InputHTMLAttributes } from "react";
|
|
2
|
+
import type { AriaCalendarCellProps, AriaCalendarGridProps, CalendarAria, DateValue } from "react-aria";
|
|
3
|
+
import type { CalendarState, DatePickerStateOptions, DateRangePickerStateOptions, RangeCalendarState } from "react-stately";
|
|
6
4
|
/**
|
|
7
5
|
* Calendar state props.
|
|
8
6
|
* @interface ICalendarState
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RangeCalendarStateOptions } from "
|
|
1
|
+
import type { RangeCalendarStateOptions } from "react-stately";
|
|
2
2
|
declare const Calendar: ({ onClose, props, }: Readonly<{
|
|
3
3
|
onClose: () => void;
|
|
4
4
|
props: Omit<RangeCalendarStateOptions, "createCalendar" | "locale">;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { TimeValue } from "
|
|
2
|
-
import type { CalendarStateOptions } from "
|
|
3
|
-
import type { DatePickerState } from "@react-stately/datepicker";
|
|
1
|
+
import type { TimeValue } from "react-aria";
|
|
2
|
+
import type { CalendarStateOptions, DatePickerState } from "react-stately";
|
|
4
3
|
declare const Calendar: ({ handleTimeChange, onClose, props, timeState, }: Readonly<{
|
|
5
4
|
handleTimeChange: (selectedValue: TimeValue | null) => void;
|
|
6
5
|
onClose: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IconName } from "@fortawesome/free-solid-svg-icons";
|
|
2
|
-
import type { AriaButtonOptions } from "
|
|
2
|
+
import type { AriaButtonOptions } from "react-aria";
|
|
3
3
|
declare const Button: ({ disabled, icon, props, }: Readonly<{
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
icon: IconName;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AriaDialogProps } from "@react-aria/dialog";
|
|
2
1
|
import { PropsWithChildren } from "react";
|
|
2
|
+
import type { AriaDialogProps } from "react-aria";
|
|
3
3
|
declare const Dialog: ({ children, ...props }: Readonly<PropsWithChildren<AriaDialogProps>>) => JSX.Element;
|
|
4
4
|
export { Dialog };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { AriaDatePickerProps, DatePickerAria, DateValue } from "@react-aria/datepicker";
|
|
2
|
-
import type { AriaPopoverProps } from "@react-aria/overlays";
|
|
3
|
-
import type { DateFieldState, DateFieldStateOptions, DateSegment, TimeFieldStateOptions } from "@react-stately/datepicker";
|
|
4
|
-
import type { OverlayTriggerState } from "@react-stately/overlays";
|
|
5
1
|
import type { Property } from "csstype";
|
|
2
|
+
import type { AriaDatePickerProps, AriaPopoverProps, DatePickerAria, DateValue } from "react-aria";
|
|
3
|
+
import type { DateFieldState, DateFieldStateOptions, DateSegment, OverlayTriggerState, TimeFieldStateOptions } from "react-stately";
|
|
6
4
|
import { IBorderModifiable, IIconModifiable, IPaddingModifiable } from "components/@core";
|
|
7
5
|
/**
|
|
8
6
|
* Action button component props.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AriaSliderThumbOptions } from "
|
|
2
|
-
import type { SliderState, SliderStateOptions } from "
|
|
1
|
+
import type { AriaSliderThumbOptions } from "react-aria";
|
|
2
|
+
import type { SliderState, SliderStateOptions } from "react-stately";
|
|
3
3
|
/**
|
|
4
4
|
* Slider thumb component props.
|
|
5
5
|
* @interface ISliderThumbProps
|
package/package.json
CHANGED
|
@@ -4,8 +4,14 @@
|
|
|
4
4
|
"url": "https://gitlab.com/fluidattacks/universe/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
+
"@internationalized/date": "3.6.0",
|
|
8
|
+
"@react-types/shared": "3.26.0",
|
|
7
9
|
"react": "18.2.0",
|
|
10
|
+
"react-aria": "3.36.0",
|
|
8
11
|
"react-dom": "18.2.0",
|
|
12
|
+
"react-hook-form": "7.53.2",
|
|
13
|
+
"react-router-dom": "6.28.0",
|
|
14
|
+
"react-stately": "3.34.0",
|
|
9
15
|
"styled-components": "6.1.13"
|
|
10
16
|
},
|
|
11
17
|
"description": "Fluidattacks core components library",
|
|
@@ -77,29 +83,13 @@
|
|
|
77
83
|
"@cloudinary/react": "1.13.1",
|
|
78
84
|
"@cloudinary/url-gen": "1.21.0",
|
|
79
85
|
"@floating-ui/react-dom": "2.1.2",
|
|
80
|
-
"@fortawesome/free-solid-svg-icons": "6.7.
|
|
86
|
+
"@fortawesome/free-solid-svg-icons": "6.7.2",
|
|
81
87
|
"@fortawesome/react-fontawesome": "0.2.2",
|
|
82
|
-
"@internationalized/date": "3.6.0",
|
|
83
|
-
"@react-aria/button": "3.11.0",
|
|
84
|
-
"@react-aria/calendar": "3.6.0",
|
|
85
|
-
"@react-aria/datepicker": "3.12.0",
|
|
86
|
-
"@react-aria/dialog": "3.5.20",
|
|
87
|
-
"@react-aria/focus": "3.19.0",
|
|
88
|
-
"@react-aria/i18n": "3.12.4",
|
|
89
|
-
"@react-aria/overlays": "3.24.0",
|
|
90
|
-
"@react-aria/slider": "3.7.14",
|
|
91
|
-
"@react-stately/calendar": "3.6.0",
|
|
92
|
-
"@react-stately/datepicker": "3.11.0",
|
|
93
|
-
"@react-stately/overlays": "3.6.12",
|
|
94
|
-
"@react-stately/slider": "3.6.0",
|
|
95
|
-
"@react-types/shared": "3.26.0",
|
|
96
88
|
"dayjs": "1.11.13",
|
|
97
89
|
"lottie-light-react": "2.4.0",
|
|
98
90
|
"motion": "11.15.0",
|
|
99
91
|
"prismjs": "1.29.0",
|
|
100
|
-
"react-hook-form": "7.53.2",
|
|
101
92
|
"react-international-phone": "4.3.0",
|
|
102
|
-
"react-router-dom": "6.28.0",
|
|
103
93
|
"react-joyride": "2.9.3",
|
|
104
94
|
"react-tooltip": "5.28.0"
|
|
105
95
|
},
|
|
@@ -119,5 +109,5 @@
|
|
|
119
109
|
"test-storybook": "test-storybook"
|
|
120
110
|
},
|
|
121
111
|
"types": "dist/types/index.d.ts",
|
|
122
|
-
"version": "3.0.
|
|
112
|
+
"version": "3.0.1"
|
|
123
113
|
}
|