@bikdotai/bik-component-library 0.0.830-beta.2 → 0.0.830-beta.3

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.
@@ -1,16 +1,16 @@
1
- import { jsxDEV as t, Fragment as De } from "react/jsx-dev-runtime";
2
- import Ce from "../../assets/icons/info.svg.js";
3
- import { forwardRef as Te, useState as b, useContext as We, useRef as Ue, useEffect as c } from "react";
4
- import { isFunction as ee, shouldSanitizeForType as Me, sanitizeUnsafeInput as Se, validateInput as Le } from "./Input-helper.js";
5
- import { TitleSmall as Ee, BodySecondary as He } from "../TypographyStyle.js";
6
- import { COLORS as ne } from "../../constants/Theme.js";
7
- import _e from "../../assets/icons/errorInfo.svg.js";
8
- import { InputStyleContext as Ae } from "./context/InputStyleProvider.js";
9
- import { RootContainer as Re, InputFooter as Fe, MaxCharStyle as te, InputWrapper as Be, IconHolder as ie, PrefixHolder as Oe, InputContainer as Pe, InputContainerSmall as ze, InputContainerXSmall as Ke, SuffixHolder as Ve, InputHeader as Xe } from "./Input.styled.js";
10
- import { Button as re } from "../button/Button.js";
11
- import { Tooltip as je } from "../tooltips/Tooltip.js";
12
- const qe = Te(
13
- (e, se) => {
1
+ import { jsxDEV as t, Fragment as Ce } from "react/jsx-dev-runtime";
2
+ import Te from "../../assets/icons/info.svg.js";
3
+ import { forwardRef as We, useState as b, useContext as Ue, useRef as Me, useEffect as c } from "react";
4
+ import { isFunction as ne, shouldSanitizeForType as Se, sanitizeUnsafeInput as Le, validateInput as Ee } from "./Input-helper.js";
5
+ import { TitleSmall as He, BodySecondary as _e } from "../TypographyStyle.js";
6
+ import { COLORS as te } from "../../constants/Theme.js";
7
+ import Ae from "../../assets/icons/errorInfo.svg.js";
8
+ import { InputStyleContext as Re } from "./context/InputStyleProvider.js";
9
+ import { RootContainer as Fe, InputFooter as Be, MaxCharStyle as ie, InputWrapper as Oe, IconHolder as re, PrefixHolder as Pe, InputContainer as ze, InputContainerSmall as Ke, InputContainerXSmall as Ve, SuffixHolder as Xe, InputHeader as je } from "./Input.styled.js";
10
+ import { Button as se } from "../button/Button.js";
11
+ import { Tooltip as qe } from "../tooltips/Tooltip.js";
12
+ const Ge = We(
13
+ (e, oe) => {
14
14
  const {
15
15
  placeholder: T,
16
16
  leftIcon: W,
@@ -21,37 +21,38 @@ const qe = Te(
21
21
  hintText: S,
22
22
  type: a,
23
23
  state: x,
24
- validate: oe,
24
+ validate: ae,
25
25
  variant: o,
26
26
  button: l,
27
27
  suffixText: L,
28
28
  prefixText: E,
29
29
  onChangeText: H,
30
30
  value: d,
31
- noErrorHint: ae,
31
+ noErrorHint: ue,
32
32
  reset: _,
33
- rangeValidation: ue,
34
- noKeyDownChange: le,
35
- version: me,
33
+ rangeValidation: le,
34
+ noKeyDownChange: me,
35
+ version: ce,
36
36
  noMaxCharCheck: A,
37
37
  labelElement: R,
38
38
  autoGrow: I,
39
39
  minHeight: y,
40
- maxHeight: ce,
41
- labelTextBold: pe,
42
- truncateText: de,
40
+ maxHeight: pe,
41
+ labelTextBold: de,
42
+ truncateText: he,
43
43
  maxCharLimitPosition: F,
44
44
  maxCharStyle: B,
45
- hightlightInputColor: he,
45
+ hightlightInputColor: ke,
46
46
  onKeyDownEvent: O,
47
- hideInputHeader: ke,
48
- hideBorder: ve,
49
- inputWrapperStyles: fe,
47
+ hideInputHeader: ve,
48
+ hideBorder: fe,
49
+ inputWrapperStyles: be,
50
50
  minCharsToTrigger: P,
51
- maxCharAlignment: be,
51
+ maxCharAlignment: Ne,
52
52
  isDisabled: z = !1,
53
- allowUnsafeInput: Ne,
54
- leftIconStyle: xe
53
+ solidDisabled: K = !1,
54
+ allowUnsafeInput: xe,
55
+ leftIconStyle: Ie
55
56
  } = {
56
57
  maxCharLimit: 0,
57
58
  type: "text",
@@ -60,7 +61,7 @@ const qe = Te(
60
61
  minCharsToTrigger: 0,
61
62
  maxCharAlignment: !1,
62
63
  ...e
63
- }, K = W?.icon, V = U?.icon, [g, v] = b(!1), [Ie, w] = b(!1), [m, X] = b(), j = o === "x-small" ? "12px" : o === "small" ? "18px" : "22px", f = We(Ae), [q, D] = b(""), ye = Ue(null), r = se ?? ye;
64
+ }, V = W?.icon, X = U?.icon, [g, v] = b(!1), [ye, w] = b(!1), [m, j] = b(), q = o === "x-small" ? "12px" : o === "small" ? "18px" : "22px", f = Ue(Re), [G, D] = b(""), ge = Me(null), r = oe ?? ge;
64
65
  c(() => {
65
66
  D(d || ""), !d && I && (r.current.style.height = y || "48px");
66
67
  }, [d]), c(() => {
@@ -68,70 +69,70 @@ const qe = Te(
68
69
  }, [r]), c(() => {
69
70
  const n = r.current;
70
71
  if (n && ["phonenumber", "zip", "number"].includes(a))
71
- return n.addEventListener("wheel", $, { passive: !1 }), () => {
72
- n.removeEventListener("wheel", $);
72
+ return n.addEventListener("wheel", J, { passive: !1 }), () => {
73
+ n.removeEventListener("wheel", J);
73
74
  };
74
75
  }, []), c(() => {
75
76
  _ && D("");
76
77
  }, [_]), c(() => {
77
78
  w(!!e.isActive), e.isActive && r.current?.focus();
78
79
  }, [e.isActive]), c(() => {
79
- X(e.errorMessage);
80
+ j(e.errorMessage);
80
81
  }, [e.errorMessage]), c(() => {
81
82
  v(!1), (e.state === "invalid" || m || e.state === "disabled-invalid") && v(!0), e.state === "active" && r.current?.focus();
82
83
  }, [e.state, m]), c(() => {
83
84
  v(!!m || e.state === "invalid");
84
85
  }, [m, e.state]);
85
86
  const p = (n, ...i) => {
86
- ee(n) && n(...i);
87
- }, G = () => a === "zip" ? 6 : 2e3, Y = (n) => {
88
- const i = s !== 0 ? s : G(), h = [8], k = P, u = n.target.value;
89
- O && (!u.length || u.length >= k) && O(n), !le && (!u.length || u.length >= k) && H(d || "", n), !A && !h.includes(n.which) && i > 0 && u.length >= i && n.preventDefault();
90
- }, $ = (n) => {
91
- n.preventDefault();
87
+ ne(n) && n(...i);
88
+ }, Y = () => a === "zip" ? 6 : 2e3, $ = (n) => {
89
+ const i = s !== 0 ? s : Y(), h = [8], k = P, u = n.target.value;
90
+ O && (!u.length || u.length >= k) && O(n), !me && (!u.length || u.length >= k) && H(d || "", n), !A && !h.includes(n.which) && i > 0 && u.length >= i && n.preventDefault();
92
91
  }, J = (n) => {
92
+ n.preventDefault();
93
+ }, Q = (n) => {
93
94
  let i = n.target.value;
94
- const h = s !== 0 ? s + 1 : G(), k = P;
95
- if (!Ne && Me(a) && (i = Se(i)), !A && h > 0 && i.length >= h && (i = i.substring(0, h - 1)), e.textControl || D(i || ""), k && i && i.length < k)
95
+ const h = s !== 0 ? s + 1 : Y(), k = P;
96
+ if (!xe && Se(a) && (i = Le(i)), !A && h > 0 && i.length >= h && (i = i.substring(0, h - 1)), e.textControl || D(i || ""), k && i && i.length < k)
96
97
  return;
97
98
  H(i, n), I && (r.current.style.height = `${r.current.scrollHeight}px`, i || (r.current.style.height = y || "48px"));
98
- const u = oe || Le;
99
- if (!u || !ee(u))
99
+ const u = ae || Ee;
100
+ if (!u || !ne(u))
100
101
  return;
101
- const [ge, we] = u(
102
+ const [we, De] = u(
102
103
  i,
103
104
  a,
104
- ue
105
+ le
105
106
  );
106
- v(!ge), X(e.errorMessage ? e.errorMessage : we);
107
- }, Q = (n) => {
108
- e.skipFocus || w(!0), p(e.onFocus?.(n));
107
+ v(!we), j(e.errorMessage ? e.errorMessage : De);
109
108
  }, Z = (n) => {
109
+ e.skipFocus || w(!0), p(e.onFocus?.(n));
110
+ }, ee = (n) => {
110
111
  e.skipFocus || w(!1), p(e.onBlur?.(n));
111
- }, C = () => /* @__PURE__ */ t(De, { children: [
112
+ }, C = () => /* @__PURE__ */ t(Ce, { children: [
112
113
  a !== "multiline" && /* @__PURE__ */ t(
113
114
  "input",
114
115
  {
115
- className: de ? "truncate-class" : "",
116
+ className: he ? "truncate-class" : "",
116
117
  "data-test": e["data-test"],
117
118
  id: e.id,
118
119
  style: f?.input ?? {},
119
120
  ref: r,
120
121
  disabled: z,
121
122
  type: ["phonenumber", "zip", "number"].includes(a) ? "number" : a,
122
- value: q,
123
- onFocus: (n) => Q(n),
124
- onBlur: (n) => Z(n),
123
+ value: G,
124
+ onFocus: (n) => Z(n),
125
+ onBlur: (n) => ee(n),
125
126
  placeholder: T || "Enter here",
126
- onChange: J,
127
+ onChange: Q,
127
128
  onClick: (n) => p(e.onClick),
128
- onKeyDown: (n) => Y(n)
129
+ onKeyDown: (n) => $(n)
129
130
  },
130
131
  void 0,
131
132
  !1,
132
133
  {
133
134
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
134
- lineNumber: 271,
135
+ lineNumber: 272,
135
136
  columnNumber: 7
136
137
  },
137
138
  void 0
@@ -140,95 +141,97 @@ const qe = Te(
140
141
  "textarea",
141
142
  {
142
143
  "data-test": e["data-test"],
143
- value: q,
144
+ value: G,
144
145
  ref: r,
145
- onFocus: (n) => Q(n),
146
- onBlur: (n) => Z(n),
146
+ onFocus: (n) => Z(n),
147
+ onBlur: (n) => ee(n),
147
148
  onClick: (n) => p(e.onClick),
148
149
  disabled: z,
149
150
  placeholder: T || "Enter here",
150
- onChange: J,
151
- onKeyDown: (n) => Y(n),
151
+ onChange: Q,
152
+ onKeyDown: (n) => $(n),
152
153
  maxLength: s > 0 ? s : void 0
153
154
  },
154
155
  void 0,
155
156
  !1,
156
157
  {
157
158
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
158
- lineNumber: 293,
159
+ lineNumber: 294,
159
160
  columnNumber: 7
160
161
  },
161
162
  void 0
162
163
  )
163
164
  ] }, void 0, !0, {
164
165
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
165
- lineNumber: 269,
166
+ lineNumber: 270,
166
167
  columnNumber: 5
167
168
  }, void 0);
168
169
  return /* @__PURE__ */ t(
169
- Re,
170
+ Fe,
170
171
  {
171
172
  width: e.width,
172
173
  height: e.height,
173
174
  state: x,
175
+ solidDisabled: K,
174
176
  type: a,
175
177
  style: f?.RootContainer ?? {},
176
178
  children: [
177
179
  /* @__PURE__ */ t("div", { className: "flex-align-center", children: [
178
- !ae && (!!S || !!m) && /* @__PURE__ */ t(Fe, { invalid: !!m, children: [
179
- !!m && /* @__PURE__ */ t(_e, { width: 16, height: 16 }, void 0, !1, {
180
+ !ue && (!!S || !!m) && /* @__PURE__ */ t(Be, { invalid: !!m, children: [
181
+ !!m && /* @__PURE__ */ t(Ae, { width: 16, height: 16 }, void 0, !1, {
180
182
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
181
- lineNumber: 322,
183
+ lineNumber: 324,
182
184
  columnNumber: 27
183
185
  }, void 0),
184
186
  m || S
185
187
  ] }, void 0, !0, {
186
188
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
187
- lineNumber: 321,
189
+ lineNumber: 323,
188
190
  columnNumber: 7
189
191
  }, void 0),
190
- s > 0 && F === "BOTTOM" && /* @__PURE__ */ t(te, { position: "BOTTOM", style: B, children: [
192
+ s > 0 && F === "BOTTOM" && /* @__PURE__ */ t(ie, { position: "BOTTOM", style: B, children: [
191
193
  (d ?? "").toString()?.length ?? 0,
192
194
  "/",
193
195
  s
194
196
  ] }, void 0, !0, {
195
197
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
196
- lineNumber: 327,
198
+ lineNumber: 329,
197
199
  columnNumber: 7
198
200
  }, void 0)
199
201
  ] }, void 0, !0, {
200
202
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
201
- lineNumber: 319,
203
+ lineNumber: 321,
202
204
  columnNumber: 5
203
205
  }, void 0),
204
206
  /* @__PURE__ */ t(
205
- Be,
207
+ Oe,
206
208
  {
207
209
  variant: o,
208
210
  state: x,
211
+ solidDisabled: K,
209
212
  width: e.width,
210
- isActive: x === "active" || Ie,
213
+ isActive: x === "active" || ye,
211
214
  isInvalid: g,
212
- style: f?.InputWrapper ?? fe ?? {},
213
- version: me,
215
+ style: f?.InputWrapper ?? be ?? {},
216
+ version: ce,
214
217
  height: e.height,
215
- hightlightInputColor: he,
216
- hideBorder: ve,
218
+ hightlightInputColor: ke,
219
+ hideBorder: fe,
217
220
  children: [
218
- !!K && /* @__PURE__ */ t(
219
- ie,
221
+ !!V && /* @__PURE__ */ t(
222
+ re,
220
223
  {
221
224
  variant: o,
222
- iconSize: j,
225
+ iconSize: q,
223
226
  onClick: () => p(W?.callback),
224
227
  isLeft: !0,
225
228
  style: {
226
229
  ...f?.IconHolder ?? {},
227
- ...xe
230
+ ...Ie
228
231
  },
229
- children: /* @__PURE__ */ t(K, {}, void 0, !1, {
232
+ children: /* @__PURE__ */ t(V, {}, void 0, !1, {
230
233
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
231
- lineNumber: 355,
234
+ lineNumber: 358,
232
235
  columnNumber: 8
233
236
  }, void 0)
234
237
  },
@@ -236,23 +239,23 @@ const qe = Te(
236
239
  !1,
237
240
  {
238
241
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
239
- lineNumber: 345,
242
+ lineNumber: 348,
240
243
  columnNumber: 7
241
244
  },
242
245
  void 0
243
246
  ),
244
- !!E && /* @__PURE__ */ t(Oe, { variant: o, children: E }, void 0, !1, {
247
+ !!E && /* @__PURE__ */ t(Pe, { variant: o, children: E }, void 0, !1, {
245
248
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
246
- lineNumber: 359,
249
+ lineNumber: 362,
247
250
  columnNumber: 7
248
251
  }, void 0),
249
252
  o === "default" && /* @__PURE__ */ t(
250
- Pe,
253
+ ze,
251
254
  {
252
255
  height: e.height,
253
256
  type: e.type,
254
257
  minHeight: y,
255
- maxHeight: ce,
258
+ maxHeight: pe,
256
259
  autoGrow: I,
257
260
  children: C()
258
261
  },
@@ -260,31 +263,31 @@ const qe = Te(
260
263
  !1,
261
264
  {
262
265
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
263
- lineNumber: 362,
266
+ lineNumber: 365,
264
267
  columnNumber: 7
265
268
  },
266
269
  void 0
267
270
  ),
268
- o === "small" && /* @__PURE__ */ t(ze, { height: e.height, type: e.type, children: C() }, void 0, !1, {
271
+ o === "small" && /* @__PURE__ */ t(Ke, { height: e.height, type: e.type, children: C() }, void 0, !1, {
269
272
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
270
- lineNumber: 373,
273
+ lineNumber: 376,
271
274
  columnNumber: 7
272
275
  }, void 0),
273
- o === "x-small" && /* @__PURE__ */ t(Ke, { height: e.height, type: e.type, children: C() }, void 0, !1, {
276
+ o === "x-small" && /* @__PURE__ */ t(Ve, { height: e.height, type: e.type, children: C() }, void 0, !1, {
274
277
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
275
- lineNumber: 378,
278
+ lineNumber: 381,
276
279
  columnNumber: 7
277
280
  }, void 0),
278
- !!V && /* @__PURE__ */ t(
279
- ie,
281
+ !!X && /* @__PURE__ */ t(
282
+ re,
280
283
  {
281
284
  variant: o,
282
- iconSize: j,
285
+ iconSize: q,
283
286
  onClick: () => p(U?.callback),
284
287
  isLeft: !1,
285
- children: /* @__PURE__ */ t(V, {}, void 0, !1, {
288
+ children: /* @__PURE__ */ t(X, {}, void 0, !1, {
286
289
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
287
- lineNumber: 389,
290
+ lineNumber: 392,
288
291
  columnNumber: 8
289
292
  }, void 0)
290
293
  },
@@ -292,18 +295,18 @@ const qe = Te(
292
295
  !1,
293
296
  {
294
297
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
295
- lineNumber: 383,
298
+ lineNumber: 386,
296
299
  columnNumber: 7
297
300
  },
298
301
  void 0
299
302
  ),
300
- !!L && /* @__PURE__ */ t(Ve, { variant: o, children: L }, void 0, !1, {
303
+ !!L && /* @__PURE__ */ t(Xe, { variant: o, children: L }, void 0, !1, {
301
304
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
302
- lineNumber: 393,
305
+ lineNumber: 396,
303
306
  columnNumber: 7
304
307
  }, void 0),
305
308
  l && l.text && /* @__PURE__ */ t(
306
- re,
309
+ se,
307
310
  {
308
311
  buttonText: l.text,
309
312
  buttonType: l.buttonType,
@@ -313,14 +316,14 @@ const qe = Te(
313
316
  !1,
314
317
  {
315
318
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
316
- lineNumber: 396,
319
+ lineNumber: 399,
317
320
  columnNumber: 7
318
321
  },
319
322
  void 0
320
323
  ),
321
- l && l.buttonProps && /* @__PURE__ */ t(re, { ...l.buttonProps }, void 0, !1, {
324
+ l && l.buttonProps && /* @__PURE__ */ t(se, { ...l.buttonProps }, void 0, !1, {
322
325
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
323
- lineNumber: 402,
326
+ lineNumber: 405,
324
327
  columnNumber: 39
325
328
  }, void 0)
326
329
  ]
@@ -329,79 +332,79 @@ const qe = Te(
329
332
  !0,
330
333
  {
331
334
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
332
- lineNumber: 332,
335
+ lineNumber: 334,
333
336
  columnNumber: 5
334
337
  },
335
338
  void 0
336
339
  ),
337
- !ke && (!!N || !!s) && /* @__PURE__ */ t(
338
- Xe,
340
+ !ve && (!!N || !!s) && /* @__PURE__ */ t(
341
+ je,
339
342
  {
340
343
  invalid: g,
341
- maxCharAlignment: be,
344
+ maxCharAlignment: Ne,
342
345
  children: [
343
346
  R && R,
344
347
  /* @__PURE__ */ t("div", { className: "label__container", children: [
345
- pe ? /* @__PURE__ */ t(Ee, { children: [
348
+ de ? /* @__PURE__ */ t(He, { children: [
346
349
  N,
347
350
  M ? /* @__PURE__ */ t("span", { children: "*" }, void 0, !1, {
348
351
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
349
- lineNumber: 414,
352
+ lineNumber: 417,
350
353
  columnNumber: 24
351
354
  }, void 0) : ""
352
355
  ] }, void 0, !0, {
353
356
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
354
- lineNumber: 412,
357
+ lineNumber: 415,
355
358
  columnNumber: 9
356
- }, void 0) : /* @__PURE__ */ t(He, { children: [
359
+ }, void 0) : /* @__PURE__ */ t(_e, { children: [
357
360
  N,
358
361
  M ? /* @__PURE__ */ t("span", { children: "*" }, void 0, !1, {
359
362
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
360
- lineNumber: 419,
363
+ lineNumber: 422,
361
364
  columnNumber: 24
362
365
  }, void 0) : ""
363
366
  ] }, void 0, !0, {
364
367
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
365
- lineNumber: 417,
368
+ lineNumber: 420,
366
369
  columnNumber: 9
367
370
  }, void 0),
368
- e.tooltipText && /* @__PURE__ */ t(je, { body: e.tooltipText, placement: "top", children: /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(
369
- Ce,
371
+ e.tooltipText && /* @__PURE__ */ t(qe, { body: e.tooltipText, placement: "top", children: /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(
372
+ Te,
370
373
  {
371
374
  style: { marginTop: -3 },
372
375
  width: 18,
373
376
  height: 18,
374
- color: g ? ne.content.negative : ne.content.primary
377
+ color: g ? te.content.negative : te.content.primary
375
378
  },
376
379
  void 0,
377
380
  !1,
378
381
  {
379
382
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
380
- lineNumber: 425,
383
+ lineNumber: 428,
381
384
  columnNumber: 11
382
385
  },
383
386
  void 0
384
387
  ) }, void 0, !1, {
385
388
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
386
- lineNumber: 424,
389
+ lineNumber: 427,
387
390
  columnNumber: 10
388
391
  }, void 0) }, void 0, !1, {
389
392
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
390
- lineNumber: 423,
393
+ lineNumber: 426,
391
394
  columnNumber: 9
392
395
  }, void 0)
393
396
  ] }, void 0, !0, {
394
397
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
395
- lineNumber: 410,
398
+ lineNumber: 413,
396
399
  columnNumber: 7
397
400
  }, void 0),
398
- s > 0 && F === "TOP" && /* @__PURE__ */ t(te, { style: B, children: [
401
+ s > 0 && F === "TOP" && /* @__PURE__ */ t(ie, { style: B, children: [
399
402
  (d ?? "").toString()?.length ?? 0,
400
403
  "/",
401
404
  s
402
405
  ] }, void 0, !0, {
403
406
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
404
- lineNumber: 440,
407
+ lineNumber: 443,
405
408
  columnNumber: 8
406
409
  }, void 0)
407
410
  ]
@@ -410,7 +413,7 @@ const qe = Te(
410
413
  !0,
411
414
  {
412
415
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
413
- lineNumber: 405,
416
+ lineNumber: 408,
414
417
  columnNumber: 6
415
418
  },
416
419
  void 0
@@ -421,15 +424,15 @@ const qe = Te(
421
424
  !0,
422
425
  {
423
426
  fileName: "/Users/himanshusrivastava/Desktop/Work/worktrees/helpdesk-ui-revamp/bik-component-library/src/components/input/Input.tsx",
424
- lineNumber: 312,
427
+ lineNumber: 313,
425
428
  columnNumber: 4
426
429
  },
427
430
  void 0
428
431
  );
429
432
  }
430
433
  );
431
- qe.displayName = "Input";
434
+ Ge.displayName = "Input";
432
435
  export {
433
- qe as Input
436
+ Ge as Input
434
437
  };
435
438
  //# sourceMappingURL=Input.js.map