@selectwin/kit 0.1.260 → 0.1.262

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.
@@ -1,3 +1,9 @@
1
+ /**
2
+ * A largura do celular no kit (0.1.261, num endereço só): a mesma do `@media (max-width: 47.9375em)` do CSS, em que a
3
+ * caixa de entrada vira uma coluna só. As peças com `auto` (o menu de anexar, o compositor em pílula, o enviar redondo)
4
+ * leem esta.
5
+ */
6
+ export declare const SELECT_PHONE_QUERY = "(max-width: 47.9375em)";
1
7
  /**
2
8
  * `true` enquanto a media query casa — e acompanha a mudança (girar o celular, redimensionar).
3
9
  * Fora do navegador (SSR, testes sem `matchMedia`) responde `false`: o layout largo é o padrão.
@@ -1,6 +1,7 @@
1
1
  import { useEffect as e, useState as t } from "react";
2
2
  //#region src/internal/useMatchMedia.ts
3
- function n(n) {
3
+ var n = "(max-width: 47.9375em)";
4
+ function r(n) {
4
5
  let [r, i] = t(() => n && typeof window < "u" && window.matchMedia ? window.matchMedia(n).matches : !1);
5
6
  return e(() => {
6
7
  var e;
@@ -13,6 +14,6 @@ function n(n) {
13
14
  }, [n]), r;
14
15
  }
15
16
  //#endregion
16
- export { n as useMatchMedia };
17
+ export { n as SELECT_PHONE_QUERY, r as useMatchMedia };
17
18
 
18
19
  //# sourceMappingURL=useMatchMedia.js.map