-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(IconProvider): support global configuration classPrefix and csp
- Loading branch information
Showing
43 changed files
with
17,841 additions
and
34,125 deletions.
There are no files selected for viewing
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,3 @@ | ||
{ | ||
"sandboxes": ["new"] | ||
} |
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,4 +1,3 @@ | ||
/bin/** | ||
/scripts/** | ||
/build/** | ||
/src/icons/legacy/** | ||
webpack.config.js |
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 was deleted.
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
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 |
---|---|---|
|
@@ -4,4 +4,3 @@ src/ | |
postcss.config.js | ||
gulpfile.js | ||
.eslintrc.js | ||
webpack.config.js |
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,14 @@ | ||
import type { StorybookConfig } from '@storybook/react-vite'; | ||
|
||
const config: StorybookConfig = { | ||
stories: ['../storybook/**/*.mdx', '../storybook/**/*.stories.@(js|jsx|mjs|ts|tsx)'], | ||
addons: [ | ||
'@storybook/addon-onboarding', | ||
'@storybook/addon-links', | ||
'@storybook/addon-essentials', | ||
'@chromatic-com/storybook', | ||
'@storybook/addon-interactions' | ||
], | ||
framework: '@storybook/react-vite' | ||
}; | ||
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,18 @@ | ||
import type { Preview } from '@storybook/react'; | ||
|
||
const preview: Preview = { | ||
parameters: { | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/i | ||
} | ||
}, | ||
brand : { | ||
title: 'React Suite', | ||
url: 'https://rsuitejs.com' | ||
} | ||
} | ||
}; | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
## RSUITE Icons Free License | ||
## React Suite Icons Free License | ||
|
||
RSUITE Icons is free, open source, and GPL friendly. You can use it for | ||
React Suite Icons is free, open source, and GPL friendly. You can use it for | ||
commercial projects, open source projects, or really almost whatever you want. | ||
|
||
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) | ||
|
||
In the RSUITE Icon Free download, the CC BY 4.0 license applies to all icons | ||
In the React Suite Icon Free download, the CC BY 4.0 license applies to all icons | ||
packaged as SVG and JS file types. | ||
|
||
# Code: MIT License (https://github.com/rsuite/rsuite/blob/master/LICENSE) | ||
|
||
In the RSUITE Icon Font Free download, the MIT license applies to all non-font and | ||
In the React Suite Icon Font Free download, the MIT license applies to all non-font and | ||
non-icon files. | ||
|
||
# Attribution | ||
|
||
Attribution is required by MIT and CC BY licenses. Downloaded RSUITE | ||
Attribution is required by MIT and CC BY licenses. Downloaded React Suite | ||
Icon Free files already contain embedded comments with sufficient | ||
attribution, so you shouldn't need to do anything additional when using these | ||
files normally. | ||
|
||
We've kept attribution comments terse, so we ask that you do not actively work | ||
to remove them from files, especially code. They're a great way for folks to | ||
learn about RSUITE Icon Font. | ||
learn about React Suite Icon Font. | ||
|
||
# Brand Icons | ||
|
||
All brand icons are trademarks of their respective owners. The use of these | ||
trademarks does not indicate endorsement of the trademark holder by RSUITE | ||
trademarks does not indicate endorsement of the trademark holder by React Suite | ||
Icon, nor vice versa. **Please do not use brand logos for any purpose except | ||
to represent the company, product, or service to which they refer.** |
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,14 +1,32 @@ | ||
# RSUITE Icons | ||
# React Suite Icons | ||
|
||
## Develop | ||
## Document | ||
|
||
This library is developing now , if you want run it on you local,please run these command: | ||
https://rsuitejs.com/components/icon/ | ||
|
||
## Project Development Guide | ||
|
||
### Install | ||
|
||
```bash | ||
$ npm install | ||
``` | ||
## Install dependencies | ||
npm run ci | ||
## Run dev site on your local | ||
npm run dev | ||
## TDD | ||
npm run tdd | ||
|
||
### Development | ||
|
||
```bash | ||
$ npm npm dev | ||
``` | ||
|
||
### Build | ||
|
||
```bash | ||
$ npm run build | ||
``` | ||
|
||
### Test | ||
|
||
```bash | ||
$ npm run test | ||
``` | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.