@assure-one/design-system 1.44.0 → 1.45.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/dist/{chunk-PC6M4QZ2.js → chunk-64OYQNDR.js} +14 -9
- package/dist/{chunk-PC6M4QZ2.js.map → chunk-64OYQNDR.js.map} +1 -1
- package/dist/{chunk-E2URQD5A.js → chunk-ARCWF2S3.js} +32 -3
- package/dist/chunk-ARCWF2S3.js.map +1 -0
- package/dist/{chunk-4TXBY6P7.js → chunk-XNJP5LKC.js} +7 -7
- package/dist/chunk-XNJP5LKC.js.map +1 -0
- package/dist/{chunk-Z7QPHPNV.js → chunk-ZS5VLSJW.js} +10 -5
- package/dist/chunk-ZS5VLSJW.js.map +1 -0
- package/dist/css/components.css +1 -1
- package/dist/icons/index.d.ts +11 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +20 -12
- package/dist/index.js.map +1 -1
- package/dist/legacy/index.js +3 -3
- package/dist/styles.css +1 -1
- package/dist/suite/index.d.ts +3 -1
- package/dist/suite/index.js +3 -3
- package/docs/components.md +3 -3
- package/docs/components.registry.json +1 -1
- package/eslint-config/index.mjs +3 -1
- package/package.json +1 -1
- package/dist/chunk-4TXBY6P7.js.map +0 -1
- package/dist/chunk-E2URQD5A.js.map +0 -1
- package/dist/chunk-Z7QPHPNV.js.map +0 -1
package/dist/suite/index.d.ts
CHANGED
|
@@ -774,7 +774,9 @@ interface SidebarBrandSwitcherItem {
|
|
|
774
774
|
/**
|
|
775
775
|
* Accent for the default tile background. A Tailwind class string
|
|
776
776
|
* (e.g. `"bg-[#5b3bc4]"`) — the consumer owns brand color values, the
|
|
777
|
-
* DS just composes them.
|
|
777
|
+
* DS just composes them. The tile's initial is white 11px text, so pick
|
|
778
|
+
* a background with at least 4.5:1 against white (WCAG AA), or pass a
|
|
779
|
+
* `glyph`. Ignored when `glyph` is supplied.
|
|
778
780
|
*/
|
|
779
781
|
tone?: string;
|
|
780
782
|
/**
|
package/dist/suite/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { AgreementPaneHeading, AgreementViewer, AssureAuditBrandIcon, AssureBooksBrandIcon, AssureProBrandIcon, AssureTaxBrandIcon, BRAND_PRODUCTS, ClientSelect, ComingSoon, Grid, Logo, ProposalAddOn, ProposalBillingTerms, ProposalConsentGate, ProposalCustomPage, ProposalNote, ProposalPackageCard, ProposalPaymentCapture, ProposalPricingSummary, ProposalServiceRow, ProposalSignatureBlock, ProposalSignerList, QUESTION_TYPES, QUESTION_TYPE_CONTRACT_VERSION, Questions, SidebarBrandSwitcher, SidebarBrandSwitcherTile, brandLabel } from '../chunk-
|
|
3
|
-
export { DocumentDetailActions, DocumentDetailBody, DocumentDetailHeader, DocumentDetailMetaRow, DocumentDetailPanel, DocumentDetailRequester, DocumentDetailTitle, DocumentList, DocumentListSection, DocumentRow } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { AgreementPaneHeading, AgreementViewer, AssureAuditBrandIcon, AssureBooksBrandIcon, AssureProBrandIcon, AssureTaxBrandIcon, BRAND_PRODUCTS, ClientSelect, ComingSoon, Grid, Logo, ProposalAddOn, ProposalBillingTerms, ProposalConsentGate, ProposalCustomPage, ProposalNote, ProposalPackageCard, ProposalPaymentCapture, ProposalPricingSummary, ProposalServiceRow, ProposalSignatureBlock, ProposalSignerList, QUESTION_TYPES, QUESTION_TYPE_CONTRACT_VERSION, Questions, SidebarBrandSwitcher, SidebarBrandSwitcherTile, brandLabel } from '../chunk-XNJP5LKC.js';
|
|
3
|
+
export { DocumentDetailActions, DocumentDetailBody, DocumentDetailHeader, DocumentDetailMetaRow, DocumentDetailPanel, DocumentDetailRequester, DocumentDetailTitle, DocumentList, DocumentListSection, DocumentRow } from '../chunk-ZS5VLSJW.js';
|
|
4
|
+
import '../chunk-ARCWF2S3.js';
|
|
5
5
|
import '../chunk-EUHGZA6Q.js';
|
|
6
6
|
import '../chunk-YRHRVOLV.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/docs/components.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- Generated by `pnpm docs:catalogue` from api/*.api.md and docs/components.registry.json. Do not edit by hand; edit the registry and regenerate. -->
|
|
4
4
|
|
|
5
|
-
Every public component of `@assure-one/design-system`, in one place: **
|
|
5
|
+
Every public component of `@assure-one/design-system`, in one place: **523 component exports** — 183 component families with 228 compound parts, and 195 icons — plus the hooks, utilities, tokens and testing helpers the package exports. The list is derived from the API reports, so a public component cannot be missing from this page (`pnpm docs:catalogue --check` runs in `pnpm test:contracts`).
|
|
6
6
|
|
|
7
7
|
**How to use this page.** Start from the ["Pick a component"](#pick-a-component) table with the UI need you have, or from ["Never hand-roll"](#never-hand-roll) with the raw element you were about to write; links land on the category section that holds the row. Every row links to the story that shows the states. The short rulebook for agents and new contributors is [`docs/for-ai-agents.md`](./for-ai-agents.md).
|
|
8
8
|
|
|
@@ -359,14 +359,14 @@ Deprecated aliases (same drawing under an older name): `ArrowRightSmallIcon`, `C
|
|
|
359
359
|
|
|
360
360
|
### Brand icons
|
|
361
361
|
|
|
362
|
-
Product and third-party marks: the Assure products plus Google and
|
|
362
|
+
Product and third-party marks: the Assure products plus Google, Microsoft and Stripe (wordmark; `size` is its height). The `BrandIcon` suffix is the contract disclosure that the drawing is a trademark. 3 exports.
|
|
363
363
|
|
|
364
364
|
**Use when:** A product switcher, a sign-in provider button, a suite tile.
|
|
365
365
|
**Don't use when:** A generic glyph is meant (use the icon catalogue) or the full wordmark is wanted (`Logo`).
|
|
366
366
|
**Replaces:** `<img src="…logo.svg">`
|
|
367
367
|
**Story:** [src/primitives/logo.stories.tsx](https://github.com/Assure-One/design-system/blob/main/src/primitives/logo.stories.tsx)
|
|
368
368
|
|
|
369
|
-
`GoogleBrandIcon` · `MicrosoftBrandIcon`
|
|
369
|
+
`GoogleBrandIcon` · `MicrosoftBrandIcon` · `StripeBrandIcon`
|
|
370
370
|
|
|
371
371
|
### State-driven icons
|
|
372
372
|
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
{
|
|
475
475
|
"name": "Brand icons",
|
|
476
476
|
"pattern": "BrandIcon$",
|
|
477
|
-
"description": "Product and third-party marks: the Assure products plus Google and
|
|
477
|
+
"description": "Product and third-party marks: the Assure products plus Google, Microsoft and Stripe (wordmark; `size` is its height). The `BrandIcon` suffix is the contract disclosure that the drawing is a trademark.",
|
|
478
478
|
"useWhen": "A product switcher, a sign-in provider button, a suite tile.",
|
|
479
479
|
"dontUseWhen": "A generic glyph is meant (use the icon catalogue) or the full wordmark is wanted (`Logo`).",
|
|
480
480
|
"replacesRawHtml": [
|
package/eslint-config/index.mjs
CHANGED
|
@@ -344,7 +344,9 @@ const noAuthoredSvg = {
|
|
|
344
344
|
* multiplication and dimension sign far more often than a close button.
|
|
345
345
|
*/
|
|
346
346
|
const GLYPH = "[✓✔✗✘✕✖▾▴▸◂▼▲►◄▶◀⏵⏷↑↓←→↗↘↙↖⇅⇄↩↪⋯⋮⚠ℹ★☆◉◎✎✏⟳↻↺⏱⌄⌃⨯⬆⬇➔➜➝➞]";
|
|
347
|
-
|
|
347
|
+
/** Pictographs, minus the typographic marks that are text: © ® ™. */
|
|
348
|
+
const PICTOGRAPH = "(?![©®™])\\p{Extended_Pictographic}";
|
|
349
|
+
const ONLY_GLYPHS = new RegExp(`^(?:${GLYPH}|${PICTOGRAPH}|\\uFE0F|\\s)+$`, "u");
|
|
348
350
|
const EDGE_GLYPH = new RegExp(`^${GLYPH}\\s|\\s${GLYPH}$`, "u");
|
|
349
351
|
/** Elements whose text is a keyboard legend, where ↵ ⌘ ↑ are the key names. */
|
|
350
352
|
const KEY_ELEMENTS = new Set(["Kbd", "KbdHint", "kbd", "Shortcut"]);
|