rappel-ui 1.0.32 → 1.0.33

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 (179) hide show
  1. package/README.md +7 -1
  2. package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
  3. package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
  4. package/cjs/components/button/src/types.d.ts +1 -0
  5. package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
  6. package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
  7. package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -1
  8. package/cjs/components/svg-icon/src/types.d.ts +1 -1
  9. package/cjs/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
  10. package/cjs/composables/use-namespace/index.d.ts +2 -0
  11. package/cjs/composables/use-namespace/index.js +1 -1
  12. package/cjs/index.d.ts +105 -420
  13. package/cjs/svg-icons/create-icon.d.ts +3 -12
  14. package/cjs/svg-icons/create-icon.js +1 -1
  15. package/cjs/svg-icons/src/arrow-backward.d.ts +3 -12
  16. package/cjs/svg-icons/src/arrow-backward.js +1 -1
  17. package/cjs/svg-icons/src/arrow-down.d.ts +3 -12
  18. package/cjs/svg-icons/src/arrow-down.js +1 -1
  19. package/cjs/svg-icons/src/arrow-downward.d.ts +3 -12
  20. package/cjs/svg-icons/src/arrow-downward.js +1 -1
  21. package/cjs/svg-icons/src/arrow-forward.d.ts +3 -12
  22. package/cjs/svg-icons/src/arrow-forward.js +1 -1
  23. package/cjs/svg-icons/src/arrow-left.d.ts +3 -12
  24. package/cjs/svg-icons/src/arrow-left.js +1 -1
  25. package/cjs/svg-icons/src/arrow-right.d.ts +3 -12
  26. package/cjs/svg-icons/src/arrow-right.js +1 -1
  27. package/cjs/svg-icons/src/arrow-up.d.ts +3 -12
  28. package/cjs/svg-icons/src/arrow-up.js +1 -1
  29. package/cjs/svg-icons/src/arrow-upward.d.ts +3 -12
  30. package/cjs/svg-icons/src/arrow-upward.js +1 -1
  31. package/cjs/svg-icons/src/check-circle.d.ts +3 -12
  32. package/cjs/svg-icons/src/check-circle.js +1 -1
  33. package/cjs/svg-icons/src/check-fill.d.ts +3 -12
  34. package/cjs/svg-icons/src/check.d.ts +3 -12
  35. package/cjs/svg-icons/src/check.js +1 -1
  36. package/cjs/svg-icons/src/close-circle.d.ts +3 -12
  37. package/cjs/svg-icons/src/close-circle.js +1 -1
  38. package/cjs/svg-icons/src/close-fill.d.ts +3 -12
  39. package/cjs/svg-icons/src/close-short.d.ts +3 -12
  40. package/cjs/svg-icons/src/close-short.js +1 -1
  41. package/cjs/svg-icons/src/close.d.ts +3 -12
  42. package/cjs/svg-icons/src/close.js +1 -1
  43. package/cjs/svg-icons/src/copy-closure.d.ts +3 -12
  44. package/cjs/svg-icons/src/copy-closure.js +1 -1
  45. package/cjs/svg-icons/src/copy.d.ts +3 -12
  46. package/cjs/svg-icons/src/copy.js +1 -1
  47. package/cjs/svg-icons/src/delete.d.ts +3 -12
  48. package/cjs/svg-icons/src/delete.js +1 -1
  49. package/cjs/svg-icons/src/exclam-fill.d.ts +3 -12
  50. package/cjs/svg-icons/src/exclam.d.ts +3 -12
  51. package/cjs/svg-icons/src/exclam.js +1 -1
  52. package/cjs/svg-icons/src/help.d.ts +3 -12
  53. package/cjs/svg-icons/src/help.js +1 -1
  54. package/cjs/svg-icons/src/info-circle.d.ts +3 -12
  55. package/cjs/svg-icons/src/info-circle.js +1 -1
  56. package/cjs/svg-icons/src/info-fill.d.ts +3 -12
  57. package/cjs/svg-icons/src/loading.d.ts +3 -12
  58. package/cjs/svg-icons/src/loading.js +1 -1
  59. package/cjs/svg-icons/src/more-dot-circle-horizontal.d.ts +3 -12
  60. package/cjs/svg-icons/src/more-dot-circle-horizontal.js +1 -1
  61. package/cjs/svg-icons/src/more-dot-circle-outline-horizontal.d.ts +3 -12
  62. package/cjs/svg-icons/src/more-dot-circle-outline-horizontal.js +1 -1
  63. package/cjs/svg-icons/src/more-dot-circle-outline-vertical.d.ts +3 -12
  64. package/cjs/svg-icons/src/more-dot-circle-outline-vertical.js +1 -1
  65. package/cjs/svg-icons/src/more-dot-circle.d.ts +3 -12
  66. package/cjs/svg-icons/src/more-dot-circle.js +1 -1
  67. package/cjs/svg-icons/src/more-dot-square-horizontal.d.ts +3 -12
  68. package/cjs/svg-icons/src/more-dot-square-horizontal.js +1 -1
  69. package/cjs/svg-icons/src/more-dot-square.d.ts +3 -12
  70. package/cjs/svg-icons/src/more-dot-square.js +1 -1
  71. package/cjs/svg-icons/src/more-line.d.ts +3 -12
  72. package/cjs/svg-icons/src/more-line.js +1 -1
  73. package/cjs/svg-icons/src/search-bold.d.ts +3 -12
  74. package/cjs/svg-icons/src/search-bold.js +1 -1
  75. package/cjs/svg-icons/src/search.d.ts +3 -12
  76. package/cjs/svg-icons/src/search.js +1 -1
  77. package/cjs/svg-icons/src/star-fill.d.ts +3 -12
  78. package/cjs/svg-icons/src/star.d.ts +3 -12
  79. package/cjs/svg-icons/src/star.js +1 -1
  80. package/cjs/svg-icons/types.d.ts +1 -1
  81. package/cjs/utils/util.d.ts +72 -68
  82. package/cjs/utils/util.js +1 -1
  83. package/dist/index.css +1 -1
  84. package/dist/index.umd.js +9 -9
  85. package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +23 -12
  86. package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +49 -45
  87. package/es/components/button/src/types.d.ts +1 -0
  88. package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +3 -3
  89. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +1 -1
  90. package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +2 -2
  91. package/es/components/svg-icon/src/types.d.ts +1 -1
  92. package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +3 -2
  93. package/es/composables/use-namespace/index.d.ts +2 -0
  94. package/es/composables/use-namespace/index.mjs +2 -0
  95. package/es/index.d.ts +105 -420
  96. package/es/svg-icons/create-icon.d.ts +3 -12
  97. package/es/svg-icons/create-icon.mjs +3 -7
  98. package/es/svg-icons/src/arrow-backward.d.ts +3 -12
  99. package/es/svg-icons/src/arrow-backward.mjs +3 -1
  100. package/es/svg-icons/src/arrow-down.d.ts +3 -12
  101. package/es/svg-icons/src/arrow-down.mjs +3 -1
  102. package/es/svg-icons/src/arrow-downward.d.ts +3 -12
  103. package/es/svg-icons/src/arrow-downward.mjs +3 -1
  104. package/es/svg-icons/src/arrow-forward.d.ts +3 -12
  105. package/es/svg-icons/src/arrow-forward.mjs +3 -1
  106. package/es/svg-icons/src/arrow-left.d.ts +3 -12
  107. package/es/svg-icons/src/arrow-left.mjs +3 -1
  108. package/es/svg-icons/src/arrow-right.d.ts +3 -12
  109. package/es/svg-icons/src/arrow-right.mjs +3 -1
  110. package/es/svg-icons/src/arrow-up.d.ts +3 -12
  111. package/es/svg-icons/src/arrow-up.mjs +3 -1
  112. package/es/svg-icons/src/arrow-upward.d.ts +3 -12
  113. package/es/svg-icons/src/arrow-upward.mjs +3 -1
  114. package/es/svg-icons/src/check-circle.d.ts +3 -12
  115. package/es/svg-icons/src/check-circle.mjs +3 -1
  116. package/es/svg-icons/src/check-fill.d.ts +3 -12
  117. package/es/svg-icons/src/check.d.ts +3 -12
  118. package/es/svg-icons/src/check.mjs +3 -1
  119. package/es/svg-icons/src/close-circle.d.ts +3 -12
  120. package/es/svg-icons/src/close-circle.mjs +3 -1
  121. package/es/svg-icons/src/close-fill.d.ts +3 -12
  122. package/es/svg-icons/src/close-short.d.ts +3 -12
  123. package/es/svg-icons/src/close-short.mjs +3 -1
  124. package/es/svg-icons/src/close.d.ts +3 -12
  125. package/es/svg-icons/src/close.mjs +3 -1
  126. package/es/svg-icons/src/copy-closure.d.ts +3 -12
  127. package/es/svg-icons/src/copy-closure.mjs +3 -1
  128. package/es/svg-icons/src/copy.d.ts +3 -12
  129. package/es/svg-icons/src/copy.mjs +3 -1
  130. package/es/svg-icons/src/delete.d.ts +3 -12
  131. package/es/svg-icons/src/delete.mjs +3 -1
  132. package/es/svg-icons/src/exclam-fill.d.ts +3 -12
  133. package/es/svg-icons/src/exclam.d.ts +3 -12
  134. package/es/svg-icons/src/exclam.mjs +3 -1
  135. package/es/svg-icons/src/help.d.ts +3 -12
  136. package/es/svg-icons/src/help.mjs +3 -1
  137. package/es/svg-icons/src/info-circle.d.ts +3 -12
  138. package/es/svg-icons/src/info-circle.mjs +3 -1
  139. package/es/svg-icons/src/info-fill.d.ts +3 -12
  140. package/es/svg-icons/src/loading.d.ts +3 -12
  141. package/es/svg-icons/src/loading.mjs +3 -1
  142. package/es/svg-icons/src/more-dot-circle-horizontal.d.ts +3 -12
  143. package/es/svg-icons/src/more-dot-circle-horizontal.mjs +3 -1
  144. package/es/svg-icons/src/more-dot-circle-outline-horizontal.d.ts +3 -12
  145. package/es/svg-icons/src/more-dot-circle-outline-horizontal.mjs +3 -1
  146. package/es/svg-icons/src/more-dot-circle-outline-vertical.d.ts +3 -12
  147. package/es/svg-icons/src/more-dot-circle-outline-vertical.mjs +3 -1
  148. package/es/svg-icons/src/more-dot-circle.d.ts +3 -12
  149. package/es/svg-icons/src/more-dot-circle.mjs +3 -1
  150. package/es/svg-icons/src/more-dot-square-horizontal.d.ts +3 -12
  151. package/es/svg-icons/src/more-dot-square-horizontal.mjs +3 -1
  152. package/es/svg-icons/src/more-dot-square.d.ts +3 -12
  153. package/es/svg-icons/src/more-dot-square.mjs +3 -1
  154. package/es/svg-icons/src/more-line.d.ts +3 -12
  155. package/es/svg-icons/src/more-line.mjs +3 -1
  156. package/es/svg-icons/src/search-bold.d.ts +3 -12
  157. package/es/svg-icons/src/search-bold.mjs +3 -1
  158. package/es/svg-icons/src/search.d.ts +3 -12
  159. package/es/svg-icons/src/search.mjs +3 -1
  160. package/es/svg-icons/src/star-fill.d.ts +3 -12
  161. package/es/svg-icons/src/star.d.ts +3 -12
  162. package/es/svg-icons/src/star.mjs +3 -1
  163. package/es/svg-icons/types.d.ts +1 -1
  164. package/es/utils/util.d.ts +72 -68
  165. package/es/utils/util.mjs +2 -2
  166. package/package.json +2 -2
  167. package/theme-chalk/index.css +1 -1
  168. package/theme-chalk/re-button-group.css +1 -1
  169. package/theme-chalk/re-button.css +1 -1
  170. package/theme-chalk/re-popconfirm.css +1 -1
  171. package/theme-chalk/re-popover.css +1 -1
  172. package/theme-chalk/re-tooltip.css +1 -1
  173. package/theme-chalk/src/button-group.scss +32 -8
  174. package/theme-chalk/src/function/index.scss +1 -1
  175. package/theme-chalk/src/message.scss +0 -1
  176. package/theme-chalk/src/mixins/_button.scss +1 -1
  177. package/theme-chalk/src/popconfirm.scss +16 -0
  178. package/theme-chalk/src/popover.scss +16 -0
  179. package/theme-chalk/src/tooltip.scss +16 -10
