@agilant/toga-blox 1.0.49 → 1.0.51
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.
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.rmsc .dropdown-content {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
|
|
5
|
+
max-height: 290px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.rmsc .options {
|
|
9
|
+
flex: 1;
|
|
10
|
+
overflow-y: auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rmsc ul.options {
|
|
14
|
+
/* Ensure the <ul> is scrollable and has a set height */
|
|
15
|
+
max-height: 240px;
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
position: relative;
|
|
18
|
+
/* optional flex layout if you prefer:
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
*/
|
|
22
|
+
}
|
|
23
|
+
.rmsc .select-item {
|
|
24
|
+
padding: 2px 0px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.rmsc ul.options > li:last-child {
|
|
28
|
+
position: sticky;
|
|
29
|
+
bottom: 0;
|
|
30
|
+
z-index: 1;
|
|
31
|
+
border-bottom: 0px;
|
|
32
|
+
background-color: white;
|
|
33
|
+
border-top: 1px solid #dee2e6;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.rmsc .select-item:hover {
|
|
37
|
+
background: transparent;
|
|
38
|
+
}
|
|
39
|
+
.rmsc .select-item {
|
|
40
|
+
background: white;
|
|
41
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import MultiSelectInput from "../MultiSelect/MultiSelect";
|
|
3
|
-
import "./
|
|
3
|
+
import "./SearchDropdown.scss";
|
|
4
4
|
/**
|
|
5
5
|
* A wrapper around MultiSelectInput that appends a special "__footer__" option
|
|
6
6
|
* and uses a custom item renderer to display "Clear" and "Filter" buttons.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agilant/toga-blox",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.51",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"build-storybook": "storybook build",
|
|
13
13
|
"build-css": "tailwindcss -i ./src/main.css -o ./dist/main.css --minify",
|
|
14
14
|
"watch-css": "nodemon",
|
|
15
|
-
"build": "tsc"
|
|
15
|
+
"build": "tsc && copyfiles -u 1 \"src/**/*.scss\" dist"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [],
|
|
18
18
|
"author": "",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"@vitest/coverage-istanbul": "^1.2.1",
|
|
66
66
|
"@vitest/coverage-v8": "^1.2.1",
|
|
67
67
|
"autoprefixer": "^10.4.16",
|
|
68
|
+
"copyfiles": "^2.4.1",
|
|
68
69
|
"jsdom": "^23.2.0",
|
|
69
70
|
"nodemon": "^3.0.2",
|
|
70
71
|
"postcss": "^8.4.32",
|