Skip to content

Commit

Permalink
Merge branch 'develop' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Mostafatalaat770 committed Mar 22, 2022
2 parents 02b1fcb + 6a30c8d commit 38d9d15
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 177 deletions.
5 changes: 0 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ReactNode, FC, PropsWithChildren, ReactElement } from 'react';
import { ColorResult } from 'react-color';
import { SwiperProps } from 'swiper/react';

declare module '@bonuz/bonuz-ui' {
Expand Down Expand Up @@ -179,9 +178,6 @@ declare module '@bonuz/bonuz-ui' {
created: string;
type?: 'main' | 'default';
};
type ColorPickerProps = {
onChange?: (color: ColorResult) => void;
};
type FaqItemProps = {
title: string;
description: string;
Expand Down Expand Up @@ -326,7 +322,6 @@ declare module '@bonuz/bonuz-ui' {
export const FanItem: FC<FanItemProps>;
export const Table: FC<TableProps>;
export const CreatorNewsCard: FC<CreatorNewsCardProps>;
export const ColorPicker: FC<ColorPickerProps>;
export const FaqItem: FC<FaqItemProps>;
export const FansList: FC<FansListProps>;
export const Media: FC<MediaProps>;
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"@testing-library/user-event": "^13.5.0",
"classnames": "^2.3.1",
"react": "^17.0.2",
"react-color": "^2.19.3",
"react-dom": "^17.0.2",
"react-scripts": "^5.0.0",
"sanitize.css": "^13.0.0",
Expand Down Expand Up @@ -85,7 +84,6 @@
"@types/jest": "^27.4.1",
"@types/node": "^17.0.22",
"@types/react": "^17.0.41",
"@types/react-color": "3.0.6",
"@types/react-dom": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
Expand Down
32 changes: 0 additions & 32 deletions src/components/atoms/ColorPicker/ColorPicker.scss

This file was deleted.

12 changes: 0 additions & 12 deletions src/components/atoms/ColorPicker/ColorPicker.stories.tsx

This file was deleted.

45 changes: 0 additions & 45 deletions src/components/atoms/ColorPicker/ColorPicker.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/components/atoms/ColorPicker/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/components/atoms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export { FaqItem } from './FaqItem';
export { SocialList, type SocialListProps } from './SocialList';
export { FanItem } from './FanItem';
export type { FanItemProps } from './FanItem';
export { ColorPicker } from './ColorPicker';
export { CalendarItem } from './CalendarItem';
export { Modal } from './Modal';
export { StatusText } from './StatusText';
81 changes: 2 additions & 79 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,6 @@ __metadata:
"@types/jest": ^27.4.1
"@types/node": ^17.0.22
"@types/react": ^17.0.41
"@types/react-color": 3.0.6
"@types/react-dom": ^17.0.14
"@typescript-eslint/eslint-plugin": ^5.16.0
"@typescript-eslint/parser": ^5.16.0
Expand All @@ -1710,7 +1709,6 @@ __metadata:
postcss-url: ^10.1.3
prettier: ^2.6.0
react: ^17.0.2
react-color: ^2.19.3
react-dom: ^17.0.2
react-scripts: ^5.0.0
rimraf: ^3.0.2
Expand Down Expand Up @@ -2034,15 +2032,6 @@ __metadata:
languageName: node
linkType: hard

"@icons/material@npm:^0.2.4":
version: 0.2.4
resolution: "@icons/material@npm:0.2.4"
peerDependencies:
react: "*"
checksum: 24baa360cb83f7e1a9e6784ac11185d57eb895b0efd3070ec915693378330f35ff9feb248f650b9649fa3e1045601286585dc05795a4c734d4849b33900351ee
languageName: node
linkType: hard

"@isaacs/string-locale-compare@npm:^1.1.0":
version: 1.1.0
resolution: "@isaacs/string-locale-compare@npm:1.1.0"
Expand Down Expand Up @@ -5229,16 +5218,6 @@ __metadata:
languageName: node
linkType: hard

"@types/react-color@npm:3.0.6":
version: 3.0.6
resolution: "@types/react-color@npm:3.0.6"
dependencies:
"@types/react": "*"
"@types/reactcss": "*"
checksum: 8cd881d6eb725190be942c1d71f7917d3dd1b418417740f64fa6c03ae3ba16cb91d07c4b3b348cf5bae20071c8ca5d4aaf514c9a5318077d5e50bd782a5e8da2
languageName: node
linkType: hard

"@types/react-dom@npm:*, @types/react-dom@npm:^17.0.14":
version: 17.0.14
resolution: "@types/react-dom@npm:17.0.14"
Expand Down Expand Up @@ -5268,15 +5247,6 @@ __metadata:
languageName: node
linkType: hard

"@types/reactcss@npm:*":
version: 1.2.6
resolution: "@types/reactcss@npm:1.2.6"
dependencies:
"@types/react": "*"
checksum: f4711d707a1af653178c8941080e989a945feb0c529d848fed36687ee5e8a462cda183383caadf8848497b5c03bec16e6cdf22fc70462913d8d706cabb597130
languageName: node
linkType: hard

"@types/resolve@npm:1.17.1":
version: 1.17.1
resolution: "@types/resolve@npm:1.17.1"
Expand Down Expand Up @@ -14482,13 +14452,6 @@ __metadata:
languageName: node
linkType: hard

"lodash-es@npm:^4.17.15":
version: 4.17.21
resolution: "lodash-es@npm:4.17.21"
checksum: 05cbffad6e2adbb331a4e16fbd826e7faee403a1a04873b82b42c0f22090f280839f85b95393f487c1303c8a3d2a010048bf06151a6cbe03eee4d388fb0a12d2
languageName: node
linkType: hard

"lodash.camelcase@npm:^4.3.0":
version: 4.3.0
resolution: "lodash.camelcase@npm:4.3.0"
Expand Down Expand Up @@ -14580,7 +14543,7 @@ __metadata:
languageName: node
linkType: hard

"lodash@npm:^4.0.1, lodash@npm:^4.17.11, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0":
"lodash@npm:^4.17.11, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0":
version: 4.17.21
resolution: "lodash@npm:4.17.21"
checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7
Expand Down Expand Up @@ -14806,13 +14769,6 @@ __metadata:
languageName: node
linkType: hard

"material-colors@npm:^1.2.1":
version: 1.2.6
resolution: "material-colors@npm:1.2.6"
checksum: 72d005ccccb82bab68eef3cd757e802668634fc86976dedb9fc564ce994f2d3258273766b7efecb7404a0031969e2d72201a1b74169763f0a53c0dd8d649209f
languageName: node
linkType: hard

"mathml-tag-names@npm:^2.1.3":
version: 2.1.3
resolution: "mathml-tag-names@npm:2.1.3"
Expand Down Expand Up @@ -18022,7 +17978,7 @@ __metadata:
languageName: node
linkType: hard

"prop-types@npm:^15.0.0, prop-types@npm:^15.5.10, prop-types@npm:^15.6.0, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
"prop-types@npm:^15.0.0, prop-types@npm:^15.6.0, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
version: 15.8.1
resolution: "prop-types@npm:15.8.1"
dependencies:
Expand Down Expand Up @@ -18319,23 +18275,6 @@ __metadata:
languageName: node
linkType: hard

"react-color@npm:^2.19.3":
version: 2.19.3
resolution: "react-color@npm:2.19.3"
dependencies:
"@icons/material": ^0.2.4
lodash: ^4.17.15
lodash-es: ^4.17.15
material-colors: ^1.2.1
prop-types: ^15.5.10
reactcss: ^1.2.0
tinycolor2: ^1.4.1
peerDependencies:
react: "*"
checksum: 40b49e1aa2ab27a099cc37a3fa2d5bb906b8def4dbe2d922c0e42365e386d82b03f9b06a2b29a44a51f1e114cef72e61c0ba0740581a128d951936ea4617429b
languageName: node
linkType: hard

"react-colorful@npm:^5.1.2":
version: 5.5.1
resolution: "react-colorful@npm:5.5.1"
Expand Down Expand Up @@ -18679,15 +18618,6 @@ __metadata:
languageName: node
linkType: hard

"reactcss@npm:^1.2.0":
version: 1.2.3
resolution: "reactcss@npm:1.2.3"
dependencies:
lodash: ^4.0.1
checksum: c53e386a0881f1477e1cff661f6a6ad4c662230941f3827862193ac30f9b75cdf7bc7b4c7e5ca543d3e4e80fee1a3e9fa0056c206b1c0423726c41773ab3fe45
languageName: node
linkType: hard

"read-cmd-shim@npm:^2.0.0":
version: 2.0.0
resolution: "read-cmd-shim@npm:2.0.0"
Expand Down Expand Up @@ -21316,13 +21246,6 @@ __metadata:
languageName: node
linkType: hard

"tinycolor2@npm:^1.4.1":
version: 1.4.2
resolution: "tinycolor2@npm:1.4.2"
checksum: 57ed262e08815a4ab0ed933edafdbc6555a17081781766149813b44a080ecbe58b3ee281e81c0e75b42e4d41679f138cfa98eabf043f829e0683c04adb12c031
languageName: node
linkType: hard

"tmpl@npm:1.0.5":
version: 1.0.5
resolution: "tmpl@npm:1.0.5"
Expand Down

0 comments on commit 38d9d15

Please sign in to comment.