magneto365.ui 2.67.0 → 2.68.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.
@@ -0,0 +1,4 @@
1
+ import React, { FC } from 'react';
2
+ import { IContainerContext, IContainerContextProvider } from './container.interface';
3
+ export declare const ContainerContext: React.Context<IContainerContext>;
4
+ export declare const ContainerContextProvider: FC<IContainerContextProvider>;
@@ -0,0 +1,6 @@
1
+ export interface IContainerContext {
2
+ container: HTMLElement | ShadowRoot | null;
3
+ }
4
+ export interface IContainerContextProvider {
5
+ container?: HTMLElement;
6
+ }
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export interface IContextAppProvider {
3
3
  children: React.ReactNode;
4
+ container?: HTMLElement;
4
5
  device?: DeviceType;
5
6
  }
6
7
  export declare type DeviceType = 'mobile' | 'desktop';
@@ -0,0 +1,2 @@
1
+ export declare const isClient: boolean;
2
+ export declare const isServer: boolean;
package/dist/index.d.ts CHANGED
@@ -44,6 +44,7 @@ import { IAlphabetFilter as IAlphabetFilter$1 } from '@components/UI/organism/Al
44
44
 
45
45
  interface IContextAppProvider {
46
46
  children: React.ReactNode;
47
+ container?: HTMLElement;
47
48
  device?: DeviceType;
48
49
  }
49
50
  declare type DeviceType = 'mobile' | 'desktop';
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/W170/talenta.magneto365.ui.git"
6
6
  },
7
- "version": "2.67.0",
7
+ "version": "2.68.0",
8
8
  "description": "Magneto365 UI common components",
9
9
  "scripts": {
10
10
  "lint": "eslint ./src --ext .js,.ts,.jsx,.tsx",