@olenbetong/synergi-react 2.7.1 → 2.8.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.
- package/es/{components → chrome}/AppMenu/AppMenu.css +648 -648
- package/es/{components → chrome}/AppMenu/index.d.ts +1 -1
- package/es/components/PageBanner/index.d.ts +1 -1
- package/es/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/package.json +4 -4
- package/src/{components → chrome}/AppMenu/AppMenu.css +648 -648
- package/src/{components → chrome}/AppMenu/AppMenu.tsx +285 -285
- package/src/{components → chrome}/AppMenu/AppMenuFavoriteButton.tsx +47 -47
- package/src/{components → chrome}/AppMenu/AppMenuHeader.tsx +79 -79
- package/src/{components → chrome}/AppMenu/AppMenuList.tsx +89 -89
- package/src/{components → chrome}/AppMenu/AppMenuRail.tsx +117 -117
- package/src/{components → chrome}/AppMenu/icons.tsx +76 -76
- package/src/{components → chrome}/AppMenu/index.ts +17 -17
- package/src/{components → chrome}/AppMenu/menuEntries.ts +128 -128
- package/src/{components → chrome}/AppMenu/types.ts +45 -45
- package/src/{components → chrome}/AppMenu/useFavorites.ts +40 -40
- package/src/{components → chrome}/AppMenu/useRovingTabIndex.ts +130 -130
- package/src/{components → chrome}/AppShell/index.tsx +287 -287
- package/src/colorScheme.ts +81 -81
- package/src/components/ImageEditor/ImageEditor.tsx +1 -1
- package/src/components/ImageEditor/index.ts +2 -0
- package/src/components/ImageEditor/plugins/zoomPlugin/ZoomControls.tsx +7 -8
- package/src/components/LinkedCardList/index.scss +93 -93
- package/src/components/PageBanner/index.tsx +5 -4
- package/src/components/ProgressBar/index.scss +94 -94
- package/src/elements/ElementDamage/DamageFormButtons.tsx +2 -2
- package/src/elements/ElementDamage/TransportElementSelect.tsx +1 -1
- package/src/elements/index.ts +5 -0
- package/src/index.ts +70 -61
- /package/es/{components → chrome}/AppMenu/AppMenu.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenu.js +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuColorScheme.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuColorScheme.js +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuFavoriteButton.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuFavoriteButton.js +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuHeader.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuHeader.js +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuList.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuList.js +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuRail.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuRail.js +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuToggle.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuToggle.js +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuUserMenu.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/AppMenuUserMenu.js +0 -0
- /package/es/{components → chrome}/AppMenu/developerCategories.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/developerCategories.js +0 -0
- /package/es/{components → chrome}/AppMenu/icons.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/icons.js +0 -0
- /package/es/{components → chrome}/AppMenu/index.js +0 -0
- /package/es/{components → chrome}/AppMenu/menuEntries.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/menuEntries.js +0 -0
- /package/es/{components → chrome}/AppMenu/types.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/types.js +0 -0
- /package/es/{components → chrome}/AppMenu/useFavorites.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/useFavorites.js +0 -0
- /package/es/{components → chrome}/AppMenu/useRovingTabIndex.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/useRovingTabIndex.js +0 -0
- /package/es/{components → chrome}/AppMenu/useServiceWorkerUpdate.d.ts +0 -0
- /package/es/{components → chrome}/AppMenu/useServiceWorkerUpdate.js +0 -0
- /package/es/{components → chrome}/AppShell/index.d.ts +0 -0
- /package/es/{components → chrome}/AppShell/index.js +0 -0
- /package/src/{components → chrome}/AppMenu/AppMenuColorScheme.tsx +0 -0
- /package/src/{components → chrome}/AppMenu/AppMenuToggle.tsx +0 -0
- /package/src/{components → chrome}/AppMenu/AppMenuUserMenu.tsx +0 -0
- /package/src/{components → chrome}/AppMenu/developerCategories.ts +0 -0
- /package/src/{components → chrome}/AppMenu/useServiceWorkerUpdate.ts +0 -0
|
@@ -7,6 +7,6 @@ export { AppMenuRail, type AppMenuRailProps } from "./AppMenuRail.js";
|
|
|
7
7
|
export { AppMenuToggle, type AppMenuToggleProps } from "./AppMenuToggle.js";
|
|
8
8
|
export { AppMenuUserMenu, type AppMenuUser, type AppMenuUserMenuProps, defaultUserMenuItems, } from "./AppMenuUserMenu.js";
|
|
9
9
|
export { createDeveloperCategories, type DeveloperCategoryOptions } from "./developerCategories.js";
|
|
10
|
-
export type { AppMenuArticle } from "./menuEntries.js";
|
|
10
|
+
export type { AppMenuArticle, Selection as AppMenuSelection } from "./menuEntries.js";
|
|
11
11
|
export type { AppMenuCategory, AppMenuLink, AppMenuLinkGroup } from "./types.js";
|
|
12
12
|
export { useServiceWorkerUpdate } from "./useServiceWorkerUpdate.js";
|
|
@@ -11,7 +11,7 @@ export type TabListProps = Pick<React.HTMLProps<HTMLDivElement>, "id" | "classNa
|
|
|
11
11
|
sticky?: boolean;
|
|
12
12
|
};
|
|
13
13
|
export declare function TabList({ as, className, children, sticky, ...other }: TabListProps): React.JSX.Element;
|
|
14
|
-
export type TabProps = Pick<React.HTMLProps<HTMLDivElement>, "id" | "className" | "children"> & {
|
|
14
|
+
export type TabProps = Pick<React.HTMLProps<HTMLDivElement>, "id" | "className" | "children"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "target" | "rel"> & {
|
|
15
15
|
active?: boolean;
|
|
16
16
|
as?: "a" | "li" | "div" | "span";
|
|
17
17
|
};
|
package/es/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AppMenu, type AppMenuArticle, type AppMenuCategory, AppMenuColorScheme, type AppMenuLink, type AppMenuLinkGroup, type AppMenuProps, AppMenuToggle, type AppMenuToggleProps, type AppMenuUser, AppMenuUserMenu, type AppMenuUserMenuProps, createDeveloperCategories, defaultUserMenuItems, type DeveloperCategoryOptions, useServiceWorkerUpdate, } from "./
|
|
2
|
-
export { AppShell, type AppShellProps } from "./
|
|
1
|
+
export { AppMenu, type AppMenuArticle, type AppMenuCategory, AppMenuColorScheme, AppMenuFavoriteButton, type AppMenuFavoriteButtonProps, AppMenuHeader, type AppMenuHeaderProps, type AppMenuLink, type AppMenuLinkGroup, AppMenuList, type AppMenuListProps, type AppMenuProps, AppMenuRail, type AppMenuRailProps, type AppMenuSelection, AppMenuToggle, type AppMenuToggleProps, type AppMenuUser, AppMenuUserMenu, type AppMenuUserMenuProps, createDeveloperCategories, defaultUserMenuItems, type DeveloperCategoryOptions, useServiceWorkerUpdate, } from "./chrome/AppMenu/index.js";
|
|
2
|
+
export { AppShell, type AppShellProps } from "./chrome/AppShell/index.js";
|
|
3
3
|
export { Checkbox, type CheckboxProps } from "./components/Checkbox/index.js";
|
|
4
4
|
export { COLOR_SCHEME_CHANGE_EVENT, type ColorSchemePreference, getColorSchemePreference, setColorSchemePreference, useColorSchemePreference, } from "./colorScheme.js";
|
|
5
5
|
export { CardColumn, CardDetail, CardLabel, CardStep, CardStepList, ColorCard } from "./components/ColorCard/index.js";
|
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AppMenu, AppMenuColorScheme, AppMenuToggle, AppMenuUserMenu, createDeveloperCategories, defaultUserMenuItems, useServiceWorkerUpdate, } from "./
|
|
2
|
-
export { AppShell } from "./
|
|
1
|
+
export { AppMenu, AppMenuColorScheme, AppMenuFavoriteButton, AppMenuHeader, AppMenuList, AppMenuRail, AppMenuToggle, AppMenuUserMenu, createDeveloperCategories, defaultUserMenuItems, useServiceWorkerUpdate, } from "./chrome/AppMenu/index.js";
|
|
2
|
+
export { AppShell } from "./chrome/AppShell/index.js";
|
|
3
3
|
export { Checkbox } from "./components/Checkbox/index.js";
|
|
4
4
|
export { COLOR_SCHEME_CHANGE_EVENT, getColorSchemePreference, setColorSchemePreference, useColorSchemePreference, } from "./colorScheme.js";
|
|
5
5
|
export { CardColumn, CardDetail, CardLabel, CardStep, CardStepList, ColorCard } from "./components/ColorCard/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olenbetong/synergi-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"description": "Standalone React component for SynergiWeb and Partner Portal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"pdf-lib": "^1.17.1",
|
|
45
45
|
"pdfjs-dist": "5.7.284",
|
|
46
46
|
"react-pdf": "^10.4.1",
|
|
47
|
-
"@olenbetong/appframe-react": "2.0.0",
|
|
48
47
|
"@olenbetong/appframe-core": "2.11.10",
|
|
49
|
-
"@olenbetong/appframe-
|
|
50
|
-
"@olenbetong/appframe-
|
|
48
|
+
"@olenbetong/appframe-data": "1.5.0",
|
|
49
|
+
"@olenbetong/appframe-react": "2.0.0",
|
|
50
|
+
"@olenbetong/appframe-mui": "6.6.0"
|
|
51
51
|
},
|
|
52
52
|
"repository": {
|
|
53
53
|
"type": "git",
|