@salutejs/plasma-new-hope 0.69.1-canary.1168.8569272327.0 → 0.70.0-canary.1155.8567113729.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/package.json +4 -4
  2. package/styled-components/cjs/examples/plasma_b2c/components/Chip/Chip.config.js +2 -2
  3. package/styled-components/cjs/examples/plasma_web/components/Chip/Chip.config.js +2 -2
  4. package/styled-components/cjs/examples/themes/plasma_b2c.module.css +293 -878
  5. package/styled-components/cjs/examples/themes/plasma_web.module.css +293 -878
  6. package/styled-components/cjs/examples/themes/sds_engineer.module.css +2 -42
  7. package/styled-components/es/examples/plasma_b2c/components/Chip/Chip.config.js +2 -2
  8. package/styled-components/es/examples/plasma_web/components/Chip/Chip.config.js +2 -2
  9. package/styled-components/es/examples/themes/plasma_b2c.module.css +293 -878
  10. package/styled-components/es/examples/themes/plasma_web.module.css +293 -878
  11. package/styled-components/es/examples/themes/sds_engineer.module.css +2 -42
  12. package/types/components/Chip/Chip.d.ts +2 -26
  13. package/types/components/Chip/Chip.d.ts.map +1 -1
  14. package/types/components/Chip/Chip.types.d.ts +5 -6
  15. package/types/components/Chip/Chip.types.d.ts.map +1 -1
  16. package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts +1 -13
  17. package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts.map +1 -1
  18. package/types/components/Indicator/Indicator.d.ts +2 -2
  19. package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +1 -13
  20. package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +1 -1
  21. package/types/examples/plasma_b2c/components/Chip/Chip.config.d.ts +1 -1
  22. package/types/examples/plasma_b2c/components/Chip/Chip.d.ts +2 -14
  23. package/types/examples/plasma_b2c/components/Chip/Chip.d.ts.map +1 -1
  24. package/types/examples/plasma_b2c/components/Indicator/Indicator.d.ts +2 -2
  25. package/types/examples/plasma_web/components/Chip/Chip.config.d.ts +1 -1
  26. package/types/examples/plasma_web/components/Chip/Chip.d.ts +2 -14
  27. package/types/examples/plasma_web/components/Chip/Chip.d.ts.map +1 -1
  28. package/types/examples/plasma_web/components/Indicator/Indicator.d.ts +2 -2
  29. package/types/examples/sds_engineer/components/Chip/Chip.d.ts +1 -13
  30. package/types/examples/sds_engineer/components/Chip/Chip.d.ts.map +1 -1
@@ -59,6 +59,7 @@
59
59
  /* добавлены вручную */
60
60
  --surface-accent-hover: #1383cf80;
61
61
  /* добавлены вручную */
62
+ --surface-accent-active: #045891;
62
63
  --surface-accent-gradient: linear-gradient(135deg, black 0%, #FFFFFF 100%);
63
64
  --surface-positive: #1A9E32;
64
65
  --surface-warning: #FA5F05;
@@ -126,27 +127,6 @@
126
127
  --inverse-background-primary: #FFFFFF;
127
128
  --inverse-background-secondary: #FFFFFF;
128
129
  --inverse-background-tertiary: #FFFFFF;
129
- --text-primary-hover: #17171793;
130
- --text-primary-active: #171717C4;
131
- --surface-solid-default-hover: #0D0D0DFF;
132
- --surface-solid-default-active: #030303FF;
133
- --surface-accent-hover: #0C8ADFFF;
134
- --surface-accent-active: #0A78C2FF;
135
- --surface-positive-hover: #1DAF37FF;
136
- --surface-positive-active: #18952FFF;
137
- --surface-warning-hover: #FB7223FF;
138
- --surface-warning-active: #F05B05FF;
139
- --surface-negative-hover: #EA1A2FFF;
140
- --surface-negative-active: #D21427FF;
141
- --surface-transparent-secondary-hover: #0808081F;
142
- --surface-transparent-secondary-active: #0808080A;
143
- --on-light-surface-solid-default-hover: #0D0D0DFF;
144
- --on-light-surface-solid-default-active: #030303FF;
145
- --on-dark-surface-solid-default-hover: #FFFFFFFF;
146
- --on-dark-surface-solid-default-active: #FFFFFFFF;
147
- --on-light-surface-transparent-deep-hover: #080808C2;
148
- --on-light-surface-transparent-deep-active: #08080894;
149
- --on-light-surface-transparent-deep: rgba(8, 8, 8, 0.64);
150
130
  --skeleton-gradient: linear-gradient( 90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.08) 6.25%, rgba(255, 255, 255, 0.05) 12.5%, rgba(255, 255, 255, 0.01) 25%, rgba(255, 255, 255, 0.05) 37.5%, rgba(255, 255, 255, 0.08) 43.75%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.08) 56.25%, rgba(255, 255, 255, 0.05) 62.5%, rgba(255, 255, 255, 0.01) 75%, rgba(255, 255, 255, 0.05) 87.5%, rgba(255, 255, 255, 0.08) 93.75%, rgba(255, 255, 255, 0.09) 100% );
