@7shifts/sous-chef 1.5.4 → 1.5.8
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/CHANGELOG.md +30 -2
- package/dist/forms/TextField/TextField.d.ts +14 -9
- package/dist/forms/hooks/useFieldControllers.d.ts +8 -4
- package/dist/icons/components/IconAnalytics.d.ts +11 -0
- package/dist/icons/components/IconArrowDown.d.ts +11 -0
- package/dist/icons/components/IconArrowLeft.d.ts +11 -0
- package/dist/icons/components/IconArrowRight.d.ts +11 -0
- package/dist/icons/components/IconArrowToTop.d.ts +11 -0
- package/dist/icons/components/IconArrowUp.d.ts +11 -0
- package/dist/icons/components/IconAward.d.ts +11 -0
- package/dist/icons/components/IconBalanceScale.d.ts +11 -0
- package/dist/icons/components/IconBalanceScaleLeft.d.ts +11 -0
- package/dist/icons/components/IconBan.d.ts +11 -0
- package/dist/icons/components/IconBarsH.d.ts +11 -0
- package/dist/icons/components/IconBarsV.d.ts +11 -0
- package/dist/icons/components/IconBell.d.ts +11 -0
- package/dist/icons/components/IconBold.d.ts +11 -0
- package/dist/icons/components/IconBolt.d.ts +11 -0
- package/dist/icons/components/IconBook.d.ts +11 -0
- package/dist/icons/components/IconBriefcase.d.ts +11 -0
- package/dist/icons/components/IconBullseyeArrow.d.ts +11 -0
- package/dist/icons/components/IconCalculator.d.ts +11 -0
- package/dist/icons/components/IconCalendar.d.ts +11 -0
- package/dist/icons/components/IconCalendarAlt.d.ts +11 -0
- package/dist/icons/components/IconCalendarCheck.d.ts +11 -0
- package/dist/icons/components/IconCalendarDay.d.ts +11 -0
- package/dist/icons/components/IconCalendarExclamation.d.ts +11 -0
- package/dist/icons/components/IconCalendarTomorrow.d.ts +11 -0
- package/dist/icons/components/IconCamera.d.ts +11 -0
- package/dist/icons/components/IconCameraSlash.d.ts +11 -0
- package/dist/icons/components/IconCashRegister.d.ts +11 -0
- package/dist/icons/components/IconChartBar.d.ts +11 -0
- package/dist/icons/components/IconCheck.d.ts +11 -0
- package/dist/icons/components/IconChevronDown.d.ts +11 -0
- package/dist/icons/components/IconChevronLeft.d.ts +11 -0
- package/dist/icons/components/IconChevronRight.d.ts +11 -0
- package/dist/icons/components/IconChevronUp.d.ts +11 -0
- package/dist/icons/components/IconClipboardList.d.ts +11 -0
- package/dist/icons/components/IconClock.d.ts +11 -0
- package/dist/icons/components/IconCog.d.ts +11 -0
- package/dist/icons/components/IconComment.d.ts +11 -0
- package/dist/icons/components/IconCommentLines.d.ts +11 -0
- package/dist/icons/components/IconCopy.d.ts +11 -0
- package/dist/icons/components/IconCreditCard.d.ts +11 -0
- package/dist/icons/components/IconCreditCardPlus.d.ts +11 -0
- package/dist/icons/components/IconDownload.d.ts +11 -0
- package/dist/icons/components/IconEdit.d.ts +11 -0
- package/dist/icons/components/IconEllipsisV.d.ts +11 -0
- package/dist/icons/components/IconEnvelope.d.ts +11 -0
- package/dist/icons/components/IconExclaimation.d.ts +11 -0
- package/dist/icons/components/IconExclaimationTriangle.d.ts +11 -0
- package/dist/icons/components/IconExpand.d.ts +11 -0
- package/dist/icons/components/IconExternalLink.d.ts +11 -0
- package/dist/icons/components/IconEye.d.ts +11 -0
- package/dist/icons/components/IconEyeSlash.d.ts +11 -0
- package/dist/icons/components/IconFile.d.ts +11 -0
- package/dist/icons/components/IconFilePdf.d.ts +11 -0
- package/dist/icons/components/IconFlag.d.ts +11 -0
- package/dist/icons/components/IconFourDotsCircle.d.ts +11 -0
- package/dist/icons/components/IconFourSquares.d.ts +11 -0
- package/dist/icons/components/IconGift.d.ts +11 -0
- package/dist/icons/components/IconGrinBeam.d.ts +11 -0
- package/dist/icons/components/IconGripVertical.d.ts +11 -0
- package/dist/icons/components/IconHandshake.d.ts +11 -0
- package/dist/icons/components/IconImage.d.ts +11 -0
- package/dist/icons/components/IconInfoCircle.d.ts +11 -0
- package/dist/icons/components/IconIslandTropical.d.ts +11 -0
- package/dist/icons/components/IconItalic.d.ts +11 -0
- package/dist/icons/components/IconLaptopSearch.d.ts +11 -0
- package/dist/icons/components/IconLink.d.ts +11 -0
- package/dist/icons/components/IconList.d.ts +11 -0
- package/dist/icons/components/IconListOI.d.ts +11 -0
- package/dist/icons/components/IconLock.d.ts +11 -0
- package/dist/icons/components/IconMagicSolid.d.ts +11 -0
- package/dist/icons/components/IconMapMarker.d.ts +11 -0
- package/dist/icons/components/IconMegaphone.d.ts +11 -0
- package/dist/icons/components/IconMinus.d.ts +11 -0
- package/dist/icons/components/IconMinusCircle.d.ts +11 -0
- package/dist/icons/components/IconMoneyBill.d.ts +11 -0
- package/dist/icons/components/IconNotesMedical.d.ts +11 -0
- package/dist/icons/components/IconOvertime.d.ts +11 -0
- package/dist/icons/components/IconPaperPlane.d.ts +11 -0
- package/dist/icons/components/IconPaperPlaneClock.d.ts +11 -0
- package/dist/icons/components/IconPaperclip.d.ts +11 -0
- package/dist/icons/components/IconPencil.d.ts +11 -0
- package/dist/icons/components/IconPercentage.d.ts +11 -0
- package/dist/icons/components/IconPhone.d.ts +11 -0
- package/dist/icons/components/IconPlug.d.ts +11 -0
- package/dist/icons/components/IconPlus.d.ts +11 -0
- package/dist/icons/components/IconPrint.d.ts +11 -0
- package/dist/icons/components/IconQuestionCircle.d.ts +11 -0
- package/dist/icons/components/IconRepeat.d.ts +11 -0
- package/dist/icons/components/IconSearch.d.ts +11 -0
- package/dist/icons/components/IconSignOut.d.ts +11 -0
- package/dist/icons/components/IconSitemap.d.ts +11 -0
- package/dist/icons/components/IconSlidersH.d.ts +11 -0
- package/dist/icons/components/IconSort.d.ts +11 -0
- package/dist/icons/components/IconStar.d.ts +11 -0
- package/dist/icons/components/IconStickyNoteLines.d.ts +11 -0
- package/dist/icons/components/IconStopwatch.d.ts +11 -0
- package/dist/icons/components/IconStrikethrough.d.ts +11 -0
- package/dist/icons/components/IconSync.d.ts +11 -0
- package/dist/icons/components/IconSyncExclaimation.d.ts +11 -0
- package/dist/icons/components/IconTachometer.d.ts +11 -0
- package/dist/icons/components/IconTimes.d.ts +11 -0
- package/dist/icons/components/IconTimesOctagon.d.ts +11 -0
- package/dist/icons/components/IconTrash.d.ts +11 -0
- package/dist/icons/components/IconUnderline.d.ts +11 -0
- package/dist/icons/components/IconUndo.d.ts +11 -0
- package/dist/icons/components/IconUserComputer.d.ts +11 -0
- package/dist/icons/components/IconUserLight.d.ts +11 -0
- package/dist/icons/components/IconUserPlus.d.ts +11 -0
- package/dist/icons/components/IconUserSlash.d.ts +11 -0
- package/dist/icons/components/IconUserSolid.d.ts +11 -0
- package/dist/icons/components/IconUserTag.d.ts +11 -0
- package/dist/icons/components/IconUserTie.d.ts +11 -0
- package/dist/icons/components/IconUsers.d.ts +11 -0
- package/dist/icons/components/IconVideo.d.ts +11 -0
- package/dist/icons/components/IconVolume.d.ts +11 -0
- package/dist/icons/components/IconVolumeMute.d.ts +11 -0
- package/dist/icons/components/IconWrench.d.ts +11 -0
- package/dist/icons/components/index.d.ts +118 -0
- package/dist/icons/icon-typescript-template.d.ts +9 -0
- package/dist/index.css +1258 -889
- package/dist/index.js +45 -26
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +45 -26
- package/dist/index.modern.js.map +1 -1
- package/package.json +6 -6
- package/dist/actions/Button/Button.js.flow +0 -44
- package/dist/actions/Button/index.js.flow +0 -8
- package/dist/actions/PaginationControls/PaginationControls.js.flow +0 -16
- package/dist/actions/PaginationControls/index.js.flow +0 -8
- package/dist/actions/Toggle/Toggle.js.flow +0 -21
- package/dist/actions/Toggle/index.js.flow +0 -8
- package/dist/actions/index.js.flow +0 -11
- package/dist/core/DataTable/DataTable.js.flow +0 -59
- package/dist/core/DataTable/DataTableContext.js.flow +0 -15
- package/dist/core/DataTable/index.js.flow +0 -8
- package/dist/core/DataTable/types.js.flow +0 -32
- package/dist/core/DataTableCell/DataTableCell.js.flow +0 -16
- package/dist/core/DataTableCell/index.js.flow +0 -8
- package/dist/core/DataTableEditableCell/DataTableEditableCell.js.flow +0 -26
- package/dist/core/DataTableEditableCell/index.js.flow +0 -8
- package/dist/core/DataTableRow/DataTableRow.js.flow +0 -17
- package/dist/core/DataTableRow/index.js.flow +0 -8
- package/dist/core/Flex/Flex.js.flow +0 -29
- package/dist/core/Flex/index.js.flow +0 -8
- package/dist/core/Flex/types.js.flow +0 -27
- package/dist/core/Inline/Inline.js.flow +0 -41
- package/dist/core/Inline/index.js.flow +0 -8
- package/dist/core/ResourceTable/ResourceTable.js.flow +0 -55
- package/dist/core/ResourceTable/ResourceTableContext.js.flow +0 -15
- package/dist/core/ResourceTable/index.js.flow +0 -8
- package/dist/core/ResourceTable/types.js.flow +0 -32
- package/dist/core/ResourceTableRow/ResourceTableRow.js.flow +0 -17
- package/dist/core/ResourceTableRow/index.js.flow +0 -8
- package/dist/core/Stack/Stack.js.flow +0 -35
- package/dist/core/Stack/index.js.flow +0 -8
- package/dist/core/index.js.flow +0 -39
- package/dist/feedback/Spinner/Spinner.js.flow +0 -15
- package/dist/feedback/Spinner/index.js.flow +0 -8
- package/dist/feedback/index.js.flow +0 -9
- package/dist/forms/AffixContainer/AffixContainer.js.flow +0 -15
- package/dist/forms/AffixContainer/index.js.flow +0 -8
- package/dist/forms/Caption/Caption.js.flow +0 -14
- package/dist/forms/Caption/index.js.flow +0 -8
- package/dist/forms/CheckboxField/CheckboxField.js.flow +0 -25
- package/dist/forms/CheckboxField/index.js.flow +0 -8
- package/dist/forms/DateField/DateField.js.flow +0 -35
- package/dist/forms/DateField/index.js.flow +0 -8
- package/dist/forms/DatePickerCalendar/DatePickerCalendar.js.flow +0 -18
- package/dist/forms/DatePickerCalendar/index.js.flow +0 -8
- package/dist/forms/DatePickerField/DatePickerField.d.ts +0 -23
- package/dist/forms/DatePickerField/DatePickerField.js.flow +0 -35
- package/dist/forms/DatePickerField/index.d.ts +0 -1
- package/dist/forms/DatePickerField/index.js.flow +0 -8
- package/dist/forms/DateRangeField/DateRangeField.js.flow +0 -37
- package/dist/forms/DateRangeField/index.js.flow +0 -8
- package/dist/forms/ErrorMessage/ErrorMessage.js.flow +0 -14
- package/dist/forms/ErrorMessage/index.js.flow +0 -8
- package/dist/forms/Field/Field.js.flow +0 -17
- package/dist/forms/Field/index.js.flow +0 -8
- package/dist/forms/Form/Form.js.flow +0 -18
- package/dist/forms/Form/FormContext.js.flow +0 -17
- package/dist/forms/Form/index.js.flow +0 -8
- package/dist/forms/Form/types.js.flow +0 -21
- package/dist/forms/FormRow/FormRow.js.flow +0 -31
- package/dist/forms/FormRow/index.js.flow +0 -15
- package/dist/forms/Label/Label.js.flow +0 -14
- package/dist/forms/Label/index.js.flow +0 -8
- package/dist/forms/MultiSelectField/MultiSelectField.js.flow +0 -33
- package/dist/forms/MultiSelectField/index.js.flow +0 -8
- package/dist/forms/PasswordCriteria/PasswordCriteria.js.flow +0 -14
- package/dist/forms/PasswordCriteria/index.js.flow +0 -8
- package/dist/forms/PasswordField/PasswordField.js.flow +0 -28
- package/dist/forms/PasswordField/index.js.flow +0 -8
- package/dist/forms/PasswordField/types.js.flow +0 -12
- package/dist/forms/PillSelectField/PillSelectField.js.flow +0 -26
- package/dist/forms/PillSelectField/index.js.flow +0 -8
- package/dist/forms/RadioGroupField/RadioGroupField.js.flow +0 -20
- package/dist/forms/RadioGroupField/index.js.flow +0 -8
- package/dist/forms/RadioGroupOption/RadioGroupOption.js.flow +0 -16
- package/dist/forms/RadioGroupOption/index.js.flow +0 -8
- package/dist/forms/SelectField/SelectField.js.flow +0 -40
- package/dist/forms/SelectField/index.js.flow +0 -8
- package/dist/forms/SelectField/types.js.flow +0 -26
- package/dist/forms/TextAreaField/TextAreaField.js.flow +0 -35
- package/dist/forms/TextAreaField/index.js.flow +0 -8
- package/dist/forms/TextField/TextField.js.flow +0 -38
- package/dist/forms/TextField/index.js.flow +0 -8
- package/dist/forms/WeekField/WeekField.js.flow +0 -35
- package/dist/forms/WeekField/index.js.flow +0 -8
- package/dist/forms/WeekPickerField/WeekPickerField.d.ts +0 -25
- package/dist/forms/WeekPickerField/WeekPickerField.js.flow +0 -35
- package/dist/forms/WeekPickerField/index.d.ts +0 -1
- package/dist/forms/WeekPickerField/index.js.flow +0 -8
- package/dist/forms/index.js.flow +0 -56
- package/dist/foundation/colors.js.flow +0 -116
- package/dist/icons/IconArrowDown.js.flow +0 -19
- package/dist/icons/IconArrowLeft.js.flow +0 -17
- package/dist/icons/IconArrowRight.js.flow +0 -17
- package/dist/icons/IconArrowUp.js.flow +0 -17
- package/dist/icons/IconCalendar.js.flow +0 -17
- package/dist/icons/IconCheck.js.flow +0 -17
- package/dist/icons/IconChevronDown.js.flow +0 -18
- package/dist/icons/IconChevronUp.js.flow +0 -16
- package/dist/icons/IconComment.js.flow +0 -16
- package/dist/icons/IconDelete.js.flow +0 -17
- package/dist/icons/IconEdit.js.flow +0 -17
- package/dist/icons/IconExclaim.flow +0 -17
- package/dist/icons/IconEye.js.flow +0 -17
- package/dist/icons/IconEyeSlash.js.flow +0 -17
- package/dist/icons/IconLocation.js.flow +0 -16
- package/dist/icons/IconMinusCircle.js.flow +0 -16
- package/dist/icons/IconMore.js.flow +0 -17
- package/dist/icons/IconRemove.js.flow +0 -17
- package/dist/icons/IconUser.flow +0 -17
- package/dist/icons/IconUser.js.flow +0 -17
- package/dist/icons/IconUserPlus.js.flow +0 -17
- package/dist/icons/index.js.flow +0 -50
- package/dist/icons/types.js.flow +0 -8
- package/dist/index.js.flow +0 -14
- package/dist/media/Avatar/Avatar.js.flow +0 -18
- package/dist/media/Avatar/index.js.flow +0 -8
- package/dist/media/Badge/Badge.js.flow +0 -18
- package/dist/media/Badge/index.js.flow +0 -8
- package/dist/media/index.js.flow +0 -10
- package/dist/nophoto~DrLDqLZE.png +0 -0
- package/dist/overlay/Modal/Modal.js.flow +0 -23
- package/dist/overlay/Modal/ModalBody/ModalBody.js.flow +0 -13
- package/dist/overlay/Modal/ModalBody/index.js.flow +0 -8
- package/dist/overlay/Modal/ModalFooter/ModalFooter.js.flow +0 -18
- package/dist/overlay/Modal/ModalFooter/index.js.flow +0 -8
- package/dist/overlay/Modal/index.js.flow +0 -8
- package/dist/overlay/Tooltip/Tooltip.js.flow +0 -21
- package/dist/overlay/Tooltip/index.js.flow +0 -8
- package/dist/overlay/index.js.flow +0 -12
- package/dist/profile/LetterProfile/LetterProfile.d.ts +0 -9
- package/dist/profile/LetterProfile/index.d.ts +0 -1
- package/dist/profile/index.d.ts +0 -2
package/dist/core/index.js.flow
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for index
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import ResourceTable from './ResourceTable';
|
|
9
|
-
import ResourceTableRow from './ResourceTableRow';
|
|
10
|
-
import Inline from './Inline';
|
|
11
|
-
import Stack from './Stack';
|
|
12
|
-
import DataTable from './DataTable';
|
|
13
|
-
import DataTableRow from './DataTableRow';
|
|
14
|
-
import DataTableCell from './DataTableCell';
|
|
15
|
-
import DataTableEditableCell from './DataTableEditableCell';
|
|
16
|
-
|
|
17
|
-
declare export {
|
|
18
|
-
ResourceTable,
|
|
19
|
-
ResourceTableRow,
|
|
20
|
-
Inline,
|
|
21
|
-
Stack,
|
|
22
|
-
DataTable,
|
|
23
|
-
DataTableRow,
|
|
24
|
-
DataTableCell,
|
|
25
|
-
DataTableEditableCell
|
|
26
|
-
};
|
|
27
|
-
export type { AlignItems, FlexWrap, JustifyContent } from './Flex/types';
|
|
28
|
-
export type {
|
|
29
|
-
CustomComponent,
|
|
30
|
-
Column,
|
|
31
|
-
SortDirection,
|
|
32
|
-
Sort,
|
|
33
|
-
Action
|
|
34
|
-
} from './ResourceTable/types';
|
|
35
|
-
|
|
36
|
-
export type {
|
|
37
|
-
Column as DataTableColumn,
|
|
38
|
-
CustomComponent as DataTableCustomComponent
|
|
39
|
-
} from './DataTable/types';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for Spinner
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
size?: number,
|
|
11
|
-
theme?: 'mint' | 'disabled' | 'contrast',
|
|
12
|
-
block?: boolean,
|
|
13
|
-
};
|
|
14
|
-
declare var Spinner: (props: Props) => React$Node;
|
|
15
|
-
declare export default typeof Spinner;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for AffixContainer
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
prefix?: React$Node,
|
|
11
|
-
suffix?: React$Node,
|
|
12
|
-
children: React$Node,
|
|
13
|
-
};
|
|
14
|
-
declare var AffixContainer: (props: Props) => React$Node;
|
|
15
|
-
declare export default typeof AffixContainer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for Caption
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
fieldId?: string,
|
|
11
|
-
children: React$Node,
|
|
12
|
-
};
|
|
13
|
-
declare var Caption: (props: Props) => React$Node;
|
|
14
|
-
declare export default typeof Caption;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for CheckboxField
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
name: string,
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* If not provided it will generate a random id so the label links properly with the text input
|
|
14
|
-
*/
|
|
15
|
-
id?: string,
|
|
16
|
-
checked?: boolean,
|
|
17
|
-
onChange?: (e: boolean) => void,
|
|
18
|
-
onBlur?: (e: boolean) => void,
|
|
19
|
-
label?: React$Node,
|
|
20
|
-
caption?: React$Node,
|
|
21
|
-
error?: string,
|
|
22
|
-
disabled?: boolean,
|
|
23
|
-
};
|
|
24
|
-
declare var CheckboxField: (props: Props) => React$Node;
|
|
25
|
-
declare export default typeof CheckboxField;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for DatePickerField
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
name: string,
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* If not provided it will generate a random id so the label links properly with the text input
|
|
14
|
-
*/
|
|
15
|
-
id?: string,
|
|
16
|
-
value?: Date,
|
|
17
|
-
disabledDays?: (day: Date) => boolean,
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format
|
|
21
|
-
*/
|
|
22
|
-
format?: string,
|
|
23
|
-
initialMonth?: Date,
|
|
24
|
-
onChange?: (e: Date) => void,
|
|
25
|
-
onBlur?: () => void,
|
|
26
|
-
label?: React$Node,
|
|
27
|
-
caption?: React$Node,
|
|
28
|
-
error?: string,
|
|
29
|
-
placeholder?: string,
|
|
30
|
-
disabled?: boolean,
|
|
31
|
-
defaultValue?: Date,
|
|
32
|
-
readOnly?: boolean,
|
|
33
|
-
};
|
|
34
|
-
declare var DateField: (props: Props) => React$Node;
|
|
35
|
-
declare export default typeof DateField;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for DatePickerCalendar
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
classNames: Object,
|
|
11
|
-
inputNode: HTMLElement,
|
|
12
|
-
onBlur: () => void,
|
|
13
|
-
onFocus: () => void,
|
|
14
|
-
tabIndex: number,
|
|
15
|
-
children: React$Node,
|
|
16
|
-
};
|
|
17
|
-
declare var DatePickerCalendar: (props: Props) => React$Node;
|
|
18
|
-
declare export default typeof DatePickerCalendar;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type Props = {
|
|
3
|
-
name: string;
|
|
4
|
-
/** If not provided it will generate a random id so the label links properly with the text input */
|
|
5
|
-
id?: string;
|
|
6
|
-
value?: Date;
|
|
7
|
-
disabledDays?: (day: Date) => boolean;
|
|
8
|
-
/** Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format */
|
|
9
|
-
format?: string;
|
|
10
|
-
initialMonth?: Date;
|
|
11
|
-
onChange?: (e: Date) => void;
|
|
12
|
-
onBlur?: () => void;
|
|
13
|
-
label?: React.ReactNode;
|
|
14
|
-
caption?: React.ReactNode;
|
|
15
|
-
error?: string;
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
defaultValue?: Date;
|
|
19
|
-
readOnly?: boolean;
|
|
20
|
-
};
|
|
21
|
-
/** DatePickerField form element. */
|
|
22
|
-
declare const DatePickerField: React.FC<Props>;
|
|
23
|
-
export default DatePickerField;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for DatePickerField
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
name: string,
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* If not provided it will generate a random id so the label links properly with the text input
|
|
14
|
-
*/
|
|
15
|
-
id?: string,
|
|
16
|
-
value?: Date,
|
|
17
|
-
disabledDays?: (day: Date) => boolean,
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format
|
|
21
|
-
*/
|
|
22
|
-
format?: string,
|
|
23
|
-
initialMonth?: Date,
|
|
24
|
-
onChange?: (e: Date) => void,
|
|
25
|
-
onBlur?: () => void,
|
|
26
|
-
label?: React$Node,
|
|
27
|
-
caption?: React$Node,
|
|
28
|
-
error?: string,
|
|
29
|
-
placeholder?: string,
|
|
30
|
-
disabled?: boolean,
|
|
31
|
-
defaultValue?: Date,
|
|
32
|
-
readOnly?: boolean,
|
|
33
|
-
};
|
|
34
|
-
declare var DatePickerField: (props: Props) => React$Node;
|
|
35
|
-
declare export default typeof DatePickerField;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './DatePickerField';
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for DatePickerField
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
type DateRange = { start?: Date, end?: Date };
|
|
9
|
-
type WeekStart = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
10
|
-
|
|
11
|
-
import * as React from 'react';
|
|
12
|
-
declare type Props = {
|
|
13
|
-
name: string,
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* If not provided it will generate a random id so the label links properly with the text input
|
|
17
|
-
*/
|
|
18
|
-
id?: string,
|
|
19
|
-
value?: DateRange,
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format
|
|
23
|
-
*/
|
|
24
|
-
format?: string,
|
|
25
|
-
onChange?: (e: DateRange) => void,
|
|
26
|
-
onBlur?: () => void,
|
|
27
|
-
label?: React$Node,
|
|
28
|
-
caption?: React$Node,
|
|
29
|
-
error?: string,
|
|
30
|
-
placeholder?: string,
|
|
31
|
-
disabled?: boolean,
|
|
32
|
-
defaultValue?: Date,
|
|
33
|
-
readOnly?: boolean,
|
|
34
|
-
weekStart?: WeekStart,
|
|
35
|
-
};
|
|
36
|
-
declare var DateRangeField: (props: Props) => React$Node;
|
|
37
|
-
declare export default typeof DateRangeField;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for ErrorMessage
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
fieldId?: string,
|
|
11
|
-
children: React$Node,
|
|
12
|
-
};
|
|
13
|
-
declare var ErrorMessage: (props: Props) => React$Node;
|
|
14
|
-
declare export default typeof ErrorMessage;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for Field
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
id: string,
|
|
11
|
-
label?: React$Node,
|
|
12
|
-
caption?: React$Node,
|
|
13
|
-
error?: React$Node,
|
|
14
|
-
children: React$Node,
|
|
15
|
-
};
|
|
16
|
-
declare var Field: (props: Props) => React$Node;
|
|
17
|
-
declare export default typeof Field;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for Form
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
import { type FormikType } from './types';
|
|
10
|
-
declare type Props = {
|
|
11
|
-
children: React$Node,
|
|
12
|
-
onSubmit?: (e: Object) => void,
|
|
13
|
-
wide?: boolean,
|
|
14
|
-
formik?: FormikType,
|
|
15
|
-
stackContent?: boolean
|
|
16
|
-
};
|
|
17
|
-
declare var Form: (props: Props) => React$Node;
|
|
18
|
-
declare export default typeof Form;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for FormContext
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
import type { SelectOption } from '../SelectField/types';
|
|
10
|
-
import { type FormikType } from './types';
|
|
11
|
-
|
|
12
|
-
export type FormContextType = {
|
|
13
|
-
formik?: FormikType,
|
|
14
|
-
};
|
|
15
|
-
declare var Context: React$Context<FormContextType>;
|
|
16
|
-
declare export var useFormContext: () => FormContextType;
|
|
17
|
-
declare export default typeof Context;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for types
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import type { SelectOption } from '../SelectField/types';
|
|
9
|
-
export type FormikType = {
|
|
10
|
-
+handleSubmit: (Object) => void,
|
|
11
|
-
+setFieldValue: (
|
|
12
|
-
string,
|
|
13
|
-
string | boolean | SelectOption<any> | SelectOption<any>[] | Date | null
|
|
14
|
-
) => void,
|
|
15
|
-
+setFieldTouched: (string) => void,
|
|
16
|
-
+values: { [string]: any },
|
|
17
|
-
+touched: { [string]: ?boolean },
|
|
18
|
-
+errors: { [string]: ?string },
|
|
19
|
-
+isValid: boolean,
|
|
20
|
-
+dirty: boolean,
|
|
21
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for FormRow
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Size25Percent = '25%';
|
|
10
|
-
declare export var SIZE_25_PERCENT: Size25Percent;
|
|
11
|
-
declare type Size33Percent = '33.333%';
|
|
12
|
-
declare export var SIZE_33_PERCENT: Size33Percent;
|
|
13
|
-
declare type Size50Percent = '50%';
|
|
14
|
-
declare export var SIZE_50_PERCENT: Size50Percent;
|
|
15
|
-
declare type Size66Percent = '66.666%';
|
|
16
|
-
declare export var SIZE_66_PERCENT: Size66Percent;
|
|
17
|
-
declare type Size75Percent = '75%';
|
|
18
|
-
declare export var SIZE_75_PERCENT: Size75Percent;
|
|
19
|
-
declare type Size =
|
|
20
|
-
| Size25Percent
|
|
21
|
-
| Size33Percent
|
|
22
|
-
| Size50Percent
|
|
23
|
-
| Size66Percent
|
|
24
|
-
| Size75Percent;
|
|
25
|
-
declare type Props = {
|
|
26
|
-
children: React$Node,
|
|
27
|
-
columns?: number,
|
|
28
|
-
sizes?: Size[],
|
|
29
|
-
};
|
|
30
|
-
declare var FormRow: (props: Props) => React$Node;
|
|
31
|
-
declare export default typeof FormRow;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for index
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
declare export {
|
|
9
|
-
default,
|
|
10
|
-
SIZE_25_PERCENT,
|
|
11
|
-
SIZE_33_PERCENT,
|
|
12
|
-
SIZE_50_PERCENT,
|
|
13
|
-
SIZE_66_PERCENT,
|
|
14
|
-
SIZE_75_PERCENT,
|
|
15
|
-
} from "./FormRow";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for Label
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
htmlFor: string,
|
|
11
|
-
children: React$Node,
|
|
12
|
-
};
|
|
13
|
-
declare var Label: (props: Props) => React$Node;
|
|
14
|
-
declare export default typeof Label;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for SelectField
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
import type {
|
|
10
|
-
SelectOption,
|
|
11
|
-
SelectOptions,
|
|
12
|
-
CustomOptionProps,
|
|
13
|
-
} from '../SelectField/types';
|
|
14
|
-
declare type Props<T> = {
|
|
15
|
-
name: string,
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* If not provided it will generate a random id so the label links properly with the text input
|
|
19
|
-
*/
|
|
20
|
-
id?: string,
|
|
21
|
-
value?: SelectOption<T>[],
|
|
22
|
-
options: SelectOptions<T>,
|
|
23
|
-
onChange?: (e: SelectOption<T>[]) => void,
|
|
24
|
-
onBlur?: (e: SelectOption<T>[]) => void,
|
|
25
|
-
CustomOption?: React$ComponentType<CustomOptionProps<T>>,
|
|
26
|
-
label?: React$Node,
|
|
27
|
-
caption?: React$Node,
|
|
28
|
-
error?: string,
|
|
29
|
-
placeholder?: string,
|
|
30
|
-
disabled?: boolean,
|
|
31
|
-
};
|
|
32
|
-
declare var MultiSelectField: <T>(props: Props<T>) => React$Node;
|
|
33
|
-
declare export default typeof MultiSelectField;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for PasswordCriteria
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
declare type Props = {
|
|
10
|
-
met: boolean,
|
|
11
|
-
children: React$Node,
|
|
12
|
-
};
|
|
13
|
-
declare var PasswordCriteria: (props: Props) => React$Node;
|
|
14
|
-
declare export default typeof PasswordCriteria;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for PasswordField
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.14.1
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
import type { PasswordCriteria } from './types';
|
|
10
|
-
declare type Props = {
|
|
11
|
-
name: string,
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* If not provided it will generate a random id so the label links properly with the text input
|
|
15
|
-
*/
|
|
16
|
-
id?: string,
|
|
17
|
-
value?: string,
|
|
18
|
-
onChange?: (e: string) => void,
|
|
19
|
-
onBlur?: (e: string) => void,
|
|
20
|
-
label?: React$Node,
|
|
21
|
-
error?: string,
|
|
22
|
-
placeholder?: string,
|
|
23
|
-
disabled?: boolean,
|
|
24
|
-
defaultValue?: string,
|
|
25
|
-
criterias?: PasswordCriteria[],
|
|
26
|
-
};
|
|
27
|
-
declare var PasswordField: (props: Props) => React$Node;
|
|
28
|
-
declare export default typeof PasswordField;
|