@admin-layout/tailwind-design-pro 12.0.16-alpha.92 → 12.2.1-alpha.0

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.
Files changed (175) hide show
  1. package/README.md +40 -0
  2. package/lib/components/LanguageMenu/LanguageMenu.d.ts +2 -1
  3. package/lib/components/LanguageMenu/LanguageMenu.d.ts.map +1 -1
  4. package/lib/components/LanguageMenu/LanguageMenu.js +25 -32
  5. package/lib/components/LanguageMenu/LanguageMenu.js.map +1 -1
  6. package/lib/components/Layout/BasicLayout/index.d.ts +1 -1
  7. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
  8. package/lib/components/Layout/BasicLayout/index.js +96 -103
  9. package/lib/components/Layout/BasicLayout/index.js.map +1 -1
  10. package/lib/components/Layout/BasicLayout/utils.d.ts +2 -2
  11. package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -1
  12. package/lib/components/Layout/BasicLayout/utils.js +69 -88
  13. package/lib/components/Layout/BasicLayout/utils.js.map +1 -1
  14. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js +25 -30
  15. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
  16. package/lib/components/Layout/GlobalFooter/Copyright.d.ts +2 -1
  17. package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -1
  18. package/lib/components/Layout/GlobalFooter/Footer.d.ts +2 -1
  19. package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -1
  20. package/lib/components/Layout/GlobalHeader/Header.js +32 -43
  21. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
  22. package/lib/components/Layout/GlobalHeader/MainHeader.js +71 -81
  23. package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -1
  24. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js +26 -30
  25. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
  26. package/lib/components/Layout/GlobalHeader/RightContent.js +25 -29
  27. package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -1
  28. package/lib/components/Layout/GlobalHeader/RightMenu.js +112 -136
  29. package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -1
  30. package/lib/components/Layout/GlobalHeader/SearchBar.js +36 -45
  31. package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -1
  32. package/lib/components/Layout/ProTailwindLayout.js +1 -2
  33. package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
  34. package/lib/components/Layout/Sidebar/BottomMenu.js +148 -184
  35. package/lib/components/Layout/Sidebar/BottomMenu.js.map +1 -1
  36. package/lib/components/Layout/Sidebar/Divider.d.ts +2 -1
  37. package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
  38. package/lib/components/Layout/Sidebar/Divider.js +26 -28
  39. package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
  40. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +1 -1
  41. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -1
  42. package/lib/components/Layout/Sidebar/DynamicIcon.js +10 -11
  43. package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -1
  44. package/lib/components/Layout/Sidebar/MainSidebar.js +75 -97
  45. package/lib/components/Layout/Sidebar/MainSidebar.js.map +1 -1
  46. package/lib/components/Layout/Sidebar/MainSidebarMenu.d.ts +1 -1
  47. package/lib/components/Layout/Sidebar/MainSidebarMenu.d.ts.map +1 -1
  48. package/lib/components/Layout/Sidebar/MainSidebarMenu.js +113 -129
  49. package/lib/components/Layout/Sidebar/MainSidebarMenu.js.map +1 -1
  50. package/lib/components/Layout/Sidebar/PerplexSidebar.js +108 -133
  51. package/lib/components/Layout/Sidebar/PerplexSidebar.js.map +1 -1
  52. package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js +71 -85
  53. package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js.map +1 -1
  54. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
  55. package/lib/components/Layout/TailwindLayout.js +13 -19
  56. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  57. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts +3 -2
  58. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -1
  59. package/lib/components/Layout/slot-fill/AdditionalSettings.js +2 -2
  60. package/lib/components/Layout/slot-fill/AdditionalSettings.js.map +1 -1
  61. package/lib/components/Layout/slot-fill/Footer.d.ts +3 -2
  62. package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
  63. package/lib/components/Layout/slot-fill/Footer.js +2 -2
  64. package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
  65. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts +3 -2
  66. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
  67. package/lib/components/Layout/slot-fill/HeaderNotice.js +2 -2
  68. package/lib/components/Layout/slot-fill/HeaderNotice.js.map +1 -1
  69. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +2 -1
  70. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -1
  71. package/lib/components/Layout/slot-fill/HeaderSearchBar.js +2 -2
  72. package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -1
  73. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +2 -1
  74. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -1
  75. package/lib/components/Layout/slot-fill/HeaderSearchButton.js +2 -2
  76. package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -1
  77. package/lib/components/Layout/slot-fill/Logo.d.ts +3 -2
  78. package/lib/components/Layout/slot-fill/Logo.d.ts.map +1 -1
  79. package/lib/components/Layout/slot-fill/Logo.js +2 -2
  80. package/lib/components/Layout/slot-fill/Logo.js.map +1 -1
  81. package/lib/components/Layout/slot-fill/RightContent.d.ts +2 -1
  82. package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -1
  83. package/lib/components/Layout/slot-fill/RightContent.js +2 -2
  84. package/lib/components/Layout/slot-fill/RightContent.js.map +1 -1
  85. package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts +3 -2
  86. package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts.map +1 -1
  87. package/lib/components/Layout/slot-fill/SideMenuLogo.js +2 -2
  88. package/lib/components/Layout/slot-fill/SideMenuLogo.js.map +1 -1
  89. package/lib/components/SettingDrawer/SettingDrawer.d.ts +2 -1
  90. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  91. package/lib/components/SettingDrawer/SettingDrawer.js +117 -144
  92. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  93. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts +2 -1
  94. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts.map +1 -1
  95. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js +17 -23
  96. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js.map +1 -1
  97. package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts +2 -1
  98. package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts.map +1 -1
  99. package/lib/components/SettingDrawer/components/CheckBoxTheme.js +85 -97
  100. package/lib/components/SettingDrawer/components/CheckBoxTheme.js.map +1 -1
  101. package/lib/components/SettingDrawer/components/DeviceTabs.d.ts +2 -1
  102. package/lib/components/SettingDrawer/components/DeviceTabs.d.ts.map +1 -1
  103. package/lib/components/SettingDrawer/components/DeviceTabs.js +67 -75
  104. package/lib/components/SettingDrawer/components/DeviceTabs.js.map +1 -1
  105. package/lib/components/SettingDrawer/components/InvitationSettings.d.ts +2 -1
  106. package/lib/components/SettingDrawer/components/InvitationSettings.d.ts.map +1 -1
  107. package/lib/components/SettingDrawer/components/InvitationSettings.js +41 -52
  108. package/lib/components/SettingDrawer/components/InvitationSettings.js.map +1 -1
  109. package/lib/components/SettingDrawer/components/LayoutChange.d.ts +2 -1
  110. package/lib/components/SettingDrawer/components/LayoutChange.d.ts.map +1 -1
  111. package/lib/components/SettingDrawer/components/LayoutChange.js +75 -94
  112. package/lib/components/SettingDrawer/components/LayoutChange.js.map +1 -1
  113. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts +2 -1
  114. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts.map +1 -1
  115. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js +50 -63
  116. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js.map +1 -1
  117. package/lib/components/SettingDrawer/components/NavigationsModes.d.ts +2 -1
  118. package/lib/components/SettingDrawer/components/NavigationsModes.d.ts.map +1 -1
  119. package/lib/components/SettingDrawer/components/NavigationsModes.js +272 -290
  120. package/lib/components/SettingDrawer/components/NavigationsModes.js.map +1 -1
  121. package/lib/components/SettingDrawer/components/RegionalSettings.d.ts +2 -1
  122. package/lib/components/SettingDrawer/components/RegionalSettings.d.ts.map +1 -1
  123. package/lib/components/SettingDrawer/components/RegionalSettings.js +437 -535
  124. package/lib/components/SettingDrawer/components/RegionalSettings.js.map +1 -1
  125. package/lib/components/SettingDrawer/components/SettingsActions.d.ts +2 -1
  126. package/lib/components/SettingDrawer/components/SettingsActions.d.ts.map +1 -1
  127. package/lib/components/SettingDrawer/components/SettingsActions.js +29 -56
  128. package/lib/components/SettingDrawer/components/SettingsActions.js.map +1 -1
  129. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts +2 -1
  130. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts.map +1 -1
  131. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js +13 -16
  132. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js.map +1 -1
  133. package/lib/components/SettingDrawer/components/Switch.d.ts +2 -1
  134. package/lib/components/SettingDrawer/components/Switch.d.ts.map +1 -1
  135. package/lib/components/SettingDrawer/components/Switch.js +8 -10
  136. package/lib/components/SettingDrawer/components/Switch.js.map +1 -1
  137. package/lib/components/SettingDrawer/components/ThemeColor.d.ts +2 -1
  138. package/lib/components/SettingDrawer/components/ThemeColor.d.ts.map +1 -1
  139. package/lib/components/SettingDrawer/components/ThemeColor.js +24 -26
  140. package/lib/components/SettingDrawer/components/ThemeColor.js.map +1 -1
  141. package/lib/components/SettingDrawer/components/ThemeSelector.d.ts +2 -1
  142. package/lib/components/SettingDrawer/components/ThemeSelector.d.ts.map +1 -1
  143. package/lib/components/SettingDrawer/components/ThemeSelector.js +11 -13
  144. package/lib/components/SettingDrawer/components/ThemeSelector.js.map +1 -1
  145. package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts +1 -0
  146. package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts.map +1 -1
  147. package/lib/components/SettingDrawer/components/WebFontsSelector.js +17 -19
  148. package/lib/components/SettingDrawer/components/WebFontsSelector.js.map +1 -1
  149. package/lib/components/SettingDrawer/hooks/useSettingsOperations.d.ts.map +1 -1
  150. package/lib/components/SettingDrawer/hooks/useSettingsOperations.js +0 -4
  151. package/lib/components/SettingDrawer/hooks/useSettingsOperations.js.map +1 -1
  152. package/lib/components/SettingDrawer/utils/transformers.d.ts.map +1 -1
  153. package/lib/components/SettingDrawer/utils/transformers.js +0 -3
  154. package/lib/components/SettingDrawer/utils/transformers.js.map +1 -1
  155. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +3 -3
  156. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  157. package/lib/helpers/DynamicIcon.d.ts +1 -1
  158. package/lib/helpers/DynamicIcon.d.ts.map +1 -1
  159. package/lib/helpers/DynamicIcon.js +16 -17
  160. package/lib/helpers/DynamicIcon.js.map +1 -1
  161. package/lib/machines/settingsMachine.d.ts.map +1 -1
  162. package/lib/machines/settingsMachine.js +0 -6
  163. package/lib/machines/settingsMachine.js.map +1 -1
  164. package/lib/utils/__tests__/analytics-utils.test.d.ts +2 -0
  165. package/lib/utils/__tests__/analytics-utils.test.d.ts.map +1 -0
  166. package/lib/utils/__tests__/menu.test.d.ts +2 -0
  167. package/lib/utils/__tests__/menu.test.d.ts.map +1 -0
  168. package/lib/utils/__tests__/selectors.test.d.ts +2 -0
  169. package/lib/utils/__tests__/selectors.test.d.ts.map +1 -0
  170. package/lib/utils/__tests__/settingsMachine.test.d.ts.map +1 -0
  171. package/lib/utils/__tests__/settingsUtils.test.d.ts +2 -0
  172. package/lib/utils/__tests__/settingsUtils.test.d.ts.map +1 -0
  173. package/package.json +6 -6
  174. package/lib/machines/settingsMachine.test.d.ts.map +0 -1
  175. /package/lib/{machines → utils/__tests__}/settingsMachine.test.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"DynamicIcon.d.ts","sourceRoot":"","sources":["../../src/helpers/DynamicIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,UAAU,qBAAqB;IAC3B,IAAI,EAAE,GAAG,CAAC;IACV,SAAS,CAAC,EAAE;QACR,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACtB,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAyCvD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,SAAI,4CAQrC,CAAC"}