151
131
  --skeleton-gradient-lighter: linear-gradient( 90deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.32) 6.25%, rgba(255, 255, 255, 0.20) 12.5%, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.20) 37.5%, rgba(255, 255, 255, 0.32) 43.75%, rgba(255, 255, 255, 0.36) 50%, rgba(255, 255, 255, 0.08) 56.25%, rgba(255, 255, 255, 0.20) 62.5%, rgba(255, 255, 255, 0.04) 75%, rgba(255, 255, 255, 0.20) 87.5%, rgba(255, 255, 255, 0.32) 93.75%, rgba(255, 255, 255, 0.36) 100% );
152
132
  --plasma-colors-white-primary: var(--on-dark-text-primary);
@@ -245,6 +225,7 @@
245
225
  /* добавлены вручную */
246
226
  --surface-accent-hover: #1383cf80;
247
227
  /* добавлены вручную */
228
+ --surface-accent-active: #045891;
248
229
  --surface-accent-gradient: linear-gradient(45.00deg, rgb(30, 44, 108) 0%,rgb(43, 101, 185) 100%);
249
230
  --surface-positive: #1A9E32;
250
231
  --surface-warning: #FA5F05;
@@ -312,27 +293,6 @@
312
293
  --inverse-background-primary: #000000;
313
294
  --inverse-background-secondary: #080808;
314
295
  --inverse-background-tertiary: #171717;
315
- --text-primary-hover: #17171793;
316
- --text-primary-active: #171717C4;
317
- --surface-solid-default-hover: #262626FF;
318
- --surface-solid-default-active: #030303FF;
319
- --surface-accent-hover: #0C8ADFFF;
320
- --surface-accent-active: #0A72B8FF;
321
- --surface-positive-hover: #1EB83AFF;
322
- --surface-positive-active: #178C2CFF;
323
- --surface-warning-hover: #FB782DFF;
324
- --surface-warning-active: #E65705FF;
325
- --surface-negative-hover: #EA1A2FFF;
326
- --surface-negative-active: #C91325FF;
327
- --surface-transparent-secondary-hover: #08080805;
328
- --surface-transparent-secondary-active: #0808081A;
329
- --on-light-surface-solid-default-hover: #262626FF;
330
- --on-light-surface-solid-default-active: #030303FF;
331
- --on-dark-surface-solid-default-hover: #FFFFFFFF;
332
- --on-dark-surface-solid-default-active: #FFFFFFFF;
333
- --on-light-surface-transparent-deep-hover: #0808088F;
334
- --on-light-surface-transparent-deep-active: #080808AD;
335
- --on-light-surface-transparent-deep: rgba(8, 8, 8, 0.64);
336
296
  --skeleton-gradient: linear-gradient( 90deg, rgba(8, 8, 8, 0.09) 0%, rgba(8, 8, 8, 0.08) 6.25%, rgba(8, 8, 8, 0.05) 12.5%, rgba(8, 8, 8, 0.01) 25%, rgba(8, 8, 8, 0.05) 37.5%, rgba(8, 8, 8, 0.08) 43.75%, rgba(8, 8, 8, 0.09) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.05) 62.5%, rgba(8, 8, 8, 0.01) 75%, rgba(8, 8, 8, 0.05) 87.5%, rgba(8, 8, 8, 0.08) 93.75%, rgba(8, 8, 8, 0.09) 100% );
