@douyinfe/semi-ui 2.19.0-alpha.0 → 2.19.0-alpha.1

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.
@@ -136,6 +136,7 @@ class CheckboxGroup extends BaseComponent<CheckboxGroupProps, CheckboxGroupState
136
136
  disabled={this.props.disabled}
137
137
  value={option}
138
138
  prefixCls={prefixCls}
139
+ type={type}
139
140
  >
140
141
  {option}
141
142
  </Checkbox>
@@ -152,6 +153,7 @@ class CheckboxGroup extends BaseComponent<CheckboxGroupProps, CheckboxGroupState
152
153
  className={option.className}
153
154
  style={option.style}
154
155
  onChange={option.onChange}
156
+ type={type}
155
157
  >
156
158
  {option.label}
157
159
  </Checkbox>
package/dist/css/semi.css CHANGED
@@ -15309,6 +15309,7 @@ body {
15309
15309
  .semi-select-option-icon {
15310
15310
  width: 12px;
15311
15311
  color: transparent;
15312
+ visibility: hidden;
15312
15313
  margin-right: 8px;
15313
15314
  display: flex;
15314
15315
  justify-content: center;
@@ -15349,6 +15350,7 @@ body {
15349
15350
  font-weight: 600;
15350
15351
  }
15351
15352
  .semi-select-option-selected .semi-select-option-icon {
15353
+ visibility: visible;
15352
15354
  color: var(--semi-color-text-2);
15353
15355
  }
15354
15356
  .semi-select-option-focused {
@@ -17393,14 +17395,10 @@ body {
17393
17395
  display: inline-block;
17394
17396
  width: 16px;
17395
17397
  height: 16px;
17398
+ cursor: pointer;
17396
17399
  vertical-align: middle;
17397
17400
  text-align: center;
17398
17401
  }
17399
- .semi-table .semi-table-column-sorter-wrapper {
17400
- display: inline-flex;
17401
- align-items: center;
17402
- cursor: pointer;
17403
- }
17404
17402
  .semi-table .semi-table-column-sorter-up, .semi-table .semi-table-column-sorter-down {
17405
17403
  height: 0;
17406
17404
  display: block;
@@ -17423,11 +17421,11 @@ body {
17423
17421
  display: inline-flex;
17424
17422
  cursor: pointer;
17425
17423
  color: var(--semi-color-text-2);
17426
- align-items: center;
17424
+ vertical-align: middle;
17427
17425
  }
17428
17426
  .semi-table .semi-table-column-filter svg {
17429
- width: 16px;
17430
- height: 16px;
17427
+ width: 12px;
17428
+ height: 12px;
17431
17429
  }
17432
17430
  .semi-table .semi-table-column-filter.on {
17433
17431
  color: var(--semi-color-primary);
@@ -19499,9 +19497,6 @@ body {
19499
19497
  .semi-tree-option-list .semi-tree-option-label .semi-checkbox {
19500
19498
  margin-right: 8px;
19501
19499
  }
19502
- .semi-tree-option-list .semi-tree-option-label .semi-checkbox-addon > .semi-icon {
19503
- margin-right: 8px;
19504
- }
19505
19500
  .semi-tree-option-list .semi-tree-option-label-text {
19506
19501
  display: block;
19507
19502
  flex: 1;
@@ -19734,11 +19729,9 @@ body {
19734
19729
  .semi-tree-option-list-block .semi-tree-option-selected:hover, .semi-tree-option-list-block .semi-tree-option-selected:active {
19735
19730
  background-color: var(--semi-color-primary-light-default);
19736
19731
  }
19737
- .semi-tree-option-list-block .semi-tree-option-label-text {
19738
- padding: 0;
19739
- }
19740
19732
  .semi-tree-option-list-block .semi-tree-option-label-text,
19741
19733
  .semi-tree-option-list-block .semi-tree-option .semi-checkbox-addon {
19734
+ padding: 0;
19742
19735
  border-radius: var(--semi-border-radius-small);
19743
19736
  }
19744
19737
  .semi-tree-option-list-block .semi-tree-option-label-text:hover,