@sheinx/shineout-style 3.9.10 → 3.9.11-beta.10

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.
Files changed (45) hide show
  1. package/cjs/button/button-group.d.ts +5 -0
  2. package/cjs/button/button-group.d.ts.map +1 -0
  3. package/cjs/button/button-group.js +274 -0
  4. package/cjs/button/button.d.ts.map +1 -1
  5. package/cjs/button/button.js +0 -303
  6. package/cjs/button/index.d.ts +3 -0
  7. package/cjs/button/index.d.ts.map +1 -1
  8. package/cjs/button/index.js +9 -1
  9. package/cjs/jss-style/index.d.ts +1 -0
  10. package/cjs/jss-style/index.d.ts.map +1 -1
  11. package/cjs/jss-style/index.js +2 -2
  12. package/cjs/list/list.d.ts.map +1 -1
  13. package/cjs/list/list.js +4 -1
  14. package/cjs/menu/menu.d.ts.map +1 -1
  15. package/cjs/menu/menu.js +8 -5
  16. package/cjs/modal/modal.js +4 -4
  17. package/cjs/popover/popover.js +1 -1
  18. package/cjs/table/table.d.ts.map +1 -1
  19. package/cjs/table/table.js +15 -29
  20. package/cjs/version.d.ts +1 -1
  21. package/cjs/version.d.ts.map +1 -1
  22. package/cjs/version.js +1 -1
  23. package/esm/button/button-group.d.ts +5 -0
  24. package/esm/button/button-group.d.ts.map +1 -0
  25. package/esm/button/button-group.js +267 -0
  26. package/esm/button/button.d.ts.map +1 -1
  27. package/esm/button/button.js +0 -303
  28. package/esm/button/index.d.ts +3 -0
  29. package/esm/button/index.d.ts.map +1 -1
  30. package/esm/button/index.js +3 -0
  31. package/esm/jss-style/index.d.ts +1 -0
  32. package/esm/jss-style/index.d.ts.map +1 -1
  33. package/esm/jss-style/index.js +1 -1
  34. package/esm/list/list.d.ts.map +1 -1
  35. package/esm/list/list.js +4 -1
  36. package/esm/menu/menu.d.ts.map +1 -1
  37. package/esm/menu/menu.js +8 -5
  38. package/esm/modal/modal.js +4 -4
  39. package/esm/popover/popover.js +1 -1
  40. package/esm/table/table.d.ts.map +1 -1
  41. package/esm/table/table.js +15 -29
  42. package/esm/version.d.ts +1 -1
  43. package/esm/version.d.ts.map +1 -1
  44. package/esm/version.js +1 -1
  45. package/package.json +3 -3
@@ -35,172 +35,6 @@ var button = function button(type, styles) {
35
35
  }
36
36
  };
37
37
  };