337
297
  --skeleton-gradient-lighter: linear-gradient( 90deg, rgba(8, 8, 8, 0.36) 0%, rgba(8, 8, 8, 0.32) 6.25%, rgba(8, 8, 8, 0.20) 12.5%, rgba(8, 8, 8, 0.04) 25%, rgba(8, 8, 8, 0.20) 37.5%, rgba(8, 8, 8, 0.32) 43.75%, rgba(8, 8, 8, 0.36) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.20) 62.5%, rgba(8, 8, 8, 0.04) 75%, rgba(8, 8, 8, 0.20) 87.5%, rgba(8, 8, 8, 0.32) 93.75%, rgba(8, 8, 8, 0.36) 100% );
338
298
  --plasma-colors-white-primary: var(--on-dark-text-primary);
@@ -1,35 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { RootProps } from '../../engines';
3
3
  import type { ChipProps } from './Chip.types';
4
- export declare const chipRoot: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
5
- text?: string | undefined;
6
- contentLeft?: React.ReactNode;
7
- contentRight?: React.ReactNode;
8
- contentClearButton?: React.ReactNode;
9
- disabled?: boolean | undefined;
10
- readOnly?: boolean | undefined;
11
- size?: ("m" | "s" | "xs" | "l") | undefined;
12
- view?: ("secondary" | "default" | "positive") | undefined;
13
- onClear?: (() => void) | undefined;
14
- } & {
15
- children?: React.ReactNode;
16
- } & React.RefAttributes<HTMLButtonElement>>;
4
+ export declare const chipRoot: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLButtonElement>>;
17
5
  export declare const chipConfig: {
18
6
  name: string;
19
7
  tag: string;
20
- layout: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
21
- text?: string | undefined;
22
- contentLeft?: React.ReactNode;
23
- contentRight?: React.ReactNode;
24
- contentClearButton?: React.ReactNode;
25
- disabled?: boolean | undefined;
26
- readOnly?: boolean | undefined;
27
- size?: ("m" | "s" | "xs" | "l") | undefined;
28
- view?: ("secondary" | "default" | "positive") | undefined;
29
- onClear?: (() => void) | undefined;
30
- } & {
31
- children?: React.ReactNode;
32
- } & React.RefAttributes<HTMLButtonElement>>;
8
+ layout: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLButtonElement>>;
33
9
  base: import("@linaria/core").LinariaClassName;
