@avakhula/ui 0.0.503 → 0.0.505-alpha.10
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/index.js +16271 -2983
- package/dist/index.umd.cjs +167 -22
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Button/button.scss +1 -0
- package/src/components/Dropdown/DropdownItem.vue +1 -1
- package/src/components/Form/Checkbox/Checkbox.vue +2 -0
- package/src/components/Form/Label/Label.vue +7 -4
- package/src/components/Form/Radio/radio.scss +0 -0
- package/src/components/Popover/Popover.vue +4 -4
- package/src/directives/tooltip/TooltipController.js +0 -0
- package/src/index.js +2 -0
package/package.json
CHANGED
|
@@ -9,18 +9,17 @@
|
|
|
9
9
|
class="info-button"
|
|
10
10
|
kind="ghost"
|
|
11
11
|
type="button"
|
|
12
|
+
v-tooltip:[tooltipPosition]="infoText"
|
|
12
13
|
>
|
|
13
14
|
<ib-icon name="information-circle-outline" />
|
|
14
|
-
|
|
15
|
-
<ib-tooltip :text="infoText" :position="tooltipPosition"></ib-tooltip>
|
|
16
15
|
</ib-icon-button>
|
|
17
16
|
</label>
|
|
18
17
|
</template>
|
|
19
18
|
|
|
20
19
|
<script>
|
|
21
20
|
import IbIconButton from "../../IconButton/IconButton.vue";
|
|
22
|
-
import IbTooltip from "../../Tooltip/Tooltip.vue";
|
|
23
21
|
import IbIcon from "../../Icon.vue";
|
|
22
|
+
import { TooltipDirective as Tooltip } from "../../../directives/tooltip/tooltip";
|
|
24
23
|
|
|
25
24
|
export default {
|
|
26
25
|
name: "IbLabel",
|
|
@@ -68,7 +67,9 @@ export default {
|
|
|
68
67
|
components: {
|
|
69
68
|
IbIconButton,
|
|
70
69
|
IbIcon,
|
|
71
|
-
|
|
70
|
+
},
|
|
71
|
+
directives: {
|
|
72
|
+
Tooltip,
|
|
72
73
|
},
|
|
73
74
|
};
|
|
74
75
|
</script>
|
|
@@ -109,6 +110,8 @@ export default {
|
|
|
109
110
|
.info-button {
|
|
110
111
|
display: inline-block;
|
|
111
112
|
margin-left: 3px;
|
|
113
|
+
position: relative;
|
|
114
|
+
|
|
112
115
|
.ib-icon {
|
|
113
116
|
color: $gray-600;
|
|
114
117
|
font-size: 16px;
|
|
File without changes
|
|
@@ -33,10 +33,10 @@ export default {
|
|
|
33
33
|
this.parentNode = this.$el.parentNode;
|
|
34
34
|
|
|
35
35
|
if (!this.alwaysVisible) {
|
|
36
|
-
this.parentNode
|
|
37
|
-
this.parentNode
|
|
38
|
-
this.parentNode
|
|
39
|
-
this.parentNode
|
|
36
|
+
this.parentNode?.addEventListener("focus", this.showPopover, true);
|
|
37
|
+
this.parentNode?.addEventListener("blur", this.hidePopover, true);
|
|
38
|
+
this.parentNode?.addEventListener("mouseover", this.showPopover);
|
|
39
|
+
this.parentNode?.addEventListener("mouseleave", this.hidePopover);
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
},
|
|
File without changes
|
package/src/index.js
CHANGED
|
@@ -38,6 +38,8 @@ export { default as IbToggle } from "./components/Form/Toggle/Toggle.vue";
|
|
|
38
38
|
export { default as IbTextarea } from "./components/Form/Textarea/Textarea.vue";
|
|
39
39
|
export { default as IbTreeSelect } from "./components/TreeSelect/Select.vue";
|
|
40
40
|
export { default as IbDatePicker } from "./components/Form/DatePicker/DatePicker.vue";
|
|
41
|
+
export { default as IbPhoneInput } from "./components/Form/PhoneInput/PhoneInput.vue";
|
|
42
|
+
export { default as IbTextEditor } from "./components/Form/TextEditor/TextEditor.vue";
|
|
41
43
|
|
|
42
44
|
// Table
|
|
43
45
|
export { default as IbTable } from "./components/Table/Table.vue";
|