@proyecto-viviana/solidaria-components 0.3.0 → 0.3.1

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/dist/index.jsx CHANGED
@@ -138,7 +138,7 @@ function filterDOMProps(props, options = {}) {
138
138
  function useIsHydrated() {
139
139
  if (isServer) return () => false;
140
140
  const [isHydrated, setIsHydrated] = createSignal(false);
141
- requestAnimationFrame(() => {
141
+ onMount(() => {
142
142
  setIsHydrated(true);
143
143
  });
144
144
  return isHydrated;
@@ -10047,7 +10047,9 @@ function ModalContent(props) {
10047
10047
  isExiting: local.isExiting ?? false
10048
10048
  }));
10049
10049
  const renderProps = useRenderProps({
10050
- children: props.children,
10050
+ get children() {
10051
+ return props.children;
10052
+ },
10051
10053
  class: local.class,
10052
10054
  style: local.style,
10053
10055
  defaultClassName: "solidaria-Modal"
@@ -10267,7 +10269,9 @@ function Popover(props) {
10267
10269
  isExiting: local.isExiting ?? false
10268
10270
  }));
10269
10271
  const renderProps = useRenderProps({
10270
- children: props.children,
10272
+ get children() {
10273
+ return props.children;
10274
+ },
10271
10275
  class: local.class,
10272
10276
  style: local.style,
10273
10277
  defaultClassName: "solidaria-Popover"
@@ -10475,7 +10479,9 @@ function ToastRegion(props) {
10475
10479
  });
10476
10480
  const renderValues = createMemo(() => ({ visibleToasts: () => state()?.visibleToasts() ?? [] }));
10477
10481
  const renderProps = useRenderProps({
10478
- children: props.children,
10482
+ get children() {
10483
+ return props.children;
10484
+ },
10479
10485
  class: local.class,
10480
10486
  style: local.style,
10481
10487
  defaultClassName: "solidaria-ToastRegion"