@pepperi-addons/ngx-composite-lib-react 0.5.3 → 0.5.5

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": "@pepperi-addons/ngx-composite-lib-react",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "React wrappers for Pepperi ngx-composite-lib Angular Elements.",
5
5
  "license": "MIT",
6
6
  "author": "Pepperi",
@@ -6,55 +6,40 @@ export const PepGroupButtonsSettings = ({ header, subHeader, groupType, btnsArra
6
6
  const el = ref.current;
7
7
  if (!el)
8
8
  return;
9
- console.log('[REACT DEBUG] Setting Group Buttons properties...');
10
- console.log('[REACT DEBUG] Props received:', { header, subHeader, excludeKeys, groupType, btnsArray, useNone, disabled, dir, titleSize, bold, btnKey });
11
9
  // Set properties in the correct order - excludeKeys must be set before groupType
12
10
  if (header !== undefined) {
13
11
  el.header = header;
14
- console.log('[REACT DEBUG] Set header:', el.header);
15
12
  }
16
13
  if (subHeader !== undefined) {
17
14
  el.subHeader = subHeader;
18
- console.log('[REACT DEBUG] Set subHeader:', el.subHeader);
19
15
  }
20
16
  if (excludeKeys !== undefined) {
21
17
  el.excludeKeys = excludeKeys; // Set excludeKeys FIRST
22
- console.log('[REACT DEBUG] Set excludeKeys:', el.excludeKeys);
23
18
  }
24
19
  if (groupType !== undefined) {
25
20
  el.groupType = groupType; // Then set groupType
26
- console.log('[REACT DEBUG] Set groupType:', el.groupType);
27
21
  }
28
22
  if (btnsArray !== undefined) {
29
23
  el.btnsArray = btnsArray;
30
- console.log('[REACT DEBUG] Set btnsArray:', el.btnsArray);
31
24
  }
32
25
  if (useNone !== undefined) {
33
26
  el.useNone = useNone;
34
- console.log('[REACT DEBUG] Set useNone:', el.useNone);
35
27
  }
36
28
  if (disabled !== undefined) {
37
29
  el.disabled = disabled;
38
- console.log('[REACT DEBUG] Set disabled:', el.disabled);
39
30
  }
40
31
  if (dir !== undefined) {
41
32
  el.dir = dir;
42
- console.log('[REACT DEBUG] Set dir:', el.dir);
43
33
  }
44
34
  if (titleSize !== undefined) {
45
35
  el.titleSize = titleSize;
46
- console.log('[REACT DEBUG] Set titleSize:', el.titleSize);
47
36
  }
48
37
  if (bold !== undefined) {
49
38
  el.bold = bold;
50
- console.log('[REACT DEBUG] Set bold:', el.bold);
51
39
  }
52
40
  if (btnKey !== undefined) {
53
41
  el.btnKey = btnKey;
54
- console.log('[REACT DEBUG] Set btnKey:', el.btnKey);
55
42
  }
56
- console.log('[REACT DEBUG] btnsArray:', el.btnsArray);
57
- console.log('[REACT DEBUG] excludeKeys should trigger automatic arrayMerge via setter');
58
43
  }, [header, subHeader, groupType, btnsArray, excludeKeys, useNone, disabled, dir, titleSize, bold, btnKey]);
59
44
  // Wire outputs (Angular emits custom event name 'btnkeyChange')
60
45
  useEffect(() => {