@threadlabs/looma 0.6.5 → 0.7.1
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/components/ui-button/ui-button.html +103 -81
- package/components/ui-checkbox/ui-checkbox.html +4 -1
- package/components/ui-combobox/ui-combobox.html +40 -3
- package/components/ui-combobox/ui-combobox.js +27 -5
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -0
- package/components/ui-select/ui-select.html +3 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/styles/ui-button.css +111 -79
- package/styles/ui-checkbox.css +4 -1
- package/styles/ui-combobox.css +37 -0
- package/styles/ui-editor-table-context-menu.css +2 -0
- package/styles/ui-select.css +3 -4
- package/theme-dark.css +6 -30
- package/theme-high-contrast.css +30 -20
- package/theme-light.css +2 -16
- package/tokens.css +33 -24
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCombobox.js +1 -1
- package/vanilla/UiSelect.d.ts +0 -1
- package/vanilla/UiSelect.js +3 -6
- package/vue/UiButton.d.ts +2 -2
- package/vue/UiButton.vue +103 -96
- package/vue/UiCheckbox.vue +4 -1
- package/vue/UiCombobox.vue +46 -4
- package/vue/UiEditorTableContextMenu.vue +2 -0
- package/vue/UiSelect.d.ts +0 -2
- package/vue/UiSelect.vue +2 -6
- package/vue/chunks/UiButton.js +3 -3
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCombobox.js +2 -2
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiSelect.js +1 -7
- package/vue/components.css +253 -204
- package/vue/editor/index.js +4 -4
package/vue/editor/index.js
CHANGED
|
@@ -868,10 +868,7 @@ var LoomaEditor = defineComponent({
|
|
|
868
868
|
onFocusin: () => showTool(tablePickerAnchorId, "Insert table", true),
|
|
869
869
|
onFocusout: hideTool,
|
|
870
870
|
variant: tablePickerOpen.value ? "solid" : "ghost",
|
|
871
|
-
"aria-expanded": tablePickerOpen.value ? "true" : "false"
|
|
872
|
-
onClick: () => {
|
|
873
|
-
tablePickerOpen.value = !tablePickerOpen.value;
|
|
874
|
-
}
|
|
871
|
+
"aria-expanded": tablePickerOpen.value ? "true" : "false"
|
|
875
872
|
}, () => loomaIcon("table")),
|
|
876
873
|
commandButton(uploading.value ? "Uploading image" : "Insert image", "image", false, uploading.value || !props.uploadImage, () => fileInput.value?.click()),
|
|
877
874
|
h("span", {
|
|
@@ -1022,6 +1019,9 @@ var LoomaEditor = defineComponent({
|
|
|
1022
1019
|
open: tablePickerOpen.value,
|
|
1023
1020
|
for: tablePickerAnchorId,
|
|
1024
1021
|
placement: mobile.value ? "top-start" : "bottom-start",
|
|
1022
|
+
onOpen: () => {
|
|
1023
|
+
tablePickerOpen.value = true;
|
|
1024
|
+
},
|
|
1025
1025
|
onClose: () => {
|
|
1026
1026
|
tablePickerOpen.value = false;
|
|
1027
1027
|
}
|