@sofya-ds/tokens 1.13.0 → 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 +48 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +48 -0
- package/package.json +1 -1
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",
|
|
@@ -61,7 +64,10 @@ var sofyaTextStyleNames = [
|
|
|
61
64
|
"body-md",
|
|
62
65
|
"body-sm",
|
|
63
66
|
"body",
|
|
67
|
+
"clinical-body",
|
|
64
68
|
"label-md",
|
|
69
|
+
"settings-section-title",
|
|
70
|
+
"clinical-section-title",
|
|
65
71
|
"section-label",
|
|
66
72
|
"eyebrow-md",
|
|
67
73
|
"overline-md",
|
|
@@ -354,6 +360,27 @@ function createTextStyleScale(typography) {
|
|
|
354
360
|
lineHeight: "30px",
|
|
355
361
|
letterSpacing: "-0.01em"
|
|
356
362
|
},
|
|
363
|
+
"settings-page-title": {
|
|
364
|
+
fontFamily: typography.display,
|
|
365
|
+
fontSize: "36px",
|
|
366
|
+
fontWeight: "600",
|
|
367
|
+
lineHeight: "41px",
|
|
368
|
+
letterSpacing: "-0.18px"
|
|
369
|
+
},
|
|
370
|
+
"home-inline-encounter-title": {
|
|
371
|
+
fontFamily: typography.display,
|
|
372
|
+
fontSize: "36px",
|
|
373
|
+
fontWeight: "600",
|
|
374
|
+
lineHeight: "41px",
|
|
375
|
+
letterSpacing: "-0.18px"
|
|
376
|
+
},
|
|
377
|
+
"home-inline-encounter-action": {
|
|
378
|
+
fontFamily: typography.sans,
|
|
379
|
+
fontSize: "15px",
|
|
380
|
+
fontWeight: "500",
|
|
381
|
+
lineHeight: "26px",
|
|
382
|
+
letterSpacing: "0"
|
|
383
|
+
},
|
|
357
384
|
h1: {
|
|
358
385
|
fontFamily: typography.display,
|
|
359
386
|
fontSize: "48px",
|
|
@@ -438,6 +465,13 @@ function createTextStyleScale(typography) {
|
|
|
438
465
|
lineHeight: "26px",
|
|
439
466
|
letterSpacing: "0"
|
|
440
467
|
},
|
|
468
|
+
"clinical-body": {
|
|
469
|
+
fontFamily: typography.sans,
|
|
470
|
+
fontSize: "15px",
|
|
471
|
+
fontWeight: "400",
|
|
472
|
+
lineHeight: "24px",
|
|
473
|
+
letterSpacing: "0"
|
|
474
|
+
},
|
|
441
475
|
"label-md": {
|
|
442
476
|
fontFamily: typography.sans,
|
|
443
477
|
fontSize: "14px",
|
|
@@ -445,6 +479,20 @@ function createTextStyleScale(typography) {
|
|
|
445
479
|
lineHeight: "20px",
|
|
446
480
|
letterSpacing: "0"
|
|
447
481
|
},
|
|
482
|
+
"settings-section-title": {
|
|
483
|
+
fontFamily: typography.sans,
|
|
484
|
+
fontSize: "18px",
|
|
485
|
+
fontWeight: "600",
|
|
486
|
+
lineHeight: "23px",
|
|
487
|
+
letterSpacing: "0"
|
|
488
|
+
},
|
|
489
|
+
"clinical-section-title": {
|
|
490
|
+
fontFamily: typography.sans,
|
|
491
|
+
fontSize: "14px",
|
|
492
|
+
fontWeight: "600",
|
|
493
|
+
lineHeight: "18px",
|
|
494
|
+
letterSpacing: "0.014px"
|
|
495
|
+
},
|
|
448
496
|
"section-label": {
|
|
449
497
|
fontFamily: typography.sans,
|
|
450
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", "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", "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", "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", "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
|
@@ -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",
|
|
@@ -17,7 +20,10 @@ var sofyaTextStyleNames = [
|
|
|
17
20
|
"body-md",
|
|
18
21
|
"body-sm",
|
|
19
22
|
"body",
|
|
23
|
+
"clinical-body",
|
|
20
24
|
"label-md",
|
|
25
|
+
"settings-section-title",
|
|
26
|
+
"clinical-section-title",
|
|
21
27
|
"section-label",
|
|
22
28
|
"eyebrow-md",
|
|
23
29
|
"overline-md",
|
|
@@ -310,6 +316,27 @@ function createTextStyleScale(typography) {
|
|
|
310
316
|
lineHeight: "30px",
|
|
311
317
|
letterSpacing: "-0.01em"
|
|
312
318
|
},
|
|
319
|
+
"settings-page-title": {
|
|
320
|
+
fontFamily: typography.display,
|
|
321
|
+
fontSize: "36px",
|
|
322
|
+
fontWeight: "600",
|
|
323
|
+
lineHeight: "41px",
|
|
324
|
+
letterSpacing: "-0.18px"
|
|
325
|
+
},
|
|
326
|
+
"home-inline-encounter-title": {
|
|
327
|
+
fontFamily: typography.display,
|
|
328
|
+
fontSize: "36px",
|
|
329
|
+
fontWeight: "600",
|
|
330
|
+
lineHeight: "41px",
|
|
331
|
+
letterSpacing: "-0.18px"
|
|
332
|
+
},
|
|
333
|
+
"home-inline-encounter-action": {
|
|
334
|
+
fontFamily: typography.sans,
|
|
335
|
+
fontSize: "15px",
|
|
336
|
+
fontWeight: "500",
|
|
337
|
+
lineHeight: "26px",
|
|
338
|
+
letterSpacing: "0"
|
|
339
|
+
},
|
|
313
340
|
h1: {
|
|
314
341
|
fontFamily: typography.display,
|
|
315
342
|
fontSize: "48px",
|
|
@@ -394,6 +421,13 @@ function createTextStyleScale(typography) {
|
|
|
394
421
|
lineHeight: "26px",
|
|
395
422
|
letterSpacing: "0"
|
|
396
423
|
},
|
|
424
|
+
"clinical-body": {
|
|
425
|
+
fontFamily: typography.sans,
|
|
426
|
+
fontSize: "15px",
|
|
427
|
+
fontWeight: "400",
|
|
428
|
+
lineHeight: "24px",
|
|
429
|
+
letterSpacing: "0"
|
|
430
|
+
},
|
|
397
431
|
"label-md": {
|
|
398
432
|
fontFamily: typography.sans,
|
|
399
433
|
fontSize: "14px",
|
|
@@ -401,6 +435,20 @@ function createTextStyleScale(typography) {
|
|
|
401
435
|
lineHeight: "20px",
|
|
402
436
|
letterSpacing: "0"
|
|
403
437
|
},
|
|
438
|
+
"settings-section-title": {
|
|
439
|
+
fontFamily: typography.sans,
|
|
440
|
+
fontSize: "18px",
|
|
441
|
+
fontWeight: "600",
|
|
442
|
+
lineHeight: "23px",
|
|
443
|
+
letterSpacing: "0"
|
|
444
|
+
},
|
|
445
|
+
"clinical-section-title": {
|
|
446
|
+
fontFamily: typography.sans,
|
|
447
|
+
fontSize: "14px",
|
|
448
|
+
fontWeight: "600",
|
|
449
|
+
lineHeight: "18px",
|
|
450
|
+
letterSpacing: "0.014px"
|
|
451
|
+
},
|
|
404
452
|
"section-label": {
|
|
405
453
|
fontFamily: typography.sans,
|
|
406
454
|
fontSize: "14px",
|