@pine-ds/doc-components 2.16.3 → 2.17.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.
@@ -0,0 +1,798 @@
1
+ const e = {
2
+ "@": {
3
+ value: {
4
+ color: "{color.grey.300}",
5
+ width: "{border-width.thin}",
6
+ style: "solid"
7
+ },
8
+ type: "border"
9
+ },
10
+ hover: {
11
+ value: {
12
+ color: "{color.grey.400}",
13
+ width: "{border-width.thin}",
14
+ style: "solid"
15
+ },
16
+ type: "border"
17
+ },
18
+ none: {
19
+ value: {
20
+ color: "{color.grey.300}",
21
+ width: "{border-width.none}",
22
+ style: "solid"
23
+ },
24
+ type: "border"
25
+ }
26
+ }, o = {
27
+ accent: {
28
+ "@": {
29
+ value: "{color.purple.500}",
30
+ type: "color"
31
+ },
32
+ disabled: {
33
+ value: "{color.purple.100}",
34
+ type: "color"
35
+ },
36
+ hover: {
37
+ value: "{color.purple.600}",
38
+ type: "color"
39
+ }
40
+ },
41
+ background: {
42
+ container: {
43
+ "@": {
44
+ value: "{color.white}",
45
+ type: "color"
46
+ },
47
+ disabled: {
48
+ value: "{color.grey.150}",
49
+ type: "color"
50
+ },
51
+ hover: {
52
+ value: "{color.grey.050}",
53
+ type: "color"
54
+ }
55
+ }
56
+ },
57
+ border: {
58
+ "@": {
59
+ value: "{color.grey.300}",
60
+ type: "color"
61
+ },
62
+ hover: {
63
+ value: "{color.grey.400}",
64
+ type: "color"
65
+ },
66
+ disabled: {
67
+ value: "{color.grey.200}",
68
+ type: "color"
69
+ },
70
+ active: {
71
+ value: "{color.grey.400}",
72
+ type: "color"
73
+ },
74
+ danger: {
75
+ "@": {
76
+ value: "{color.red.600}",
77
+ type: "color"
78
+ },
79
+ hover: {
80
+ value: "{color.red.700}",
81
+ type: "color"
82
+ }
83
+ }
84
+ },
85
+ danger: {
86
+ "@": {
87
+ value: "{color.red.600}",
88
+ type: "color"
89
+ },
90
+ disabled: {
91
+ value: "{color.red.100}",
92
+ type: "color"
93
+ },
94
+ hover: {
95
+ value: "{color.red.700}",
96
+ type: "color"
97
+ }
98
+ },
99
+ "focus-ring": {
100
+ "@": {
101
+ value: "{color.purple.300}",
102
+ type: "color"
103
+ },
104
+ danger: {
105
+ value: "{color.red.300}",
106
+ type: "color"
107
+ }
108
+ },
109
+ info: {
110
+ "@": {
111
+ value: "{color.blue.500}",
112
+ type: "color"
113
+ },
114
+ disabled: {
115
+ value: "{color.blue.100}",
116
+ type: "color"
117
+ },
118
+ hover: {
119
+ value: "{color.blue.600}",
120
+ type: "color"
121
+ }
122
+ },
123
+ neutral: {
124
+ "@": {
125
+ value: "{color.grey.500}",
126
+ type: "color"
127
+ },
128
+ disabled: {
129
+ value: "{color.grey.100}",
130
+ type: "color"
131
+ },
132
+ hover: {
133
+ value: "{color.grey.600}",
134
+ type: "color"
135
+ }
136
+ },
137
+ primary: {
138
+ "@": {
139
+ value: "{color.grey.900}",
140
+ type: "color"
141
+ },
142
+ disabled: {
143
+ value: "{color.grey.150}",
144
+ type: "color"
145
+ },
146
+ hover: {
147
+ value: "{color.grey.950}",
148
+ type: "color"
149
+ }
150
+ },
151
+ secondary: {
152
+ "@": {
153
+ value: "{color.white}",
154
+ type: "color"
155
+ },
156
+ disabled: {
157
+ value: "{color.white}",
158
+ type: "color"
159
+ },
160
+ hover: {
161
+ value: "{color.grey.050}",
162
+ type: "color"
163
+ }
164
+ },
165
+ success: {
166
+ "@": {
167
+ value: "{color.green.500}",
168
+ type: "color"
169
+ },
170
+ disabled: {
171
+ value: "{color.green.100}",
172
+ type: "color"
173
+ },
174
+ hover: {
175
+ value: "{color.green.600}",
176
+ type: "color"
177
+ }
178
+ },
179
+ text: {
180
+ "@": {
181
+ value: "{color.grey.900}",
182
+ type: "color"
183
+ },
184
+ hover: {
185
+ value: "{color.grey.950}",
186
+ type: "color"
187
+ },
188
+ disabled: {
189
+ value: "{color.grey.500}",
190
+ type: "color"
191
+ },
192
+ readonly: {
193
+ value: "{color.grey.700}",
194
+ type: "color"
195
+ },
196
+ active: {
197
+ value: "{color.grey.950}",
198
+ type: "color"
199
+ },
200
+ accent: {
201
+ "@": {
202
+ value: "{color.purple.900}",
203
+ type: "color"
204
+ },
205
+ disabled: {
206
+ value: "{color.purple.300}",
207
+ type: "color"
208
+ },
209
+ hover: {
210
+ value: "{color.purple.950}",
211
+ type: "color"
212
+ }
213
+ },
214
+ danger: {
215
+ "@": {
216
+ value: "{color.red.900}",
217
+ type: "color"
218
+ },
219
+ disabled: {
220
+ value: "{color.red.300}",
221
+ type: "color"
222
+ },
223
+ hover: {
224
+ value: "{color.red.950}",
225
+ type: "color"
226
+ }
227
+ },
228
+ info: {
229
+ "@": {
230
+ value: "{color.blue.900}",
231
+ type: "color"
232
+ },
233
+ disabled: {
234
+ value: "{color.blue.300}",
235
+ type: "color"
236
+ },
237
+ hover: {
238
+ value: "{color.blue.950}",
239
+ type: "color"
240
+ }
241
+ },
242
+ label: {
243
+ "@": {
244
+ value: "{color.grey.950}",
245
+ type: "color"
246
+ },
247
+ disabled: {
248
+ value: "{color.grey.500}",
249
+ type: "color"
250
+ },
251
+ readonly: {
252
+ value: "{color.grey.700}",
253
+ type: "color"
254
+ }
255
+ },
256
+ message: {
257
+ "@": {
258
+ value: "{color.grey.800}",
259
+ type: "color"
260
+ },
261
+ danger: {
262
+ value: "{color.red.600}",
263
+ type: "color"
264
+ },
265
+ disabled: {
266
+ value: "{color.grey.600}",
267
+ type: "color"
268
+ }
269
+ },
270
+ neutral: {
271
+ "@": {
272
+ value: "{color.grey.900}",
273
+ type: "color"
274
+ },
275
+ disabled: {
276
+ value: "{color.grey.600}",
277
+ type: "color"
278
+ },
279
+ hover: {
280
+ value: "{color.grey.950}",
281
+ type: "color"
282
+ }
283
+ },
284
+ placeholder: {
285
+ "@": {
286
+ value: "{color.grey.600}",
287
+ type: "color"
288
+ },
289
+ disabled: {
290
+ value: "{color.grey.400}",
291
+ type: "color"
292
+ }
293
+ },
294
+ primary: {
295
+ "@": {
296
+ value: "{color.white}",
297
+ type: "color"
298
+ },
299
+ disabled: {
300
+ value: "{color.grey.400}",
301
+ type: "color"
302
+ }
303
+ },
304
+ secondary: {
305
+ "@": {
306
+ value: "{color.grey.800}",
307
+ type: "color"
308
+ },
309
+ disabled: {
310
+ value: "{color.grey.400}",
311
+ type: "color"
312
+ },
313
+ hover: {
314
+ value: "{color.grey.900}",
315
+ type: "color"
316
+ }
317
+ },
318
+ success: {
319
+ "@": {
320
+ value: "{color.green.900}",
321
+ type: "color"
322
+ },
323
+ disabled: {
324
+ value: "{color.green.300}",
325
+ type: "color"
326
+ },
327
+ hover: {
328
+ value: "{color.green.950}",
329
+ type: "color"
330
+ }
331
+ },
332
+ warning: {
333
+ "@": {
334
+ value: "{color.yellow.900}",
335
+ type: "color"
336
+ },
337
+ disabled: {
338
+ value: "{color.yellow.300}",
339
+ type: "color"
340
+ },
341
+ hover: {
342
+ value: "{color.yellow.950}",
343
+ type: "color"
344
+ }
345
+ }
346
+ },
347
+ warning: {
348
+ "@": {
349
+ value: "{color.yellow.500}",
350
+ type: "color"
351
+ },
352
+ disabled: {
353
+ value: "{color.yellow.100}",
354
+ type: "color"
355
+ },
356
+ hover: {
357
+ value: "{color.yellow.600}",
358
+ type: "color"
359
+ }
360
+ },
361
+ brand: {
362
+ "@": {
363
+ value: "{color.black}",
364
+ type: "color"
365
+ }
366
+ }
367
+ }, t = {
368
+ heading: {
369
+ 1: {
370
+ value: {
371
+ fontFamily: "{font-family.greet}",
372
+ fontWeight: "{font-weight.semi-bold}",
373
+ fontSize: "{font-size.heading.1}",
374
+ lineHeight: "{line-height.heading} * 100%",
375
+ letterSpacing: "{letter-spacing.185}"
376
+ },
377
+ type: "typography"
378
+ },
379
+ 2: {
380
+ value: {
381
+ fontFamily: "{font-family.greet}",
382
+ fontWeight: "{font-weight.semi-bold}",
383
+ fontSize: "{font-size.heading.2}",
384
+ lineHeight: "{line-height.heading} * 100%",
385
+ letterSpacing: "{letter-spacing.171}"
386
+ },
387
+ type: "typography"
388
+ },
389
+ 3: {
390
+ value: {
391
+ fontFamily: "{font-family.greet}",
392
+ fontWeight: "{font-weight.semi-bold}",
393
+ lineHeight: "{line-height.heading} * 100%",
394
+ letterSpacing: "{letter-spacing.157}",
395
+ fontSize: "{font-size.heading.3}"
396
+ },
397
+ type: "typography"
398
+ },
399
+ 4: {
400
+ value: {
401
+ fontFamily: "{font-family.greet}",
402
+ fontWeight: "{font-weight.semi-bold}",
403
+ fontSize: "{font-size.heading.4}",
404
+ lineHeight: "{line-height.heading} * 100%",
405
+ letterSpacing: "{letter-spacing.142}"
406
+ },
407
+ type: "typography"
408
+ },
409
+ 5: {
410
+ value: {
411
+ fontFamily: "{font-family.greet}",
412
+ fontWeight: "{font-weight.medium}",
413
+ fontSize: "{font-size.heading.5}",
414
+ lineHeight: "{line-height.heading} * 100%",
415
+ letterSpacing: "{letter-spacing.128}"
416
+ },
417
+ type: "typography"
418
+ },
419
+ 6: {
420
+ value: {
421
+ fontFamily: "{font-family.greet}",
422
+ fontWeight: "{font-weight.medium}",
423
+ fontSize: "{font-size.heading.6}",
424
+ lineHeight: "{line-height.heading} * 100%",
425
+ letterSpacing: "{letter-spacing.114}"
426
+ },
427
+ type: "typography"
428
+ },
429
+ caption: {
430
+ value: {
431
+ fontFamily: "{font-family.greet}",
432
+ fontWeight: "{font-weight.semi-bold}",
433
+ fontSize: "{font-size.heading.caption}",
434
+ lineHeight: "{line-height.heading} * 100%",
435
+ letterSpacing: "0.8px"
436
+ },
437
+ type: "typography"
438
+ }
439
+ },
440
+ body: {
441
+ "@": {
442
+ value: {
443
+ fontFamily: "{font-family.inter}",
444
+ fontWeight: "{font-weight.regular}",
445
+ fontSize: "{font-size.body.md}",
446
+ lineHeight: "{line-height.body} * 100%",
447
+ letterSpacing: "{letter-spacing.@}"
448
+ },
449
+ type: "typography"
450
+ },
451
+ medium: {
452
+ value: {
453
+ fontFamily: "{font-family.inter}",
454
+ fontWeight: "{font-weight.medium}",
455
+ fontSize: "{font-size.body.md}",
456
+ lineHeight: "{line-height.body} * 100%",
457
+ letterSpacing: "{letter-spacing.@}"
458
+ },
459
+ type: "typography"
460
+ },
461
+ mono: {
462
+ value: {
463
+ fontFamily: "monospace",
464
+ fontWeight: "{font-weight.medium}",
465
+ fontSize: "{font-size.body.md}",
466
+ lineHeight: "{line-height.body} * 100%"
467
+ },
468
+ type: "typography"
469
+ },
470
+ "semi-bold": {
471
+ value: {
472
+ fontFamily: "{font-family.inter}",
473
+ fontWeight: "{font-weight.semi-bold}",
474
+ fontSize: "{font-size.body.md}",
475
+ lineHeight: "{line-height.body} * 100%",
476
+ letterSpacing: "{letter-spacing.@}"
477
+ },
478
+ type: "typography"
479
+ },
480
+ bold: {
481
+ value: {
482
+ fontFamily: "{font-family.inter}",
483
+ fontWeight: "{font-weight.bold}",
484
+ fontSize: "{font-size.body.md}",
485
+ lineHeight: "{line-height.body} * 100%",
486
+ letterSpacing: "{letter-spacing.@}"
487
+ },
488
+ type: "typography"
489
+ },
490
+ "brand-label": {
491
+ value: {
492
+ fontFamily: "{font-family.greet}",
493
+ fontWeight: "{font-weight.medium}",
494
+ fontSize: "{font-size.body.md}",
495
+ lineHeight: "{line-height.body} * 100%"
496
+ },
497
+ type: "typography",
498
+ description: "brand-label"
499
+ },
500
+ "brand-text": {
501
+ value: {
502
+ fontFamily: "{font-family.faire-sprig}",
503
+ fontWeight: "{font-weight.medium}",
504
+ fontSize: "{font-size.body.md}",
505
+ lineHeight: "{line-height.body} * 100%"
506
+ },
507
+ type: "typography",
508
+ description: "brand-text"
509
+ }
510
+ },
511
+ "body-sm": {
512
+ "@": {
513
+ value: {
514
+ fontFamily: "{font-family.inter}",
515
+ fontWeight: "{font-weight.regular}",
516
+ fontSize: "{font-size.body.sm}",
517
+ lineHeight: "{line-height.body} * 100%"
518
+ },
519
+ type: "typography"
520
+ },
521
+ medium: {
522
+ value: {
523
+ fontFamily: "{font-family.inter}",
524
+ fontWeight: "{font-weight.medium}",
525
+ fontSize: "{font-size.body.sm}",
526
+ lineHeight: "{line-height.body} * 100%"
527
+ },
528
+ type: "typography"
529
+ },
530
+ mono: {
531
+ value: {
532
+ fontFamily: "monospace",
533
+ fontWeight: "{font-weight.medium}",
534
+ fontSize: "{font-size.body.sm}",
535
+ lineHeight: "{line-height.body} * 100%"
536
+ },
537
+ type: "typography"
538
+ },
539
+ bold: {
540
+ value: {
541
+ fontFamily: "{font-family.inter}",
542
+ fontWeight: "{font-weight.bold}",
543
+ fontSize: "{font-size.body.sm}",
544
+ lineHeight: "{line-height.body} * 100%"
545
+ },
546
+ type: "typography"
547
+ },
548
+ "brand-label": {
549
+ value: {
550
+ fontFamily: "{font-family.greet}",
551
+ fontWeight: "{font-weight.medium}",
552
+ fontSize: "{font-size.body.sm}",
553
+ lineHeight: "{line-height.body} * 100%"
554
+ },
555
+ type: "typography",
556
+ description: "brand-label"
557
+ },
558
+ "brand-text": {
559
+ value: {
560
+ fontFamily: "{font-family.faire-sprig}",
561
+ fontWeight: "{font-weight.medium}",
562
+ fontSize: "{font-size.body.sm}",
563
+ lineHeight: "{line-height.body} * 100%"
564
+ },
565
+ type: "typography",
566
+ description: "brand-text"
567
+ }
568
+ }
569
+ }, l = {
570
+ none: {
571
+ value: "{dimension.0}",
572
+ type: "dimension"
573
+ },
574
+ "2xs": {
575
+ value: "{dimension.050}",
576
+ type: "dimension"
577
+ },
578
+ xs: {
579
+ value: "{dimension.100}",
580
+ type: "dimension"
581
+ },
582
+ sm: {
583
+ value: "{dimension.200}",
584
+ type: "dimension"
585
+ },
586
+ md: {
587
+ value: "{dimension.300}",
588
+ type: "dimension"
589
+ },
590
+ lg: {
591
+ value: "{dimension.400}",
592
+ type: "dimension"
593
+ },
594
+ xl: {
595
+ value: "{dimension.500}",
596
+ type: "dimension"
597
+ },
598
+ "2xl": {
599
+ value: "{dimension.600}",
600
+ type: "dimension"
601
+ }
602
+ }, i = {
603
+ border: e,
604
+ "border-radius": {
605
+ full: {
606
+ value: "9999px",
607
+ type: "borderRadius",
608
+ description: "this is to be used for rounded corners without specified dimensions"
609
+ }
610
+ },
611
+ "border-width": {
612
+ "@": {
613
+ value: "{border-width.thin}",
614
+ type: "borderWidth"
615
+ }
616
+ },
617
+ "box-shadow": {
618
+ "@": {
619
+ value: "{box-shadow.100}",
620
+ type: "boxShadow"
621
+ }
622
+ },
623
+ color: o,
624
+ "font-size": {
625
+ "@": {
626
+ value: "{font-size.100}",
627
+ type: "fontSizes"
628
+ },
629
+ body: {
630
+ "2xs": {
631
+ value: "{font-size.057}",
632
+ type: "fontSizes"
633
+ },
634
+ xs: {
635
+ value: "{font-size.071}",
636
+ type: "fontSizes"
637
+ },
638
+ sm: {
639
+ value: "{font-size.085}",
640
+ type: "fontSizes"
641
+ },
642
+ md: {
643
+ value: "{font-size.100}",
644
+ type: "fontSizes"
645
+ },
646
+ lg: {
647
+ value: "{font-size.116}",
648
+ type: "fontSizes"
649
+ },
650
+ xl: {
651
+ value: "{font-size.128}",
652
+ type: "fontSizes"
653
+ },
654
+ "2xl": {
655
+ value: "{font-size.142}",
656
+ type: "fontSizes"
657
+ }
658
+ },
659
+ heading: {
660
+ 1: {
661
+ value: "{font-size.200}",
662
+ type: "fontSizes"
663
+ },
664
+ 2: {
665
+ value: "{font-size.185}",
666
+ type: "fontSizes"
667
+ },
668
+ 3: {
669
+ value: "{font-size.157}",
670
+ type: "fontSizes"
671
+ },
672
+ 4: {
673
+ value: "{font-size.142}",
674
+ type: "fontSizes"
675
+ },
676
+ 5: {
677
+ value: "{font-size.128}",
678
+ type: "fontSizes"
679
+ },
680
+ 6: {
681
+ value: "{font-size.116}",
682
+ type: "fontSizes"
683
+ },
684
+ caption: {
685
+ value: "{font-size.085}",
686
+ type: "fontSizes"
687
+ }
688
+ }
689
+ },
690
+ "font-weight": {
691
+ thin: {
692
+ value: "{font-weight.100}",
693
+ type: "fontWeights"
694
+ },
695
+ "extra-light": {
696
+ value: "{font-weight.200}",
697
+ type: "fontWeights"
698
+ },
699
+ light: {
700
+ value: "{font-weight.300}",
701
+ type: "fontWeights"
702
+ },
703
+ regular: {
704
+ value: "{font-weight.400}",
705
+ type: "fontWeights"
706
+ },
707
+ medium: {
708
+ value: "{font-weight.500}",
709
+ type: "fontWeights"
710
+ },
711
+ "semi-bold": {
712
+ value: "{font-weight.600}",
713
+ type: "fontWeights"
714
+ },
715
+ bold: {
716
+ value: "{font-weight.700}",
717
+ type: "fontWeights"
718
+ },
719
+ "extra-bold": {
720
+ value: "{font-weight.800}",
721
+ type: "fontWeights"
722
+ },
723
+ heavy: {
724
+ value: "{font-weight.900}",
725
+ type: "fontWeights"
726
+ },
727
+ "text-message": {
728
+ value: "{font-weight.400}",
729
+ type: "fontWeights"
730
+ }
731
+ },
732
+ "letter-spacing": {
733
+ "@": {
734
+ value: "{letter-spacing.114} * -1",
735
+ type: "letterSpacing"
736
+ },
737
+ heading: {
738
+ 1: {
739
+ value: "{letter-spacing.185}",
740
+ type: "letterSpacing"
741
+ },
742
+ 2: {
743
+ value: "{letter-spacing.171}",
744
+ type: "letterSpacing"
745
+ },
746
+ 3: {
747
+ value: "{letter-spacing.157}",
748
+ type: "letterSpacing"
749
+ },
750
+ 4: {
751
+ value: "{letter-spacing.142}",
752
+ type: "letterSpacing"
753
+ },
754
+ 5: {
755
+ value: "{letter-spacing.128}",
756
+ type: "letterSpacing"
757
+ },
758
+ 6: {
759
+ value: "{letter-spacing.114}",
760
+ type: "letterSpacing"
761
+ }
762
+ }
763
+ },
764
+ "line-height": {
765
+ "text-message": {
766
+ value: "{line-height.125}",
767
+ type: "lineHeights"
768
+ },
769
+ heading: {
770
+ value: "{line-height.125}",
771
+ type: "lineHeights"
772
+ },
773
+ body: {
774
+ value: "{line-height.100} * 1.425",
775
+ type: "lineHeights"
776
+ }
777
+ },
778
+ typography: t,
779
+ dimension: l,
780
+ "font-family": {
781
+ heading: {
782
+ value: "{font-family.greet}",
783
+ type: "fontFamilies"
784
+ },
785
+ body: {
786
+ value: "{font-family.inter}",
787
+ type: "fontFamilies"
788
+ }
789
+ }
790
+ };
791
+ export {
792
+ e as border,
793
+ o as color,
794
+ i as default,
795
+ l as dimension,
796
+ t as typography
797
+ };
798
+ //# sourceMappingURL=semantic-CewGMFsC.js.map