@mixd-id/web-scaffold 0.1.230406057 → 0.1.230406059
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/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<button type="button" ref="presetSelectorBtn"
|
|
8
8
|
class="flex-1 md:flex-none flex flex-row gap-1 items-center text-left md:ml-2"
|
|
9
9
|
@click="$refs.presetSelector.toggle($refs.presetSelectorBtn)">
|
|
10
|
-
<
|
|
10
|
+
<h2 class="overflow-hidden whitespace-nowrap text-ellipsis">{{ preset.name }}</h2>
|
|
11
11
|
<svg width="16" height="16" class="fill-text hover:fill-primary" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"/></svg>
|
|
12
12
|
</button>
|
|
13
13
|
<button type="button" @click="openPreset()">
|
|
@@ -573,7 +573,7 @@ export default{
|
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
.searchBox{
|
|
576
|
-
@apply !bg-base-
|
|
576
|
+
@apply !bg-base-400 md:w-[300px];
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
.header{
|
|
@@ -71,7 +71,7 @@ export default{
|
|
|
71
71
|
},
|
|
72
72
|
|
|
73
73
|
visibleStartIndex(){
|
|
74
|
-
return Math.
|
|
74
|
+
return Math.floor((this.scrollTop < 0 ? 0 : this.scrollTop) / this.itemHeight)
|
|
75
75
|
},
|
|
76
76
|
|
|
77
77
|
visibleItems(){
|
|
@@ -147,7 +147,7 @@ export default{
|
|
|
147
147
|
this.isOnEndScroll = false
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
},
|
|
150
|
+
}, 35),
|
|
151
151
|
|
|
152
152
|
passiveScrollSupported() {
|
|
153
153
|
let passiveSupported = false;
|
|
@@ -114,7 +114,7 @@ export default{
|
|
|
114
114
|
computed:{
|
|
115
115
|
|
|
116
116
|
visibleStartIndex(){
|
|
117
|
-
return Math.
|
|
117
|
+
return Math.floor((this.scrollTop < 0 ? 0 : this.scrollTop) / this.itemHeight)
|
|
118
118
|
},
|
|
119
119
|
|
|
120
120
|
sortedItems(){
|
|
@@ -239,7 +239,7 @@ export default{
|
|
|
239
239
|
this.isOnEndScroll = false
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
},
|
|
242
|
+
}, 35),
|
|
243
243
|
|
|
244
244
|
passiveScrollSupported() {
|
|
245
245
|
let passiveSupported = false;
|
|
@@ -84,7 +84,7 @@ const plugin = Plugin(function({ addBase, config, theme }) {
|
|
|
84
84
|
'-webkit-font-smoothing': 'antialiased',
|
|
85
85
|
'-moz-osx-font-smoothing': 'grayscale',
|
|
86
86
|
'text-rendering': 'optimizeLegibility',
|
|
87
|
-
'fontSize': '
|
|
87
|
+
'fontSize': '15px',
|
|
88
88
|
'touchAction': "pan-x pan-y",
|
|
89
89
|
'backgroundColor': 'rgba(var(--base-300), 100)'
|
|
90
90
|
},
|
package/src/utils/listpage1.js
CHANGED