@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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406057",
4
+ "version": "0.1.230406059",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -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
- <h4 class="overflow-hidden whitespace-nowrap text-ellipsis">{{ preset.name }}</h4>
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-300 dark:!bg-base-400 md:w-[300px];
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.round((this.scrollTop < 0 ? 0 : this.scrollTop) / this.itemHeight)
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
- }, 10),
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.round(this.scrollTop / this.itemHeight)
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
- }, 10),
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': '14px',
87
+ 'fontSize': '15px',
88
88
  'touchAction': "pan-x pan-y",
89
89
  'backgroundColor': 'rgba(var(--base-300), 100)'
90
90
  },
@@ -1354,6 +1354,13 @@ let ListPage1 = {
1354
1354
  })
1355
1355
  break
1356
1356
 
1357
+ case '<>':
1358
+ case '!=':
1359
+ whereValue.push({
1360
+ [Op.ne]: value
1361
+ })
1362
+ break
1363
+
1357
1364
  case 'empty':
1358
1365
  whereValue.push({
1359
1366
  [Op.or]: [