@cntrl-site/components 1.0.5 → 1.0.6-alpha.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.
@@ -16,7 +16,7 @@ type FieldConfig = {
16
16
  };
17
17
  type OnelinerColorKeys = 'strokeColor' | 'inputColor' | 'placeholderColor' | 'buttonColor' | 'inputTextColor' | 'buttonTextColor' | 'successColor' | 'errorColor';
18
18
  type StateColorOverrides = Partial<Record<OnelinerColorKeys, string>>;
19
- export type OnelinerFormButtonContent = {
19
+ export type OnelinerFormButtonIcon = {
20
20
  mode?: 'On' | 'Off';
21
21
  icon?: string | null;
22
22
  };
@@ -24,7 +24,8 @@ export type OnelinerFormSettings = {
24
24
  fields: FieldConfig[];
25
25
  fieldsToShow: number;
26
26
  buttonLabel?: string | null;
27
- buttonContent?: OnelinerFormButtonContent | null;
27
+ buttonIcon?: OnelinerFormButtonIcon | null;
28
+ iconMaxWidth?: number;
28
29
  fontFamily?: string;
29
30
  inputFontSettings?: {
30
31
  fontWeight: number;
@@ -17,6 +17,12 @@ export declare const OnelinerFormComponent: {
17
17
  width: number;
18
18
  height: number;
19
19
  };
20
+ assetsPaths: {
21
+ content: never[];
22
+ parameters: {
23
+ path: string;
24
+ }[];
25
+ };
20
26
  schema: ComponentSchemaV1;
21
27
  sourceCode: string;
22
28
  };
@@ -1,9 +1,10 @@
1
- import { FC } from 'react';
1
+ import { default as React, FC } from 'react';
2
2
  interface SvgImageProps {
3
3
  url: string;
4
4
  fill?: string;
5
5
  hoverFill?: string;
6
6
  className?: string;
7
+ style?: React.CSSProperties;
7
8
  }
8
9
  export declare const SvgImage: FC<SvgImageProps>;
9
10
  export {};