@sheinx/shineout-style 3.7.0-beta.29 → 3.7.0-beta.30

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":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAI9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CA2WtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAI9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAwYtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/cjs/tree/tree.js CHANGED
@@ -35,6 +35,19 @@ var treeStyle = {
35
35
  }
36
36
  },
37
37
  line: {
38
+ '&$virtual $node': {
39
+ '&::before, &::after': {
40
+ display: 'none'
41
+ }
42
+ },
43
+ '&$virtual $leaf $contentWrapper': {
44
+ marginLeft: 12
45
+ },
46
+ '&$virtual $leaf $contentWrapper, &$virtual $childnode$contentWrapper': {
47
+ '&::after': {
48
+ display: 'none'
49
+ }
50
+ },
38
51
  '& $node': {
39
52
  '&[dir=ltr]::before': {
40
53
  left: 0
@@ -109,8 +122,10 @@ var treeStyle = {
109
122
  }
110
123
  }
111
124
  },
112
- '&$sizeSmall $contentWrapper::after': {
113
- display: 'none'
125
+ '&$sizeSmall': {
126
+ '& $contentWrapper::after': {
127
+ display: 'none'
128
+ }
114
129
  },
115
130
  '&$sizeLarge': {
116
131
  '& $node:last-child::before': {
@@ -124,7 +139,10 @@ var treeStyle = {
124
139
  right: -32
125
140
  }
126
141
  },
127
- '& $childnode, & $leaf': {
142
+ '&:not($virtual) $childnode, &:not($virtual) $leaf': {
143
+ marginLeft: 20
144
+ },
145
+ '': {
128
146
  marginLeft: 20
129
147
  },
130
148
  '& $node': {
@@ -211,6 +229,16 @@ var treeStyle = {
211
229
  }
212
230
  }
213
231
  },
232
+ lineIndent: {
233
+ position: 'absolute',
234
+ top: 0,
235
+ width: 1,
236
+ height: '100%',
237
+ background: _theme.default.treeLineBackgroundColor,
238
+ '$sizeLarge &': {
239
+ transform: 'translateX(-4px)'
240
+ }
241
+ },
214
242
  root: {
215
243
  '& > $node': {
216
244
  paddingLeft: 12,
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.7.0-beta.29";
1
+ declare const _default: "3.7.0-beta.30";
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.7.0-beta.29';
7
+ var _default = exports.default = '3.7.0-beta.30';
@@ -1 +1 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAI9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CA2WtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAI9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAwYtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/esm/tree/tree.js CHANGED
@@ -28,6 +28,19 @@ var treeStyle = {
28
28
  }
29
29
  },
30
30
  line: {
31
+ '&$virtual $node': {
32
+ '&::before, &::after': {
33
+ display: 'none'
34
+ }
35
+ },
36
+ '&$virtual $leaf $contentWrapper': {
37
+ marginLeft: 12
38
+ },
39
+ '&$virtual $leaf $contentWrapper, &$virtual $childnode$contentWrapper': {
40
+ '&::after': {
41
+ display: 'none'
42
+ }
43
+ },
31
44
  '& $node': {
32
45
  '&[dir=ltr]::before': {
33
46
  left: 0
@@ -102,8 +115,10 @@ var treeStyle = {
102
115
  }
103
116
  }
104
117
  },
105
- '&$sizeSmall $contentWrapper::after': {
106
- display: 'none'
118
+ '&$sizeSmall': {
119
+ '& $contentWrapper::after': {
120
+ display: 'none'
121
+ }
107
122
  },
108
123
  '&$sizeLarge': {
109
124
  '& $node:last-child::before': {
@@ -117,7 +132,10 @@ var treeStyle = {
117
132
  right: -32
118
133
  }
119
134
  },
120
- '& $childnode, & $leaf': {
135
+ '&:not($virtual) $childnode, &:not($virtual) $leaf': {
136
+ marginLeft: 20
137
+ },
138
+ '': {
121
139
  marginLeft: 20
122
140
  },
123
141
  '& $node': {
@@ -204,6 +222,16 @@ var treeStyle = {
204
222
  }
205
223
  }
206
224
  },
225
+ lineIndent: {
226
+ position: 'absolute',
227
+ top: 0,
228
+ width: 1,
229
+ height: '100%',
230
+ background: Token.treeLineBackgroundColor,
231
+ '$sizeLarge &': {
232
+ transform: 'translateX(-4px)'
233
+ }
234
+ },
207
235
  root: {
208
236
  '& > $node': {
209
237
  paddingLeft: 12,
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.7.0-beta.29";
1
+ declare const _default: "3.7.0-beta.30";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export default '3.7.0-beta.29';
1
+ export default '3.7.0-beta.30';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/shineout-style",
3
- "version": "3.7.0-beta.29",
3
+ "version": "3.7.0-beta.30",
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.7.0-beta.29",
21
- "@sheinx/base": "3.7.0-beta.29"
20
+ "@sheinx/theme": "3.7.0-beta.30",
21
+ "@sheinx/base": "3.7.0-beta.30"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"