gz-ui-web 1.1.2 → 1.1.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.
@@ -1,7 +1,7 @@
1
1
  /* empty css */
2
2
  import { a as fl, g as xl } from "./agGridThemeCssVariables-BsssdLnP.js";
3
- import { c as qe, a as c, g as at, G as Ge, T as xe, B as fe, b as kr, d as Tr } from "./ValuationLogDataChart-DiLHOY5m.js";
4
- import { e as Il, f as Hl, h as Dl, i as Ml, I as Al, j as Pl, k as El, l as kl, m as Tl, V as wl } from "./ValuationLogDataChart-DiLHOY5m.js";
3
+ import { c as qe, a as c, g as at, G as Ge, T as xe, B as fe, b as kr, d as Tr } from "./ValuationLogDataChart-D9Ku-mMT.js";
4
+ import { e as Il, f as Hl, h as Dl, i as Ml, I as Al, j as Pl, k as El, l as kl, m as Tl, V as wl } from "./ValuationLogDataChart-D9Ku-mMT.js";
5
5
  import { jsx as l, jsxs as U, Fragment as wo } from "react/jsx-runtime";
6
6
  import * as w from "react";
7
7
  import Lo, { createContext as wr, useContext as Oe, useEffect as Lr, forwardRef as h, useRef as me, useImperativeHandle as Gr, useState as xo, useLayoutEffect as Go, useId as Oo } from "react";
@@ -6019,7 +6019,13 @@ const hi = {
6019
6019
  }, Ke = (t) => {
6020
6020
  const o = t.token, e = t.components;
6021
6021
  return {
6022
- globalToken: o,
6022
+ globalToken: {
6023
+ ...o,
6024
+ // 设计稿:禁用态边框统一引用 --gz-color-border(colorBorder)。
6025
+ // antd 默认由 colorBgBase 派生 colorBorderDisabled,暗色主题下会退化为纯黑,
6026
+ // 因此在 Token 转换层统一收口;若设计稿后续显式输出该 Token,则以设计稿为准。
6027
+ colorBorderDisabled: o.colorBorderDisabled ?? o.colorBorder
6028
+ },
6023
6029
  components: {
6024
6030
  ...e,
6025
6031
  Tabs: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gz-ui-web",
3
3
  "private": false,
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "gz-ui-web-lib"
@@ -36,17 +36,16 @@
36
36
  "build": "tsc -b && vite build",
37
37
  "verify:exports": "tsc --noEmit --strict --skipLibCheck --target ES2022 --module ESNext --moduleResolution Bundler --jsx react-jsx scripts/fixtures/gz-table-consumer.ts scripts/fixtures/pcs-business-components-consumer.ts scripts/fixtures/splitter-consumer.tsx && node scripts/verify-package-exports.js",
38
38
  "test:ct": "playwright install chromium && playwright test -c playwright-ct.config.ts",
39
- "prepack": "npm run docs:sync && npm run build && npm run verify:exports && npm run predev",
39
+ "prepack": "npm run build && npm run verify:exports",
40
40
  "lint": "eslint .",
41
41
  "test": "vitest run && npm run test:release",
42
42
  "test:release": "node --test scripts/release-prepare.test.js",
43
43
  "preview": "vite preview",
44
- "predev": "npm run docs:sync && npm run docs:tokens",
44
+ "predev": "npm run docs:tokens",
45
45
  "dev": "dumi dev",
46
46
  "devw": "father dev",
47
- "predocs:build": "npm run docs:sync && npm run docs:tokens:check",
47
+ "predocs:build": "npm run docs:tokens:check",
48
48
  "docs:build": "dumi build",
49
- "docs:sync": "node scripts/syncChangelog.js",
50
49
  "docs:tokens": "node scripts/generateTokenDocs.js",
51
50
  "docs:tokens:check": "node scripts/generateTokenDocs.js --check",
52
51
  "release:prepare": "node scripts/release-prepare.js",