@abpjs/theme-basic 2.7.0 → 2.9.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.
@@ -3,12 +3,11 @@ import { ABP } from '@abpjs/core';
3
3
  /**
4
4
  * Props for the RoutesComponent.
5
5
  * @since 2.7.0
6
+ * @updated 2.9.0 - Removed isDropdownChildDynamic prop
6
7
  */
7
8
  export interface RoutesComponentProps {
8
9
  /** Whether the screen is small (mobile) */
9
10
  smallScreen?: boolean;
10
- /** Whether to use dynamic dropdown positioning for children */
11
- isDropdownChildDynamic?: boolean;
12
11
  /** Default icon for routes without specific icons */
13
12
  defaultIcon?: ReactNode;
14
13
  /** Custom routes to display (overrides config routes) */
@@ -36,5 +35,5 @@ export interface RoutesComponentProps {
36
35
  * <RoutesComponent routes={customRoutes} />
37
36
  * ```
38
37
  */
39
- export declare function RoutesComponent({ smallScreen, isDropdownChildDynamic, defaultIcon, routes: customRoutes, }: RoutesComponentProps): React.ReactElement;
38
+ export declare function RoutesComponent({ smallScreen, defaultIcon, routes: customRoutes, }: RoutesComponentProps): React.ReactElement;
40
39
  export default RoutesComponent;
package/dist/index.d.ts CHANGED
@@ -2,10 +2,17 @@
2
2
  * @abpjs/theme-basic
3
3
  *
4
4
  * ABP Framework Theme Basic components for React.
5
- * Translated from @abp/ng.theme.basic v2.7.0
5
+ * Translated from @abp/ng.theme.basic v2.9.0
6
6
  *
7
7
  * This package provides the basic theme layout components for ABP React applications.
8
8
  *
9
+ * Changes in v2.9.0:
10
+ * - Removed isDropdownChildDynamic from ApplicationLayoutComponent
11
+ * - Removed isDropdownChildDynamic and openChange from RoutesComponent
12
+ * - Angular: Added RTL support styles for dropdown menus (already supported via Chakra UI)
13
+ * - Angular: Changed media query breakpoint from 768px to 992px (uses Chakra breakpoints)
14
+ * - Dependency update to @abp/ng.theme.shared v2.9.0
15
+ *
9
16
  * Changes in v2.7.0:
10
17
  * - Added eThemeBasicComponents enum for component replacement keys
11
18
  * - Added eNavigationElementNames enum for built-in navigation element names
@@ -27,7 +34,7 @@
27
34
  * - Dependency update to @abp/ng.theme.shared v2.2.0
28
35
  * - No functional code changes
29
36
  *
30
- * @version 2.7.0
37
+ * @version 2.9.0
31
38
  * @since 2.0.0 - Removed legacy .abp-confirm styles (no impact on React - we use Chakra UI)
32
39
  * @since 2.1.0 - Angular: OAuthService replaced with AuthService (already using useAuth in React)
33
40
  * - Angular: Added styles for loading, modal-backdrop, confirmation (handled by Chakra UI)
package/dist/index.js CHANGED
@@ -1098,7 +1098,6 @@ function getVisibleRoutes2(routes) {
1098
1098
  }
1099
1099
  function RoutesComponent({
1100
1100
  smallScreen = false,
1101
- isDropdownChildDynamic = false,
1102
1101
  defaultIcon,
1103
1102
  routes: customRoutes
1104
1103
  }) {
package/dist/index.mjs CHANGED
@@ -1041,7 +1041,6 @@ function getVisibleRoutes2(routes) {
1041
1041
  }
1042
1042
  function RoutesComponent({
1043
1043
  smallScreen = false,
1044
- isDropdownChildDynamic = false,
1045
1044
  defaultIcon,
1046
1045
  routes: customRoutes
1047
1046
  }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abpjs/theme-basic",
3
- "version": "2.7.0",
3
+ "version": "2.9.0",
4
4
  "description": "ABP Framework Theme Basic components for React - translated from @abp/ng.theme.basic",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -27,11 +27,11 @@
27
27
  "lucide-react": "^0.400.0",
28
28
  "react-hook-form": "^7.48.0",
29
29
  "react-icons": "^5.0.0",
30
- "@abpjs/core": "2.7.0",
31
- "@abpjs/theme-shared": "2.7.0"
30
+ "@abpjs/core": "2.9.0",
31
+ "@abpjs/theme-shared": "2.9.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@abp/ng.theme.basic": "2.7.0",
34
+ "@abp/ng.theme.basic": "2.9.0",
35
35
  "@testing-library/jest-dom": "^6.6.3",
36
36
  "@testing-library/react": "^16.1.0",
37
37
  "@vitest/coverage-v8": "^3.2.0",