@sheinx/shineout-style 3.9.0-beta.10 → 3.9.0-beta.12

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":"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;AAkJ1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA4MxC,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;AAkJ1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAkNxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/cjs/tag/tag.js CHANGED
@@ -153,7 +153,7 @@ var TagStyle = {
153
153
  wrapper: {
154
154
  flex: 1,
155
155
  minWidth: 0,
156
- lineHeight: _theme.default.lineHeightDynamic
156
+ lineHeight: _theme.default.tagDefaultLineHeight
157
157
  },
158
158
  inline: {
159
159
  display: 'inline-block',
@@ -173,6 +173,12 @@ var TagStyle = {
173
173
  width: 14,
174
174
  height: 14
175
175
  }
176
+ },
177
+ '& $wrapper': {
178
+ lineHeight: _theme.default.tagLargeLineHeight
179
+ },
180
+ '& $closeIcon': {
181
+ height: _theme.default.tagLargeLineHeight
176
182
  }
177
183
  },
178
184
  small: {
@@ -182,10 +188,10 @@ var TagStyle = {
182
188
  fontWeight: _theme.default.tagSmallFontWeight,
183
189
  borderRadius: _theme.default.tagSmallBorderRadius,
184
190
  '& $wrapper': {
185
- lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
191
+ lineHeight: "var(".concat(_theme.default.tagSmallLineHeight, ", calc(").concat(_theme.default.tagSmallFontSize, " + 6px))")
186
192
  },
187
193
  '& $closeIcon': {
188
- height: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
194
+ height: "var(".concat(_theme.default.tagSmallLineHeight, ", calc(").concat(_theme.default.tagSmallFontSize, " + 6px))")
189
195
  },
190
196
  '& $closeIconWrapper': {
191
197
  width: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)"),
@@ -208,7 +214,7 @@ var TagStyle = {
208
214
  alignItems: 'center',
209
215
  display: 'inline-flex',
210
216
  cursor: 'pointer',
211
- height: _theme.default.lineHeightDynamic,
217
+ height: _theme.default.tagDefaultLineHeight,
212
218
  maxHeight: '100%'
213
219
  },
214
220
  closeIconWrapper: {
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.9.0-beta.10";
1
+ declare const _default: "3.9.0-beta.12";
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.9.0-beta.10';
7
+ var _default = exports.default = '3.9.0-beta.12';
@@ -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;AAkJ1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA4MxC,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;AAkJ1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAkNxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/esm/tag/tag.js CHANGED
@@ -146,7 +146,7 @@ var TagStyle = {
146
146
  wrapper: {
147
147
  flex: 1,
148
148
  minWidth: 0,
149
- lineHeight: Token.lineHeightDynamic
149
+ lineHeight: Token.tagDefaultLineHeight
150
150
  },
151
151
  inline: {
152
152
  display: 'inline-block',
@@ -166,6 +166,12 @@ var TagStyle = {
166
166
  width: 14,
167
167
  height: 14
168
168
  }
169
+ },
170
+ '& $wrapper': {
171
+ lineHeight: Token.tagLargeLineHeight
172
+ },
173
+ '& $closeIcon': {
174
+ height: Token.tagLargeLineHeight
169
175
  }
170
176
  },
171
177
  small: {
@@ -175,10 +181,10 @@ var TagStyle = {
175
181
  fontWeight: Token.tagSmallFontWeight,
176
182
  borderRadius: Token.tagSmallBorderRadius,
177
183
  '& $wrapper': {
178
- lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)")
184
+ lineHeight: "var(".concat(Token.tagSmallLineHeight, ", calc(").concat(Token.tagSmallFontSize, " + 6px))")
179
185
  },
180
186
  '& $closeIcon': {
181
- height: "calc(".concat(Token.tagSmallFontSize, " + 6px)")
187
+ height: "var(".concat(Token.tagSmallLineHeight, ", calc(").concat(Token.tagSmallFontSize, " + 6px))")
182
188
  },
183
189
  '& $closeIconWrapper': {
184
190
  width: "calc(".concat(Token.tagSmallFontSize, " + 6px)"),
@@ -201,7 +207,7 @@ var TagStyle = {
201
207
  alignItems: 'center',
202
208
  display: 'inline-flex',
203
209
  cursor: 'pointer',
204
- height: Token.lineHeightDynamic,
210
+ height: Token.tagDefaultLineHeight,
205
211
  maxHeight: '100%'
206
212
  },
207
213
  closeIconWrapper: {
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.9.0-beta.10";
1
+ declare const _default: "3.9.0-beta.12";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export default '3.9.0-beta.10';
1
+ export default '3.9.0-beta.12';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/shineout-style",
3
- "version": "3.9.0-beta.10",
3
+ "version": "3.9.0-beta.12",
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.9.0-beta.10",
21
- "@sheinx/base": "3.9.0-beta.10"
20
+ "@sheinx/theme": "3.9.0-beta.12",
21
+ "@sheinx/base": "3.9.0-beta.12"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"