tio-design-make-experiments 0.0.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.
Files changed (108) hide show
  1. package/ATTRIBUTIONS.md +3 -0
  2. package/README.md +11 -0
  3. package/guidelines/Guidelines.md +61 -0
  4. package/index.html +15 -0
  5. package/package.json +91 -0
  6. package/postcss.config.mjs +15 -0
  7. package/src/app/App.tsx +6 -0
  8. package/src/app/components/design-system/Buttons.tsx +623 -0
  9. package/src/app/components/design-system/Cards.tsx +123 -0
  10. package/src/app/components/design-system/Charts.tsx +135 -0
  11. package/src/app/components/design-system/ColorPalette.tsx +86 -0
  12. package/src/app/components/design-system/CopyButton.tsx +102 -0
  13. package/src/app/components/design-system/Forms.tsx +409 -0
  14. package/src/app/components/design-system/Icons.tsx +140 -0
  15. package/src/app/components/design-system/ListItems.tsx +234 -0
  16. package/src/app/components/design-system/Navigation.tsx +344 -0
  17. package/src/app/components/design-system/Patterns.tsx +235 -0
  18. package/src/app/components/design-system/PopoverMenu.tsx +81 -0
  19. package/src/app/components/design-system/SectionHeader.tsx +22 -0
  20. package/src/app/components/design-system/Spacing.tsx +109 -0
  21. package/src/app/components/design-system/StatusIndicators.tsx +194 -0
  22. package/src/app/components/design-system/Typography.tsx +88 -0
  23. package/src/app/components/figma/ImageWithFallback.tsx +27 -0
  24. package/src/app/components/ui/accordion.tsx +66 -0
  25. package/src/app/components/ui/alert-dialog.tsx +157 -0
  26. package/src/app/components/ui/alert.tsx +66 -0
  27. package/src/app/components/ui/aspect-ratio.tsx +11 -0
  28. package/src/app/components/ui/avatar.tsx +53 -0
  29. package/src/app/components/ui/badge.tsx +46 -0
  30. package/src/app/components/ui/breadcrumb.tsx +109 -0
  31. package/src/app/components/ui/button.tsx +58 -0
  32. package/src/app/components/ui/calendar.tsx +75 -0
  33. package/src/app/components/ui/card.tsx +92 -0
  34. package/src/app/components/ui/carousel.tsx +241 -0
  35. package/src/app/components/ui/chart.tsx +353 -0
  36. package/src/app/components/ui/checkbox.tsx +32 -0
  37. package/src/app/components/ui/collapsible.tsx +33 -0
  38. package/src/app/components/ui/command.tsx +177 -0
  39. package/src/app/components/ui/context-menu.tsx +252 -0
  40. package/src/app/components/ui/dialog.tsx +135 -0
  41. package/src/app/components/ui/drawer.tsx +132 -0
  42. package/src/app/components/ui/dropdown-menu.tsx +257 -0
  43. package/src/app/components/ui/form.tsx +168 -0
  44. package/src/app/components/ui/hover-card.tsx +44 -0
  45. package/src/app/components/ui/input-otp.tsx +77 -0
  46. package/src/app/components/ui/input.tsx +21 -0
  47. package/src/app/components/ui/label.tsx +24 -0
  48. package/src/app/components/ui/menubar.tsx +276 -0
  49. package/src/app/components/ui/navigation-menu.tsx +168 -0
  50. package/src/app/components/ui/pagination.tsx +127 -0
  51. package/src/app/components/ui/popover.tsx +48 -0
  52. package/src/app/components/ui/progress.tsx +31 -0
  53. package/src/app/components/ui/radio-group.tsx +45 -0
  54. package/src/app/components/ui/resizable.tsx +56 -0
  55. package/src/app/components/ui/scroll-area.tsx +58 -0
  56. package/src/app/components/ui/select.tsx +189 -0
  57. package/src/app/components/ui/separator.tsx +28 -0
  58. package/src/app/components/ui/sheet.tsx +139 -0
  59. package/src/app/components/ui/sidebar.tsx +726 -0
  60. package/src/app/components/ui/skeleton.tsx +13 -0
  61. package/src/app/components/ui/slider.tsx +63 -0
  62. package/src/app/components/ui/sonner.tsx +25 -0
  63. package/src/app/components/ui/switch.tsx +31 -0
  64. package/src/app/components/ui/table.tsx +116 -0
  65. package/src/app/components/ui/tabs.tsx +66 -0
  66. package/src/app/components/ui/textarea.tsx +18 -0
  67. package/src/app/components/ui/toggle-group.tsx +73 -0
  68. package/src/app/components/ui/toggle.tsx +47 -0
  69. package/src/app/components/ui/tooltip.tsx +61 -0
  70. package/src/app/components/ui/use-mobile.ts +21 -0
  71. package/src/app/components/ui/utils.ts +6 -0
  72. package/src/app/pages/DesignSystem.tsx +189 -0
  73. package/src/app/pages/Team.tsx +168 -0
  74. package/src/app/routes.tsx +14 -0
  75. package/src/assets/6276cd19433d265f363bddc7f52f4937da9b1dd4.png +0 -0
  76. package/src/assets/9d7a018c9a6938d439d9059f82753d232ce63804.png +0 -0
  77. package/src/imports/Buttons-3-409.tsx +46 -0
  78. package/src/imports/Buttons-3-962.tsx +155 -0
  79. package/src/imports/ButtonsAndActions.tsx +139 -0
  80. package/src/imports/Dashboard.tsx +1914 -0
  81. package/src/imports/DesignSystem.tsx +6008 -0
  82. package/src/imports/Forms.tsx +1088 -0
  83. package/src/imports/Navigation-17-3259.tsx +564 -0
  84. package/src/imports/Navigation-18-957.tsx +873 -0
  85. package/src/imports/Wireframe.tsx +112 -0
  86. package/src/imports/svg-1ifosis1tx.ts +3 -0
  87. package/src/imports/svg-5spfd.tsx +1 -0
  88. package/src/imports/svg-6180by7m37.ts +3 -0
  89. package/src/imports/svg-guy0p.tsx +1 -0
  90. package/src/imports/svg-hm2n0.tsx +2 -0
  91. package/src/imports/svg-j8o95ccqq7.ts +26 -0
  92. package/src/imports/svg-liuy2nykz3.ts +10 -0
  93. package/src/imports/svg-pp9c3.tsx +1 -0
  94. package/src/imports/svg-pr0k9194w9.ts +33 -0
  95. package/src/imports/svg-umftvfphsk.ts +48 -0
  96. package/src/imports/svg-vbi95q76mb.ts +23 -0
  97. package/src/imports/svg-vxjpl.tsx +1 -0
  98. package/src/imports/svg-wl30wxxv53.ts +3 -0
  99. package/src/main.tsx +7 -0
  100. package/src/styles/fonts.css +1 -0
  101. package/src/styles/forms.css +181 -0
  102. package/src/styles/header.css +48 -0
  103. package/src/styles/index.css +7 -0
  104. package/src/styles/navlinks.css +112 -0
  105. package/src/styles/popover.css +48 -0
  106. package/src/styles/tailwind.css +4 -0
  107. package/src/styles/theme.css +312 -0
  108. package/vite.config.ts +38 -0
