@7shifts/sous-chef 1.5.8 → 2.0.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/CHANGELOG.md +15 -0
- package/dist/icons/iconUtils.d.ts +7 -1
- package/dist/icons/index.d.ts +1 -22
- package/dist/index.css +6 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2558 -630
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2455 -624
- 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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## 2.0.0 (February 16th, 2022)
|
|
2
|
+
|
|
3
|
+
### New components/Enhancements
|
|
4
|
+
|
|
5
|
+
- Icons: Added SVGR as a dependency, migrated existing icons and their usage to new implementation using SVGR, added remaining icons used in the 7shifts repo, and renamed the icons listed below (before -> after) in order to have consistent naming across various tools. ([#60](https://github.com/7shifts/sous-chef/pull/60))
|
|
6
|
+
- IconCalendar -> IconCalendarAlt
|
|
7
|
+
- IconClose -> IconTimes
|
|
8
|
+
- IconDelete -> IconTimesOctagon
|
|
9
|
+
- IconEdit -> IconPencil
|
|
10
|
+
- IconExclaim -> IconExclaimation
|
|
11
|
+
- IconLocation -> IconMapMarker
|
|
12
|
+
- IconMore -> IconEllipsisV
|
|
13
|
+
- IconRemove -> IconTrash
|
|
14
|
+
- IconUser -> IconUserSolid
|
|
15
|
+
|
|
1
16
|
## 1.5.8 (February 14th, 2022)
|
|
2
17
|
|
|
3
18
|
### Bug fixes
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
import { IconSize } from './types';
|
|
2
|
-
|
|
2
|
+
declare type Params = {
|
|
3
|
+
size?: IconSize;
|
|
4
|
+
color?: string;
|
|
5
|
+
styles?: Object;
|
|
6
|
+
};
|
|
7
|
+
export declare const getIconStyles: ({ size, color, styles }: Params) => Object;
|
|
8
|
+
export {};
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import IconArrowLeft from './IconArrowLeft';
|
|
3
|
-
import IconArrowRight from './IconArrowRight';
|
|
4
|
-
import IconArrowUp from './IconArrowUp';
|
|
5
|
-
import IconCalendar from './IconCalendar';
|
|
6
|
-
import IconCheck from './IconCheck';
|
|
7
|
-
import IconChevronDown from './IconChevronDown';
|
|
8
|
-
import IconChevronUp from './IconChevronUp';
|
|
9
|
-
import IconClose from './IconClose';
|
|
10
|
-
import IconComment from './IconComment';
|
|
11
|
-
import IconDelete from './IconDelete';
|
|
12
|
-
import IconEdit from './IconEdit';
|
|
13
|
-
import IconEye from './IconEye';
|
|
14
|
-
import IconEyeSlash from './IconEyeSlash';
|
|
15
|
-
import IconExclaim from './IconExclaim';
|
|
16
|
-
import IconLocation from './IconLocation';
|
|
17
|
-
import IconMinusCircle from './IconMinusCircle';
|
|
18
|
-
import IconMore from './IconMore';
|
|
19
|
-
import IconRemove from './IconRemove';
|
|
20
|
-
import IconUser from './IconUser';
|
|
21
|
-
import IconUserPlus from './IconUserPlus';
|
|
22
|
-
export { IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowUp, IconCalendar, IconCheck, IconChevronDown, IconChevronUp, IconClose, IconComment, IconDelete, IconEdit, IconEye, IconEyeSlash, IconExclaim, IconLocation, IconMinusCircle, IconMore, IconRemove, IconUser, IconUserPlus };
|
|
1
|
+
export * from './components';
|
package/dist/index.css
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
/* stylelint-disable color-no-hex */
|
|
2
|
-
/*
|
|
3
|
-
These are the colour variables to be used around the webapp.
|
|
4
|
-
The variables are set up to describe the color and number which represents the lightness of the color.
|
|
5
|
-
The smaller the number the lighter the color. So $eggplant-100 would be light purple and $eggplant-600 would be dark purple.
|
|
6
|
-
The base colour is the default colour and is numbered with 400. If someone says "use Tangerine" they are referring to the base color.
|
|
7
|
-
Please ask a designer if you have questions about which colours to use.
|
|
8
|
-
*/
|
|
9
|
-
._f-GkY {
|
|
10
|
-
fill: #929292;
|
|
11
|
-
}
|
|
12
1
|
/*********************************
|
|
13
2
|
For new colours, see _colors.scss.
|
|
14
3
|
**********************************/
|
|
@@ -981,6 +970,9 @@ Please ask a designer if you have questions about which colours to use.
|
|
|
981
970
|
margin-bottom: auto;
|
|
982
971
|
text-align: left;
|
|
983
972
|
}
|
|
973
|
+
._eX5OL svg {
|
|
974
|
+
color: #929292;
|
|
975
|
+
}
|
|
984
976
|
|
|
985
977
|
.__YH01 {
|
|
986
978
|
position: absolute;
|
|
@@ -1002,6 +994,9 @@ Please ask a designer if you have questions about which colours to use.
|
|
|
1002
994
|
right: 0;
|
|
1003
995
|
text-align: right;
|
|
1004
996
|
}
|
|
997
|
+
.__YH01 svg {
|
|
998
|
+
color: #929292;
|
|
999
|
+
}
|
|
1005
1000
|
/*********************************
|
|
1006
1001
|
For new colours, see _colors.scss.
|
|
1007
1002
|
**********************************/
|