tyrell-components 1.0.0-TC56 → 1.0.0-TC57

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 (42) hide show
  1. package/css/tyrell.css +3 -3
  2. package/dist/tyrell.js +1 -1
  3. package/lib/base/ty-component.d.ts +3 -0
  4. package/lib/base/ty-component.js +5 -1
  5. package/lib/components/calendar.d.ts +2 -0
  6. package/lib/components/calendar.js +9 -0
  7. package/lib/components/checkbox.d.ts +2 -0
  8. package/lib/components/checkbox.js +7 -0
  9. package/lib/components/date-picker.d.ts +2 -0
  10. package/lib/components/date-picker.js +9 -2
  11. package/lib/components/file-upload.d.ts +2 -0
  12. package/lib/components/file-upload.js +15 -2
  13. package/lib/components/input.d.ts +74 -2
  14. package/lib/components/input.js +166 -6
  15. package/lib/components/modal.d.ts +2 -0
  16. package/lib/components/modal.js +12 -9
  17. package/lib/components/option.js +5 -0
  18. package/lib/components/popup.js +16 -4
  19. package/lib/components/radio.d.ts +2 -0
  20. package/lib/components/radio.js +8 -0
  21. package/lib/components/select.d.ts +2 -0
  22. package/lib/components/select.js +12 -0
  23. package/lib/components/selected-tags.d.ts +7 -1
  24. package/lib/components/selected-tags.js +10 -1
  25. package/lib/components/switch.d.ts +2 -0
  26. package/lib/components/switch.js +7 -0
  27. package/lib/components/textarea.d.ts +4 -0
  28. package/lib/components/textarea.js +7 -0
  29. package/lib/styles/date-picker.js +1 -1
  30. package/lib/styles/file-upload.d.ts +1 -1
  31. package/lib/styles/file-upload.js +3 -3
  32. package/lib/styles/icon.d.ts +1 -1
  33. package/lib/styles/icon.js +2 -2
  34. package/lib/styles/input.js +1 -1
  35. package/lib/styles/radio.js +2 -2
  36. package/lib/utils/property-manager.d.ts +6 -0
  37. package/lib/utils/property-manager.js +15 -5
  38. package/lib/utils/validity.d.ts +12 -0
  39. package/lib/utils/validity.js +65 -2
  40. package/lib/version.d.ts +1 -1
  41. package/lib/version.js +1 -1
  42. package/package.json +2 -2
package/css/tyrell.css CHANGED
@@ -1366,13 +1366,13 @@ RESPONSIVE VARIANTS
1366
1366
  }
1367
1367
 
1368
1368
  /* =================================================================
1369
- MODAL BACKDROP ZOOM (opt-in)
1370
- While any <ty-modal backdrop-zoom open> is open, the component toggles
1369
+ MODAL BACKDROP ZOOM (default; turn off with no-zoom)
1370
+ While any <ty-modal open> without no-zoom is open, the component toggles
1371
1371
  .ty-modal-zoom on <html> and the page body scales down slightly
1372
1372
  (Vaul/shadcn-style). The modal itself renders in the top layer, which
1373
1373
  escapes ancestor transforms — only the page behind it moves.
1374
1374
  Caveat: a scaled <body> becomes the containing block for position:fixed
1375
- descendants — apps with fixed headers/sidebars should not use backdrop-zoom.
1375
+ descendants — apps with fixed headers/sidebars should set no-zoom.
1376
1376
  ================================================================= */
1377
1377
 
1378
1378
  body {