@recursica/mantine-adapter 0.38.1 → 0.40.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.
Files changed (32) hide show
  1. package/ARCHITECTURE.md +3 -0
  2. package/CHANGELOG.md +51 -0
  3. package/dist/index.d.ts +186 -20
  4. package/dist/mantine-adapter.cjs +2 -2
  5. package/dist/mantine-adapter.cjs.map +1 -1
  6. package/dist/mantine-adapter.css +1 -1
  7. package/dist/mantine-adapter.js +2724 -2491
  8. package/dist/mantine-adapter.js.map +1 -1
  9. package/package.json +1 -1
  10. package/src/components/Accordion/ACCORDION_IMPLEMENTATION_NOTES.md +16 -2
  11. package/src/components/Accordion/Accordion.module.css +10 -1
  12. package/src/components/Accordion/Accordion.stories.tsx +36 -0
  13. package/src/components/Accordion/Accordion.tsx +40 -7
  14. package/src/components/AssistiveElement/ASSISTIVEELEMENT_IMPLEMENTATION_NOTES.md +45 -0
  15. package/src/components/AssistiveElement/AssistiveElement.tsx +8 -1
  16. package/src/components/AutoComplete/AutoComplete.tsx +1 -4
  17. package/src/components/Avatar/AVATAR_IMPLEMENTATION_NOTES.md +10 -0
  18. package/src/components/Button/Button.module.css +13 -0
  19. package/src/components/Chip/CHIP_IMPLEMENTATION_NOTES.md +59 -0
  20. package/src/components/Chip/Chip.module.css +36 -4
  21. package/src/components/Chip/Chip.tsx +14 -5
  22. package/src/components/Chip/USAGE.md +7 -0
  23. package/src/components/FileUpload/FILEUPLOAD_IMPLEMENTATION_NOTES.md +244 -0
  24. package/src/components/FileUpload/FileUpload.module.css +204 -42
  25. package/src/components/FileUpload/FileUpload.stories.tsx +348 -4
  26. package/src/components/FileUpload/FileUpload.tsx +352 -5
  27. package/src/components/FileUpload/USAGE.md +163 -5
  28. package/src/components/Switch/SWITCH_IMPLEMENTATION_NOTES.md +36 -0
  29. package/src/components/Switch/Switch.module.css +19 -2
  30. package/src/components/Switch/SwitchGroup.tsx +6 -3
  31. package/src/components/TimePicker/TIMEPICKER_IMPLEMENTATION_NOTES.md +10 -0
  32. package/src/components/TimePicker/TimePicker.tsx +1 -1
@@ -273,7 +273,7 @@ export const TimePicker = forwardRef<HTMLDivElement, TimePickerProps>(
273
273
  // that actually targets that box. See TIMEPICKER_IMPLEMENTATION_NOTES.md.
274
274
  styles={{ wrapper: { width: "fit-content" } }}
275
275
  data={AM_PM_DATA}
276
- value={hour === undefined ? null : isPM ? "PM" : "AM"}
276
+ value={isPM ? "PM" : "AM"}
277
277
  onChange={handleMeridiemChange}
278
278
  disabled={disabled}
279
279
  error={!!error}