@sofya-ds/tokens 1.13.1 → 1.14.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/index.cjs CHANGED
@@ -64,8 +64,10 @@ var sofyaTextStyleNames = [
64
64
  "body-md",
65
65
  "body-sm",
66
66
  "body",
67
+ "clinical-body",
67
68
  "label-md",
68
69
  "settings-section-title",
70
+ "clinical-section-title",
69
71
  "section-label",
70
72
  "eyebrow-md",
71
73
  "overline-md",
@@ -463,6 +465,13 @@ function createTextStyleScale(typography) {
463
465
  lineHeight: "26px",
464
466
  letterSpacing: "0"
465
467
  },
468
+ "clinical-body": {
469
+ fontFamily: typography.sans,
470
+ fontSize: "15px",
471
+ fontWeight: "400",
472
+ lineHeight: "24px",
473
+ letterSpacing: "0"
474
+ },
466
475
  "label-md": {
467
476
  fontFamily: typography.sans,
468
477
  fontSize: "14px",
@@ -477,6 +486,13 @@ function createTextStyleScale(typography) {
477
486
  lineHeight: "23px",
478
487
  letterSpacing: "0"
479
488
  },
489
+ "clinical-section-title": {
490
+ fontFamily: typography.sans,
491
+ fontSize: "14px",
492
+ fontWeight: "600",
493
+ lineHeight: "18px",
494
+ letterSpacing: "0.014px"
495
+ },
480
496
  "section-label": {
481
497
  fontFamily: typography.sans,
482
498
  fontSize: "14px",
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", "label-md", "settings-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", "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", "label-md", "settings-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", "code-sm"];
54
54
  type SofyaTextStyleName = (typeof sofyaTextStyleNames)[number];
55
55
  interface SofyaTextStyle {
56
56
  fontFamily: string;
package/dist/index.js CHANGED
@@ -20,8 +20,10 @@ var sofyaTextStyleNames = [
20
20
  "body-md",
21
21
  "body-sm",
22
22
  "body",
23
+ "clinical-body",
23
24
  "label-md",
24
25
  "settings-section-title",
26
+ "clinical-section-title",
25
27
  "section-label",
26
28
  "eyebrow-md",
27
29
  "overline-md",
@@ -419,6 +421,13 @@ function createTextStyleScale(typography) {
419
421
  lineHeight: "26px",
420
422
  letterSpacing: "0"
421
423
  },
424
+ "clinical-body": {
425
+ fontFamily: typography.sans,
426
+ fontSize: "15px",
427
+ fontWeight: "400",
428
+ lineHeight: "24px",
429
+ letterSpacing: "0"
430
+ },
422
431
  "label-md": {
423
432
  fontFamily: typography.sans,
424
433
  fontSize: "14px",
@@ -433,6 +442,13 @@ function createTextStyleScale(typography) {
433
442
  lineHeight: "23px",
434
443
  letterSpacing: "0"
435
444
  },
445
+ "clinical-section-title": {
446
+ fontFamily: typography.sans,
447
+ fontSize: "14px",
448
+ fontWeight: "600",
449
+ lineHeight: "18px",
450
+ letterSpacing: "0.014px"
451
+ },
436
452
  "section-label": {
437
453
  fontFamily: typography.sans,
438
454
  fontSize: "14px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofya-ds/tokens",
3
- "version": "1.13.1",
3
+ "version": "1.14.0",
4
4
  "description": "Official Sofya design tokens, theme presets and semantic color helpers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",