expo-calendar-kit 2.0.9 → 2.1.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.
@@ -109,6 +109,37 @@ public class ExpoCalendarKitView: UIView, DayViewDelegate, EventDataSource {
109
109
 
110
110
  private func setupCalendarView() {
111
111
  print("🔥 setupCalendarView called")
112
+
113
+ // TEMPORARY: Create a simple test view instead of CalendarKit
114
+ let testView = UIView()
115
+ testView.backgroundColor = UIColor.systemBlue
116
+ testView.translatesAutoresizingMaskIntoConstraints = false
117
+ addSubview(testView)
118
+
119
+ NSLayoutConstraint.activate([
120
+ testView.topAnchor.constraint(equalTo: topAnchor),
121
+ testView.leadingAnchor.constraint(equalTo: leadingAnchor),
122
+ testView.trailingAnchor.constraint(equalTo: trailingAnchor),
123
+ testView.bottomAnchor.constraint(equalTo: bottomAnchor)
124
+ ])
125
+
126
+ // Add a label for debugging
127
+ let label = UILabel()
128
+ label.text = "🔥 NATIVE VIEW WORKING!"
129
+ label.textColor = UIColor.white
130
+ label.textAlignment = .center
131
+ label.font = UIFont.boldSystemFont(ofSize: 24)
132
+ label.translatesAutoresizingMaskIntoConstraints = false
133
+ testView.addSubview(label)
134
+
135
+ NSLayoutConstraint.activate([
136
+ label.centerXAnchor.constraint(equalTo: testView.centerXAnchor),
137
+ label.centerYAnchor.constraint(equalTo: testView.centerYAnchor)
138
+ ])
139
+
140
+ print("🔥 Test view setup complete")
141
+
142
+ /* COMMENTED OUT CALENDARKIT FOR NOW
112
143
  dayView = DayView()
113
144
  dayView.delegate = self
114
145
  dayView.dataSource = self
@@ -127,6 +158,7 @@ public class ExpoCalendarKitView: UIView, DayViewDelegate, EventDataSource {
127
158
 
128
159
  // Set initial date
129
160
  dayView.move(to: currentDate)
161
+ */
130
162
  }
131
163
 
132
164
  // MARK: - Public Methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-calendar-kit",
3
- "version": "2.0.9",
3
+ "version": "2.1.0",
4
4
  "description": "Expo module wrapping the native Swift CalendarKit library for React Native apps",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",