@ant-design/agentic-ui 2.31.0 → 2.31.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.
@@ -81,8 +81,8 @@ var afterAnimation = new Keyframes('afterAnimation', {
81
81
  }
82
82
  });
83
83
  var genStyle = function genStyle(token) {
84
- var _obj, _obj1;
85
- return _obj1 = {}, _define_property(_obj1, token.componentCls, (_obj = {
84
+ var _obj, _obj1, _obj2, _obj3;
85
+ return _obj3 = {}, _define_property(_obj3, token.componentCls, (_obj = {
86
86
  position: 'relative',
87
87
  display: 'inline-flex',
88
88
  alignItems: 'center',
@@ -97,9 +97,9 @@ var genStyle = function genStyle(token) {
97
97
  color: 'var(--color-gray-text-secondary)',
98
98
  font: 'var(--font-text-body-emphasized-base)',
99
99
  letterSpacing: 'var(--letter-spacing-body-emphasized-base, normal)'
100
- }), _obj)), _define_property(_obj1, "".concat(token.componentCls, "-nested-pattern"), _define_property({
100
+ }), _obj)), _define_property(_obj3, "".concat(token.componentCls, "-nested-pattern"), (_obj2 = {
101
101
  position: 'relative'
102
- }, "&".concat(token.componentCls, "-spinning"), _define_property({
102
+ }, _define_property(_obj2, "&".concat(token.componentCls, "-spinning"), _define_property({
103
103
  background: 'var(--color-primary-bg-page, #f5f9ff)',
104
104
  borderRadius: 'var(--radius-card-lg, 22px)',
105
105
  overflow: 'hidden',
@@ -145,7 +145,18 @@ var genStyle = function genStyle(token) {
145
145
  gap: 4,
146
146
  width: '100%',
147
147
  height: '100%'
148
- }))), _obj1;
148
+ })), _define_property(_obj2, // Dark theme
149
+ '&-dark', (_obj1 = {}, _define_property(_obj1, "&".concat(token.componentCls, "-spinning"), {
150
+ background: 'var(--color-gray-bg-page-dark, #141414)',
151
+ '&::before': {
152
+ background: 'radial-gradient(ellipse 70% 60% at 50% 50%, rgba(22, 96, 255, 0.15) 0%, transparent 70%)'
153
+ },
154
+ '&::after': {
155
+ background: 'radial-gradient(ellipse 70% 60% at 50% 50%, rgba(135, 87, 255, 0.15) 0%, transparent 60%)'
156
+ }
157
+ }), _define_property(_obj1, "".concat(token.componentCls, "-tip"), {
158
+ color: 'rgba(255, 255, 255, 0.65)'
159
+ }), _obj1)), _obj2)), _obj3;
149
160
  };
150
161
  export var prefixCls = 'loading';
151
162
  export function useStyle(prefixCls) {
@@ -108,8 +108,14 @@ var genTableStyle = function genTableStyle(token, mobileBreakpoint, mobilePaddin
108
108
  boxShadow: 'var(--shadow-control-base)',
109
109
  border: 'none',
110
110
  transform: 'translateX(50%)',
111
- transition: 'all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)'
111
+ transition: 'all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)',
112
+ color: 'var(--color-gray-text-default)'
112
113
  },
114
+ // Dark theme for table actions
115
+ '&-dark': _define_property({}, "".concat(tableCls, "-readonly-table-actions"), {
116
+ backgroundColor: 'var(--color-gray-bg-page-dark, #1f1f1f)',
117
+ color: 'rgba(255, 255, 255, 0.85)'
118
+ }),
113
119
  table: (_obj = {
114
120
  borderCollapse: 'separate',
115
121
  borderSpacing: 0,
@@ -91,7 +91,7 @@ var genStyle = function genStyle(token) {
91
91
  fontVariationSettings: '"opsz" auto',
92
92
  /* gray/gray-文本-浅色注释 */ /* 样式描述:--gray-a9 */ color: 'rgba(0, 25, 61, 0.3255)',
93
93
  marginRight: '8px'
94
- }), _define_property(_obj, "".concat(token.componentCls, "-download-btn"), {
94
+ }), _define_property(_obj, "".concat(token.componentCls, "-download-btn, ").concat(token.componentCls, "-copy-btn"), {
95
95
  color: 'rgba(0, 25, 61, 0.3255)',
96
96
  padding: '3px',
97
97
  height: 'auto',
@@ -117,7 +117,7 @@ var genStyle = function genStyle(token) {
117
117
  color: '#fff'
118
118
  }), _define_property(_obj1, "".concat(token.componentCls, "-data-time"), {
119
119
  color: 'rgba(255, 255, 255, 0.65)'
120
- }), _define_property(_obj1, "".concat(token.componentCls, "-download-btn"), {
120
+ }), _define_property(_obj1, "".concat(token.componentCls, "-download-btn, ").concat(token.componentCls, "-copy-btn"), {
121
121
  color: 'rgba(255, 255, 255, 0.65)',
122
122
  backgroundColor: 'transparent',
123
123
  '&:hover': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/agentic-ui",
3
- "version": "2.31.0",
3
+ "version": "2.31.1",
4
4
  "description": "面向智能体的 UI 组件库,提供多步推理可视化、工具调用展示、任务执行协同等 Agentic UI 能力",
5
5
  "repository": "git@github.com:ant-design/agentic-ui.git",
6
6
  "license": "MIT",