@@ -1,16 +1,16 @@
1
1
  import { _buttonGroupProps as e, buttonSizes as t, buttonTypes as n } from "./constants.mjs";
2
2
  import { useNamespace as r } from "../../../composables/use-namespace/index.mjs";
3
3
  import "../../../composables/index.mjs";
4
- import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, defineComponent as l, inject as u, mergeProps as d, normalizeClass as f, openBlock as p, renderSlot as m, resolveDynamicComponent as h, unref as g, useTemplateRef as _ } from "vue";
5
- import { computedAsync as v } from "@vueuse/core";
6
- import { Loading as y, getAsyncIcon as b } from "@rappel-ui/svg-icons";
4
+ import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, defineComponent as l, inject as u, normalizeClass as d, openBlock as f, renderSlot as p, resolveDynamicComponent as m, unref as h, useTemplateRef as g } from "vue";
5
+ import { computedAsync as _ } from "@vueuse/core";
6
+ import { Loading as v, getAsyncIcon as y } from "@rappel-ui/svg-icons";
7
7
  //#region packages/components/button/src/button.vue?vue&type=script&setup=true&lang.ts
8
- var x = [
8
+ var b = [
9
9
  "type",
10
10
  "disabled",
11
11
  "autofocus",
12
12
  "aria-disabled"
13
- ], S = l({
13
+ ], x = l({
14
14
  name: "ReButton",
15
15
  __name: "button",
16
16
  props: {
@@ -41,7 +41,7 @@ var x = [
41
41
  type: Boolean,
42
42
  default: () => void 0
43
43
  },
44
- loadingIcon: { default: () => y },
44
+ loadingIcon: { default: () => v },
45
45
  text: {
46
46
  type: Boolean,
47
47
  default: () => void 0
@@ -67,73 +67,77 @@ var x = [
67
67
  nativeType: { default: "button" }
68
68
  },
69
69
  emits: ["click"],
70
- setup(l, { expose: y, emit: S }) {
71
- let C = S, { n: w, nm: T, ns: E, is: D } = r("button"), O = u(e, null), k = a(() => {
70
+ setup(l, { expose: v, emit: x }) {
71
+ let S = x, { n: C, nm: w, ns: T, is: E, has: D } = r("button"), O = u(e, null), k = a(() => {
72
72
  var e;
73
73
  return l.type || (O == null || (e = O.type) == null ? void 0 : e.value) || "";
74
74
  }), A = a(() => {
75
75
  var e;
76
76
  return l.size || (O == null || (e = O.size) == null ? void 0 : e.value) || "";
77
- }), j = a(() => [
78
- w(),
79
- k.value && n.includes(k.value) ? T(k.value) : "",
80
- A.value && t.includes(A.value) ? T(A.value) : "",
81
- D("text", l.text),
82
- D("text-padding", l.text && l.padding),
83
- D("text-bg", l.text && l.bg),
84
- D("link", l.link),
85
- D("plain", l.plain),
86
- D("round", l.round),
87
- D("circle", l.circle),
88
- D("dashed", l.dashed),
89
- D("loading", l.loading),
90
- D("disabled", l.disabled)
91
- ]), M = v(async () => await b(l.loadingIcon)), N = v(async () => await b(l.icon));
92
- function P(e) {
77
+ }), j = a(() => {
78
+ var e;
79
+ return (O == null || (e = O.gap) == null ? void 0 : e.value) || "";
80
+ }), M = a(() => [
81
+ C(),
82
+ k.value && n.includes(k.value) ? w(k.value) : "",
83
+ A.value && t.includes(A.value) ? w(A.value) : "",
84
+ E("text", l.text),
85
+ E("text-padding", l.text && l.padding),
86
+ E("text-bg", l.text && l.bg),
87
+ E("link", l.link),
88
+ E("plain", l.plain),
89
+ E("round", l.round),
90
+ E("circle", l.circle),
91
+ E("dashed", l.dashed),
92
+ E("loading", l.loading),
93
+ E("disabled", l.disabled),
94
+ D("group-gap", !!j.value)
95
+ ]), N = _(async () => await y(l.loadingIcon)), P = _(async () => await y(l.icon));
96
+ function F(e) {
93
97
  if (l.disabled || l.loading) {
94
98
  e.stopPropagation();
95
99
  return;
96
100
  }
97
- C("click", e);
101
+ S("click", e);
98
102
  }
99
- let F = _("ref");
100
- return y({ ref: F }), (e, t) => {
103
+ let I = g("ref");
104
+ return v({ ref: I }), (e, t) => {
101
105
  var n;
102
- return p(), c("button", d(e.$attrs, {
106
+ return f(), c("button", {
103
107
  ref_key: "ref",
104
- ref: F,
105
- class: j.value,
108
+ ref: I,
109
+ class: d(M.value),
106
110
  type: l.nativeType,
107
111
  disabled: l.disabled || l.loading,
108
112
  autofocus: l.autofocus,
109
113
  "aria-disabled": l.disabled,
110
- onClick: P
111
- }), [
112
- m(e.$slots, "loading", {}, () => [l.loading ? (p(), c(i, { key: 0 }, [typeof g(M) == "string" ? (p(), c("i", {
114
+ onClick: F
115
+ }, [
116
+ p(e.$slots, "loading", {}, () => [l.loading ? (f(), c(i, { key: 0 }, [typeof h(N) == "string" ? (f(), c("i", {
113
117
  key: 0,
114
- class: f([g(E)("loading"), g(M)]),
118
+ class: d([h(T)("loading"), h(N)]),
115
119
  "aria-hidden": "true"
116
- }, null, 2)) : (p(), o(h(g(M)), {
120
+ }, null, 2)) : (f(), o(m(h(N)), {
117
121
  key: 1,
118
- class: f([g(E)("loading")]),
122
+ class: d([h(T)("loading")]),
119
123
  "aria-hidden": "true"
120
124
  }, null, 8, ["class"]))], 64)) : s("", !0)]),
121
- m(e.$slots, "icon", {}, () => [l.icon ? (p(), c(i, { key: 0 }, [typeof g(N) == "string" ? (p(), c("i", {
125
+ p(e.$slots, "icon", {}, () => [l.icon ? (f(), c(i, { key: 0 }, [typeof h(P) == "string" ? (f(), c("i", {
122
126
  key: 0,
123
- class: f([g(E)("icon"), g(N)]),
127
+ class: d([h(T)("icon"), h(P)]),
124
128
  "aria-hidden": "true"
125
- }, null, 2)) : (p(), o(h(g(N)), {
129
+ }, null, 2)) : (f(), o(m(h(P)), {
126
130
  key: 1,
127
- class: f([g(E)("icon")]),
131
+ class: d([h(T)("icon")]),
128
132
  "aria-hidden": "true"
129
133
  }, null, 8, ["class"]))], 64)) : s("", !0)]),
130
- (n = e.$slots) != null && n.default ? (p(), c("span", {
134
+ (n = e.$slots) != null && n.default ? (f(), c("span", {
131
135
  key: 0,
132
- class: f([g(E)("content")])
133
- }, [m(e.$slots, "default")], 2)) : s("", !0)
134
- ], 16, x);
136
+ class: d([h(T)("content")])
137
+ }, [p(e.$slots, "default")], 2)) : s("", !0)
138
+ ], 10, b);
135
139
  };
136
140
  }
137
141
  });
138
142
  //#endregion
139
- export { S as default };
143
+ export { x as default };
@@ -24,6 +24,7 @@ export interface ButtonProps {
24
24
  export interface ButtonGroupProps {
25
25
  size?: ButtonProps['size'];
26
26
  type?: ButtonProps['type'];
27
+ gap?: string | number;
27
28
  direction?: 'horizontal' | 'vertical';
28
29
  }
29
30
  export interface ButtonEmits {
@@ -92,7 +92,7 @@ var D = ["innerHTML"], O = d({
92
92
  type: Boolean,
93
93
  default: !0
94
94
  },
95
- cssDuration: { default: 0 },
95
+ cssDuration: { default: 450 },
96
96
  arrowSize: { default: 8 },
97
97
  arrowOffset: { default: 4 },
98
98
  arrowOptions: { default: () => void 0 },
@@ -208,14 +208,14 @@ var D = ["innerHTML"], O = d({
208
208
  class: m([b(A)("icon")]),
209
209
  "aria-hidden": "true"
210
210
  }, null, 8, ["class"]))], 64)) : o("", !0)]), g(e.$slots, "title", { title: d.title }, () => [c("div", { class: m([b(A)("title")]) }, y(d.title), 3)])], 2)]),
211
- g(e.$slots, "content", { content: d.content }, () => [d.isHtml ? (h(), s("div", {
211
+ g(e.$slots, "content", { content: d.content }, () => [d.content ? (h(), s(r, { key: 0 }, [d.isHtml ? (h(), s("div", {
212
212
  key: 0,
213
213
  class: m([b(A)("content")]),
214
214
  innerHTML: d.content
215
215
  }, null, 10, D)) : (h(), s("div", {
216
216
  key: 1,
217
217
  class: m([b(A)("content")])
218
- }, y(d.content), 3))]),
218
+ }, y(d.content), 3))], 64)) : o("", !0)]),
219
219
  g(e.$slots, "footer", {
220
220
  cancel: K,
221
221
  cancelSize: d.cancelSize,
@@ -79,7 +79,7 @@ var b = ["innerHTML"], x = s({
79
79
  type: Boolean,
80
80
  default: !0
81
81
  },
82
- cssDuration: { default: 0 },
82
+ cssDuration: { default: 450 },
83
83
  arrowSize: { default: 8 },
84
84
  arrowOffset: { default: 4 },
85
85
  arrowOptions: { default: () => void 0 },
@@ -22,7 +22,7 @@ var l = [
22
22
  size: { default: 16 },
23
23
  fill: { default: () => void 0 },
24
24
  fillRule: { default: () => void 0 },
25
- color: { default: "currentColor" },
25
+ stroke: { default: () => void 0 },
26
26
  spin: {
27
27
  type: Boolean,
28
28
  default: !1
@@ -39,7 +39,7 @@ var l = [
39
39
  "stroke-linecap": "round",
40
40
  "stroke-linejoin": "round",
41
41
  "stroke-width": "2",
42
- stroke: a.fill ? void 0 : a.color,
42
+ stroke: a.stroke,
43
43
  xmlns: "http://www.w3.org/2000/svg",
44
44
  "aria-hidden": "true"
45
45
  }, [i("path", {
@@ -4,6 +4,6 @@ export interface SvgIconProps {
4
4
  size?: string | number;
5
5
  fill?: string;
6
6
  fillRule?: 'inherit' | 'nonzero' | 'evenodd';
7
- color?: string;
7
+ stroke?: string;
8
8
  spin?: boolean;
9
9
  }
@@ -88,7 +88,7 @@ var D = ["innerHTML"], O = ["data-placement"], k = u({
88
88
  type: Boolean,
89
89
  default: !0
90
90
  },
91
- cssDuration: { default: 0 },
91
+ cssDuration: { default: 450 },
92
92
  arrowSize: { default: 8 },
93
93
  arrowOffset: { default: 4 },
94
94
  arrowOptions: { default: () => void 0 },
@@ -187,7 +187,8 @@ var D = ["innerHTML"], O = ["data-placement"], k = u({
187
187
  height: e(u.height),
188
188
  maxWidth: e(u.maxWidth),
189
189
  maxHeight: e(u.maxHeight),
190
- zIndex: $.value
190
+ zIndex: $.value,
191
+ transition: `opacity ${u.cssDuration}ms ease, visibility ${u.cssDuration}ms ease`
191
192
  }]), $ = _(0), { zIndex: Se } = n(), { stop: Ce } = le(J, (e) => {
192
193
  e && ($.value = u.zIndex || Se.value);
193
194
  });
@@ -2,6 +2,8 @@ export declare function useNamespace(compName: string): {
2
2
  libName: string;
3
3
  prefix: string;
4
4
  statePrefix: string;
5
+ hasPrefix: string;
6
+ has: (feature: string, bool?: boolean | undefined) => string;
5
7
  n: (name?: string) => string;
6
8
  ng: (groupName: string) => string;
7
9
  nm: (modifier: string) => string;
@@ -8,6 +8,8 @@ function e(e) {
8
8
  libName: "rappel-ui",
9
9
  prefix: "re",
10
10
  statePrefix: "is",
11
+ hasPrefix: "has",
12
+ has: (e, t = void 0) => t ? `has-${e}` : "",
11
13
  n: (e = "") => t(e),
12
14
  ng: (e) => t("", e),
13
15
  nm: (e) => t("", "", e),