34
10
  variations: {
35
11
  view: {
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;2CAsDhE,CAAC;AAEP,eAAO,MAAM,UAAU;;;mBAxDQ,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFrE,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC,wFAsDhE,CAAC;AAEP,eAAO,MAAM,UAAU;;;mBAxDQ,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CAoFrE,CAAC"}
@@ -1,6 +1,4 @@
1
1
  import type { ButtonHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
2
- declare type ChipSize = 'l' | 'm' | 's' | 'xs';
3
- declare type ChipView = 'default' | 'secondary' | 'positive';
4
2
  declare type CustomChipProps = {
5
3
  /**
6
4
  * Текстовая надпись
@@ -35,18 +33,19 @@ declare type CustomChipProps = {
35
33
  * @default
36
34
  * m
37
35
  */
38
- size?: ChipSize;
36
+ size?: string;
39
37
  /**
40
38
  * Вид Chip
41
39
  * @default
42
- * default
40
+ * primary
43
41
  */
44
- view?: ChipView;
42
+ view?: string;
45
43
  /**
46
44
  * Коллбек при взаимодействии с элементом
47
45
  */
48
46
  onClear?: () => void;
49
47
  } & PropsWithChildren;
50
- export declare type ChipProps = ButtonHTMLAttributes<HTMLButtonElement> & CustomChipProps;
48
+ export interface ChipProps extends ButtonHTMLAttributes<HTMLButtonElement>, CustomChipProps {
49
+ }
51
50
  export {};
52
51
  //# sourceMappingURL=Chip.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AACvC,aAAK,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AAErD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,GAAG,iBAAiB,CAAC;AAEtB,oBAAY,SAAS,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,GAAG,iBAAiB,CAAC;AAEtB,MAAM,WAAW,SAAU,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,eAAe;CAAG"}
@@ -1,15 +1,3 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
3
- text?: string | undefined;
4
- contentLeft?: import("react").ReactNode;
5
- contentRight?: import("react").ReactNode;
6
- contentClearButton?: import("react").ReactNode;
7
- disabled?: boolean | undefined;
8
- readOnly?: boolean | undefined;
9
- size?: ("m" | "s" | "xs" | "l") | undefined;
10
- view?: ("secondary" | "default" | "positive") | undefined;
11
- onClear?: (() => void) | undefined;
12
- } & {
13
- children?: import("react").ReactNode;
14
- } & import("react").RefAttributes<HTMLButtonElement>>;
2
+ export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("../../../Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
15
3
  //# sourceMappingURL=ComboboxChip.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;qDAwCtB,CAAC"}
1
+ {"version":3,"file":"ComboboxChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU,6PAwCtB,CAAC"}
@@ -3,14 +3,14 @@ import { RootProps } from '../../engines';
3
3
  import { IndicatorProps } from './Indicator.types';
4
4
  export declare const indicatorRoot: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
5
5
  size: "m" | "s" | "l";
6
- view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
6
+ view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
7
7
  } & React.RefAttributes<HTMLDivElement>>;
8
8
  export declare const indicatorConfig: {
9
9
  name: string;
10
10
  tag: string;
11
11
  layout: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
12
12
  size: "m" | "s" | "l";
13
- view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
13
+ view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
14
14
  } & React.RefAttributes<HTMLDivElement>>;
15
15
  base: import("@linaria/core").LinariaClassName;
16
16
  variations: {
@@ -1,15 +1,3 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
3
- text?: string | undefined;
4
- contentLeft?: import("react").ReactNode;
5
- contentRight?: import("react").ReactNode;
6
- contentClearButton?: import("react").ReactNode;
7
- disabled?: boolean | undefined;
8
- readOnly?: boolean | undefined;
9
- size?: ("m" | "s" | "xs" | "l") | undefined;
10
- view?: ("secondary" | "default" | "positive") | undefined;
11
- onClear?: (() => void) | undefined;
12
- } & {
13
- children?: import("react").ReactNode;
14
- } & import("react").RefAttributes<HTMLButtonElement>>;
2
+ export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("../../../Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
15
3
  //# sourceMappingURL=SelectChip.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectChip/SelectChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;qDAwCtB,CAAC"}
1
+ {"version":3,"file":"SelectChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectChip/SelectChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU,6PAwCtB,CAAC"}
@@ -6,7 +6,7 @@ export declare const config: {
6
6
  };
7
7
  variations: {
8
8
  view: {
9
- primary: import("@linaria/core").LinariaClassName;
9
+ default: import("@linaria/core").LinariaClassName;
10
10
  secondary: import("@linaria/core").LinariaClassName;
11
11
  positive: import("@linaria/core").LinariaClassName;
12
12
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Chip: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  view: {
4
- primary: import("@linaria/core").LinariaClassName;
4
+ default: import("@linaria/core").LinariaClassName;
5
5
  secondary: import("@linaria/core").LinariaClassName;
6
6
  positive: import("@linaria/core").LinariaClassName;
7
7
  };
@@ -17,17 +17,5 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
17
17
  focused: {
18
18
  true: import("@linaria/core").LinariaClassName;
19
19
  };
20
- }> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
21
- text?: string | undefined;
22
- contentLeft?: import("react").ReactNode;
23
- contentRight?: import("react").ReactNode;
24
- contentClearButton?: import("react").ReactNode;
25
- disabled?: boolean | undefined;
26
- readOnly?: boolean | undefined;
27
- size?: ("m" | "s" | "xs" | "l") | undefined;
28
- view?: ("secondary" | "default" | "positive") | undefined;
29
- onClear?: (() => void) | undefined;
30
- } & {
31
- children?: import("react").ReactNode;
32
- } & import("react").RefAttributes<HTMLButtonElement>>;
20
+ }> & import("../../../../components/Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
33
21
  //# sourceMappingURL=Chip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;wGAA0B,CAAC"}
@@ -33,7 +33,7 @@ declare const mergedConfig: import("../../../../engines").ComponentConfig<string
33
33
  };
34
34
  }>, import("react").HTMLAttributes<HTMLDivElement> & {
35
35
  size: "m" | "s" | "l";
36
- view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
36
+ view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
37
37
  } & import("react").RefAttributes<HTMLDivElement>>;
38
38
  declare const Indicator: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
39
39
  view: {
@@ -53,7 +53,7 @@ declare const Indicator: import("react").FunctionComponent<import("../../../../e
53
53
  };
54
54
  }> & import("react").HTMLAttributes<HTMLDivElement> & {
55
55
  size: "m" | "s" | "l";
56
- view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
56
+ view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
57
57
  } & import("react").RefAttributes<HTMLDivElement>>;
58
58
  export { Indicator, mergedConfig };
59
59
  //# sourceMappingURL=Indicator.d.ts.map
@@ -6,7 +6,7 @@ export declare const config: {
6
6
  };
7
7
  variations: {
8
8
  view: {
9
- primary: import("@linaria/core").LinariaClassName;
9
+ default: import("@linaria/core").LinariaClassName;
10
10
  secondary: import("@linaria/core").LinariaClassName;
11
11
  positive: import("@linaria/core").LinariaClassName;
12
12
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Chip: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  view: {
4
- primary: import("@linaria/core").LinariaClassName;
4
+ default: import("@linaria/core").LinariaClassName;
5
5
  secondary: import("@linaria/core").LinariaClassName;
6
6
  positive: import("@linaria/core").LinariaClassName;
7
7
  };
@@ -17,17 +17,5 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
17
17
  focused: {
18
18
  true: import("@linaria/core").LinariaClassName;
19
19
  };
20
- }> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
21
- text?: string | undefined;
22
- contentLeft?: import("react").ReactNode;
23
- contentRight?: import("react").ReactNode;
24
- contentClearButton?: import("react").ReactNode;
25
- disabled?: boolean | undefined;
26
- readOnly?: boolean | undefined;
27
- size?: ("m" | "s" | "xs" | "l") | undefined;
28
- view?: ("secondary" | "default" | "positive") | undefined;
29
- onClear?: (() => void) | undefined;
30
- } & {
31
- children?: import("react").ReactNode;
32
- } & import("react").RefAttributes<HTMLButtonElement>>;
20
+ }> & import("../../../../components/Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
33
21
  //# sourceMappingURL=Chip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;wGAA0B,CAAC"}
@@ -33,7 +33,7 @@ declare const mergedConfig: import("../../../../engines").ComponentConfig<string
33
33
  };
