@nmorph/nmorph-ui-kit 3.0.11 → 3.0.14
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/assets/icons/cross.svg.js +1 -1
- package/dist/components/basic/nmorph-button/NmorphButton.vue.js +11 -10
- package/dist/components/basic/nmorph-button/NmorphButton.vue2.js +9 -9
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.css +1 -1
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue2.js +3 -0
- package/dist/components/feedback/nmorph-guide/NmorphGuide.vue2.js +82 -73
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.css +1 -1
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue.js +22 -23
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue2.js +36 -28
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.css +1 -1
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.css +1 -1
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.js +21 -27
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue2.js +4 -4
- package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.css +1 -1
- package/dist/components/form/nmorph-textarea/NmorphTextarea.css +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/package.json.js +1 -1
- package/dist/src/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-media-gallery/types.d.ts +2 -1
- package/dist/src/components/feedback/nmorph-guide/NmorphGuide.vue.d.ts +2 -0
- package/dist/src/components/feedback/nmorph-guide/types.d.ts +5 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,36 +1,30 @@
|
|
|
1
1
|
import './NmorphErrorBox.css';
|
|
2
|
-
import
|
|
3
|
-
import { openBlock as
|
|
2
|
+
import n from "./NmorphErrorBox.vue2.js";
|
|
3
|
+
import { openBlock as o, createElementBlock as e, normalizeClass as m, createVNode as t, Transition as i, withCtx as c, toDisplayString as p, createCommentVNode as a } from "vue";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
function
|
|
7
|
-
return
|
|
5
|
+
import s from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
function f(l, _, h, r, d, u) {
|
|
7
|
+
return o(), e(
|
|
8
8
|
"div",
|
|
9
9
|
{
|
|
10
|
-
class: m(
|
|
10
|
+
class: m(r.modifiers)
|
|
11
11
|
},
|
|
12
12
|
[
|
|
13
|
-
i
|
|
13
|
+
t(i, {
|
|
14
14
|
name: "list",
|
|
15
|
-
|
|
15
|
+
mode: "out-in"
|
|
16
16
|
}, {
|
|
17
|
-
default:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
1
|
|
29
|
-
/* TEXT */
|
|
30
|
-
))),
|
|
31
|
-
128
|
|
32
|
-
/* KEYED_FRAGMENT */
|
|
33
|
-
))
|
|
17
|
+
default: c(() => [
|
|
18
|
+
r.currentError ? (o(), e(
|
|
19
|
+
"p",
|
|
20
|
+
{
|
|
21
|
+
key: r.currentError,
|
|
22
|
+
class: "nmorph-error-box__error"
|
|
23
|
+
},
|
|
24
|
+
p(r.currentError),
|
|
25
|
+
1
|
|
26
|
+
/* TEXT */
|
|
27
|
+
)) : a("v-if", !0)
|
|
34
28
|
]),
|
|
35
29
|
_: 1
|
|
36
30
|
/* STABLE */
|
|
@@ -40,7 +34,7 @@ function _(h, d, u, e, x, k) {
|
|
|
40
34
|
/* CLASS */
|
|
41
35
|
);
|
|
42
36
|
}
|
|
43
|
-
const
|
|
37
|
+
const N = /* @__PURE__ */ s(n, [["render", f], ["__file", "/home/runner/work/nmorph/nmorph/library/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue"]]);
|
|
44
38
|
export {
|
|
45
|
-
|
|
39
|
+
N as default
|
|
46
40
|
};
|
|
@@ -2,7 +2,7 @@ import './NmorphErrorBox.css';
|
|
|
2
2
|
import { defineComponent as p, computed as s } from "vue";
|
|
3
3
|
import { useModifiers as u } from "../../../../../../../utils/create-modifiers.js";
|
|
4
4
|
import { NmorphComponentThickness as c } from "../../../../../../../types/common.types.js";
|
|
5
|
-
const
|
|
5
|
+
const d = /* @__PURE__ */ p({
|
|
6
6
|
__name: "NmorphErrorBox",
|
|
7
7
|
props: {
|
|
8
8
|
thickness: { type: null, required: !1, default: "basic" },
|
|
@@ -13,16 +13,16 @@ const h = /* @__PURE__ */ p({
|
|
|
13
13
|
i();
|
|
14
14
|
const e = n, t = s(() => {
|
|
15
15
|
const r = Array.isArray(e.errors) ? e.errors : e.errors.value;
|
|
16
|
-
return r.length ?
|
|
16
|
+
return r.length ? r[r.length - 1] : "";
|
|
17
17
|
}), a = s(
|
|
18
18
|
() => u({
|
|
19
19
|
nmorph: [c[e.thickness]],
|
|
20
|
-
"nmorph-error-box": [e.staticHeight && "static-height", t.value
|
|
20
|
+
"nmorph-error-box": [e.staticHeight && "static-height", !t.value && "empty"]
|
|
21
21
|
})
|
|
22
22
|
), o = { props: e, currentError: t, modifiers: a };
|
|
23
23
|
return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
d as default
|
|
28
28
|
};
|
package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.nmorph-select-option{--nmorph-private-select-option-hover-background: var(--nmorph-accent-color);--nmorph-private-select-option-hover-color: var(--nmorph-white-color);display:flex;gap:var(--indentation-01);justify-content:space-between;align-items:center;box-sizing:border-box;min-width:0;padding:var(--indentation-00) var(--default-indentation-input);cursor:pointer}.nmorph-select-option .nmorph-select-option__content{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transform:translateY(var(--nmorph-private-control-text-offset-y))}.nmorph-select-option .nmorph-select-option__content span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nmorph-select-option .nmorph-select-option__checked{flex:0 0 auto}.nmorph-select-option:not(.nmorph-select-option--disabled):hover{
|
|
1
|
+
.nmorph-select-option{--nmorph-private-select-option-hover-background: var(--nmorph-accent-color);--nmorph-private-select-option-hover-color: var(--nmorph-white-color);display:flex;gap:var(--indentation-01);justify-content:space-between;align-items:center;box-sizing:border-box;min-width:0;padding:var(--indentation-00) var(--default-indentation-input);cursor:pointer}.nmorph-select-option .nmorph-select-option__content{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transform:translateY(var(--nmorph-private-control-text-offset-y))}.nmorph-select-option .nmorph-select-option__content span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nmorph-select-option .nmorph-select-option__checked{flex:0 0 auto}.nmorph-select-option:not(.nmorph-select-option--disabled):hover{color:var(--nmorph-private-select-option-hover-color);background:var(--nmorph-private-select-option-hover-background);--nmorph-private-icon-color: var(--nmorph-private-select-option-hover-color)}.nmorph-select-option:not(.nmorph-select-option--disabled):hover :where(*){color:inherit}.nmorph-select-option.nmorph-select-option--focused:not(.nmorph-select-option--disabled){color:var(--nmorph-private-select-option-hover-color);background:var(--nmorph-private-select-option-hover-background);--nmorph-private-icon-color: var(--nmorph-private-select-option-hover-color)}.nmorph-select-option.nmorph-select-option--focused:not(.nmorph-select-option--disabled) :where(*){color:inherit}.nmorph-select-option.nmorph-select-option--disabled{cursor:not-allowed;opacity:.6;pointer-events:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nmorph-textarea{height:auto}.nmorph-textarea textarea{display:block;box-sizing:border-box;width:100%;min-width:0;padding:var(--indentation-03) var(--indentation-03) var(--indentation-03) var(--nmorph-private-textarea-indentation);color:var(--nmorph-text-color);font:inherit;line-height:var(--line-height-regular);background:var(--nmorph-main-color);border:none;border-radius:var(--default-border-radius);box-shadow:var(--nmorph-shadow-inset);
|
|
1
|
+
.nmorph-textarea{height:auto}.nmorph-textarea textarea{display:block;box-sizing:border-box;width:100%;min-width:0;padding:var(--indentation-03) var(--indentation-03) var(--indentation-03) var(--nmorph-private-textarea-indentation);color:var(--nmorph-text-color);font:inherit;line-height:var(--line-height-regular);background:var(--nmorph-main-color);border:none;border-radius:var(--default-border-radius);box-shadow:var(--nmorph-shadow-inset);resize:var(--nmorph-private-textarea-resize)}.nmorph-textarea textarea:focus{color:var(--nmorph-focus-text-color);background:var(--nmorph-accent-color);outline:none;box-shadow:var(--nmorph-shadow-outset)}.nmorph-textarea textarea:disabled{cursor:not-allowed;opacity:.6;resize:none}.nmorph-textarea.nmorph-textarea--auto-size textarea{overflow-y:hidden}
|