@kbach/react 0.6.41 → 0.6.43

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.
@@ -26,7 +26,7 @@ import {
26
26
  transformToWebProps,
27
27
  useConditionalGlobalDarkMode,
28
28
  useConditionalWidth
29
- } from "./chunk-PTOTQ6A2.mjs";
29
+ } from "./chunk-35JCNDLF.mjs";
30
30
 
31
31
  // src/jsx-runtime.tsx
32
32
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
@@ -3579,9 +3579,9 @@ function onConfigChange(listener) {
3579
3579
  return () => configStore.listeners.delete(listener);
3580
3580
  }
3581
3581
  function updateConfig(userConfig) {
3582
+ clearCache();
3582
3583
  configStore.resolved = buildConfig(userConfig);
3583
3584
  configStore._src = userConfig;
3584
- clearCache();
3585
3585
  for (const listener of configStore.listeners) {
3586
3586
  listener(configStore.resolved);
3587
3587
  }
package/dist/index.mjs CHANGED
@@ -48,7 +48,7 @@ import {
48
48
  useGlobalDarkMode,
49
49
  useGlobalWidth,
50
50
  useSyncExternalStore
51
- } from "./chunk-PTOTQ6A2.mjs";
51
+ } from "./chunk-35JCNDLF.mjs";
52
52
 
53
53
  // src/context.tsx
54
54
  import { createContext, useContext } from "react";
@@ -3,8 +3,8 @@ import {
3
3
  Fragment,
4
4
  jsx,
5
5
  jsxs
6
- } from "./chunk-LM3OWOK2.mjs";
7
- import "./chunk-PTOTQ6A2.mjs";
6
+ } from "./chunk-SKXO5XEY.mjs";
7
+ import "./chunk-35JCNDLF.mjs";
8
8
 
9
9
  // src/jsx-dev-runtime.tsx
10
10
  function jsxDEV(type, props, key, isStaticChildren, source, self) {
@@ -4,10 +4,10 @@ import {
4
4
  _invalidateDefaultFontCache,
5
5
  jsx,
6
6
  jsxs
7
- } from "./chunk-LM3OWOK2.mjs";
7
+ } from "./chunk-SKXO5XEY.mjs";
8
8
  import {
9
9
  registerWebElement
10
- } from "./chunk-PTOTQ6A2.mjs";
10
+ } from "./chunk-35JCNDLF.mjs";
11
11
  export {
12
12
  Fragment,
13
13
  _invalidateDefaultFontCache,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kbach/react",
3
- "version": "0.6.41",
3
+ "version": "0.6.43",
4
4
  "description": "React / React Native components and hooks for the Kbach framework",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -3481,9 +3481,9 @@ function onConfigChange(listener) {
3481
3481
  return () => configStore.listeners.delete(listener);
3482
3482
  }
3483
3483
  function updateConfig(userConfig) {
3484
+ clearCache();
3484
3485
  configStore.resolved = buildConfig(userConfig);
3485
3486
  configStore._src = userConfig;
3486
- clearCache();
3487
3487
  for (const listener of configStore.listeners) {
3488
3488
  listener(configStore.resolved);
3489
3489
  }