@bagelink/vue 0.0.211 → 0.0.214

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.
@@ -1,36 +1,36 @@
1
1
  <template>
2
- <div
3
- class="bagel-input checkbox"
4
- :class="{ check: context?.attrs.isCheckbox }"
5
- :title="context?.help"
6
- >
7
- <label class="switch">
8
- <input
9
- @change="() => props.context?.node.input(inputVal)"
10
- type="checkbox"
11
- v-model="inputVal"
12
- :id="context?.id"
13
- />
14
- <span class="slider round" />
15
- </label>
16
- </div>
2
+ <div
3
+ class="bagel-input checkbox"
4
+ :class="{ check: context?.attrs.isCheckbox }"
5
+ :title="context?.help"
6
+ >
7
+ <label class="switch">
8
+ <input
9
+ @change="() => props.context?.node.input(inputVal)"
10
+ type="checkbox"
11
+ v-model="inputVal"
12
+ :id="context?.id"
13
+ >
14
+ <span class="slider round" />
15
+ </label>
16
+ </div>
17
17
  </template>
18
18
 
19
19
  <script setup lang="ts">
20
- import { watch } from "vue";
20
+ import { watch } from 'vue';
21
21
 
22
22
  const props = defineProps({
23
- context: Object,
23
+ context: Object,
24
24
  });
25
25
 
26
26
  let inputVal = $ref(false);
27
27
 
28
28
  watch(
29
- () => props.context?.value,
30
- (newVal) => {
31
- inputVal = newVal;
32
- },
33
- { immediate: true }
29
+ () => props.context?.value,
30
+ (newVal) => {
31
+ inputVal = newVal;
32
+ },
33
+ { immediate: true },
34
34
  );
35
35
  </script>
36
36
 
@@ -8,7 +8,6 @@
8
8
  --bgl-primary: #2E5BFF;
9
9
  --bgl-primary-tint: #2E5BFF80;
10
10
  --bgl-primary-light: #eef6ff;
11
-
12
11
  --bgl-blue-20: rgba(46, 91, 255, 20%);
13
12
  --bgl-blue-dark: #191c30;
14
13
  --bgl-blue-light: #eef6ff;
@@ -107,13 +106,6 @@
107
106
  justify-content: flex-end;
108
107
  }
109
108
 
110
- body {
111
- background-color: var(--bgl-bg);
112
- color: var(--bgl-black);
113
- font-family: var(--bgl-font);
114
- overflow: hidden;
115
- }
116
-
117
109
  * {
118
110
  box-sizing: border-box;
119
111
  }