@sofya-ds/tokens 1.13.0 → 1.13.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
@@ -49,6 +49,9 @@ var sofyaTextStyleNames = [
49
49
  "heading-xl",
50
50
  "heading-lg",
51
51
  "heading-md",
52
+ "settings-page-title",
53
+ "home-inline-encounter-title",
54
+ "home-inline-encounter-action",
52
55
  "h1",
53
56
  "h2",
54
57
  "h3",
@@ -62,6 +65,7 @@ var sofyaTextStyleNames = [
62
65
  "body-sm",
63
66
  "body",
64
67
  "label-md",
68
+ "settings-section-title",
65
69
  "section-label",
66
70
  "eyebrow-md",
67
71
  "overline-md",
@@ -354,6 +358,27 @@ function createTextStyleScale(typography) {
354
358
  lineHeight: "30px",
355
359
  letterSpacing: "-0.01em"
356
360
  },
361
+ "settings-page-title": {
362
+ fontFamily: typography.display,
363
+ fontSize: "36px",
364
+ fontWeight: "600",
365
+ lineHeight: "41px",
366
+ letterSpacing: "-0.18px"
367
+ },
368
+ "home-inline-encounter-title": {
369
+ fontFamily: typography.display,
370
+ fontSize: "36px",
371
+ fontWeight: "600",
372
+ lineHeight: "41px",
373
+ letterSpacing: "-0.18px"
374
+ },
375
+ "home-inline-encounter-action": {
376
+ fontFamily: typography.sans,
377
+ fontSize: "15px",
378
+ fontWeight: "500",
379
+ lineHeight: "26px",
380
+ letterSpacing: "0"
381
+ },
357
382
  h1: {
358
383
  fontFamily: typography.display,
359
384
  fontSize: "48px",
@@ -445,6 +470,13 @@ function createTextStyleScale(typography) {
445
470
  lineHeight: "20px",
446
471
  letterSpacing: "0"
447
472
  },
473
+ "settings-section-title": {
474
+ fontFamily: typography.sans,
475
+ fontSize: "18px",
476
+ fontWeight: "600",
477
+ lineHeight: "23px",
478
+ letterSpacing: "0"
479
+ },
448
480
  "section-label": {
449
481
  fontFamily: typography.sans,
450
482
  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", "h1", "h2", "h3", "h4", "h5", "encounter-title", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body", "label-md", "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", "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"];
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", "h1", "h2", "h3", "h4", "h5", "encounter-title", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body", "label-md", "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", "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"];
54
54
  type SofyaTextStyleName = (typeof sofyaTextStyleNames)[number];
55
55
  interface SofyaTextStyle {
56
56
  fontFamily: string;
package/dist/index.js CHANGED
@@ -5,6 +5,9 @@ var sofyaTextStyleNames = [
5
5
  "heading-xl",
6
6
  "heading-lg",
7
7
  "heading-md",
8
+ "settings-page-title",
9
+ "home-inline-encounter-title",
10
+ "home-inline-encounter-action",
8
11
  "h1",
9
12
  "h2",
10
13
  "h3",
@@ -18,6 +21,7 @@ var sofyaTextStyleNames = [
18
21
  "body-sm",
19
22
  "body",
20
23
  "label-md",
24
+ "settings-section-title",
21
25
  "section-label",
22
26
  "eyebrow-md",
23
27
  "overline-md",
@@ -310,6 +314,27 @@ function createTextStyleScale(typography) {
310
314
  lineHeight: "30px",
311
315
  letterSpacing: "-0.01em"
312
316
  },
317
+ "settings-page-title": {
318
+ fontFamily: typography.display,
319
+ fontSize: "36px",
320
+ fontWeight: "600",
321
+ lineHeight: "41px",
322
+ letterSpacing: "-0.18px"
323
+ },
324
+ "home-inline-encounter-title": {
325
+ fontFamily: typography.display,
326
+ fontSize: "36px",
327
+ fontWeight: "600",
328
+ lineHeight: "41px",
329
+ letterSpacing: "-0.18px"
330
+ },
331
+ "home-inline-encounter-action": {
332
+ fontFamily: typography.sans,
333
+ fontSize: "15px",
334
+ fontWeight: "500",
335
+ lineHeight: "26px",
336
+ letterSpacing: "0"
337
+ },
313
338
  h1: {
314
339
  fontFamily: typography.display,
315
340
  fontSize: "48px",
@@ -401,6 +426,13 @@ function createTextStyleScale(typography) {
401
426
  lineHeight: "20px",
402
427
  letterSpacing: "0"
403
428
  },
429
+ "settings-section-title": {
430
+ fontFamily: typography.sans,
431
+ fontSize: "18px",
432
+ fontWeight: "600",
433
+ lineHeight: "23px",
434
+ letterSpacing: "0"
435
+ },
404
436
  "section-label": {
405
437
  fontFamily: typography.sans,
406
438
  fontSize: "14px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofya-ds/tokens",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "Official Sofya design tokens, theme presets and semantic color helpers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",