@sfgov/design-system 2.0.0 → 3.0.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.
@@ -5,7 +5,7 @@ import { ClassNameValue } from 'tailwind-merge';
5
5
  type AnyComponent<P = unknown> = ElementType | ComponentType<P>
6
6
 
7
7
  declare const Wrapper: _tw_classed_react.ClassedComponentType<"div", Partial<{
8
- level: "1" | "2" | "3" | 1 | 2 | 3 | undefined;
8
+ level: 1 | 2 | 3 | "1" | "2" | "3" | undefined;
9
9
  }>, Pick<{
10
10
  base: string;
11
11
  variants: {
@@ -17,7 +17,7 @@ declare const Wrapper: _tw_classed_react.ClassedComponentType<"div", Partial<{
17
17
  };
18
18
  }, "variants" | "defaultVariants" | "dataAttributes">>;
19
19
  declare const BrandedDivider: _tw_classed_react.ClassedComponentType<_tw_classed_react.ClassedComponentType<"div", {}, {}>, Partial<{
20
- level: "1" | "2" | "3" | 1 | 2 | 3 | undefined;
20
+ level: 1 | 2 | 3 | "1" | "2" | "3" | undefined;
21
21
  }>, Pick<{
22
22
  base: string;
23
23
  variants: {
@@ -54,7 +54,7 @@ declare const BUTTON_VARIANTS: {
54
54
  };
55
55
  };
56
56
  declare const Button: _tw_classed_react.ClassedComponentType<"button", Partial<{
57
- readonly variant: "link" | "primary" | "large" | "secondary" | "tertiary" | undefined;
57
+ readonly variant: "primary" | "large" | "secondary" | "tertiary" | "link" | undefined;
58
58
  readonly block: boolean | "true" | "false" | undefined;
59
59
  }>, Pick<{
60
60
  readonly base: string;
@@ -274,7 +274,7 @@ declare const TEXT_CLASSES: Readonly<{
274
274
  }>;
275
275
  type TextVariant = keyof typeof TEXT_CLASSES;
276
276
  declare const Text: _tw_classed_react.ClassedComponentType<AnyComponent, Partial<{
277
- variant: "small" | "body" | "label" | "headingXs" | "headingSm" | "headingMd" | "headingLg" | "headingLgListItem" | "headingXl" | "headingXlSans" | "headingXXl" | "displayLg" | "displayXXXl" | "mono" | "labelXs" | "labelSm" | "labelMd" | undefined;
277
+ variant: "body" | "label" | "small" | "headingXs" | "headingSm" | "headingMd" | "headingLg" | "headingLgListItem" | "headingXl" | "headingXlSans" | "headingXXl" | "displayLg" | "displayXXXl" | "mono" | "labelXs" | "labelSm" | "labelMd" | undefined;
278
278
  romanType: "serif" | "sans" | undefined;
279
279
  }>, Pick<{
280
280
  variants: {
@@ -5,7 +5,7 @@ import { ClassNameValue } from 'tailwind-merge';
5
5
  type AnyComponent<P = unknown> = ElementType | ComponentType<P>
6
6
 
7
7
  declare const Wrapper: _tw_classed_react.ClassedComponentType<"div", Partial<{
8
- level: "1" | "2" | "3" | 1 | 2 | 3 | undefined;
8
+ level: 1 | 2 | 3 | "1" | "2" | "3" | undefined;
9
9
  }>, Pick<{
10
10
  base: string;
11
11
  variants: {
@@ -17,7 +17,7 @@ declare const Wrapper: _tw_classed_react.ClassedComponentType<"div", Partial<{
17
17
  };
18
18
  }, "variants" | "defaultVariants" | "dataAttributes">>;
19
19
  declare const BrandedDivider: _tw_classed_react.ClassedComponentType<_tw_classed_react.ClassedComponentType<"div", {}, {}>, Partial<{
20
- level: "1" | "2" | "3" | 1 | 2 | 3 | undefined;
20
+ level: 1 | 2 | 3 | "1" | "2" | "3" | undefined;
21
21
  }>, Pick<{
22
22
  base: string;
23
23
  variants: {
@@ -54,7 +54,7 @@ declare const BUTTON_VARIANTS: {
54
54
  };
55
55
  };
56
56
  declare const Button: _tw_classed_react.ClassedComponentType<"button", Partial<{
57
- readonly variant: "link" | "primary" | "large" | "secondary" | "tertiary" | undefined;
57
+ readonly variant: "primary" | "large" | "secondary" | "tertiary" | "link" | undefined;
58
58
  readonly block: boolean | "true" | "false" | undefined;
59
59
  }>, Pick<{
60
60
  readonly base: string;
@@ -274,7 +274,7 @@ declare const TEXT_CLASSES: Readonly<{
274
274
  }>;
275
275
  type TextVariant = keyof typeof TEXT_CLASSES;
276
276
  declare const Text: _tw_classed_react.ClassedComponentType<AnyComponent, Partial<{
277
- variant: "small" | "body" | "label" | "headingXs" | "headingSm" | "headingMd" | "headingLg" | "headingLgListItem" | "headingXl" | "headingXlSans" | "headingXXl" | "displayLg" | "displayXXXl" | "mono" | "labelXs" | "labelSm" | "labelMd" | undefined;
277
+ variant: "body" | "label" | "small" | "headingXs" | "headingSm" | "headingMd" | "headingLg" | "headingLgListItem" | "headingXl" | "headingXlSans" | "headingXXl" | "displayLg" | "displayXXXl" | "mono" | "labelXs" | "labelSm" | "labelMd" | undefined;
278
278
  romanType: "serif" | "sans" | undefined;
279
279
  }>, Pick<{
280
280
  variants: {
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { i as tokens } from './index-B0W-UB6r.mjs';
2
- export { i as react } from './index-BM7g0jkd.mjs';
2
+ export { i as react } from './index-DHiPgahK.mjs';
3
3
  import 'react';
4
4
  import '@tw-classed/react';
5
5
  import 'tailwind-merge';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { i as tokens } from './index-B0W-UB6r.js';
2
- export { i as react } from './index-BM7g0jkd.js';
2
+ export { i as react } from './index-DHiPgahK.js';
3
3
  import 'react';
4
4
  import '@tw-classed/react';
5
5
  import 'tailwind-merge';
@@ -1,4 +1,4 @@
1
- export { A as AnyComponent, B as BUTTON_VARIANTS, a as BodyText, b as BrandedDivider, c as BrandedHeading, d as BrandedHeadingProps, e as Button, f as ButtonProps, C as ClassifiableElement, g as Container, h as ContainerProps, D as DisplayLg, j as DisplayXXXl, G as Grid, k as GridProps, H as HeadingDivider, l as HeadingLg, m as HeadingLgListItem, n as HeadingMd, o as HeadingSm, p as HeadingXXl, q as HeadingXl, r as HeadingXlSans, s as HeadingXs, I as IconAccessibility, t as IconAccount, u as IconAdditional, v as IconAlertCircle, w as IconApplications, x as IconArchive, y as IconArrowDown, z as IconArrowLeft, E as IconArrowRight, F as IconArrowUp, J as IconBluesky, K as IconBusiness, L as IconCalendar, M as IconCash, N as IconCaution, O as IconCheck, P as IconChecklist, Q as IconCheckmark, R as IconChevronDown, S as IconChevronLeft, T as IconChevronRight, U as IconChevronUp, V as IconClipboard, W as IconClock, X as IconCloseQuote, Y as IconCreditCard, Z as IconCriticalAlert, _ as IconCriticalSitewideAlert, $ as IconDashboard, a0 as IconData, a1 as IconDelete, a2 as IconDocument, a3 as IconDownload, a4 as IconEmail, a5 as IconEnvelope, a6 as IconExternalLink, a7 as IconFacebook, a8 as IconFilter, a9 as IconFloppy, aa as IconFog, ab as IconFolderClosed, ac as IconFolderOpen, ad as IconForm, ae as IconGlobe, af as IconGrid, ag as IconHamburger, ah as IconHome, ai as IconImage, aj as IconInfo, ak as IconInfoAlert, al as IconInfoSitewideAlert, am as IconInstagram, an as IconKeyboard, ao as IconLanguages, ap as IconLinkedin, aq as IconLocation, ar as IconLock, as as IconMinus, at as IconMore, au as IconNotification, av as IconOpenQuote, aw as IconPage, ax as IconParking, ay as IconPause, az as IconPencil, aA as IconPhone, aB as IconPlus, aC as IconPrinter, aD as IconProfile, aE as IconQuestion, aF as IconSearch, aG as IconSend, aH as IconSettings, aI as IconShare, aJ as IconSpin, aK as IconThreads, aL as IconThumbsDown, aM as IconThumbsUp, aN as IconTiktok, aO as IconTrafficCone, aP as IconTranscript, aQ as IconTransportation, aR as IconTwitter, aS as IconUpload, aT as IconVideo, aU as IconWarning, aV as IconX, aW as IconYoutube, aX as ImageHeader, aY as ImageHeaderProps, aZ as LINK_COLOR_CLASSES, a_ as Label, a$ as LabelMd, b0 as LabelSm, b1 as LabelXs, b2 as Link, b3 as LinkProps, b4 as Monospace, b5 as PageHeader, b6 as PageHeaderProps, b7 as PageLabel, b8 as PageLabelProps, b9 as QuickLink, ba as QuickLinkProps, bb as QuickLinkSet, bc as QuickLinkSetProps, bd as SmallText, be as StackedContainer, bf as StackedContainerProps, bg as StackedItem, bh as StackedItemProps, bi as TEXT_CLASSES, bj as Text, bk as TextProps, bl as TextVariant, bm as Tile, bn as TileProps, bo as TileSection, bp as TileSectionProps, bq as TileSet, br as TileSetProps, bs as classed, bt as classes, bu as classify } from '../index-BM7g0jkd.mjs';
1
+ export { A as AnyComponent, B as BUTTON_VARIANTS, a as BodyText, b as BrandedDivider, c as BrandedHeading, d as BrandedHeadingProps, e as Button, f as ButtonProps, C as ClassifiableElement, g as Container, h as ContainerProps, D as DisplayLg, j as DisplayXXXl, G as Grid, k as GridProps, H as HeadingDivider, l as HeadingLg, m as HeadingLgListItem, n as HeadingMd, o as HeadingSm, p as HeadingXXl, q as HeadingXl, r as HeadingXlSans, s as HeadingXs, I as IconAccessibility, t as IconAccount, u as IconAdditional, v as IconAlertCircle, w as IconApplications, x as IconArchive, y as IconArrowDown, z as IconArrowLeft, E as IconArrowRight, F as IconArrowUp, J as IconBluesky, K as IconBusiness, L as IconCalendar, M as IconCash, N as IconCaution, O as IconCheck, P as IconChecklist, Q as IconCheckmark, R as IconChevronDown, S as IconChevronLeft, T as IconChevronRight, U as IconChevronUp, V as IconClipboard, W as IconClock, X as IconCloseQuote, Y as IconCreditCard, Z as IconCriticalAlert, _ as IconCriticalSitewideAlert, $ as IconDashboard, a0 as IconData, a1 as IconDelete, a2 as IconDocument, a3 as IconDownload, a4 as IconEmail, a5 as IconEnvelope, a6 as IconExternalLink, a7 as IconFacebook, a8 as IconFilter, a9 as IconFloppy, aa as IconFog, ab as IconFolderClosed, ac as IconFolderOpen, ad as IconForm, ae as IconGlobe, af as IconGrid, ag as IconHamburger, ah as IconHome, ai as IconImage, aj as IconInfo, ak as IconInfoAlert, al as IconInfoSitewideAlert, am as IconInstagram, an as IconKeyboard, ao as IconLanguages, ap as IconLinkedin, aq as IconLocation, ar as IconLock, as as IconMinus, at as IconMore, au as IconNotification, av as IconOpenQuote, aw as IconPage, ax as IconParking, ay as IconPause, az as IconPencil, aA as IconPhone, aB as IconPlus, aC as IconPrinter, aD as IconProfile, aE as IconQuestion, aF as IconSearch, aG as IconSend, aH as IconSettings, aI as IconShare, aJ as IconSpin, aK as IconThreads, aL as IconThumbsDown, aM as IconThumbsUp, aN as IconTiktok, aO as IconTrafficCone, aP as IconTranscript, aQ as IconTransportation, aR as IconTwitter, aS as IconUpload, aT as IconVideo, aU as IconWarning, aV as IconX, aW as IconYoutube, aX as ImageHeader, aY as ImageHeaderProps, aZ as LINK_COLOR_CLASSES, a_ as Label, a$ as LabelMd, b0 as LabelSm, b1 as LabelXs, b2 as Link, b3 as LinkProps, b4 as Monospace, b5 as PageHeader, b6 as PageHeaderProps, b7 as PageLabel, b8 as PageLabelProps, b9 as QuickLink, ba as QuickLinkProps, bb as QuickLinkSet, bc as QuickLinkSetProps, bd as SmallText, be as StackedContainer, bf as StackedContainerProps, bg as StackedItem, bh as StackedItemProps, bi as TEXT_CLASSES, bj as Text, bk as TextProps, bl as TextVariant, bm as Tile, bn as TileProps, bo as TileSection, bp as TileSectionProps, bq as TileSet, br as TileSetProps, bs as classed, bt as classes, bu as classify } from '../index-DHiPgahK.mjs';
2
2
  import * as _tw_classed_react from '@tw-classed/react';
3
3
  export { _tw_classed_react as Classed };
4
4
  export { ComponentType, ElementType } from 'react';
@@ -1,4 +1,4 @@
1
- export { A as AnyComponent, B as BUTTON_VARIANTS, a as BodyText, b as BrandedDivider, c as BrandedHeading, d as BrandedHeadingProps, e as Button, f as ButtonProps, C as ClassifiableElement, g as Container, h as ContainerProps, D as DisplayLg, j as DisplayXXXl, G as Grid, k as GridProps, H as HeadingDivider, l as HeadingLg, m as HeadingLgListItem, n as HeadingMd, o as HeadingSm, p as HeadingXXl, q as HeadingXl, r as HeadingXlSans, s as HeadingXs, I as IconAccessibility, t as IconAccount, u as IconAdditional, v as IconAlertCircle, w as IconApplications, x as IconArchive, y as IconArrowDown, z as IconArrowLeft, E as IconArrowRight, F as IconArrowUp, J as IconBluesky, K as IconBusiness, L as IconCalendar, M as IconCash, N as IconCaution, O as IconCheck, P as IconChecklist, Q as IconCheckmark, R as IconChevronDown, S as IconChevronLeft, T as IconChevronRight, U as IconChevronUp, V as IconClipboard, W as IconClock, X as IconCloseQuote, Y as IconCreditCard, Z as IconCriticalAlert, _ as IconCriticalSitewideAlert, $ as IconDashboard, a0 as IconData, a1 as IconDelete, a2 as IconDocument, a3 as IconDownload, a4 as IconEmail, a5 as IconEnvelope, a6 as IconExternalLink, a7 as IconFacebook, a8 as IconFilter, a9 as IconFloppy, aa as IconFog, ab as IconFolderClosed, ac as IconFolderOpen, ad as IconForm, ae as IconGlobe, af as IconGrid, ag as IconHamburger, ah as IconHome, ai as IconImage, aj as IconInfo, ak as IconInfoAlert, al as IconInfoSitewideAlert, am as IconInstagram, an as IconKeyboard, ao as IconLanguages, ap as IconLinkedin, aq as IconLocation, ar as IconLock, as as IconMinus, at as IconMore, au as IconNotification, av as IconOpenQuote, aw as IconPage, ax as IconParking, ay as IconPause, az as IconPencil, aA as IconPhone, aB as IconPlus, aC as IconPrinter, aD as IconProfile, aE as IconQuestion, aF as IconSearch, aG as IconSend, aH as IconSettings, aI as IconShare, aJ as IconSpin, aK as IconThreads, aL as IconThumbsDown, aM as IconThumbsUp, aN as IconTiktok, aO as IconTrafficCone, aP as IconTranscript, aQ as IconTransportation, aR as IconTwitter, aS as IconUpload, aT as IconVideo, aU as IconWarning, aV as IconX, aW as IconYoutube, aX as ImageHeader, aY as ImageHeaderProps, aZ as LINK_COLOR_CLASSES, a_ as Label, a$ as LabelMd, b0 as LabelSm, b1 as LabelXs, b2 as Link, b3 as LinkProps, b4 as Monospace, b5 as PageHeader, b6 as PageHeaderProps, b7 as PageLabel, b8 as PageLabelProps, b9 as QuickLink, ba as QuickLinkProps, bb as QuickLinkSet, bc as QuickLinkSetProps, bd as SmallText, be as StackedContainer, bf as StackedContainerProps, bg as StackedItem, bh as StackedItemProps, bi as TEXT_CLASSES, bj as Text, bk as TextProps, bl as TextVariant, bm as Tile, bn as TileProps, bo as TileSection, bp as TileSectionProps, bq as TileSet, br as TileSetProps, bs as classed, bt as classes, bu as classify } from '../index-BM7g0jkd.js';
1
+ export { A as AnyComponent, B as BUTTON_VARIANTS, a as BodyText, b as BrandedDivider, c as BrandedHeading, d as BrandedHeadingProps, e as Button, f as ButtonProps, C as ClassifiableElement, g as Container, h as ContainerProps, D as DisplayLg, j as DisplayXXXl, G as Grid, k as GridProps, H as HeadingDivider, l as HeadingLg, m as HeadingLgListItem, n as HeadingMd, o as HeadingSm, p as HeadingXXl, q as HeadingXl, r as HeadingXlSans, s as HeadingXs, I as IconAccessibility, t as IconAccount, u as IconAdditional, v as IconAlertCircle, w as IconApplications, x as IconArchive, y as IconArrowDown, z as IconArrowLeft, E as IconArrowRight, F as IconArrowUp, J as IconBluesky, K as IconBusiness, L as IconCalendar, M as IconCash, N as IconCaution, O as IconCheck, P as IconChecklist, Q as IconCheckmark, R as IconChevronDown, S as IconChevronLeft, T as IconChevronRight, U as IconChevronUp, V as IconClipboard, W as IconClock, X as IconCloseQuote, Y as IconCreditCard, Z as IconCriticalAlert, _ as IconCriticalSitewideAlert, $ as IconDashboard, a0 as IconData, a1 as IconDelete, a2 as IconDocument, a3 as IconDownload, a4 as IconEmail, a5 as IconEnvelope, a6 as IconExternalLink, a7 as IconFacebook, a8 as IconFilter, a9 as IconFloppy, aa as IconFog, ab as IconFolderClosed, ac as IconFolderOpen, ad as IconForm, ae as IconGlobe, af as IconGrid, ag as IconHamburger, ah as IconHome, ai as IconImage, aj as IconInfo, ak as IconInfoAlert, al as IconInfoSitewideAlert, am as IconInstagram, an as IconKeyboard, ao as IconLanguages, ap as IconLinkedin, aq as IconLocation, ar as IconLock, as as IconMinus, at as IconMore, au as IconNotification, av as IconOpenQuote, aw as IconPage, ax as IconParking, ay as IconPause, az as IconPencil, aA as IconPhone, aB as IconPlus, aC as IconPrinter, aD as IconProfile, aE as IconQuestion, aF as IconSearch, aG as IconSend, aH as IconSettings, aI as IconShare, aJ as IconSpin, aK as IconThreads, aL as IconThumbsDown, aM as IconThumbsUp, aN as IconTiktok, aO as IconTrafficCone, aP as IconTranscript, aQ as IconTransportation, aR as IconTwitter, aS as IconUpload, aT as IconVideo, aU as IconWarning, aV as IconX, aW as IconYoutube, aX as ImageHeader, aY as ImageHeaderProps, aZ as LINK_COLOR_CLASSES, a_ as Label, a$ as LabelMd, b0 as LabelSm, b1 as LabelXs, b2 as Link, b3 as LinkProps, b4 as Monospace, b5 as PageHeader, b6 as PageHeaderProps, b7 as PageLabel, b8 as PageLabelProps, b9 as QuickLink, ba as QuickLinkProps, bb as QuickLinkSet, bc as QuickLinkSetProps, bd as SmallText, be as StackedContainer, bf as StackedContainerProps, bg as StackedItem, bh as StackedItemProps, bi as TEXT_CLASSES, bj as Text, bk as TextProps, bl as TextVariant, bm as Tile, bn as TileProps, bo as TileSection, bp as TileSectionProps, bq as TileSet, br as TileSetProps, bs as classed, bt as classes, bu as classify } from '../index-DHiPgahK.js';
2
2
  import * as _tw_classed_react from '@tw-classed/react';
3
3
  export { _tw_classed_react as Classed };
4
4
  export { ComponentType, ElementType } from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfgov/design-system",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "repository": "SFDigitalServices/design-system",
5
5
  "license": "MIT",
6
6
  "author": {