@hh.ru/magritte-ui-link 4.1.7 → 4.2.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/Link.d.ts +1 -1
- package/Link.js +3 -2
- package/Link.js.map +1 -1
- package/VerticallyCenteredIcon.js +1 -1
- package/index.css +566 -380
- package/index.d.ts +2 -2
- package/package.json +12 -11
- package/types.d.ts +2 -0
package/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from '@hh.ru/magritte-ui-theme-provider';
|
|
2
|
-
export * from '
|
|
3
|
-
export { type LinkStyle, type LinkProps } from '
|
|
2
|
+
export * from '@hh.ru/magritte-ui-link/Link';
|
|
3
|
+
export { type LinkStyle, type LinkProps } from '@hh.ru/magritte-ui-link/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-link",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -16,16 +16,17 @@
|
|
|
16
16
|
"eslint-test": "yarn root:eslint-test $(pwd)",
|
|
17
17
|
"ts-config": "yarn root:ts-config $(pwd)",
|
|
18
18
|
"ts-check": "yarn root:ts-check $(pwd)",
|
|
19
|
-
"test": "yarn root:test $(pwd)"
|
|
19
|
+
"test": "yarn root:test $(pwd)",
|
|
20
|
+
"watch": "yarn root:watch $(pwd)"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@hh.ru/magritte-common-keyboard": "4.0.
|
|
23
|
-
"@hh.ru/magritte-common-use-disabled": "1.0.
|
|
24
|
-
"@hh.ru/magritte-design-tokens": "18.2.
|
|
25
|
-
"@hh.ru/magritte-types": "4.0.
|
|
26
|
-
"@hh.ru/magritte-ui-icon": "7.1.
|
|
27
|
-
"@hh.ru/magritte-ui-theme-provider": "1.1.
|
|
28
|
-
"@hh.ru/magritte-ui-typography": "3.0.
|
|
23
|
+
"@hh.ru/magritte-common-keyboard": "4.0.1",
|
|
24
|
+
"@hh.ru/magritte-common-use-disabled": "1.0.9",
|
|
25
|
+
"@hh.ru/magritte-design-tokens": "18.2.1",
|
|
26
|
+
"@hh.ru/magritte-types": "4.0.2",
|
|
27
|
+
"@hh.ru/magritte-ui-icon": "7.1.9",
|
|
28
|
+
"@hh.ru/magritte-ui-theme-provider": "1.1.25",
|
|
29
|
+
"@hh.ru/magritte-ui-typography": "3.0.12"
|
|
29
30
|
},
|
|
30
31
|
"peerDependencies": {
|
|
31
32
|
"classnames": ">=2.3.2",
|
|
@@ -34,5 +35,5 @@
|
|
|
34
35
|
"publishConfig": {
|
|
35
36
|
"access": "public"
|
|
36
37
|
},
|
|
37
|
-
"gitHead": "
|
|
38
|
-
}
|
|
38
|
+
"gitHead": "072f997a89b2060db44c7c18f664937e4d617be3"
|
|
39
|
+
}
|
package/types.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export interface LinkProps {
|
|
|
25
25
|
'aria-label'?: string;
|
|
26
26
|
/** Флаг включения visited состояния */
|
|
27
27
|
enableVisited?: boolean;
|
|
28
|
+
/** Включает подчеркивание */
|
|
29
|
+
underlined?: boolean;
|
|
28
30
|
}
|
|
29
31
|
export type LinkForwardRefRenderFuncWithCustomElement = ForwardRefRenderFuncWithCustomElement<LinkProps, 'a'>;
|
|
30
32
|
export type LinkWithCustomElement = ComponentWithCustomElement<LinkProps, 'a'>;
|