@@ -0,0 +1,139 @@
1
+ function SpacerTestio() {
2
+ return <div className="shrink-0 size-[10px]" data-name="spacer-testio" />;
3
+ }
4
+
5
+ function SpacerTestio1() {
6
+ return (
7
+ <div className="h-[20px] relative shrink-0 w-full" data-name="spacer-testio">
8
+ <div className="absolute bottom-1/2 left-0 right-0 top-0" data-name="spacer" />
9
+ </div>
10
+ );
11
+ }
12
+
13
+ function PopoverButtons() {
14
+ return (
15
+ <div className="bg-[#262626] min-h-[40px] relative rounded-[10px] shrink-0 w-full" data-name="popover buttons">
16
+ <div className="flex flex-row items-center min-h-[inherit] size-full">
17
+ <div className="content-stretch flex items-center min-h-[inherit] px-[20px] py-[10px] relative w-full">
18
+ <p className="flex-[1_0_0] font-['Source_Sans_3:Regular',sans-serif] font-normal leading-[14px] min-h-px min-w-px relative text-[16px] text-white uppercase whitespace-pre-wrap">Popover button</p>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ );
23
+ }
24
+
25
+ function ActionsItemsInitial() {
26
+ return (
27
+ <div className="bg-[#262626] min-h-[40px] relative rounded-bl-[10px] rounded-br-[10px] shrink-0 w-full" data-name="Actions Items/initial">
28
+ <div className="flex flex-row items-center min-h-[inherit] size-full">
29
+ <div className="content-stretch flex items-center min-h-[inherit] pb-[10px] pt-[8px] px-[20px] relative w-full">
30
+ <p className="flex-[1_0_0] font-['Source_Sans_3:Regular',sans-serif] font-normal leading-[14px] min-h-px min-w-px relative text-[16px] text-white uppercase whitespace-pre-wrap">Edit</p>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ );
35
+ }
36
+
37
+ function PopoverButtons1() {
38
+ return (
39
+ <div className="bg-[#262626] min-h-[40px] relative rounded-[10px] shrink-0 w-full" data-name="popover buttons">
40
+ <div className="flex flex-row items-center min-h-[inherit] size-full">
41
+ <div className="content-stretch flex items-center min-h-[inherit] px-[20px] py-[10px] relative w-full">
42
+ <p className="flex-[1_0_0] font-['Source_Sans_3:Regular',sans-serif] font-normal leading-[14px] min-h-px min-w-px relative text-[16px] text-white uppercase whitespace-pre-wrap">Delete</p>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ );
47
+ }
48
+
49
+ function ActionsCheckSession() {
50
+ return (
51
+ <div className="bg-[#262626] content-stretch flex flex-col items-start p-[5px] relative rounded-[10px] shadow-[4px_4px_15px_0px_rgba(0,0,0,0.1)] shrink-0 w-[240px]" data-name="actions - check session">
52
+ <PopoverButtons />
53
+ <ActionsItemsInitial />
54
+ <PopoverButtons1 />
55
+ </div>
56
+ );
57
+ }
58
+
59
+ function SpacerTestio2() {
60
+ return (
61
+ <div className="relative shrink-0 size-[30px]" data-name="spacer-testio">
62
+ <div className="absolute inset-[0_66.67%_66.67%_0]" data-name="spacer" />
63
+ </div>
64
+ );
65
+ }
66
+
67
+ function SpacerTestio3() {
68
+ return (
69
+ <div className="h-[20px] relative shrink-0 w-full" data-name="spacer-testio">
70
+ <div className="absolute bottom-1/2 left-0 right-0 top-0" data-name="spacer" />
71
+ </div>
72
+ );
73
+ }
74
+
75
+ function PopoverButtons2() {
76
+ return (
77
+ <div className="bg-[#262626] min-h-[40px] relative rounded-[10px] shrink-0 w-full" data-name="popover buttons">
78
+ <div className="flex flex-row items-center min-h-[inherit] size-full">
79
+ <div className="content-stretch flex items-center min-h-[inherit] px-[20px] py-[10px] relative w-full">
80
+ <p className="flex-[1_0_0] font-['Source_Sans_3:Regular',sans-serif] font-normal leading-[14px] min-h-px min-w-px relative text-[16px] text-white uppercase whitespace-pre-wrap">Popover button</p>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ );
85
+ }
86
+
87
+ function PopoverButtons3() {
88
+ return (
89
+ <div className="bg-[#7954ff] min-h-[40px] relative rounded-[10px] shrink-0 w-full" data-name="popover buttons">
90
+ <div className="flex flex-row items-center min-h-[inherit] size-full">
91
+ <div className="content-stretch flex items-center min-h-[inherit] px-[20px] py-[10px] relative w-full">
92
+ <p className="flex-[1_0_0] font-['Source_Sans_3:Regular',sans-serif] font-normal leading-[14px] min-h-px min-w-px relative text-[16px] text-white uppercase whitespace-pre-wrap">Hover</p>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ );
97
+ }
98
+
99
+ function Container() {
100
+ return (
101
+ <div className="content-stretch flex flex-col gap-[10px] items-start relative shrink-0 w-[240px]" data-name="Container">
102
+ <PopoverButtons2 />
103
+ <PopoverButtons3 />
104
+ </div>
105
+ );
106
+ }
107
+
108
+ function Header() {
109
+ return (
110
+ <div className="content-stretch flex flex-col items-start relative shrink-0 w-full" data-name="HEADER">
111
+ <p className="font-['Source_Sans_Pro:Light',sans-serif] leading-[28px] min-w-full not-italic relative shrink-0 text-[25px] text-white w-[min-content] whitespace-pre-wrap">Popover menu</p>
112
+ <SpacerTestio />
113
+ <p className="font-['Source_Sans_3:Regular',sans-serif] font-normal leading-[22px] min-w-full relative shrink-0 text-[16px] text-white w-[min-content] whitespace-pre-wrap">A popover/dropdown menu for additional actions and links</p>
114
+ <SpacerTestio1 />
115
+ <ActionsCheckSession />
116
+ <SpacerTestio2 />
117
+ <p className="font-['Source_Sans_3:Regular',sans-serif] font-normal leading-[22px] min-w-full relative shrink-0 text-[16px] text-white w-[min-content] whitespace-pre-wrap">Popover buttons</p>
118
+ <SpacerTestio3 />
119
+ <Container />
120
+ </div>
121
+ );
122
+ }
123
+
124
+ function SpacerTestio4() {
125
+ return (
126
+ <div className="relative shrink-0 size-[50px]" data-name="spacer-testio">
127
+ <div className="absolute inset-[0_80%_80%_0]" data-name="spacer" />
128
+ </div>
129
+ );
130
+ }
131
+
132
+ export default function ButtonsAndActions() {
133
+ return (
134
+ <div className="bg-[#181818] content-stretch flex flex-col items-start p-[50px] relative size-full" data-name="Buttons and actions">
135
+ <Header />
136
+ <SpacerTestio4 />
137
+ </div>
138
+ );
139
+ }