@admin-layout/client 12.0.16-alpha.90 → 12.0.16-alpha.93

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 +1 @@
1
- {"version":3,"file":"useLayoutSettings.d.ts","sourceRoot":"","sources":["../../src/hooks/useLayoutSettings.ts"],"names":[],"mappings":"AAOA,wBAAgB,iBAAiB;;0BAgDV,GAAG,0BAA0B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;EA+DtE"}
1
+ {"version":3,"file":"useLayoutSettings.d.ts","sourceRoot":"","sources":["../../src/hooks/useLayoutSettings.ts"],"names":[],"mappings":"AAOA,wBAAgB,iBAAiB;;0BAgDV,GAAG,0BAA0B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;EA2DtE"}
@@ -36,7 +36,6 @@ import {useParams}from'@remix-run/react';import {useCallback}from'react';import
36
36
  }
37
37
  }, []);
38
38
  const setSettings = useCallback(async (config, currentChangedSetting) => {
39
- console.log('3️⃣ setSetting called', { config, currentChangedSetting });
40
39
  try {
41
40
  // 1. Calculate payload first
42
41
  if (!currentChangedSetting || Object.keys(currentChangedSetting).length === 0) {
@@ -49,12 +48,10 @@ import {useParams}from'@remix-run/react';import {useCallback}from'react';import
49
48
  if (contentWidth !== undefined &&
50
49
  settings.contentWidth !== contentWidth &&
51
50
  typeof window !== 'undefined') {
52
- console.log('Content width changed, triggering resize');
53
51
  window.dispatchEvent(new Event('resize'));
54
52
  }
55
53
  // Only update colorWeak if it changed
56
54
  if (colorWeak !== undefined && settings.colorWeak !== colorWeak) {
57
- console.log('Color weak mode changed');
58
55
  updateColorWeak(!!colorWeak);
59
56
  }
60
57
  // 3. Make API call
@@ -1 +1 @@
1
- {"version":3,"file":"useLayoutSettings.js","sources":["../../src/hooks/useLayoutSettings.ts"],"sourcesContent":[null],"names":[],"mappings":"uMAsHC,SAAA,iBAAA,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"useLayoutSettings.js","sources":["../../src/hooks/useLayoutSettings.ts"],"sourcesContent":[null],"names":[],"mappings":"uMAkHC,SAAA,iBAAA,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/client",
3
- "version": "12.0.16-alpha.90",
3
+ "version": "12.0.16-alpha.93",
4
4
  "description": "Sample client for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -26,7 +26,7 @@
26
26
  "serialize-error": "^8.0.0"
27
27
  },
28
28
  "devDependencies": {
29
- "common": "12.0.16-alpha.87",
29
+ "common": "12.0.16-alpha.91",
30
30
  "rc-menu": "^9.16.1"
31
31
  },
32
32
  "peerDependencies": {
@@ -44,5 +44,5 @@
44
44
  "typescript": {
45
45
  "definition": "lib/index.d.ts"
46
46
  },
47
- "gitHead": "849c3620442e737e42537608d8ce9fae4f4f9b3a"
47
+ "gitHead": "5039204f87401990735e735a0cf9c7dbb053cac9"
48
48
  }