@aries-kit/react 0.2.4 → 0.2.5

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.
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-PtSB4QNY.mjs";
1
+ import { conf as t, language as e } from "./typescript-p53iEK_g.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as Et } from "./index-CMnUzapa.mjs";
1
+ import { m as Et } from "./index-BhzP41JM.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-CMnUzapa.mjs";
1
+ import { m as l } from "./index-BhzP41JM.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-CMnUzapa.mjs";
1
+ import { m as s } from "./index-BhzP41JM.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aries-kit/react",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Aries Kit React component and hooks library.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,4 +1,4 @@
1
- import { m as o } from "./index-CMnUzapa.mjs";
1
+ import { m as o } from "./index-BhzP41JM.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m } from "./index-CMnUzapa.mjs";
1
+ import { m } from "./index-BhzP41JM.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -20,6 +20,10 @@
20
20
 
21
21
  // 交互相关
22
22
  transition: all getVar(duration, element-interaction) getVar(transition-timing-function);
23
+
24
+ &:not(.#{$namespace}-is-border-radius) {
25
+ border-radius: 0;
26
+ }
23
27
 
24
28
  // 悬停状态
25
29
  &:hover {
@@ -161,6 +161,16 @@
161
161
  }
162
162
  }
163
163
 
164
+ &.text-top,
165
+ &.text-bottom {
166
+ align-items: flex-start;
167
+
168
+ .#{$namespace}-menu-item__main,
169
+ .#{$namespace}-menu-item__label {
170
+ width: 100%;
171
+ }
172
+ }
173
+
164
174
  &::after {
165
175
  z-index: -1;
166
176
  }
@@ -36,7 +36,7 @@
36
36
  background: getVar(color, bg-opacity);
37
37
  backdrop-filter: blur(20px);
38
38
  -webkit-backdrop-filter: blur(20px);
39
- border-radius: getVar(border-radius, lg);
39
+ border-radius: getVar(border-radius, container);
40
40
  box-shadow: getVar(color, box-shadow-popover);
41
41
  @include flex(flex-start, stretch, column);
42
42
  max-height: 85vh;
@@ -185,7 +185,6 @@
185
185
  // 头部
186
186
  &__header {
187
187
  padding: getVar(inset, container-vertical) getVar(inset, container-horizontal);
188
- border-bottom: 1px solid getVar(color, border);
189
188
  @include flex(space-between, center);
190
189
  flex-shrink: 0;
191
190
  background-color: getVar(color, bg);
@@ -245,7 +244,6 @@
245
244
  // 底部
246
245
  &__footer {
247
246
  padding: getVar(inset, container-vertical) getVar(inset, container-horizontal);
248
- border-top: 1px solid getVar(color, border);
249
247
  @include flex(flex-end);
250
248
  gap: getVar(inset, sm);
251
249
  flex-shrink: 0;
@@ -373,4 +371,4 @@
373
371
  opacity: 0;
374
372
  transform: scale(0.8) translateY(40px);
375
373
  }
376
- }
374
+ }
@@ -110,8 +110,14 @@
110
110
  }
111
111
 
112
112
  &__value {
113
+ flex: 1;
114
+ display: block;
115
+ min-width: 0;
113
116
  margin: 0;
114
117
  font-size: getVar(font-size, button);
118
+ white-space: nowrap;
119
+ overflow: hidden;
120
+ text-overflow: ellipsis;
115
121
  }
116
122
 
117
123
  &__suffix {
@@ -6,6 +6,7 @@
6
6
  box-sizing: border-box;
7
7
  max-width: 320px;
8
8
  min-width: 60px;
9
+ overflow: hidden;
9
10
  border-radius: getVar(border-radius, container);
10
11
  font-size: getVar(font-size, caption);
11
12
  line-height: 1.5;
@@ -1,4 +1,4 @@
1
- import { t as L, m as O } from "./index-CMnUzapa.mjs";
1
+ import { t as L, m as O } from "./index-BhzP41JM.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-CMnUzapa.mjs";
1
+ import { m as s } from "./index-BhzP41JM.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as r } from "./index-CMnUzapa.mjs";
1
+ import { m as r } from "./index-BhzP41JM.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-CMnUzapa.mjs";
1
+ import { m as l } from "./index-BhzP41JM.mjs";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)