@wavv/ui 2.0.0-alpha.2 → 2.0.0-alpha.4
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/build/cjs/index.js +16 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/assets/icons/Dash.d.ts +3 -0
- package/build/cjs/types/assets/icons/Funnel.d.ts +3 -0
- package/build/cjs/types/assets/icons/LocalArea.d.ts +3 -0
- package/build/cjs/types/assets/icons/Location.d.ts +3 -0
- package/build/cjs/types/assets/icons/Notes.d.ts +3 -0
- package/build/cjs/types/assets/icons/Shield.d.ts +3 -0
- package/build/cjs/types/assets/icons/ShieldHealth.d.ts +3 -0
- package/build/cjs/types/components/Button/Button.d.ts +1 -1
- package/build/cjs/types/components/Button/ButtonTypes.d.ts +9 -8
- package/build/cjs/types/components/Button/index.d.ts +1 -2
- package/build/cjs/types/components/Calendar.d.ts +6 -9
- package/build/cjs/types/components/CalendarParts/CalendarContainerStyles.d.ts +7 -0
- package/build/cjs/types/components/CalendarParts/CalendarContent.d.ts +7 -0
- package/build/cjs/types/components/CalendarParts/CalendarHeader.d.ts +2 -0
- package/build/cjs/types/components/CalendarParts/useMinMax.d.ts +12 -0
- package/build/cjs/types/components/CalendarParts/utils.d.ts +4 -0
- package/build/cjs/types/components/ComboBox.d.ts +17 -0
- package/build/cjs/types/components/DraftEditor.d.ts +1 -3
- package/build/cjs/types/components/Dropdown/Dropdown.d.ts +4 -4
- package/build/cjs/types/components/Dropdown/DropdownUtils.d.ts +4 -13
- package/build/cjs/types/components/Dropdown/index.d.ts +0 -1
- package/build/cjs/types/components/DropdownMenu.d.ts +16 -55
- package/build/cjs/types/components/DropdownMenuParts/Menu.d.ts +8 -0
- package/build/cjs/types/components/DropdownMenuParts/MenuItem.d.ts +5 -0
- package/build/cjs/types/components/Form.d.ts +2 -4
- package/build/cjs/types/components/Icon/icons.d.ts +7 -0
- package/build/cjs/types/components/Input.d.ts +0 -6
- package/build/cjs/types/components/InputHelpers.d.ts +0 -3
- package/build/cjs/types/components/Inputs/DatePicker.d.ts +9 -0
- package/build/cjs/types/components/Inputs/DateRangePicker.d.ts +10 -0
- package/build/cjs/types/components/Inputs/NumberInput.d.ts +5 -0
- package/build/cjs/types/components/Inputs/TextInput.d.ts +5 -0
- package/build/cjs/types/components/Inputs/helpers/AriaButton.d.ts +5 -0
- package/build/cjs/types/components/Inputs/helpers/DateSegment.d.ts +8 -0
- package/build/cjs/types/components/Inputs/helpers/Description.d.ts +6 -0
- package/build/cjs/types/components/Inputs/helpers/ErrorMessage.d.ts +6 -0
- package/build/cjs/types/components/Inputs/helpers/Input.d.ts +11 -0
- package/build/cjs/types/components/Inputs/helpers/InputContainerStyles.d.ts +13 -0
- package/build/cjs/types/components/Inputs/helpers/InputMessage.d.ts +9 -0
- package/build/cjs/types/components/Inputs/helpers/InputStyles.d.ts +11 -0
- package/build/cjs/types/components/Inputs/helpers/Label.d.ts +9 -0
- package/build/cjs/types/components/Inputs/helpers/LabelWrapper.d.ts +8 -0
- package/build/cjs/types/components/Inputs/helpers/PickerToggle.d.ts +6 -0
- package/build/cjs/types/components/Inputs/helpers/useInputFocus.d.ts +8 -0
- package/build/cjs/types/components/ListBoxParts/ListBox.d.ts +8 -0
- package/build/cjs/types/components/ListBoxParts/ListBoxItem.d.ts +5 -0
- package/build/cjs/types/components/ListHelpers/ItemHeaderBody.d.ts +7 -0
- package/build/cjs/types/components/ListHelpers/ListHeader.d.ts +6 -0
- package/build/cjs/types/components/ListHelpers/ListItemStyles.d.ts +16 -0
- package/build/cjs/types/components/ListHelpers/ListSection.d.ts +8 -0
- package/build/cjs/types/components/ListHelpers/ListStyles.d.ts +11 -0
- package/build/cjs/types/components/Modal.d.ts +3 -1
- package/build/cjs/types/components/MultiSelect.d.ts +4 -4
- package/build/cjs/types/components/OptionHelpers/Item.d.ts +2 -0
- package/build/cjs/types/components/OptionHelpers/types.d.ts +2 -0
- package/build/cjs/types/components/Options.d.ts +1 -1
- package/build/cjs/types/components/RangeCalendar.d.ts +13 -0
- package/build/cjs/types/components/Select.d.ts +12 -63
- package/build/cjs/types/components/componentTypes.d.ts +61 -0
- package/build/cjs/types/components/helpers/styledProps.d.ts +6 -26
- package/build/cjs/types/components/types.d.ts +59 -2
- package/build/cjs/types/hooks/useSelect.d.ts +3 -2
- package/build/cjs/types/index.d.ts +7 -2
- package/build/cjs/types/theme/ThemeTypes.d.ts +2 -0
- package/build/esm/index.js +16 -7
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/assets/icons/Dash.d.ts +3 -0
- package/build/esm/types/assets/icons/Funnel.d.ts +3 -0
- package/build/esm/types/assets/icons/LocalArea.d.ts +3 -0
- package/build/esm/types/assets/icons/Location.d.ts +3 -0
- package/build/esm/types/assets/icons/Notes.d.ts +3 -0
- package/build/esm/types/assets/icons/Shield.d.ts +3 -0
- package/build/esm/types/assets/icons/ShieldHealth.d.ts +3 -0
- package/build/esm/types/components/Button/Button.d.ts +1 -1
- package/build/esm/types/components/Button/ButtonTypes.d.ts +9 -8
- package/build/esm/types/components/Button/index.d.ts +1 -2
- package/build/esm/types/components/Calendar.d.ts +6 -9
- package/build/esm/types/components/CalendarParts/CalendarContainerStyles.d.ts +7 -0
- package/build/esm/types/components/CalendarParts/CalendarContent.d.ts +7 -0
- package/build/esm/types/components/CalendarParts/CalendarHeader.d.ts +2 -0
- package/build/esm/types/components/CalendarParts/useMinMax.d.ts +12 -0
- package/build/esm/types/components/CalendarParts/utils.d.ts +4 -0
- package/build/esm/types/components/ComboBox.d.ts +17 -0
- package/build/esm/types/components/DraftEditor.d.ts +1 -3
- package/build/esm/types/components/Dropdown/Dropdown.d.ts +4 -4
- package/build/esm/types/components/Dropdown/DropdownUtils.d.ts +4 -13
- package/build/esm/types/components/Dropdown/index.d.ts +0 -1
- package/build/esm/types/components/DropdownMenu.d.ts +16 -55
- package/build/esm/types/components/DropdownMenuParts/Menu.d.ts +8 -0
- package/build/esm/types/components/DropdownMenuParts/MenuItem.d.ts +5 -0
- package/build/esm/types/components/Form.d.ts +2 -4
- package/build/esm/types/components/Icon/icons.d.ts +7 -0
- package/build/esm/types/components/Input.d.ts +0 -6
- package/build/esm/types/components/InputHelpers.d.ts +0 -3
- package/build/esm/types/components/Inputs/DatePicker.d.ts +9 -0
- package/build/esm/types/components/Inputs/DateRangePicker.d.ts +10 -0
- package/build/esm/types/components/Inputs/NumberInput.d.ts +5 -0
- package/build/esm/types/components/Inputs/TextInput.d.ts +5 -0
- package/build/esm/types/components/Inputs/helpers/AriaButton.d.ts +5 -0
- package/build/esm/types/components/Inputs/helpers/DateSegment.d.ts +8 -0
- package/build/esm/types/components/Inputs/helpers/Description.d.ts +6 -0
- package/build/esm/types/components/Inputs/helpers/ErrorMessage.d.ts +6 -0
- package/build/esm/types/components/Inputs/helpers/Input.d.ts +11 -0
- package/build/esm/types/components/Inputs/helpers/InputContainerStyles.d.ts +13 -0
- package/build/esm/types/components/Inputs/helpers/InputMessage.d.ts +9 -0
- package/build/esm/types/components/Inputs/helpers/InputStyles.d.ts +11 -0
- package/build/esm/types/components/Inputs/helpers/Label.d.ts +9 -0
- package/build/esm/types/components/Inputs/helpers/LabelWrapper.d.ts +8 -0
- package/build/esm/types/components/Inputs/helpers/PickerToggle.d.ts +6 -0
- package/build/esm/types/components/Inputs/helpers/useInputFocus.d.ts +8 -0
- package/build/esm/types/components/ListBoxParts/ListBox.d.ts +8 -0
- package/build/esm/types/components/ListBoxParts/ListBoxItem.d.ts +5 -0
- package/build/esm/types/components/ListHelpers/ItemHeaderBody.d.ts +7 -0
- package/build/esm/types/components/ListHelpers/ListHeader.d.ts +6 -0
- package/build/esm/types/components/ListHelpers/ListItemStyles.d.ts +16 -0
- package/build/esm/types/components/ListHelpers/ListSection.d.ts +8 -0
- package/build/esm/types/components/ListHelpers/ListStyles.d.ts +11 -0
- package/build/esm/types/components/Modal.d.ts +3 -1
- package/build/esm/types/components/MultiSelect.d.ts +4 -4
- package/build/esm/types/components/OptionHelpers/Item.d.ts +2 -0
- package/build/esm/types/components/OptionHelpers/types.d.ts +2 -0
- package/build/esm/types/components/Options.d.ts +1 -1
- package/build/esm/types/components/RangeCalendar.d.ts +13 -0
- package/build/esm/types/components/Select.d.ts +12 -63
- package/build/esm/types/components/componentTypes.d.ts +61 -0
- package/build/esm/types/components/helpers/styledProps.d.ts +6 -26
- package/build/esm/types/components/types.d.ts +59 -2
- package/build/esm/types/hooks/useSelect.d.ts +3 -2
- package/build/esm/types/index.d.ts +7 -2
- package/build/esm/types/theme/ThemeTypes.d.ts +2 -0
- package/build/index.d.ts +809 -763
- package/build/types/assets/icons/Dash.d.ts +3 -0
- package/build/types/assets/icons/Funnel.d.ts +3 -0
- package/build/types/assets/icons/LocalArea.d.ts +3 -0
- package/build/types/assets/icons/Location.d.ts +3 -0
- package/build/types/assets/icons/Notes.d.ts +3 -0
- package/build/types/assets/icons/Shield.d.ts +3 -0
- package/build/types/assets/icons/ShieldHealth.d.ts +3 -0
- package/build/types/components/Button/Button.d.ts +1 -1
- package/build/types/components/Button/ButtonTypes.d.ts +9 -8
- package/build/types/components/Button/index.d.ts +1 -2
- package/build/types/components/Calendar.d.ts +6 -9
- package/build/types/components/CalendarParts/CalendarContainerStyles.d.ts +7 -0
- package/build/types/components/CalendarParts/CalendarContent.d.ts +7 -0
- package/build/types/components/CalendarParts/CalendarHeader.d.ts +2 -0
- package/build/types/components/CalendarParts/useMinMax.d.ts +12 -0
- package/build/types/components/CalendarParts/utils.d.ts +4 -0
- package/build/types/components/ComboBox.d.ts +17 -0
- package/build/types/components/DraftEditor.d.ts +1 -3
- package/build/types/components/Dropdown/Dropdown.d.ts +4 -4
- package/build/types/components/Dropdown/DropdownUtils.d.ts +4 -13
- package/build/types/components/Dropdown/index.d.ts +0 -1
- package/build/types/components/DropdownMenu.d.ts +16 -55
- package/build/types/components/DropdownMenuParts/Menu.d.ts +8 -0
- package/build/types/components/DropdownMenuParts/MenuItem.d.ts +5 -0
- package/build/types/components/Form.d.ts +2 -4
- package/build/types/components/Icon/icons.d.ts +7 -0
- package/build/types/components/Input.d.ts +0 -6
- package/build/types/components/InputHelpers.d.ts +0 -3
- package/build/types/components/Inputs/DatePicker.d.ts +9 -0
- package/build/types/components/Inputs/DateRangePicker.d.ts +10 -0
- package/build/types/components/Inputs/NumberInput.d.ts +5 -0
- package/build/types/components/Inputs/TextInput.d.ts +5 -0
- package/build/types/components/Inputs/helpers/AriaButton.d.ts +5 -0
- package/build/types/components/Inputs/helpers/DateSegment.d.ts +8 -0
- package/build/types/components/Inputs/helpers/Description.d.ts +6 -0
- package/build/types/components/Inputs/helpers/ErrorMessage.d.ts +6 -0
- package/build/types/components/Inputs/helpers/Input.d.ts +11 -0
- package/build/types/components/Inputs/helpers/InputContainerStyles.d.ts +13 -0
- package/build/types/components/Inputs/helpers/InputMessage.d.ts +9 -0
- package/build/types/components/Inputs/helpers/InputStyles.d.ts +11 -0
- package/build/types/components/Inputs/helpers/Label.d.ts +9 -0
- package/build/types/components/Inputs/helpers/LabelWrapper.d.ts +8 -0
- package/build/types/components/Inputs/helpers/PickerToggle.d.ts +6 -0
- package/build/types/components/Inputs/helpers/useInputFocus.d.ts +8 -0
- package/build/types/components/ListBoxParts/ListBox.d.ts +8 -0
- package/build/types/components/ListBoxParts/ListBoxItem.d.ts +5 -0
- package/build/types/components/ListHelpers/ItemHeaderBody.d.ts +7 -0
- package/build/types/components/ListHelpers/ListHeader.d.ts +6 -0
- package/build/types/components/ListHelpers/ListItemStyles.d.ts +16 -0
- package/build/types/components/ListHelpers/ListSection.d.ts +8 -0
- package/build/types/components/ListHelpers/ListStyles.d.ts +11 -0
- package/build/types/components/Modal.d.ts +3 -1
- package/build/types/components/MultiSelect.d.ts +4 -4
- package/build/types/components/OptionHelpers/Item.d.ts +2 -0
- package/build/types/components/OptionHelpers/types.d.ts +2 -0
- package/build/types/components/Options.d.ts +1 -1
- package/build/types/components/RangeCalendar.d.ts +13 -0
- package/build/types/components/Select.d.ts +12 -63
- package/build/types/components/componentTypes.d.ts +61 -0
- package/build/types/components/helpers/styledProps.d.ts +6 -26
- package/build/types/components/types.d.ts +59 -2
- package/build/types/hooks/useSelect.d.ts +3 -2
- package/build/types/index.d.ts +7 -2
- package/build/types/theme/ThemeTypes.d.ts +2 -0
- package/package.json +9 -9
package/build/index.d.ts
CHANGED
|
@@ -1,12 +1,439 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import
|
|
4
|
+
import { HTMLProps, ReactNode, ReactElement, MouseEvent as MouseEvent$1, ElementType, FocusEvent, RefObject, ChangeEvent, KeyboardEvent as KeyboardEvent$1, CSSProperties, MutableRefObject, FormEvent } from 'react';
|
|
5
|
+
import * as react_aria_components from 'react-aria-components';
|
|
6
|
+
import { ValidationResult, Key, PressEvent, ButtonProps, CalendarProps, ComboBoxProps, DatePickerProps, DateValue, DateRangePickerProps, NumberFieldProps, TextFieldProps, RangeCalendarProps, SelectProps as SelectProps$1 } from 'react-aria-components';
|
|
5
7
|
import * as _emotion_styled from '@emotion/styled';
|
|
6
8
|
import { StyledComponent } from '@emotion/styled';
|
|
7
9
|
import * as _emotion_react from '@emotion/react';
|
|
10
|
+
import { CSSObject } from '@emotion/react';
|
|
11
|
+
import { CalendarDate } from '@internationalized/date';
|
|
8
12
|
import { EditorChangeType } from 'draft-js';
|
|
9
13
|
|
|
14
|
+
declare function ActivityHistory(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
15
|
+
|
|
16
|
+
declare function Add(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
declare function AddCircle(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
declare function AddCircleOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare function AddPerson(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
23
|
+
|
|
24
|
+
declare function ArrowDown(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
declare function ArrowLeft(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
27
|
+
|
|
28
|
+
declare function ArrowRight(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
declare function ArrowUp(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
31
|
+
|
|
32
|
+
declare function Attachment(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
declare function Calendar$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
35
|
+
|
|
36
|
+
declare function Camera(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
declare function Card(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
39
|
+
|
|
40
|
+
declare function CaretDown(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
declare function CaretUp(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
43
|
+
|
|
44
|
+
declare function CheckCircle(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
45
|
+
|
|
46
|
+
declare function CheckCircleOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
47
|
+
|
|
48
|
+
declare function Checkbox$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
49
|
+
|
|
50
|
+
declare function CheckboxOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
51
|
+
|
|
52
|
+
declare function CheckboxPartial(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
53
|
+
|
|
54
|
+
declare function ChevronDown(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
55
|
+
|
|
56
|
+
declare function ChevronLeft(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
57
|
+
|
|
58
|
+
declare function ChevronRight(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
59
|
+
|
|
60
|
+
declare function ChevronUp(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
61
|
+
|
|
62
|
+
declare function Clapperboard(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
63
|
+
|
|
64
|
+
declare function ClapperboardOpen(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
65
|
+
|
|
66
|
+
declare function Close(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
67
|
+
|
|
68
|
+
declare function CloseCircle(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
69
|
+
|
|
70
|
+
declare function CloseCircleOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
71
|
+
|
|
72
|
+
declare function Copy(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
73
|
+
|
|
74
|
+
declare function Devices(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
75
|
+
|
|
76
|
+
declare function Dialpad(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
77
|
+
|
|
78
|
+
declare function DoubleArrowLeft(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
79
|
+
|
|
80
|
+
declare function DoubleArrowRight(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
81
|
+
|
|
82
|
+
declare function Download(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
83
|
+
|
|
84
|
+
declare function Edit(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
85
|
+
|
|
86
|
+
declare function Emoji(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
87
|
+
|
|
88
|
+
declare function EyeOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
89
|
+
|
|
90
|
+
declare function EyeOn(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
91
|
+
|
|
92
|
+
declare function Facebook(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
93
|
+
|
|
94
|
+
declare function DonerMenu(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
95
|
+
|
|
96
|
+
declare function Flask(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
97
|
+
|
|
98
|
+
declare function Group(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
99
|
+
|
|
100
|
+
declare function Heart(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
101
|
+
|
|
102
|
+
declare function HeartOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
103
|
+
|
|
104
|
+
declare function Help(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
105
|
+
|
|
106
|
+
declare function Hourglass(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
107
|
+
|
|
108
|
+
declare function Info(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
109
|
+
|
|
110
|
+
declare function Instagram(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
111
|
+
|
|
112
|
+
declare function KebabMenu(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
113
|
+
|
|
114
|
+
declare function Link(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
115
|
+
|
|
116
|
+
declare function Linkedin(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
117
|
+
|
|
118
|
+
declare function Loading(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
119
|
+
|
|
120
|
+
declare function Maximize(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
121
|
+
|
|
122
|
+
declare function Menu$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
123
|
+
|
|
124
|
+
declare function MergeField$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
126
|
+
declare function Message$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
127
|
+
|
|
128
|
+
declare function Mic(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
129
|
+
|
|
130
|
+
declare function MicOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
131
|
+
|
|
132
|
+
declare function Minimize(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
133
|
+
|
|
134
|
+
declare function Mobile(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
135
|
+
|
|
136
|
+
declare function NotAllowed(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
137
|
+
|
|
138
|
+
declare function Open(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
139
|
+
|
|
140
|
+
declare function PauseOutline$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
141
|
+
|
|
142
|
+
declare function PauseOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
143
|
+
|
|
144
|
+
declare function Person(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
145
|
+
|
|
146
|
+
declare function Phone$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
147
|
+
|
|
148
|
+
declare function PhoneBlocked(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
149
|
+
|
|
150
|
+
declare function PhoneEnd(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
151
|
+
|
|
152
|
+
declare function PhoneHistory(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
153
|
+
|
|
154
|
+
declare function PhoneTalk(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
155
|
+
|
|
156
|
+
declare function Play(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
157
|
+
|
|
158
|
+
declare function PlayOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
159
|
+
|
|
160
|
+
declare function ProfileUser(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
161
|
+
|
|
162
|
+
declare function RadioButton(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
163
|
+
|
|
164
|
+
declare function RadioButtonOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
165
|
+
|
|
166
|
+
declare function Record(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
167
|
+
|
|
168
|
+
declare function Refresh(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
169
|
+
|
|
170
|
+
declare function Rocket(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
171
|
+
|
|
172
|
+
declare function Schedule(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
173
|
+
|
|
174
|
+
declare function ScheduleOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
175
|
+
|
|
176
|
+
declare function Search(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
177
|
+
|
|
178
|
+
declare function Settings(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
179
|
+
|
|
180
|
+
declare function Sort(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
181
|
+
|
|
182
|
+
declare function Spotify(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
183
|
+
|
|
184
|
+
declare function Star(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
185
|
+
|
|
186
|
+
declare function StarOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
187
|
+
|
|
188
|
+
declare function Stop(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
189
|
+
|
|
190
|
+
declare function StopOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
191
|
+
|
|
192
|
+
declare function Template(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
193
|
+
|
|
194
|
+
declare function ToggleOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
195
|
+
|
|
196
|
+
declare function ToggleOn(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
197
|
+
|
|
198
|
+
declare function Trash(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
199
|
+
|
|
200
|
+
declare function Twitter(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
201
|
+
|
|
202
|
+
declare function Upload(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
203
|
+
|
|
204
|
+
declare function Video(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
205
|
+
|
|
206
|
+
declare function Voicemail(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
207
|
+
|
|
208
|
+
declare function VolOn(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
209
|
+
|
|
210
|
+
declare function Warning(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
211
|
+
|
|
212
|
+
declare function WarningCircleOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
213
|
+
|
|
214
|
+
declare function Youtube(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
215
|
+
|
|
216
|
+
declare const icons: {
|
|
217
|
+
'activity-history': typeof ActivityHistory;
|
|
218
|
+
add: typeof Add;
|
|
219
|
+
'add-circle': typeof AddCircle;
|
|
220
|
+
'add-circle-outline': typeof AddCircleOutline;
|
|
221
|
+
'add-person': typeof AddPerson;
|
|
222
|
+
'arrow-down': typeof ArrowDown;
|
|
223
|
+
'arrow-left': typeof ArrowLeft;
|
|
224
|
+
'arrow-right': typeof ArrowRight;
|
|
225
|
+
'arrow-up': typeof ArrowUp;
|
|
226
|
+
attachment: typeof Attachment;
|
|
227
|
+
calendar: typeof Calendar$1;
|
|
228
|
+
camera: typeof Camera;
|
|
229
|
+
card: typeof Card;
|
|
230
|
+
'caret-down': typeof CaretDown;
|
|
231
|
+
'caret-up': typeof CaretUp;
|
|
232
|
+
check: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
233
|
+
'check-badge': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
234
|
+
'check-circle': typeof CheckCircle;
|
|
235
|
+
'check-circle-outline': typeof CheckCircleOutline;
|
|
236
|
+
checkbox: typeof Checkbox$1;
|
|
237
|
+
'checkbox-off': typeof CheckboxOff;
|
|
238
|
+
'checkbox-partial': typeof CheckboxPartial;
|
|
239
|
+
'chevron-down': typeof ChevronDown;
|
|
240
|
+
'chevron-left': typeof ChevronLeft;
|
|
241
|
+
'chevron-right': typeof ChevronRight;
|
|
242
|
+
'chevron-up': typeof ChevronUp;
|
|
243
|
+
clapperboard: typeof Clapperboard;
|
|
244
|
+
'clapperboard-open': typeof ClapperboardOpen;
|
|
245
|
+
close: typeof Close;
|
|
246
|
+
'close-circle': typeof CloseCircle;
|
|
247
|
+
'close-circle-outline': typeof CloseCircleOutline;
|
|
248
|
+
copy: typeof Copy;
|
|
249
|
+
cycle: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
250
|
+
dash: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
251
|
+
devices: typeof Devices;
|
|
252
|
+
dialpad: typeof Dialpad;
|
|
253
|
+
'double-arrow-left': typeof DoubleArrowLeft;
|
|
254
|
+
'double-arrow-right': typeof DoubleArrowRight;
|
|
255
|
+
download: typeof Download;
|
|
256
|
+
drag: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
257
|
+
edit: typeof Edit;
|
|
258
|
+
emoji: typeof Emoji;
|
|
259
|
+
'eye-off': typeof EyeOff;
|
|
260
|
+
'eye-on': typeof EyeOn;
|
|
261
|
+
facebook: typeof Facebook;
|
|
262
|
+
filter: typeof DonerMenu;
|
|
263
|
+
flag: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
264
|
+
flask: typeof Flask;
|
|
265
|
+
funnel: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
266
|
+
group: typeof Group;
|
|
267
|
+
hash: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
268
|
+
heart: typeof Heart;
|
|
269
|
+
'heart-outline': typeof HeartOutline;
|
|
270
|
+
help: typeof Help;
|
|
271
|
+
home: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
272
|
+
hourglass: typeof Hourglass;
|
|
273
|
+
info: typeof Info;
|
|
274
|
+
instagram: typeof Instagram;
|
|
275
|
+
'kebab-menu': typeof KebabMenu;
|
|
276
|
+
link: typeof Link;
|
|
277
|
+
linkedin: typeof Linkedin;
|
|
278
|
+
loading: typeof Loading;
|
|
279
|
+
'local-area': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
280
|
+
location: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
281
|
+
logout: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
282
|
+
maximize: typeof Maximize;
|
|
283
|
+
menu: typeof Menu$1;
|
|
284
|
+
merge: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
285
|
+
'merge-field': typeof MergeField$1;
|
|
286
|
+
message: typeof Message$1;
|
|
287
|
+
mic: typeof Mic;
|
|
288
|
+
'mic-off': typeof MicOff;
|
|
289
|
+
minimize: typeof Minimize;
|
|
290
|
+
mobile: typeof Mobile;
|
|
291
|
+
'not-allowed': typeof NotAllowed;
|
|
292
|
+
notes: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
293
|
+
open: typeof Open;
|
|
294
|
+
pause: typeof PauseOutline$1;
|
|
295
|
+
'pause-outline': typeof PauseOutline;
|
|
296
|
+
person: typeof Person;
|
|
297
|
+
phone: typeof Phone$1;
|
|
298
|
+
'phone-add': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
299
|
+
'phone-blocked': typeof PhoneBlocked;
|
|
300
|
+
'phone-callback': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
301
|
+
'phone-end': typeof PhoneEnd;
|
|
302
|
+
'phone-forward': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
303
|
+
'phone-history': typeof PhoneHistory;
|
|
304
|
+
'phone-hold': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
305
|
+
'phone-talk': typeof PhoneTalk;
|
|
306
|
+
'phone-transfer': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
307
|
+
play: typeof Play;
|
|
308
|
+
'play-outline': typeof PlayOutline;
|
|
309
|
+
'profile-user': typeof ProfileUser;
|
|
310
|
+
'radio-button': typeof RadioButton;
|
|
311
|
+
'radio-button-off': typeof RadioButtonOff;
|
|
312
|
+
record: typeof Record;
|
|
313
|
+
refresh: typeof Refresh;
|
|
314
|
+
rocket: typeof Rocket;
|
|
315
|
+
schedule: typeof Schedule;
|
|
316
|
+
'schedule-outline': typeof ScheduleOutline;
|
|
317
|
+
screenshot: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
318
|
+
search: typeof Search;
|
|
319
|
+
settings: typeof Settings;
|
|
320
|
+
share: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
321
|
+
shield: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
322
|
+
'shield-check': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
323
|
+
'shield-health': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
324
|
+
'shield-slash': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
325
|
+
sort: typeof Sort;
|
|
326
|
+
spotify: typeof Spotify;
|
|
327
|
+
star: typeof Star;
|
|
328
|
+
'star-outline': typeof StarOutline;
|
|
329
|
+
stars: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
330
|
+
stats: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
331
|
+
stop: typeof Stop;
|
|
332
|
+
'stop-outline': typeof StopOutline;
|
|
333
|
+
team: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
334
|
+
template: typeof Template;
|
|
335
|
+
'toggle-off': typeof ToggleOff;
|
|
336
|
+
'toggle-on': typeof ToggleOn;
|
|
337
|
+
transfer: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
338
|
+
'transfer-cancel': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
339
|
+
trash: typeof Trash;
|
|
340
|
+
trophy: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
341
|
+
twitter: typeof Twitter;
|
|
342
|
+
upload: typeof Upload;
|
|
343
|
+
video: typeof Video;
|
|
344
|
+
voicemail: typeof Voicemail;
|
|
345
|
+
'vol-on': typeof VolOn;
|
|
346
|
+
warning: typeof Warning;
|
|
347
|
+
'warning-circle-outline': typeof WarningCircleOutline;
|
|
348
|
+
youtube: typeof Youtube;
|
|
349
|
+
};
|
|
350
|
+
type IconNames = keyof typeof icons;
|
|
351
|
+
|
|
352
|
+
type Sizes = number | 'small' | 'medium' | 'large';
|
|
353
|
+
type DivAttributes = Omit<HTMLProps<HTMLDivElement>, 'size'>;
|
|
354
|
+
type ConditionalProps = {
|
|
355
|
+
/** Name of the specific icon to use */
|
|
356
|
+
name: IconNames;
|
|
357
|
+
svg?: never;
|
|
358
|
+
} | {
|
|
359
|
+
/** The SVG element to wrap with the Icon component */
|
|
360
|
+
svg: ReactNode | (() => JSX.Element);
|
|
361
|
+
name?: never;
|
|
362
|
+
};
|
|
363
|
+
type IconProps = {
|
|
364
|
+
/** Sets the width and height of the icon */
|
|
365
|
+
size?: Sizes;
|
|
366
|
+
/** Sets the width of the icon */
|
|
367
|
+
width?: number | string;
|
|
368
|
+
/** Sets the height of the icon */
|
|
369
|
+
height?: number | string;
|
|
370
|
+
/** Sets the color of the icon */
|
|
371
|
+
color?: string;
|
|
372
|
+
/** Sets the color of the icon when hovered */
|
|
373
|
+
hoverColor?: string;
|
|
374
|
+
/** Sets the cursor as a pointer when hovered */
|
|
375
|
+
pointer?: boolean;
|
|
376
|
+
/** Sets the color of the icon to the parent element's color */
|
|
377
|
+
inheritColor?: boolean;
|
|
378
|
+
/** CSS Animation shorthand property */
|
|
379
|
+
animation?: string;
|
|
380
|
+
/** Sets the style prop of the Icon wrapper element */
|
|
381
|
+
style?: {
|
|
382
|
+
[key: string]: string | number;
|
|
383
|
+
};
|
|
384
|
+
} & ConditionalProps & MarginPadding & AsProp & DivAttributes;
|
|
385
|
+
declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, animation, style, onClick, ...props }: IconProps) => react_jsx_runtime.JSX.Element | null;
|
|
386
|
+
|
|
387
|
+
type DivProps = Omit<HTMLProps<HTMLDivElement>, 'as'> & AsProp;
|
|
388
|
+
type TooltipProps = {
|
|
389
|
+
children?: ReactNode;
|
|
390
|
+
/** The element that will trigger the opening of the Tooltip */
|
|
391
|
+
trigger: ReactNode;
|
|
392
|
+
/** The text content of the Tooltip */
|
|
393
|
+
content?: string;
|
|
394
|
+
/** The position of the Tooltip body and arrow in relation to the trigger */
|
|
395
|
+
position?: PopPosition;
|
|
396
|
+
/** Offset of the Tooltip from the trigger */
|
|
397
|
+
offset?: number;
|
|
398
|
+
/** zIndex of the Tooltip's portal container */
|
|
399
|
+
zIndex?: number;
|
|
400
|
+
/** The width of the Tooltip element */
|
|
401
|
+
width?: number | string;
|
|
402
|
+
/** The maxWidth of the Tooltip element */
|
|
403
|
+
maxWidth?: number | string;
|
|
404
|
+
/** The textAlignment of the Tooltip text */
|
|
405
|
+
textAlign?: 'left' | 'right' | 'center';
|
|
406
|
+
/** Controls the open state of the Tooltip */
|
|
407
|
+
open?: boolean;
|
|
408
|
+
/** Prevents the Tooltip from opening */
|
|
409
|
+
disabled?: boolean;
|
|
410
|
+
/** The id of the Tooltip element */
|
|
411
|
+
id?: string;
|
|
412
|
+
/** The backgroundColor of the Tooltip element */
|
|
413
|
+
bgColor?: string;
|
|
414
|
+
/** The text color of the Tooltip element */
|
|
415
|
+
color?: string;
|
|
416
|
+
/** Specify a container element to portal the content into */
|
|
417
|
+
container?: HTMLElement;
|
|
418
|
+
/** The function called after the Tooltip opens */
|
|
419
|
+
afterShow?: () => void;
|
|
420
|
+
/** The function called after the Tooltip closes */
|
|
421
|
+
afterHide?: () => void;
|
|
422
|
+
} & DivProps;
|
|
423
|
+
declare const Tooltip: {
|
|
424
|
+
({ trigger, children, content, position, offset, zIndex, width, maxWidth, textAlign, open, disabled, id, bgColor, color, container, afterShow, afterHide, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
425
|
+
Header: _emotion_styled.StyledComponent<{
|
|
426
|
+
theme?: _emotion_react.Theme | undefined;
|
|
427
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
428
|
+
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
429
|
+
Body: _emotion_styled.StyledComponent<{
|
|
430
|
+
theme?: _emotion_react.Theme | undefined;
|
|
431
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
432
|
+
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
type IconType = IconNames | IconProps | ReactElement<IconProps> | ReactElement<TooltipProps>;
|
|
436
|
+
|
|
10
437
|
declare const colors: {
|
|
11
438
|
logo1: string;
|
|
12
439
|
logo2: string;
|
|
@@ -320,6 +747,7 @@ interface ITheme {
|
|
|
320
747
|
hover: string;
|
|
321
748
|
active: string;
|
|
322
749
|
activeHover: string;
|
|
750
|
+
activeRange: string;
|
|
323
751
|
};
|
|
324
752
|
color: {
|
|
325
753
|
disabled: string;
|
|
@@ -330,6 +758,7 @@ interface ITheme {
|
|
|
330
758
|
weekday: string;
|
|
331
759
|
monthYear: string;
|
|
332
760
|
iconDefault: string;
|
|
761
|
+
iconDisabled: string;
|
|
333
762
|
iconHover: string;
|
|
334
763
|
};
|
|
335
764
|
};
|
|
@@ -553,520 +982,264 @@ type MaxWidthHeight = MaxWidth & MaxHeight;
|
|
|
553
982
|
type MinWidthHeight = MinWidth & MinHeight;
|
|
554
983
|
type MarginPadding = Margin & Padding;
|
|
555
984
|
type FlexPosition = 'start' | 'end' | 'center' | 'space-around' | 'space-between';
|
|
556
|
-
type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
557
|
-
type As = ElementType;
|
|
558
|
-
type AsProp = {
|
|
559
|
-
as?: As;
|
|
560
|
-
};
|
|
561
|
-
type InputFocusEvent = FocusEvent<HTMLInputElement>;
|
|
562
|
-
type MergeField
|
|
563
|
-
id: string;
|
|
564
|
-
label: string;
|
|
565
|
-
value?: string;
|
|
566
|
-
};
|
|
567
|
-
type InputRef = {
|
|
568
|
-
focus: () => void;
|
|
569
|
-
blur: () => void;
|
|
570
|
-
select: () => void;
|
|
571
|
-
hasFocus: boolean;
|
|
572
|
-
};
|
|
573
|
-
type MultiSelectRef = Omit<InputRef, 'hasFocus' | 'select'>;
|
|
574
|
-
type AudioRef = {
|
|
575
|
-
play?: () => void;
|
|
576
|
-
pause?: () => void;
|
|
577
|
-
stop?: () => void;
|
|
578
|
-
};
|
|
579
|
-
type DraftEditorRef = {
|
|
580
|
-
insertField: (field: MergeField
|
|
581
|
-
focusAtEnd: () => void;
|
|
582
|
-
};
|
|
583
|
-
type Top = 'top center' | 'top left' | 'top right';
|
|
584
|
-
type Bottom = 'bottom center' | 'bottom left' | 'bottom right';
|
|
585
|
-
type Left = 'left center' | 'left top' | 'left bottom';
|
|
586
|
-
type Right = 'right center' | 'right top' | 'right bottom';
|
|
587
|
-
type PopSide = 'top' | 'bottom' | 'right' | 'left';
|
|
588
|
-
type PopPosition = PopSide | Top | Bottom | Left | Right;
|
|
589
|
-
|
|
590
|
-
type TriggerProp = {
|
|
591
|
-
reversed?: boolean;
|
|
592
|
-
spaced?: boolean;
|
|
593
|
-
};
|
|
594
|
-
type AccordionProps = {
|
|
595
|
-
children: ReactNode;
|
|
596
|
-
/** The id of the Item that should be open by default */
|
|
597
|
-
defaultItem?: string;
|
|
598
|
-
/** Prevents all Items from being closed at the same time */
|
|
599
|
-
preventCollapse?: boolean;
|
|
600
|
-
/** Config options to customize the Accordion's trigger elements */
|
|
601
|
-
triggers?: TriggerProp;
|
|
602
|
-
/** Adds space between Items as well as rounded styles */
|
|
603
|
-
spaced?: boolean;
|
|
604
|
-
/** The background color of Items */
|
|
605
|
-
background?: string;
|
|
606
|
-
/** The background color of Item drawers */
|
|
607
|
-
innerBackground?: string;
|
|
608
|
-
/** The width of the Accordion */
|
|
609
|
-
width?: number | string;
|
|
610
|
-
/** The maxHeight of the Accordion. Drawers will scroll to accommodate */
|
|
611
|
-
maxHeight?: number | string;
|
|
612
|
-
/** The height of the Accordion. Drawers will scroll to accommodate */
|
|
613
|
-
height?: number | string;
|
|
614
|
-
} & Margin;
|
|
615
|
-
declare const Accordion: {
|
|
616
|
-
({ children, defaultItem, preventCollapse, triggers, spaced, background, innerBackground, width, maxHeight, height, ...rest }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
617
|
-
Item({ children, id, text, content, trigger, spaced, background, innerBackground }: ItemProps$2): react_jsx_runtime.JSX.Element;
|
|
618
|
-
};
|
|
619
|
-
type ItemProps$2 = {
|
|
620
|
-
/** The id of the Item */
|
|
621
|
-
id: string;
|
|
622
|
-
/** The text to display on the Item */
|
|
623
|
-
text?: string;
|
|
624
|
-
/** Any other UI that needs to be displayed alongside the trigger */
|
|
625
|
-
content?: ReactNode;
|
|
626
|
-
children: ReactNode;
|
|
627
|
-
trigger?: TriggerProp;
|
|
628
|
-
spaced?: boolean;
|
|
629
|
-
background?: string;
|
|
630
|
-
innerBackground?: string;
|
|
631
|
-
};
|
|
632
|
-
|
|
633
|
-
type AudioProps = {
|
|
634
|
-
/** The filepath of the audio source */
|
|
635
|
-
src: string;
|
|
636
|
-
/** The title of the audio source to be displayed */
|
|
637
|
-
title?: string;
|
|
638
|
-
/** Sets the position of the display info in relation to the duration slider */
|
|
639
|
-
infoPosition?: 'top' | 'bottom';
|
|
640
|
-
/** Center aligns the slider and info elements with the button */
|
|
641
|
-
centerAlignContent?: boolean;
|
|
642
|
-
/** Hides the slider control while not playing */
|
|
643
|
-
hideSliderOnStop?: boolean;
|
|
644
|
-
/** Hides the time display while not playing */
|
|
645
|
-
hideTimeOnStop?: boolean;
|
|
646
|
-
/** Reduces the size of the Audio play button */
|
|
647
|
-
small?: boolean;
|
|
648
|
-
/** Hides the duration slider */
|
|
649
|
-
collapsed?: boolean;
|
|
650
|
-
/** Font size of the audio title */
|
|
651
|
-
fontSizeTitle?: number | string;
|
|
652
|
-
/** Font size of the audio time */
|
|
653
|
-
fontSizeTime?: number | string;
|
|
654
|
-
onPlay?: (event: ChangeEvent<HTMLAudioElement>) => void;
|
|
655
|
-
onPause?: (event: ChangeEvent<HTMLAudioElement>) => void;
|
|
656
|
-
onStop?: (event: ChangeEvent<HTMLAudioElement>) => void;
|
|
657
|
-
} & Margin & Width & AsProp & HTMLProps<HTMLDivElement>;
|
|
658
|
-
declare const Audio: react.ForwardRefExoticComponent<Omit<AudioProps, "ref"> & react.RefAttributes<AudioRef>>;
|
|
659
|
-
|
|
660
|
-
type ChartData$1 = {
|
|
661
|
-
name: string;
|
|
662
|
-
};
|
|
663
|
-
type KeyData = {
|
|
664
|
-
key: string;
|
|
665
|
-
color: string;
|
|
666
|
-
hidden?: boolean;
|
|
667
|
-
};
|
|
668
|
-
type ChartProps = {
|
|
669
|
-
/** The chart data array */
|
|
670
|
-
data: ChartData$1[];
|
|
671
|
-
/** Designates the chart colors corresponding to the chart's data properties */
|
|
672
|
-
keys: KeyData[];
|
|
673
|
-
/** Displays a data legend beneath the chart */
|
|
674
|
-
legend?: boolean;
|
|
675
|
-
/** Allows the chart to grow and shrink (default if no explicit width) */
|
|
676
|
-
responsive?: boolean;
|
|
677
|
-
} & Margin & WidthHeight & MaxWidthHeight;
|
|
678
|
-
|
|
679
|
-
type Props$3 = {
|
|
680
|
-
/** Stacks multiple data points within a single bar */
|
|
681
|
-
stacked?: boolean;
|
|
682
|
-
/** Orients the bars outward from the Y axis */
|
|
683
|
-
vertical?: boolean;
|
|
684
|
-
/** The gap between two bars in the same category */
|
|
685
|
-
barGap?: number;
|
|
686
|
-
/** The gap between two bar categories */
|
|
687
|
-
barCategoryGap?: number;
|
|
688
|
-
/** The thickness of each bar */
|
|
689
|
-
barSize?: number;
|
|
690
|
-
/** The maximum thickness of each bar */
|
|
691
|
-
maxBarSize?: number;
|
|
692
|
-
/** Removes the labels from the Y axis */
|
|
693
|
-
hideYLabels?: boolean;
|
|
694
|
-
/** Removes the labels from the X axis */
|
|
695
|
-
hideXLabels?: boolean;
|
|
696
|
-
/** The height of the X axis */
|
|
697
|
-
xAxisHeight?: number;
|
|
698
|
-
/** The width of the Y axis */
|
|
699
|
-
yAxisWidth?: number;
|
|
700
|
-
} & ChartProps;
|
|
701
|
-
declare const BarChart: ({ data, legend, keys, stacked, barGap, barCategoryGap, barSize, maxBarSize, vertical, hideYLabels, hideXLabels, xAxisHeight, yAxisWidth, ...rest }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
702
|
-
|
|
985
|
+
type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
986
|
+
type As = ElementType;
|
|
987
|
+
type AsProp = {
|
|
988
|
+
as?: As;
|
|
989
|
+
};
|
|
990
|
+
type InputFocusEvent = FocusEvent | FocusEvent<HTMLInputElement>;
|
|
991
|
+
type MergeField = {
|
|
992
|
+
id: string;
|
|
993
|
+
label: string;
|
|
994
|
+
value?: string;
|
|
995
|
+
};
|
|
996
|
+
type InputRef = {
|
|
997
|
+
focus: () => void;
|
|
998
|
+
blur: () => void;
|
|
999
|
+
select: () => void;
|
|
1000
|
+
hasFocus: boolean;
|
|
1001
|
+
};
|
|
1002
|
+
type MultiSelectRef = Omit<InputRef, 'hasFocus' | 'select'>;
|
|
1003
|
+
type AudioRef = {
|
|
1004
|
+
play?: () => void;
|
|
1005
|
+
pause?: () => void;
|
|
1006
|
+
stop?: () => void;
|
|
1007
|
+
};
|
|
1008
|
+
type DraftEditorRef = {
|
|
1009
|
+
insertField: (field: MergeField) => void;
|
|
1010
|
+
focusAtEnd: () => void;
|
|
1011
|
+
};
|
|
1012
|
+
type Top = 'top center' | 'top left' | 'top right';
|
|
1013
|
+
type Bottom = 'bottom center' | 'bottom left' | 'bottom right';
|
|
1014
|
+
type Left = 'left center' | 'left top' | 'left bottom';
|
|
1015
|
+
type Right = 'right center' | 'right top' | 'right bottom';
|
|
1016
|
+
type PopSide = 'top' | 'bottom' | 'right' | 'left';
|
|
1017
|
+
type PopPosition = PopSide | Top | Bottom | Left | Right;
|
|
1018
|
+
type Placement = 'bottom' | 'bottom left' | 'bottom right' | 'bottom start' | 'bottom end' | 'top' | 'top left' | 'top right' | 'top start' | 'top end' | 'left' | 'left top' | 'left bottom' | 'start' | 'start top' | 'start bottom' | 'right' | 'right top' | 'right bottom' | 'end' | 'end top' | 'end bottom';
|
|
703
1019
|
type OptionItem = {
|
|
704
1020
|
id: number | string;
|
|
705
1021
|
label: string;
|
|
706
1022
|
header?: string;
|
|
707
1023
|
body?: string;
|
|
1024
|
+
type?: 'section';
|
|
708
1025
|
leftElement?: ReactElement;
|
|
709
1026
|
rightElement?: ReactElement;
|
|
710
1027
|
onClick?: (event?: MouseEvent$1 | Event) => void;
|
|
711
1028
|
value?: unknown;
|
|
712
1029
|
[key: string]: unknown;
|
|
713
1030
|
};
|
|
714
|
-
type
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
declare function ArrowRight(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
751
|
-
|
|
752
|
-
declare function ArrowUp(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
753
|
-
|
|
754
|
-
declare function Attachment(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
755
|
-
|
|
756
|
-
declare function Calendar$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
757
|
-
|
|
758
|
-
declare function Camera(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
759
|
-
|
|
760
|
-
declare function Card(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
761
|
-
|
|
762
|
-
declare function CaretDown(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
763
|
-
|
|
764
|
-
declare function CaretUp(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
765
|
-
|
|
766
|
-
declare function CheckCircle(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
767
|
-
|
|
768
|
-
declare function CheckCircleOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
769
|
-
|
|
770
|
-
declare function Checkbox$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
771
|
-
|
|
772
|
-
declare function CheckboxOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
773
|
-
|
|
774
|
-
declare function CheckboxPartial(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
775
|
-
|
|
776
|
-
declare function ChevronDown(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
777
|
-
|
|
778
|
-
declare function ChevronLeft(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
779
|
-
|
|
780
|
-
declare function ChevronRight(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
781
|
-
|
|
782
|
-
declare function ChevronUp(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
783
|
-
|
|
784
|
-
declare function Clapperboard(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
785
|
-
|
|
786
|
-
declare function ClapperboardOpen(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
787
|
-
|
|
788
|
-
declare function Close(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
789
|
-
|
|
790
|
-
declare function CloseCircle(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
791
|
-
|
|
792
|
-
declare function CloseCircleOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
793
|
-
|
|
794
|
-
declare function Copy(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
795
|
-
|
|
796
|
-
declare function Devices(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
797
|
-
|
|
798
|
-
declare function Dialpad(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
799
|
-
|
|
800
|
-
declare function DoubleArrowLeft(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
801
|
-
|
|
802
|
-
declare function DoubleArrowRight(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
803
|
-
|
|
804
|
-
declare function Download(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
805
|
-
|
|
806
|
-
declare function Edit(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
807
|
-
|
|
808
|
-
declare function Emoji(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
809
|
-
|
|
810
|
-
declare function EyeOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
811
|
-
|
|
812
|
-
declare function EyeOn(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
813
|
-
|
|
814
|
-
declare function Facebook(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
815
|
-
|
|
816
|
-
declare function DonerMenu(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
817
|
-
|
|
818
|
-
declare function Flask(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
819
|
-
|
|
820
|
-
declare function Group(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
821
|
-
|
|
822
|
-
declare function Heart(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
823
|
-
|
|
824
|
-
declare function HeartOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
825
|
-
|
|
826
|
-
declare function Help(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
827
|
-
|
|
828
|
-
declare function Hourglass(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
829
|
-
|
|
830
|
-
declare function Info(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
831
|
-
|
|
832
|
-
declare function Instagram(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
833
|
-
|
|
834
|
-
declare function KebabMenu(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
835
|
-
|
|
836
|
-
declare function Link(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
837
|
-
|
|
838
|
-
declare function Linkedin(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
839
|
-
|
|
840
|
-
declare function Loading(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
841
|
-
|
|
842
|
-
declare function Maximize(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
843
|
-
|
|
844
|
-
declare function Menu$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
845
|
-
|
|
846
|
-
declare function MergeField(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
847
|
-
|
|
848
|
-
declare function Message$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
849
|
-
|
|
850
|
-
declare function Mic(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
851
|
-
|
|
852
|
-
declare function MicOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
853
|
-
|
|
854
|
-
declare function Minimize(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
855
|
-
|
|
856
|
-
declare function Mobile(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
857
|
-
|
|
858
|
-
declare function NotAllowed(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
859
|
-
|
|
860
|
-
declare function Open(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
861
|
-
|
|
862
|
-
declare function PauseOutline$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
863
|
-
|
|
864
|
-
declare function PauseOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
865
|
-
|
|
866
|
-
declare function Person(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
867
|
-
|
|
868
|
-
declare function Phone$1(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
869
|
-
|
|
870
|
-
declare function PhoneBlocked(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
871
|
-
|
|
872
|
-
declare function PhoneEnd(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
873
|
-
|
|
874
|
-
declare function PhoneHistory(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
875
|
-
|
|
876
|
-
declare function PhoneTalk(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
877
|
-
|
|
878
|
-
declare function Play(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
879
|
-
|
|
880
|
-
declare function PlayOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
881
|
-
|
|
882
|
-
declare function ProfileUser(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
883
|
-
|
|
884
|
-
declare function RadioButton(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
885
|
-
|
|
886
|
-
declare function RadioButtonOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
887
|
-
|
|
888
|
-
declare function Record(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
889
|
-
|
|
890
|
-
declare function Refresh(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
891
|
-
|
|
892
|
-
declare function Rocket(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
893
|
-
|
|
894
|
-
declare function Schedule(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
895
|
-
|
|
896
|
-
declare function ScheduleOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
897
|
-
|
|
898
|
-
declare function Search(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
899
|
-
|
|
900
|
-
declare function Settings(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
901
|
-
|
|
902
|
-
declare function Sort(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
903
|
-
|
|
904
|
-
declare function Spotify(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
905
|
-
|
|
906
|
-
declare function Star(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
907
|
-
|
|
908
|
-
declare function StarOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
909
|
-
|
|
910
|
-
declare function Stop(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
911
|
-
|
|
912
|
-
declare function StopOutline(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
913
|
-
|
|
914
|
-
declare function Template(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
915
|
-
|
|
916
|
-
declare function ToggleOff(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
917
|
-
|
|
918
|
-
declare function ToggleOn(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
919
|
-
|
|
920
|
-
declare function Trash(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
921
|
-
|
|
922
|
-
declare function Twitter(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
923
|
-
|
|
924
|
-
declare function Upload(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
925
|
-
|
|
926
|
-
declare function Video(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
927
|
-
|
|
928
|
-
declare function Voicemail(props: react.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1031
|
+
type InputContainerStyleProps = {
|
|
1032
|
+
/** Sets the input backgroundColor */
|
|
1033
|
+
backgroundColor?: string;
|
|
1034
|
+
/** Sets the input borderRadius */
|
|
1035
|
+
borderRadius?: number | string;
|
|
1036
|
+
/** Sets the input borderColor */
|
|
1037
|
+
borderColor?: string;
|
|
1038
|
+
/** Removes the background and padding from the input */
|
|
1039
|
+
textOnly?: boolean;
|
|
1040
|
+
} & Width & MarginPadding;
|
|
1041
|
+
type InputElementStyleProps = {
|
|
1042
|
+
/** Sets the input fontSize */
|
|
1043
|
+
fontSize?: number | string;
|
|
1044
|
+
/** Sets the color of the input placeholder */
|
|
1045
|
+
placeholderColor?: string;
|
|
1046
|
+
/** Sets the disabled styles of the input */
|
|
1047
|
+
isDisabled?: boolean;
|
|
1048
|
+
} & Width;
|
|
1049
|
+
type InputProps$1 = {
|
|
1050
|
+
/** Places a label element above the input. The value will set the text of the label */
|
|
1051
|
+
label?: string;
|
|
1052
|
+
/** Sets the input placeholder text */
|
|
1053
|
+
placeholder?: string;
|
|
1054
|
+
/** A ref to the input element */
|
|
1055
|
+
inputRef?: RefObject<HTMLInputElement>;
|
|
1056
|
+
/** Places a description message below the input */
|
|
1057
|
+
description?: string;
|
|
1058
|
+
/** Places an error message below the input */
|
|
1059
|
+
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
1060
|
+
/** The name of the icon that should appear on the left side of the input */
|
|
1061
|
+
iconLeft?: IconType;
|
|
1062
|
+
/** The name of the icon that should appear on the right side of the input */
|
|
1063
|
+
iconRight?: IconType;
|
|
1064
|
+
/** Displays a spinner icon on the right side of the input */
|
|
1065
|
+
isLoading?: boolean;
|
|
1066
|
+
} & InputContainerStyleProps & InputElementStyleProps;
|
|
929
1067
|
|
|
930
|
-
|
|
1068
|
+
type TriggerProp = {
|
|
1069
|
+
reversed?: boolean;
|
|
1070
|
+
spaced?: boolean;
|
|
1071
|
+
};
|
|
1072
|
+
type AccordionProps = {
|
|
1073
|
+
children: ReactNode;
|
|
1074
|
+
/** The id of the Item that should be open by default */
|
|
1075
|
+
defaultItem?: string;
|
|
1076
|
+
/** Prevents all Items from being closed at the same time */
|
|
1077
|
+
preventCollapse?: boolean;
|
|
1078
|
+
/** Config options to customize the Accordion's trigger elements */
|
|
1079
|
+
triggers?: TriggerProp;
|
|
1080
|
+
/** Adds space between Items as well as rounded styles */
|
|
1081
|
+
spaced?: boolean;
|
|
1082
|
+
/** The background color of Items */
|
|
1083
|
+
background?: string;
|
|
1084
|
+
/** The background color of Item drawers */
|
|
1085
|
+
innerBackground?: string;
|
|
1086
|
+
/** The width of the Accordion */
|
|
1087
|
+
width?: number | string;
|
|
1088
|
+
/** The maxHeight of the Accordion. Drawers will scroll to accommodate */
|
|
1089
|
+
maxHeight?: number | string;
|
|
1090
|
+
/** The height of the Accordion. Drawers will scroll to accommodate */
|
|
1091
|
+
height?: number | string;
|
|
1092
|
+
} & Margin;
|
|
1093
|
+
declare const Accordion: {
|
|
1094
|
+
({ children, defaultItem, preventCollapse, triggers, spaced, background, innerBackground, width, maxHeight, height, ...rest }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
1095
|
+
Item({ children, id, text, content, trigger, spaced, background, innerBackground }: ItemProps$1): react_jsx_runtime.JSX.Element;
|
|
1096
|
+
};
|
|
1097
|
+
type ItemProps$1 = {
|
|
1098
|
+
/** The id of the Item */
|
|
1099
|
+
id: string;
|
|
1100
|
+
/** The text to display on the Item */
|
|
1101
|
+
text?: string;
|
|
1102
|
+
/** Any other UI that needs to be displayed alongside the trigger */
|
|
1103
|
+
content?: ReactNode;
|
|
1104
|
+
children: ReactNode;
|
|
1105
|
+
trigger?: TriggerProp;
|
|
1106
|
+
spaced?: boolean;
|
|
1107
|
+
background?: string;
|
|
1108
|
+
innerBackground?: string;
|
|
1109
|
+
};
|
|
931
1110
|
|
|
932
|
-
|
|
1111
|
+
type AudioProps = {
|
|
1112
|
+
/** The filepath of the audio source */
|
|
1113
|
+
src: string;
|
|
1114
|
+
/** The title of the audio source to be displayed */
|
|
1115
|
+
title?: string;
|
|
1116
|
+
/** Sets the position of the display info in relation to the duration slider */
|
|
1117
|
+
infoPosition?: 'top' | 'bottom';
|
|
1118
|
+
/** Center aligns the slider and info elements with the button */
|
|
1119
|
+
centerAlignContent?: boolean;
|
|
1120
|
+
/** Hides the slider control while not playing */
|
|
1121
|
+
hideSliderOnStop?: boolean;
|
|
1122
|
+
/** Hides the time display while not playing */
|
|
1123
|
+
hideTimeOnStop?: boolean;
|
|
1124
|
+
/** Reduces the size of the Audio play button */
|
|
1125
|
+
small?: boolean;
|
|
1126
|
+
/** Hides the duration slider */
|
|
1127
|
+
collapsed?: boolean;
|
|
1128
|
+
/** Font size of the audio title */
|
|
1129
|
+
fontSizeTitle?: number | string;
|
|
1130
|
+
/** Font size of the audio time */
|
|
1131
|
+
fontSizeTime?: number | string;
|
|
1132
|
+
onPlay?: (event: ChangeEvent<HTMLAudioElement>) => void;
|
|
1133
|
+
onPause?: (event: ChangeEvent<HTMLAudioElement>) => void;
|
|
1134
|
+
onStop?: (event: ChangeEvent<HTMLAudioElement>) => void;
|
|
1135
|
+
} & Margin & Width & AsProp & HTMLProps<HTMLDivElement>;
|
|
1136
|
+
declare const Audio: react.ForwardRefExoticComponent<Omit<AudioProps, "ref"> & react.RefAttributes<AudioRef>>;
|
|
933
1137
|
|
|
934
|
-
|
|
1138
|
+
type ChartData$1 = {
|
|
1139
|
+
name: string;
|
|
1140
|
+
};
|
|
1141
|
+
type KeyData = {
|
|
1142
|
+
key: string;
|
|
1143
|
+
color: string;
|
|
1144
|
+
hidden?: boolean;
|
|
1145
|
+
};
|
|
1146
|
+
type ChartProps = {
|
|
1147
|
+
/** The chart data array */
|
|
1148
|
+
data: ChartData$1[];
|
|
1149
|
+
/** Designates the chart colors corresponding to the chart's data properties */
|
|
1150
|
+
keys: KeyData[];
|
|
1151
|
+
/** Displays a data legend beneath the chart */
|
|
1152
|
+
legend?: boolean;
|
|
1153
|
+
/** Allows the chart to grow and shrink (default if no explicit width) */
|
|
1154
|
+
responsive?: boolean;
|
|
1155
|
+
} & Margin & WidthHeight & MaxWidthHeight;
|
|
935
1156
|
|
|
936
|
-
|
|
1157
|
+
type Props$b = {
|
|
1158
|
+
/** Stacks multiple data points within a single bar */
|
|
1159
|
+
stacked?: boolean;
|
|
1160
|
+
/** Orients the bars outward from the Y axis */
|
|
1161
|
+
vertical?: boolean;
|
|
1162
|
+
/** The gap between two bars in the same category */
|
|
1163
|
+
barGap?: number;
|
|
1164
|
+
/** The gap between two bar categories */
|
|
1165
|
+
barCategoryGap?: number;
|
|
1166
|
+
/** The thickness of each bar */
|
|
1167
|
+
barSize?: number;
|
|
1168
|
+
/** The maximum thickness of each bar */
|
|
1169
|
+
maxBarSize?: number;
|
|
1170
|
+
/** Removes the labels from the Y axis */
|
|
1171
|
+
hideYLabels?: boolean;
|
|
1172
|
+
/** Removes the labels from the X axis */
|
|
1173
|
+
hideXLabels?: boolean;
|
|
1174
|
+
/** The height of the X axis */
|
|
1175
|
+
xAxisHeight?: number;
|
|
1176
|
+
/** The width of the Y axis */
|
|
1177
|
+
yAxisWidth?: number;
|
|
1178
|
+
} & ChartProps;
|
|
1179
|
+
declare const BarChart: ({ data, legend, keys, stacked, barGap, barCategoryGap, barSize, maxBarSize, vertical, hideYLabels, hideXLabels, xAxisHeight, yAxisWidth, ...rest }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
937
1180
|
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
instagram: typeof Instagram;
|
|
995
|
-
'kebab-menu': typeof KebabMenu;
|
|
996
|
-
link: typeof Link;
|
|
997
|
-
linkedin: typeof Linkedin;
|
|
998
|
-
loading: typeof Loading;
|
|
999
|
-
logout: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1000
|
-
maximize: typeof Maximize;
|
|
1001
|
-
menu: typeof Menu$1;
|
|
1002
|
-
merge: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1003
|
-
'merge-field': typeof MergeField;
|
|
1004
|
-
message: typeof Message$1;
|
|
1005
|
-
mic: typeof Mic;
|
|
1006
|
-
'mic-off': typeof MicOff;
|
|
1007
|
-
minimize: typeof Minimize;
|
|
1008
|
-
mobile: typeof Mobile;
|
|
1009
|
-
'not-allowed': typeof NotAllowed;
|
|
1010
|
-
open: typeof Open;
|
|
1011
|
-
pause: typeof PauseOutline$1;
|
|
1012
|
-
'pause-outline': typeof PauseOutline;
|
|
1013
|
-
person: typeof Person;
|
|
1014
|
-
phone: typeof Phone$1;
|
|
1015
|
-
'phone-add': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1016
|
-
'phone-blocked': typeof PhoneBlocked;
|
|
1017
|
-
'phone-callback': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1018
|
-
'phone-end': typeof PhoneEnd;
|
|
1019
|
-
'phone-forward': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1020
|
-
'phone-history': typeof PhoneHistory;
|
|
1021
|
-
'phone-hold': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1022
|
-
'phone-talk': typeof PhoneTalk;
|
|
1023
|
-
'phone-transfer': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1024
|
-
play: typeof Play;
|
|
1025
|
-
'play-outline': typeof PlayOutline;
|
|
1026
|
-
'profile-user': typeof ProfileUser;
|
|
1027
|
-
'radio-button': typeof RadioButton;
|
|
1028
|
-
'radio-button-off': typeof RadioButtonOff;
|
|
1029
|
-
record: typeof Record;
|
|
1030
|
-
refresh: typeof Refresh;
|
|
1031
|
-
rocket: typeof Rocket;
|
|
1032
|
-
schedule: typeof Schedule;
|
|
1033
|
-
'schedule-outline': typeof ScheduleOutline;
|
|
1034
|
-
screenshot: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1035
|
-
search: typeof Search;
|
|
1036
|
-
settings: typeof Settings;
|
|
1037
|
-
share: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1038
|
-
'shield-check': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1039
|
-
'shield-slash': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1040
|
-
sort: typeof Sort;
|
|
1041
|
-
spotify: typeof Spotify;
|
|
1042
|
-
star: typeof Star;
|
|
1043
|
-
'star-outline': typeof StarOutline;
|
|
1044
|
-
stars: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1045
|
-
stats: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1046
|
-
stop: typeof Stop;
|
|
1047
|
-
'stop-outline': typeof StopOutline;
|
|
1048
|
-
team: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1049
|
-
template: typeof Template;
|
|
1050
|
-
'toggle-off': typeof ToggleOff;
|
|
1051
|
-
'toggle-on': typeof ToggleOn;
|
|
1052
|
-
transfer: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1053
|
-
'transfer-cancel': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1054
|
-
trash: typeof Trash;
|
|
1055
|
-
trophy: (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1056
|
-
twitter: typeof Twitter;
|
|
1057
|
-
upload: typeof Upload;
|
|
1058
|
-
video: typeof Video;
|
|
1059
|
-
voicemail: typeof Voicemail;
|
|
1060
|
-
'vol-on': typeof VolOn;
|
|
1061
|
-
warning: typeof Warning;
|
|
1062
|
-
'warning-circle-outline': typeof WarningCircleOutline;
|
|
1063
|
-
youtube: typeof Youtube;
|
|
1181
|
+
type ListItem = {
|
|
1182
|
+
/** The id of the option that will be returned on selection */
|
|
1183
|
+
id?: number | string;
|
|
1184
|
+
/** The value displayed within the input after selection */
|
|
1185
|
+
value: string;
|
|
1186
|
+
/** The header text displayed above the body text */
|
|
1187
|
+
header?: string;
|
|
1188
|
+
/** The body text displayed below the header text */
|
|
1189
|
+
body?: string;
|
|
1190
|
+
/** An element to be displayed on the left side of the item */
|
|
1191
|
+
leftElement?: ReactElement;
|
|
1192
|
+
/** An element to be displayed on the right side of the item */
|
|
1193
|
+
rightElement?: ReactElement;
|
|
1194
|
+
/** Displays the header & body inline rather than column */
|
|
1195
|
+
inline?: boolean;
|
|
1196
|
+
/** Disables the Item from being clicked */
|
|
1197
|
+
isDisabled?: boolean;
|
|
1198
|
+
/** The function to be called when the item is clicked */
|
|
1199
|
+
onClick?: () => void;
|
|
1200
|
+
};
|
|
1201
|
+
type SelectItem = Omit<ListItem, 'onClick'>;
|
|
1202
|
+
type SelectInputProps = {
|
|
1203
|
+
/** The option Items to be displayed in the menu */
|
|
1204
|
+
children?: ReactNode;
|
|
1205
|
+
/** The options to be displayed in the menu */
|
|
1206
|
+
options?: SelectItem[];
|
|
1207
|
+
/** The controlled value of the input */
|
|
1208
|
+
value?: Key;
|
|
1209
|
+
/** Adds a label to the input */
|
|
1210
|
+
label?: string;
|
|
1211
|
+
/** Sets the placeholder text */
|
|
1212
|
+
placeholder?: string;
|
|
1213
|
+
/** Sets the placeholder color */
|
|
1214
|
+
placeholderColor?: string;
|
|
1215
|
+
/** Sets the input's backgroundColor */
|
|
1216
|
+
backgroundColor?: string;
|
|
1217
|
+
/** Removes the background color from the input */
|
|
1218
|
+
textOnly?: boolean;
|
|
1219
|
+
/** Sets the fontSize */
|
|
1220
|
+
fontSize?: number | string;
|
|
1221
|
+
/** Controls the open state of the menu */
|
|
1222
|
+
open?: boolean;
|
|
1223
|
+
/** The function to be called when an option is selected */
|
|
1224
|
+
onChange?: (key: Key) => void;
|
|
1225
|
+
/** The function to be called when the menu is opened */
|
|
1226
|
+
afterShow?: () => void;
|
|
1227
|
+
/** The function to be called when the menu is closed */
|
|
1228
|
+
afterHide?: () => void;
|
|
1229
|
+
} & Width & Margin;
|
|
1230
|
+
type CalendarBaseProps = {
|
|
1231
|
+
/** Prevents selection of dates in the past (relative to the set date or current date). */
|
|
1232
|
+
preventPast?: boolean | Date;
|
|
1233
|
+
/** Prevents selection of dates in the future (relative to the set date or current date). */
|
|
1234
|
+
preventFuture?: boolean | Date;
|
|
1235
|
+
/** Removes the Calendar's boxShadow */
|
|
1236
|
+
noShadow?: boolean;
|
|
1064
1237
|
};
|
|
1065
|
-
type
|
|
1238
|
+
type DateInputProps = Pick<SelectInputProps, 'open' | 'afterShow' | 'afterHide'> & Omit<CalendarBaseProps, 'noShadow'> & Omit<InputProps$1, 'placeholder'>;
|
|
1066
1239
|
|
|
1067
|
-
type ButtonAttributes = Omit<HTMLProps<HTMLButtonElement>, 'as' | 'type' | 'size'> & {
|
|
1240
|
+
type ButtonAttributes = Omit<HTMLProps<HTMLButtonElement>, 'as' | 'type' | 'size' | 'onClick'> & {
|
|
1068
1241
|
type?: 'button' | 'reset' | 'submit';
|
|
1069
|
-
} & AsProp;
|
|
1242
|
+
} & AsProp & ButtonProps;
|
|
1070
1243
|
type ButtonBaseProps = {
|
|
1071
1244
|
children?: ReactNode;
|
|
1072
1245
|
joined?: 'left' | 'right' | 'middle';
|
|
@@ -1098,7 +1271,7 @@ type ButtonBaseProps = {
|
|
|
1098
1271
|
/** CSS Animation shorthand property for the icon */
|
|
1099
1272
|
iconAnimation?: string;
|
|
1100
1273
|
/** The function to be called when the button is clicked */
|
|
1101
|
-
onClick?: (event:
|
|
1274
|
+
onClick?: (event: PressEvent) => void;
|
|
1102
1275
|
/** Sets the text backgroundColor of the button */
|
|
1103
1276
|
backgroundColor?: string;
|
|
1104
1277
|
/** Sets the text color of the button */
|
|
@@ -1172,7 +1345,7 @@ type DropdownProps$2 = {
|
|
|
1172
1345
|
/** Adds a dropdown button to the main button, allowing for multiple button options */
|
|
1173
1346
|
dropdown: true;
|
|
1174
1347
|
/** The dropdown options array of { id: string; label: string; action: () => void; } */
|
|
1175
|
-
options:
|
|
1348
|
+
options: ListItem[];
|
|
1176
1349
|
/** The direction the options should open in relation to the button */
|
|
1177
1350
|
direction?: 'top' | 'bottom';
|
|
1178
1351
|
/** The function to be called when the options are opened */
|
|
@@ -1198,61 +1371,13 @@ type ButtonComponentProps = {
|
|
|
1198
1371
|
joined?: never;
|
|
1199
1372
|
} & BasicButtonProps & DropdownProps$2 & Margin;
|
|
1200
1373
|
|
|
1201
|
-
type DivProps$1 = Omit<HTMLProps<HTMLDivElement>, 'as'> & AsProp;
|
|
1202
|
-
type TooltipProps = {
|
|
1203
|
-
children?: ReactNode;
|
|
1204
|
-
/** The element that will trigger the opening of the Tooltip */
|
|
1205
|
-
trigger: ReactNode;
|
|
1206
|
-
/** The text content of the Tooltip */
|
|
1207
|
-
content?: string;
|
|
1208
|
-
/** The position of the Tooltip body and arrow in relation to the trigger */
|
|
1209
|
-
position?: PopPosition;
|
|
1210
|
-
/** Offset of the Tooltip from the trigger */
|
|
1211
|
-
offset?: number;
|
|
1212
|
-
/** zIndex of the Tooltip's portal container */
|
|
1213
|
-
zIndex?: number;
|
|
1214
|
-
/** The width of the Tooltip element */
|
|
1215
|
-
width?: number | string;
|
|
1216
|
-
/** The maxWidth of the Tooltip element */
|
|
1217
|
-
maxWidth?: number | string;
|
|
1218
|
-
/** The textAlignment of the Tooltip text */
|
|
1219
|
-
textAlign?: 'left' | 'right' | 'center';
|
|
1220
|
-
/** Controls the open state of the Tooltip */
|
|
1221
|
-
open?: boolean;
|
|
1222
|
-
/** Prevents the Tooltip from opening */
|
|
1223
|
-
disabled?: boolean;
|
|
1224
|
-
/** The id of the Tooltip element */
|
|
1225
|
-
id?: string;
|
|
1226
|
-
/** The backgroundColor of the Tooltip element */
|
|
1227
|
-
bgColor?: string;
|
|
1228
|
-
/** The text color of the Tooltip element */
|
|
1229
|
-
color?: string;
|
|
1230
|
-
/** Specify a container element to portal the content into */
|
|
1231
|
-
container?: HTMLElement;
|
|
1232
|
-
/** The function called after the Tooltip opens */
|
|
1233
|
-
afterShow?: () => void;
|
|
1234
|
-
/** The function called after the Tooltip closes */
|
|
1235
|
-
afterHide?: () => void;
|
|
1236
|
-
} & DivProps$1;
|
|
1237
|
-
declare const Tooltip: {
|
|
1238
|
-
({ trigger, children, content, position, offset, zIndex, width, maxWidth, textAlign, open, disabled, id, bgColor, color, container, afterShow, afterHide, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
1239
|
-
Header: _emotion_styled.StyledComponent<{
|
|
1240
|
-
theme?: _emotion_react.Theme | undefined;
|
|
1241
|
-
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
1242
|
-
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1243
|
-
Body: _emotion_styled.StyledComponent<{
|
|
1244
|
-
theme?: _emotion_react.Theme | undefined;
|
|
1245
|
-
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
1246
|
-
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1247
|
-
};
|
|
1248
|
-
|
|
1249
1374
|
/** Button Component */
|
|
1250
1375
|
declare const Button: {
|
|
1251
1376
|
(props: ButtonComponentProps): react_jsx_runtime.JSX.Element;
|
|
1252
1377
|
Group: ({ children, disabled, outline, size, small, large, secondary, negative, positive, caution, collapse, ...props }: ({
|
|
1253
1378
|
children: (react.ReactElement<BasicButtonProps | ButtonComponentProps, string | react.JSXElementConstructor<any>> | react.ReactElement<TooltipProps, string | react.JSXElementConstructor<any>>) | (react.ReactElement<BasicButtonProps | ButtonComponentProps, string | react.JSXElementConstructor<any>> | react.ReactElement<TooltipProps, string | react.JSXElementConstructor<any>>)[];
|
|
1254
1379
|
disabled?: boolean | undefined;
|
|
1255
|
-
size?: "small" | "
|
|
1380
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
1256
1381
|
small?: boolean | undefined;
|
|
1257
1382
|
large?: boolean | undefined;
|
|
1258
1383
|
outline?: boolean | undefined;
|
|
@@ -1260,19 +1385,13 @@ declare const Button: {
|
|
|
1260
1385
|
} & ButtonStyles) & Margin & Width) => react_jsx_runtime.JSX.Element | null;
|
|
1261
1386
|
};
|
|
1262
1387
|
|
|
1263
|
-
type
|
|
1388
|
+
type Props$a = {
|
|
1264
1389
|
/** Optional date the initial selected calendar day should be set to. */
|
|
1265
1390
|
date?: Date;
|
|
1266
1391
|
/** The function to be called when a date is selected */
|
|
1267
1392
|
onChange: (date: Date) => void;
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
/** Prevents selection of dates in the future (relative to the set date or current date). */
|
|
1271
|
-
preventFuture?: boolean | Date;
|
|
1272
|
-
/** Removes the Calendar's boxShadow */
|
|
1273
|
-
noShadow?: boolean;
|
|
1274
|
-
};
|
|
1275
|
-
declare const Calendar: ({ date, onChange, preventPast, preventFuture, noShadow }: CalendarProps) => react_jsx_runtime.JSX.Element;
|
|
1393
|
+
} & CalendarBaseProps & Omit<CalendarProps<CalendarDate>, 'onChange'>;
|
|
1394
|
+
declare const Calendar: ({ date, onChange, preventPast, preventFuture, noShadow, ...props }: Props$a) => react_jsx_runtime.JSX.Element;
|
|
1276
1395
|
|
|
1277
1396
|
type CheckboxAttributes = Omit<HTMLProps<HTMLInputElement>, 'onChange'>;
|
|
1278
1397
|
|
|
@@ -1296,7 +1415,7 @@ declare const Checkbox: ({ id, label, labelPosition, checked, partial, disabled,
|
|
|
1296
1415
|
|
|
1297
1416
|
type RestLanguage = 'rest-get' | 'rest-post' | 'rest-put' | 'rest-delete' | 'rest-options';
|
|
1298
1417
|
type BaseLanguages = 'jsx' | 'tsx' | 'swift' | 'kotlin' | 'objectivec' | 'js-extras' | 'reason' | 'rust' | 'graphql' | 'yaml' | 'go' | 'cpp' | 'markdown';
|
|
1299
|
-
type WithChildren
|
|
1418
|
+
type WithChildren = {
|
|
1300
1419
|
/** The string to be rendered in the code snippet */
|
|
1301
1420
|
children: string;
|
|
1302
1421
|
/** The alternative to passing the code snippet in as a child */
|
|
@@ -1306,7 +1425,7 @@ type WithCode = {
|
|
|
1306
1425
|
code: string;
|
|
1307
1426
|
children?: never;
|
|
1308
1427
|
};
|
|
1309
|
-
type Children = WithChildren
|
|
1428
|
+
type Children = WithChildren | WithCode;
|
|
1310
1429
|
type CodeProps = {
|
|
1311
1430
|
/** The metadata string passed in by MDX */
|
|
1312
1431
|
className?: string;
|
|
@@ -1319,6 +1438,20 @@ type CodeProps = {
|
|
|
1319
1438
|
} & Children & Margin;
|
|
1320
1439
|
declare const Code: ({ children, code, className: metaData, lang: langProp, lineHighlights: lineHighlightsProp, noNumbers: noNumbersProp, margin, marginTop, marginBottom, marginRight, marginLeft, }: CodeProps) => react_jsx_runtime.JSX.Element;
|
|
1321
1440
|
|
|
1441
|
+
type Props$9 = {
|
|
1442
|
+
/** The function to be called when the search input is updated */
|
|
1443
|
+
onTextChange?: (text: string) => void;
|
|
1444
|
+
} & SelectInputProps & Omit<ComboBoxProps<object>, 'children' | 'onSelectionChange'>;
|
|
1445
|
+
declare const ComboBox: {
|
|
1446
|
+
({ backgroundColor, children, fontSize, isDisabled, label, open, options, placeholder, placeholderColor, textOnly, value, width, onChange, afterShow, afterHide, onTextChange, ...props }: Props$9): react_jsx_runtime.JSX.Element;
|
|
1447
|
+
Item: ({ id, value, header, body, leftElement, rightElement, inline, ...props }: SelectItem & Omit<react_aria_components.ListBoxItemProps<object>, "value" | "id">) => react_jsx_runtime.JSX.Element;
|
|
1448
|
+
Section: ({ id, title, children }: {
|
|
1449
|
+
id?: string | undefined;
|
|
1450
|
+
title?: string | undefined;
|
|
1451
|
+
children: react.ReactNode;
|
|
1452
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1453
|
+
};
|
|
1454
|
+
|
|
1322
1455
|
declare const Table$1: _emotion_styled.StyledComponent<{
|
|
1323
1456
|
theme?: _emotion_react.Theme | undefined;
|
|
1324
1457
|
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
@@ -1336,7 +1469,7 @@ declare const DraftEditor: react.ForwardRefExoticComponent<{
|
|
|
1336
1469
|
/** Callback run after onBlur event */
|
|
1337
1470
|
onBlur?: ((event?: InputFocusEvent) => void) | undefined;
|
|
1338
1471
|
/** Array of MergeFields ({ id: string, label: string, value?: string }) for the editor to use/parse */
|
|
1339
|
-
mergeFields?: MergeField
|
|
1472
|
+
mergeFields?: MergeField[] | undefined;
|
|
1340
1473
|
/** Placeholder text of editor when value is empty */
|
|
1341
1474
|
placeholder?: string | undefined;
|
|
1342
1475
|
/** Places a description message below the editor */
|
|
@@ -1349,8 +1482,6 @@ declare const DraftEditor: react.ForwardRefExoticComponent<{
|
|
|
1349
1482
|
height?: number | undefined;
|
|
1350
1483
|
/** Max Height of the editor. Editor contents will scroll after this height is reached */
|
|
1351
1484
|
maxHeight?: number | undefined;
|
|
1352
|
-
/** Removes the border from the editor */
|
|
1353
|
-
borderless?: boolean | undefined;
|
|
1354
1485
|
/** Removes the padding from the editor */
|
|
1355
1486
|
noPadding?: boolean | undefined;
|
|
1356
1487
|
/** Disables any editing capability of the editor */
|
|
@@ -1377,43 +1508,6 @@ declare const DraftEditor: react.ForwardRefExoticComponent<{
|
|
|
1377
1508
|
textOnly?: boolean | undefined;
|
|
1378
1509
|
} & Margin & react.RefAttributes<DraftEditorRef>>;
|
|
1379
1510
|
|
|
1380
|
-
type Sizes = number | 'small' | 'medium' | 'large';
|
|
1381
|
-
type DivAttributes = Omit<HTMLProps<HTMLDivElement>, 'size'>;
|
|
1382
|
-
type ConditionalProps = {
|
|
1383
|
-
/** Name of the specific icon to use */
|
|
1384
|
-
name: IconNames;
|
|
1385
|
-
svg?: never;
|
|
1386
|
-
} | {
|
|
1387
|
-
/** The SVG element to wrap with the Icon component */
|
|
1388
|
-
svg: ReactNode | (() => JSX.Element);
|
|
1389
|
-
name?: never;
|
|
1390
|
-
};
|
|
1391
|
-
type IconProps = {
|
|
1392
|
-
/** Sets the width and height of the icon */
|
|
1393
|
-
size?: Sizes;
|
|
1394
|
-
/** Sets the width of the icon */
|
|
1395
|
-
width?: number | string;
|
|
1396
|
-
/** Sets the height of the icon */
|
|
1397
|
-
height?: number | string;
|
|
1398
|
-
/** Sets the color of the icon */
|
|
1399
|
-
color?: string;
|
|
1400
|
-
/** Sets the color of the icon when hovered */
|
|
1401
|
-
hoverColor?: string;
|
|
1402
|
-
/** Sets the cursor as a pointer when hovered */
|
|
1403
|
-
pointer?: boolean;
|
|
1404
|
-
/** Sets the color of the icon to the parent element's color */
|
|
1405
|
-
inheritColor?: boolean;
|
|
1406
|
-
/** CSS Animation shorthand property */
|
|
1407
|
-
animation?: string;
|
|
1408
|
-
/** Sets the style prop of the Icon wrapper element */
|
|
1409
|
-
style?: {
|
|
1410
|
-
[key: string]: string | number;
|
|
1411
|
-
};
|
|
1412
|
-
} & ConditionalProps & MarginPadding & AsProp & DivAttributes;
|
|
1413
|
-
declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, animation, style, onClick, ...props }: IconProps) => react_jsx_runtime.JSX.Element | null;
|
|
1414
|
-
|
|
1415
|
-
type IconType = IconNames | IconProps | ReactElement<IconProps> | ReactElement<TooltipProps>;
|
|
1416
|
-
|
|
1417
1511
|
type OnClear = () => void;
|
|
1418
1512
|
type OnChangeDefault = (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1419
1513
|
type OnChangePhone = (event: ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void;
|
|
@@ -1448,8 +1542,6 @@ type InputProps = {
|
|
|
1448
1542
|
iconRight?: IconType;
|
|
1449
1543
|
/** Sets the Input's bottom border and description text to red */
|
|
1450
1544
|
invalid?: boolean;
|
|
1451
|
-
/** Removes the input border */
|
|
1452
|
-
borderless?: boolean;
|
|
1453
1545
|
/** Sets the input borderRadius */
|
|
1454
1546
|
borderRadius?: number | string;
|
|
1455
1547
|
/** Sets the input borderColor */
|
|
@@ -1508,8 +1600,6 @@ declare const Input: react.ForwardRefExoticComponent<(Omit<{
|
|
|
1508
1600
|
iconRight?: IconType | undefined;
|
|
1509
1601
|
/** Sets the Input's bottom border and description text to red */
|
|
1510
1602
|
invalid?: boolean | undefined;
|
|
1511
|
-
/** Removes the input border */
|
|
1512
|
-
borderless?: boolean | undefined;
|
|
1513
1603
|
/** Sets the input borderRadius */
|
|
1514
1604
|
borderRadius?: string | number | undefined;
|
|
1515
1605
|
/** Sets the input borderColor */
|
|
@@ -1567,8 +1657,6 @@ declare const Input: react.ForwardRefExoticComponent<(Omit<{
|
|
|
1567
1657
|
iconRight?: IconType | undefined;
|
|
1568
1658
|
/** Sets the Input's bottom border and description text to red */
|
|
1569
1659
|
invalid?: boolean | undefined;
|
|
1570
|
-
/** Removes the input border */
|
|
1571
|
-
borderless?: boolean | undefined;
|
|
1572
1660
|
/** Sets the input borderRadius */
|
|
1573
1661
|
borderRadius?: string | number | undefined;
|
|
1574
1662
|
/** Sets the input borderColor */
|
|
@@ -1609,6 +1697,30 @@ declare const Input: react.ForwardRefExoticComponent<(Omit<{
|
|
|
1609
1697
|
onClear?: OnClear | undefined;
|
|
1610
1698
|
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & AsProp & Phone & Margin & Padding, "ref">) & react.RefAttributes<InputRef>>;
|
|
1611
1699
|
|
|
1700
|
+
type DropdownItemProps<OptionType> = {
|
|
1701
|
+
setValue?: (v: OptionType, event: MouseEvent$1 | Event) => void;
|
|
1702
|
+
close?: () => void;
|
|
1703
|
+
children: ReactNode;
|
|
1704
|
+
/** Sets the value of the option that will be returned in the object */
|
|
1705
|
+
value?: number | string;
|
|
1706
|
+
/** Sets the label property of the object to be returned. Only required if the content of the Item is anything other than a string (icons, other elements) */
|
|
1707
|
+
displayText?: string;
|
|
1708
|
+
/** The flex positioning of the Item contents */
|
|
1709
|
+
contentPosition?: FlexPosition;
|
|
1710
|
+
/** The color of the Option text */
|
|
1711
|
+
color?: string;
|
|
1712
|
+
/** Sets the Option text color to theme.accent */
|
|
1713
|
+
accented?: boolean;
|
|
1714
|
+
/** Callback function to override the default onChange function of Dropdown. */
|
|
1715
|
+
onClick?: (event: MouseEvent$1 | Event) => void;
|
|
1716
|
+
/** The id of the Item element */
|
|
1717
|
+
id: number | string;
|
|
1718
|
+
/** Sets the Item as a section separator */
|
|
1719
|
+
section?: boolean;
|
|
1720
|
+
};
|
|
1721
|
+
type SetEvent = MouseEvent$1 | ChangeEvent | KeyboardEvent | Event;
|
|
1722
|
+
type SetValueFunc = <OptionType extends OptionItem>(selection: OptionType | string | null, event?: SetEvent) => void;
|
|
1723
|
+
|
|
1612
1724
|
type RestInputProps = Omit<InputProps, 'value' | 'onChange' | 'onError'>;
|
|
1613
1725
|
type DropdownProps$1<OptionType> = {
|
|
1614
1726
|
children?: ReactNode;
|
|
@@ -1686,100 +1798,34 @@ type DropdownProps$1<OptionType> = {
|
|
|
1686
1798
|
optionsParent?: string;
|
|
1687
1799
|
} & WidthHeight & Margin & RestInputProps;
|
|
1688
1800
|
declare const Dropdown: {
|
|
1689
|
-
<OptionType extends OptionItem>({ onChange, onTextChange, afterShow, afterHide, onFocus, onBlur, onError, placeholder, placeholderColor, value, options, children,
|
|
1690
|
-
Item<OptionType_1 extends OptionItem>({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, }: DropdownItemProps<OptionType_1>): react_jsx_runtime.JSX.Element;
|
|
1691
|
-
};
|
|
1692
|
-
|
|
1693
|
-
type ItemProps$1 = {
|
|
1694
|
-
selected?: boolean;
|
|
1695
|
-
noSelect?: boolean;
|
|
1696
|
-
disabled?: boolean;
|
|
1697
|
-
contentPosition?: FlexPosition;
|
|
1698
|
-
color?: string;
|
|
1699
|
-
accented?: boolean;
|
|
1700
|
-
} & ThemeProp;
|
|
1701
|
-
|
|
1702
|
-
type OptionsItemProps = {
|
|
1703
|
-
children?: ReactNode;
|
|
1704
|
-
/** The id of the Option item */
|
|
1705
|
-
id?: number | string;
|
|
1706
|
-
/** The function to be called when the Option item is clicked */
|
|
1707
|
-
onClick: (event: MouseEvent$1 | Event) => void;
|
|
1708
|
-
/** Controls whether the Option appears to be hovered */
|
|
1709
|
-
selected?: boolean;
|
|
1710
|
-
/** Prevents the Option from appearing to be hovered */
|
|
1711
|
-
noSelect?: boolean;
|
|
1712
|
-
/** Prevents the Option from being selected */
|
|
1713
|
-
disabled?: boolean;
|
|
1714
|
-
/** The flex positioning of the Option contents */
|
|
1715
|
-
contentPosition?: FlexPosition;
|
|
1716
|
-
/** The color of the Option text */
|
|
1717
|
-
color?: string;
|
|
1718
|
-
/** Sets the Option text color to theme.accent */
|
|
1719
|
-
accented?: boolean;
|
|
1801
|
+
<OptionType extends OptionItem>({ onChange, onTextChange, afterShow, afterHide, onFocus, onBlur, onError, placeholder, placeholderColor, value, options, children, borderColor, backgroundColor, hideIcon, clearOnSelect, textOnly, width, height, isLoading, margin, marginTop, marginBottom, marginRight, marginLeft, label, id, name, trigger, centerY, centerX, offsetY, offsetX, direction, fontSize, description, disabled, invalid, search, filter, restrictInput, inputRef, optionsParent, ...props }: DropdownProps$1<OptionType>): react_jsx_runtime.JSX.Element;
|
|
1802
|
+
Item<OptionType_1 extends OptionItem>({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, section, }: DropdownItemProps<OptionType_1>): react_jsx_runtime.JSX.Element;
|
|
1720
1803
|
};
|
|
1721
1804
|
|
|
1722
|
-
type
|
|
1723
|
-
type
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
};
|
|
1727
|
-
type WithOptions<OptionType> = {
|
|
1728
|
-
options: OptionType[];
|
|
1729
|
-
/** The function called after an option from the options array is selected */
|
|
1730
|
-
onChange?: (option: OptionType, event: MouseEvent$1 | Event) => void;
|
|
1731
|
-
};
|
|
1732
|
-
type EitherChildrenOrOptions<OptionType> = WithChildren | WithOptions<OptionType>;
|
|
1733
|
-
type DropdownMenuProps<OptionType> = {
|
|
1734
|
-
children?: ReactNode;
|
|
1735
|
-
/** The options to be displayed */
|
|
1736
|
-
options?: OptionType[];
|
|
1737
|
-
/** The id of the menu container */
|
|
1738
|
-
id?: string | number;
|
|
1805
|
+
type SelectProps = Pick<SelectInputProps, 'children' | 'open' | 'afterShow' | 'afterHide'>;
|
|
1806
|
+
type DropdownMenuProps = {
|
|
1807
|
+
/** The options to be displayed in the menu */
|
|
1808
|
+
options?: ListItem[];
|
|
1739
1809
|
/** The position of the menu body and arrow in relation to the trigger */
|
|
1740
|
-
position?:
|
|
1810
|
+
position?: Placement;
|
|
1741
1811
|
/** The element that will trigger the opening of the menu */
|
|
1742
|
-
trigger:
|
|
1743
|
-
/** Controls the open state of the menu */
|
|
1744
|
-
open?: boolean;
|
|
1812
|
+
trigger: ReactElement;
|
|
1745
1813
|
/** Offset of the menu from the trigger */
|
|
1746
1814
|
offset?: number;
|
|
1747
|
-
|
|
1748
|
-
arrow?: boolean;
|
|
1749
|
-
/** The width of the menu */
|
|
1750
|
-
width?: number | string;
|
|
1751
|
-
/** Overrides the default maxHeight of 200px */
|
|
1752
|
-
maxHeight?: number;
|
|
1753
|
-
/** Specify a container element to portal the content into */
|
|
1754
|
-
container?: HTMLElement;
|
|
1755
|
-
/** zIndex of the menu's portal container */
|
|
1756
|
-
zIndex?: number;
|
|
1757
|
-
/** Enables the page to scroll when the menu is open */
|
|
1758
|
-
disableScrollLock?: boolean;
|
|
1759
|
-
/** The function called after the menu opens */
|
|
1760
|
-
afterShow?: () => void;
|
|
1761
|
-
/** The function called after the menu closes */
|
|
1762
|
-
afterHide?: () => void;
|
|
1763
|
-
} & EitherChildrenOrOptions<OptionType> & DivProps;
|
|
1815
|
+
} & SelectProps;
|
|
1764
1816
|
declare const DropdownMenu: {
|
|
1765
|
-
|
|
1766
|
-
Item: ({
|
|
1767
|
-
Sub({ children,
|
|
1817
|
+
({ children, position, trigger, open, options, offset, afterShow, afterHide, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
1818
|
+
Item: ({ id, value, header, body, leftElement, rightElement, inline, onClick, ...props }: ListItem & Omit<react_aria_components.MenuItemProps<object>, "value" | "id" | "onAction">) => react_jsx_runtime.JSX.Element;
|
|
1819
|
+
Sub({ children, label, isDisabled }: SubProps): react_jsx_runtime.JSX.Element;
|
|
1768
1820
|
Separator(): react_jsx_runtime.JSX.Element;
|
|
1769
1821
|
};
|
|
1770
1822
|
type SubProps = {
|
|
1771
1823
|
children?: ReactNode;
|
|
1772
|
-
/** The id of the sub menu's content container */
|
|
1773
|
-
id?: string;
|
|
1774
1824
|
/** The text or element to display as the sub menu item's trigger */
|
|
1775
|
-
label: string
|
|
1776
|
-
/** zIndex of the sub menu's portal container */
|
|
1777
|
-
zIndex?: number;
|
|
1778
|
-
/** Specify a container element to portal the sub menu content into */
|
|
1779
|
-
container?: HTMLElement;
|
|
1825
|
+
label: string;
|
|
1780
1826
|
/** Prevents the Sub menu from being triggered */
|
|
1781
|
-
|
|
1782
|
-
}
|
|
1827
|
+
isDisabled?: boolean;
|
|
1828
|
+
};
|
|
1783
1829
|
|
|
1784
1830
|
type GridProps = {
|
|
1785
1831
|
/** If a number, rows creates n number rows of an equal size. If a string, rows sets the gridTemplateRows property */
|
|
@@ -1854,7 +1900,6 @@ declare const Form: {
|
|
|
1854
1900
|
iconLeft?: IconType | undefined;
|
|
1855
1901
|
iconRight?: IconType | undefined;
|
|
1856
1902
|
invalid?: boolean | undefined;
|
|
1857
|
-
borderless?: boolean | undefined;
|
|
1858
1903
|
borderRadius?: string | number | undefined;
|
|
1859
1904
|
borderColor?: string | undefined;
|
|
1860
1905
|
backgroundColor?: string | undefined;
|
|
@@ -1887,7 +1932,6 @@ declare const Form: {
|
|
|
1887
1932
|
iconLeft?: IconType | undefined;
|
|
1888
1933
|
iconRight?: IconType | undefined;
|
|
1889
1934
|
invalid?: boolean | undefined;
|
|
1890
|
-
borderless?: boolean | undefined;
|
|
1891
1935
|
borderRadius?: string | number | undefined;
|
|
1892
1936
|
borderColor?: string | undefined;
|
|
1893
1937
|
backgroundColor?: string | undefined;
|
|
@@ -1912,7 +1956,7 @@ declare const Form: {
|
|
|
1912
1956
|
onChange?: ((event: react.ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void) | undefined;
|
|
1913
1957
|
} & Margin & Padding, "ref">) & react.RefAttributes<InputRef>>;
|
|
1914
1958
|
Dropdown: {
|
|
1915
|
-
<OptionType extends OptionItem>({ onChange, onTextChange, afterShow, afterHide, onFocus, onBlur, onError, placeholder, placeholderColor, value, options, children,
|
|
1959
|
+
<OptionType extends OptionItem>({ onChange, onTextChange, afterShow, afterHide, onFocus, onBlur, onError, placeholder, placeholderColor, value, options, children, borderColor, backgroundColor, hideIcon, clearOnSelect, textOnly, width, height, isLoading, margin, marginTop, marginBottom, marginRight, marginLeft, label, id, name, trigger, centerY, centerX, offsetY, offsetX, direction, fontSize, description, disabled, invalid, search, filter, restrictInput, inputRef, optionsParent, ...props }: {
|
|
1916
1960
|
children?: ReactNode;
|
|
1917
1961
|
onChange?: ((item: OptionType | null) => void) | undefined;
|
|
1918
1962
|
onTextChange?: ((text: string) => void) | undefined;
|
|
@@ -1951,7 +1995,7 @@ declare const Form: {
|
|
|
1951
1995
|
inputRef?: react.RefObject<InputRef> | undefined;
|
|
1952
1996
|
optionsParent?: string | undefined;
|
|
1953
1997
|
} & Width & Height & Margin & RestInputProps): react_jsx_runtime.JSX.Element;
|
|
1954
|
-
Item<OptionType_1 extends OptionItem>({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, }: DropdownItemProps<OptionType_1>): react_jsx_runtime.JSX.Element;
|
|
1998
|
+
Item<OptionType_1 extends OptionItem>({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, section, }: DropdownItemProps<OptionType_1>): react_jsx_runtime.JSX.Element;
|
|
1955
1999
|
};
|
|
1956
2000
|
Radio: ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
|
|
1957
2001
|
id?: string | undefined;
|
|
@@ -2032,7 +2076,6 @@ declare const _default: {
|
|
|
2032
2076
|
} & {
|
|
2033
2077
|
backgroundColor?: string | undefined;
|
|
2034
2078
|
borderRadius?: string | number | undefined;
|
|
2035
|
-
borderless?: boolean | undefined;
|
|
2036
2079
|
borderColor?: string | undefined;
|
|
2037
2080
|
fontSize?: string | number | undefined;
|
|
2038
2081
|
placeholderColor?: string | undefined;
|
|
@@ -2072,6 +2115,27 @@ declare const _default: {
|
|
|
2072
2115
|
isInputFilled: (value?: string | number | undefined) => boolean;
|
|
2073
2116
|
};
|
|
2074
2117
|
|
|
2118
|
+
type PickerProps$1 = Omit<DatePickerProps<DateValue>, 'value' | 'onChange' | 'isOpen'>;
|
|
2119
|
+
type Props$8 = {
|
|
2120
|
+
value?: Date;
|
|
2121
|
+
onChange: (date: Date) => void;
|
|
2122
|
+
} & DateInputProps & PickerProps$1;
|
|
2123
|
+
declare const DatePicker: ({ value, label, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, isDisabled, description, errorMessage, preventPast, preventFuture, open, onChange, afterShow, afterHide, ...props }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
2124
|
+
|
|
2125
|
+
type PickerProps = Omit<DateRangePickerProps<DateValue>, 'value' | 'onChange' | 'isOpen'>;
|
|
2126
|
+
type Props$7 = {
|
|
2127
|
+
startValue?: Date;
|
|
2128
|
+
endValue?: Date;
|
|
2129
|
+
onChange: (start: Date, end: Date) => void;
|
|
2130
|
+
} & DateInputProps & PickerProps;
|
|
2131
|
+
declare const DateRangePicker: ({ startValue, endValue, label, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, isDisabled, description, errorMessage, preventPast, preventFuture, open, onChange, afterShow, afterHide, ...props }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
2132
|
+
|
|
2133
|
+
type Props$6 = InputProps$1 & NumberFieldProps;
|
|
2134
|
+
declare const NumberInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, isDisabled, description, errorMessage, ...props }: Props$6) => react_jsx_runtime.JSX.Element;
|
|
2135
|
+
|
|
2136
|
+
type Props$5 = InputProps$1 & TextFieldProps;
|
|
2137
|
+
declare const TextInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, isDisabled, description, errorMessage, ...props }: Props$5) => react_jsx_runtime.JSX.Element;
|
|
2138
|
+
|
|
2075
2139
|
type LabelProps = {
|
|
2076
2140
|
children?: ReactNode;
|
|
2077
2141
|
/** The name of the icon that should appear on the left side of the input */
|
|
@@ -2184,6 +2248,8 @@ type ModalProps = {
|
|
|
2184
2248
|
closeIcon?: boolean;
|
|
2185
2249
|
/** Prevents the Modal from closing if the overlay outside the modal is clicked */
|
|
2186
2250
|
preventOverlayClose?: boolean;
|
|
2251
|
+
/** Blurs the background behind the modal */
|
|
2252
|
+
overlayBlur?: boolean | number;
|
|
2187
2253
|
/** Sets the color of the modal overlay */
|
|
2188
2254
|
overlayColor?: string;
|
|
2189
2255
|
/** Overrides the backgroundColor of the modal container */
|
|
@@ -2210,7 +2276,7 @@ type ModalProps = {
|
|
|
2210
2276
|
zIndex?: number;
|
|
2211
2277
|
} & WidthHeight & Padding;
|
|
2212
2278
|
declare const Modal: {
|
|
2213
|
-
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): react.ReactPortal | null;
|
|
2279
|
+
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayBlur, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): react.ReactPortal | null;
|
|
2214
2280
|
Header: _emotion_styled.StyledComponent<{
|
|
2215
2281
|
theme?: _emotion_react.Theme | undefined;
|
|
2216
2282
|
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
@@ -2276,7 +2342,7 @@ type MultiSelectProps = {
|
|
|
2276
2342
|
/** The function to be called when the input is updated */
|
|
2277
2343
|
onTextChange?: (text: string) => void;
|
|
2278
2344
|
} & Width & Margin & DropdownProps;
|
|
2279
|
-
declare const MultiSelect:
|
|
2345
|
+
declare const MultiSelect: react.ForwardRefExoticComponent<Omit<MultiSelectProps, "ref"> & react.RefAttributes<MultiSelectRef>>;
|
|
2280
2346
|
|
|
2281
2347
|
declare const Notification: _emotion_styled.StyledComponent<{
|
|
2282
2348
|
theme?: _emotion_react.Theme | undefined;
|
|
@@ -2290,6 +2356,28 @@ declare const Notification: _emotion_styled.StyledComponent<{
|
|
|
2290
2356
|
number?: boolean | undefined;
|
|
2291
2357
|
} & ThemeProp & Margin & Position, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2292
2358
|
|
|
2359
|
+
type OptionsItemProps = {
|
|
2360
|
+
children?: ReactNode;
|
|
2361
|
+
/** The id of the Option item */
|
|
2362
|
+
id?: number | string;
|
|
2363
|
+
/** The function to be called when the Option item is clicked */
|
|
2364
|
+
onClick: (event: MouseEvent$1 | Event) => void;
|
|
2365
|
+
/** Controls whether the Option appears to be hovered */
|
|
2366
|
+
selected?: boolean;
|
|
2367
|
+
/** Prevents the Option from appearing to be hovered */
|
|
2368
|
+
noSelect?: boolean;
|
|
2369
|
+
/** Prevents the Option from being selected */
|
|
2370
|
+
disabled?: boolean;
|
|
2371
|
+
/** The flex positioning of the Option contents */
|
|
2372
|
+
contentPosition?: FlexPosition;
|
|
2373
|
+
/** The color of the Option text */
|
|
2374
|
+
color?: string;
|
|
2375
|
+
/** Sets the Option text color to theme.accent */
|
|
2376
|
+
accented?: boolean;
|
|
2377
|
+
/** Sets the Option as a section separator */
|
|
2378
|
+
section?: boolean;
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2293
2381
|
type OptionsProps = {
|
|
2294
2382
|
children: ReactNode;
|
|
2295
2383
|
/** The id of the Options container */
|
|
@@ -2313,7 +2401,7 @@ type OptionsProps = {
|
|
|
2313
2401
|
} & Width;
|
|
2314
2402
|
declare const Options: {
|
|
2315
2403
|
({ id, children, containerRef, parentSelector, width, maxHeight, offsetY, offsetX, centerY, centerX, direction, }: OptionsProps): react_jsx_runtime.JSX.Element;
|
|
2316
|
-
Item({ children, id, onClick, selected, noSelect, contentPosition, color, accented, ...props }: OptionsItemProps): react_jsx_runtime.JSX.Element;
|
|
2404
|
+
Item({ children, id, onClick, selected, noSelect, contentPosition, color, accented, section, ...props }: OptionsItemProps): react_jsx_runtime.JSX.Element;
|
|
2317
2405
|
};
|
|
2318
2406
|
|
|
2319
2407
|
type PaginationProps = {
|
|
@@ -2333,7 +2421,7 @@ type ChartData = {
|
|
|
2333
2421
|
value: number;
|
|
2334
2422
|
color?: string;
|
|
2335
2423
|
};
|
|
2336
|
-
type Props$
|
|
2424
|
+
type Props$4 = {
|
|
2337
2425
|
/** The chart data array */
|
|
2338
2426
|
data: ChartData[];
|
|
2339
2427
|
/** The width & height of the chart */
|
|
@@ -2343,7 +2431,7 @@ type Props$2 = {
|
|
|
2343
2431
|
/** Displays a gray chart if no data is present */
|
|
2344
2432
|
showWhenEmpty?: boolean;
|
|
2345
2433
|
} & Margin;
|
|
2346
|
-
declare const PieChart: ({ size, data, innerRadius, showWhenEmpty, ...rest }: Props$
|
|
2434
|
+
declare const PieChart: ({ size, data, innerRadius, showWhenEmpty, ...rest }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
2347
2435
|
|
|
2348
2436
|
type CircleProps = ({
|
|
2349
2437
|
circle?: false;
|
|
@@ -2380,47 +2468,26 @@ type RadioProps = {
|
|
|
2380
2468
|
} & Margin & AsProp & HTMLProps<HTMLInputElement>;
|
|
2381
2469
|
declare const Radio: ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: RadioProps) => react_jsx_runtime.JSX.Element;
|
|
2382
2470
|
|
|
2383
|
-
type
|
|
2384
|
-
/**
|
|
2385
|
-
|
|
2386
|
-
/**
|
|
2387
|
-
|
|
2388
|
-
/** The function to be called when
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
placeholderColor
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
backgroundColor?: string;
|
|
2404
|
-
/** Removes the border and background-color from the Select input */
|
|
2405
|
-
textOnly?: boolean;
|
|
2406
|
-
/** Adds a label to the Select input */
|
|
2407
|
-
label?: string;
|
|
2408
|
-
/** Sets the id of the Select input or trigger */
|
|
2409
|
-
id?: string;
|
|
2410
|
-
/** Sets the Select fontSize */
|
|
2411
|
-
fontSize?: number | string;
|
|
2412
|
-
/** Places a description message below the Select */
|
|
2413
|
-
description?: string;
|
|
2414
|
-
/** Disables the Select */
|
|
2415
|
-
disabled?: boolean;
|
|
2416
|
-
/** Sets the Select's bottom border and description text to red */
|
|
2417
|
-
invalid?: boolean;
|
|
2418
|
-
/** zIndex of the menu's portal container */
|
|
2419
|
-
zIndex?: number;
|
|
2420
|
-
/** Controls the open state of the menu */
|
|
2421
|
-
open?: boolean;
|
|
2422
|
-
} & WidthHeight & Margin;
|
|
2423
|
-
declare const Select: <OptionType extends OptionItem>({ onChange, afterShow, afterHide, placeholder, placeholderColor, value, options, borderless, borderColor, backgroundColor, textOnly, width, label, id, fontSize, description, disabled, invalid, zIndex, open, ...props }: SelectProps<OptionType>) => react_jsx_runtime.JSX.Element;
|
|
2471
|
+
type Props$3 = {
|
|
2472
|
+
/** Optional date the initial selected calendar range should start from. */
|
|
2473
|
+
startDate?: Date;
|
|
2474
|
+
/** Optional date the initial selected calendar range should end on. */
|
|
2475
|
+
endDate?: Date;
|
|
2476
|
+
/** The function to be called when a date range is selected */
|
|
2477
|
+
onChange: (start: Date, end: Date) => void;
|
|
2478
|
+
} & CalendarBaseProps & Omit<RangeCalendarProps<CalendarDate>, 'onChange'>;
|
|
2479
|
+
declare const RangeCalendar: ({ startDate, endDate, onChange, preventPast, preventFuture, noShadow, ...props }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
2480
|
+
|
|
2481
|
+
type Props$2 = SelectInputProps & Omit<SelectProps$1<object>, 'children' | 'onSelectionChange'>;
|
|
2482
|
+
declare const Select: {
|
|
2483
|
+
({ backgroundColor, children, fontSize, isDisabled, label, open, options, placeholder, placeholderColor, textOnly, value, width, onChange, afterShow, afterHide, ...props }: Props$2): react_jsx_runtime.JSX.Element;
|
|
2484
|
+
Item: ({ id, value, header, body, leftElement, rightElement, inline, ...props }: SelectItem & Omit<react_aria_components.ListBoxItemProps<object>, "value" | "id">) => react_jsx_runtime.JSX.Element;
|
|
2485
|
+
Section: ({ id, title, children }: {
|
|
2486
|
+
id?: string | undefined;
|
|
2487
|
+
title?: string | undefined;
|
|
2488
|
+
children: react.ReactNode;
|
|
2489
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2490
|
+
};
|
|
2424
2491
|
|
|
2425
2492
|
type SliderProps = {
|
|
2426
2493
|
/** The current position of the slider knob */
|
|
@@ -2704,7 +2771,7 @@ type UseSelectProps<OptionType> = {
|
|
|
2704
2771
|
isOpen: boolean;
|
|
2705
2772
|
/** The condition for when the select element is focused */
|
|
2706
2773
|
isFocused?: boolean;
|
|
2707
|
-
/** The text from a search
|
|
2774
|
+
/** The text from a search Dropdown */
|
|
2708
2775
|
searchText?: string;
|
|
2709
2776
|
};
|
|
2710
2777
|
declare const useSelect: <OptionType extends OptionItem>({ options, select, close, open, searchText, isOpen, isFocused, }: UseSelectProps<OptionType>) => readonly [number, react.RefObject<HTMLDivElement>];
|
|
@@ -2727,31 +2794,10 @@ declare const useWindowSize: () => {
|
|
|
2727
2794
|
height: number | null;
|
|
2728
2795
|
};
|
|
2729
2796
|
|
|
2730
|
-
declare const widthHeightProps: ({ width, height }: WidthHeight) =>
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
};
|
|
2734
|
-
declare const paddingProps: ({ padding, paddingTop, paddingBottom, paddingRight, paddingLeft }: Padding) => {
|
|
2735
|
-
padding: string | number | undefined;
|
|
2736
|
-
paddingTop: string | number | undefined;
|
|
2737
|
-
paddingBottom: string | number | undefined;
|
|
2738
|
-
paddingRight: string | number | undefined;
|
|
2739
|
-
paddingLeft: string | number | undefined;
|
|
2740
|
-
};
|
|
2741
|
-
declare const marginProps: ({ margin, marginTop, marginBottom, marginRight, marginLeft }: Margin) => {
|
|
2742
|
-
margin: string | number | undefined;
|
|
2743
|
-
marginTop: string | number | undefined;
|
|
2744
|
-
marginBottom: string | number | undefined;
|
|
2745
|
-
marginRight: string | number | undefined;
|
|
2746
|
-
marginLeft: string | number | undefined;
|
|
2747
|
-
};
|
|
2748
|
-
declare const positionProps: ({ position, top, bottom, right, left }: Position) => {
|
|
2749
|
-
position: PositionType | undefined;
|
|
2750
|
-
top: string | number | undefined;
|
|
2751
|
-
bottom: string | number | undefined;
|
|
2752
|
-
right: string | number | undefined;
|
|
2753
|
-
left: string | number | undefined;
|
|
2754
|
-
};
|
|
2797
|
+
declare const widthHeightProps: ({ width, height }: WidthHeight) => CSSObject;
|
|
2798
|
+
declare const paddingProps: ({ padding, paddingTop, paddingBottom, paddingRight, paddingLeft, }: Padding) => CSSObject;
|
|
2799
|
+
declare const marginProps: ({ margin, marginTop, marginBottom, marginRight, marginLeft }: Margin) => CSSObject;
|
|
2800
|
+
declare const positionProps: ({ position, top, bottom, right, left }: Position) => CSSObject;
|
|
2755
2801
|
|
|
2756
2802
|
declare const copyToClipboard: (text: string) => void;
|
|
2757
2803
|
|
|
@@ -2764,4 +2810,4 @@ declare const formatDate: (value: Date, option?: TimeSpec | TimeOptions) => stri
|
|
|
2764
2810
|
|
|
2765
2811
|
declare const numberWithCommas: (number: number) => string;
|
|
2766
2812
|
|
|
2767
|
-
export { Accordion, type AsProp as As, Audio, type AudioRef, BarChart, Button, Calendar, Checkbox, Code, Table$1 as DocTable, DraftEditor, type DraftEditorRef, Dropdown, DropdownMenu, type OptionItem as DropdownOption, type FlexPosition, Form, Grid, type Height, type ITheme, Icon, type IconNames, ImageViewer, InlineCode, Input, type InputRef, _default as InputUtils, Label, LineChart, type Margin, type MarginPadding, type MaxHeight, type MaxWidth, type MaxWidthHeight, Menu, Message, MessageHr, type MinHeight, type MinWidth, type MinWidthHeight, Modal, MultiSelect, type MultiSelectRef, Notification, Options, type Padding, Pagination, PieChart, type Position, Progress, Radio, ResetStyles, ScrollbarStyles, Select, Slider, Spacer, Spinner, type TabItem, Table, Tabs, type ThemeProp, ToastStyles, Toggle, Tooltip, type Action as TransferAction, type Item as TransferItem, TransferList, type Next as TransferNext, type Width, type WidthHeight, colors, copyToClipboard, darkScale, formatDate, lightScale, marginProps, numberWithCommas, paddingProps, positionProps, theme, useConfirm, useElementObserver, useEventListener, useOnClickOutside, usePrevious, useSelect, useSelectAll, useWindowSize, widthHeightProps };
|
|
2813
|
+
export { Accordion, type AsProp as As, Audio, type AudioRef, BarChart, Button, Calendar, Checkbox, Code, ComboBox, DatePicker, DateRangePicker, Table$1 as DocTable, DraftEditor, type DraftEditorRef, Dropdown, DropdownMenu, type OptionItem as DropdownOption, type FlexPosition, Form, Grid, type Height, type ITheme, Icon, type IconNames, ImageViewer, InlineCode, Input, type InputRef, _default as InputUtils, Label, LineChart, type Margin, type MarginPadding, type MaxHeight, type MaxWidth, type MaxWidthHeight, Menu, Message, MessageHr, type MinHeight, type MinWidth, type MinWidthHeight, Modal, MultiSelect, type MultiSelectRef, Notification, NumberInput, Options, type Padding, Pagination, PieChart, type Position, Progress, Radio, RangeCalendar, ResetStyles, ScrollbarStyles, Select, Slider, Spacer, Spinner, type TabItem, Table, Tabs, TextInput, type ThemeProp, ToastStyles, Toggle, Tooltip, type Action as TransferAction, type Item as TransferItem, TransferList, type Next as TransferNext, type Width, type WidthHeight, colors, copyToClipboard, darkScale, formatDate, lightScale, marginProps, numberWithCommas, paddingProps, positionProps, theme, useConfirm, useElementObserver, useEventListener, useOnClickOutside, usePrevious, useSelect, useSelectAll, useWindowSize, widthHeightProps };
|