@pine-ds/doc-components 2.16.4 → 3.0.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,821 @@
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
+ focus: {
604
+ "@": {
605
+ value: {
606
+ width: "{border-width.thick}",
607
+ style: "solid",
608
+ color: "{color.focus-ring.@}"
609
+ },
610
+ type: "border",
611
+ description: "Default focus ring"
612
+ },
613
+ danger: {
614
+ value: {
615
+ color: "{color.focus-ring.danger}",
616
+ style: "solid",
617
+ width: "{border-width.thick}"
618
+ },
619
+ type: "border",
620
+ description: "Focus ring for danger/invalid states"
621
+ }
622
+ }
623
+ }, r = {
624
+ border: e,
625
+ "border-radius": {
626
+ full: {
627
+ value: "9999px",
628
+ type: "borderRadius",
629
+ description: "this is to be used for rounded corners without specified dimensions"
630
+ }
631
+ },
632
+ "border-width": {
633
+ "@": {
634
+ value: "{border-width.thin}",
635
+ type: "borderWidth"
636
+ }
637
+ },
638
+ "box-shadow": {
639
+ "@": {
640
+ value: "{box-shadow.100}",
641
+ type: "boxShadow"
642
+ }
643
+ },
644
+ color: o,
645
+ "font-size": {
646
+ "@": {
647
+ value: "{font-size.100}",
648
+ type: "fontSizes"
649
+ },
650
+ body: {
651
+ "2xs": {
652
+ value: "{font-size.057}",
653
+ type: "fontSizes"
654
+ },
655
+ xs: {
656
+ value: "{font-size.071}",
657
+ type: "fontSizes"
658
+ },
659
+ sm: {
660
+ value: "{font-size.085}",
661
+ type: "fontSizes"
662
+ },
663
+ md: {
664
+ value: "{font-size.100}",
665
+ type: "fontSizes"
666
+ },
667
+ lg: {
668
+ value: "{font-size.116}",
669
+ type: "fontSizes"
670
+ },
671
+ xl: {
672
+ value: "{font-size.128}",
673
+ type: "fontSizes"
674
+ },
675
+ "2xl": {
676
+ value: "{font-size.142}",
677
+ type: "fontSizes"
678
+ }
679
+ },
680
+ heading: {
681
+ 1: {
682
+ value: "{font-size.200}",
683
+ type: "fontSizes"
684
+ },
685
+ 2: {
686
+ value: "{font-size.185}",
687
+ type: "fontSizes"
688
+ },
689
+ 3: {
690
+ value: "{font-size.157}",
691
+ type: "fontSizes"
692
+ },
693
+ 4: {
694
+ value: "{font-size.142}",
695
+ type: "fontSizes"
696
+ },
697
+ 5: {
698
+ value: "{font-size.128}",
699
+ type: "fontSizes"
700
+ },
701
+ 6: {
702
+ value: "{font-size.116}",
703
+ type: "fontSizes"
704
+ },
705
+ caption: {
706
+ value: "{font-size.085}",
707
+ type: "fontSizes"
708
+ }
709
+ }
710
+ },
711
+ "font-weight": {
712
+ thin: {
713
+ value: "{font-weight.100}",
714
+ type: "fontWeights"
715
+ },
716
+ "extra-light": {
717
+ value: "{font-weight.200}",
718
+ type: "fontWeights"
719
+ },
720
+ light: {
721
+ value: "{font-weight.300}",
722
+ type: "fontWeights"
723
+ },
724
+ regular: {
725
+ value: "{font-weight.400}",
726
+ type: "fontWeights"
727
+ },
728
+ medium: {
729
+ value: "{font-weight.500}",
730
+ type: "fontWeights"
731
+ },
732
+ "semi-bold": {
733
+ value: "{font-weight.600}",
734
+ type: "fontWeights"
735
+ },
736
+ bold: {
737
+ value: "{font-weight.700}",
738
+ type: "fontWeights"
739
+ },
740
+ "extra-bold": {
741
+ value: "{font-weight.800}",
742
+ type: "fontWeights"
743
+ },
744
+ heavy: {
745
+ value: "{font-weight.900}",
746
+ type: "fontWeights"
747
+ },
748
+ "text-message": {
749
+ value: "{font-weight.400}",
750
+ type: "fontWeights"
751
+ }
752
+ },
753
+ "letter-spacing": {
754
+ "@": {
755
+ value: "{letter-spacing.114} * -1",
756
+ type: "letterSpacing"
757
+ },
758
+ heading: {
759
+ 1: {
760
+ value: "{letter-spacing.185}",
761
+ type: "letterSpacing"
762
+ },
763
+ 2: {
764
+ value: "{letter-spacing.171}",
765
+ type: "letterSpacing"
766
+ },
767
+ 3: {
768
+ value: "{letter-spacing.157}",
769
+ type: "letterSpacing"
770
+ },
771
+ 4: {
772
+ value: "{letter-spacing.142}",
773
+ type: "letterSpacing"
774
+ },
775
+ 5: {
776
+ value: "{letter-spacing.128}",
777
+ type: "letterSpacing"
778
+ },
779
+ 6: {
780
+ value: "{letter-spacing.114}",
781
+ type: "letterSpacing"
782
+ }
783
+ }
784
+ },
785
+ "line-height": {
786
+ "text-message": {
787
+ value: "{line-height.125}",
788
+ type: "lineHeights"
789
+ },
790
+ heading: {
791
+ value: "{line-height.125}",
792
+ type: "lineHeights"
793
+ },
794
+ body: {
795
+ value: "{line-height.100} * 1.425",
796
+ type: "lineHeights"
797
+ }
798
+ },
799
+ typography: t,
800
+ dimension: l,
801
+ "font-family": {
802
+ heading: {
803
+ value: "{font-family.greet}",
804
+ type: "fontFamilies"
805
+ },
806
+ body: {
807
+ value: "{font-family.inter}",
808
+ type: "fontFamilies"
809
+ }
810
+ },
811
+ outline: i
812
+ };
813
+ export {
814
+ e as border,
815
+ o as color,
816
+ r as default,
817
+ l as dimension,
818
+ i as outline,
819
+ t as typography
820
+ };
821
+ //# sourceMappingURL=semantic-CQi_2NEG.js.map