38
- var beforeLine = function beforeLine() {
39
- return {
40
- '&::before': {
41
- position: 'absolute',
42
- content: '" "',
43
- height: 'calc(50% - 2px)',
44
- top: 'calc(25% + 1px)',
45
- width: 1,
46
- background: Token.buttonSplitlineFullBackgroundColor
47
- },
48
- '&[dir=ltr]::before': {
49
- left: -1
50
- },
51
- '&[dir=rtl]::before': {
52
- right: -1
53
- },
54
- '&$dashed:hover': {
55
- '&::before': {
56
- height: '100%',
57
- top: 0,
58
- bottom: 0,
59
- borderLeft: '1px dashed currentColor',
60
- background: 'none'
61
- },
62
- // 使用 ::after 在右侧创建分割线,颜色使用当前按钮的 currentColor
63
- '&:not(:last-child)::after': {
64
- content: '" "',
65
- position: 'absolute',
66
- height: '100%',
67
- top: 0,
68
- width: 1,
69
- borderLeft: '1px dashed currentColor',
70
- background: 'none',
71
- zIndex: 1
72
- },
73
- '&:not(:last-child)[dir=ltr]::after': {
74
- right: -1
75
- },
76
- '&:not(:last-child)[dir=rtl]::after': {
77
- left: -1
78
- },
79
- // 隐藏相邻按钮的左侧分割线,因为已经被 ::after 覆盖了
80
- '& + $button::before': {
81
- opacity: 0
82
- }
83
- },
84
- '&:not($disabled):not($dashed):hover': {
85
- '&::before': {
86
- background: 'transparent'
87
- },
88
- '& + $button,& + * $button': {
89
- '&::before': {
90
- background: 'transparent'
91
- }
92
- }
93
- }
94
- };
95
- };
96
- var outlineBeforeLine = function outlineBeforeLine(type, styles) {
97
- return {
98
- '&::before': {
99
- position: 'absolute',
100
- content: '" "',
101
- height: 'calc(50% - 2px)',
102
- top: 'calc(25% + 1px)',
103
- width: 1,
104
- background: Token["button".concat(type).concat(styles, "BorderColor")]
105
- },
106
- '&[dir=ltr]::before': {
107
- left: -1
108
- },
109
- '&[dir=rtl]::before': {
110
- right: -1
111
- },
112
- '&:not(:disabled):hover': {
113
- // before
114
- '&::before': {
115
- height: 'calc(100% + 1.8px)',
116
- top: -0.8,
117
- left: -1,
118
- width: 1,
119
- background: Token["button".concat(type).concat(styles, "HoverBorderColor")]
120
- },
121
- '& + $button,& + * $button': {
122
- '&::before': {
123
- height: 'calc(100% + 1.8px)',
124
- top: -0.8,
125
- left: -1,
126
- width: 1,
127
- background: Token["button".concat(type).concat(styles, "HoverBorderColor")]
128
- }
129
- },
130
- // active
131
- '&:active': {
132
- '&::before': {
133
- background: Token["button".concat(type).concat(styles, "ActiveBorderColor")]
134
- },
135
- '& + $button,& + * $button': {
136
- '&::before': {
137
- background: Token["button".concat(type).concat(styles, "ActiveBorderColor")]
138
- }
139
- }
140
- }
141
- },
142
- '&$primary,&$success,&$warning,&$danger,$secondary': {
143
- '&::before': {
144
- height: 'calc(100% + 2px)',
145
- top: -1,
146
- left: -1,
147
- width: 1,
148
- bottom: -1,
149
- background: "".concat(Token["button".concat(type).concat(styles, "BorderColor")])
150
- },
151
- '& + :not(&)': {
152
- '&::before': {
153
- height: 'calc(100% + 2px)',
154
- top: -1,
155
- left: -1,
156
- width: 1,
157
- bottom: -1,
158
- background: Token["button".concat(type).concat(styles, "BorderColor")]
159
- }
160
- },
161
- '&:disabled': {
162
- '&::before': {
163
- background: Token["button".concat(type).concat(styles, "DisabledBorderColor")]
164
- },
165
- '& + :not(&)': {
166
- '&::before': {
167
- background: Token["button".concat(type).concat(styles, "DisabledBorderColor")]
168
- }
169
- }
170
- }
171
- }
172
- };
173
- };
174
- var textBeforeLine = function textBeforeLine() {
175
- return {
176
- '&::before': {
177
- transition: 'all 0.3s',
178
- position: 'absolute',
179
- content: '" "',
180
- height: 'calc(50% - 2px)',
181
- top: 'calc(25% + 1px)',
182
- width: 1,
183
- background: Token.buttonSplitlineOutlineBackgroundColor
184
- },
185
- '&[dir=ltr]::before': {
186
- left: -1
187
- },
188
- '&[dir=rtl]::before': {
189
- right: -1
190
- },
191
- '&:not($disabled):hover': {
192
- '&::before': {
193
- background: 'transparent'
194
- },
195
- '& + $button,& + * $button': {
196
- '&::before': {
197
- background: 'transparent'
198
- }
199
- }
200
- }
201
- };
202
- };
203
-
204
38
  // const loading = (type: ButtonTypeWithoutLink, styles: ButtonStyleType) => {
205
39
  // const buttonStyle = button(type, styles);
206
40
 
@@ -384,143 +218,6 @@ var ButtonStyle = {
384
218
  // ...loading('Secondary', ''),
385
219
  // },
386
220
  },
