@7shifts/sous-chef 1.5.0 → 1.5.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/CHANGELOG.md +28 -0
- package/dist/core/ResourceTable/types.js.flow +4 -3
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js.flow +28 -18
- package/dist/forms/DatePickerField/DatePickerField.d.ts +23 -0
- package/dist/forms/DatePickerField/DatePickerField.js.flow +35 -0
- package/dist/forms/DatePickerField/index.d.ts +1 -0
- package/dist/forms/DatePickerField/index.js.flow +8 -0
- package/dist/forms/MultiSelectField/MultiSelectField.d.ts +2 -1
- package/dist/forms/WeekPickerField/WeekPickerField.d.ts +25 -0
- package/dist/forms/WeekPickerField/WeekPickerField.js.flow +35 -0
- package/dist/forms/WeekPickerField/index.d.ts +1 -0
- package/dist/forms/WeekPickerField/index.js.flow +8 -0
- package/dist/icons/{components/IconCheck.d.ts → IconCheck.d.ts} +4 -3
- package/dist/icons/IconCheck.js.flow +17 -0
- package/dist/icons/{components/IconUser.js.flow → IconUser.flow} +3 -2
- package/dist/icons/index.d.ts +2 -1
- package/dist/icons/index.js.flow +2 -0
- package/dist/index.css +3 -3
- package/dist/index.js +27 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +27 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/nophoto~DrLDqLZE.png +0 -0
- package/dist/profile/LetterProfile/LetterProfile.d.ts +9 -0
- package/dist/profile/LetterProfile/index.d.ts +1 -0
- package/dist/profile/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/.DS_Store +0 -0
- package/dist/icons/.DS_Store +0 -0
- package/dist/icons/components/.DS_Store +0 -0
- package/dist/icons/components/IconAlert.js.flow +0 -16
- package/dist/icons/components/IconAnalytics.d.ts +0 -8
- package/dist/icons/components/IconAnalytics.js.flow +0 -16
- package/dist/icons/components/IconArrowDown.d.ts +0 -8
- package/dist/icons/components/IconArrowDown.js.flow +0 -16
- package/dist/icons/components/IconArrowLeft.d.ts +0 -8
- package/dist/icons/components/IconArrowLeft.js.flow +0 -16
- package/dist/icons/components/IconArrowRight.d.ts +0 -8
- package/dist/icons/components/IconArrowRight.js.flow +0 -16
- package/dist/icons/components/IconArrowToTop.d.ts +0 -8
- package/dist/icons/components/IconArrowUp.d.ts +0 -8
- package/dist/icons/components/IconArrowUp.js.flow +0 -16
- package/dist/icons/components/IconAttachment.js.flow +0 -16
- package/dist/icons/components/IconAvailability.js.flow +0 -16
- package/dist/icons/components/IconAward.d.ts +0 -8
- package/dist/icons/components/IconAward.js.flow +0 -16
- package/dist/icons/components/IconBalanceScale.d.ts +0 -8
- package/dist/icons/components/IconBalanceScaleLeft.d.ts +0 -8
- package/dist/icons/components/IconBan.d.ts +0 -8
- package/dist/icons/components/IconBan.js.flow +0 -16
- package/dist/icons/components/IconBarsH.d.ts +0 -8
- package/dist/icons/components/IconBarsV.d.ts +0 -8
- package/dist/icons/components/IconBell.d.ts +0 -8
- package/dist/icons/components/IconBold.d.ts +0 -8
- package/dist/icons/components/IconBolt.d.ts +0 -8
- package/dist/icons/components/IconBook.d.ts +0 -8
- package/dist/icons/components/IconBook.js.flow +0 -16
- package/dist/icons/components/IconBookDemo.js.flow +0 -16
- package/dist/icons/components/IconBriefcase.d.ts +0 -8
- package/dist/icons/components/IconBriefcase.js.flow +0 -16
- package/dist/icons/components/IconBullseyeArrow.d.ts +0 -8
- package/dist/icons/components/IconCalculator.d.ts +0 -8
- package/dist/icons/components/IconCalculator.js.flow +0 -16
- package/dist/icons/components/IconCalendar.d.ts +0 -8
- package/dist/icons/components/IconCalendar.js.flow +0 -16
- package/dist/icons/components/IconCalendarAlt.d.ts +0 -8
- package/dist/icons/components/IconCalendarCheck.d.ts +0 -8
- package/dist/icons/components/IconCalendarDay.d.ts +0 -8
- package/dist/icons/components/IconCalendarDay.js.flow +0 -16
- package/dist/icons/components/IconCalendarExclamation.d.ts +0 -8
- package/dist/icons/components/IconCalendarExclamation.js.flow +0 -16
- package/dist/icons/components/IconCalendarRange.js.flow +0 -16
- package/dist/icons/components/IconCalendarTomorrow.d.ts +0 -8
- package/dist/icons/components/IconCalendarTomorrow.js.flow +0 -16
- package/dist/icons/components/IconCamera.d.ts +0 -8
- package/dist/icons/components/IconCamera.js.flow +0 -16
- package/dist/icons/components/IconCameraSlash.d.ts +0 -8
- package/dist/icons/components/IconCameraSlash.js.flow +0 -16
- package/dist/icons/components/IconCashRegister.d.ts +0 -8
- package/dist/icons/components/IconChartBar.d.ts +0 -8
- package/dist/icons/components/IconChartBar.js.flow +0 -16
- package/dist/icons/components/IconCheck.js.flow +0 -16
- package/dist/icons/components/IconChevronDown.d.ts +0 -8
- package/dist/icons/components/IconChevronDown.js.flow +0 -15
- package/dist/icons/components/IconChevronLeft.d.ts +0 -8
- package/dist/icons/components/IconChevronLeft.js.flow +0 -15
- package/dist/icons/components/IconChevronRight.d.ts +0 -8
- package/dist/icons/components/IconChevronRight.js.flow +0 -15
- package/dist/icons/components/IconChevronUp.d.ts +0 -8
- package/dist/icons/components/IconChevronUp.js.flow +0 -15
- package/dist/icons/components/IconClipboard.js.flow +0 -15
- package/dist/icons/components/IconClipboardList.d.ts +0 -8
- package/dist/icons/components/IconClock.d.ts +0 -8
- package/dist/icons/components/IconClock.js.flow +0 -15
- package/dist/icons/components/IconClose.js.flow +0 -15
- package/dist/icons/components/IconCog.d.ts +0 -8
- package/dist/icons/components/IconCog.js.flow +0 -15
- package/dist/icons/components/IconComment.d.ts +0 -8
- package/dist/icons/components/IconComment.js.flow +0 -15
- package/dist/icons/components/IconCommentLines.d.ts +0 -8
- package/dist/icons/components/IconCommentMade.js.flow +0 -15
- package/dist/icons/components/IconCopy.d.ts +0 -8
- package/dist/icons/components/IconCreditCard.d.ts +0 -8
- package/dist/icons/components/IconCreditCardPlus.d.ts +0 -8
- package/dist/icons/components/IconDashboard.js.flow +0 -15
- package/dist/icons/components/IconDelete.js.flow +0 -16
- package/dist/icons/components/IconDepartment.js.flow +0 -16
- package/dist/icons/components/IconDownload.d.ts +0 -8
- package/dist/icons/components/IconDownload.js.flow +0 -16
- package/dist/icons/components/IconDragHandler.js.flow +0 -16
- package/dist/icons/components/IconEdit.d.ts +0 -8
- package/dist/icons/components/IconEllipsisV.d.ts +0 -8
- package/dist/icons/components/IconEngage.js.flow +0 -16
- package/dist/icons/components/IconEnterprise.js.flow +0 -16
- package/dist/icons/components/IconEnvelope.d.ts +0 -8
- package/dist/icons/components/IconExclaim.flow +0 -16
- package/dist/icons/components/IconExclaimation.d.ts +0 -8
- package/dist/icons/components/IconExclaimationTriangle.d.ts +0 -8
- package/dist/icons/components/IconExpand.d.ts +0 -8
- package/dist/icons/components/IconExternalLink.d.ts +0 -8
- package/dist/icons/components/IconExternalLink.js.flow +0 -16
- package/dist/icons/components/IconEye.d.ts +0 -8
- package/dist/icons/components/IconEye.js.flow +0 -16
- package/dist/icons/components/IconEyeSlash.d.ts +0 -8
- package/dist/icons/components/IconEyeSlash.js.flow +0 -16
- package/dist/icons/components/IconFile.d.ts +0 -8
- package/dist/icons/components/IconFilePdf.d.ts +0 -8
- package/dist/icons/components/IconFlag.d.ts +0 -8
- package/dist/icons/components/IconFlag.js.flow +0 -16
- package/dist/icons/components/IconFourDotsCircle.d.ts +0 -8
- package/dist/icons/components/IconFourSquares.d.ts +0 -8
- package/dist/icons/components/IconGift.d.ts +0 -8
- package/dist/icons/components/IconGift.js.flow +0 -16
- package/dist/icons/components/IconGrinBeam.d.ts +0 -8
- package/dist/icons/components/IconGripVertical.d.ts +0 -8
- package/dist/icons/components/IconHandshake.d.ts +0 -8
- package/dist/icons/components/IconHiring.js.flow +0 -16
- package/dist/icons/components/IconImage.d.ts +0 -8
- package/dist/icons/components/IconInfoCircle.d.ts +0 -8
- package/dist/icons/components/IconInformation.js.flow +0 -16
- package/dist/icons/components/IconIslandTropical.d.ts +0 -8
- package/dist/icons/components/IconItalic.d.ts +0 -8
- package/dist/icons/components/IconKebab.js.flow +0 -16
- package/dist/icons/components/IconLaptopSearch.d.ts +0 -8
- package/dist/icons/components/IconLayout.js.flow +0 -16
- package/dist/icons/components/IconLink.d.ts +0 -8
- package/dist/icons/components/IconLink.js.flow +0 -16
- package/dist/icons/components/IconList.d.ts +0 -8
- package/dist/icons/components/IconListOI.d.ts +0 -8
- package/dist/icons/components/IconLocation.js.flow +0 -15
- package/dist/icons/components/IconLock.d.ts +0 -8
- package/dist/icons/components/IconMagicSolid.d.ts +0 -8
- package/dist/icons/components/IconMagicwand.js.flow +0 -15
- package/dist/icons/components/IconMail.js.flow +0 -15
- package/dist/icons/components/IconMapMarker.d.ts +0 -8
- package/dist/icons/components/IconMegaphone.d.ts +0 -8
- package/dist/icons/components/IconMegaphone.js.flow +0 -15
- package/dist/icons/components/IconMinus.d.ts +0 -8
- package/dist/icons/components/IconMinusCircle.d.ts +0 -8
- package/dist/icons/components/IconMoney.js.flow +0 -15
- package/dist/icons/components/IconMoneyBill.d.ts +0 -8
- package/dist/icons/components/IconMore.js.flow +0 -16
- package/dist/icons/components/IconNonUser.js.flow +0 -16
- package/dist/icons/components/IconNote.js.flow +0 -16
- package/dist/icons/components/IconNotesMedical.d.ts +0 -8
- package/dist/icons/components/IconOvertime.d.ts +0 -8
- package/dist/icons/components/IconOvertime.js.flow +0 -16
- package/dist/icons/components/IconPaperPlane.d.ts +0 -8
- package/dist/icons/components/IconPaperPlane.js.flow +0 -16
- package/dist/icons/components/IconPaperPlaneClock.d.ts +0 -8
- package/dist/icons/components/IconPaperPlaneClock.js.flow +0 -16
- package/dist/icons/components/IconPaperclip.d.ts +0 -8
- package/dist/icons/components/IconPencil.d.ts +0 -8
- package/dist/icons/components/IconPencil.js.flow +0 -16
- package/dist/icons/components/IconPercentage.d.ts +0 -8
- package/dist/icons/components/IconPhone.d.ts +0 -8
- package/dist/icons/components/IconPhone.js.flow +0 -16
- package/dist/icons/components/IconPlug.d.ts +0 -8
- package/dist/icons/components/IconPlug.js.flow +0 -16
- package/dist/icons/components/IconPlus.d.ts +0 -8
- package/dist/icons/components/IconPlus.js.flow +0 -16
- package/dist/icons/components/IconPrint.d.ts +0 -8
- package/dist/icons/components/IconPrint.js.flow +0 -16
- package/dist/icons/components/IconQuestion.js.flow +0 -16
- package/dist/icons/components/IconQuestionCircle.d.ts +0 -8
- package/dist/icons/components/IconRecurrence.js.flow +0 -16
- package/dist/icons/components/IconRepeat.d.ts +0 -8
- package/dist/icons/components/IconResync.js.flow +0 -16
- package/dist/icons/components/IconSearch.d.ts +0 -8
- package/dist/icons/components/IconSearch.js.flow +0 -16
- package/dist/icons/components/IconShare.js.flow +0 -16
- package/dist/icons/components/IconShiftPool.js.flow +0 -16
- package/dist/icons/components/IconSignOut.d.ts +0 -8
- package/dist/icons/components/IconSignOut.js.flow +0 -16
- package/dist/icons/components/IconSitemap.d.ts +0 -8
- package/dist/icons/components/IconSlidersH.d.ts +0 -8
- package/dist/icons/components/IconSort.d.ts +0 -8
- package/dist/icons/components/IconStar.d.ts +0 -8
- package/dist/icons/components/IconStar.js.flow +0 -16
- package/dist/icons/components/IconStatus.js.flow +0 -16
- package/dist/icons/components/IconStickyNoteLines.d.ts +0 -8
- package/dist/icons/components/IconStopwatch.d.ts +0 -8
- package/dist/icons/components/IconStopwatch.js.flow +0 -16
- package/dist/icons/components/IconStrikethrough.d.ts +0 -8
- package/dist/icons/components/IconSync.d.ts +0 -8
- package/dist/icons/components/IconSync.js.flow +0 -16
- package/dist/icons/components/IconSyncExclaimation.d.ts +0 -8
- package/dist/icons/components/IconTachometer.d.ts +0 -8
- package/dist/icons/components/IconTarget.js.flow +0 -16
- package/dist/icons/components/IconTimes.d.ts +0 -8
- package/dist/icons/components/IconTimesOctagon.d.ts +0 -8
- package/dist/icons/components/IconTools.js.flow +0 -16
- package/dist/icons/components/IconTrash.d.ts +0 -8
- package/dist/icons/components/IconTrash.js.flow +0 -16
- package/dist/icons/components/IconTreePalm.js.flow +0 -16
- package/dist/icons/components/IconUnderline.d.ts +0 -8
- package/dist/icons/components/IconUndo.d.ts +0 -8
- package/dist/icons/components/IconUserComputer.d.ts +0 -8
- package/dist/icons/components/IconUserFilled.js.flow +0 -16
- package/dist/icons/components/IconUserLight.d.ts +0 -8
- package/dist/icons/components/IconUserPlus.d.ts +0 -8
- package/dist/icons/components/IconUserPlus.js.flow +0 -16
- package/dist/icons/components/IconUserSlash.d.ts +0 -8
- package/dist/icons/components/IconUserSolid.d.ts +0 -8
- package/dist/icons/components/IconUserTag.d.ts +0 -8
- package/dist/icons/components/IconUserTag.js.flow +0 -16
- package/dist/icons/components/IconUserTie.d.ts +0 -8
- package/dist/icons/components/IconUsers.d.ts +0 -8
- package/dist/icons/components/IconVideo.d.ts +0 -8
- package/dist/icons/components/IconVolume.d.ts +0 -8
- package/dist/icons/components/IconVolumeMute.d.ts +0 -8
- package/dist/icons/components/IconWarning.js.flow +0 -16
- package/dist/icons/components/IconWrench.d.ts +0 -8
- package/dist/icons/components/index.d.ts +0 -118
- package/dist/icons/components/index.js.flow +0 -94
- package/dist/icons/icon-typescript-template.d.ts +0 -12
- package/dist/index.tsx.css +0 -2345
- package/dist/index.tsx.js +0 -2514
- package/dist/index.tsx.js.map +0 -1
- package/dist/index.tsx.modern.js +0 -2395
- package/dist/index.tsx.modern.js.map +0 -1
package/dist/index.modern.js
CHANGED
|
@@ -84,6 +84,22 @@ var IconCalendar = function IconCalendar(_ref) {
|
|
|
84
84
|
})));
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
+
var IconCheck = function IconCheck(_ref) {
|
|
88
|
+
var _ref$size = _ref.size,
|
|
89
|
+
size = _ref$size === void 0 ? 'default' : _ref$size,
|
|
90
|
+
color = _ref.color;
|
|
91
|
+
return React__default.createElement("svg", {
|
|
92
|
+
viewBox: "0 0 20 20",
|
|
93
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
94
|
+
style: getIconStyles(size),
|
|
95
|
+
"data-testid": "icon-check",
|
|
96
|
+
className: styles['icon']
|
|
97
|
+
}, React__default.createElement("g", null, React__default.createElement("path", {
|
|
98
|
+
fill: color != null ? color : '',
|
|
99
|
+
d: "M7.32398 16.832C6.99989 17.1535 6.47654 17.1514 6.15507 16.8273L0.239745 10.8642C-0.0817202 10.5401 -0.0796538 10.0168 0.244429 9.69531L0.831292 9.1132C1.15538 8.79173 1.67873 8.7938 2.0002 9.11788L6.7513 13.9074L18.0092 2.73975C18.3333 2.41828 18.8567 2.42035 19.1781 2.74443L19.7602 3.33129C20.0818 3.65538 20.0796 4.17873 19.7555 4.5002L7.32398 16.832Z"
|
|
100
|
+
})));
|
|
101
|
+
};
|
|
102
|
+
|
|
87
103
|
var IconChevronDown = function IconChevronDown(_ref) {
|
|
88
104
|
var _ref$size = _ref.size,
|
|
89
105
|
size = _ref$size === void 0 ? 'small' : _ref$size,
|
|
@@ -2489,7 +2505,12 @@ var PasswordCriteria = function PasswordCriteria(_ref) {
|
|
|
2489
2505
|
children = _ref.children;
|
|
2490
2506
|
return React__default.createElement("span", {
|
|
2491
2507
|
className: classnames(styles$q['password-criteria'], (_classnames = {}, _classnames[styles$q['password-criteria--invalid']] = !met, _classnames))
|
|
2492
|
-
},
|
|
2508
|
+
}, React__default.createElement(Inline, {
|
|
2509
|
+
space: met ? 4 : 8
|
|
2510
|
+
}, met ? React__default.createElement(IconCheck, {
|
|
2511
|
+
size: "small",
|
|
2512
|
+
color: GREY200
|
|
2513
|
+
}) : "\u25CF", children));
|
|
2493
2514
|
};
|
|
2494
2515
|
|
|
2495
2516
|
var usePasswordCriteria = function usePasswordCriteria(criterias) {
|
|
@@ -2732,7 +2753,9 @@ var MultiSelectField = function MultiSelectField(_ref) {
|
|
|
2732
2753
|
caption = _ref.caption,
|
|
2733
2754
|
error = _ref.error,
|
|
2734
2755
|
placeholder = _ref.placeholder,
|
|
2735
|
-
disabled = _ref.disabled
|
|
2756
|
+
disabled = _ref.disabled,
|
|
2757
|
+
_ref$closeOnSelect = _ref.closeOnSelect,
|
|
2758
|
+
closeOnSelect = _ref$closeOnSelect === void 0 ? false : _ref$closeOnSelect;
|
|
2736
2759
|
var controllers = useMultiSelectFieldControllers({
|
|
2737
2760
|
name: name,
|
|
2738
2761
|
id: inputId,
|
|
@@ -2763,6 +2786,7 @@ var MultiSelectField = function MultiSelectField(_ref) {
|
|
|
2763
2786
|
onChange: controllers.onChange,
|
|
2764
2787
|
onBlur: controllers.onBlur,
|
|
2765
2788
|
isMulti: true,
|
|
2789
|
+
closeMenuOnSelect: closeOnSelect,
|
|
2766
2790
|
components: {
|
|
2767
2791
|
Option: UserCustomOption ? function (props) {
|
|
2768
2792
|
return React__default.createElement(CustomOption, Object.assign({
|
|
@@ -3823,5 +3847,5 @@ var Avatar = function Avatar(_ref) {
|
|
|
3823
3847
|
}, badge));
|
|
3824
3848
|
};
|
|
3825
3849
|
|
|
3826
|
-
export { Avatar, Badge$1 as Badge, Button$1 as Button, CheckboxField, DataTable, DataTableCell, DataTableEditableCell, DataTableRow, DateField, DateRangeField, Form, FormRow, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowUp, IconCalendar, IconChevronDown, IconChevronUp, IconClose, IconComment, IconDelete, IconEdit, IconExclaim, IconEye, IconEyeSlash, IconLocation, IconMinusCircle, IconMore, IconRemove, IconUser, IconUserPlus, Inline, Modal, ModalBody, ModalFooter, MultiSelectField, PaginationControls, PasswordField, PillSelectField, RadioGroupField, RadioGroupOption, ResourceTable, ResourceTableRow, SIZE_25_PERCENT, SIZE_33_PERCENT, SIZE_50_PERCENT, SIZE_66_PERCENT, SIZE_75_PERCENT, SelectField, Spinner, Stack, TextAreaField, TextField$1 as TextField, Toggle, Tooltip$1 as Tooltip, WeekField };
|
|
3850
|
+
export { Avatar, Badge$1 as Badge, Button$1 as Button, CheckboxField, DataTable, DataTableCell, DataTableEditableCell, DataTableRow, DateField, DateRangeField, Form, FormRow, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowUp, IconCalendar, IconCheck, IconChevronDown, IconChevronUp, IconClose, IconComment, IconDelete, IconEdit, IconExclaim, IconEye, IconEyeSlash, IconLocation, IconMinusCircle, IconMore, IconRemove, IconUser, IconUserPlus, Inline, Modal, ModalBody, ModalFooter, MultiSelectField, PaginationControls, PasswordField, PillSelectField, RadioGroupField, RadioGroupOption, ResourceTable, ResourceTableRow, SIZE_25_PERCENT, SIZE_33_PERCENT, SIZE_50_PERCENT, SIZE_66_PERCENT, SIZE_75_PERCENT, SelectField, Spinner, Stack, TextAreaField, TextField$1 as TextField, Toggle, Tooltip$1 as Tooltip, WeekField };
|
|
3827
3851
|
//# sourceMappingURL=index.modern.js.map
|