@univerjs/sheets-filter-ui 0.5.2 → 0.5.3
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/lib/index.css +1 -1
- package/package.json +12 -31
package/lib/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.univer-sheets-filter-panel{display:flex;min-width:312px;height:432px;flex-direction:column;background:rgb(var(--bg-color-secondary));border-radius:10px;box-sizing:border-box;box-shadow:var(--box-shadow-lg);padding:16px;overflow:hidden}.univer-sheets-filter-panel-header{flex-grow:0;flex-shrink:0;margin-bottom:4px}.univer-sheets-filter-panel-content{flex-grow:1;flex-shrink:1;overflow:hidden;padding-top:8px}.univer-sheets-filter-panel-select-all{font-size:13px;margin-right:4px}.univer-sheets-filter-panel-select-all-count{font-size:13px;color:rgb(var(--grey-400))}.univer-sheets-filter-panel-values-container{display:flex;height:100%;flex-direction:column}.univer-sheets-filter-panel-values-container>.univer-input-affix-wrapper{flex:0 0 32px}.univer-sheets-filter-panel-values-container .univer-select,.univer-sheets-filter-panel-values-container .univer-input-affix-wrapper,.univer-sheets-filter-panel-values-container .univer-radio-group{width:100%}.univer-sheets-filter-panel-values-find{height:32px;margin-bottom:8px}.univer-sheets-filter-panel-values-list{flex-grow:1;margin-top:8px;border:1px solid rgb(var(--grey-200));box-sizing:border-box;border-radius:6px;overflow:hidden;display:flex;flex-direction:column;padding:6px 0 6px 8px}.univer-sheets-filter-panel-values-list-inner-container{padding-right:8px}.univer-sheets-filter-panel-values-virtual{flex-grow:1}.univer-sheets-filter-panel-values-item{box-sizing:border-box;height:32px;padding:2px 0;width:100%}.univer-sheets-filter-panel-values-item-inner{align-items:center;padding:0 2px 0 20px;line-height:28px;box-sizing:border-box;border-radius:6px;height:28px;display:flex;font-size:13px}.univer-sheets-filter-panel-values-item-inner:hover{background-color:rgb(var(--grey-50))}.univer-sheets-filter-panel-values-item-inner:hover .univer-sheets-filter-panel-values-item-count{margin-right:2px}.univer-sheets-filter-panel-values-item-inner:hover .univer-sheets-filter-panel-values-item-exclude-button{box-sizing:border-box;margin-left:auto;display:inline-block;height:24px;font-size:12px;line-height:12px}.univer-sheets-filter-panel-values-item-inner:hover .univer-sheets-filter-panel-values-item-exclude-button:hover{background-color:rgb(var(--hyacinth-50))}.univer-sheets-filter-panel-values-item-inner:hover .univer-sheets-filter-panel-values-item-exclude-button:active{background-color:rgb(var(--hyacinth-100))}.univer-sheets-filter-panel-values-item-text{display:inline-block;height:100%;margin:0 4px;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-sheets-filter-panel-values-item-count{color:rgb(var(--grey-400))}.univer-sheets-filter-panel-values-item-exclude-button{display:none}.univer-sheets-filter-panel-conditions-container{display:flex;flex-direction:column;height:100%}.univer-sheets-filter-panel-conditions-container .univer-select,.univer-sheets-filter-panel-conditions-container .univer-input-affix-wrapper,.univer-sheets-filter-panel-conditions-container .univer-radio-group{width:100%;margin-bottom:8px}.univer-sheets-filter-panel-conditions-container-inner{flex-grow:1;border-radius:6px;border:1px solid rgb(var(--grey-200));overflow:hidden;padding:8px}.univer-sheets-filter-panel-conditions-desc{margin-top:-6px;color:rgb(var(--grey-500));font-size:12px;line-height:18px}.univer-sheets-filter-panel-footer{margin-top:16px;flex-grow:0;flex-shrink:0;display:inline-flex;flex-wrap:nowrap;overflow:hidden;justify-content:space-between}.univer-sheets-filter-panel-footer-primary-buttons{display:flex}.univer-sheets-filter-panel-footer-primary-buttons>.univer-button{margin-left:12px}.univer-sheets-filter-panel .univer-select,.univer-sheets-filter-panel .univer-input{width:100%}.univer-sheets-filter-panel .univer-form-dual-column-layout{margin-bottom:8px}.univer-sheets-filter-tree-node{padding-right:8px;max-width:245px}.univer-sheets-filter-tree-node .univer-sheets-filter-tree-node-filter-only{display:none;padding:0 6px;height:16px;background-color:rgb(var(--grey-50))}.univer-sheets-filter-tree-node:hover{background-color:rgb(var(--grey-50));border-radius:6px}.univer-sheets-filter-tree-node:hover .univer-sheets-filter-tree-node-filter-only{display:inline-block}.univer-sheets-filter-tree-node-attach{height:20px;flex:1;margin-left:4px;display:flex;align-items:center;justify-content:space-between;font-size:13px}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/sheets-filter-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Univer Sheets Filter UI",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -52,46 +52,27 @@
|
|
|
52
52
|
"rxjs": ">=7.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@univerjs/icons": "^0.2.
|
|
55
|
+
"@univerjs/icons": "^0.2.10",
|
|
56
56
|
"clsx": "^2.1.1",
|
|
57
57
|
"rc-virtual-list": "^3.15.0",
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/sheets
|
|
63
|
-
"@univerjs/
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs/ui": "0.5.
|
|
58
|
+
"@univerjs/core": "0.5.3",
|
|
59
|
+
"@univerjs/design": "0.5.3",
|
|
60
|
+
"@univerjs/engine-render": "0.5.3",
|
|
61
|
+
"@univerjs/rpc": "0.5.3",
|
|
62
|
+
"@univerjs/sheets": "0.5.3",
|
|
63
|
+
"@univerjs/sheets-filter": "0.5.3",
|
|
64
|
+
"@univerjs/ui": "0.5.3",
|
|
65
|
+
"@univerjs/sheets-ui": "0.5.3"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"less": "^4.2.1",
|
|
69
69
|
"postcss": "^8.4.49",
|
|
70
70
|
"react": "18.3.1",
|
|
71
71
|
"rxjs": "^7.8.1",
|
|
72
|
-
"tailwindcss": "^3.4.16",
|
|
73
72
|
"typescript": "^5.7.2",
|
|
74
|
-
"vite": "^6.0.
|
|
73
|
+
"vite": "^6.0.6",
|
|
75
74
|
"vitest": "^2.1.8",
|
|
76
|
-
"@univerjs-infra/shared": "0.5.
|
|
77
|
-
},
|
|
78
|
-
"space": {
|
|
79
|
-
".": {
|
|
80
|
-
"import": "./lib/es/index.js",
|
|
81
|
-
"require": "./lib/cjs/index.js",
|
|
82
|
-
"types": "./lib/types/index.d.ts"
|
|
83
|
-
},
|
|
84
|
-
"./*": {
|
|
85
|
-
"import": "./lib/es/*",
|
|
86
|
-
"require": "./lib/cjs/*",
|
|
87
|
-
"types": "./lib/types/index.d.ts"
|
|
88
|
-
},
|
|
89
|
-
"./locale/*": {
|
|
90
|
-
"import": "./lib/es/locale/*.js",
|
|
91
|
-
"require": "./lib/cjs/locale/*.js",
|
|
92
|
-
"types": "./lib/types/locale/*.d.ts"
|
|
93
|
-
},
|
|
94
|
-
"./lib/*": "./lib/*"
|
|
75
|
+
"@univerjs-infra/shared": "0.5.3"
|
|
95
76
|
},
|
|
96
77
|
"scripts": {
|
|
97
78
|
"test": "vitest run",
|