@mixd-id/web-scaffold 0.1.230406256 → 0.1.230406257

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.230406256",
4
+ "version": "0.1.230406257",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -151,7 +151,7 @@ export default {
151
151
  }
152
152
 
153
153
  .indicator{
154
- @apply w-[21px] h-[21px] rounded-lg border-[1px] border-text-200 bg-base-50;
154
+ @apply w-[21px] h-[21px] rounded-lg border-[1px] border-text-200 bg-base-500;
155
155
  @apply flex items-center justify-center overflow-hidden;
156
156
  transition: border 300ms cubic-bezier(0.25, 1, 0.5, 1);
157
157
  }
@@ -36,7 +36,7 @@
36
36
  </div>
37
37
  <div class="flex justify-center">
38
38
  <button type="button" @click="add" class="p-2">
39
- <svg width="16" height="16" class="fill-primary" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M384 250v12c0 6.6-5.4 12-12 12h-98v98c0 6.6-5.4 12-12 12h-12c-6.6 0-12-5.4-12-12v-98h-98c-6.6 0-12-5.4-12-12v-12c0-6.6 5.4-12 12-12h98v-98c0-6.6 5.4-12 12-12h12c6.6 0 12 5.4 12 12v98h98c6.6 0 12 5.4 12 12zm120 6c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-32 0c0-119.9-97.3-216-216-216-119.9 0-216 97.3-216 216 0 119.9 97.3 216 216 216 119.9 0 216-97.3 216-216z"/></svg>
39
+ <svg width="16" height="16" class="fill-primary" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.0.0-alpha3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --><path d="M352 232H280V160c0-13.26-10.74-24-23.1-24S232 146.7 232 160v72H160C146.7 232 136 242.7 136 256c0 13.25 10.75 24 24 24H232V352c0 13.25 10.75 24 24 24S280 365.3 280 352V280h72C365.3 280 376 269.3 376 256C376 242.7 365.3 232 352 232zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"/></svg>
40
40
  </button>
41
41
  </div>
42
42
  </div>
@@ -46,7 +46,7 @@
46
46
 
