@ai-matrx/design-system 0.86.353 → 0.86.354
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/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.86.354
|
|
4
|
+
|
|
5
|
+
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
|
+
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/design-system/src`.
|
|
7
|
+
|
|
3
8
|
## 0.86.353
|
|
4
9
|
|
|
5
10
|
- Test-only: `chip-geometry.test.tsx` now pins the tone selector `:is(.matrx-control-chip, .matrx-tile, .matrx-tile-icon)` that 0.86.351 widened for `Tile iconTone`; the isolation check failed on the stale two-member pattern. No consumer action required.
|
package/dist/index.cjs
CHANGED
|
@@ -14534,7 +14534,7 @@ function EmailValue({ email, owner, state = "ok", peek = true, about }) {
|
|
|
14534
14534
|
...ok ? { primary: { label: "Send email", onSelect: () => window.location.assign(mailtoHref(parsed.address)) } } : {},
|
|
14535
14535
|
copyData: { email: parsed.address, ...owner ? { owner } : {} }
|
|
14536
14536
|
};
|
|
14537
|
-
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ValueShell, { kind: "email", glyph: MailGlyph, text: parsed.address, copy: parsed.address, state, record, peek, about });
|
|
14537
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ValueShell, { kind: "email", glyph: MailGlyph, text: parsed.address, copy: parsed.address, state, record, peek, ...about !== void 0 ? { about } : {} });
|
|
14538
14538
|
}
|
|
14539
14539
|
function PhoneValue({ phone, owner, state = "ok", peek = true, defaultCallingCode = "1", about }) {
|
|
14540
14540
|
const parsed = parsePhone(phone, defaultCallingCode);
|
|
@@ -14559,7 +14559,7 @@ function PhoneValue({ phone, owner, state = "ok", peek = true, defaultCallingCod
|
|
|
14559
14559
|
...ok ? { primary: { label: "Call", onSelect: () => window.location.assign(telHref(parsed)) } } : {},
|
|
14560
14560
|
copyData: { phone: parsed.e164 ?? parsed.raw, display: parsed.display, ...parsed.region ? { region: parsed.region } : {}, ...owner ? { owner } : {} }
|
|
14561
14561
|
};
|
|
14562
|
-
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ValueShell, { kind: "phone number", glyph: PhoneGlyph, text: parsed.display, copy: parsed.e164 ?? parsed.raw, state, record, peek, about });
|
|
14562
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ValueShell, { kind: "phone number", glyph: PhoneGlyph, text: parsed.display, copy: parsed.e164 ?? parsed.raw, state, record, peek, ...about !== void 0 ? { about } : {} });
|
|
14563
14563
|
}
|
|
14564
14564
|
var VALIDATION_TONE = { verified: "success", partial: "warning", unknown: "danger" };
|
|
14565
14565
|
var VALIDATION_TEXT = { verified: "Verified address", partial: "Partly matched", unknown: "No match found" };
|
|
@@ -14618,7 +14618,7 @@ function AddressValue({ address, owner, state = "ok", peek = true, multiline = f
|
|
|
14618
14618
|
state,
|
|
14619
14619
|
record,
|
|
14620
14620
|
peek,
|
|
14621
|
-
about,
|
|
14621
|
+
...about !== void 0 ? { about } : {},
|
|
14622
14622
|
...multiline ? { wrap: true } : {}
|
|
14623
14623
|
}
|
|
14624
14624
|
);
|
|
@@ -14660,7 +14660,7 @@ function SocialHandleValue(props) {
|
|
|
14660
14660
|
state,
|
|
14661
14661
|
record: socialRecord(parsed, props, glyph),
|
|
14662
14662
|
peek,
|
|
14663
|
-
about: props.about
|
|
14663
|
+
...props.about !== void 0 ? { about: props.about } : {}
|
|
14664
14664
|
}
|
|
14665
14665
|
);
|
|
14666
14666
|
}
|
|
@@ -14684,7 +14684,7 @@ function UrlValue({ url, title, owner, state = "ok", peek = true, icon = true, a
|
|
|
14684
14684
|
...ok ? { primary: { label: "Open", onSelect: () => (0, import_outbound2.openOutbound)(parsed.href) } } : {},
|
|
14685
14685
|
copyData: { url: parsed.href ?? url, domain: parsed.domain, ...title ? { title } : {} }
|
|
14686
14686
|
};
|
|
14687
|
-
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ValueShell, { kind: "link", ...icon ? { glyph: GlobeIcon } : {}, text: parsed.display, copy: parsed.href ?? url, state, record, peek, about });
|
|
14687
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ValueShell, { kind: "link", ...icon ? { glyph: GlobeIcon } : {}, text: parsed.display, copy: parsed.href ?? url, state, record, peek, ...about !== void 0 ? { about } : {} });
|
|
14688
14688
|
}
|
|
14689
14689
|
function ContactValue({ type, value, platform, followers, title, icon, ...common }) {
|
|
14690
14690
|
switch (type) {
|