@assure-one/design-system 1.39.0 → 1.40.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.
Files changed (54) hide show
  1. package/README.md +48 -28
  2. package/codemods/README.md +24 -7
  3. package/codemods/lib/registry.mjs +27 -0
  4. package/codemods/lib/runner.mjs +8 -3
  5. package/codemods/run.mjs +27 -5
  6. package/codemods/transforms/cm-15-dom-selectors.mjs +16 -9
  7. package/dist/brand-scope-BOHId6BY.d.ts +58 -0
  8. package/dist/{brand-theme-B6rem2II.d.ts → brand-theme-ZYM867Jz.d.ts} +1 -1
  9. package/dist/chunk-2MKLYYIY.js +3754 -0
  10. package/dist/chunk-2MKLYYIY.js.map +1 -0
  11. package/dist/chunk-6S2R2VWN.js +5527 -0
  12. package/dist/chunk-6S2R2VWN.js.map +1 -0
  13. package/dist/chunk-7U3ADR2Q.js +4336 -0
  14. package/dist/chunk-7U3ADR2Q.js.map +1 -0
  15. package/dist/chunk-CPOGSNXS.js +389 -0
  16. package/dist/chunk-CPOGSNXS.js.map +1 -0
  17. package/dist/chunk-EUHGZA6Q.js +313 -0
  18. package/dist/chunk-EUHGZA6Q.js.map +1 -0
  19. package/dist/chunk-KQBYTTAN.js +1829 -0
  20. package/dist/chunk-KQBYTTAN.js.map +1 -0
  21. package/dist/chunk-X76J4QSJ.js +164 -0
  22. package/dist/chunk-X76J4QSJ.js.map +1 -0
  23. package/dist/css/components.css +1 -1
  24. package/dist/css/legacy-aliases.css +2 -0
  25. package/dist/css/tailwind.css +2 -0
  26. package/dist/css/tokens.css +2 -0
  27. package/dist/data-table-view-ep8al7P9.d.ts +1132 -0
  28. package/dist/{design-system-provider-BM_F1C13.d.ts → design-system-provider-CfD2g2lY.d.ts} +11 -12
  29. package/dist/icons/index.d.ts +1 -1
  30. package/dist/icons/index.js +2 -1835
  31. package/dist/icons/index.js.map +1 -1
  32. package/dist/index.d.ts +373 -388
  33. package/dist/index.js +8688 -24271
  34. package/dist/index.js.map +1 -1
  35. package/dist/legacy/index.d.ts +1462 -7
  36. package/dist/legacy/index.js +5 -1
  37. package/dist/legacy/index.js.map +1 -1
  38. package/dist/next/index.d.ts +2 -2
  39. package/dist/styles.css +2 -1
  40. package/dist/suite/index.d.ts +989 -4
  41. package/dist/suite/index.js +6 -1
  42. package/dist/suite/index.js.map +1 -1
  43. package/dist/testing/index.cjs +3 -2
  44. package/dist/testing/index.js +3 -2
  45. package/dist/tokens/index.d.ts +1 -1
  46. package/dist/tokens/index.js +3 -856
  47. package/dist/tokens/index.js.map +1 -1
  48. package/dist/{types-k_kjwipx.d.ts → types-Coqw8iaS.d.ts} +28 -1
  49. package/docs/components.md +54 -54
  50. package/docs/components.registry.json +6 -6
  51. package/docs/for-ai-agents.md +12 -6
  52. package/package.json +5 -3
  53. package/dist/index-BAAuIQqP.d.ts +0 -2579
  54. package/dist/index-DxBjmBBp.d.ts +0 -1038