47
47
  export default{
48
48
 
49
- emits: [ 'update:modelValue' ],
49
+ emits: [ 'change', 'update:modelValue' ],
50
50
 
51
51
  props: {
52
52
 
@@ -81,6 +81,7 @@ export default{
81
81
  console.log(modelValue)
82
82
 
83
83
  this.$emit('update:modelValue', modelValue)
84
+ this.$emit('change', modelValue)
84
85
  },
85
86
 
86
87
  updateValue(){
@@ -111,7 +112,7 @@ export default{
111
112
  <style module>
112
113
 
113
114
  .comp{
114
- @apply border-[1px] border-text-200 bg-base-50 rounded-lg;
115
+ @apply border-[1px] border-text-200 bg-base-500 rounded-lg;
115
116
  @apply inline-flex flex-col divide-y divide-text-100;
116
117
  }
117
118
 
@@ -161,7 +161,7 @@ export default {
161
161
 
162
162
  .dropdown{
163
163
  @apply flex items-center rounded-lg overflow-hidden cursor-pointer relative;
164
- @apply border-[1px] border-text-200 bg-base-50;
164
+ @apply border-[1px] border-text-200 bg-base-500;
165
165
  }
166
166
  .dropdown:not(.readonly){
167
167
  @apply hover:border-text-300;
@@ -22,7 +22,7 @@
22
22
  @mousedown="(e) => $util.dragResize(e, resize1)"></div>
23
23
  </div>
24
24
 
25
- <div class="flex-1 flex flex-col gap-6" :class="containerClass">
25
+ <div class="flex-1 flex flex-col gap-3" :class="containerClass">
26
26
 
27
27
  <slot name="head"
28
28
  :preset="preset"
@@ -85,7 +85,7 @@
85
85
 
86
86
  <VirtualTable v-if="presetView === 'table'"
87
87
  :columns="columns"
88
- class="flex-1 rounded-lg panel-400"
88
+ class="flex-1 rounded-lg"
89
89
  :items="data.items"
90
90
  @scroll-end="loadNext">
91
91
 
@@ -144,6 +144,7 @@ export default{
144
144
  <style module>
145
145
 
146
146
  .comp{
147
+ @apply bg-base-500;
147
148
  }
148
149
 
149
150
  .comp .dragover{
@@ -138,7 +138,7 @@ export default{
138
138
  <style module>
139
139
 
140
140
  .textarea{
141
- @apply flex items-start border-[1px] border-text-200 bg-base-50 rounded-lg overflow-hidden;
141
+ @apply flex items-start border-[1px] border-text-200 bg-base-500 rounded-lg overflow-hidden;
142
142
  @apply !max-h-[200px];
143
143
  }
144
144
  .textarea textarea{
@@ -85,7 +85,7 @@ export default{
85
85
  }
86
86
 
87
87
  .indicator{
88
- @apply w-[21px] h-[21px] border-[1px] rounded-full border-text-200 panel-500;
88
+ @apply w-[21px] h-[21px] border-[1px] rounded-full border-text-200 bg-base-500;
89
89
  @apply flex items-center justify-center overflow-hidden;
90
90
  transition: border 300ms cubic-bezier(0.25, 1, 0.5, 1);
91
91
  }
@@ -140,7 +140,7 @@ export default{
140
140
 
141
141
  .textarea{
142
142
  @apply min-h-[var(--h-cp)];
143
- @apply flex items-start border-[1px] border-text-200 bg-base-50 rounded-lg overflow-hidden;
143
+ @apply flex items-start border-[1px] border-text-200 bg-base-500 rounded-lg overflow-hidden;
144
144
  @apply !max-h-[200px];
145
145
  }
146
146
  .textarea textarea{
@@ -178,7 +178,7 @@ export default{
178
178
 
179
179
  .textbox{
180
180
  @apply flex items-center;
181
- @apply border-[1px] border-text-200 panel-500 rounded-lg;
181
+ @apply border-[1px] border-text-200 bg-base-500 rounded-lg;
182
182
  @apply overflow-hidden;
183
183
  }
184
184
 
@@ -430,8 +430,8 @@ export default{
430
430
  <style module>
431
431
 
432
432
  .comp{
433
- @apply flex flex-col overflow-hidden;
434
- @apply border-[1px] border-text-50 rounded-sm;
433
+ @apply flex flex-col overflow-hidden bg-base-500;
434
+ @apply border-[1px] border-text-200 rounded-sm;
435
435
  }
436
436
 
437
437
  .comp>*:last-child{
@@ -439,7 +439,7 @@ export default{
439
439
  }
440
440
 
441
441
  .header{
442
- @apply border-b-[1px] border-text-50;
442
+ @apply border-b-[1px] border-text-200;
443
443
  }
444
444
 
445
445
  .headerCol{
@@ -476,7 +476,7 @@ export default{
476
476
  }
477
477
 
478
478
  .table tbody td{
479
- @apply border-b-[1px] border-text-50;
479
+ @apply border-b-[1px] border-text-200;
480
480
  }
481
481
  .table tbody td:nth-child(odd){
482
482
  }
@@ -498,7 +498,7 @@ export default{
498
498
  }
499
499
 
500
500
  .separator{
501
- @apply w-[5px] absolute top-0 bottom-0 right-0 cursor-e-resize border-text-50;
501
+ @apply w-[5px] absolute top-0 bottom-0 right-0 cursor-e-resize border-text-200;
502
502
  @apply border-r-[1px];
503
503
  }
504
504
  .table th:hover .separator{
@@ -22,12 +22,12 @@ const plugin = Plugin(function({ addBase, addUtilities, config, theme }) {
22
22
  '--base-500': '255, 255, 255',
23
23
  '--base': '255, 255, 255',
24
24
 
25
- "--text-50": '234, 234, 234',
26
- "--text-100": '223, 223, 223',
27
- "--text-200": '218, 218, 218',
25
+ "--text-50": '220, 220, 220',
26
+ "--text-100": '210, 210, 210',
27
+ "--text-200": '201, 201, 201',
28
28
  "--text-300": '191, 191, 191',
29
- "--text-400": '136, 136, 136',
30
- "--text-500": '136, 136, 136',
29
+ "--text-400": '116, 116, 116',
30
+ "--text-500": '86, 86, 86',
31
31
  "--text": '31, 41, 55',
32
32
 
33
33
  "--primary": '81, 131, 240',
@@ -60,6 +60,9 @@ const plugin = Plugin(function({ addBase, addUtilities, config, theme }) {
60
60
  '--facebook-100': '205, 215, 231',
61
61
  '--facebook-500': '8, 102, 255',
62
62
 
63
+ '--panel-300': 'rgb(235, 237, 240)',
64
+ '--panel-400': 'rgb(245, 247, 250)',
65
+ '--panel-500': 'rgb(255, 255, 255)',
63
66
  },
64
67
 
65
68
  'html[data-theme="dark"], .html[data-theme="dark"]': {
@@ -93,6 +96,10 @@ const plugin = Plugin(function({ addBase, addUtilities, config, theme }) {
93
96
  "--secondary-700": '95, 98, 103',
94
97
  "--secondary-800": '115, 118, 122',
95
98
  "--secondary-900": '135, 137, 141',
99
+
100
+ "--panel-300": 'rgb(0, 0, 0)',
101
+ "--panel-400": 'rgb(17, 21, 28)',
102
+ "--panel-500": 'rgb(27, 31, 38)',
96
103
  },
97
104
 
98
105
  'body': {
@@ -227,28 +234,22 @@ const plugin = Plugin(function({ addBase, addUtilities, config, theme }) {
227
234
  transform: 'scale(.9)'
228
235
  },
229
236
 
230
- '.panel-50': {
231
- '--webkit-backdrop-filter': 'var(--panel-50-backdrop-filter)',
232
- 'backdrop-filter': 'var(--panel-50-backdrop-filter)',
233
- 'background-color': 'rgb(var(--base-50))',
234
- },
235
-
236
237
  '.panel-300': {
237
238
  '--webkit-backdrop-filter': 'var(--panel-300-backdrop-filter)',
238
239
  'backdrop-filter': 'var(--panel-300-backdrop-filter)',
239
- 'background-color': 'rgb(var(--base-300))',
240
+ 'background-color': 'var(--panel-300)',
240
241
  },
241
242
 
242
243
  '.panel-400': {
243
244
  '--webkit-backdrop-filter': 'var(--panel-400-backdrop-filter)',
244
245
  'backdrop-filter': 'var(--panel-400-backdrop-filter)',
245
- 'background-color': 'rgb(var(--base-400))',
246
+ 'background-color': 'var(--panel-400)',
246
247
  },
247
248
 
248
249
  '.panel-500': {
249
250
  '--webkit-backdrop-filter': 'var(--panel-500-backdrop-filter)',
250
251
  'backdrop-filter': 'var(--panel-500-backdrop-filter)',
251
- 'background-color': 'rgb(var(--base-500))',
252
+ 'background-color': 'var(--panel-500)',
252
253
  },
253
254
 
254
255
  })