mimir-ui-kit 1.38.38 → 1.38.40

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.
@@ -31,13 +31,13 @@ import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_
31
31
  return null;
32
32
  switch (a.addonType) {
33
33
  case "icon": {
34
- const x = (p = a.addonContent) == null ? void 0 : p.includes("16px"), N = (c = a.addonContent) == null ? void 0 : c.includes("24px");
34
+ const k = (p = a.addonContent) == null ? void 0 : p.includes("16px"), N = (c = a.addonContent) == null ? void 0 : c.includes("24px");
35
35
  return /* @__PURE__ */ r(
36
36
  ee,
37
37
  {
38
38
  style: {
39
39
  "--icon-size": o({
40
- "16px": x,
40
+ "16px": k,
41
41
  "24px": N
42
42
  })
43
43
  },
@@ -56,7 +56,7 @@ import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_
56
56
  (a, p) => {
57
57
  const {
58
58
  value: c,
59
- className: x,
59
+ className: k,
60
60
  wrapperClassName: N,
61
61
  variant: R = ae.DefaultGray,
62
62
  autofocus: g,
@@ -73,9 +73,9 @@ import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_
73
73
  leftAddon: S,
74
74
  size: m = "m",
75
75
  inputSize: v,
76
- required: h,
76
+ required: x,
77
77
  ...D
78
- } = a, [_, A] = F(g), [f, w] = F(!!c), l = X(null), G = $(l, p);
78
+ } = a, [_, A] = F(g), [h, w] = F(!!c), l = X(null), G = $(l, p);
79
79
  Y(() => {
80
80
  g && A(!0);
81
81
  }, [g]);
@@ -94,30 +94,29 @@ import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_
94
94
  }, W = (n) => {
95
95
  const z = n.target.value;
96
96
  w(!!z), V(), i == null || i(n);
97
- }, b = j(S), k = j(L), H = {
97
+ }, f = j(S), b = j(L), H = {
98
98
  [e.readonly]: d || s,
99
99
  [e.focused]: _,
100
100
  [e.disabled]: d || s,
101
- [e["has-left-slot"]]: !!b,
102
- [e["has-right-slot"]]: !!k,
101
+ [e["has-left-slot"]]: !!f,
102
+ [e["has-right-slot"]]: !!b,
103
103
  [t["has-label"]]: !!u
104
- }, y = _ || f || !!c, J = o(
104
+ }, y = _ || h || !!c, J = o(
105
105
  e.label,
106
106
  t.label,
107
107
  {
108
108
  [t["active-label"]]: y,
109
109
  [e.disabled]: d || s,
110
- [t["has-left-slot"]]: !!b,
111
- [t["has-right-slot"]]: !!k,
112
- [t["has-required"]]: h
110
+ [t["has-left-slot"]]: !!f,
111
+ [t["has-right-slot"]]: !!b,
112
+ [t["has-required"]]: x
113
113
  },
114
- x,
115
114
  e[m]
116
115
  ), K = o(
117
116
  t.textarea,
118
117
  e.input,
119
118
  H,
120
- x,
119
+ k,
121
120
  [
122
121
  e[R],
123
122
  t[m],
@@ -146,7 +145,7 @@ import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_
146
145
  children: [
147
146
  u && /* @__PURE__ */ B("label", { htmlFor: I, className: J, children: [
148
147
  /* @__PURE__ */ r("span", { className: t["label-text"], children: u }),
149
- h && (f || _) && /* @__PURE__ */ r(
148
+ x && (h || _) && /* @__PURE__ */ r(
150
149
  "span",
151
150
  {
152
151
  className: t["required-mark"],
@@ -154,7 +153,7 @@ import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_
154
153
  }
155
154
  )
156
155
  ] }),
157
- b && /* @__PURE__ */ r(
156
+ f && /* @__PURE__ */ r(
158
157
  "span",
159
158
  {
160
159
  className: o(e["left-slot"], {
@@ -162,7 +161,7 @@ import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_
162
161
  [e["has-label"]]: !!u
163
162
  }),
164
163
  "data-testid": "left-addon",
165
- children: b
164
+ children: f
166
165
  }
167
166
  ),
168
167
  /* @__PURE__ */ r(
@@ -176,11 +175,11 @@ import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_
176
175
  readOnly: s,
177
176
  value: c,
178
177
  onChange: W,
179
- required: h,
178
+ required: x,
180
179
  ...D
181
180
  }
182
181
  ),
183
- k && /* @__PURE__ */ r(
182
+ b && /* @__PURE__ */ r(
184
183
  "span",
185
184
  {
186
185
  className: o(e["right-slot"], {
@@ -188,17 +187,17 @@ import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_
188
187
  [e["has-label"]]: !!u
189
188
  }),
190
189
  "data-testid": "right-addon",
191
- children: k
190
+ children: b
192
191
  }
193
192
  ),
194
- h && !f && !_ && /* @__PURE__ */ r(
193
+ x && !h && !_ && /* @__PURE__ */ r(
195
194
  "span",
196
195
  {
197
196
  className: t["required-mark"],
198
197
  "data-testid": "required-mark"
199
198
  }
200
199
  ),
201
- E && f && /* @__PURE__ */ r(
200
+ E && h && /* @__PURE__ */ r(
202
201
  te,
203
202
  {
204
203
  tabIndex: -1,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.38.38",
4
+ "version": "1.38.40",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {