mayak-common-library 0.0.228 → 0.0.229

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/dist/index.d.mts CHANGED
@@ -41,7 +41,7 @@ interface LocaleSwitcherProps {
41
41
  defLocale: string;
42
42
  }
43
43
  type Site = 'kyiv' | 'dubai';
44
- type TitlePosition$1 = 'center' | 'left';
44
+ type TitlePosition = 'center' | 'left';
45
45
 
46
46
  interface IWorker$1 {
47
47
  imageUrl?: string;
@@ -154,7 +154,7 @@ interface IArticlesBlock {
154
154
  title: string;
155
155
  classes?: string;
156
156
  button?: boolean;
157
- titlePosition?: TitlePosition$1;
157
+ titlePosition?: TitlePosition;
158
158
  articles?: IArticle[];
159
159
  href: string;
160
160
  }
@@ -607,11 +607,9 @@ declare function TextBlock({ classes, text, title }: ITextBlock): react_jsx_runt
607
607
 
608
608
  declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
609
609
 
610
- type TitlePosition = 'center' | 'left';
611
-
612
610
  interface ITitleBlock extends TypographyProps {
613
611
  title: string;
614
- titlePosition?: TitlePosition;
612
+ titlePosition?: 'center' | 'left';
615
613
  classes?: string;
616
614
  }
617
615
  declare function TitleBlock(props: ITitleBlock): react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -41,7 +41,7 @@ interface LocaleSwitcherProps {
41
41
  defLocale: string;
42
42
  }
43
43
  type Site = 'kyiv' | 'dubai';
44
- type TitlePosition$1 = 'center' | 'left';
44
+ type TitlePosition = 'center' | 'left';
45
45
 
46
46
  interface IWorker$1 {
47
47
  imageUrl?: string;
@@ -154,7 +154,7 @@ interface IArticlesBlock {
154
154
  title: string;
155
155
  classes?: string;
156
156
  button?: boolean;
157
- titlePosition?: TitlePosition$1;
157
+ titlePosition?: TitlePosition;
158
158
  articles?: IArticle[];
159
159
  href: string;
160
160
  }
@@ -607,11 +607,9 @@ declare function TextBlock({ classes, text, title }: ITextBlock): react_jsx_runt
607
607
 
608
608
  declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
609
609
 
610
- type TitlePosition = 'center' | 'left';
611
-
612
610
  interface ITitleBlock extends TypographyProps {
613
611
  title: string;
614
- titlePosition?: TitlePosition;
612
+ titlePosition?: 'center' | 'left';
615
613
  classes?: string;
616
614
  }
617
615
  declare function TitleBlock(props: ITitleBlock): react_jsx_runtime.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayak-common-library",
3
- "version": "0.0.228",
3
+ "version": "0.0.229",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/styles/assets.ts CHANGED
@@ -1,5 +1,3 @@
1
- export type TitlePosition = 'center' | 'left'
2
-
3
1
  export const CONTAINER_WIDTH = 'lg'
4
2
 
5
3
  export const WINDOW_SIZE = {