-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicons revamp #7
Open
booi-dev
wants to merge
182
commits into
reskin
Choose a base branch
from
reskin-revamp
base: reskin
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 135 commits
Commits
Show all changes
182 commits
Select commit
Hold shift + click to select a range
47e2501
add: storybook N stories
booi-dev 14927ff
add: svgs from main app
booi-dev 74cca3b
add: pretty-quick n lint-staged
booi-dev 745fe38
update: restructure folders
booi-dev cd03555
update: component
booi-dev 84a7972
add: chevron icons
booi-dev 8708125
add: clock icon
booi-dev b62ca11
add: arrow fill icon
booi-dev 500b15b
add: alert icon
booi-dev 5a44c19
add: clear icon
booi-dev 706ff0d
add: contact support icon
booi-dev ee7c2d2
add: expand icon
booi-dev 4574221
add: info icon
booi-dev b7ea37e
add: processing icon
booi-dev 2bec509
update: make 24 defaul size
booi-dev c49e9ec
add: chevron variants
booi-dev 1f4950f
add: arrow up down variant
booi-dev 36764a1
add: base icon component
booi-dev b631bbd
update: base icon component
booi-dev 51ecc30
add: border icon
booi-dev 5935006
add: cart icon
booi-dev 64f1137
add: shell script to generate story
booi-dev 63d92e8
add: desc alpha and num icon
booi-dev dc536e2
add: diamond icon
booi-dev fe72130
add: error icon
booi-dev 14dd3b4
add: exit icon
booi-dev 9b748aa
add: export icon
booi-dev 0ab6c05
add: eye checked icon
booi-dev ca85e09
add: special eye icon
booi-dev 71b4d15
update: move alert icon to special folder
booi-dev 0a7f989
add: folder icon
booi-dev 264b760
add: grid icon
booi-dev 1f5165c
add: color icon
booi-dev fc02841
add: loupe icon
booi-dev c13ff11
add: inactive icons
booi-dev f093ce9
add: sort icon
booi-dev cbccce5
add: spray icon
booi-dev d04c890
add: staricon secondary icon
booi-dev 50feea4
add: add info icon variant
booi-dev 562943a
add: arrow left right icons
booi-dev b95f4f4
add: selected list icon
booi-dev 8dffc40
add: loop icon
booi-dev 693fa62
add: network error icon
booi-dev 1da629f
add: reload icon
booi-dev c611a2e
add: warning icon
booi-dev 9db4e5c
add: zoom icon
booi-dev 94842c8
update: move reskin icons to icons
booi-dev 5a99164
add: move icon with bg to seperate folder
booi-dev f130229
add: icon accessibility
booi-dev 300b7b6
add: shell scripts
booi-dev 8f893f7
add: celebrate icon
booi-dev d403a44
update: change ref type to span
booi-dev b28d09b
add: coupon icon
booi-dev 3e83cb2
add: crown icons
booi-dev 67fc649
add: happy face
booi-dev eb3c563
add: open link icon
booi-dev 4200341
add: stack 2 icon
booi-dev 76dc028
add: inactive for more icon
booi-dev 22a2d82
add: power icons
booi-dev dcbe568
add: more icons
booi-dev c3dbe9a
add: drag capture one
booi-dev 778d6f5
update: folder name
booi-dev 06e6720
add: add facebook icon
booi-dev 4e29e2d
add: five star icons
booi-dev 1e067b4
add: grid icons
booi-dev 27b3de1
add: image border icon
booi-dev 44af25c
add: face happy icon
booi-dev 76ff469
add: LessGroupingIcon
booi-dev 6a6e6f7
add: lightroom icon
booi-dev 2a90c02
add: loop circle icon
booi-dev d5dfaac
add: more grouping icon
booi-dev 228539b
add: question mark
booi-dev 9f1b2ea
add: alert icons
booi-dev 854dcdc
add: alert circle
booi-dev f9af95d
sort icons
booi-dev c9a29ef
add: spray icon
booi-dev e5a4abc
twiiter icons
booi-dev 973a5e1
facebook
booi-dev 98047f9
add: alert circle fill
booi-dev 698fd00
add: aftershoot
booi-dev 3bb6a15
add: collection icon
booi-dev 1716e1c
add: confetti icons
booi-dev 497cb82
add: delete
booi-dev 0128423
update: cheveron icons
booi-dev 9bd67de
update: move star icon to generic
booi-dev e03e181
add: export circle bg icon
booi-dev 01b5488
update: global icons
booi-dev b8874c2
add: wifi icons
booi-dev 2bea80d
update: check icons
booi-dev fa27e85
add: checkbox icons
booi-dev 3f4e34e
add: play icons
booi-dev 614838a
add: rotate icon
booi-dev a04172e
add: success fill bg icon
booi-dev 7c1b62f
add: train icon
booi-dev 35d02ba
add: twitter outline icon
booi-dev 15f671e
add: upload icon
booi-dev 17b71fd
add: alert triangle icon
booi-dev c13dfcd
refactor
booi-dev 7e56582
refactoring
booi-dev 54e7968
add: move files
booi-dev 5349980
update: edit stories
booi-dev ae62152
add: clear bg folder
booi-dev 2988ef5
update: add inactive to icons
booi-dev d3c4f27
add: grouping icons
booi-dev 1601313
add: add inactive to all icons
booi-dev d32cac2
add: update: mood icon
booi-dev 9e4aeb1
add: extract icons from app
booi-dev b21a619
update: culling icons
booi-dev 9f1c395
update: general icons
booi-dev 8767f59
update: edit icons
booi-dev 5bc0508
update: logo
booi-dev e2cf27d
add: update enable icons
booi-dev 92d8840
update: packages
booi-dev c47760c
update: culling icons
booi-dev c45a695
update: edit icons
booi-dev 6526ad8
update: enable icons
booi-dev 8c43e1f
add: update general icons
booi-dev 4f7c127
update: logo icons
booi-dev 4b37ae5
update: social icons
booi-dev 6e45529
update: power icons
booi-dev b926e29
update: move all stories to one folder
booi-dev 248cd21
update: icon
booi-dev 903cd19
update: icons
booi-dev 2236403
update: shell script
booi-dev 429678f
add: arrow up icon
booi-dev 5ec1e50
add: copy content icon
booi-dev da930d5
update: gc.sh
booi-dev bf68119
modify: read me
booi-dev 56a6eae
add: culling icons
booi-dev 953f7c9
update: survey mode icon
booi-dev bc8c28e
add: grid icon
booi-dev d1f0aae
update: show dublicate icon
booi-dev 8c27d5a
update: list icons
booi-dev 098075c
update: face icon - smiley
booi-dev 3e8e91a
remove: unused svg
booi-dev 47b6032
update chevron down icon
booi-dev 50406a8
add: sort optios icons
booi-dev ea2a853
alter: add storybook live to readme
booi-dev d41119d
update: rename mouse left and right selected icon to click icon
booi-dev 6a5394f
fix: UploadFolderIcon incorrect prop type
booi-dev 7f740eb
fix: CheckBox icon type error
booi-dev f4350ed
fix: add inActive to all component
booi-dev 34aa36a
add: inActive type to all component
booi-dev ce59b8b
update: computerIcon name
booi-dev d760157
update: shell script to generate components
booi-dev 7636376
update: exporting
booi-dev 800ca53
add: create script to export icons
booi-dev c88180f
update: improve logs for generate script
booi-dev deff9ae
udate: readme
booi-dev b0de0b2
update: add export to all component
booi-dev 0908468
fix: dublicate errors
booi-dev 822ad65
update: readme discription
booi-dev 44c198e
pubish storybook
booi-dev 5f11404
update: readme
booi-dev 76c56b7
update: remove defaul export
booi-dev 2cbbf53
add: bulb icon
booi-dev e74e93e
update: sort buld icon
booi-dev e25b730
add: catalog upload icons
booi-dev a320d20
move: new icons to its respected folder
booi-dev da8b567
add: image icon
booi-dev 667681b
add: cart icon third variant
booi-dev fbc550a
fix: copy icon secondary width empty space
booi-dev de29cb1
add: x icon
booi-dev 4dc8fea
add: whatsapp icon
booi-dev 91986a2
update: readme
booi-dev e6ce356
add: bg opacity for crown bg
booi-dev ad0ff81
add: create trophy color icon
booi-dev e9dcc41
add: create arrow curve icon
booi-dev dcce87c
add: drawer icon
booi-dev 251c920
add: create mail bg icon component
booi-dev 2781f96
remove: export icon, update upload icon
booi-dev 981096a
add: create export icon
booi-dev dea0dfd
update: checkicon
booi-dev ad50081
add: create pause bg icon
booi-dev c4af5c9
update: person icon to person two icon
booi-dev e700e19
update: stack icon proper names
booi-dev 3aac969
update: facebook and twitter icon
booi-dev f40af0c
update: icons
booi-dev aa7707b
add: create drag bridge icon
booi-dev 17dc33a
add: drag icons
booi-dev 7fe8661
update: shell script
booi-dev 2d30288
add: create not selected icons
booi-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@aftershootco/unicorn-icons': major | ||
--- | ||
|
||
ravamp icons components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
**/node_modules | ||
**/dist | ||
yarn.lock | ||
.vscode | ||
.yarn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import type { StorybookConfig } from '@storybook/react-webpack5' | ||
import { dirname, join } from 'path' | ||
|
||
/** | ||
* This function is used to resolve the absolute path of a package. | ||
* It is needed in projects that use Yarn PnP or are set up within a monorepo. | ||
*/ | ||
function getAbsolutePath(value: string): any { | ||
return dirname(require.resolve(join(value, 'package.json'))) | ||
} | ||
|
||
const config: StorybookConfig = { | ||
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], | ||
addons: [ | ||
getAbsolutePath('@storybook/addon-links'), | ||
getAbsolutePath('@storybook/addon-essentials'), | ||
getAbsolutePath('@storybook/addon-onboarding'), | ||
getAbsolutePath('@storybook/addon-interactions'), | ||
getAbsolutePath('@storybook/addon-styling-webpack'), | ||
], | ||
framework: { | ||
name: getAbsolutePath('@storybook/react-webpack5'), | ||
options: { | ||
builder: { | ||
useSWC: true, | ||
}, | ||
}, | ||
}, | ||
docs: { | ||
autodocs: 'tag', | ||
}, | ||
webpackFinal: async (config) => { | ||
config?.module?.rules?.push({ | ||
test: /\.scss$/, | ||
use: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader'], | ||
}) | ||
|
||
return config | ||
}, | ||
} | ||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import type { Preview } from '@storybook/react' | ||
import '../src/styles/tailwind.css' | ||
|
||
const preview: Preview = { | ||
parameters: { | ||
actions: { argTypesRegex: '^on[A-Z].*' }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/i, | ||
}, | ||
}, | ||
// options: { | ||
// storySort: { | ||
// method: 'alphabetical', | ||
// }, | ||
// }, | ||
}, | ||
} | ||
|
||
export default preview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Run script 1 | ||
./sh-scripts/gc.sh | ||
|
||
# Run script 2 after script 1 completes | ||
./sh-scripts/gi.sh | ||
|
||
# Run script 3 after script 2 completes | ||
./sh-scripts/gs.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,81 @@ | ||
{ | ||
"name": "@aftershootco/unicorn-icons", | ||
"version": "1.1.38", | ||
"name": "@aftershootco/unicorn-icons-beta", | ||
"version": "1.0.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change this too |
||
"description": "", | ||
"author": "AfterShoot", | ||
"author": { | ||
"name": "AfterShoot" | ||
}, | ||
"license": "ISC", | ||
"main": "dist/index.cjs.js", | ||
"main": "dist/index.js", | ||
"module": "dist/index.esm.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"prepare": "husky install" | ||
"build": "tsup src/index.ts --format cjs,esm --dts --clean", | ||
"storybook": "concurrently \"pnpm watch:tw\" \"pnpm watch:storybook\"", | ||
"watch:tw": "pnpm tailwindcss -i ./src/tailwind.css -o ./src/styles/tailwind.css --watch", | ||
"watch:storybook": "storybook dev -p 6006", | ||
"build-storybook": "storybook build", | ||
"local-test": "rm -rf dist && yarn && yarn build && cp -r ./dist/* ../AfterShoot-Desktop-App/node_modules/@aftershootco/unicorn-icons/dist", | ||
"chromatic": "npx chromatic --project-token=chpt_9204d4c030115e1" | ||
}, | ||
"repository": { | ||
"url": "https://github.com/aftershootco/Unicorn-Icons.git", | ||
"url": "git+https://github.com/aftershootco/Unicorn-Icons.git", | ||
"type": "git" | ||
}, | ||
"peerDependencies": { | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.20.7", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@rollup/plugin-commonjs": "^24.0.0", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@rollup/plugin-typescript": "^10.0.1", | ||
"@rollup/plugin-url": "^8.0.1", | ||
"@svgr/rollup": "^6.5.1", | ||
"@storybook/addon-essentials": "^7.6.7", | ||
"@storybook/addon-interactions": "^7.6.7", | ||
"@storybook/addon-links": "^7.6.7", | ||
"@storybook/addon-onboarding": "^1.0.10", | ||
"@storybook/addon-postcss": "^2.0.0", | ||
"@storybook/addon-styling-webpack": "^0.0.6", | ||
"@storybook/blocks": "^7.6.7", | ||
"@storybook/cli": "^7.6.7", | ||
"@storybook/react": "^7.6.7", | ||
"@storybook/react-webpack5": "^7.6.7", | ||
"@storybook/test": "^7.6.7", | ||
"@types/react": "^18.0.26", | ||
"@types/react-dom": "^18.0.10", | ||
"autoprefixer": "^10.4.13", | ||
"autoprefixer": "^10.4.17", | ||
"babel-loader": "^9.1.0", | ||
"chromatic": "^10.6.1", | ||
"css-loader": "^6.7.3", | ||
"husky": "^8.0.2", | ||
"node-sass": "^8.0.0", | ||
"postcss": "^8.4.20", | ||
"postcss-flexbugs-fixes": "^5.0.2", | ||
"postcss-url": "^10.1.3", | ||
"rollup": "^3.9.0", | ||
"rollup-plugin-dts": "^5.1.0", | ||
"rollup-plugin-images": "^1.0.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"rollup-plugin-scss": "^4.0.0", | ||
"rollup-plugin-svg": "^2.0.0", | ||
"rollup-plugin-svg-import": "^1.6.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"sass-loader": "^13.2.0", | ||
"style-loader": "^3.3.1", | ||
"tslib": "^2.4.1", | ||
"postcss": "^8.4.33", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"storybook": "^7.6.7", | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "^4.9.4", | ||
"webpack": "^5.75.0" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"types": "dist/index.d.ts", | ||
"dependencies": {}, | ||
"keywords": [ | ||
"unicorn", | ||
"aftershoot" | ||
] | ||
], | ||
"lint-staged": { | ||
"*.{ts,tsx}": [ | ||
"eslint --fix" | ||
] | ||
}, | ||
"dependencies": { | ||
"@changesets/cli": "^2.27.1", | ||
"clsx": "^2.1.0", | ||
"concurrently": "^8.2.2", | ||
"rollup": "^4.9.6", | ||
"tailwind-merge": "^2.2.1", | ||
"tinycolor2": "^1.6.0", | ||
"tsup": "^8.0.1" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/aftershootco/Unicorn-Icons/issues" | ||
}, | ||
"homepage": "https://github.com/aftershootco/Unicorn-Icons#readme" | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HAVE TO CHANGE THIS