@24city/web-console 0.1.1 → 0.1.2
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 +5 -0
- package/README.md +2 -0
- package/dist/account/index.js +1 -1
- package/dist/chunks/{upgrade-modal-DzdKuEkJ.js → upgrade-modal-_psMAWRK.js} +295 -295
- package/dist/index.js +1 -1
- package/dist/styles.css +109 -107
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
- 个人中心页面标题同样补足优先级(0.1.1 只改了 `ProductPage` 的标题),Staging 上仍是 Semi 默认的 32px,现在回到 24px。
|
|
6
|
+
- README 补一条:Semi 的竖向 `Space` 默认把子项居中收缩(`align="center"`),Arco 是拉伸;表单类竖排要么给 `align="start"`,要么在自己的类上写 `align-items: stretch`。
|
|
7
|
+
|
|
3
8
|
## 0.1.1
|
|
4
9
|
|
|
5
10
|
- 修正 Semi 覆盖样式在打包后失效的问题(AdFlow Staging 上发现:整站回到 Semi 默认的蓝灰中性色、3px 圆角、32px 页面标题)。
|
package/README.md
CHANGED
|
@@ -160,6 +160,8 @@ Lottie 在模块加载时会用到 canvas,没有垫片时整个包都引不进
|
|
|
160
160
|
- Semi 把设计变量定义在 `body` 上,而打包后 `@douyinfe/semi-ui` 的 `_base/base.css` 往往排在本包样式之后:覆盖 Semi 的规则不能只靠同级选择器与引入顺序。
|
|
161
161
|
本包的变量写在 `html body` 上,组件覆盖在 Semi 的选择器之上再加一级;产品自己的模块样式若要盖住 Semi 的某条规则,同样要比它多一个类。
|
|
162
162
|
- Semi 的 `Input` 把 `className` 放在 `.semi-input-wrapper` 自己身上(Arco 在外面还有一层),模块样式要写成 `.mine:global(.semi-input-wrapper)` 而不是后代选择器。
|
|
163
|
+
- Semi 的竖向 `Space`(`vertical`)默认 `align="center"`,子项居中并收缩到内容宽;Arco 的竖向 Space 是拉伸的。表单字段一类的竖排给 `align="start"`,
|
|
164
|
+
要占满一行的在自己的类上写 `align-items: stretch`。
|
|
163
165
|
- Arco 的 `type="text"` 按钮是主色文字,Semi 对应的是 `theme="borderless" type="primary"`;`type="tertiary"` 是灰色。
|
|
164
166
|
- Semi 的图标渲染为 `role="img"` 并带英文 `aria-label`,放在按钮文字旁会污染按钮的读屏名称:装饰性图标一律加 `aria-hidden="true"`。
|
|
165
167
|
- 弹窗默认脚部按钮带英文 `aria-label`(confirm / cancel):本包在 `/semi` 里清掉了默认值;自己传 `okButtonProps` 时用 `modalButtonProps({...})` 合并。
|
package/dist/account/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as e, a as t, c as o, b as n, i as r, d as i, l as u, n as c, r as l, e as g, f as p, u as A, g as S, w as P } from "../chunks/logout-signal-CiD_zY5M.js";
|
|
2
|
-
import { A as C, C as d, L as f, P as h, a as m, b as y, Q as N, R as T, S as E, c as O, T as b, U, d as F, p as _, e as x, f as v, g as w, y as B } from "../chunks/upgrade-modal-
|
|
2
|
+
import { A as C, C as d, L as f, P as h, a as m, b as y, Q as N, R as T, S as E, c as O, T as b, U, d as F, p as _, e as x, f as v, g as w, y as B } from "../chunks/upgrade-modal-_psMAWRK.js";
|
|
3
3
|
import { A as I, a as q, b as D, E as K, F as M, P as Q, c as G, d as H, U as k, e as W, W as Y, f as j, g as z, h as J, i as V, j as X, k as Z, l as $, m as aa, n as sa, o as ea, p as ta, q as oa, r as na, s as ra, t as ia, u as ua, v as ca, w as la, x as ga, y as pa, z as Aa, B as Sa, C as Pa, D as La, G as Ca, H as da, I as fa, J as ha, K as ma, L as ya, M as Na, N as Ta, O as Ea, Q as Oa } from "../chunks/wallet-badge-CnyMLpUO.js";
|
|
4
4
|
import { A as Ua } from "../chunks/auth-provider-CqiyTeOt.js";
|
|
5
5
|
import { notifyCustomerSessionChanged as _a, subscribeCustomerSessionChanges as xa } from "@24city/web-runtime/session-sync";
|