@nmorph/nmorph-ui-kit 3.0.11 → 3.0.13
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/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/index.umd.js +4 -4
- package/dist/package.json.js +1 -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
|
@@ -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}
|