@sheinx/shineout-style 3.1.29 → 3.1.31

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":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,CAsJ5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,CAuJ5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -108,6 +108,7 @@ var alertStyle = {
108
108
  },
109
109
  content: {
110
110
  flex: '1 1 0',
111
+ minWidth: 0,
111
112
  wordBreak: 'break-all'
112
113
  },
113
114
  pending: {
@@ -177,12 +177,17 @@ var textBeforeLine = function textBeforeLine() {
177
177
  }
178
178
  };
179
179
  };
180
- var loading = function loading(type, styles) {
181
- var buttonStyle = button(type, styles);
182
- return {
183
- '&$loading': _objectSpread({}, buttonStyle['&$disabled'])
184
- };
185
- };
180
+
181
+ // const loading = (type: ButtonTypeWithoutLink, styles: ButtonStyleType) => {
182
+ // const buttonStyle = button(type, styles);
183
+
184
+ // return {
185
+ // '&$loading': {
186
+ // ...buttonStyle['&$disabled'],
187
+ // },
188
+ // };
189
+ // };
190
+
186
191
  var ButtonStyle = {
187
192
  button: {
188
193
  outline: 'none',
@@ -303,13 +308,26 @@ var ButtonStyle = {
303
308
  cursor: 'not-allowed'
304
309
  },
305
310
  loading: {
306
- cursor: 'not-allowed',
307
- '&$default': _objectSpread({}, loading('Secondary', '')),
308
- '&$primary': _objectSpread({}, loading('Primary', '')),
309
- '&$success': _objectSpread({}, loading('Success', '')),
310
- '&$danger': _objectSpread({}, loading('Danger', '')),
311
- '&$warning': _objectSpread({}, loading('Warning', '')),
312
- '&$secondary': _objectSpread({}, loading('Secondary', ''))
311
+ cursor: 'not-allowed'
312
+
313
+ // '&$default': {
314
+ // ...loading('Secondary', ''),
315
+ // },
316
+ // '&$primary': {
317
+ // ...loading('Primary', ''),
318
+ // },
319
+ // '&$success': {
320
+ // ...loading('Success', ''),
321
+ // },
322
+ // '&$danger': {
323
+ // ...loading('Danger', ''),
324
+ // },
325
+ // '&$warning': {
326
+ // ...loading('Warning', ''),
327
+ // },
328
+ // '&$secondary': {
329
+ // ...loading('Secondary', ''),
330
+ // },
313
331
  },
314
332
  groupItem: {},
315
333
  group: {
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA4IxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAwIxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/cjs/tag/tag.js CHANGED
@@ -144,7 +144,6 @@ var TagStyle = {
144
144
  wrapper: {
145
145
  lineHeight: _theme.default.lineHeightDynamic
146
146
  },
147
- container: {},
148
147
  inline: {
149
148
  display: 'inline-block',
150
149
  flex: 1,
@@ -166,9 +165,6 @@ var TagStyle = {
166
165
  small: {
167
166
  lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)"),
168
167
  padding: "0 ".concat(_theme.default.tagSmallPaddingX),
169
- '& $container': {
170
- lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
171
- },
172
168
  '& $wrapper': {
173
169
  lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
174
170
  },
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.1.29";
1
+ declare const _default: "3.1.31";
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.1.29';
7
+ var _default = exports.default = '3.1.31';
@@ -1 +1 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,CAsJ5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,CAuJ5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -101,6 +101,7 @@ var alertStyle = {
101
101
  },
102
102
  content: {
103
103
  flex: '1 1 0',
104
+ minWidth: 0,
104
105
  wordBreak: 'break-all'
105
106
  },
106
107
  pending: {
@@ -170,12 +170,17 @@ var textBeforeLine = function textBeforeLine() {
170
170
  }
171
171
  };
172
172
  };
173
- var loading = function loading(type, styles) {
174
- var buttonStyle = button(type, styles);
175
- return {
176
- '&$loading': _objectSpread({}, buttonStyle['&$disabled'])
177
- };
178
- };
173
+
174
+ // const loading = (type: ButtonTypeWithoutLink, styles: ButtonStyleType) => {
175
+ // const buttonStyle = button(type, styles);
176
+
177
+ // return {
178
+ // '&$loading': {
179
+ // ...buttonStyle['&$disabled'],
180
+ // },
181
+ // };
182
+ // };
183
+
179
184
  var ButtonStyle = {
180
185
  button: {
181
186
  outline: 'none',
@@ -296,13 +301,26 @@ var ButtonStyle = {
296
301
  cursor: 'not-allowed'
297
302
  },
298
303
  loading: {
299
- cursor: 'not-allowed',
300
- '&$default': _objectSpread({}, loading('Secondary', '')),
301
- '&$primary': _objectSpread({}, loading('Primary', '')),
302
- '&$success': _objectSpread({}, loading('Success', '')),
303
- '&$danger': _objectSpread({}, loading('Danger', '')),
304
- '&$warning': _objectSpread({}, loading('Warning', '')),
305
- '&$secondary': _objectSpread({}, loading('Secondary', ''))
304
+ cursor: 'not-allowed'
305
+
306
+ // '&$default': {
307
+ // ...loading('Secondary', ''),
308
+ // },
309
+ // '&$primary': {
310
+ // ...loading('Primary', ''),
311
+ // },
312
+ // '&$success': {
313
+ // ...loading('Success', ''),
314
+ // },
315
+ // '&$danger': {
316
+ // ...loading('Danger', ''),
317
+ // },
318
+ // '&$warning': {
319
+ // ...loading('Warning', ''),
320
+ // },
321
+ // '&$secondary': {
322
+ // ...loading('Secondary', ''),
323
+ // },
306
324
  },
307
325
  groupItem: {},
308
326
  group: {
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA4IxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAwIxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/esm/tag/tag.js CHANGED
@@ -137,7 +137,6 @@ var TagStyle = {
137
137
  wrapper: {
138
138
  lineHeight: Token.lineHeightDynamic
139
139
  },
140
- container: {},
141
140
  inline: {
142
141
  display: 'inline-block',
143
142
  flex: 1,
@@ -159,9 +158,6 @@ var TagStyle = {
159
158
  small: {
160
159
  lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)"),
161
160
  padding: "0 ".concat(Token.tagSmallPaddingX),
162
- '& $container': {
163
- lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)")
164
- },
165
161
  '& $wrapper': {
166
162
  lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)")
167
163
  },
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.1.29";
1
+ declare const _default: "3.1.31";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export default '3.1.29';
1
+ export default '3.1.31';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/shineout-style",
3
- "version": "3.1.29",
3
+ "version": "3.1.31",
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.1.29",
21
- "@sheinx/base": "3.1.29"
20
+ "@sheinx/theme": "3.1.31",
21
+ "@sheinx/base": "3.1.31"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"