@t007/utils 0.0.32 → 0.0.34
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/dist/{arrowNavigation-VenvPI4H.d.ts → arrowNavigation-DF7ul3A3.d.ts} +1 -1
- package/dist/{arrowNavigation-DK8mqVOk.d.cts → arrowNavigation-IaWiNTa6.d.cts} +1 -1
- package/dist/{chunk-4O76EZJ4.js → chunk-HGUYOV3P.js} +127 -21
- package/dist/{chunk-QJ72EQCJ.js → chunk-ZRCBB5P4.js} +9 -6
- package/dist/components/react.d.cts +1 -1
- package/dist/components/react.d.ts +1 -1
- package/dist/hooks/react.cjs +26 -22
- package/dist/hooks/react.d.cts +4 -4
- package/dist/hooks/react.d.ts +4 -4
- package/dist/hooks/react.js +2 -2
- package/dist/hooks/vanilla.cjs +22 -18
- package/dist/hooks/vanilla.d.cts +10 -10
- package/dist/hooks/vanilla.d.ts +10 -10
- package/dist/hooks/vanilla.js +2 -2
- package/dist/index.cjs +136 -20
- package/dist/index.d.cts +131 -12
- package/dist/index.d.ts +131 -12
- package/dist/index.js +23 -3
- package/dist/{ripple-C5MfEErC.d.cts → ripple-87VO-U7A.d.cts} +25 -24
- package/dist/{ripple-C5MfEErC.d.ts → ripple-87VO-U7A.d.ts} +25 -24
- package/dist/{scrollAssist-y9wFmYgt.d.cts → scrollAssist-l0V2H-jx.d.cts} +20 -20
- package/dist/{scrollAssist-y9wFmYgt.d.ts → scrollAssist-l0V2H-jx.d.ts} +20 -20
- package/dist/{useHighlight-DMpDCILK.d.cts → useHighlight-DYc_GF0R.d.cts} +2 -2
- package/dist/{useHighlight-DMpDCILK.d.ts → useHighlight-DYc_GF0R.d.ts} +2 -2
- package/package.json +4 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface HighlightOptions {
|
|
2
|
-
/** Whether to trim individual query strings.
|
|
2
|
+
/** Whether to trim individual query strings. @default `true`. */
|
|
3
3
|
trimQuery?: boolean;
|
|
4
|
-
/** Whether to match whole words only.
|
|
4
|
+
/** Whether to match whole words only. @default `false`. */
|
|
5
5
|
wholeWord?: boolean;
|
|
6
6
|
}
|
|
7
7
|
/** React hook to process a text string and identify parts that match a given query, returning an array of text chunks with information on whether they match the query.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface HighlightOptions {
|
|
2
|
-
/** Whether to trim individual query strings.
|
|
2
|
+
/** Whether to trim individual query strings. @default `true`. */
|
|
3
3
|
trimQuery?: boolean;
|
|
4
|
-
/** Whether to match whole words only.
|
|
4
|
+
/** Whether to match whole words only. @default `false`. */
|
|
5
5
|
wholeWord?: boolean;
|
|
6
6
|
}
|
|
7
7
|
/** React hook to process a text string and identify parts that match a given query, returning an array of text chunks with information on whether they match the query.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t007/utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "High-performance utilities for the t007 ecosystem.",
|
|
5
5
|
"author": "Oketade Oluwatobiloba <tobioketade007@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"browser": "./dist/index.js",
|
|
17
17
|
"types": "./dist/index.d.ts",
|
|
18
18
|
"sideEffects": [
|
|
19
|
-
"
|
|
19
|
+
"**/*.css",
|
|
20
|
+
"**/*.scss"
|
|
20
21
|
],
|
|
21
22
|
"exports": {
|
|
22
23
|
".": {
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"react-dom": "^18.3.1"
|
|
76
77
|
},
|
|
77
78
|
"dependencies": {
|
|
78
|
-
"sia-reactor": "^0.0.
|
|
79
|
+
"sia-reactor": "^0.0.35"
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
82
|
"react": "^18.0.0"
|