@snapdragonsnursery/react-components 1.12.0 → 1.13.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapdragonsnursery/react-components",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -247,28 +247,7 @@ export function DateRangePicker({
247
247
  Done
248
248
  </Button>
249
249
  </div>
250
- {internalRange?.from && (
251
- <div className="absolute top-2 right-2 flex gap-1">
252
- <button
253
- onClick={() => {
254
- setInternalRange(null)
255
- isSelectingRange.current = false
256
- onSelect(null)
257
- }}
258
- className="text-xs text-muted-foreground hover:text-foreground bg-background px-2 py-1 rounded border"
259
- >
260
- Clear
261
- </button>
262
- {!internalRange?.to && (
263
- <button
264
- onClick={() => setIsOpen(false)}
265
- className="text-xs text-muted-foreground hover:text-foreground bg-background px-2 py-1 rounded border"
266
- >
267
- Cancel
268
- </button>
269
- )}
270
- </div>
271
- )}
250
+ {/* Removed top-right overlay controls to avoid overlap with calendar navigation */}
272
251
  </div>
273
252
  </PopoverContent>
274
253
  </Popover>