@app-studio/components 0.11.11 → 0.11.13

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.
Files changed (166) hide show
  1. package/README.md +6 -2
  2. package/dist/index.d.ts +230 -113
  3. package/dist/native/components/Alert/Alert/Alert.style.js +4 -4
  4. package/dist/native/components/Alert/Alert/Alert.view.js +6 -4
  5. package/dist/native/components/Alert/Alert/Alert.view.js.map +1 -1
  6. package/dist/native/components/AudioInput/AudioInput/AudioInput.view.js +1 -1
  7. package/dist/native/components/AudioInput/AudioInput/AudioInput.view.js.map +1 -1
  8. package/dist/native/components/Button/Button/Button.element.d.ts +1 -0
  9. package/dist/native/components/Button/Button/Button.element.js +2 -0
  10. package/dist/native/components/Button/Button/Button.element.js.map +1 -0
  11. package/dist/native/components/Button/Button/Button.element.native.d.ts +2 -0
  12. package/dist/native/components/Button/Button/Button.element.native.js +2 -0
  13. package/dist/native/components/Button/Button/Button.element.native.js.map +1 -0
  14. package/dist/native/components/Button/Button.d.ts +1 -1
  15. package/dist/native/components/Button/Button.js +18 -5
  16. package/dist/native/components/Button/Button.js.map +1 -1
  17. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.js +1 -1
  18. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.js.map +1 -1
  19. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.native.js +1 -1
  20. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.native.js.map +1 -1
  21. package/dist/native/components/DataState/DataState/DataState.props.d.ts +14 -0
  22. package/dist/native/components/DataState/DataState/DataState.props.js +2 -0
  23. package/dist/native/components/DataState/DataState/DataState.props.js.map +1 -0
  24. package/dist/native/components/DataState/DataState/DataState.state.d.ts +13 -0
  25. package/dist/native/components/DataState/DataState/DataState.state.js +28 -0
  26. package/dist/native/components/DataState/DataState/DataState.state.js.map +1 -0
  27. package/dist/native/components/DataState/DataState/DataState.type.d.ts +33 -0
  28. package/dist/native/components/DataState/DataState/DataState.type.js +2 -0
  29. package/dist/native/components/DataState/DataState/DataState.type.js.map +1 -0
  30. package/dist/native/components/DataState/DataState/DataState.view.d.ts +6 -0
  31. package/dist/native/components/DataState/DataState/DataState.view.js +11 -0
  32. package/dist/native/components/DataState/DataState/DataState.view.js.map +1 -0
  33. package/dist/native/components/DataState/DataState/DataState.view.native.d.ts +6 -0
  34. package/dist/native/components/DataState/DataState/DataState.view.native.js +11 -0
  35. package/dist/native/components/DataState/DataState/DataState.view.native.js.map +1 -0
  36. package/dist/native/components/DataState/DataState.d.ts +3 -0
  37. package/dist/native/components/DataState/DataState.js +31 -0
  38. package/dist/native/components/DataState/DataState.js.map +1 -0
  39. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +2 -6
  40. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js.map +1 -1
  41. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +2 -2
  42. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js.map +1 -1
  43. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.js +2 -2
  44. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.js.map +1 -1
  45. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.native.js +2 -2
  46. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.native.js.map +1 -1
  47. package/dist/native/components/Form/Label/Label/Label.view.js +2 -2
  48. package/dist/native/components/Form/Label/Label/Label.view.js.map +1 -1
  49. package/dist/native/components/Form/Label/Label/Label.view.native.js +1 -1
  50. package/dist/native/components/Form/Label/Label/Label.view.native.js.map +1 -1
  51. package/dist/native/components/Form/Radio/Radio/Radio.view.js +2 -6
  52. package/dist/native/components/Form/Radio/Radio/Radio.view.js.map +1 -1
  53. package/dist/native/components/Form/Radio/Radio/Radio.view.native.js +2 -2
  54. package/dist/native/components/Form/Radio/Radio/Radio.view.native.js.map +1 -1
  55. package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.js +2 -2
  56. package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.js.map +1 -1
  57. package/dist/native/components/Form/Selector/Selector/Selector.view.js +1 -1
  58. package/dist/native/components/Form/Selector/Selector/Selector.view.js.map +1 -1
  59. package/dist/native/components/Form/TextField/TextField/TextField.props.d.ts +1 -0
  60. package/dist/native/components/Form/TextField/TextField/TextField.view.js +8 -3
  61. package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -1
  62. package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +3 -2
  63. package/dist/native/components/Form/TextField/TextField/TextField.view.native.js.map +1 -1
  64. package/dist/native/components/IconPicker/IconPicker/IconPicker.view.js +1 -1
  65. package/dist/native/components/IconPicker/IconPicker/IconPicker.view.js.map +1 -1
  66. package/dist/native/components/IconPicker/IconPicker/IconPicker.view.native.js +1 -1
  67. package/dist/native/components/IconPicker/IconPicker/IconPicker.view.native.js.map +1 -1
  68. package/dist/native/components/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +5 -0
  69. package/dist/native/components/Input/FieldContainer/FieldContainer.js +2 -2
  70. package/dist/native/components/Input/FieldContainer/FieldContainer.js.map +1 -1
  71. package/dist/native/components/Input/FieldLabel/FieldLabel.js +1 -1
  72. package/dist/native/components/Input/FieldLabel/FieldLabel.js.map +1 -1
  73. package/dist/native/components/Link/Link/Link.props.d.ts +1 -0
  74. package/dist/native/components/Link/Link/Link.style.d.ts +4 -0
  75. package/dist/native/components/Link/Link/Link.style.js +7 -0
  76. package/dist/native/components/Link/Link/Link.style.js.map +1 -1
  77. package/dist/native/components/Link/Link/Link.type.d.ts +1 -0
  78. package/dist/native/components/Link/Link/Link.view.js +5 -3
  79. package/dist/native/components/Link/Link/Link.view.js.map +1 -1
  80. package/dist/native/components/Link/Link/Link.view.native.js +5 -3
  81. package/dist/native/components/Link/Link/Link.view.native.js.map +1 -1
  82. package/dist/native/components/PageHeader/PageHeader/PageHeader.props.d.ts +9 -0
  83. package/dist/native/components/PageHeader/PageHeader/PageHeader.props.js +2 -0
  84. package/dist/native/components/PageHeader/PageHeader/PageHeader.props.js.map +1 -0
  85. package/dist/native/components/PageHeader/PageHeader/PageHeader.style.d.ts +4 -0
  86. package/dist/native/components/PageHeader/PageHeader/PageHeader.style.js +17 -0
  87. package/dist/native/components/PageHeader/PageHeader/PageHeader.style.js.map +1 -0
  88. package/dist/native/components/PageHeader/PageHeader/PageHeader.type.d.ts +7 -0
  89. package/dist/native/components/PageHeader/PageHeader/PageHeader.type.js +2 -0
  90. package/dist/native/components/PageHeader/PageHeader/PageHeader.type.js.map +1 -0
  91. package/dist/native/components/PageHeader/PageHeader/PageHeader.view.d.ts +4 -0
  92. package/dist/native/components/PageHeader/PageHeader/PageHeader.view.js +18 -0
  93. package/dist/native/components/PageHeader/PageHeader/PageHeader.view.js.map +1 -0
  94. package/dist/native/components/PageHeader/PageHeader/PageHeader.view.native.d.ts +4 -0
  95. package/dist/native/components/PageHeader/PageHeader/PageHeader.view.native.js +19 -0
  96. package/dist/native/components/PageHeader/PageHeader/PageHeader.view.native.js.map +1 -0
  97. package/dist/native/components/PageHeader/PageHeader.d.ts +3 -0
  98. package/dist/native/components/PageHeader/PageHeader.js +10 -0
  99. package/dist/native/components/PageHeader/PageHeader.js.map +1 -0
  100. package/dist/native/components/StatePanel/StatePanel/StatePanel.props.d.ts +10 -0
  101. package/dist/native/components/StatePanel/StatePanel/StatePanel.props.js +2 -0
  102. package/dist/native/components/StatePanel/StatePanel/StatePanel.props.js.map +1 -0
  103. package/dist/native/components/StatePanel/StatePanel/StatePanel.style.d.ts +4 -0
  104. package/dist/native/components/StatePanel/StatePanel/StatePanel.style.js +24 -0
  105. package/dist/native/components/StatePanel/StatePanel/StatePanel.style.js.map +1 -0
  106. package/dist/native/components/StatePanel/StatePanel/StatePanel.type.d.ts +8 -0
  107. package/dist/native/components/StatePanel/StatePanel/StatePanel.type.js +2 -0
  108. package/dist/native/components/StatePanel/StatePanel/StatePanel.type.js.map +1 -0
  109. package/dist/native/components/StatePanel/StatePanel/StatePanel.view.d.ts +4 -0
  110. package/dist/native/components/StatePanel/StatePanel/StatePanel.view.js +14 -0
  111. package/dist/native/components/StatePanel/StatePanel/StatePanel.view.js.map +1 -0
  112. package/dist/native/components/StatePanel/StatePanel/StatePanel.view.native.d.ts +4 -0
  113. package/dist/native/components/StatePanel/StatePanel/StatePanel.view.native.js +21 -0
  114. package/dist/native/components/StatePanel/StatePanel/StatePanel.view.native.js.map +1 -0
  115. package/dist/native/components/StatePanel/StatePanel.d.ts +3 -0
  116. package/dist/native/components/StatePanel/StatePanel.js +10 -0
  117. package/dist/native/components/StatePanel/StatePanel.js.map +1 -0
  118. package/dist/native/components/index.d.ts +5 -135
  119. package/dist/native/components/index.js +9 -133
  120. package/dist/native/components/index.js.map +1 -1
  121. package/dist/native/components/index.native.d.ts +1 -0
  122. package/dist/native/components/index.native.js +5 -0
  123. package/dist/native/components/index.native.js.map +1 -0
  124. package/dist/native/components/index.shared.d.ts +143 -0
  125. package/dist/native/components/index.shared.js +146 -0
  126. package/dist/native/components/index.shared.js.map +1 -0
  127. package/dist/native/design-system/DesignSystemProvider.d.ts +7 -0
  128. package/dist/native/design-system/DesignSystemProvider.js +11 -4
  129. package/dist/native/design-system/DesignSystemProvider.js.map +1 -1
  130. package/dist/native/design-system/DesignSystemScope.d.ts +8 -0
  131. package/dist/native/design-system/DesignSystemScope.js +10 -0
  132. package/dist/native/design-system/DesignSystemScope.js.map +1 -0
  133. package/dist/native/design-system/DesignSystemScope.native.d.ts +8 -0
  134. package/dist/native/design-system/DesignSystemScope.native.js +8 -0
  135. package/dist/native/design-system/DesignSystemScope.native.js.map +1 -0
  136. package/dist/native/design-system/configs/airbnb.json +0 -10
  137. package/dist/native/design-system/configs/apple.json +0 -10
  138. package/dist/native/design-system/configs/coinbase.json +0 -10
  139. package/dist/native/design-system/configs/default.json +0 -10
  140. package/dist/native/design-system/configs/figma.json +0 -10
  141. package/dist/native/design-system/configs/linear.json +0 -10
  142. package/dist/native/design-system/configs/nike.json +0 -10
  143. package/dist/native/design-system/configs/notion.json +0 -10
  144. package/dist/native/design-system/configs/revolut.json +0 -10
  145. package/dist/native/design-system/configs/shopify.json +0 -10
  146. package/dist/native/design-system/configs/spacex.json +0 -10
  147. package/dist/native/design-system/configs/spotify.json +0 -10
  148. package/dist/native/design-system/configs/stripe.json +0 -10
  149. package/dist/native/design-system/configs/tesla.json +0 -10
  150. package/dist/native/design-system/configs/uber.json +0 -10
  151. package/dist/native/design-system/configs/vercel.json +0 -10
  152. package/dist/native/design-system/types.d.ts +7 -1
  153. package/dist/web.cjs.js +24 -24
  154. package/dist/web.cjs.js.map +1 -1
  155. package/dist/web.esm.js +22828 -22771
  156. package/dist/web.esm.js.map +1 -1
  157. package/dist/web.umd.js +26 -26
  158. package/dist/web.umd.js.map +1 -1
  159. package/docs/components/Button.mdx +15 -0
  160. package/docs/components/DataState.mdx +62 -0
  161. package/docs/components/Link.mdx +23 -0
  162. package/docs/components/PageHeader.mdx +47 -0
  163. package/docs/components/StatePanel.mdx +35 -0
  164. package/docs/components/TextField.mdx +31 -0
  165. package/docs/getting-started/react-native.md +47 -4
  166. package/package.json +59 -8
