@bagelink/vue 1.9.43 → 1.9.47
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/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
- package/dist/index.cjs +297 -58685
- package/dist/index.mjs +48089 -58212
- package/dist/style.css +1 -35634
- package/package.json +2 -1
- package/src/components/form/inputs/CodeEditor/Index.vue +2 -2
- package/src/form-flow/FormFlow.vue +1 -1
- package/src/styles/text.css +16 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.47",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Bagel Studio",
|
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
"scripts": {
|
|
92
92
|
"dev": "tsx watch src/index.ts",
|
|
93
93
|
"build": "vite build",
|
|
94
|
+
"test-build": "pnpm build && node test-build.js",
|
|
94
95
|
"start": "tsx src/index.ts",
|
|
95
96
|
"test": "vitest"
|
|
96
97
|
}
|
|
@@ -128,7 +128,7 @@ watch(() => props.modelValue, () => {
|
|
|
128
128
|
</script>
|
|
129
129
|
|
|
130
130
|
<template>
|
|
131
|
-
<div class="code-editor-container ltr" :style="{ maxHeight }">
|
|
131
|
+
<div class="code-editor-container ltr" :style="{ height: maxHeight }" :class="{ 'mb-2': label }">
|
|
132
132
|
<label v-if="label" class="label">{{ label }}</label>
|
|
133
133
|
<div v-if="loaded" ref="editorRef" class="code-editor-grandpa hljs">
|
|
134
134
|
<div class="editor-content-papa relative">
|
|
@@ -174,7 +174,7 @@ watch(() => props.modelValue, () => {
|
|
|
174
174
|
.editor-content-papa {
|
|
175
175
|
position: relative;
|
|
176
176
|
width: 100%;
|
|
177
|
-
|
|
177
|
+
min-height: 100%;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.code-display,
|
|
@@ -383,7 +383,7 @@ function validateAll(): boolean {
|
|
|
383
383
|
return isValid
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
// Submit handler for the slot
|
|
386
|
+
// Submit handler for the slot (arrow function preserves closure scope during bundling)
|
|
387
387
|
function handleSubmit(event?: Event): boolean {
|
|
388
388
|
// Prevent default form submission if event is provided
|
|
389
389
|
if (event) {
|
package/src/styles/text.css
CHANGED
|
@@ -10,6 +10,14 @@
|
|
|
10
10
|
text-align: end;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
.txt-left {
|
|
14
|
+
text-align: left;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.text-right {
|
|
18
|
+
text-align: right;
|
|
19
|
+
}
|
|
20
|
+
|
|
13
21
|
.txt-justify {
|
|
14
22
|
text-align: justify;
|
|
15
23
|
}
|
|
@@ -1471,6 +1479,14 @@
|
|
|
1471
1479
|
text-align: end;
|
|
1472
1480
|
}
|
|
1473
1481
|
|
|
1482
|
+
.m_txt-left {
|
|
1483
|
+
text-align: left;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
.m_txt-right {
|
|
1487
|
+
text-align: right;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1474
1490
|
.m_txt-justify {
|
|
1475
1491
|
text-align: justify;
|
|
1476
1492
|
}
|