387
- groupItem: {},
388
- group: {
389
- // 2.x 之前非 inline-block
390
- display: 'inline-flex',
391
- // 处理 dropdown 下的 button
392
- '& [data-role="dropdown"]': {
393
- '& $button': {
394
- height: '100%'
395
- },
396
- '& [data-role="caret"]': {
397
- margin: 0
398
- }
399
- },
400
- '& > :first-child$button,& > :first-child $button': {
401
- '&::before': {
402
- display: 'none'
403
- }
404
- },
405
- // 第一个元素下的所有 button 标签的元素
406
- '& > :first-child:not(:last-child)$button,& > :first-child:not(:last-child) $button': {
407
- '&[dir=ltr]': {
408
- borderTopRightRadius: 0,
409
- borderBottomRightRadius: 0,
410
- borderRight: 'none'
411
- },
412
- '&[dir=rtl]': {
413
- borderTopLeftRadius: 0,
414
- borderBottomLeftRadius: 0,
415
- borderRight: 'none'
416
- }
417
- },
418
- // 最后一个元素下的所有 button 标签的元素
419
- '& > :last-child:not(:first-child)$button,& > :last-child:not(:first-child) $button': {
420
- '&[dir=ltr]': {
421
- borderTopLeftRadius: 0,
422
- borderBottomLeftRadius: 0,
423
- borderLeft: 'none'
424
- },
425
- '&[dir=rtl]': {
426
- borderTopRightRadius: 0,
427
- borderBottomRightRadius: 0,
428
- borderLeft: 'none'
429
- }
430
- },
431
- '& > :not(:first-child):not(:last-child)$button,& > :not(:first-child):not(:last-child) $button': {
432
- borderRadius: 0,
433
- borderLeft: 'none',
434
- borderRight: 'none'
435
- },
436
- // 填充型 button
437
- '& $button:not($outline):not($text)': {
438
- position: 'relative',
439
- '&::before': {
440
- transition: 'all 0.3s'
441
- },
442
- // secondary 比较特殊,单独拎出来写覆盖掉 &::before
443
- '&$secondary': _objectSpread(_objectSpread({}, beforeLine()), {}, {
444
- '&::before': {
445
- position: 'absolute',
446
- content: '" "',
447
- height: 'calc(50% - 2px)',
448
- top: 'calc(25% + 1px)',
449
- width: 1,
450
- background: Token.buttonSplitlineOutlineBackgroundColor,
451
- transition: 'none'
452
- },
453
- '&[dir=ltr]::before': {
454
- left: -1
455
- },
456
- '&[dir=rtl]::before': {
457
- right: -1
458
- },
459
- '& + :not(&),& + * $button:not(&)': {
460
- '&::before': {
461
- background: 'transparent'
462
- }
463
- },
464
- '& + $groupItem $button:not(&)': {
465
- '&::before': {
466
- background: 'transparent'
467
- }
468
- }
469
- }),
470
- // primary, success, warning, danger 分割线样式
471
- '&$primary,&$success,&$warning,&$danger': _objectSpread({}, beforeLine()),
472
- // priamry success warning danger secondary 两两之间如果不是紧挨着,则去除中间的分割线
473
- '&$primary,&$success,&$warning,&$danger,$secondary': {
474
- '& + :not(&),& + * $button:not(&)': {
475
- '&::before': {
476
- background: 'transparent'
477
- }
478
- },
479
- '& + $button:not(&)': {
480
- '&::before': {
481
- background: 'transparent'
482
- }
483
- }
484
- }
485
- },
486
- // outline 型 button
487
- '& $outline': {
488
- position: 'relative',
489
- '&::before': {
490
- transition: 'all 0.3s'
491
- },
492
- // secondary 比较特殊,单独拎出来写覆盖掉 &::before
493
- '&$secondary': _objectSpread(_objectSpread({}, outlineBeforeLine('Secondary', 'Outline')), {}, {
494
- '&::before': {
495
- position: 'absolute',
496
- content: '" "',
497
- height: 'calc(50% - 2px)',
498
- top: 'calc(25% + 1px)',
499
- width: 1,
500
- background: Token.buttonSplitlineOutlineBackgroundColor // Neutral-border-1
501
- },
502
- '&[dir=ltr]::before': {
503
- left: -1
504
- },
505
- '&[dir=rtl]::before': {
506
- right: -1
507
- }
508
- }),
509
- '&$primary': _objectSpread({}, outlineBeforeLine('Primary', 'Outline')),
510
- '&$success': _objectSpread({}, outlineBeforeLine('Success', 'Outline')),
511
- '&$warning': _objectSpread({}, outlineBeforeLine('Warning', 'Outline')),
512
- '&$danger': _objectSpread({}, outlineBeforeLine('Danger', 'Outline'))
513
- },
514
- // text 型 button
515
- '& $text': _objectSpread({
516
- position: 'relative'
517
- }, textBeforeLine()),
518
- // dashed 型 button
519
- '&$dashed': {
520
- position: 'relative',
521
- borderStyle: 'none'
522
- }
523
- },
524
221
  spin: {
525
222
  display: 'inline-block',
526
223
  marginRight: Token.buttonSpinMargin,
@@ -1,5 +1,8 @@
1
1
  import buttonStyle from './button';
2
+ import buttonGroupStyle from './button-group';
2
3
  declare const useButtonStyle: () => import("jss").Classes<keyof import("@sheinx/base").ButtonClasses>;
4
+ declare const useButtonGroupStyle: () => import("jss").Classes<keyof import("@sheinx/base").ButtonGroupClasses>;
3
5
  export { buttonStyle, useButtonStyle };
6
+ export { buttonGroupStyle, useButtonGroupStyle };
4
7
  export default useButtonStyle;
5
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,UAAU,CAAC;AAEnC,QAAA,MAAM,cAAc,yEAAgC,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AACvC,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,UAAU,CAAC;AACnC,OAAO,gBAAgB,MAAM,gBAAgB,CAAC;AAE9C,QAAA,MAAM,cAAc,yEAAgC,CAAC;AACrD,QAAA,MAAM,mBAAmB,8EAA2C,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;AACjD,eAAe,cAAc,CAAC"}
@@ -1,6 +1,9 @@
1
1
  "use client";
2
2
  import { styled } from "../jss-style";
3
3
  import buttonStyle from "./button";
4
+ import buttonGroupStyle from "./button-group";
4
5
  var useButtonStyle = styled(buttonStyle, 'button');
6
+ var useButtonGroupStyle = styled(buttonGroupStyle, 'button-group');
5
7
  export { buttonStyle, useButtonStyle };
8
+ export { buttonGroupStyle, useButtonGroupStyle };
6
9
  export default useButtonStyle;
@@ -1,6 +1,7 @@
1
1
  import { JssProvider, SheetsRegistry, jss } from 'react-jss';
2
2
  import { JssStyle, GenerateId, Classes } from 'jss';
3
3
  export { JssProvider, SheetsRegistry, jss };
4
+ export declare const prefix = "soui";
4
5
  export declare const setJssConfig: (newConfig: {
5
6
  generateId?: GenerateId;
6
7
  styleAttributes?: Record<string, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,WAAW,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAIpD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC;AAQ5C,eAAO,MAAM,YAAY,cAAe;IACtC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C,SAEA,CAAC;AAEF,eAAO,MAAM,YAAY;;;CAAe,CAAC;AAezC,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAIzF;AAiBD,MAAM,MAAM,QAAQ,CAAC,IAAI,SAAS,MAAM,GAAG,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,CAAC;AAEhG,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI;KACrD,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,MAAM,6CAA8C,MAAM,qBAsCtE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,WAAW,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAIpD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC;AAC5C,eAAO,MAAM,MAAM,SAAS,CAAC;AAO7B,eAAO,MAAM,YAAY,cAAe;IACtC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C,SAEA,CAAC;AAEF,eAAO,MAAM,YAAY;;;CAAe,CAAC;AAezC,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAIzF;AAiBD,MAAM,MAAM,QAAQ,CAAC,IAAI,SAAS,MAAM,GAAG,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,CAAC;AAEhG,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI;KACrD,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,MAAM,6CAA8C,MAAM,qBAsCtE,CAAC"}
@@ -9,7 +9,7 @@ import { createUseStyles, JssProvider, SheetsRegistry, jss } from 'react-jss';
9
9
  import handleStyle from "./handleStyle";
10
10
  import version from "../version";
11
11
  export { JssProvider, SheetsRegistry, jss };
12
- var prefix = 'soui';
12
+ export var prefix = 'soui';
13
13
  var config = {};
14
14
  export var setJssConfig = function setJssConfig(newConfig) {
15
15
  Object.assign(config, newConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.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;AAE9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CA6HtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.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;AAE9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAgItC,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/esm/list/list.js CHANGED
@@ -82,7 +82,10 @@ var listStyle = {
82
82
  minWidth: 0
83
83
  },
84
84
  pagination: {
85
- margin: "".concat(token.listPaginationMarginY, " 0")
85
+ marginTop: token.listPaginationMarginTop,
86
+ marginBottom: token.listPaginationMarginBottom,
87
+ marginLeft: 0,
88
+ marginRight: 0
86
89
  },
87
90
  // baseItem
88
91
  baseItem: {
@@ -1 +1 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAM9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CA8iBtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAM9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAijBtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/esm/menu/menu.js CHANGED
@@ -77,15 +77,18 @@ var menuStyle = {
77
77
  },
78
78
  popArrow: {
79
79
  '&&&': {
80
- boxShadow: '0 2px 8px rgba(0, 0, 0, 0.15)',
81
- width: '6px',
82
- height: '6px'
80
+ filter: 'drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15))',
81
+ '&::before': {
82
+ backgroundColor: token.menuItemBackgroundColor
83
+ }
83
84
  }
84
85
  },
85
86
  popArrowDark: {
86
87
  '&&&': {
87
- backgroundColor: token.menuDarkItemBackgroundColor,
88
- boxShadow: '0 2px 8px rgba(0, 0, 0, 0.15)'
88
+ filter: 'drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15))',
89
+ '&::before': {
90
+ backgroundColor: token.menuDarkItemBackgroundColor
91
+ }
89
92
  }
90
93
  },
91
94
  scrollbox: {
@@ -270,26 +270,26 @@ var modalStyle = _objectSpread(_objectSpread({
270
270
  }
271
271
  },
272
272
  wrapperDrawerLeft: {
273
- '& $panel': {
273
+ '& > $mask > $panel': {
274
274
  left: 0,
275
275
  height: '100vh'
276
276
  }
277
277
  },
278
278
  wrapperDrawerRight: {
279
- '& $panel': {
279
+ '& > $mask > $panel': {
280
280
  right: 0,
281
281
  height: '100vh'
282
282
  }
283
283
  },
284
284
  wrapperDrawerTop: {
285
- '& $panel': {
285
+ '& > $mask > $panel': {
286
286
  top: 0,
287
287
  left: 0,
288
288
  width: '100vw'
289
289
  }
290
290
  },
291
291
  wrapperDrawerBottom: {
292
- '& $panel': {
292
+ '& > $mask > $panel': {
293
293
  bottom: 0,
294
294
  left: 0,
295
295
  width: '100vw'
@@ -37,7 +37,7 @@ var popoverStyle = _objectSpread(_objectSpread({}, tooltipAnimation), {}, {
37
37
  bottom: 0,
38
38
  width: '100%',
39
39
  height: '100%',
40
- backgroundColor: token.popoverBackgroundColor,
40
+ backgroundColor: "var(--popover-background-color, ".concat(token.popoverBackgroundColor, ")"),
41
41
  clipPath: "path('".concat(arrowClipPath, "')")
42
42
  }
43
43
  },
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CA+oBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CA6nBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -42,23 +42,11 @@ var tableStyle = _objectSpread(_objectSpread({
42
42
  wordBreak: 'break-all',
43
43
  position: 'relative',
44
44
  borderBottom: "1px solid ".concat(token.tableCellBorderColor),
45
+ borderRight: "var(--table-cell-border-width, 0px) solid ".concat(token.tableCellBorderColor),
45
46
  boxSizing: 'border-box',
46
47
  lineHeight: token.lineHeightDynamic,
47
- '$bordered&': {
48
- '&::after': {
49
- content: '""',
50
- position: 'absolute',
51
- zIndex: cellBaseIndex,
52
- top: 0,
53
- bottom: 0,
54
- borderLeft: "1px solid ".concat(token.tableCellBorderColor)
55
- },
56
- '[dir=ltr]&::after': {
57
- right: 0
58
- },
59
- '[dir=rtl]&::after': {
60
- left: 0
61
- }
48
+ '&$cellIgnoreBorder': {
49
+ borderRight: 'none'
62
50
  }
63
51
  },
64
52
  '& td': {
@@ -141,6 +129,7 @@ var tableStyle = _objectSpread(_objectSpread({
141
129
  borderRight: "1px solid ".concat(token.tableCellBorderColor),
142
130
  borderBottom: 'none',
143
131
  borderTop: 'none',
132
+ '--table-cell-border-width': '1px',
144
133
  '&::before': {
145
134
  position: 'absolute',
146
135
  zIndex: fixedFixedIndex + 3,
@@ -310,12 +299,12 @@ var tableStyle = _objectSpread(_objectSpread({
310
299
  }
311
300
  },
312
301
  cellHover: {
313
- 'table tbody td&&': {
302
+ 'table tbody td&': {
314
303
  background: "".concat(token.tableTbodyHoverBackgroundColor)
315
304
  }
316
305
  },
317
306
  rowHover: {
318
- '&&:hover td': {
307
+ '&:hover > td': {
319
308
  transition: 'background-color 0.2s',
320
309
  background: "".concat(token.tableTbodyHoverBackgroundColor)
321
310
  }
@@ -564,11 +553,7 @@ var tableStyle = _objectSpread(_objectSpread({
564
553
  opacity: 0
565
554
  }
566
555
  },
567
- cellIgnoreBorder: {
568
- '&::after': {
569
- display: 'none'
570
- }
571
- },
556
+ cellIgnoreBorder: {},
572
557
  cellSortable: {
573
558
  cursor: 'pointer',
574
559
  '&:hover': {
@@ -627,17 +612,17 @@ var tableStyle = _objectSpread(_objectSpread({
627
612
  alignItems: 'center'
628
613
  },
629
614
  rowStriped: {
630
- '&& td': {
615
+ 'table & > td': {
631
616
  background: token.tableTbodyStripedBackgroundColor
632
617
  }
633
618
  },
634
619
  rowChecked: {
635
- '&& td': {
620
+ 'table & > td': {
636
621
  background: token.tableTbodyActiveBackgroundColor
637
622
  }
638
623
  },
639
624
  rowExpand: {
640
- '&& > td': {
625
+ 'table & > td': {
641
626
  background: token.tableExpandBackgroundColor
642
627
  }
643
628
  },
@@ -654,10 +639,11 @@ var tableStyle = _objectSpread(_objectSpread({
654
639
  textAlign: 'left'
655
640
  },
656
641
  '$bordered&': {
657
- '& th:last-child, & td:last-child': {
658
- '&:after': {
659
- display: 'none'
660
- }
642
+ '& th:last-child[dir=ltr], & td:last-child[dir=ltr]': {
643
+ borderRight: 'none'
644
+ },
645
+ '& th:last-child[dir=rtl], & td:last-child[dir=rtl]': {
646
+ borderLeft: 'none'
661
647
  }
662
648
  },
663
649
  '& table tr:hover td': {
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.9.10";
1
+ declare const _default: "3.9.11-beta.10";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAwB"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAgC"}
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export default '3.9.10';
1
+ export default '3.9.11-beta.10';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/shineout-style",
3
- "version": "3.9.10",
3
+ "version": "3.9.11-beta.10",
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.10",
21
- "@sheinx/base": "3.9.10"
20
+ "@sheinx/theme": "3.9.11-beta.10",
21
+ "@sheinx/base": "3.9.11-beta.10"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"