@@ -603,12 +603,9 @@
603
603
  "alert": {
604
604
  "views": {
605
605
  "container": {
606
- "backgroundColor": "color-gray-50",
607
- "borderColor": "color-gray-200",
608
606
  "borderRadius": 18
609
607
  },
610
608
  "title": {
611
- "color": "color-black",
612
609
  "fontFamily": "-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif",
613
610
  "fontWeight": 300,
614
611
  "letterSpacing": "-0.022em",
@@ -616,19 +613,12 @@
616
613
  "fontStyle": "normal"
617
614
  },
618
615
  "description": {
619
- "color": "color-gray-500",
620
616
  "fontFamily": "-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif"
621
- },
622
- "icon": {
623
- "color": "theme-primary"
624
617
  }
625
618
  }
626
619
  },
627
620
  "status": {
628
621
  "views": {
629
- "indicator": {
630
- "backgroundColor": "theme-success"
631
- },
632
622
  "label": {
633
623
  "color": "color-black",
634
624
  "fontFamily": "-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif"
@@ -596,12 +596,9 @@
596
596
  "alert": {
597
597
  "views": {
598
598
  "container": {
599
- "backgroundColor": "color-gray-50",
600
- "borderColor": "color-gray-200",
601
599
  "borderRadius": 12
602
600
  },
603
601
  "title": {
604
- "color": "color-black",
605
602
  "fontFamily": "'Inter', 'Coinbase Display', -apple-system, system-ui, sans-serif",
606
603
  "fontWeight": 700,
607
604
  "letterSpacing": "-0.01em",
@@ -609,19 +606,12 @@
609
606
  "fontStyle": "normal"
610
607
  },
611
608
  "description": {
612
- "color": "color-gray-500",
613
609
  "fontFamily": "'Inter', 'Coinbase Display', -apple-system, system-ui, sans-serif"
614
- },
615
- "icon": {
616
- "color": "theme-primary"
617
610
  }
618
611
  }
619
612
  },
620
613
  "status": {
621
614
  "views": {
622
- "indicator": {
623
- "backgroundColor": "theme-success"
624
- },
625
615
  "label": {
626
616
  "color": "color-black",
627
617
  "fontFamily": "'Inter', 'Coinbase Display', -apple-system, system-ui, sans-serif"
@@ -417,12 +417,9 @@
417
417
  "alert": {
418
418
  "views": {
419
419
  "container": {
420
- "backgroundColor": "color-gray-50",
421
- "borderColor": "color-gray-200",
422
420
  "borderRadius": 12
423
421
  },
424
422
  "title": {
425
- "color": "color-black",
426
423
  "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
427
424
  "fontWeight": 700,
428
425
  "letterSpacing": "-0.01em",
@@ -430,19 +427,12 @@
430
427
  "fontStyle": "normal"
431
428
  },
432
429
  "description": {
433
- "color": "color-gray-500",
434
430
  "fontFamily": "'Inter', system-ui, -apple-system, sans-serif"
435
- },
436
- "icon": {
437
- "color": "theme-primary"
438
431
  }
439
432
  }
440
433
  },
441
434
  "status": {
442
435
  "views": {
443
- "indicator": {
444
- "backgroundColor": "theme-success"
445
- },
446
436
  "label": {
447
437
  "color": "color-black",
448
438
  "fontFamily": "'Inter', system-ui, -apple-system, sans-serif"
@@ -582,12 +582,9 @@
582
582
  "alert": {
583
583
  "views": {
584
584
  "container": {
585
- "backgroundColor": "color-gray-50",
586
- "borderColor": "color-gray-200",
587
585
  "borderRadius": 8
588
586
  },
589
587
  "title": {
590
- "color": "theme-primary",
591
588
  "fontFamily": "'Inter', 'SF Pro Display', system-ui, -apple-system, Helvetica, sans-serif",
592
589
  "fontWeight": 700,
593
590
  "letterSpacing": "-0.01em",
@@ -595,19 +592,12 @@
595
592
  "fontStyle": "normal"
596
593
  },
597
594
  "description": {
598
- "color": "color-gray-500",
599
595
  "fontFamily": "'Inter', 'SF Pro Display', system-ui, -apple-system, Helvetica, sans-serif"
600
- },
601
- "icon": {
602
- "color": "theme-primary"
603
596
  }
604
597
  }
605
598
  },
606
599
  "status": {
607
600
  "views": {
608
- "indicator": {
609
- "backgroundColor": "theme-success"
610
- },
611
601
  "label": {
612
602
  "color": "theme-primary",
613
603
  "fontFamily": "'Inter', 'SF Pro Display', system-ui, -apple-system, Helvetica, sans-serif"
@@ -575,12 +575,9 @@
575
575
  "alert": {
576
576
  "views": {
577
577
  "container": {
578
- "backgroundColor": "color-gray-50",
579
- "borderColor": "color-gray-200",
580
578
  "borderRadius": 12
581
579
  },
582
580
  "title": {
583
- "color": "color-black",
584
581
  "fontFamily": "'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif",
585
582
  "fontWeight": 700,
586
583
  "letterSpacing": "-0.025em",
@@ -588,19 +585,12 @@
588
585
  "fontStyle": "normal"
589
586
  },
590
587
  "description": {
591
- "color": "color-gray-500",
592
588
  "fontFamily": "'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif"
593
- },
594
- "icon": {
595
- "color": "theme-primary"
596
589
  }
597
590
  }
598
591
  },
599
592
  "status": {
600
593
  "views": {
601
- "indicator": {
602
- "backgroundColor": "theme-success"
603
- },
604
594
  "label": {
605
595
  "color": "color-black",
606
596
  "fontFamily": "'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif"
@@ -603,12 +603,9 @@
603
603
  "alert": {
604
604
  "views": {
605
605
  "container": {
606
- "backgroundColor": "theme-secondary",
607
- "borderColor": "color-gray-200",
608
606
  "borderRadius": 4
609
607
  },
610
608
  "title": {
611
- "color": "theme-primary",
612
609
  "fontFamily": "'Helvetica Now Display', 'Helvetica Neue', 'Inter', Helvetica, Arial, sans-serif",
613
610
  "fontWeight": 800,
614
611
  "letterSpacing": "0.02em",
@@ -616,19 +613,12 @@
616
613
  "fontStyle": "italic"
617
614
  },
618
615
  "description": {
619
- "color": "color-gray-500",
620
616
  "fontFamily": "'Helvetica Now Display', 'Helvetica Neue', 'Inter', Helvetica, Arial, sans-serif"
621
- },
622
- "icon": {
623
- "color": "theme-primary"
624
617
  }
625
618
  }
626
619
  },
627
620
  "status": {
628
621
  "views": {
629
- "indicator": {
630
- "backgroundColor": "theme-success"
631
- },
632
622
  "label": {
633
623
  "color": "theme-primary",
634
624
  "fontFamily": "'Helvetica Now Display', 'Helvetica Neue', 'Inter', Helvetica, Arial, sans-serif"
@@ -708,12 +708,9 @@
708
708
  "alert": {
709
709
  "views": {
710
710
  "container": {
711
- "backgroundColor": "color-gray-50",
712
- "borderColor": "color-gray-200",
713
711
  "borderRadius": 10
714
712
  },
715
713
  "title": {
716
- "color": "color-black",
717
714
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, sans-serif",
718
715
  "fontWeight": 400,
719
716
  "letterSpacing": "0em",
@@ -721,19 +718,12 @@
721
718
  "fontStyle": "normal"
722
719
  },
723
720
  "description": {
724
- "color": "color-gray-500",
725
721
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, sans-serif"
726
- },
727
- "icon": {
728
- "color": "theme-primary"
729
722
  }
730
723
  }
731
724
  },
732
725
  "status": {
733
726
  "views": {
734
- "indicator": {
735
- "backgroundColor": "theme-success"
736
- },
737
727
  "label": {
738
728
  "color": "color-black",
739
729
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, sans-serif"
@@ -668,12 +668,9 @@
668
668
  "alert": {
669
669
  "views": {
670
670
  "container": {
671
- "backgroundColor": "color-gray-50",
672
- "borderColor": "color-gray-200",
673
671
  "borderRadius": 20
674
672
  },
675
673
  "title": {
676
- "color": "color-black",
677
674
  "fontFamily": "'Aeonik Pro', 'Inter', system-ui, -apple-system, sans-serif",
678
675
  "fontWeight": 700,
679
676
  "letterSpacing": "-0.02em",
@@ -681,19 +678,12 @@
681
678
  "fontStyle": "normal"
682
679
  },
683
680
  "description": {
684
- "color": "color-gray-500",
685
681
  "fontFamily": "'Aeonik Pro', 'Inter', system-ui, -apple-system, sans-serif"
686
- },
687
- "icon": {
688
- "color": "theme-primary"
689
682
  }
690
683
  }
691
684
  },
692
685
  "status": {
693
686
  "views": {
694
- "indicator": {
695
- "backgroundColor": "theme-success"
696
- },
697
687
  "label": {
698
688
  "color": "color-black",
699
689
  "fontFamily": "'Aeonik Pro', 'Inter', system-ui, -apple-system, sans-serif"
@@ -571,12 +571,9 @@
571
571
  "alert": {
572
572
  "views": {
573
573
  "container": {
574
- "backgroundColor": "color-white",
575
- "borderColor": "color-gray-200",
576
574
  "borderRadius": 12
577
575
  },
578
576
  "title": {
579
- "color": "color-black",
580
577
  "fontFamily": "'Inter', Helvetica, Arial, sans-serif",
581
578
  "fontWeight": 700,
582
579
  "letterSpacing": "-0.01em",
@@ -584,19 +581,12 @@
584
581
  "fontStyle": "normal"
585
582
  },
586
583
  "description": {
587
- "color": "color-muted",
588
584
  "fontFamily": "'Inter', Helvetica, Arial, sans-serif"
589
- },
590
- "icon": {
591
- "color": "theme-primary"
592
585
  }
593
586
  }
594
587
  },
595
588
  "status": {
596
589
  "views": {
597
- "indicator": {
598
- "backgroundColor": "theme-primary"
599
- },
600
590
  "label": {
601
591
  "color": "color-black",
602
592
  "fontFamily": "'Inter', Helvetica, Arial, sans-serif"
@@ -488,12 +488,9 @@
488
488
  "alert": {
489
489
  "views": {
490
490
  "container": {
491
- "backgroundColor": "color-gray-50",
492
- "borderColor": "color-gray-200",
493
491
  "borderRadius": 2
494
492
  },
495
493
  "title": {
496
- "color": "theme-primary",
497
494
  "fontFamily": "'Share Tech', Arial, Verdana, sans-serif",
498
495
  "fontWeight": 800,
499
496
  "letterSpacing": "0.06em",
@@ -501,19 +498,12 @@
501
498
  "fontStyle": "normal"
502
499
  },
503
500
  "description": {
504
- "color": "color-gray-200",
505
501
  "fontFamily": "'Share Tech', Arial, Verdana, sans-serif"
506
- },
507
- "icon": {
508
- "color": "theme-primary"
509
502
  }
510
503
  }
511
504
  },
512
505
  "status": {
513
506
  "views": {
514
- "indicator": {
515
- "backgroundColor": "theme-primary"
516
- },
517
507
  "label": {
518
508
  "color": "theme-primary",
519
509
  "fontFamily": "'Share Tech', Arial, Verdana, sans-serif"
@@ -571,12 +571,9 @@
571
571
  "alert": {
572
572
  "views": {
573
573
  "container": {
574
- "backgroundColor": "color-gray-50",
575
- "borderColor": "color-gray-200",
576
574
  "borderRadius": 8
577
575
  },
578
576
  "title": {
579
- "color": "color-black",
580
577
  "fontFamily": "'Inter', Helvetica, Arial, sans-serif",
581
578
  "fontWeight": 800,
582
579
  "letterSpacing": "-0.02em",
@@ -584,19 +581,12 @@
584
581
  "fontStyle": "normal"
585
582
  },
586
583
  "description": {
587
- "color": "color-gray-500",
588
584
  "fontFamily": "'Inter', Helvetica, Arial, sans-serif"
589
- },
590
- "icon": {
591
- "color": "theme-primary"
592
585
  }
593
586
  }
594
587
  },
595
588
  "status": {
596
589
  "views": {
597
- "indicator": {
598
- "backgroundColor": "theme-primary"
599
- },
600
590
  "label": {
601
591
  "color": "color-black",
602
592
  "fontFamily": "'Inter', Helvetica, Arial, sans-serif"
@@ -638,12 +638,9 @@
638
638
  "alert": {
639
639
  "views": {
640
640
  "container": {
641
- "backgroundColor": "color-white",
642
- "borderColor": "color-gray-200",
643
641
  "borderRadius": 12
644
642
  },
645
643
  "title": {
646
- "color": "color-black",
647
644
  "fontFamily": "'sohne-var', 'SF Pro Display', -apple-system, system-ui, sans-serif",
648
645
  "fontWeight": 700,
649
646
  "letterSpacing": "-0.022em",
@@ -651,19 +648,12 @@
651
648
  "fontStyle": "normal"
652
649
  },
653
650
  "description": {
654
- "color": "color-gray-500",
655
651
  "fontFamily": "'sohne-var', 'SF Pro Display', -apple-system, system-ui, sans-serif"
656
- },
657
- "icon": {
658
- "color": "theme-primary"
659
652
  }
660
653
  }
661
654
  },
662
655
  "status": {
663
656
  "views": {
664
- "indicator": {
665
- "backgroundColor": "theme-success"
666
- },
667
657
  "label": {
668
658
  "color": "color-black",
669
659
  "fontFamily": "'sohne-var', 'SF Pro Display', -apple-system, system-ui, sans-serif"
@@ -530,12 +530,9 @@
530
530
  "alert": {
531
531
  "views": {
532
532
  "container": {
533
- "backgroundColor": "color-gray-50",
534
- "borderColor": "color-gray-200",
535
533
  "borderRadius": 0
536
534
  },
537
535
  "title": {
538
- "color": "color-black",
539
536
  "fontFamily": "'Inter', -apple-system, Arial, sans-serif",
540
537
  "fontWeight": 300,
541
538
  "letterSpacing": "0.02em",
@@ -543,19 +540,12 @@
543
540
  "fontStyle": "normal"
544
541
  },
545
542
  "description": {
546
- "color": "theme-warning",
547
543
  "fontFamily": "'Inter', -apple-system, Arial, sans-serif"
548
- },
549
- "icon": {
550
- "color": "theme-primary"
551
544
  }
552
545
  }
553
546
  },
554
547
  "status": {
555
548
  "views": {
556
- "indicator": {
557
- "backgroundColor": "theme-primary"
558
- },
559
549
  "label": {
560
550
  "color": "color-black",
561
551
  "fontFamily": "'Inter', -apple-system, Arial, sans-serif"
@@ -586,12 +586,9 @@
586
586
  "alert": {
587
587
  "views": {
588
588
  "container": {
589
- "backgroundColor": "color-white",
590
- "borderColor": "theme-warning",
591
589
  "borderRadius": 4
592
590
  },
593
591
  "title": {
594
- "color": "theme-primary",
595
592
  "fontFamily": "'DM Sans', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif",
596
593
  "fontWeight": 700,
597
594
  "letterSpacing": "-0.01em",
@@ -599,19 +596,12 @@
599
596
  "fontStyle": "normal"
600
597
  },
601
598
  "description": {
602
- "color": "color-gray-500",
603
599
  "fontFamily": "'DM Sans', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif"
604
- },
605
- "icon": {
606
- "color": "theme-primary"
607
600
  }
608
601
  }
609
602
  },
610
603
  "status": {
611
604
  "views": {
612
- "indicator": {
613
- "backgroundColor": "theme-primary"
614
- },
615
605
  "label": {
616
606
  "color": "theme-primary",
617
607
  "fontFamily": "'DM Sans', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif"
@@ -598,12 +598,9 @@
598
598
  "alert": {
599
599
  "views": {
600
600
  "container": {
601
- "backgroundColor": "color-gray-50",
602
- "borderColor": "color-gray-200",
603
601
  "borderRadius": 4
604
602
  },
605
603
  "title": {
606
- "color": "theme-primary",
607
604
  "fontFamily": "var(--font-sans)",
608
605
  "fontWeight": 700,
609
606
  "letterSpacing": "-0.04em",
@@ -611,19 +608,12 @@
611
608
  "fontStyle": "normal"
612
609
  },
613
610
  "description": {
614
- "color": "color-gray-500",
615
611
  "fontFamily": "var(--font-sans)"
616
- },
617
- "icon": {
618
- "color": "theme-primary"
619
612
  }
620
613
  }
621
614
  },
622
615
  "status": {
623
616
  "views": {
624
- "indicator": {
625
- "backgroundColor": "theme-success"
626
- },
627
617
  "label": {
628
618
  "color": "theme-primary",
629
619
  "fontFamily": "var(--font-sans)"
@@ -1,5 +1,6 @@
1
+ import type { ReactNode } from 'react';
1
2
  export type DesignSystemAppearance = 'light' | 'dark';
2
- export type DesignSystemComponentName = 'accordion' | 'alert' | 'avatar' | 'badge' | 'button' | 'card' | 'checkbox' | 'hero' | 'input' | 'loader' | 'navigation' | 'page' | 'progress' | 'radio' | 'select' | 'separator' | 'slider' | 'status' | 'switch' | 'table' | 'tabs' | 'textarea';
3
+ export type DesignSystemComponentName = 'accordion' | 'alert' | 'avatar' | 'badge' | 'button' | 'card' | 'checkbox' | 'hero' | 'input' | 'loader' | 'navigation' | 'page' | 'pageHeader' | 'progress' | 'radio' | 'select' | 'separator' | 'slider' | 'statePanel' | 'status' | 'switch' | 'table' | 'tabs' | 'textarea';
3
4
  export type DesignSystemViewProps = Record<string, any>;
4
5
  export interface DesignSystemMetadata {
5
6
  id: string;
@@ -124,3 +125,8 @@ export interface DesignSystemContextValue {
124
125
  configId?: string;
125
126
  isEnabled: boolean;
126
127
  }
128
+ export interface DesignSystemScopeProps {
129
+ children: ReactNode;
130
+ id: string;
131
+ appearance: DesignSystemAppearance;
132
+ }