@befe/brick-comp-tabs 0.2.117 → 0.2.119
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.
- package/CHANGELOG.md +120 -0
- package/es/index.css +5 -5
- package/es/tabs.js +1 -1
- package/package.json +11 -11
- package/src/style.scss +6 -6
- package/src/tabs.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,126 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 0.2.119 (2026-07-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* 21/11/09 走查问题修复 ([9b9d5dd](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9b9d5dd82d928d02c7fe4c5625fdb3ab213557e7))
|
|
12
|
+
* button group 的选中值修改 ([081d3a9](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/081d3a93a3ce5bf8c48a5c698c027bd62b4e5118))
|
|
13
|
+
* card tab focus 宽度跳跃 ([7e3cc50](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/7e3cc50fd7640a9f5c9c14d9b2b6ac33ad2be459))
|
|
14
|
+
* ellipsis 切换tab的边界问题 ([9edaa73](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9edaa73244ef1773556c7f09672ecc28219c3868))
|
|
15
|
+
* **tabs:** 从分组样式中分离 :focus-visible 的写法改为字面写法 ([6e7764e](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/6e7764e8a5342882aa3a8e3a02fc143b581024e2))
|
|
16
|
+
* **tabs:** 修正 props.triggerType type ([ba480bc](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/ba480bcfef1c021dec0b7d6fedf8cc88c5219721))
|
|
17
|
+
* **tabs:** 修正 type card 收起到更多的宽度计算,考虑相邻两 tabs 有 border 重叠,解决 “type card 在容器宽度足够情况下也总是将最后一个收起” 问题 ([a3bffe7](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a3bffe74fbf20f9637904ab0f14f34a1a04f2867))
|
|
18
|
+
* **tabs:** 修正 updateWidth() 关于 “tabs 长度不变不重新计算” 的判断,因为 tab 的宽度会因动态的 tab 内容变化 ([9d70e18](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9d70e1867958e1f6dba3464412fed528320deb33))
|
|
19
|
+
* **tabs:** 测试用例编写过程中发现的问题修复 ([5f02518](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/5f02518d4fc870de262157f8d61c769e8f6cfa26))
|
|
20
|
+
* **tabs:** 调整 ellipsis 宽度计算的时机为 “didUpdate 时总是计算”,以解决 tab 内容更新但宽度计算未更新问题 ([7391d26](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/7391d260079fc978640d083c092bc44c7a941008))
|
|
21
|
+
* **tabs:** 调整 tabs 宽度计算 ellipsis 的时机策略为“只要 render 就计算”,考虑初始 display none 没有宽度、tab 宽度变化等情况,暂不提前优化 ([ee27273](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/ee2727377d7a1f45e68303b13c199941ca94ad03))
|
|
22
|
+
* 修复各组件的 index.scss 中对依赖组件样式的引用,应引用依赖 index.scss ([b7c32eb](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b7c32eb53b575d6cbd92cf5b01e8e1cbd44ab2ba))
|
|
23
|
+
* 修正各组件 peerDependecy `mobx` 的版本号 ([321ed47](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/321ed4704f2bd53449c6c71f1a340db427d4c656))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* add button 样式 ([0aa9d7b](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/0aa9d7b52edffe74a7097fdda069cf40bdb0af7f))
|
|
29
|
+
* checkbox intensive style ([11e3703](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/11e370323c29aee5003fdaf9a4ea784e8c3647a6))
|
|
30
|
+
* ellipsis hover 列表样式 ([62c1c90](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/62c1c90e97317df9833963e79534d2a85b244401))
|
|
31
|
+
* ellipsis hover 列表样式 ([ae90a05](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/ae90a056bc9254af653b5281ed846f09c3196030))
|
|
32
|
+
* ellipsis 列表样式 ([a7288e3](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a7288e3cca798793d2c30bec2008e04efcb275ad))
|
|
33
|
+
* focus active diasbled hover 样式 ([c6da30d](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/c6da30d1d2b40bf1d331e6899c730bcf0e431b8f))
|
|
34
|
+
* resize时调整可视窗口 ([dcce8d9](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/dcce8d92f1b1561066e4ccf18dc2fd0b8ec9b44c))
|
|
35
|
+
* shadow 颜色提取 ([2a22d45](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/2a22d450a381059fdeb8e29caa85bd4e8b89d0bd))
|
|
36
|
+
* TabPane, 添加status = error ([9c6fd98](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9c6fd9868e8e064fbff091d9f73b943180900f29))
|
|
37
|
+
* tabs ellipsis 样式 ([74bcbd8](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/74bcbd8241d9bea77042408aa6574a46bbd2a790))
|
|
38
|
+
* tabs 下拉选中动画 ([aa5b5b1](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/aa5b5b1e66471cf769df62574296deff41adff26))
|
|
39
|
+
* Tabs 新增button-group 类型 ([6e40e2a](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/6e40e2acf49419d94347e29bab4e37839aa9d595))
|
|
40
|
+
* Tabs 添加deletable相关功能 ([e9de24e](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e9de24e3b81bde8797adb59e8350ddafcd791af3))
|
|
41
|
+
* tabs 添加minWidth属性 ([b47eb7c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b47eb7c76e8af74f3a9b79b7c741138e4de9b834))
|
|
42
|
+
* Tabs 视觉规范调整:引入size控制 ([a4dc864](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a4dc864c4a31ca4e74dc497d319e70681a2d430d))
|
|
43
|
+
* tabs, ellipsis icon 箭头方向的变更处理 ([205da70](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/205da70bc02c4b7740cdfd0799f88a25323d190d))
|
|
44
|
+
* Tabs, error disabled color ([1c3d0b2](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/1c3d0b2225591d5bf9eb965d5b17670cb029e44e))
|
|
45
|
+
* Tabs, shouldDestroyInactivePane功能实现 ([b1c0b30](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b1c0b3016b091d0d9be3a52b0a84a5757253a0fd))
|
|
46
|
+
* tabs, tabsWidthCache的更新处理 ([867c6db](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/867c6dbf347772b4b171647ec8668b0649a7fc97))
|
|
47
|
+
* Tabs, 初始化tabcontainer的width调整后更新可视区域 ([dc68f6d](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/dc68f6d307395176b89c4f1f74a4e53a3daba829))
|
|
48
|
+
* Tabs, 添加triggerType ([079d776](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/079d7769010b729bb5d9c7729e88541546dc8494))
|
|
49
|
+
* **tabs:** 加入 `props.onClickTab` 支持 ([e027ad5](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e027ad59f5b3ce950de9cb4ebe1b8b2ca5fabc25))
|
|
50
|
+
* **tabs:** 加入 type `tag` 的支持 ([9215ab4](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9215ab4be47c78d70e9e52b0c5dd46617129ba0a))
|
|
51
|
+
* **tabs:** 实现 focus 相关功能 ([08ce78c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/08ce78c033121ecfa3bf62f68c1573075cff53e0))
|
|
52
|
+
* Taps 非完全显示的特殊交互及样式处理 ([6f8db75](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/6f8db758e66a2ee1e8348148001d308bd77ba2ab))
|
|
53
|
+
* type=card 基础样式 ([e660f6c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e660f6c46af981908fde12c44f2c80294a3f1a79))
|
|
54
|
+
* type=plain 基础样式 ([b90a4ab](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b90a4ab37021a83944999ebe32348e1d5b7d3898))
|
|
55
|
+
* 可视区域的计算 ([c79288e](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/c79288edac47c6399e064d47e2796eb1a9b7ac68))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Reverts
|
|
59
|
+
|
|
60
|
+
* Revert "chore(tabs): 测试数据补充控制型组件的例子" ([792ca75](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/792ca75bb145458e0b509c6c524655f3c68def4b))
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## 0.2.118 (2026-07-22)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Bug Fixes
|
|
70
|
+
|
|
71
|
+
* 21/11/09 走查问题修复 ([9b9d5dd](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9b9d5dd82d928d02c7fe4c5625fdb3ab213557e7))
|
|
72
|
+
* button group 的选中值修改 ([081d3a9](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/081d3a93a3ce5bf8c48a5c698c027bd62b4e5118))
|
|
73
|
+
* card tab focus 宽度跳跃 ([7e3cc50](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/7e3cc50fd7640a9f5c9c14d9b2b6ac33ad2be459))
|
|
74
|
+
* ellipsis 切换tab的边界问题 ([9edaa73](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9edaa73244ef1773556c7f09672ecc28219c3868))
|
|
75
|
+
* **tabs:** 从分组样式中分离 :focus-visible 的写法改为字面写法 ([6e7764e](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/6e7764e8a5342882aa3a8e3a02fc143b581024e2))
|
|
76
|
+
* **tabs:** 修正 props.triggerType type ([ba480bc](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/ba480bcfef1c021dec0b7d6fedf8cc88c5219721))
|
|
77
|
+
* **tabs:** 修正 type card 收起到更多的宽度计算,考虑相邻两 tabs 有 border 重叠,解决 “type card 在容器宽度足够情况下也总是将最后一个收起” 问题 ([a3bffe7](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a3bffe74fbf20f9637904ab0f14f34a1a04f2867))
|
|
78
|
+
* **tabs:** 修正 updateWidth() 关于 “tabs 长度不变不重新计算” 的判断,因为 tab 的宽度会因动态的 tab 内容变化 ([9d70e18](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9d70e1867958e1f6dba3464412fed528320deb33))
|
|
79
|
+
* **tabs:** 测试用例编写过程中发现的问题修复 ([5f02518](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/5f02518d4fc870de262157f8d61c769e8f6cfa26))
|
|
80
|
+
* **tabs:** 调整 ellipsis 宽度计算的时机为 “didUpdate 时总是计算”,以解决 tab 内容更新但宽度计算未更新问题 ([7391d26](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/7391d260079fc978640d083c092bc44c7a941008))
|
|
81
|
+
* **tabs:** 调整 tabs 宽度计算 ellipsis 的时机策略为“只要 render 就计算”,考虑初始 display none 没有宽度、tab 宽度变化等情况,暂不提前优化 ([ee27273](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/ee2727377d7a1f45e68303b13c199941ca94ad03))
|
|
82
|
+
* 修复各组件的 index.scss 中对依赖组件样式的引用,应引用依赖 index.scss ([b7c32eb](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b7c32eb53b575d6cbd92cf5b01e8e1cbd44ab2ba))
|
|
83
|
+
* 修正各组件 peerDependecy `mobx` 的版本号 ([321ed47](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/321ed4704f2bd53449c6c71f1a340db427d4c656))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Features
|
|
87
|
+
|
|
88
|
+
* add button 样式 ([0aa9d7b](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/0aa9d7b52edffe74a7097fdda069cf40bdb0af7f))
|
|
89
|
+
* checkbox intensive style ([11e3703](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/11e370323c29aee5003fdaf9a4ea784e8c3647a6))
|
|
90
|
+
* ellipsis hover 列表样式 ([62c1c90](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/62c1c90e97317df9833963e79534d2a85b244401))
|
|
91
|
+
* ellipsis hover 列表样式 ([ae90a05](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/ae90a056bc9254af653b5281ed846f09c3196030))
|
|
92
|
+
* ellipsis 列表样式 ([a7288e3](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a7288e3cca798793d2c30bec2008e04efcb275ad))
|
|
93
|
+
* focus active diasbled hover 样式 ([c6da30d](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/c6da30d1d2b40bf1d331e6899c730bcf0e431b8f))
|
|
94
|
+
* resize时调整可视窗口 ([dcce8d9](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/dcce8d92f1b1561066e4ccf18dc2fd0b8ec9b44c))
|
|
95
|
+
* shadow 颜色提取 ([2a22d45](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/2a22d450a381059fdeb8e29caa85bd4e8b89d0bd))
|
|
96
|
+
* TabPane, 添加status = error ([9c6fd98](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9c6fd9868e8e064fbff091d9f73b943180900f29))
|
|
97
|
+
* tabs ellipsis 样式 ([74bcbd8](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/74bcbd8241d9bea77042408aa6574a46bbd2a790))
|
|
98
|
+
* tabs 下拉选中动画 ([aa5b5b1](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/aa5b5b1e66471cf769df62574296deff41adff26))
|
|
99
|
+
* Tabs 新增button-group 类型 ([6e40e2a](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/6e40e2acf49419d94347e29bab4e37839aa9d595))
|
|
100
|
+
* Tabs 添加deletable相关功能 ([e9de24e](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e9de24e3b81bde8797adb59e8350ddafcd791af3))
|
|
101
|
+
* tabs 添加minWidth属性 ([b47eb7c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b47eb7c76e8af74f3a9b79b7c741138e4de9b834))
|
|
102
|
+
* Tabs 视觉规范调整:引入size控制 ([a4dc864](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a4dc864c4a31ca4e74dc497d319e70681a2d430d))
|
|
103
|
+
* tabs, ellipsis icon 箭头方向的变更处理 ([205da70](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/205da70bc02c4b7740cdfd0799f88a25323d190d))
|
|
104
|
+
* Tabs, error disabled color ([1c3d0b2](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/1c3d0b2225591d5bf9eb965d5b17670cb029e44e))
|
|
105
|
+
* Tabs, shouldDestroyInactivePane功能实现 ([b1c0b30](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b1c0b3016b091d0d9be3a52b0a84a5757253a0fd))
|
|
106
|
+
* tabs, tabsWidthCache的更新处理 ([867c6db](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/867c6dbf347772b4b171647ec8668b0649a7fc97))
|
|
107
|
+
* Tabs, 初始化tabcontainer的width调整后更新可视区域 ([dc68f6d](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/dc68f6d307395176b89c4f1f74a4e53a3daba829))
|
|
108
|
+
* Tabs, 添加triggerType ([079d776](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/079d7769010b729bb5d9c7729e88541546dc8494))
|
|
109
|
+
* **tabs:** 加入 `props.onClickTab` 支持 ([e027ad5](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e027ad59f5b3ce950de9cb4ebe1b8b2ca5fabc25))
|
|
110
|
+
* **tabs:** 加入 type `tag` 的支持 ([9215ab4](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9215ab4be47c78d70e9e52b0c5dd46617129ba0a))
|
|
111
|
+
* **tabs:** 实现 focus 相关功能 ([08ce78c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/08ce78c033121ecfa3bf62f68c1573075cff53e0))
|
|
112
|
+
* Taps 非完全显示的特殊交互及样式处理 ([6f8db75](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/6f8db758e66a2ee1e8348148001d308bd77ba2ab))
|
|
113
|
+
* type=card 基础样式 ([e660f6c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e660f6c46af981908fde12c44f2c80294a3f1a79))
|
|
114
|
+
* type=plain 基础样式 ([b90a4ab](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b90a4ab37021a83944999ebe32348e1d5b7d3898))
|
|
115
|
+
* 可视区域的计算 ([c79288e](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/c79288edac47c6399e064d47e2796eb1a9b7ac68))
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Reverts
|
|
119
|
+
|
|
120
|
+
* Revert "chore(tabs): 测试数据补充控制型组件的例子" ([792ca75](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/792ca75bb145458e0b509c6c524655f3c68def4b))
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
6
126
|
## 0.2.117 (2026-07-09)
|
|
7
127
|
|
|
8
128
|
|
package/es/index.css
CHANGED
|
@@ -653,19 +653,19 @@
|
|
|
653
653
|
line-height: 1;
|
|
654
654
|
background: none;
|
|
655
655
|
}
|
|
656
|
-
.brick-button-type-plain.brick-button-icon-only .brick-icon {
|
|
656
|
+
.brick-button-type-plain.brick-button-icon-only.brick-button-original-icon-color .brick-icon {
|
|
657
657
|
color: rgb(153, 153, 153);
|
|
658
658
|
}
|
|
659
|
-
.brick-button-type-plain.brick-button-icon-only:hover .brick-icon {
|
|
659
|
+
.brick-button-type-plain.brick-button-icon-only.brick-button-original-icon-color:hover .brick-icon {
|
|
660
660
|
color: rgb(51, 51, 51);
|
|
661
661
|
}
|
|
662
|
-
.brick-button-type-plain.brick-button-icon-only:focus-visible:not([tabindex^="-"]):not(:active) .brick-icon {
|
|
662
|
+
.brick-button-type-plain.brick-button-icon-only.brick-button-original-icon-color:focus-visible:not([tabindex^="-"]):not(:active) .brick-icon {
|
|
663
663
|
color: rgb(51, 51, 51);
|
|
664
664
|
}
|
|
665
|
-
.brick-button-type-plain.brick-button-icon-only:active .brick-icon {
|
|
665
|
+
.brick-button-type-plain.brick-button-icon-only.brick-button-original-icon-color:active .brick-icon {
|
|
666
666
|
color: rgb(51, 51, 51);
|
|
667
667
|
}
|
|
668
|
-
.brick-button-type-plain.brick-button-icon-only.brick-button-disabled .brick-icon {
|
|
668
|
+
.brick-button-type-plain.brick-button-icon-only.brick-button-original-icon-color.brick-button-disabled .brick-icon {
|
|
669
669
|
color: rgb(204, 204, 204);
|
|
670
670
|
}
|
|
671
671
|
.brick-button-color-brand.brick-button-type-important, .brick-button-color-brand.brick-button-type-important .brick-icon, .brick-button-color-brand.brick-button-type-important.brick-button-disabled, .brick-button-color-brand.brick-button-type-important.brick-button-disabled .brick-icon {
|
package/es/tabs.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@befe/brick-comp-tabs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.119",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "ssh://git@icode.baidu.com:8235/baidu/be-fe/brick",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"author": "wujun07",
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@befe/brick-comp-button": "^0.2.
|
|
29
|
-
"@befe/brick-comp-close-x": "^0.2.
|
|
30
|
-
"@befe/brick-comp-icon": "^0.2.
|
|
31
|
-
"@befe/brick-comp-menu": "^0.2.
|
|
32
|
-
"@befe/brick-comp-radio": "^0.2.
|
|
33
|
-
"@befe/brick-core": "^0.2.
|
|
34
|
-
"@befe/brick-icon": "^0.2.
|
|
35
|
-
"@befe/brick-style": "^0.2.
|
|
36
|
-
"@befe/brick-utils": "^0.2.
|
|
28
|
+
"@befe/brick-comp-button": "^0.2.104",
|
|
29
|
+
"@befe/brick-comp-close-x": "^0.2.105",
|
|
30
|
+
"@befe/brick-comp-icon": "^0.2.101",
|
|
31
|
+
"@befe/brick-comp-menu": "^0.2.119",
|
|
32
|
+
"@befe/brick-comp-radio": "^0.2.102",
|
|
33
|
+
"@befe/brick-core": "^0.2.60",
|
|
34
|
+
"@befe/brick-icon": "^0.2.34",
|
|
35
|
+
"@befe/brick-style": "^0.2.72",
|
|
36
|
+
"@befe/brick-utils": "^0.2.32"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"classnames": "^2.0.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"react": "^16.9.0 || ^17.0.0",
|
|
42
42
|
"react-dom": "^16.9.0 || ^17.0.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "b8357bc3af4311cafd8b49d0533c6a7aabf63986"
|
|
45
45
|
}
|
package/src/style.scss
CHANGED
|
@@ -121,7 +121,7 @@ $tabs-wrap-gap: base.padding(1);
|
|
|
121
121
|
color: tabs.$tabs-tab-color-hover;
|
|
122
122
|
}
|
|
123
123
|
.brick-tabs-tab-active {
|
|
124
|
-
border-bottom: tabs.$tabs-tab-active-border-width solid base.$color-
|
|
124
|
+
border-bottom: tabs.$tabs-tab-active-border-width solid base.$color-brand;
|
|
125
125
|
padding-bottom: tabs.$tabs-tab-padding-vertical - (tabs.$tabs-tab-active-border-width - base.$border-width-base);
|
|
126
126
|
&:focus-visible {
|
|
127
127
|
border-bottom-width: tabs.$tabs-tab-active-border-width;
|
|
@@ -174,7 +174,7 @@ $tabs-wrap-gap: base.padding(1);
|
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
&-active {
|
|
177
|
-
border-top: tabs.$tabs-tab-active-border-width solid base.$color-
|
|
177
|
+
border-top: tabs.$tabs-tab-active-border-width solid base.$color-brand;
|
|
178
178
|
padding-top: tabs.$tabs-tab-padding-vertical - (tabs.$tabs-tab-active-border-width - base.$border-width-base);
|
|
179
179
|
background-color: tabs.$tabs-tab-card-active-bg-color;
|
|
180
180
|
border-bottom-color: tabs.$tabs-tab-card-active-bg-color;
|
|
@@ -193,10 +193,10 @@ $tabs-wrap-gap: base.padding(1);
|
|
|
193
193
|
|
|
194
194
|
&-status-error:not(&-disabled) {
|
|
195
195
|
&, &.brick-tab-active {
|
|
196
|
-
color: tabs.$tabs-tab-color-
|
|
196
|
+
color: tabs.$tabs-tab-color-danger;
|
|
197
197
|
&:focus-visible {
|
|
198
|
-
border-color: base.$color-
|
|
199
|
-
@include base.focus-ring(base.$color-
|
|
198
|
+
border-color: base.$color-danger;
|
|
199
|
+
@include base.focus-ring(base.$color-danger)
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
|
|
@@ -322,7 +322,7 @@ $tabs-wrap-gap: base.padding(1);
|
|
|
322
322
|
.brick-tabs-ellipsis-item-status-error {
|
|
323
323
|
&.brick-menu-item:not(.brick-menu-item-selected, .brick-menu-item-disabled) > .brick-menu-item-content-in-cursor,
|
|
324
324
|
.brick-menu-item-content {
|
|
325
|
-
color: tabs.$tabs-tab-color-
|
|
325
|
+
color: tabs.$tabs-tab-color-danger;
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
}
|
package/src/tabs.tsx
CHANGED