@7shifts/sous-chef 1.5.7 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/controls/ToolbarSelect/ToolbarSelect.d.ts +16 -0
- package/dist/controls/ToolbarSelect/ToolbarSelect.styles.d.ts +5 -0
- package/dist/forms/SelectField/SelectField.styles.d.ts +1 -2
- package/dist/forms/TextField/TextField.d.ts +2 -2
- 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/icons/iconUtils.d.ts +7 -1
- package/dist/icons/index.d.ts +1 -22
- package/dist/index.css +21 -15
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2577 -650
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2473 -643
- package/dist/index.modern.js.map +1 -1
- package/package.json +10 -6
- package/dist/icons/IconArrowDown.d.ts +0 -11
- package/dist/icons/IconArrowLeft.d.ts +0 -9
- package/dist/icons/IconArrowRight.d.ts +0 -9
- package/dist/icons/IconArrowUp.d.ts +0 -9
- package/dist/icons/IconCalendar.d.ts +0 -9
- package/dist/icons/IconCheck.d.ts +0 -9
- package/dist/icons/IconChevronDown.d.ts +0 -9
- package/dist/icons/IconChevronUp.d.ts +0 -8
- package/dist/icons/IconClose.d.ts +0 -9
- package/dist/icons/IconComment.d.ts +0 -9
- package/dist/icons/IconDelete.d.ts +0 -9
- package/dist/icons/IconEdit.d.ts +0 -9
- package/dist/icons/IconExclaim.d.ts +0 -9
- package/dist/icons/IconEye.d.ts +0 -9
- package/dist/icons/IconEyeSlash.d.ts +0 -9
- package/dist/icons/IconLocation.d.ts +0 -9
- package/dist/icons/IconMinusCircle.d.ts +0 -9
- package/dist/icons/IconMore.d.ts +0 -9
- package/dist/icons/IconRemove.d.ts +0 -8
- package/dist/icons/IconUser.d.ts +0 -8
- package/dist/icons/IconUserPlus.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@7shifts/sous-chef",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "7shifts component library",
|
|
5
5
|
"author": "7shifts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
"node": ">=10"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
|
+
"prebuild": "run-s build-icons",
|
|
15
16
|
"build": "./scripts/build.sh",
|
|
17
|
+
"build-icons": "./scripts/build-icons.sh",
|
|
16
18
|
"compile": "microbundle-crl --no-compress --format modern,cjs",
|
|
17
19
|
"start": "microbundle-crl watch --no-compress --format modern,cjs",
|
|
18
20
|
"prepare": "run-s build",
|
|
@@ -26,15 +28,17 @@
|
|
|
26
28
|
"storybook:build": "build-storybook -o ./.storybook/dist"
|
|
27
29
|
},
|
|
28
30
|
"peerDependencies": {
|
|
29
|
-
"react": "
|
|
30
|
-
"react-dom": "
|
|
31
|
+
"react": ">16.0.0",
|
|
32
|
+
"react-dom": ">16.0.0"
|
|
31
33
|
},
|
|
32
34
|
"devDependencies": {
|
|
33
|
-
"@babel/core": "^7.
|
|
35
|
+
"@babel/core": "^7.16.7",
|
|
36
|
+
"@babel/plugin-transform-regenerator": "^7.16.7",
|
|
34
37
|
"@storybook/addon-actions": "^6.4.12",
|
|
35
38
|
"@storybook/addon-essentials": "^6.4.12",
|
|
36
39
|
"@storybook/addon-links": "^6.4.12",
|
|
37
40
|
"@storybook/react": "^6.4.12",
|
|
41
|
+
"@svgr/cli": "^6.2.0",
|
|
38
42
|
"@testing-library/jest-dom": "^5.12.0",
|
|
39
43
|
"@testing-library/react": "^11.2.7",
|
|
40
44
|
"@testing-library/user-event": "^13.2.1",
|
|
@@ -47,8 +51,8 @@
|
|
|
47
51
|
"@typescript-eslint/eslint-plugin": "^2.26.0",
|
|
48
52
|
"@typescript-eslint/parser": "^2.26.0",
|
|
49
53
|
"babel-eslint": "^10.0.3",
|
|
50
|
-
"babel-loader": "^8.2.
|
|
51
|
-
"chromatic": "^
|
|
54
|
+
"babel-loader": "^8.2.3",
|
|
55
|
+
"chromatic": "^6.3.4",
|
|
52
56
|
"cross-env": "^7.0.2",
|
|
53
57
|
"eslint": "^6.8.0",
|
|
54
58
|
"eslint-config-prettier": "^6.7.0",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Color } from '../foundation/colors';
|
|
3
|
-
import { IconSize } from './types';
|
|
4
|
-
declare type Props = {
|
|
5
|
-
size?: IconSize;
|
|
6
|
-
color?: Color;
|
|
7
|
-
rotate?: number;
|
|
8
|
-
dataTestId?: string;
|
|
9
|
-
};
|
|
10
|
-
declare const IconArrowDown: React.FC<Props>;
|
|
11
|
-
export default IconArrowDown;
|
package/dist/icons/IconEdit.d.ts
DELETED
package/dist/icons/IconEye.d.ts
DELETED
package/dist/icons/IconMore.d.ts
DELETED
package/dist/icons/IconUser.d.ts
DELETED