@mixd-id/web-scaffold 0.2.240704 → 0.2.240705

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.2.240704",
4
+ "version": "0.2.240705",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -169,21 +169,14 @@ export default{
169
169
 
170
170
  .button-primary {
171
171
  @apply bg-primary-500 text-white rounded-lg;
172
+ @apply hover:bg-primary-600 focus:border-primary-300;
172
173
  box-shadow: 0 2px 1px rgba(0, 0, 0, .05);
173
174
  border: solid 1px rgb(var(--primary-500));
174
175
  }
175
176
 
176
- .button-primary:focus {
177
- border-color: rgb(var(--primary-600));
178
- }
179
-
180
- .button-primary:hover {
181
- @apply bg-primary-600;
182
- }
183
-
184
177
  .button-primary-disabled,
185
178
  .button-primary-disabled:hover {
186
- @apply bg-primary-500 top-0 left-0 cursor-not-allowed text-opacity-50;
179
+ @apply bg-primary-300 border-primary-300 top-0 left-0 cursor-not-allowed text-opacity-50;
187
180
  @apply top-0 left-0;
188
181
  }
189
182
 
@@ -634,7 +634,9 @@ export default{
634
634
  else{
635
635
  return this.socket.send(this.presetSrc, { key:this.presetKey })
636
636
  .then(async (config) => {
637
- this._config = config
637
+ !config ?
638
+ await this.loadDefaultConfig() :
639
+ this._config = config
638
640
  })
639
641
  .catch(() => {})
640
642
  }
@@ -222,7 +222,7 @@ export default{
222
222
  }
223
223
 
224
224
  .resize2 {
225
- @apply h-[3px] cursor-n-resize absolute top-0 right-0 left-0 bg-red-500;
225
+ @apply h-[3px] cursor-n-resize absolute top-0 right-0 left-0 bg-red-500 z-50;
226
226
  }
227
227
 
228
228
  </style>