@avakhula/ui 0.0.107 → 0.0.109
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/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +18 -5
- package/src/components/Form/Checkbox/Checkbox.scss +21 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div id="test">
|
|
3
|
+
<ib-input v-tooltip="'test'" readonly />
|
|
4
|
+
</div>
|
|
3
5
|
</template>
|
|
4
6
|
|
|
5
7
|
<script>
|
|
6
|
-
import
|
|
8
|
+
import IbInput from "./components/Form/Input/Input.vue";
|
|
9
|
+
import { TooltipDirective as Tooltip } from "./directives/tooltip/tooltip";
|
|
7
10
|
export default {
|
|
11
|
+
directives: {
|
|
12
|
+
Tooltip
|
|
13
|
+
},
|
|
8
14
|
methods: {
|
|
9
15
|
test() {
|
|
10
16
|
console.log('test')
|
|
@@ -14,10 +20,17 @@ export default {
|
|
|
14
20
|
}
|
|
15
21
|
},
|
|
16
22
|
components: {
|
|
17
|
-
|
|
23
|
+
IbInput,
|
|
18
24
|
},
|
|
19
25
|
};
|
|
20
26
|
</script>
|
|
21
27
|
|
|
22
|
-
<style>
|
|
23
|
-
|
|
28
|
+
<style lang="scss">
|
|
29
|
+
#test {
|
|
30
|
+
width: 100vw;
|
|
31
|
+
height: 100vh;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
}
|
|
36
|
+
</style>
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
@import "../../../assets/scss/typography.scss";
|
|
3
3
|
@import "../../../assets/scss/mixins.scss";
|
|
4
4
|
|
|
5
|
-
$checkbox-bg-disabled: $
|
|
5
|
+
$checkbox-bg-disabled: $gray-100;
|
|
6
|
+
$checkbox-filed-bg-disabled: $neutral-500;
|
|
6
7
|
$checkbox-border-disabled: $neutral-500;
|
|
7
8
|
$checkbox-border: $gray-500;
|
|
8
9
|
$checkbox-bg: transparent;
|
|
@@ -198,6 +199,25 @@ $checkbox-bg-indeterminate: $blue-800;
|
|
|
198
199
|
.ib-checkbox-label {
|
|
199
200
|
color: $checkbox-text-color-disabled;
|
|
200
201
|
}
|
|
202
|
+
|
|
203
|
+
&.ib-checkbox-filled,
|
|
204
|
+
&.ib-checkbox-indeterminate{
|
|
205
|
+
.ib-checkbox-input {
|
|
206
|
+
background-color: $checkbox-filed-bg-disabled;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&:hover {
|
|
210
|
+
.ib-checkbox-input {
|
|
211
|
+
background-color: $checkbox-filed-bg-disabled;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&:active {
|
|
216
|
+
.ib-checkbox-input {
|
|
217
|
+
background-color: $checkbox-filed-bg-disabled;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
201
221
|
}
|
|
202
222
|
|
|
203
223
|
&.ib-has-error {
|