bhd-components 0.2.1 → 0.2.3

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.
@@ -54,6 +54,10 @@
54
54
  &:last-child {
55
55
  padding-right: 40px;
56
56
  }
57
+ /* 多选框 距右的距离 */
58
+ &.bhd-table-selection-column {
59
+ padding-inline-end: 16px;
60
+ }
57
61
  }
58
62
  }
59
63
  }
@@ -67,6 +71,59 @@
67
71
  .bhd-table-tbody > tr.bhd-table-row-selected > td {
68
72
  background: #ffffff;
69
73
  }
74
+
75
+ /* scroll 固定列 设置overflow:hidden 阴影消失问题 */
76
+ .bhd-table-cell-fix-left-first::after,
77
+ .bhd-table-cell-fix-left-last::after {
78
+ right: 2px;
79
+ }
80
+ .bhd-table-cell-fix-right-first::after,
81
+ .bhd-table-cell-fix-right-last::after {
82
+ left: 2px;
83
+ }
84
+ }
85
+ /* 分页器 */
86
+ .bhd-pagination {
87
+ .bhd-pagination-item {
88
+ border-color: transparent;
89
+ }
90
+ .bhd-pagination-item-link {
91
+ border: none !important;
92
+ background: none !important;
93
+ }
94
+ .bhd-pagination-item-active {
95
+ background-color: #f4523b;
96
+ &:hover {
97
+ background-color: #ff7d66;
98
+ & > a {
99
+ color: #ffffff;
100
+ }
101
+ }
102
+ & > a {
103
+ color: #ffffff;
104
+ }
105
+ }
106
+ &.bhd-pagination-disabled {
107
+ .bhd-pagination-item {
108
+ border: none !important;
109
+ background: none !important;
110
+ color: rgba(0, 0, 0, 0.25) !important;
111
+ a {
112
+ color: rgba(0, 0, 0, 0.25) !important;
113
+ }
114
+ }
115
+ }
116
+
117
+ &.bhd-pagination-mini {
118
+ .bhd-pagination-item {
119
+ margin-right: 8px !important;
120
+ }
121
+ .bhd-pagination-item:not(.bhd-pagination-item-active) {
122
+ &:hover {
123
+ background-color: transparent !important;
124
+ }
125
+ }
126
+ }
70
127
  }
71
128
  }
72
129
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "组件功能描述",
5
5
  "files": [
6
6
  "esm",
@@ -45,11 +45,13 @@
45
45
  "component"
46
46
  ],
47
47
  "dependencies": {
48
+ "@ant-design/icons": "^5.0.1",
48
49
  "@ice/jsx-runtime": "^0.2.0",
49
50
  "@swc/helpers": "^0.4.14",
50
- "antd": "^5.2.3",
51
+ "antd": "^5.4.6",
51
52
  "less": "^4.1.3",
52
- "less-loader": "^11.1.0"
53
+ "less-loader": "^11.1.0",
54
+ "raw-loader": "^4.0.2"
53
55
  },
54
56
  "devDependencies": {
55
57
  "@ice/pkg": "^1.0.0",