34
34
  }>, import("react").HTMLAttributes<HTMLDivElement> & {
35
35
  size: "m" | "s" | "l";
36
- view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
36
+ view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
37
37
  } & import("react").RefAttributes<HTMLDivElement>>;
38
38
  declare const Indicator: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
39
39
  view: {
@@ -53,7 +53,7 @@ declare const Indicator: import("react").FunctionComponent<import("../../../../e
53
53
  };
54
54
  }> & import("react").HTMLAttributes<HTMLDivElement> & {
55
55
  size: "m" | "s" | "l";
56
- view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
56
+ view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
57
57
  } & import("react").RefAttributes<HTMLDivElement>>;
58
58
  export { Indicator, mergedConfig };
59
59
  //# sourceMappingURL=Indicator.d.ts.map
@@ -12,17 +12,5 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
12
12
  readOnly: {
13
13
  true: import("@linaria/core").LinariaClassName;
14
14
  };
15
- }> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
16
- text?: string | undefined;
17
- contentLeft?: import("react").ReactNode;
18
- contentRight?: import("react").ReactNode;
19
- contentClearButton?: import("react").ReactNode;
20
- disabled?: boolean | undefined;
21
- readOnly?: boolean | undefined;
22
- size?: ("m" | "s" | "xs" | "l") | undefined;
23
- view?: ("secondary" | "default" | "positive") | undefined;
24
- onClear?: (() => void) | undefined;
25
- } & {
26
- children?: import("react").ReactNode;
27
- } & import("react").RefAttributes<HTMLButtonElement>>;
15
+ }> & import("../../../../components/Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
28
16
  //# sourceMappingURL=Chip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;wGAA0B,CAAC"}