@bridge-ds/core 0.20.0 → 0.22.0
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/bridge.config.schema.json +5 -0
- package/dist/audit/index.js +275 -52
- package/dist/audit/index.js.map +1 -1
- package/dist/audit/missing-pieces.d.ts +4 -0
- package/dist/component-spec.d.ts +13 -0
- package/dist/exploration-done-github.d.ts +50 -0
- package/dist/exploration-resume.d.ts +136 -0
- package/dist/explorations-github.d.ts +75 -3
- package/dist/explorations.d.ts +137 -8
- package/dist/figma-fix-loop.d.ts +1 -1
- package/dist/figma-fixes.d.ts +14 -2
- package/dist/github-client.d.ts +17 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1708 -1283
- package/dist/index.js.map +1 -1
- package/dist/measured-only.d.ts +13 -1
- package/dist/node/index.js +11 -11
- package/dist/previews-github.d.ts +13 -0
- package/dist/previews.d.ts +8 -1
- package/dist/{prod-branch-CJZwMfVD.js → prod-branch-JL5tmL6u.js} +257 -193
- package/dist/prod-branch-JL5tmL6u.js.map +1 -0
- package/dist/prod-branch-github.d.ts +54 -4
- package/dist/prod-branch.d.ts +42 -1
- package/dist/products.d.ts +22 -0
- package/dist/{repo-source-CshjjC7x.js → repo-source-CcWmqNBZ.js} +2165 -1998
- package/dist/repo-source-CcWmqNBZ.js.map +1 -0
- package/dist/{report-CE-jHAuw.js → report-CxOwwG_w.js} +38 -38
- package/dist/{report-CE-jHAuw.js.map → report-CxOwwG_w.js.map} +1 -1
- package/dist/review-gate.d.ts +1 -1
- package/dist/try-in-product.d.ts +4 -1
- package/package.json +1 -1
- package/dist/prod-branch-CJZwMfVD.js.map +0 -1
- package/dist/repo-source-CshjjC7x.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { by as hexToRgba, b4 as comboKey } from "./prod-branch-JL5tmL6u.js";
|
|
2
2
|
import ts from "typescript";
|
|
3
3
|
const AUDIT_SCHEMA_VERSION = 1;
|
|
4
4
|
const FINDING_CATEGORIES = ["color", "spacing", "size", "radius", "border-width", "shadow", "duration", "easing", "z-index", "font-family", "font-size", "font-weight", "line-height"];
|
|
@@ -1866,25 +1866,25 @@ function planCssFixes(text, lang, ds, opts = {}) {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
export {
|
|
1868
1868
|
AUDIT_EXTENSIONS as A,
|
|
1869
|
-
|
|
1869
|
+
isRouterLink as B,
|
|
1870
1870
|
COLOR_LITERAL_RE as C,
|
|
1871
1871
|
DEFAULT_NATIVE_ELEMENTS as D,
|
|
1872
|
-
|
|
1872
|
+
isSafeFix as E,
|
|
1873
1873
|
FINDING_CATEGORIES as F,
|
|
1874
|
-
|
|
1875
|
-
|
|
1874
|
+
libraryLabel as G,
|
|
1875
|
+
lookalikesInClassList as H,
|
|
1876
1876
|
IGNORE_DIRECTIVE as I,
|
|
1877
|
-
|
|
1878
|
-
|
|
1877
|
+
markupBlocks as J,
|
|
1878
|
+
nativeEquivalent as K,
|
|
1879
1879
|
LOOKALIKE_ATTRS as L,
|
|
1880
1880
|
MARKUP_EXTENSIONS as M,
|
|
1881
1881
|
NAMED_COLORS as N,
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1882
|
+
packageName as O,
|
|
1883
|
+
parseAllowlist as P,
|
|
1884
|
+
parseCssColor as Q,
|
|
1885
|
+
planCssFixes as R,
|
|
1886
|
+
scanClassString as S,
|
|
1887
|
+
scanCode as T,
|
|
1888
1888
|
scanCssValue as U,
|
|
1889
1889
|
scanJsStyle as V,
|
|
1890
1890
|
scanMarkup as W,
|
|
@@ -1892,30 +1892,30 @@ export {
|
|
|
1892
1892
|
tailwindFindings as Y,
|
|
1893
1893
|
toOklab as Z,
|
|
1894
1894
|
auditFile as a,
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1895
|
+
blankComments as b,
|
|
1896
|
+
AUDIT_IGNORE_DIRS as c,
|
|
1897
|
+
AUDIT_SCHEMA_VERSION as d,
|
|
1898
|
+
DesignSystemIndex as e,
|
|
1899
|
+
LOOKALIKE_CLASSES as f,
|
|
1900
|
+
applyAllowlist as g,
|
|
1901
|
+
applyIgnoreComments as h,
|
|
1902
1902
|
isAuditable as i,
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1903
|
+
auditCssText as j,
|
|
1904
|
+
auditMarkdown as k,
|
|
1905
|
+
lineCol as l,
|
|
1906
|
+
buildAuditReport as m,
|
|
1907
|
+
classifyModule as n,
|
|
1908
|
+
classifyTag as o,
|
|
1909
|
+
compareWithBaseline as p,
|
|
1910
|
+
cssPropertyOf as q,
|
|
1911
|
+
deltaE as r,
|
|
1912
|
+
scanCssText as s,
|
|
1913
|
+
domRendererComponent as t,
|
|
1914
|
+
dsEquivalent as u,
|
|
1915
|
+
historyPoint as v,
|
|
1916
|
+
ignoreDirectives as w,
|
|
1917
|
+
importsOf as x,
|
|
1918
|
+
isColorLiteral as y,
|
|
1919
|
+
isNonVisual as z
|
|
1920
1920
|
};
|
|
1921
|
-
//# sourceMappingURL=report-
|
|
1921
|
+
//# sourceMappingURL=report-CxOwwG_w.js.map
|