indicator-ui 0.0.144 → 0.0.146

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.
@@ -16,6 +16,6 @@
16
16
 
17
17
  .text {
18
18
  padding: 0 6px;
19
- @include fnt-flex($size: 16, $line-height: 20);
19
+ @include fnt-flex($size: 16, $line-height: 20, $family: $golos-ui);
20
20
  }
21
21
  }
@@ -16,6 +16,6 @@
16
16
 
17
17
  .text {
18
18
  padding: 0 8px;
19
- @include fnt-flex($size: 14, $line-height: 20);
19
+ @include fnt-flex($size: 14, $line-height: 20, $family: $golos-ui);
20
20
  }
21
21
  }
@@ -16,6 +16,6 @@
16
16
 
17
17
  .text {
18
18
  padding: 0 4px;
19
- @include fnt-flex($size: 14, $line-height: 16);
19
+ @include fnt-flex($size: 14, $line-height: 16, $family: $golos-ui);
20
20
  }
21
21
  }
@@ -16,6 +16,6 @@
16
16
 
17
17
  .text {
18
18
  padding: 0 12px;
19
- @include fnt-flex($size: 18, $line-height: 24);
19
+ @include fnt-flex($size: 18, $line-height: 24, $family: $golos-ui);
20
20
  }
21
21
  }
@@ -3,7 +3,7 @@
3
3
  @mixin medium() {
4
4
  // С учетом border
5
5
  padding: 1px 8px;
6
- @include fnt-flex($size: 14, $line-height: 20, $weight: 500);
6
+ @include fnt-flex($size: 14, $line-height: 20, $weight: 500, $family: $golos-ui);
7
7
 
8
8
  .main {
9
9
  gap: 5px;
@@ -3,7 +3,7 @@
3
3
  @mixin small() {
4
4
  // С учетом border
5
5
  padding: 2px 7px;
6
- @include fnt-flex($size: 12, $line-height: 18, $weight: 500);
6
+ @include fnt-flex($size: 12, $line-height: 18, $weight: 500, $family: $golos-ui);
7
7
 
8
8
  .main {
9
9
  gap: 4px;
@@ -1,6 +1,6 @@
1
- import { ReactElement, ReactNode } from "react";
1
+ import { ReactElement } from "react";
2
+ import { ToggleBasePropsType } from "../../../../ui";
2
3
  import { FieldsBasePropsType } from "../../FieldsBase";
3
- export type SwitcherFieldPropsType = FieldsBasePropsType<boolean> & {
4
- children?: ReactNode;
4
+ export type SwitcherFieldPropsType = ToggleBasePropsType & FieldsBasePropsType<boolean> & {
5
5
  switcherWrapper?: ReactElement<any>;
6
6
  };
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { SwitcherFieldPropsType } from "../types";
3
- export default function SwitcherField({ value, onChange, children, disabled, switcherWrapper, }: SwitcherFieldPropsType): React.JSX.Element;
3
+ export default function SwitcherField({ value, onChange, disabled, switcherWrapper, ...props }: SwitcherFieldPropsType): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indicator-ui",
3
- "version": "0.0.144",
3
+ "version": "0.0.146",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/src/index.d.ts",
6
6
  "style": "dist/index.css",