responsive-system 1.4.1 → 1.4.2

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": "responsive-system",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Sistema de layout responsivo con auto-scaling para Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/responsive-system.cjs",
@@ -685,7 +685,7 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
685
685
  import { useResponsive } from '../hooks'
686
686
 
687
687
  function HomePage() {
688
- const { breakpoint, isMobile } = useResponsiveLayout()
688
+ const { breakpoint, isMobile, layout } = useResponsiveLayout()
689
689
  const responsive = useResponsive()
690
690
 
691
691
  return (
@@ -752,7 +752,7 @@ function HomePage() {
752
752
  para configuración manual cuando lo necesites.
753
753
  </p>
754
754
  <p>
755
- <strong className="text-gray-900">Layout actual:</strong> <span className="capitalize">{selectedLayout}</span>
755
+ <strong className="text-gray-900">Layout actual:</strong> <span className="capitalize">{layout.current}</span>
756
756
  </p>
757
757
  </div>
758
758
  </div>