@hh.ru/magritte-ui-button 5.4.2 → 6.0.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.
package/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export { type ButtonStyle, type ButtonMode, type ButtonSize, type ButtonProps, type ButtonLabel, type DefaultButtonProps, } from '@hh.ru/magritte-ui-button/types';
2
2
  export { Button, STRETCHED_WRAPPER_CLASS } from '@hh.ru/magritte-ui-button/Button';
3
- export * from '@hh.ru/magritte-ui-theme-provider';
package/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import './index.css';
2
2
  export { Button, STRETCHED_WRAPPER_CLASS } from './Button.js';
3
- export * from '@hh.ru/magritte-ui-theme-provider';
4
3
  import 'react/jsx-runtime';
5
4
  import 'react';
6
5
  import 'classnames';
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
package/index.mock.d.ts CHANGED
@@ -1,6 +1,4 @@
1
1
  import { ForwardRefExoticComponent } from 'react';
2
2
  export * from '@hh.ru/magritte-ui-button/types';
3
- declare const ThemeProvider: any;
4
- export { ThemeProvider };
5
3
  export declare const Button: ForwardRefExoticComponent<Record<string, unknown>>;
6
4
  export declare const STRETCHED_WRAPPER_CLASS = "magritte-button-stretched-wrapper";
package/index.mock.js CHANGED
@@ -1,12 +1,10 @@
1
1
  import './index.css';
2
2
  import { mockComponent } from '@hh.ru/magritte-ui-mock-component';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
5
- const { ThemeProvider } = jest.requireActual('@hh.ru/magritte-ui-theme-provider/index');
6
4
  const Button = mockComponent('Button', undefined, {
7
5
  withChildren: true,
8
6
  });
9
7
  const STRETCHED_WRAPPER_CLASS = 'magritte-button-stretched-wrapper';
10
8
 
11
- export { Button, STRETCHED_WRAPPER_CLASS, ThemeProvider };
9
+ export { Button, STRETCHED_WRAPPER_CLASS };
12
10
  //# sourceMappingURL=index.mock.js.map
package/index.mock.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mock.js","sources":["../src/index.mock.ts"],"sourcesContent":["import { ForwardRefExoticComponent } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport * from '@hh.ru/magritte-ui-button/types';\n\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nconst { ThemeProvider } = jest.requireActual('@hh.ru/magritte-ui-theme-provider/index');\n\nexport { ThemeProvider };\n\nexport const Button: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('Button', undefined, {\n withChildren: true,\n});\n\nexport const STRETCHED_WRAPPER_CLASS = 'magritte-button-stretched-wrapper';\n"],"names":[],"mappings":";;AAMA;AACM,MAAA,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,yCAAyC,EAAE;MAI3E,MAAM,GAAuD,aAAa,CAAC,QAAQ,EAAE,SAAS,EAAE;AACzG,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA,EAAE;AAEI,MAAM,uBAAuB,GAAG;;;;"}
1
+ {"version":3,"file":"index.mock.js","sources":["../src/index.mock.ts"],"sourcesContent":["import { ForwardRefExoticComponent } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport * from '@hh.ru/magritte-ui-button/types';\n\nexport const Button: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('Button', undefined, {\n withChildren: true,\n});\n\nexport const STRETCHED_WRAPPER_CLASS = 'magritte-button-stretched-wrapper';\n"],"names":[],"mappings":";;MAMa,MAAM,GAAuD,aAAa,CAAC,QAAQ,EAAE,SAAS,EAAE;AACzG,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA,EAAE;AAEI,MAAM,uBAAuB,GAAG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-button",
3
- "version": "5.4.2",
3
+ "version": "6.0.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -20,13 +20,12 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@hh.ru/magritte-common-use-disabled": "1.0.12",
23
- "@hh.ru/magritte-design-tokens": "22.0.0",
23
+ "@hh.ru/magritte-design-tokens": "22.1.0",
24
24
  "@hh.ru/magritte-types": "5.0.4",
25
- "@hh.ru/magritte-ui-badge": "2.4.9",
25
+ "@hh.ru/magritte-ui-badge": "3.0.0",
26
26
  "@hh.ru/magritte-ui-breakpoint": "5.0.3",
27
- "@hh.ru/magritte-ui-loader": "1.4.2",
28
- "@hh.ru/magritte-ui-mock-component": "1.1.4",
29
- "@hh.ru/magritte-ui-theme-provider": "1.1.51"
27
+ "@hh.ru/magritte-ui-loader": "2.0.0",
28
+ "@hh.ru/magritte-ui-mock-component": "1.1.4"
30
29
  },
31
30
  "peerDependencies": {
32
31
  "classnames": ">=2.3.2",
@@ -35,5 +34,5 @@
35
34
  "publishConfig": {
36
35
  "access": "public"
37
36
  },
38
- "gitHead": "d1596153195180eea9a2bef531e062520e5ac74b"
37
+ "gitHead": "a823b2d582e812bf99b5fdf32058a93eaa59076b"
39
38
  }