shineout 3.0.1 → 3.0.3
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/LICENSE +21 -0
- package/README-zh_CN.md +62 -0
- package/README.md +65 -0
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +3 -8
- package/cjs/select/interface.d.ts +1 -1
- package/dist/shineout.js +406 -353
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +5 -2
- package/esm/select/interface.d.ts +1 -1
- package/package.json +19 -8
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-Present SHEIN
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README-zh_CN.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[English](./README.md) | 简体中文
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img alt="react-router" src="https://user-images.githubusercontent.com/101764/44770646-44f53000-ab9b-11e8-834e-2b1394cea318.png" width="300">
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
一个更加『轻量』和『快速』的基于<a href="https://facebook.github.io/react">React</a>的桌面端组件库
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://www.npmjs.com/package/shineout"><img src="https://img.shields.io/npm/v/shineout.svg?style=flat-square"></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/shineout"><img src="https://img.shields.io/npm/dm/shineout.svg?style=flat-square"></a>
|
|
14
|
+
<img src="https://img.shields.io/badge/React-%3E%3D16.8.0-green.svg?style=flat-square">
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
## 特性
|
|
18
|
+
|
|
19
|
+
- 精巧且友好的 API
|
|
20
|
+
- 开箱即用的高性能 React 组件
|
|
21
|
+
- 接口永远向下兼容
|
|
22
|
+
- 灵活的主题配置
|
|
23
|
+
|
|
24
|
+
## 依赖
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
react >= 16.8.0
|
|
28
|
+
react-dom >= 16.8.0
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## 浏览器支持
|
|
32
|
+
|
|
33
|
+
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Electron |
|
|
34
|
+
| --------- | --------- | --------- | --------- | --------- | --------- |
|
|
35
|
+
| Edge| last 2 versions| last 2 versions| last 2 versions| last 2 versions| last 2 versions |
|
|
36
|
+
|
|
37
|
+
## 安装
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
yarn add shineout
|
|
41
|
+
```
|
|
42
|
+
// or
|
|
43
|
+
```bash
|
|
44
|
+
npm install shineout
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## CDN
|
|
48
|
+
|
|
49
|
+
```html
|
|
50
|
+
<script crossorigin src="https://unpkg.com/shineout/dist/shineout.min.js"></script>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## 使用
|
|
54
|
+
|
|
55
|
+
```javascript
|
|
56
|
+
import { Button } from 'shineout'
|
|
57
|
+
|
|
58
|
+
<Button />
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## 开源许可
|
|
62
|
+
[MIT](./LICENSE)
|
package/README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
English | [简体中文](./README-zh_CN.md)
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img alt="react-router" src="https://user-images.githubusercontent.com/101764/44770646-44f53000-ab9b-11e8-834e-2b1394cea318.png" width="300">
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
A components library for <a href="https://facebook.github.io/react">React</a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://www.npmjs.com/package/shineout"><img src="https://img.shields.io/npm/v/shineout.svg?style=flat-square"></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/shineout"><img src="https://img.shields.io/npm/dm/shineout.svg?style=flat-square"></a>
|
|
14
|
+
<img src="https://img.shields.io/badge/React-%3E%3D16.8.0-green.svg?style=flat-square">
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
## Features
|
|
18
|
+
|
|
19
|
+
- A concise and friendly API
|
|
20
|
+
- A set of high-performance React components out of the box.
|
|
21
|
+
- Always backward compatible
|
|
22
|
+
- Flexible theme customization
|
|
23
|
+
|
|
24
|
+
## Requirements
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
react >= 16.8.0
|
|
28
|
+
react-dom >= 16.8.0
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Browsers support
|
|
32
|
+
|
|
33
|
+
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Electron |
|
|
34
|
+
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
35
|
+
| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
yarn add shineout
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
// or
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
npm install shineout
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## CDN
|
|
50
|
+
|
|
51
|
+
```html
|
|
52
|
+
<script crossorigin src="https://unpkg.com/shineout/dist/shineout.min.js"></script>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Usage
|
|
56
|
+
|
|
57
|
+
```javascript
|
|
58
|
+
import { Button } from 'shineout'
|
|
59
|
+
|
|
60
|
+
;<Button />
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## LICENSE
|
|
64
|
+
|
|
65
|
+
[MIT](./LICENSE)
|
package/cjs/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export { default as Tree } from './tree';
|
|
|
46
46
|
export { default as TreeSelect } from './tree-select';
|
|
47
47
|
export { default as Upload } from './upload';
|
|
48
48
|
export { setConfig, config, setLocale, setIcons } from '@sheinx/base';
|
|
49
|
-
export {
|
|
49
|
+
export { setToken, useToken } from '@sheinx/theme';
|
|
50
50
|
export { JssProvider, SheetsRegistry, setJssConfig } from '@sheinx/shineout-style';
|
|
51
51
|
export * as utls from './utils';
|
|
52
52
|
export * from './deprecated';
|
package/cjs/index.js
CHANGED
|
@@ -57,7 +57,6 @@ var _exportNames = {
|
|
|
57
57
|
config: true,
|
|
58
58
|
setLocale: true,
|
|
59
59
|
setIcons: true,
|
|
60
|
-
Token: true,
|
|
61
60
|
setToken: true,
|
|
62
61
|
useToken: true,
|
|
63
62
|
JssProvider: true,
|
|
@@ -331,12 +330,6 @@ Object.defineProperty(exports, "Textarea", {
|
|
|
331
330
|
return _textarea.default;
|
|
332
331
|
}
|
|
333
332
|
});
|
|
334
|
-
Object.defineProperty(exports, "Token", {
|
|
335
|
-
enumerable: true,
|
|
336
|
-
get: function get() {
|
|
337
|
-
return _theme.Token;
|
|
338
|
-
}
|
|
339
|
-
});
|
|
340
333
|
Object.defineProperty(exports, "Tooltip", {
|
|
341
334
|
enumerable: true,
|
|
342
335
|
get: function get() {
|
|
@@ -480,6 +473,8 @@ exports.TYPE = _TYPE;
|
|
|
480
473
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
481
474
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
482
475
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
476
|
+
// 此文件由脚本自动生成,请勿直接修改。
|
|
477
|
+
// This file was generated automatically by a script. Please do not modify it directly.
|
|
483
478
|
var _default = exports.default = {
|
|
484
|
-
version: '3.0.
|
|
479
|
+
version: '3.0.3'
|
|
485
480
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { SelectPropsBase as Props } from './select.type';
|