@teambit/react.ui.component-highlighter 0.0.490 → 0.0.491
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/component-highlighter.docs.md +1 -1
- package/dist/component-highlighter.docs.md +1 -1
- package/dist/hover-highlighter/hover-highlighter.compositions.d.ts +0 -1
- package/dist/hover-highlighter/hover-highlighter.d.ts +0 -1
- package/dist/hover-highlighter/use-hover-highlighter.d.ts +3 -3
- package/dist/label/component-label/component-bubble.d.ts +0 -1
- package/dist/label/component-label/component-label.d.ts +0 -1
- package/dist/label/component-label/scope-bubble.d.ts +0 -1
- package/dist/label/default-label/default-label.d.ts +0 -1
- package/dist/multi-highlighter/multi-highlighter.composition.d.ts +0 -1
- package/dist/multi-highlighter/multi-highlighter.d.ts +0 -1
- package/hover-highlighter/use-hover-highlighter.tsx +1 -1
- package/hybrid-highligher/hybrid-highlighter.tsx +1 -1
- package/multi-highlighter/multi-highlighter.composition.tsx +1 -1
- package/multi-highlighter/use-multi-highlighter.tsx +1 -1
- package/package-tar/teambit-react.ui.component-highlighter-0.0.491.tgz +0 -0
- package/package.json +15 -15
- package/rule-matcher.tsx +1 -1
- package/package-tar/teambit-react.ui.component-highlighter-0.0.490.tgz +0 -0
|
@@ -198,4 +198,4 @@ const classes = {
|
|
|
198
198
|
```
|
|
199
199
|
|
|
200
200
|
You can control the size using regular `font-size`.
|
|
201
|
-
Keep in mind that the label can be either two elements (when using component id), and a single element (for other texts)
|
|
201
|
+
Keep in mind that the label can be either two elements (when using component id), and a single element (for other texts)
|
|
@@ -198,4 +198,4 @@ const classes = {
|
|
|
198
198
|
```
|
|
199
199
|
|
|
200
200
|
You can control the size using regular `font-size`.
|
|
201
|
-
Keep in mind that the label can be either two elements (when using component id), and a single element (for other texts)
|
|
201
|
+
Keep in mind that the label can be either two elements (when using component id), and a single element (for other texts)
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { HybridHighlighterProps } from '../hybrid-highligher';
|
|
3
2
|
export declare type HoverHighlighterProps = Omit<HybridHighlighterProps, 'mode'>;
|
|
4
3
|
export declare function HoverHighlighter({ ...props }: HoverHighlighterProps): JSX.Element;
|
|
@@ -12,9 +12,9 @@ export declare type useHoverHighlighterOptions = {
|
|
|
12
12
|
};
|
|
13
13
|
/** fires onChange when targeting a new component */
|
|
14
14
|
export declare function useHoverHighlighter<T extends HTMLElement = HTMLElement>(onChange: (target?: HighlightTarget) => void, props: React.HTMLAttributes<T>, { debounceDuration, scopeClass, disabled, rule, componentRule }: useHoverHighlighterOptions): {
|
|
15
|
-
onMouseOver?: undefined;
|
|
16
|
-
onMouseLeave?: undefined;
|
|
17
|
-
} | {
|
|
18
15
|
onMouseOver: (event: React.MouseEvent<T, MouseEvent>) => void;
|
|
19
16
|
onMouseLeave: (event: React.MouseEvent<T, MouseEvent>) => void;
|
|
17
|
+
} | {
|
|
18
|
+
onMouseOver?: undefined;
|
|
19
|
+
onMouseLeave?: undefined;
|
|
20
20
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { HybridHighlighterProps } from '../hybrid-highligher';
|
|
3
2
|
export declare type MultiHighlighterProps = Omit<HybridHighlighterProps, 'mode'>;
|
|
4
3
|
export declare function MultiHighlighter({ watchMotion, ...props }: MultiHighlighterProps): JSX.Element;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react.ui.component-highlighter",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.491",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/react/ui/component-highlighter",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.react",
|
|
8
8
|
"name": "ui/component-highlighter",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.491"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"classnames": "2.2.6",
|
|
13
|
+
"uuid": "3.4.0",
|
|
14
|
+
"use-debounce": "6.0.1",
|
|
13
15
|
"@popperjs/core": "2.6.0",
|
|
14
16
|
"react-popper": "2.2.4",
|
|
15
|
-
"use-debounce": "6.0.1",
|
|
16
|
-
"uuid": "3.4.0",
|
|
17
17
|
"get-xpath": "3.0.1",
|
|
18
18
|
"url-join": "4.0.1",
|
|
19
19
|
"core-js": "^3.0.0",
|
|
20
|
-
"@teambit/component-id": "0.0.388",
|
|
21
|
-
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.9",
|
|
22
|
-
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.476",
|
|
23
20
|
"@teambit/base-ui.utils.popper-js.ignore-popper-size": "1.0.0",
|
|
24
21
|
"@teambit/base-ui.utils.popper-js.resize-to-match-reference": "1.0.0",
|
|
25
|
-
"@teambit/react.modules.dom-to-react": "0.0.476",
|
|
26
|
-
"@teambit/react.ui.hover-selector": "0.0.154",
|
|
27
22
|
"@teambit/base-ui.surfaces.card": "1.0.1",
|
|
28
23
|
"@teambit/base-ui.routing.native-link": "1.0.0",
|
|
29
|
-
"@teambit/component
|
|
24
|
+
"@teambit/component-id": "0.0.389",
|
|
25
|
+
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.10",
|
|
26
|
+
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.477",
|
|
27
|
+
"@teambit/react.modules.dom-to-react": "0.0.477",
|
|
28
|
+
"@teambit/react.ui.hover-selector": "0.0.155",
|
|
29
|
+
"@teambit/component.modules.component-url": "0.0.110"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
+
"@types/react": "^17.0.8",
|
|
32
33
|
"@types/classnames": "2.2.11",
|
|
33
|
-
"@testing-library/react": "11.2.6",
|
|
34
34
|
"@types/uuid": "3.4.9",
|
|
35
|
+
"@testing-library/react": "11.2.6",
|
|
36
|
+
"@types/react-dom": "^17.0.5",
|
|
35
37
|
"@types/url-join": "4.0.0",
|
|
36
38
|
"@types/mocha": "5.2.7",
|
|
37
39
|
"@types/testing-library__jest-dom": "5.9.5",
|
|
38
40
|
"@babel/runtime": "7.12.18",
|
|
39
41
|
"@types/jest": "^26.0.0",
|
|
40
|
-
"@types/react-dom": "^17.0.5",
|
|
41
|
-
"@types/react": "^17.0.8",
|
|
42
42
|
"@types/node": "12.20.4",
|
|
43
43
|
"@teambit/design.ui.icon-button": "1.0.10"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@teambit/legacy": "1.0.
|
|
46
|
+
"@teambit/legacy": "1.0.185",
|
|
47
47
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
48
48
|
"react": "^16.8.0 || ^17.0.0"
|
|
49
49
|
},
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"react": "-"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@teambit/legacy": "1.0.
|
|
74
|
+
"@teambit/legacy": "1.0.185",
|
|
75
75
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
76
76
|
"react": "^16.8.0 || ^17.0.0"
|
|
77
77
|
}
|
package/rule-matcher.tsx
CHANGED
|
Binary file
|