@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avakhula/ui",
3
- "version": "0.0.107",
3
+ "version": "0.0.109",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
package/src/App.vue CHANGED
@@ -1,10 +1,16 @@
1
1
  <template>
2
- <ib-button @mouseenter="test" @mouseleave="test1"> test </ib-button>
2
+ <div id="test">
3
+ <ib-input v-tooltip="'test'" readonly />
4
+ </div>
3
5
  </template>
4
6
 
5
7
  <script>
6
- import IbButton from "./components/Button/Button.vue";
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
- IbButton,
23
+ IbInput,
18
24
  },
19
25
  };
20
26
  </script>
21
27
 
22
- <style>
23
- </style>
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: $neutral-500;
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 {