@sheinx/shineout-style 3.6.0-beta.8 → 3.6.0-beta.9

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.
@@ -1 +1 @@
1
- {"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAiJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAYxC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAmJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -6,8 +6,34 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _theme = _interopRequireDefault(require("@sheinx/theme"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
- var formItemStyle = {
10
- rootClass: {},
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ 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; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
14
+ 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); }
15
+ var animations = {
16
+ '@keyframes appear': {
17
+ '0%': {
18
+ transform: 1
19
+ },
20
+ '25%': {
21
+ opacity: 0.5
22
+ },
23
+ '50%': {
24
+ opacity: 1
25
+ },
26
+ '75%': {
27
+ opacity: 0.5
28
+ },
29
+ '100%': {
30
+ transform: 1
31
+ }
32
+ }
33
+ };
34
+ var formItemStyle = _objectSpread(_objectSpread({
35
+ rootClass: {}
36
+ }, animations), {}, {
11
37
  wrapper: {
12
38
  display: 'flex',
13
39
  alignItems: 'flex-start',
@@ -138,7 +164,8 @@ var formItemStyle = {
138
164
  lineHeight: _theme.default.lineHeightDynamic,
139
165
  minHeight: _theme.default.formItemTipMinHeight,
140
166
  fontSize: _theme.default.formItemDangerFontSize,
141
- fontWeight: _theme.default.formItemDangerFontWeight
167
+ fontWeight: _theme.default.formItemDangerFontWeight,
168
+ animation: '$appear 1s ease-in-out forwards'
142
169
  // flexBasis: '100%',
143
170
  // width: 0,
144
171
  },
@@ -151,5 +178,5 @@ var formItemStyle = {
151
178
  marginTop: _theme.default.formItemTipMarginTop,
152
179
  width: '100%'
153
180
  }
154
- };
181
+ });
155
182
  var _default = exports.default = formItemStyle;
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.6.0-beta.8";
1
+ declare const _default: "3.6.0-beta.9";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
package/cjs/version.js CHANGED
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '3.6.0-beta.8';
7
+ var _default = exports.default = '3.6.0-beta.9';
@@ -1 +1 @@
1
- {"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAiJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAYxC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAmJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,6 +1,32 @@
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); }
1
7
  import token from '@sheinx/theme';
2
- var formItemStyle = {
3
- rootClass: {},
8
+ var animations = {
9
+ '@keyframes appear': {
10
+ '0%': {
11
+ transform: 1
12
+ },
13
+ '25%': {
14
+ opacity: 0.5
15
+ },
16
+ '50%': {
17
+ opacity: 1
18
+ },
19
+ '75%': {
20
+ opacity: 0.5
21
+ },
22
+ '100%': {
23
+ transform: 1
24
+ }
25
+ }
26
+ };
27
+ var formItemStyle = _objectSpread(_objectSpread({
28
+ rootClass: {}
29
+ }, animations), {}, {
4
30
  wrapper: {
5
31
  display: 'flex',
6
32
  alignItems: 'flex-start',
@@ -131,7 +157,8 @@ var formItemStyle = {
131
157
  lineHeight: token.lineHeightDynamic,
132
158
  minHeight: token.formItemTipMinHeight,
133
159
  fontSize: token.formItemDangerFontSize,
134
- fontWeight: token.formItemDangerFontWeight
160
+ fontWeight: token.formItemDangerFontWeight,
161
+ animation: '$appear 1s ease-in-out forwards'
135
162
  // flexBasis: '100%',
136
163
  // width: 0,
137
164
  },
@@ -144,5 +171,5 @@ var formItemStyle = {
144
171
  marginTop: token.formItemTipMarginTop,
145
172
  width: '100%'
146
173
  }
147
- };
174
+ });
148
175
  export default formItemStyle;
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.6.0-beta.8";
1
+ declare const _default: "3.6.0-beta.9";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export default '3.6.0-beta.8';
1
+ export default '3.6.0-beta.9';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/shineout-style",
3
- "version": "3.6.0-beta.8",
3
+ "version": "3.6.0-beta.9",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,8 +17,8 @@
17
17
  "dependencies": {
18
18
  "jss": "10.9.2",
19
19
  "react-jss": "10.9.2",
20
- "@sheinx/theme": "3.6.0-beta.8",
21
- "@sheinx/base": "3.6.0-beta.8"
20
+ "@sheinx/theme": "3.6.0-beta.9",
21
+ "@sheinx/base": "3.6.0-beta.9"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"