tw-react-components 0.0.135 → 0.0.138

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 (28) hide show
  1. package/index.cjs.js +537 -199
  2. package/index.css +101 -0
  3. package/index.esm.js +431 -100
  4. package/package.json +5 -2
  5. package/src/components/Form/controls/custom/date-time/DateSelector.d.ts +2 -2
  6. package/src/components/Form/controls/custom/date-time/DaysView.d.ts +2 -2
  7. package/src/components/Form/controls/custom/date-time/MonthsView.d.ts +2 -2
  8. package/src/components/Form/controls/custom/date-time/TimeSelector.d.ts +2 -2
  9. package/src/components/Form/controls/custom/date-time/YearsView.d.ts +2 -2
  10. package/src/components/Form/controls/custom/date-time/index.d.ts +4 -4
  11. package/src/components/Form/controls/custom/file.d.ts +11 -0
  12. package/src/components/Form/controls/custom/index.d.ts +1 -0
  13. package/src/components/Form/controls/custom/select/index.d.ts +1 -1
  14. package/src/components/Form/controls/primitive/BasicInput.d.ts +2 -3
  15. package/src/components/Form/controls/primitive/NumberInput.d.ts +7 -2
  16. package/src/components/Form/controls/with-form.d.ts +6 -1
  17. package/src/components/Layout/index.d.ts +22 -2
  18. package/src/components/Navbar/index.d.ts +1 -0
  19. package/src/components/Separator/index.d.ts +2 -0
  20. package/src/components/Sheet/index.d.ts +26 -0
  21. package/src/components/Sidebar/index.d.ts +82 -23
  22. package/src/components/Skeleton/index.d.ts +2 -0
  23. package/src/components/index.d.ts +3 -0
  24. package/src/contexts/LayoutContext.d.ts +0 -3
  25. package/src/hooks/index.d.ts +1 -0
  26. package/src/hooks/useIsMobile.d.ts +1 -0
  27. package/tailwindcss-plugin.cjs +88 -0
  28. package/src/components/Sidebar/SidebarItem.d.ts +0 -10
package/index.css ADDED
@@ -0,0 +1,101 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ :root {
7
+ --background: 0 0% 100%;
8
+ --foreground: 222.2 47.4% 11.2%;
9
+
10
+ --muted: 210 40% 96.1%;
11
+ --muted-foreground: 215.4 16.3% 46.9%;
12
+
13
+ --popover: 0 0% 100%;
14
+ --popover-foreground: 222.2 47.4% 11.2%;
15
+
16
+ --border: 214.3 31.8% 91.4%;
17
+ --input: 214.3 31.8% 91.4%;
18
+
19
+ --card: 0 0% 100%;
20
+ --card-foreground: 222.2 47.4% 11.2%;
21
+
22
+ --primary: 222.2 47.4% 11.2%;
23
+ --primary-foreground: 210 40% 98%;
24
+
25
+ --secondary: 210 40% 96.1%;
26
+ --secondary-foreground: 222.2 47.4% 11.2%;
27
+
28
+ --accent: 210 40% 96.1%;
29
+ --accent-foreground: 222.2 47.4% 11.2%;
30
+
31
+ --destructive: 0 100% 50%;
32
+ --destructive-foreground: 210 40% 98%;
33
+
34
+ --ring: 215 20.2% 65.1%;
35
+
36
+ --radius: 0.5rem;
37
+
38
+ --sidebar-background: 0 0% 100%;
39
+ --sidebar-foreground: 240 5.3% 26.1%;
40
+ --sidebar-primary: 240 5.9% 10%;
41
+ --sidebar-primary-foreground: 0 0% 98%;
42
+ --sidebar-accent: 240 4.8% 95.9%;
43
+ --sidebar-accent-foreground: 240 5.9% 10%;
44
+ --sidebar-border: 220 13% 91%;
45
+ --sidebar-ring: 217.2 91.2% 59.8%;
46
+ }
47
+
48
+ .dark {
49
+ --background: 222 47% 11%;
50
+ --foreground: 213 31% 91%;
51
+
52
+ --muted: 223 47% 11%;
53
+ --muted-foreground: 215.4 16.3% 56.9%;
54
+
55
+ --accent: 216 34% 17%;
56
+ --accent-foreground: 210 40% 98%;
57
+
58
+ --popover: 224 71% 4%;
59
+ --popover-foreground: 215 20.2% 65.1%;
60
+
61
+ --border: 216 34% 17%;
62
+ --input: 216 34% 17%;
63
+
64
+ --card: 224 71% 4%;
65
+ --card-foreground: 213 31% 91%;
66
+
67
+ --primary: 210 40% 98%;
68
+ --primary-foreground: 222.2 47.4% 1.2%;
69
+
70
+ --secondary: 222.2 47.4% 11.2%;
71
+ --secondary-foreground: 210 40% 98%;
72
+
73
+ --destructive: 0 63% 31%;
74
+ --destructive-foreground: 210 40% 98%;
75
+
76
+ --ring: 216 34% 17%;
77
+
78
+ --radius: 0.5rem;
79
+
80
+ --sidebar-background: 222 47% 11%;
81
+ --sidebar-foreground: 240 4.8% 95.9%;
82
+ --sidebar-primary: 224.3 76.3% 48%;
83
+ --sidebar-primary-foreground: 0 0% 100%;
84
+ --sidebar-accent: 215 28% 17%;
85
+ --sidebar-accent-foreground: 240 4.8% 95.9%;
86
+ --sidebar-border: 215 25% 27%;
87
+ --sidebar-ring: 217.2 91.2% 59.8%;
88
+ }
89
+ }
90
+
91
+ @layer base {
92
+ * {
93
+ @apply border-border;
94
+ }
95
+ body {
96
+ @apply bg-background text-foreground;
97
+ font-feature-settings:
98
+ 'rlig' 1,
99
+ 'calt' 1;
100
+ }
101
+ }