@@ -1,3 +1,8 @@
1
- export { AgreementPaneHeading, AgreementViewer, AssureAuditBrandIcon, AssureBooksBrandIcon, AssureProBrandIcon, AssureTaxBrandIcon, BRAND_PRODUCTS, ClientSelect, ComingSoon, DocumentDetailActions, DocumentDetailBody, DocumentDetailHeader, DocumentDetailMetaRow, DocumentDetailPanel, DocumentDetailRequester, DocumentDetailTitle, DocumentList, DocumentListSection, DocumentRow, Grid, Logo, ProposalAddOn, ProposalBillingTerms, ProposalConsentGate, ProposalCustomPage, ProposalNote, ProposalPackageCard, ProposalPaymentCapture, ProposalPricingSummary, ProposalServiceRow, ProposalSignatureBlock, ProposalSignerList, Questions, SidebarBrandSwitcher, SidebarBrandSwitcherTile, brandLabel } from '@assure-one/design-system';
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-7U3ADR2Q.js';
3
+ export { DocumentDetailActions, DocumentDetailBody, DocumentDetailHeader, DocumentDetailMetaRow, DocumentDetailPanel, DocumentDetailRequester, DocumentDetailTitle, DocumentList, DocumentListSection, DocumentRow } from '../chunk-2MKLYYIY.js';
4
+ import '../chunk-KQBYTTAN.js';
5
+ import '../chunk-EUHGZA6Q.js';
6
+ import '../chunk-X76J4QSJ.js';
2
7
  //# sourceMappingURL=index.js.map
3
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -208,10 +208,11 @@ function read(el) {
208
208
  }
209
209
  const chip = el.querySelector('span[aria-hidden="true"]');
210
210
  const body = chip?.nextElementSibling ?? null;
211
- const paragraphs = Array.from(body?.querySelectorAll(":scope > p") ?? []);
211
+ const children = Array.from(body?.children ?? []);
212
+ const paragraphs = children.filter((c) => c.tagName === "P");
212
213
  const title = paragraphs.find((p) => p.classList.contains(TITLE_CLASS));
213
214
  const description = paragraphs.find((p) => p !== title);
214
- const action = body?.querySelector(":scope > button") ?? null;
215
+ const action = children.find((c) => c.tagName === "BUTTON") ?? null;
215
216
  let variant = "default";
216
217
  if (role === "alert") variant = "destructive";
217
218
  else if (hasClass(chip, LOADING_CLASS)) variant = "loading";
@@ -206,10 +206,11 @@ function read(el) {
206
206
  }
207
207
  const chip = el.querySelector('span[aria-hidden="true"]');
208
208
  const body = chip?.nextElementSibling ?? null;
209
- const paragraphs = Array.from(body?.querySelectorAll(":scope > p") ?? []);
209
+ const children = Array.from(body?.children ?? []);
210
+ const paragraphs = children.filter((c) => c.tagName === "P");
210
211
  const title = paragraphs.find((p) => p.classList.contains(TITLE_CLASS));
211
212
  const description = paragraphs.find((p) => p !== title);
212
- const action = body?.querySelector(":scope > button") ?? null;
213
+ const action = children.find((c) => c.tagName === "BUTTON") ?? null;
213
214
  let variant = "default";
214
215
  if (role === "alert") variant = "destructive";
215
216
  else if (hasClass(chip, LOADING_CLASS)) variant = "loading";
@@ -1,3 +1,3 @@
1
1
  export { C as ColorName, R as ReferenceTokens, b as breakpoints, c as colors, i as iconSizes, l as layout, m as motion, o as overlays, r as radii, a as reference, s as shadows, d as spacing, e as surfaces, t as typography, z as zIndex } from '../reference-BkDbrPIB.js';
2
2
  export { S as SystemTokens, s as systemTokens } from '../system-DfJIVBlJ.js';
3
- export { B as BRAND_THEME_PROPERTIES, a as BrandTheme, b as BrandThemeProperty, c as BrandThemeSeed, d as createBrandTheme } from '../brand-theme-B6rem2II.js';
3
+ export { B as BRAND_THEME_PROPERTIES, a as BrandTheme, b as BrandThemeProperty, c as BrandThemeSeed, d as createBrandTheme } from '../brand-theme-ZYM867Jz.js';