@univerjs/sheets-sort-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.
Files changed (2) hide show
  1. package/lib/index.css +1 -1
  2. package/package.json +11 -30
package/lib/index.css CHANGED
@@ -1 +1 @@
1
- *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*{scrollbar-color:initial;scrollbar-width:initial}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.univer-extend-confirm-content{font-size:14px}.univer-extend-confirm-radio-group{margin-top:16px}.univer-custom-sort-panel-container .univer-custom-sort-panel-ext{display:flex;justify-content:space-between;align-items:center}.univer-custom-sort-panel-container .univer-custom-sort-panel-ext .univer-add-condition{color:var(---Hyacinth-Blue-500, #274fee);font-size:16px;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.univer-custom-sort-panel-container .univer-custom-sort-panel-ext .univer-add-condition-text{margin-left:6px;font-size:12px}.univer-custom-sort-panel-container .univer-custom-sort-panel-ext .univer-add-condition-disable{color:var(---Black, #1e222b);opacity:.3;cursor:not-allowed}.univer-custom-sort-panel-container .univer-custom-sort-panel-footer{margin-top:20px;display:flex;justify-content:end}.univer-custom-sort-panel-container .univer-custom-sort-panel-footer-btn{margin-left:12px}.univer-custom-sort-panel-container .univer-custom-sort-panel-item{display:flex;align-items:center;border-bottom:1px solid var(--gray-200)}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-head{display:flex;align-items:center}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-handler{font-size:16px;display:flex;align-items:center;justify-content:center;color:#1e222b;cursor:pointer}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-remove{font-size:14px;color:#4b4b4b;cursor:pointer;width:14px;height:14px;position:absolute;right:0}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-column-input{display:flex;width:236px;padding:6px 10px;justify-content:space-between;align-items:center;margin-left:8px;border-radius:6px;border:1px solid var(---Grey-200, #e5e5e5);background:var(---White, #fff);color:var(---Black, #1e222b);font-family:PingFang SC;font-size:13px;font-style:normal;font-weight:400;line-height:20px;overflow:hidden}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-column-input-dropdown{width:16px;height:16px;color:#4b4b4b}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-column-input-text{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-order-radio{display:flex;padding:0 10px}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-order-radio-cn{display:flex;padding:0 20px}.univer-custom-sort-panel-container .univer-condition-list{max-height:310px;overflow-y:auto;overflow-x:hidden}.univer-embed-sort-btn-container{display:flex;margin-bottom:12px}.univer-embed-sort-btn-container .univer-embed-sort-btn{font-size:13px;font-style:normal;font-weight:400;display:flex;width:140px;padding:6px 0;justify-content:center;align-items:center;gap:4px;border:1px solid var(---Grey-200, #e5e5e5);cursor:default}.univer-embed-sort-btn-container .univer-embed-sort-btn:active{background:#1e222b17}.univer-embed-sort-btn-container .univer-embed-sort-btn:hover{background:var(--black-6, rgba(30, 34, 43, .06))}.univer-embed-sort-btn-container .univer-embed-sort-btn-asc{border-radius:6px 0 0 6px}.univer-embed-sort-btn-container .univer-embed-sort-btn-desc{border-radius:0 6px 6px 0;margin-left:-1px}.univer-embed-sort-btn-container .univer-embed-sort-btn-icon{font-size:16px;color:#1e222b;margin-right:4px}.univer-custom-sort-col-menu{display:grid;gap:var(--margin-xxs);align-items:center;box-sizing:border-box;margin-top:0;margin-bottom:0;padding:var(--padding-sm);font-size:var(--font-size-base);background:var(---White, #fff);border:1px solid var(--black-6, rgba(30, 34, 43, .06));border-radius:var(--Radius-4, 8px);box-shadow:0 4px 12px 2px #1e222b1a;max-height:310px;overflow-y:auto;overflow-x:hidden}.univer-custom-sort-col-menu li{list-style:none}.univer-custom-sort-col-menu-item{cursor:pointer;position:relative;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;height:28px;padding:0 8px;font-size:13px;font-weight:400;font-style:normal;line-height:20px;color:var(---Black, #1e222b);text-align:left;border-radius:4px;border-radius:var(--border-radius-base);transition:background .2s}.univer-custom-sort-col-menu-item:hover{background:#f5f5f5}.univer-custom-sort-col-menu-item-desc{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
1
+ .univer-extend-confirm-content{font-size:14px}.univer-extend-confirm-radio-group{margin-top:16px}.univer-custom-sort-panel-container .univer-custom-sort-panel-ext{display:flex;justify-content:space-between;align-items:center}.univer-custom-sort-panel-container .univer-custom-sort-panel-ext .univer-add-condition{color:var(---Hyacinth-Blue-500, #274fee);font-size:16px;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.univer-custom-sort-panel-container .univer-custom-sort-panel-ext .univer-add-condition-text{margin-left:6px;font-size:12px}.univer-custom-sort-panel-container .univer-custom-sort-panel-ext .univer-add-condition-disable{color:var(---Black, #1e222b);opacity:.3;cursor:not-allowed}.univer-custom-sort-panel-container .univer-custom-sort-panel-footer{margin-top:20px;display:flex;justify-content:end}.univer-custom-sort-panel-container .univer-custom-sort-panel-footer-btn{margin-left:12px}.univer-custom-sort-panel-container .univer-custom-sort-panel-item{display:flex;align-items:center;border-bottom:1px solid var(--gray-200)}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-head{display:flex;align-items:center}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-handler{font-size:16px;display:flex;align-items:center;justify-content:center;color:#1e222b;cursor:pointer}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-remove{font-size:14px;color:#4b4b4b;cursor:pointer;width:14px;height:14px;position:absolute;right:0}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-column-input{display:flex;width:236px;padding:6px 10px;justify-content:space-between;align-items:center;margin-left:8px;border-radius:6px;border:1px solid var(---Grey-200, #e5e5e5);background:var(---White, #fff);color:var(---Black, #1e222b);font-family:PingFang SC;font-size:13px;font-style:normal;font-weight:400;line-height:20px;overflow:hidden}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-column-input-dropdown{width:16px;height:16px;color:#4b4b4b}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-column-input-text{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-order-radio{display:flex;padding:0 10px}.univer-custom-sort-panel-container .univer-custom-sort-panel-item-order-radio-cn{display:flex;padding:0 20px}.univer-custom-sort-panel-container .univer-condition-list{max-height:310px;overflow-y:auto;overflow-x:hidden}.univer-embed-sort-btn-container{display:flex;margin-bottom:12px}.univer-embed-sort-btn-container .univer-embed-sort-btn{font-size:13px;font-style:normal;font-weight:400;display:flex;width:140px;padding:6px 0;justify-content:center;align-items:center;gap:4px;border:1px solid var(---Grey-200, #e5e5e5);cursor:default}.univer-embed-sort-btn-container .univer-embed-sort-btn:active{background:#1e222b17}.univer-embed-sort-btn-container .univer-embed-sort-btn:hover{background:var(--black-6, rgba(30, 34, 43, .06))}.univer-embed-sort-btn-container .univer-embed-sort-btn-asc{border-radius:6px 0 0 6px}.univer-embed-sort-btn-container .univer-embed-sort-btn-desc{border-radius:0 6px 6px 0;margin-left:-1px}.univer-embed-sort-btn-container .univer-embed-sort-btn-icon{font-size:16px;color:#1e222b;margin-right:4px}.univer-custom-sort-col-menu{display:grid;gap:var(--margin-xxs);align-items:center;box-sizing:border-box;margin-top:0;margin-bottom:0;padding:var(--padding-sm);font-size:var(--font-size-base);background:var(---White, #fff);border:1px solid var(--black-6, rgba(30, 34, 43, .06));border-radius:var(--Radius-4, 8px);box-shadow:0 4px 12px 2px #1e222b1a;max-height:310px;overflow-y:auto;overflow-x:hidden}.univer-custom-sort-col-menu li{list-style:none}.univer-custom-sort-col-menu-item{cursor:pointer;position:relative;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;height:28px;padding:0 8px;font-size:13px;font-weight:400;font-style:normal;line-height:20px;color:var(---Black, #1e222b);text-align:left;border-radius:4px;border-radius:var(--border-radius-base);transition:background .2s}.univer-custom-sort-col-menu-item:hover{background:#f5f5f5}.univer-custom-sort-col-menu-item-desc{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/sheets-sort-ui",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "private": false,
5
5
  "description": "Univer Sheets Sort UI",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -52,45 +52,26 @@
52
52
  "rxjs": ">=7.0.0"
53
53
  },
54
54
  "dependencies": {
55
- "@univerjs/icons": "^0.2.8",
55
+ "@univerjs/icons": "^0.2.10",
56
56
  "clsx": "^2.1.1",
57
57
  "rc-virtual-list": "^3.15.0",
58
- "@univerjs/core": "0.5.2",
59
- "@univerjs/design": "0.5.2",
60
- "@univerjs/engine-formula": "0.5.2",
61
- "@univerjs/sheets": "0.5.2",
62
- "@univerjs/sheets-sort": "0.5.2",
63
- "@univerjs/sheets-ui": "0.5.2",
64
- "@univerjs/ui": "0.5.2"
58
+ "@univerjs/engine-formula": "0.5.3",
59
+ "@univerjs/core": "0.5.3",
60
+ "@univerjs/design": "0.5.3",
61
+ "@univerjs/sheets-ui": "0.5.3",
62
+ "@univerjs/sheets-sort": "0.5.3",
63
+ "@univerjs/ui": "0.5.3",
64
+ "@univerjs/sheets": "0.5.3"
65
65
  },
66
66
  "devDependencies": {
67
67
  "less": "^4.2.1",
68
68
  "postcss": "^8.4.49",
69
69
  "react": "18.3.1",
70
70
  "rxjs": "^7.8.1",
71
- "tailwindcss": "^3.4.16",
72
71
  "typescript": "^5.7.2",
73
- "vite": "^6.0.3",
72
+ "vite": "^6.0.6",
74
73
  "vitest": "^2.1.8",
75
- "@univerjs-infra/shared": "0.5.2"
76
- },
77
- "space": {
78
- ".": {
79
- "import": "./lib/es/index.js",
80
- "require": "./lib/cjs/index.js",
81
- "types": "./lib/types/index.d.ts"
82
- },
83
- "./*": {
84
- "import": "./lib/es/*",
85
- "require": "./lib/cjs/*",
86
- "types": "./lib/types/index.d.ts"
87
- },
88
- "./locale/*": {
89
- "import": "./lib/es/locale/*.js",
90
- "require": "./lib/cjs/locale/*.js",
91
- "types": "./lib/types/locale/*.d.ts"
92
- },
93
- "./lib/*": "./lib/*"
74
+ "@univerjs-infra/shared": "0.5.3"
94
75
  },
95
76
  "scripts": {
96
77
  "test": "vitest run",