1
+ {"version":3,"file":"DynamicIcon.d.ts","sourceRoot":"","sources":["../../src/helpers/DynamicIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,UAAU,qBAAqB;IAC3B,IAAI,EAAE,GAAG,CAAC;IACV,SAAS,CAAC,EAAE;QACR,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACtB,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAyCvD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,SAAI,sBAQrC,CAAC"}
@@ -1,4 +1,4 @@
1
- import {jsx}from'react/jsx-runtime';import*as React from'react';import {useState,useEffect}from'react';import selectiveIcons from'@app/selectiveIcons';const DynamicIcon = React.memo(({
1
+ import*as React from'react';import {useState,useEffect}from'react';import selectiveIcons from'@app/selectiveIcons';const DynamicIcon = React.memo(({
2
2
  icon,
3
3
  iconStyle,
4
4
  ...props
@@ -20,29 +20,28 @@ import {jsx}from'react/jsx-runtime';import*as React from'react';import {useState
20
20
  loadIcon();
21
21
  }, [icon]);
22
22
  if (!IconComponent) return null;
23
- return jsx("div", {
24
- className: "m-0 flex",
25
- children: jsx(IconComponent, {
26
- className: "textCurrent",
27
- style: {
28
- color: iconStyle?.iconColor,
29
- stroke: iconStyle?.iconColor,
30
- width: iconStyle?.w || '16px',
31
- height: iconStyle?.h || '16px',
32
- ...props.style
33
- },
34
- ...props
35
- })
36
- });
23
+ return React.createElement("div", {
24
+ className: "m-0 flex"
25
+ }, React.createElement(IconComponent, {
26
+ className: "textCurrent",
27
+ style: {
28
+ color: iconStyle?.iconColor,
29
+ stroke: iconStyle?.iconColor,
30
+ width: iconStyle?.w || '16px',
31
+ height: iconStyle?.h || '16px',
32
+ ...props.style
33
+ },
34
+ ...props
35
+ }));
37
36
  }, (prevProps, nextProps) => prevProps.icon === nextProps.icon && prevProps.iconStyle?.iconColor === nextProps.iconStyle?.iconColor);
38
37
  const renderDynamicIcon = icon => {
39
38
  if (typeof icon === 'object') {
40
- return jsx(DynamicIcon, {
39
+ return React.createElement(DynamicIcon, {
41
40
  icon: icon.name,
42
41
  iconStyle: icon.style
43
42
  });
44
43
  } else if (typeof icon === 'string') {
45
- return jsx(DynamicIcon, {
44
+ return React.createElement(DynamicIcon, {
46
45
  icon: icon
47
46
  });
48
47
  } else {
@@ -1 +1 @@
1
- {"version":3,"file":"DynamicIcon.js","sources":["../../src/helpers/DynamicIcon.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"uJAgBO,MAAM,WAAW,GAAoC,KAAK,CAAC,IAAI,CAClE,CAAC;MACG;WACA;;AAEQ,CAAA,KAAA;sBACA,EAAY,gBAAA,CAAA,GAAA,QAAA,CAAA,IAAA,CAAA;AACP,EAAA,SAAA,CAAA,MAAA;AACG,IAAA,MAAA,QAAA,SAAW;wBACP,GAAA,cAAoB,CAAE,IAAC,CAAA;kBAC1B,CAAA,IAAA,CAAA,MAAA,IAAA;yBAAO,CAAA,OAAA,KAAA,QAAA,EAAA;0BACJ,CAAA,MAAA,OAAoB,YAAU,CAAA,CAAA;;AAEtC,UAAA,gBAAE,CAAA,MAAA,MAAA,CAAA,OAAA,CAAA;AACD,QAAA;kBACG,IAAA;AACJ,QAAA,gBAAG,CAAA,IAAA,CAAA;AACX,MAAA,CAAA,CAAA;AACA,IAAA,CAAA;AACJ,IAAA,QAAQ,EAAE;AAEV,EAAA,CAAA,EAAA,CAAA,IAAK,CAAA,CAAA;AAAe,EAAA,IAAA,CAAA,aAAY,EAAA,OAAA,IAAA;AAEhC,EAAA,OAAAA,GACI,CAAA,KAAA,EAAA;yBAImB;iBACP,CAAA,aAAQ,EAAS;AACjB,MAAA,SAAA,EAAA,aAAO;AACP,MAAA,KAAA,EAAA;wBACQ,EAAC,SAAK;AACjB,QAAA,MAAA,EAAA,SACQ,EACX,SAER;AACN,QACC,KAAS,EAAE,SAAS,EAAE,CAAA,IACnB,MAAA;AAGR,QAAO,MAAM,EAAA,SAAA,EAAA,CAAA,UAAyB;AAClC,QAAI,GAAA,KAAO,CAAA;AACP,OAAA;MACH,GAAA;A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SAAS;uBACd,EAAM,SAAK;AACjB,MAAA,KAAA,EAAA,SACG,EAAK,CAAA,IAGnB,MAAA;AACN,MACC,MAAA,EAAS,SAAE,EAAS,CAAE,IACnB,MAAA;AAGR,MAAM,GAAC,KAAM,CAAA;AACT,KAAA;AACI,IAAA,GAAA;IACJ,CAAC;AAAM,CAAA,EAAA,CAAA,SAAI,EAAA,SAAW,KAAK,UAAU,IAAC,KAAA,SAAA,CAAA,IAAA,IAAA,SAAA,CAAA,SAAA,EAAA,SAAA,KAAA,SAAA,CAAA,SAAA,EAAA,SAAA;AAClC,MAAA,wBAAQ,IAAA;MACX,OAAA,IAAA,KAAA,QAAA,EAAA;WAAO,KAAA,CAAA,aAAA,CAAA,WAAA,EAAA;AACJ,MAAA,IAAA,EAAA,SAAY;MACf,SAAA,EAAA,IAAA,CAAA;AACL,KAAE,CAAA;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"settingsMachine.d.ts","sourceRoot":"","sources":["../../src/machines/settingsMachine.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAoC,MAAM,SAAS,CAAC;AAE1F;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,eAAO,MAAM,eAAe;cAMN,GAAG;mBACE,MAAM;mBACN,MAAM;sEAkL/B,CAAC"}
1
+ {"version":3,"file":"settingsMachine.d.ts","sourceRoot":"","sources":["../../src/machines/settingsMachine.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAoC,MAAM,SAAS,CAAC;AAE1F;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,eAAO,MAAM,eAAe;cAMN,GAAG;mBACE,MAAM;mBACN,MAAM;sEA0K/B,CAAC"}
@@ -64,7 +64,6 @@ const settingsMachine = createMachine({
64
64
  event
65
65
  }) => {
66
66
  if (!event.value) return context;
67
- console.log('1️⃣ UISETTING_UPDATE state trigger:', event);
68
67
  // Clone context to avoid mutations
69
68
  const newContext = cloneDeep(context);
70
69
  // 1. Extract the configuration model from the new value
@@ -93,7 +92,6 @@ const settingsMachine = createMachine({
93
92
  }) => {
94
93
  const routePath = event.pathname || '/';
95
94
  const routePattern = event.routePattern;
96
- console.log('🔧 ROUTE_CHANGE to:', routePattern);
97
95
  // Clone context to avoid mutations
98
96
  const newContext = cloneDeep(context);
99
97
  // Update internal route and route pattern
@@ -129,7 +127,6 @@ const settingsMachine = createMachine({
129
127
  actions: [assign(({
130
128
  context
131
129
  }) => {
132
- console.log('1️⃣ UISETTING_RESET state trigger');
133
130
  const newContext = cloneDeep(context);
134
131
  // Reset public state
135
132
  newContext.public.components = [];
@@ -143,7 +140,6 @@ const settingsMachine = createMachine({
143
140
  actions: [assign(({
144
141
  context
145
142
  }) => {
146
- console.log('1️⃣ UISETTING_RESET_CHANGED_SETTINGS state trigger');
147
143
  const newContext = cloneDeep(context);
148
144
  newContext.internal.changedSettings = {};
149
145
  return newContext;
@@ -154,10 +150,8 @@ const settingsMachine = createMachine({
154
150
  context,
155
151
  event
156
152
  }) => {
157
- console.log('1️⃣ UISETTING_UPDATE_DEVICE_TYPE state trigger: ', event);
158
153
  const deviceType = event.deviceType || 'desktop';
159
154
  if (context.internal.deviceType === deviceType) {
160
- console.log('Device type unchanged');
161
155
  return context;
162
156
  }
163
157
  const newContext = cloneDeep(context);
@@ -1 +1 @@
1
- {"version":3,"file":"settingsMachine.js","sources":["../../src/machines/settingsMachine.ts"],"sourcesContent":[null],"names":[],"mappings":"mJAKA;;;;;;;;;;;;;;;;;;;;;AAqBG;AAEI,MAAM,eAAe,GAAG,aAAa,CAAC;AACzC,EAAA,EAAA,EAAE,UAAE;AACJ,EAAA,KAAA,EAAK,EAAE;AASP,EAAA,OAAA,EAAO,MAAE;AACT,EAAA,OAAA,EAAO;AACH,IAAA;QAEA;UACA,WAAa,GAAE,KAAA,EAAA,QAAgB,IAAA,EAAA;;UAG/B;WAEA,EAAA;AACA,KAAA,GAAA,6BAAuB,CAAA,WAAY,CA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A,UAAA;AACJ;AACJ,YAAA,MAAA,eAAA,GAAA,OAAA,CAAA,QAAA,CAAA,YAAA,IAAA,OAAA,CAAA,QAAA,CAAA,YAAA;AACJ,YAAA,MAAA,aAAA,GAAA,OAAA,CAAA,QAAA,CAAA,WAAA,CAAA,QAAA,CAAA,CAAA,eAAA,EAAA,UAAA,CAAA,EAAA;AACJ,cAAE,MAAA,EAAA;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=analytics-utils.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytics-utils.test.d.ts","sourceRoot":"","sources":["../../../src/utils/__tests__/analytics-utils.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=menu.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.test.d.ts","sourceRoot":"","sources":["../../../src/utils/__tests__/menu.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=selectors.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectors.test.d.ts","sourceRoot":"","sources":["../../../src/utils/__tests__/selectors.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settingsMachine.test.d.ts","sourceRoot":"","sources":["../../../src/utils/__tests__/settingsMachine.test.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=settingsUtils.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settingsUtils.test.d.ts","sourceRoot":"","sources":["../../../src/utils/__tests__/settingsUtils.test.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/tailwind-design-pro",
3
- "version": "12.0.16-alpha.92",
3
+ "version": "12.2.1-alpha.0",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -21,15 +21,15 @@
21
21
  "watch": "yarn build:lib:watch"
22
22
  },
23
23
  "dependencies": {
24
- "@admin-layout/assets": "12.0.16-alpha.74",
25
- "@admin-layout/client": "12.0.16-alpha.91",
26
- "@admin-layout/tailwind-ui": "12.0.16-alpha.91",
24
+ "@admin-layout/assets": "12.2.1-alpha.0",
25
+ "@admin-layout/client": "12.2.1-alpha.0",
26
+ "@admin-layout/tailwind-ui": "12.2.1-alpha.0",
27
27
  "react-favicon": "^0.0.23",
28
28
  "react-intl": "^6.1.1",
29
29
  "react-responsive": "^10.0.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@adminide-stack/extension-api": "^12.0.4-alpha.492",
32
+ "@adminide-stack/extension-api": "^13.0.1-alpha.1",
33
33
  "@tailwindcss/aspect-ratio": "^0.4.2",
34
34
  "@tailwindcss/forms": "^0.5.4",
35
35
  "@tailwindcss/typography": "^0.5.9",
@@ -53,5 +53,5 @@
53
53
  "typescript": {
54
54
  "definition": "lib/index.d.ts"
55
55
  },
56
- "gitHead": "58485a4d482912f32e160120a26ed34c028b452e"
56
+ "gitHead": "12c777dbbb799cf12206b2c6d89fd8fc0e671efb"
57
57
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"settingsMachine.test.d.ts","sourceRoot":"","sources":["../../src/machines/settingsMachine.test.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC"}