@sofya-ds/tokens 1.14.2 → 1.15.1

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/index.cjs CHANGED
@@ -84,6 +84,7 @@ var sofyaTextStyleNames = [
84
84
  "eyebrow",
85
85
  "tiny",
86
86
  "extra-tiny",
87
+ "table",
87
88
  "code-sm"
88
89
  ];
89
90
  var sofyaSurfaceNames = [
@@ -605,6 +606,13 @@ function createTextStyleScale(typography) {
605
606
  lineHeight: "18px",
606
607
  letterSpacing: "0.012px"
607
608
  },
609
+ table: {
610
+ fontFamily: typography.sans,
611
+ fontSize: "15px",
612
+ fontWeight: "500",
613
+ lineHeight: "18px",
614
+ letterSpacing: "0.012px"
615
+ },
608
616
  "code-sm": {
609
617
  fontFamily: typography.mono,
610
618
  fontSize: "13px",
package/dist/index.d.cts CHANGED
@@ -50,7 +50,7 @@ interface SofyaTypographyScale {
50
50
  display: string;
51
51
  mono: string;
52
52
  }
53
- declare const sofyaTextStyleNames: readonly ["display-xl", "display-lg", "heading-xl", "heading-lg", "heading-md", "settings-page-title", "home-inline-encounter-title", "home-inline-encounter-action", "h1", "h2", "h3", "h4", "h5", "encounter-title", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body", "clinical-body", "label-md", "settings-section-title", "clinical-section-title", "section-label", "eyebrow-md", "overline-md", "sidebar-title", "sidebar-title-regular", "sidebar-title-strong", "sidebar-label", "sidebar-label-strong", "sidebar-body", "sidebar-tag", "encounter-chip", "encounter-history", "caption", "eyebrow", "tiny", "extra-tiny", "code-sm"];
53
+ declare const sofyaTextStyleNames: readonly ["display-xl", "display-lg", "heading-xl", "heading-lg", "heading-md", "settings-page-title", "home-inline-encounter-title", "home-inline-encounter-action", "h1", "h2", "h3", "h4", "h5", "encounter-title", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body", "clinical-body", "label-md", "settings-section-title", "clinical-section-title", "section-label", "eyebrow-md", "overline-md", "sidebar-title", "sidebar-title-regular", "sidebar-title-strong", "sidebar-label", "sidebar-label-strong", "sidebar-body", "sidebar-tag", "encounter-chip", "encounter-history", "caption", "eyebrow", "tiny", "extra-tiny", "table", "code-sm"];
54
54
  type SofyaTextStyleName = (typeof sofyaTextStyleNames)[number];
55
55
  interface SofyaTextStyle {
56
56
  fontFamily: string;
package/dist/index.d.ts CHANGED
@@ -50,7 +50,7 @@ interface SofyaTypographyScale {
50
50
  display: string;
51
51
  mono: string;
52
52
  }
53
- declare const sofyaTextStyleNames: readonly ["display-xl", "display-lg", "heading-xl", "heading-lg", "heading-md", "settings-page-title", "home-inline-encounter-title", "home-inline-encounter-action", "h1", "h2", "h3", "h4", "h5", "encounter-title", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body", "clinical-body", "label-md", "settings-section-title", "clinical-section-title", "section-label", "eyebrow-md", "overline-md", "sidebar-title", "sidebar-title-regular", "sidebar-title-strong", "sidebar-label", "sidebar-label-strong", "sidebar-body", "sidebar-tag", "encounter-chip", "encounter-history", "caption", "eyebrow", "tiny", "extra-tiny", "code-sm"];
53
+ declare const sofyaTextStyleNames: readonly ["display-xl", "display-lg", "heading-xl", "heading-lg", "heading-md", "settings-page-title", "home-inline-encounter-title", "home-inline-encounter-action", "h1", "h2", "h3", "h4", "h5", "encounter-title", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body", "clinical-body", "label-md", "settings-section-title", "clinical-section-title", "section-label", "eyebrow-md", "overline-md", "sidebar-title", "sidebar-title-regular", "sidebar-title-strong", "sidebar-label", "sidebar-label-strong", "sidebar-body", "sidebar-tag", "encounter-chip", "encounter-history", "caption", "eyebrow", "tiny", "extra-tiny", "table", "code-sm"];
54
54
  type SofyaTextStyleName = (typeof sofyaTextStyleNames)[number];
55
55
  interface SofyaTextStyle {
56
56
  fontFamily: string;
package/dist/index.js CHANGED
@@ -40,6 +40,7 @@ var sofyaTextStyleNames = [
40
40
  "eyebrow",
41
41
  "tiny",
42
42
  "extra-tiny",
43
+ "table",
43
44
  "code-sm"
44
45
  ];
45
46
  var sofyaSurfaceNames = [
@@ -561,6 +562,13 @@ function createTextStyleScale(typography) {
561
562
  lineHeight: "18px",
562
563
  letterSpacing: "0.012px"
563
564
  },
565
+ table: {
566
+ fontFamily: typography.sans,
567
+ fontSize: "15px",
568
+ fontWeight: "500",
569
+ lineHeight: "18px",
570
+ letterSpacing: "0.012px"
571
+ },
564
572
  "code-sm": {
565
573
  fontFamily: typography.mono,
566
574
  fontSize: "13px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofya-ds/tokens",
3
- "version": "1.14.2",
3
+ "version": "1.15.1",
4
4
  "description": "Official Sofya design tokens, theme presets and semantic color helpers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",