@nmorph/nmorph-ui-kit 3.0.16 → 3.0.18

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.
Files changed (112) hide show
  1. package/dist/components/basic/nmorph-button/NmorphButton.vue2.js +6 -6
  2. package/dist/components/basic/nmorph-layout/NmorphLayout.vue.js +32 -29
  3. package/dist/components/basic/nmorph-layout/NmorphLayout.vue2.js +13 -11
  4. package/dist/components/basic/nmorph-link/NmorphLink.css +1 -1
  5. package/dist/components/basic/nmorph-link/NmorphLink.vue2.js +7 -7
  6. package/dist/components/basic/nmorph-space/NmorphSpace.vue.js +18 -15
  7. package/dist/components/basic/nmorph-space/NmorphSpace.vue2.js +19 -17
  8. package/dist/components/basic/nmorph-text/NmorphText.vue.js +21 -18
  9. package/dist/components/basic/nmorph-text/NmorphText.vue2.js +23 -15
  10. package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.css +1 -1
  11. package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.vue2.js +15 -15
  12. package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.css +1 -1
  13. package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.vue2.js +8 -8
  14. package/dist/components/data/nmorph-badge/NmorphBadge.vue2.js +1 -1
  15. package/dist/components/data/nmorph-card/NmorphCard.vue.js +36 -33
  16. package/dist/components/data/nmorph-card/NmorphCard.vue2.js +22 -20
  17. package/dist/components/data/nmorph-empty/NmorphEmpty.css +1 -1
  18. package/dist/components/data/nmorph-file-card/NmorphFileCard.css +1 -1
  19. package/dist/components/data/nmorph-file-card/NmorphFileCard.vue2.js +12 -12
  20. package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.css +1 -1
  21. package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.js +11 -11
  22. package/dist/components/data/nmorph-media-tile/NmorphMediaTile.css +1 -1
  23. package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.css +1 -1
  24. package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.js +23 -26
  25. package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue2.js +21 -19
  26. package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.css +1 -1
  27. package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue.js +40 -43
  28. package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue2.js +60 -59
  29. package/dist/components/feedback/nmorph-alert/NmorphAlert.css +1 -1
  30. package/dist/components/feedback/nmorph-callout/NmorphCallout.css +1 -1
  31. package/dist/components/feedback/nmorph-callout/NmorphCallout.vue.js +37 -34
  32. package/dist/components/feedback/nmorph-callout/NmorphCallout.vue2.js +25 -16
  33. package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue.js +21 -23
  34. package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue2.js +32 -30
  35. package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue.js +16 -18
  36. package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue2.js +32 -30
  37. package/dist/components/feedback/nmorph-guide/NmorphGuide.vue2.js +3 -3
  38. package/dist/components/feedback/nmorph-guide/NmorphGuideStep.css +1 -1
  39. package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue.js +37 -39
  40. package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue2.js +26 -21
  41. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.css +1 -1
  42. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.css +1 -1
  43. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue.js +13 -14
  44. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue2.js +34 -29
  45. package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.js +24 -29
  46. package/dist/components/others/nmorph-overlay/NmorphOverlay.vue2.js +38 -36
  47. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.css +1 -1
  48. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.js +29 -32
  49. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue2.js +51 -49
  50. package/dist/hooks/use-common-styles.js +17 -5
  51. package/dist/index.umd.js +40 -28
  52. package/dist/outside-hooks/use-nmorph-theme.js +13 -13
  53. package/dist/package.json.js +1 -1
  54. package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +5 -6
  55. package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +1 -1
  56. package/dist/src/components/basic/nmorph-layout/NmorphLayout.vue.d.ts +7 -1
  57. package/dist/src/components/basic/nmorph-link/NmorphLink.vue.d.ts +3 -4
  58. package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +3 -3
  59. package/dist/src/components/basic/nmorph-space/NmorphSpace.vue.d.ts +3 -3
  60. package/dist/src/components/basic/nmorph-text/NmorphText.vue.d.ts +6 -3
  61. package/dist/src/components/basic/nmorph-text/types.d.ts +3 -0
  62. package/dist/src/components/data/nmorph-audio-meter/NmorphAudioMeter.vue.d.ts +0 -6
  63. package/dist/src/components/data/nmorph-audio-preview/NmorphAudioPreview.vue.d.ts +4 -4
  64. package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +1 -1
  65. package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +4 -5
  66. package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +1 -1
  67. package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +6 -2
  68. package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +1 -1
  69. package/dist/src/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue.d.ts +2 -2
  70. package/dist/src/components/data/nmorph-empty/NmorphEmpty.vue.d.ts +1 -1
  71. package/dist/src/components/data/nmorph-file-card/NmorphFileCard.vue.d.ts +4 -4
  72. package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +1 -1
  73. package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -1
  74. package/dist/src/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.d.ts +2 -2
  75. package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +1 -1
  76. package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +1 -1
  77. package/dist/src/components/data/nmorph-video-preview/NmorphVideoPreview.vue.d.ts +4 -4
  78. package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +1 -1
  79. package/dist/src/components/feedback/nmorph-callout/NmorphCallout.vue.d.ts +7 -4
  80. package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +4 -1
  81. package/dist/src/components/feedback/nmorph-drawer/NmorphDrawer.vue.d.ts +6 -2
  82. package/dist/src/components/feedback/nmorph-guide/NmorphGuide.vue.d.ts +2 -2
  83. package/dist/src/components/feedback/nmorph-guide/NmorphGuideStep.vue.d.ts +2 -2
  84. package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +2 -2
  85. package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +1 -1
  86. package/dist/src/components/form/nmorph-color-picker/NmorphColorPicker.vue.d.ts +1 -1
  87. package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +1 -1
  88. package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +3 -3
  89. package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +1 -1
  90. package/dist/src/components/form/nmorph-otp-input/NmorphOTPInput.vue.d.ts +1 -1
  91. package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +3 -3
  92. package/dist/src/components/form/nmorph-select-button/NmorphSelectButton.vue.d.ts +1 -1
  93. package/dist/src/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.d.ts +1 -1
  94. package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +9 -9
  95. package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +1 -1
  96. package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +1 -1
  97. package/dist/src/components/form/nmorph-textarea/NmorphTextarea.vue.d.ts +1 -1
  98. package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +1 -1
  99. package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +1 -1
  100. package/dist/src/components/navigation/nmorph-context-menu/NmorphContextMenu.vue.d.ts +3 -3
  101. package/dist/src/components/navigation/nmorph-stepper/NmorphStepper.vue.d.ts +1 -1
  102. package/dist/src/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +1 -1
  103. package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +1 -1
  104. package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +1 -1
  105. package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +1 -1
  106. package/dist/src/main.d.ts +2 -0
  107. package/dist/src/outside-hooks/use-nmorph-notification.d.ts +2 -2
  108. package/dist/src/utils/attrs.d.ts +5 -0
  109. package/dist/src/utils/index.d.ts +1 -0
  110. package/dist/style.css +1 -1
  111. package/dist/utils/attrs.js +15 -0
  112. package/package.json +1 -1
