Skip to content

Commit 2262717

Browse files
remove dotdotdot (#104)
* remove dotdotdot * format
1 parent 150efc8 commit 2262717

File tree

3 files changed

+3
-24
lines changed

3 files changed

+3
-24
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"axios": "^1.6.7",
4444
"fuse.js": "^7.0.0",
4545
"query-string": "^6.13.1",
46-
"ramda": "^0.27.1",
47-
"react-dotdotdot": "^1.3.1"
46+
"ramda": "^0.27.1"
4847
},
4948
"devDependencies": {
5049
"@swc/core": "^1.3.0",
@@ -102,4 +101,4 @@
102101
}
103102
},
104103
"packageManager": "yarn@1.22.22"
105-
}
104+
}

src/facet_display/SearchFacetItem.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from "react"
2-
import Dotdotdot from "react-dotdotdot"
32
import { Bucket } from "./types"
43

54
interface Props {
@@ -33,7 +32,7 @@ export function SearchFacetItem(props: Props) {
3332
/>
3433
<div className="facet-label">
3534
<label htmlFor={facetId} className={"facet-key"}>
36-
<Dotdotdot clamp={1}>{displayKey || ""}</Dotdotdot>
35+
{displayKey ?? ""}
3736
</label>
3837
<div className="facet-count">{facet.doc_count}</div>
3938
</div>

yarn.lock

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3545,11 +3545,6 @@ isexe@^2.0.0:
35453545
resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz"
35463546
integrity "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
35473547

3548-
isobject@^3.0.1:
3549-
version "3.0.1"
3550-
resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
3551-
integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==
3552-
35533548
istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0:
35543549
version "3.2.0"
35553550
resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz"
@@ -4425,13 +4420,6 @@ object.hasown@^1.1.2:
44254420
define-properties "^1.1.4"
44264421
es-abstract "^1.20.4"
44274422

4428-
object.pick@^1.3.0:
4429-
version "1.3.0"
4430-
resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747"
4431-
integrity sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==
4432-
dependencies:
4433-
isobject "^3.0.1"
4434-
44354423
object.values@^1.1.1:
44364424
version "1.1.1"
44374425
resolved "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz"
@@ -4796,13 +4784,6 @@ react-dom@^16.13.1:
47964784
prop-types "^15.6.2"
47974785
scheduler "^0.19.1"
47984786

4799-
react-dotdotdot@^1.3.1:
4800-
version "1.3.1"
4801-
resolved "https://registry.yarnpkg.com/react-dotdotdot/-/react-dotdotdot-1.3.1.tgz#b94324bf66cdb70e4acffe5460e4480a91135e50"
4802-
integrity sha512-ImqoKTD4ZdyfF/h7jdPCZur01QlZxx3A9/gZSf9mbvseNZwVTvd+dPwi/hg1UTtP+30luy2d5j0KG+XEfdBPLQ==
4803-
dependencies:
4804-
object.pick "^1.3.0"
4805-
48064787
react-error-boundary@^3.1.0:
48074788
version "3.1.4"
48084789
resolved "https://registry.yarnpkg.com/react-error-boundary/-/react-error-boundary-3.1.4.tgz#255db92b23197108757a888b01e5b729919abde0"

0 commit comments

Comments
 (0)