@hh.ru/magritte-ui-button 7.3.6 → 7.3.8
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/Button.d.ts +2 -2
- package/Button.js +92 -48
- package/Button.js.map +1 -1
- package/aria.js +16 -14
- package/aria.js.map +1 -1
- package/defaultProps.d.ts +1 -1
- package/defaultProps.js +1 -6
- package/defaultProps.js.map +1 -1
- package/index.css +2394 -2394
- package/index.d.ts +3 -3
- package/index.mock.d.ts +2 -2
- package/index.mock.js +3 -3
- package/index.mock.js.map +1 -1
- package/package.json +12 -11
package/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { type ButtonStyle, type ButtonMode, type ButtonSize, type ButtonProps, type ButtonLabel, type DefaultButtonProps, } from '
|
|
2
|
-
export { Button, STRETCHED_WRAPPER_CLASS } from '
|
|
3
|
-
export { ButtonDefaultPropsContext } from '
|
|
1
|
+
export { type ButtonStyle, type ButtonMode, type ButtonSize, type ButtonProps, type ButtonLabel, type DefaultButtonProps, } from './types';
|
|
2
|
+
export { Button, STRETCHED_WRAPPER_CLASS } from './Button';
|
|
3
|
+
export { ButtonDefaultPropsContext } from './defaultProps';
|
package/index.mock.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ForwardRefExoticComponent } from 'react';
|
|
2
|
-
export * from '
|
|
2
|
+
export * from './types';
|
|
3
3
|
export declare const Button: ForwardRefExoticComponent<Record<string, unknown>>;
|
|
4
4
|
export declare const STRETCHED_WRAPPER_CLASS = "magritte-button-stretched-wrapper";
|
|
5
|
-
export { ButtonDefaultPropsContext } from '
|
|
5
|
+
export { ButtonDefaultPropsContext } from './defaultProps';
|
package/index.mock.js
CHANGED
|
@@ -3,10 +3,10 @@ import { mockComponent } from '@hh.ru/magritte-ui-mock-component';
|
|
|
3
3
|
export { ButtonDefaultPropsContext } from './defaultProps.js';
|
|
4
4
|
import '@hh.ru/magritte-internal-default-props-context';
|
|
5
5
|
|
|
6
|
-
const Button = mockComponent(
|
|
7
|
-
|
|
6
|
+
const Button = mockComponent("Button", void 0, {
|
|
7
|
+
withChildren: true
|
|
8
8
|
});
|
|
9
|
-
const STRETCHED_WRAPPER_CLASS =
|
|
9
|
+
const STRETCHED_WRAPPER_CLASS = "magritte-button-stretched-wrapper";
|
|
10
10
|
|
|
11
11
|
export { Button, STRETCHED_WRAPPER_CLASS };
|
|
12
12
|
//# 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\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\nexport { ButtonDefaultPropsContext } from '@hh.ru/magritte-ui-button/defaultProps';\n"],"names":[],"mappings":";;;;
|
|
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\nexport { ButtonDefaultPropsContext } from '@hh.ru/magritte-ui-button/defaultProps';\n"],"names":[],"mappings":";;;;AAMa,MAAA,MAAA,GAA6D,aAAc,CAAA,QAAA,EAAU,KAAW,CAAA,EAAA;AAAA,EACzG,YAAc,EAAA,IAAA;AAClB,CAAC,EAAA;AAEM,MAAM,uBAA0B,GAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-button",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.8",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"ts-config": "yarn root:ts-config $(pwd)",
|
|
17
17
|
"ts-check": "yarn root:ts-check $(pwd)",
|
|
18
18
|
"test": "yarn root:test $(pwd)",
|
|
19
|
+
"test:types": "yarn root:test:types $(pwd)",
|
|
19
20
|
"watch": "yarn root:watch $(pwd)",
|
|
20
21
|
"figma-publish": "yarn root:figma-publish $(pwd)",
|
|
21
22
|
"figma-unpublish": "yarn root:figma-unpublish $(pwd)",
|
|
@@ -23,15 +24,15 @@
|
|
|
23
24
|
"figma-snapshot-update": "yarn root:figma-snapshot $(pwd) --update"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@hh.ru/magritte-common-use-disabled": "1.0.
|
|
27
|
-
"@hh.ru/magritte-design-tokens": "26.0.
|
|
28
|
-
"@hh.ru/magritte-internal-default-props-context": "1.0.
|
|
29
|
-
"@hh.ru/magritte-types": "5.0.
|
|
30
|
-
"@hh.ru/magritte-ui-badge": "4.0.
|
|
31
|
-
"@hh.ru/magritte-ui-breakpoint": "6.1.
|
|
32
|
-
"@hh.ru/magritte-ui-icon": "15.1.
|
|
33
|
-
"@hh.ru/magritte-ui-loader": "4.1.
|
|
34
|
-
"@hh.ru/magritte-ui-mock-component": "1.1.
|
|
27
|
+
"@hh.ru/magritte-common-use-disabled": "1.0.17",
|
|
28
|
+
"@hh.ru/magritte-design-tokens": "26.0.2",
|
|
29
|
+
"@hh.ru/magritte-internal-default-props-context": "1.0.4",
|
|
30
|
+
"@hh.ru/magritte-types": "5.0.9",
|
|
31
|
+
"@hh.ru/magritte-ui-badge": "4.0.24",
|
|
32
|
+
"@hh.ru/magritte-ui-breakpoint": "6.1.3",
|
|
33
|
+
"@hh.ru/magritte-ui-icon": "15.1.6",
|
|
34
|
+
"@hh.ru/magritte-ui-loader": "4.1.7",
|
|
35
|
+
"@hh.ru/magritte-ui-mock-component": "1.1.9"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
38
|
"classnames": ">=2.3.2",
|
|
@@ -41,5 +42,5 @@
|
|
|
41
42
|
"publishConfig": {
|
|
42
43
|
"access": "public"
|
|
43
44
|
},
|
|
44
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "33dbaa1dc9b9705e925ffc9f6fcc7a0dc153bd36"
|
|
45
46
|
}
|