@@ -1,8 +1,10 @@
1
1
  import './NmorphNotificationProvider.css';
2
- import { defineComponent as H, ref as s, inject as K, computed as f, watch as T, onMounted as J, onBeforeUnmount as Q } from "vue";
3
- import { NmorphNotificationPlacement as W } from "./types.js";
4
- import X from "../../feedback/nmorph-alert/NmorphAlert.vue.js";
5
- const j = 500, L = 250, re = /* @__PURE__ */ H({
2
+ import { defineComponent as J, ref as s, inject as Q, computed as l, watch as y, onMounted as W, onBeforeUnmount as X } from "vue";
3
+ import { useMergedAttrs as Y } from "../../../utils/attrs.js";
4
+ import { NmorphNotificationPlacement as ee } from "./types.js";
5
+ import te from "../../feedback/nmorph-alert/NmorphAlert.vue.js";
6
+ const P = 500, U = 250, ie = /* @__PURE__ */ J({
7
+ inheritAttrs: !1,
6
8
  __name: "NmorphNotificationProvider",
7
9
  props: {
8
10
  notifications: { type: Array, required: !0 },
@@ -12,83 +14,83 @@ const j = 500, L = 250, re = /* @__PURE__ */ H({
12
14
  teleportTo: { type: null, required: !1, default: "body" },
13
15
  disabledTeleport: { type: Boolean, required: !1, default: !1 }
14
16
  },
15
- setup(P, { expose: U }) {
16
- U();
17
- const y = (e) => typeof e.id == "string" && e.id.length > 0, l = s([]), o = s([]), n = s([]), c = s(Date.now()), d = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
17
+ setup(V, { expose: Z }) {
18
+ Z();
19
+ const T = (e) => typeof e.id == "string" && e.id.length > 0, d = s([]), a = s([]), n = s([]), c = s(Date.now()), f = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
18
20
  let i;
19
- const w = Object.values(W), p = (e) => typeof e.duration != "number" || !Number.isFinite(e.duration) ? 0 : Math.max(e.duration, 0), R = (e) => p(e) > 0, V = (e) => e.showDurationValue !== !1, q = (e) => {
21
+ const w = Object.values(ee), p = (e) => typeof e.duration != "number" || !Number.isFinite(e.duration) ? 0 : Math.max(e.duration, 0), R = (e) => p(e) > 0, C = (e) => e.showDurationValue !== !1, q = (e) => {
20
22
  const t = p(e), r = v.get(e.id);
21
23
  return !t || !r ? t : Math.max(t - (c.value - r), 0);
22
- }, z = (e) => e < 1e3 ? `${Math.ceil(e)}ms` : `${Math.ceil(e / 1e3)}s`, Z = (e) => z(q(e)), $ = (e) => ({
24
+ }, z = (e) => `${Math.ceil(e / 1e3)}s`, $ = (e) => z(q(e)), F = (e) => ({
23
25
  "--nmorph-private-notification-provider-duration": `${p(e)}ms`
24
26
  }), h = (e, t = !1) => {
25
- const r = d.get(e);
26
- r && clearTimeout(r), d.delete(e), m.delete(e), t || v.delete(e);
27
+ const r = f.get(e);
28
+ r && clearTimeout(r), f.delete(e), m.delete(e), t || v.delete(e);
27
29
  }, k = (e) => {
28
- n.value = n.value.filter((t) => t.id !== e), o.value = o.value.filter((t) => t !== e), h(e);
29
- }, D = (e, t = !0) => {
30
- o.value.includes(e) || (h(e, !0), t && !l.value.includes(e) && (l.value = [...l.value, e]), o.value = [...o.value, e], setTimeout(() => k(e), j));
30
+ n.value = n.value.filter((t) => t.id !== e), a.value = a.value.filter((t) => t !== e), h(e);
31
+ }, g = (e, t = !0) => {
32
+ a.value.includes(e) || (h(e, !0), t && !d.value.includes(e) && (d.value = [...d.value, e]), a.value = [...a.value, e], setTimeout(() => k(e), P));
31
33
  }, E = (e) => {
32
34
  const t = p(e);
33
- m.get(e.id) !== t && (h(e.id), t && (c.value = Date.now(), v.set(e.id, c.value), d.set(
35
+ m.get(e.id) !== t && (h(e.id), t && (c.value = Date.now(), v.set(e.id, c.value), f.set(
34
36
  e.id,
35
- setTimeout(() => D(e.id), t)
37
+ setTimeout(() => g(e.id), t)
36
38
  ), m.set(e.id, t)));
37
- }, a = P, g = s(!1), x = K("nmorph"), I = s(x?.zIndex.current.value ?? 1e3), N = s(!1), _ = () => {
38
- a.zIndex !== void 0 || N.value || (I.value = x?.zIndex.next() ?? I.value + 1, N.value = !0);
39
- }, C = f(
39
+ }, o = V, D = s(!1), x = Q("nmorph"), I = s(x?.zIndex.current.value ?? 1e3), N = s(!1), A = () => {
40
+ o.zIndex !== void 0 || N.value || (I.value = x?.zIndex.next() ?? I.value + 1, N.value = !0);
41
+ }, G = l(
40
42
  () => w.map((e) => {
41
43
  const t = n.value.filter(
42
- (u) => (u.placement ?? a.placement) === e
43
- ), r = Math.max(t.length - a.quantity, 0);
44
+ (u) => (u.placement ?? o.placement) === e
45
+ ), r = Math.max(t.length - o.quantity, 0);
44
46
  return {
45
47
  placement: e,
46
48
  notifications: t.slice(r)
47
49
  };
48
50
  })
49
- ), O = f(
51
+ ), O = l(
50
52
  () => n.value.some(
51
- (e) => R(e) && !o.value.includes(e.id)
53
+ (e) => R(e) && !a.value.includes(e.id)
52
54
  )
53
- ), b = f(() => n.value.length > 0), B = f(
54
- () => b.value || a.notifications.some(
55
- (e) => y(e) && !l.value.includes(e.id)
55
+ ), _ = l(() => n.value.length > 0), S = l(
56
+ () => _.value || o.notifications.some(
57
+ (e) => T(e) && !d.value.includes(e.id)
56
58
  )
57
- ), F = f(() => a.zIndex ?? I.value), G = f(() => !g.value || a.disabledTeleport), A = () => {
59
+ ), B = l(() => o.zIndex ?? I.value), H = l(() => !D.value || o.disabledTeleport), j = l(() => ({ zIndex: B.value })), K = Y("nmorph-notification-provider", j), b = () => {
58
60
  i && (clearInterval(i), i = void 0);
59
61
  };
60
- T(
61
- () => a.notifications,
62
+ y(
63
+ () => o.notifications,
62
64
  () => {
63
- B.value && _();
65
+ S.value && A();
64
66
  },
65
67
  { deep: !0, immediate: !0, flush: "sync" }
66
- ), T(
67
- b,
68
+ ), y(
69
+ _,
68
70
  (e) => {
69
71
  if (e) {
70
- _();
72
+ A();
71
73
  return;
72
74
  }
73
75
  N.value = !1;
74
76
  },
75
77
  { immediate: !0, flush: "sync" }
76
- ), T(
78
+ ), y(
77
79
  O,
78
80
  (e) => {
79
81
  if (!e) {
80
- A();
82
+ b();
81
83
  return;
82
84
  }
83
85
  i || (c.value = Date.now(), i = setInterval(() => {
84
86
  c.value = Date.now();
85
- }, L));
87
+ }, U));
86
88
  },
87
89
  { immediate: !0 }
88
- ), T(
89
- () => a.notifications,
90
+ ), y(
91
+ () => o.notifications,
90
92
  (e) => {
91
- const t = e.filter(y).filter((r) => !l.value.includes(r.id));
93
+ const t = e.filter(T).filter((r) => !d.value.includes(r.id));
92
94
  n.value = n.value.map((r) => {
93
95
  const u = t.find((M) => M.id === r.id);
94
96
  return u ? { ...r, ...u } : r;
@@ -98,24 +100,24 @@ const j = 500, L = 250, re = /* @__PURE__ */ H({
98
100
  ) || (n.value = [...n.value, r]);
99
101
  }), t.forEach((r) => E(r)), n.value.filter(
100
102
  (r) => !t.some((u) => u.id === r.id)
101
- ).forEach((r) => D(r.id, !1));
103
+ ).forEach((r) => g(r.id, !1));
102
104
  },
103
105
  { deep: !0, immediate: !0 }
104
- ), J(() => {
105
- g.value = !0;
106
- }), Q(() => {
107
- d.forEach((e) => clearTimeout(e)), d.clear(), m.clear(), v.clear(), A();
106
+ ), W(() => {
107
+ D.value = !0;
108
+ }), X(() => {
109
+ f.forEach((e) => clearTimeout(e)), f.clear(), m.clear(), v.clear(), b();
108
110
  });
109
- const S = { ANIMATION_DURATION: j, DURATION_TICK_INTERVAL: L, hasNotificationId: y, removedIds: l, closingIds: o, renderedNotifications: n, durationTick: c, durationTimers: d, durationById: m, durationStartedAtById: v, get durationTicker() {
111
+ const L = { ANIMATION_DURATION: P, DURATION_TICK_INTERVAL: U, hasNotificationId: T, removedIds: d, closingIds: a, renderedNotifications: n, durationTick: c, durationTimers: f, durationById: m, durationStartedAtById: v, get durationTicker() {
110
112
  return i;
111
113
  }, set durationTicker(e) {
112
114
  i = e;
113
- }, placementList: w, getNotificationDuration: p, hasDurationIndicator: R, hasDurationValue: V, getNotificationRemainingDuration: q, formatNotificationDuration: z, getNotificationDurationLabel: Z, getNotificationStyle: $, clearDurationTimer: h, removeRenderedNotification: k, closeHandler: D, scheduleDurationTimer: E, props: a, isMounted: g, nmorph: x, dynamicZIndex: I, activeZIndexAllocated: N, allocateZIndex: _, notificationGroups: C, hasRunningDurationIndicator: O, hasRenderedNotifications: b, hasActiveNotifications: B, zIndex: F, teleportDisabled: G, stopDurationTicker: A, get NmorphAlert() {
114
- return X;
115
+ }, placementList: w, getNotificationDuration: p, hasDurationIndicator: R, hasDurationValue: C, getNotificationRemainingDuration: q, formatNotificationDuration: z, getNotificationDurationLabel: $, getNotificationStyle: F, clearDurationTimer: h, removeRenderedNotification: k, closeHandler: g, scheduleDurationTimer: E, props: o, isMounted: D, nmorph: x, dynamicZIndex: I, activeZIndexAllocated: N, allocateZIndex: A, notificationGroups: G, hasRunningDurationIndicator: O, hasRenderedNotifications: _, hasActiveNotifications: S, zIndex: B, teleportDisabled: H, rootStyle: j, rootAttrs: K, stopDurationTicker: b, get NmorphAlert() {
116
+ return te;
115
117
  } };
116
- return Object.defineProperty(S, "__isScriptSetup", { enumerable: !1, value: !0 }), S;
118
+ return Object.defineProperty(L, "__isScriptSetup", { enumerable: !1, value: !0 }), L;
117
119
  }
118
120
  });
119
121
  export {
120
- re as default
122
+ ie as default
121
123
  };
@@ -1,6 +1,6 @@
1
- import { nmorphPlainSurface as h, nmorphCombined as l, nmorphInset as t, nmorphOutset as p, title1 as s, title2 as m, title3 as c, title4 as g, body1 as n, body2 as d, body3 as b, body4 as v, typography as o } from "../utils/theme-style.js";
2
- const y = {
3
- "nmorph-body-4": v,
1
+ import { nmorphPlainSurface as h, nmorphCombined as l, nmorphInset as t, nmorphOutset as p, title1 as s, title2 as m, title3 as c, title4 as g, body1 as n, body2 as d, body3 as b, body4 as y, typography as o } from "../utils/theme-style.js";
2
+ const v = {
3
+ "nmorph-body-4": y,
4
4
  "nmorph-body-3": b,
5
5
  "nmorph-body-2": d,
6
6
  "nmorph-body-1": n,
@@ -134,7 +134,7 @@ const y = {
134
134
  var(--nmorph-dark-shade-color);
135
135
  --nmorph-wrapper-padding: calc(var(--base-shadow-width) * 1.5);
136
136
  --nmorph-plain-border-color: color-mix(in srgb, var(--nmorph-text-color) 18%, transparent);
137
- --nmorph-plain-border: 1.5px solid var(--nmorph-plain-border-color);
137
+ --nmorph-plain-border: 1px solid var(--nmorph-plain-border-color);
138
138
 
139
139
  --transition-04: 0.4s;
140
140
  --transition-03: 0.3s;
@@ -528,6 +528,18 @@ const y = {
528
528
  font-weight: var(--font-weight-extrabold);
529
529
  }
530
530
 
531
+ .nmorph-typography--not-selectable {
532
+ user-select: none;
533
+ }
534
+
535
+ .nmorph-typography--italic {
536
+ font-style: italic;
537
+ }
538
+
539
+ .nmorph-typography--no-line-height {
540
+ line-height: 0;
541
+ }
542
+
531
543
  .nmorph-typography--truncate {
532
544
  overflow: hidden;
533
545
  white-space: nowrap;
@@ -668,7 +680,7 @@ const y = {
668
680
  }
669
681
 
670
682
  `;
671
- for (const [a, i] of Object.entries(y))
683
+ for (const [a, i] of Object.entries(v))
672
684
  e += `
673
685
  .${a} {
674
686
  ${i()}