@betorigami/game-ui-shared 2.1.0 → 3.0.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/README.md +1 -1
- package/dist/components/shared/GameProviderWrapper.d.ts +5 -4
- package/dist/components/shared/context/slices/layout.context.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1700 -1705
- package/dist/shared/constants.d.ts +1 -0
- package/dist/shared/container-queries.styles.d.ts +3 -0
- package/dist/utils/game-layout-style.d.ts +2 -2
- package/package.json +1 -1
- package/dist/components/shared/context/desktop-attribute.d.ts +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LayoutContextType } from '../components/shared/context/slices/layout.context';
|
|
2
2
|
/**
|
|
3
|
-
* Calculates the game layout style based on
|
|
4
|
-
* @param layout - The layout context containing the scale and isDesktop properties
|
|
3
|
+
* Calculates the game layout style based on the layout context
|
|
4
|
+
* @param layout - The layout context containing the client size, scale and isDesktop properties
|
|
5
5
|
* @returns The calculated CSS style string for the game layout
|
|
6
6
|
*/
|
|
7
7
|
export declare function calculateGameLayoutStyle(layout: LayoutContextType): string;
|
package/package.json
CHANGED