shineout 3.9.18 → 3.10.0-beta.2
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/cjs/index.d.ts +1 -0
- package/cjs/index.js +9 -1
- package/cjs/type.d.ts +1 -0
- package/cjs/type.js +3 -1
- package/cjs/watermark/index.d.ts +7 -0
- package/cjs/watermark/index.js +12 -0
- package/cjs/watermark/interface.d.ts +1 -0
- package/cjs/watermark/interface.js +5 -0
- package/cjs/watermark/watermark.d.ts +3 -0
- package/cjs/watermark/watermark.js +25 -0
- package/cjs/watermark/watermark.type.d.ts +6 -0
- package/cjs/watermark/watermark.type.js +5 -0
- package/dist/shineout.js +775 -12
- 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 -0
- package/esm/index.js +2 -1
- package/esm/type.d.ts +1 -0
- package/esm/type.js +3 -1
- package/esm/watermark/index.d.ts +7 -0
- package/esm/watermark/index.js +5 -0
- package/esm/watermark/interface.d.ts +1 -0
- package/esm/watermark/interface.js +1 -0
- package/esm/watermark/watermark.d.ts +3 -0
- package/esm/watermark/watermark.js +18 -0
- package/esm/watermark/watermark.type.d.ts +6 -0
- package/esm/watermark/watermark.type.js +1 -0
- package/package.json +5 -5
package/esm/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export { default as Transfer } from './transfer';
|
|
|
49
49
|
export { default as Tree } from './tree';
|
|
50
50
|
export { default as TreeSelect } from './tree-select';
|
|
51
51
|
export { default as Upload } from './upload';
|
|
52
|
+
export { default as Watermark } from './watermark';
|
|
52
53
|
export { setConfig, config, setLocale, setIcons, icons } from '@sheinx/base';
|
|
53
54
|
export type { ConfigOption } from '@sheinx/base';
|
|
54
55
|
export { setToken, useToken } from '@sheinx/theme';
|
package/esm/index.js
CHANGED
|
@@ -53,6 +53,7 @@ export { default as Transfer } from "./transfer";
|
|
|
53
53
|
export { default as Tree } from "./tree";
|
|
54
54
|
export { default as TreeSelect } from "./tree-select";
|
|
55
55
|
export { default as Upload } from "./upload";
|
|
56
|
+
export { default as Watermark } from "./watermark";
|
|
56
57
|
export { setConfig, config, setLocale, setIcons, icons } from '@sheinx/base';
|
|
57
58
|
export { setToken, useToken } from '@sheinx/theme';
|
|
58
59
|
export { default as Tokens } from '@sheinx/theme';
|
|
@@ -63,5 +64,5 @@ export * from "./deprecated";
|
|
|
63
64
|
import * as _TYPE from "./type";
|
|
64
65
|
export { _TYPE as TYPE };
|
|
65
66
|
export default {
|
|
66
|
-
version: '3.
|
|
67
|
+
version: '3.10.0-beta.2'
|
|
67
68
|
};
|
package/esm/type.d.ts
CHANGED
package/esm/type.js
CHANGED
|
@@ -99,4 +99,6 @@ export { _Tree as Tree };
|
|
|
99
99
|
import * as _TreeSelect from "./tree-select/interface";
|
|
100
100
|
export { _TreeSelect as TreeSelect };
|
|
101
101
|
import * as _Upload from "./upload/interface";
|
|
102
|
-
export { _Upload as Upload };
|
|
102
|
+
export { _Upload as Upload };
|
|
103
|
+
import * as _Watermark from "./watermark/interface";
|
|
104
|
+
export { _Watermark as Watermark };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { WatermarkContent as Content, WatermarkFont as Font, WatermarkProps as Props, WatermarkText as Text, } from './watermark.type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { Watermark as UnStyledWatermark } from '@sheinx/base';
|
|
9
|
+
import { useWatermarkStyle } from '@sheinx/shineout-style';
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var jssStyle = {
|
|
12
|
+
watermark: useWatermarkStyle
|
|
13
|
+
};
|
|
14
|
+
export default (function (props) {
|
|
15
|
+
return /*#__PURE__*/_jsx(UnStyledWatermark, _objectSpread(_objectSpread({}, props), {}, {
|
|
16
|
+
jssStyle: jssStyle
|
|
17
|
+
}));
|
|
18
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shineout",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0-beta.2",
|
|
4
4
|
"description": "A components library for React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"module": "./esm/index.js",
|
|
17
17
|
"typings": "./cjs/index.d.ts",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@sheinx/base": "3.
|
|
20
|
-
"@sheinx/hooks": "3.
|
|
21
|
-
"@sheinx/shineout-style": "3.
|
|
22
|
-
"@sheinx/theme": "3.
|
|
19
|
+
"@sheinx/base": "3.10.0-beta.2",
|
|
20
|
+
"@sheinx/hooks": "3.10.0-beta.2",
|
|
21
|
+
"@sheinx/shineout-style": "3.10.0-beta.2",
|
|
22
|
+
"@sheinx/theme": "3.10.0-beta.2",
|
|
23
23
|
"classnames": "^2.0.0",
|
|
24
24
|
"deep-eql": "^4.0.0",
|
|
25
25
|
"immer": "^9.0.0"
|