@temp-spotwork/ui 1.7.7 → 1.7.8

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.
@@ -0,0 +1,40 @@
1
+ import { LabelValuePair } from '../form-types';
2
+
3
+ export type SpotterDropdownOption = LabelValuePair & {
4
+ /**
5
+ * URL of the spotter profile image.
6
+ */
7
+ image?: string;
8
+ /**
9
+ * Optional secondary line (e.g. email, role, location).
10
+ */
11
+ subtitle?: string;
12
+ };
13
+ export type DropdownItemProps = {
14
+ /**
15
+ * Unique identifier for the avatar.
16
+ */
17
+ avatarId: string;
18
+ /**
19
+ * Spotter display name.
20
+ */
21
+ name: string;
22
+ /**
23
+ * URL of the spotter profile image.
24
+ */
25
+ image?: string;
26
+ /**
27
+ * Text abbreviation fallback when no image is provided.
28
+ */
29
+ textView?: string;
30
+ /**
31
+ * Optional secondary line displayed below the name.
32
+ */
33
+ subtitle?: string;
34
+ /**
35
+ * Optional classes for the container.
36
+ */
37
+ className?: string;
38
+ };
39
+ export declare function DropdownItem({ avatarId, name, image, textView, subtitle, className, }: DropdownItemProps): import("react/jsx-runtime").JSX.Element;
40
+ export declare function renderSpotterDropdownOption(option: string | LabelValuePair | SpotterDropdownOption): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,49 @@
1
+ import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
+ import { t as c } from "../../../../bundle-mjs-BjFsLjkg.js";
3
+ import { Avatar as p } from "../../avatar/avatar.js";
4
+ import { Typography as s } from "../../../styles/typography/typography.js";
5
+ import { getStyles as u } from "./styles.js";
6
+ function n({
7
+ avatarId: e,
8
+ name: t,
9
+ image: l,
10
+ textView: m,
11
+ subtitle: i,
12
+ className: d
13
+ }) {
14
+ const a = u();
15
+ return /* @__PURE__ */ o("div", { className: c(a.container, d), "data-testid": "dropdown-item", children: [
16
+ /* @__PURE__ */ r(
17
+ p,
18
+ {
19
+ id: e,
20
+ variant: "circular",
21
+ image: l,
22
+ textView: m ?? t,
23
+ size: 3.5
24
+ }
25
+ ),
26
+ /* @__PURE__ */ o("div", { className: a.textContainer, children: [
27
+ /* @__PURE__ */ r(s, { swStyle: 5, color: "default", className: a.name, children: t }),
28
+ i && /* @__PURE__ */ r(s, { swStyle: 6, color: "subdued", className: a.subtitle, children: i })
29
+ ] })
30
+ ] });
31
+ }
32
+ function h(e) {
33
+ if (typeof e == "string")
34
+ return /* @__PURE__ */ r(n, { avatarId: e, name: e });
35
+ const t = e;
36
+ return /* @__PURE__ */ r(
37
+ n,
38
+ {
39
+ avatarId: t.value,
40
+ name: t.label,
41
+ image: t.image,
42
+ subtitle: t.subtitle
43
+ }
44
+ );
45
+ }
46
+ export {
47
+ n as DropdownItem,
48
+ h as renderSpotterDropdownOption
49
+ };
@@ -0,0 +1,11 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { DropdownItem } from './dropdown-item';
3
+
4
+ declare const meta: Meta<typeof DropdownItem>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const Default: Story;
8
+ export declare const WithoutImage: Story;
9
+ export declare const WithoutSubtitle: Story;
10
+ export declare const WithDropdownSearch: Story;
11
+ export declare const WithTypeahead: Story;
@@ -0,0 +1,109 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { useState as o } from "react";
3
+ import { DropdownItem as l, renderSpotterDropdownOption as a } from "./dropdown-item.js";
4
+ import { DropdownSearch as p } from "../dropdown-search/dropdown-search.js";
5
+ import { Typeahead as c } from "../typeahead/typeahead.js";
6
+ const s = [
7
+ {
8
+ label: "Sarah Johnson",
9
+ value: "spotter-1",
10
+ image: "https://i.pravatar.cc/150?u=spotter-1",
11
+ subtitle: "Toronto, ON"
12
+ },
13
+ {
14
+ label: "Michael Chen",
15
+ value: "spotter-2",
16
+ image: "https://i.pravatar.cc/150?u=spotter-2",
17
+ subtitle: "Vancouver, BC"
18
+ },
19
+ {
20
+ label: "Emily Rodriguez",
21
+ value: "spotter-3",
22
+ subtitle: "Calgary, AB"
23
+ },
24
+ {
25
+ label: "James Wilson",
26
+ value: "spotter-4",
27
+ image: "https://i.pravatar.cc/150?u=spotter-4"
28
+ }
29
+ ], g = {
30
+ title: "@spotwork-ui/atoms/form/DropdownItem",
31
+ component: l,
32
+ parameters: {
33
+ layout: "centered",
34
+ docs: {
35
+ description: {
36
+ component: "A reusable dropdown row for spotter search results. Displays an avatar, name, and optional subtitle using design tokens."
37
+ }
38
+ }
39
+ },
40
+ tags: ["autodocs"],
41
+ argTypes: {
42
+ name: { control: "text" },
43
+ subtitle: { control: "text" },
44
+ image: { control: "text" }
45
+ }
46
+ }, n = {
47
+ args: {
48
+ avatarId: "spotter-1",
49
+ name: "Sarah Johnson",
50
+ image: "https://i.pravatar.cc/150?u=spotter-1",
51
+ subtitle: "Toronto, ON"
52
+ },
53
+ decorators: [
54
+ (t) => /* @__PURE__ */ e("div", { className: "w-[32rem] border border-bcolor-subdued rounded", children: /* @__PURE__ */ e("div", { className: "min-h-[4rem] w-full flex items-center border-b border-bcolor-subdued py-[0.75rem] px-[1rem]", children: /* @__PURE__ */ e(t, {}) }) })
55
+ ]
56
+ }, w = {
57
+ args: {
58
+ avatarId: "spotter-3",
59
+ name: "Emily Rodriguez",
60
+ subtitle: "Calgary, AB"
61
+ },
62
+ decorators: n.decorators
63
+ }, y = {
64
+ args: {
65
+ avatarId: "spotter-4",
66
+ name: "James Wilson",
67
+ image: "https://i.pravatar.cc/150?u=spotter-4"
68
+ },
69
+ decorators: n.decorators
70
+ }, i = () => {
71
+ const [t, r] = o("");
72
+ return /* @__PURE__ */ e("div", { className: "w-[36rem]", children: /* @__PURE__ */ e(
73
+ p,
74
+ {
75
+ label: "Search spotters",
76
+ placeholder: "Search by name...",
77
+ options: s,
78
+ value: t,
79
+ selectValue: r,
80
+ renderOption: a
81
+ }
82
+ ) });
83
+ }, S = {
84
+ render: () => /* @__PURE__ */ e(i, {})
85
+ }, d = () => {
86
+ const [t, r] = o("");
87
+ return /* @__PURE__ */ e("div", { className: "w-[36rem]", children: /* @__PURE__ */ e(
88
+ c,
89
+ {
90
+ label: "Search spotters",
91
+ placeholder: "Search by name...",
92
+ options: s,
93
+ value: t,
94
+ onChange: r,
95
+ selectValue: r,
96
+ renderOption: a
97
+ }
98
+ ) });
99
+ }, f = {
100
+ render: () => /* @__PURE__ */ e(d, {})
101
+ };
102
+ export {
103
+ n as Default,
104
+ S as WithDropdownSearch,
105
+ f as WithTypeahead,
106
+ w as WithoutImage,
107
+ y as WithoutSubtitle,
108
+ g as default
109
+ };
@@ -0,0 +1,2 @@
1
+ export { DropdownItem, renderSpotterDropdownOption } from './dropdown-item';
2
+ export type { DropdownItemProps, SpotterDropdownOption } from './dropdown-item';
@@ -0,0 +1,5 @@
1
+ import { DropdownItem as e, renderSpotterDropdownOption as p } from "./dropdown-item.js";
2
+ export {
3
+ e as DropdownItem,
4
+ p as renderSpotterDropdownOption
5
+ };
@@ -0,0 +1,6 @@
1
+ export declare const getStyles: () => {
2
+ container: string;
3
+ textContainer: string;
4
+ name: string;
5
+ subtitle: string;
6
+ };
@@ -0,0 +1,9 @@
1
+ const e = () => ({
2
+ container: "flex items-center gap-md w-full min-w-0",
3
+ textContainer: "flex flex-col min-w-0 flex-1",
4
+ name: "truncate",
5
+ subtitle: "truncate"
6
+ });
7
+ export {
8
+ e as getStyles
9
+ };
@@ -16,6 +16,7 @@ export declare const Controlled: Story;
16
16
  export declare const ControlledWithExternalState: Story;
17
17
  export declare const WithAddValue: Story;
18
18
  export declare const CustomRenderOption: Story;
19
+ export declare const SpotterSearch: Story;
19
20
  export declare const LargeDataset: Story;
20
21
  export declare const AutoFocus: Story;
21
22
  export declare const CustomNotFoundText: Story;
@@ -6,6 +6,7 @@ import { Typography as p } from "../../../styles/typography/typography.js";
6
6
  import { Icons as h } from "../../icons/icons.js";
7
7
  import "../../icons/iconsSVGs/Large/Profile.js";
8
8
  import "../../icons/iconsSVGs/Small/Profile.js";
9
+ import { renderSpotterDropdownOption as g } from "../dropdown-item/dropdown-item.js";
9
10
  const t = [
10
11
  { label: "Apple", value: "apple" },
11
12
  { label: "Banana", value: "banana" },
@@ -15,7 +16,7 @@ const t = [
15
16
  { label: "Fig", value: "fig" },
16
17
  { label: "Grape", value: "grape" },
17
18
  { label: "Honeydew", value: "honeydew" }
18
- ], g = [
19
+ ], m = [
19
20
  { label: "Canada", value: "CA" },
20
21
  { label: "United States", value: "US" },
21
22
  { label: "United Kingdom", value: "UK" },
@@ -26,7 +27,25 @@ const t = [
26
27
  { label: "Japan", value: "JP" },
27
28
  { label: "Australia", value: "AU" },
28
29
  { label: "Brazil", value: "BR" }
29
- ], m = (e) => /* @__PURE__ */ l("div", { className: "flex items-center gap-2", children: [
30
+ ], v = [
31
+ {
32
+ label: "Sarah Johnson",
33
+ value: "spotter-1",
34
+ image: "https://i.pravatar.cc/150?u=spotter-1",
35
+ subtitle: "Toronto, ON"
36
+ },
37
+ {
38
+ label: "Michael Chen",
39
+ value: "spotter-2",
40
+ image: "https://i.pravatar.cc/150?u=spotter-2",
41
+ subtitle: "Vancouver, BC"
42
+ },
43
+ {
44
+ label: "Emily Rodriguez",
45
+ value: "spotter-3",
46
+ subtitle: "Calgary, AB"
47
+ }
48
+ ], y = (e) => /* @__PURE__ */ l("div", { className: "flex items-center gap-2", children: [
30
49
  /* @__PURE__ */ o(h, { icon: "Building" }),
31
50
  /* @__PURE__ */ l("div", { className: "flex flex-col", children: [
32
51
  /* @__PURE__ */ o(p, { swStyle: 5, color: "default", children: e.label }),
@@ -36,8 +55,8 @@ const t = [
36
55
  ] })
37
56
  ] })
38
57
  ] }), d = (e) => {
39
- var r, s;
40
- const [a, n] = u(e.value || "");
58
+ var n, s;
59
+ const [a, r] = u(e.value || "");
41
60
  return /* @__PURE__ */ l("div", { className: "space-y-4", children: [
42
61
  /* @__PURE__ */ o(
43
62
  c,
@@ -45,7 +64,7 @@ const t = [
45
64
  ...e,
46
65
  value: a,
47
66
  onChange: e.onChange,
48
- selectValue: n
67
+ selectValue: r
49
68
  }
50
69
  ),
51
70
  /* @__PURE__ */ l("div", { className: "text-sm text-gray-600", children: [
@@ -55,11 +74,11 @@ const t = [
55
74
  ] }),
56
75
  /* @__PURE__ */ l("p", { children: [
57
76
  "Selected option: ",
58
- /* @__PURE__ */ o("strong", { children: a ? ((s = (r = e.options) == null ? void 0 : r.find((i) => i.value === a)) == null ? void 0 : s.label) || "not found" : "none" })
77
+ /* @__PURE__ */ o("strong", { children: a ? ((s = (n = e.options) == null ? void 0 : n.find((i) => i.value === a)) == null ? void 0 : s.label) || "not found" : "none" })
59
78
  ] })
60
79
  ] })
61
80
  ] });
62
- }, A = {
81
+ }, E = {
63
82
  title: "@spotwork-ui/atoms/form/DropdownSearch",
64
83
  component: c,
65
84
  parameters: {
@@ -137,25 +156,25 @@ const t = [
137
156
  placeholder: "Search options...",
138
157
  notFoundText: "No results found"
139
158
  }
140
- }, F = {
159
+ }, D = {
141
160
  args: {
142
161
  options: t,
143
162
  label: "Select a fruit"
144
163
  }
145
- }, N = {
164
+ }, k = {
146
165
  args: {
147
166
  options: t,
148
167
  label: "Choose your favorite fruit",
149
168
  placeholder: "Type to search fruits..."
150
169
  }
151
- }, E = {
170
+ }, V = {
152
171
  args: {
153
172
  options: t,
154
173
  label: "Fruit Selection",
155
174
  helperText: "Select a fruit from the dropdown or search for one",
156
175
  placeholder: "Search fruits..."
157
176
  }
158
- }, k = {
177
+ }, O = {
159
178
  args: {
160
179
  options: t,
161
180
  label: "Fruit Selection",
@@ -163,7 +182,7 @@ const t = [
163
182
  helperText: "Please select a valid fruit",
164
183
  placeholder: "Search fruits..."
165
184
  }
166
- }, D = {
185
+ }, U = {
167
186
  args: {
168
187
  options: t,
169
188
  label: "Fruit Selection",
@@ -171,7 +190,7 @@ const t = [
171
190
  helperText: "Consider selecting a seasonal fruit",
172
191
  placeholder: "Search fruits..."
173
192
  }
174
- }, V = {
193
+ }, L = {
175
194
  args: {
176
195
  options: t,
177
196
  label: "Fruit Selection",
@@ -179,7 +198,7 @@ const t = [
179
198
  value: "apple",
180
199
  placeholder: "Search fruits..."
181
200
  }
182
- }, U = {
201
+ }, B = {
183
202
  args: {
184
203
  options: t,
185
204
  label: "Loading Options",
@@ -187,30 +206,30 @@ const t = [
187
206
  loadingIcon: /* @__PURE__ */ o(h, { icon: "Clock" }),
188
207
  placeholder: "Loading..."
189
208
  }
190
- }, L = {
209
+ }, R = {
191
210
  args: {
192
211
  options: [],
193
212
  label: "No Options",
194
213
  placeholder: "No options available",
195
214
  notFoundText: "No options match your search"
196
215
  }
197
- }, O = {
216
+ }, I = {
198
217
  render: (e) => /* @__PURE__ */ o(d, { ...e }),
199
218
  args: {
200
219
  options: t,
201
220
  label: "Controlled Dropdown",
202
221
  placeholder: "Type to search..."
203
222
  }
204
- }, I = {
223
+ }, W = {
205
224
  render: (e) => {
206
- var r, s;
207
- const [a, n] = u("banana");
225
+ var n, s;
226
+ const [a, r] = u("banana");
208
227
  return /* @__PURE__ */ l("div", { className: "space-y-4", children: [
209
228
  /* @__PURE__ */ l("div", { className: "flex gap-2", children: [
210
229
  /* @__PURE__ */ o(
211
230
  "button",
212
231
  {
213
- onClick: () => n("apple"),
232
+ onClick: () => r("apple"),
214
233
  className: "px-3 py-1 bg-blue-500 text-white rounded text-sm",
215
234
  children: "Set to Apple"
216
235
  }
@@ -218,7 +237,7 @@ const t = [
218
237
  /* @__PURE__ */ o(
219
238
  "button",
220
239
  {
221
- onClick: () => n("cherry"),
240
+ onClick: () => r("cherry"),
222
241
  className: "px-3 py-1 bg-blue-500 text-white rounded text-sm",
223
242
  children: "Set to Cherry"
224
243
  }
@@ -226,7 +245,7 @@ const t = [
226
245
  /* @__PURE__ */ o(
227
246
  "button",
228
247
  {
229
- onClick: () => n(""),
248
+ onClick: () => r(""),
230
249
  className: "px-3 py-1 bg-red-500 text-white rounded text-sm",
231
250
  children: "Clear"
232
251
  }
@@ -237,7 +256,7 @@ const t = [
237
256
  {
238
257
  ...e,
239
258
  value: a,
240
- selectValue: n
259
+ selectValue: r
241
260
  }
242
261
  ),
243
262
  /* @__PURE__ */ l("div", { className: "text-sm text-gray-600", children: [
@@ -247,7 +266,7 @@ const t = [
247
266
  ] }),
248
267
  /* @__PURE__ */ l("p", { children: [
249
268
  "Selected option: ",
250
- /* @__PURE__ */ o("strong", { children: a ? ((s = (r = e.options) == null ? void 0 : r.find((i) => i.value === a)) == null ? void 0 : s.label) || "not found" : "none" })
269
+ /* @__PURE__ */ o("strong", { children: a ? ((s = (n = e.options) == null ? void 0 : n.find((i) => i.value === a)) == null ? void 0 : s.label) || "not found" : "none" })
251
270
  ] })
252
271
  ] })
253
272
  ] });
@@ -264,7 +283,7 @@ const t = [
264
283
  }
265
284
  }
266
285
  }
267
- }, R = {
286
+ }, K = {
268
287
  render: (e) => /* @__PURE__ */ o(d, { ...e }),
269
288
  args: {
270
289
  options: t,
@@ -272,14 +291,21 @@ const t = [
272
291
  placeholder: "Search or add new value...",
273
292
  addValue: b()
274
293
  }
275
- }, W = {
294
+ }, P = {
276
295
  args: {
277
- options: g,
296
+ options: m,
278
297
  label: "Select Country",
279
298
  placeholder: "Search countries...",
280
- renderOption: m
299
+ renderOption: y
281
300
  }
282
- }, B = {
301
+ }, j = {
302
+ args: {
303
+ options: v,
304
+ label: "Search spotters",
305
+ placeholder: "Search by name...",
306
+ renderOption: g
307
+ }
308
+ }, z = {
283
309
  args: {
284
310
  options: Array.from({ length: 100 }, (e, a) => ({
285
311
  label: `Option ${a + 1}`,
@@ -288,28 +314,28 @@ const t = [
288
314
  label: "Large Dataset",
289
315
  placeholder: "Search through 100 options..."
290
316
  }
291
- }, K = {
317
+ }, J = {
292
318
  args: {
293
319
  options: t,
294
320
  label: "Auto Focus",
295
321
  autoFocus: !0,
296
322
  placeholder: "This field is auto-focused"
297
323
  }
298
- }, P = {
324
+ }, G = {
299
325
  args: {
300
326
  options: [],
301
327
  label: "Custom Not Found",
302
328
  placeholder: "Search for something...",
303
329
  notFoundText: "Sorry, we couldn't find what you're looking for. Try a different search term."
304
330
  }
305
- }, j = {
331
+ }, H = {
306
332
  args: {
307
333
  options: t,
308
334
  label: "Preselected Value",
309
335
  value: "banana",
310
336
  placeholder: "Search fruits..."
311
337
  }
312
- }, z = {
338
+ }, $ = {
313
339
  render: (e) => /* @__PURE__ */ o(d, { ...e }),
314
340
  args: {
315
341
  options: t,
@@ -324,7 +350,7 @@ const t = [
324
350
  }
325
351
  }
326
352
  }
327
- }, G = {
353
+ }, M = {
328
354
  args: {
329
355
  options: t,
330
356
  label: "Accessible Dropdown",
@@ -340,23 +366,24 @@ const t = [
340
366
  }
341
367
  };
342
368
  export {
343
- G as Accessibility,
344
- K as AutoFocus,
345
- O as Controlled,
346
- I as ControlledWithExternalState,
347
- P as CustomNotFoundText,
348
- W as CustomRenderOption,
349
- F as Default,
350
- V as Disabled,
351
- L as EmptyState,
352
- k as ErrorState,
353
- z as KeyboardNavigation,
354
- B as LargeDataset,
355
- U as Loading,
356
- D as WarningState,
357
- R as WithAddValue,
358
- E as WithHelperText,
359
- N as WithLabel,
360
- j as WithPreselectedValue,
361
- A as default
369
+ M as Accessibility,
370
+ J as AutoFocus,
371
+ I as Controlled,
372
+ W as ControlledWithExternalState,
373
+ G as CustomNotFoundText,
374
+ P as CustomRenderOption,
375
+ D as Default,
376
+ L as Disabled,
377
+ R as EmptyState,
378
+ O as ErrorState,
379
+ $ as KeyboardNavigation,
380
+ z as LargeDataset,
381
+ B as Loading,
382
+ j as SpotterSearch,
383
+ U as WarningState,
384
+ K as WithAddValue,
385
+ V as WithHelperText,
386
+ k as WithLabel,
387
+ H as WithPreselectedValue,
388
+ E as default
362
389
  };
@@ -79,5 +79,9 @@ export type TypeaheadProps = {
79
79
  * This prop added specially for Address Form Component when we render addresses from google API and don't need to filter them.
80
80
  */
81
81
  disableOptionsFiltering?: boolean;
82
+ /**
83
+ * Custom renderer for dropdown options.
84
+ */
85
+ renderOption?: (option: string | LabelValuePair) => React.ReactNode;
82
86
  };
83
- export declare function Typeahead({ error, warning, helperText, label, placeholder, disabled, options, value, selectValue, onChange, endIconClick, addValue, inputRef, onBlur, loadingIcon, autoFocus, expandOnFocus, notFoundText, disableOptionsFiltering, }: TypeaheadProps): import("react/jsx-runtime").JSX.Element;
87
+ export declare function Typeahead({ error, warning, helperText, label, placeholder, disabled, options, value, selectValue, onChange, endIconClick, addValue, inputRef, onBlur, loadingIcon, autoFocus, expandOnFocus, notFoundText, disableOptionsFiltering, renderOption, }: TypeaheadProps): import("react/jsx-runtime").JSX.Element;
@@ -1,69 +1,70 @@
1
1
  import { jsxs as b, jsx as a } from "react/jsx-runtime";
2
- import A, { useState as L, useEffect as R } from "react";
3
- import { t as D } from "../../../../bundle-mjs-BjFsLjkg.js";
4
- import { Textfield as C } from "../textfield/textfield.js";
5
- import { Icons as k } from "../../icons/icons.js";
2
+ import A, { useState as L, useEffect as C } from "react";
3
+ import { t as F } from "../../../../bundle-mjs-BjFsLjkg.js";
4
+ import { Textfield as k } from "../textfield/textfield.js";
5
+ import { Icons as I } from "../../icons/icons.js";
6
6
  import "../../icons/iconsSVGs/Large/Profile.js";
7
7
  import "../../icons/iconsSVGs/Small/Profile.js";
8
8
  import { Typography as N } from "../../../styles/typography/typography.js";
9
- import { getStyles as I } from "./styles.js";
10
- function le({
11
- error: F = !1,
12
- warning: M = !1,
13
- helperText: _,
9
+ import { getStyles as V } from "./styles.js";
10
+ function fe({
11
+ error: M = !1,
12
+ warning: _ = !1,
13
+ helperText: G,
14
14
  label: O,
15
- placeholder: G = "",
16
- disabled: $ = !1,
15
+ placeholder: $ = "",
16
+ disabled: q = !1,
17
17
  options: r,
18
18
  value: s,
19
19
  selectValue: m,
20
- onChange: d,
21
- endIconClick: c,
22
- addValue: p,
20
+ onChange: c,
21
+ endIconClick: d,
22
+ addValue: E,
23
23
  inputRef: n,
24
24
  onBlur: l,
25
- loadingIcon: q,
26
- autoFocus: z,
27
- expandOnFocus: E,
28
- notFoundText: H = "No results found",
29
- disableOptionsFiltering: J = !1
25
+ loadingIcon: z,
26
+ autoFocus: H,
27
+ expandOnFocus: j,
28
+ notFoundText: J = "No results found",
29
+ disableOptionsFiltering: K = !1,
30
+ renderOption: T
30
31
  }) {
31
- const j = A.useRef(null), y = A.useRef(null), [g, h] = L(!1), [K, w] = L(!1), [T, u] = L(""), i = Array.isArray(r) && typeof r[0] == "object" && r[0] !== null && "label" in r[0] && "value" in r[0];
32
+ const p = A.useRef(null), y = A.useRef(null), [g, h] = L(!1), [P, w] = L(!1), [D, u] = L(""), f = Array.isArray(r) && typeof r[0] == "object" && r[0] !== null && "label" in r[0] && "value" in r[0];
32
33
  A.useEffect(() => {
33
34
  const e = (t) => {
34
- const f = j.current;
35
- f && t.target !== f && !f.contains(t.target) && g && (h(!1), w(!1), l == null || l());
35
+ const i = p.current;
36
+ i && t.target !== i && !i.contains(t.target) && g && (h(!1), w(!1), l == null || l());
36
37
  };
37
38
  return document.addEventListener("mousedown", e), () => {
38
39
  document.removeEventListener("mousedown", e);
39
40
  };
40
- }, [g]), R(() => {
41
- if (i && r && s) {
41
+ }, [g]), C(() => {
42
+ if (f && r && s) {
42
43
  const e = r.find(
43
44
  (t) => t.value === s
44
45
  );
45
46
  u(e.label);
46
47
  }
47
48
  }, [r]);
48
- const x = (e) => typeof e == "string" ? e : e.value, v = (e) => typeof e == "string" ? e : e.label, P = (e) => x(e) === s, o = I(), Q = s !== "" && s !== void 0 ? "Cross" : "MagnifyingGlass", U = (e) => {
49
- const t = (i ? T : s) ?? "";
49
+ const x = (e) => typeof e == "string" ? e : e.value, v = (e) => typeof e == "string" ? e : e.label, Q = (e) => x(e) === s, o = V(), U = s !== "" && s !== void 0 ? "Cross" : "MagnifyingGlass", W = (e) => {
50
+ const t = (f ? D : s) ?? "";
50
51
  return e.toLowerCase().includes(t.toLowerCase());
51
- }, W = () => {
52
+ }, X = () => {
52
53
  var e, t;
53
- i && u(""), c == null || c(), h(!0), (e = n == null ? void 0 : n.current) == null || e.focus(), (t = y == null ? void 0 : y.current) == null || t.focus();
54
- }, X = (e) => {
55
- if (m == null || m(e), i) {
54
+ f && u(""), d == null || d(), h(!0), (e = n == null ? void 0 : n.current) == null || e.focus(), (t = y == null ? void 0 : y.current) == null || t.focus();
55
+ }, Y = (e) => {
56
+ if (m == null || m(e), f) {
56
57
  const t = r.find(
57
- (f) => typeof f != "string" && f.value === e
58
+ (i) => typeof i != "string" && i.value === e
58
59
  );
59
60
  t && u(t.label);
60
61
  }
61
62
  h(!1), w(!1), l == null || l();
62
- }, Y = (e) => {
63
- d == null || d(e), w(!!e);
64
63
  }, Z = (e) => {
65
- u(e), d == null || d(e);
66
- }, S = r == null ? void 0 : r.filter((e) => J ? !0 : U(v(e))).sort(
64
+ c == null || c(e), w(!!e);
65
+ }, R = (e) => {
66
+ u(e), c == null || c(e);
67
+ }, S = r == null ? void 0 : r.filter((e) => K ? !0 : W(v(e))).sort(
67
68
  (e, t) => v(e).toLowerCase().localeCompare(v(t).toLowerCase())
68
69
  );
69
70
  return /* @__PURE__ */ b(
@@ -71,37 +72,37 @@ function le({
71
72
  {
72
73
  className: "flex flex-col w-full relative",
73
74
  onFocus: () => {
74
- E && w(!0), h(!0);
75
+ j && w(!0), h(!0);
75
76
  },
76
- ref: j,
77
+ ref: p,
77
78
  children: [
78
79
  /* @__PURE__ */ a("div", { className: o.outDiv, children: /* @__PURE__ */ a(
79
- C,
80
+ k,
80
81
  {
81
82
  ref: n ?? y,
82
- autoFocus: z,
83
+ autoFocus: H,
83
84
  fieldType: "text",
84
- placeholder: G,
85
- value: i ? T : s,
85
+ placeholder: $,
86
+ value: f ? D : s,
86
87
  endIcon: {
87
- icon: Q,
88
- handleClick: W
88
+ icon: U,
89
+ handleClick: X
89
90
  },
90
- onChange: (e) => i ? Z(e) : Y(e),
91
+ onChange: (e) => f ? R(e) : Z(e),
91
92
  label: O,
92
- helperText: _,
93
- error: F,
94
- warning: M,
95
- disabled: $,
93
+ helperText: G,
94
+ error: M,
95
+ warning: _,
96
+ disabled: q,
96
97
  externalActive: g,
97
- loadingIcon: q
98
+ loadingIcon: z
98
99
  }
99
100
  ) }),
100
- K && (s || E) && m && /* @__PURE__ */ b(
101
+ P && (s || j) && m && /* @__PURE__ */ b(
101
102
  "div",
102
103
  {
103
104
  "data-testid": "typeahead-dropdown",
104
- className: D(
105
+ className: F(
105
106
  o.dropdown,
106
107
  O ? "top-[6.8rem]" : "top-[4.5rem]"
107
108
  // if label doesn't define the height of textfield is different
@@ -111,12 +112,12 @@ function le({
111
112
  "div",
112
113
  {
113
114
  "data-testid": `typeahead-${e}`,
114
- onClick: () => X(x(e)),
115
- className: D(
115
+ onClick: () => Y(x(e)),
116
+ className: F(
116
117
  o.itemContainer,
117
- P(e) ? "bg-surface-active" : "bg-white"
118
+ Q(e) ? "bg-surface-active" : "bg-white"
118
119
  ),
119
- children: /* @__PURE__ */ a(
120
+ children: T ? T(e) : /* @__PURE__ */ a(
120
121
  N,
121
122
  {
122
123
  swStyle: 5,
@@ -127,11 +128,11 @@ function le({
127
128
  },
128
129
  x(e)
129
130
  )) : /* @__PURE__ */ b("div", { className: o.itemContainer, children: [
130
- /* @__PURE__ */ a(N, { swStyle: 5, color: "default", children: H }),
131
+ /* @__PURE__ */ a(N, { swStyle: 5, color: "default", children: J }),
131
132
  " "
132
133
  ] }),
133
- p && s && /* @__PURE__ */ b("div", { className: o.addValue, onClick: () => p(s), children: [
134
- /* @__PURE__ */ a(k, { disabled: !0, id: "addvalue", color: "active", icon: "Add" }),
134
+ E && s && /* @__PURE__ */ b("div", { className: o.addValue, onClick: () => E(s), children: [
135
+ /* @__PURE__ */ a(I, { disabled: !0, id: "addvalue", color: "active", icon: "Add" }),
135
136
  /* @__PURE__ */ a(N, { children: "Add value", swStyle: 5, color: "active" })
136
137
  ] })
137
138
  ]
@@ -142,5 +143,5 @@ function le({
142
143
  );
143
144
  }
144
145
  export {
145
- le as Typeahead
146
+ fe as Typeahead
146
147
  };
package/dist/main.d.ts CHANGED
@@ -23,6 +23,8 @@ export type { DropdownProps } from './components/atoms/form/dropdown';
23
23
  export { DropdownFilter } from './components/molecules/filter/dropdown-selector';
24
24
  export { DropdownSearch } from './components/atoms/form/dropdown-search';
25
25
  export type { DropdownSearchProps, ExtendedDropdownSearchOption, BaseDropdownSearchOption, } from './components/atoms/form/dropdown-search';
26
+ export { DropdownItem, renderSpotterDropdownOption } from './components/atoms/form/dropdown-item';
27
+ export type { DropdownItemProps, SpotterDropdownOption } from './components/atoms/form/dropdown-item';
26
28
  export { Calendar } from './components/atoms/form/calendar';
27
29
  export type { CalendarProps, CalendarDate } from './components/atoms/form/calendar';
28
30
  export type { DropdownFilterProps, DropdownFilterOption } from './components/molecules/filter/dropdown-selector';
package/dist/main.js CHANGED
@@ -1,168 +1,171 @@
1
- import { tailwindConfig as a } from "./components/styles/tailwind-config/index.js";
1
+ import { tailwindConfig as m } from "./components/styles/tailwind-config/index.js";
2
2
  import { a as x } from "./index-CSucbNlF.js";
3
- import { Avatar as i } from "./components/atoms/avatar/avatar.js";
3
+ import { Avatar as n } from "./components/atoms/avatar/avatar.js";
4
4
  import { Badge as l } from "./components/atoms/badge/badge.js";
5
5
  import { LabelValuePair as d } from "./components/atoms/card-content/label-value-pair/label-value-pair.js";
6
6
  import { Note as b } from "./components/atoms/card-content/note/note.js";
7
7
  import { Chatheader as u } from "./components/atoms/conversation/chatheader/chatheader.js";
8
- import { ContextMenu as h } from "./components/molecules/navigation/context-menu/context-menu.js";
9
- import { Dateselect as T } from "./components/atoms/form/dateselect/dateselect.js";
10
- import { TimePicker as M } from "./components/atoms/form/time-picker/time-picker.js";
8
+ import { ContextMenu as S } from "./components/molecules/navigation/context-menu/context-menu.js";
9
+ import { Dateselect as D } from "./components/atoms/form/dateselect/dateselect.js";
10
+ import { TimePicker as w } from "./components/atoms/form/time-picker/time-picker.js";
11
11
  import { RecurrenceDay as y } from "./components/atoms/daybubble/recurrence-day/recurrence-day.js";
12
12
  import { RecurrenceWeek as k } from "./components/atoms/form/recurrence-week/recurrence-week.js";
13
13
  import { Checkbox as N } from "./components/atoms/form/checkbox/checkbox.js";
14
14
  import { Chips as L } from "./components/atoms/form/chips/chips.js";
15
15
  import { Dropdown as G } from "./components/atoms/form/dropdown/dropdown.js";
16
16
  import { DropdownFilter as P } from "./components/molecules/filter/dropdown-selector/dropdown-selector.js";
17
- import { DropdownSearch as z } from "./components/atoms/form/dropdown-search/dropdown-search.js";
18
- import { Calendar as V } from "./components/atoms/form/calendar/calendar.js";
19
- import { CheckboxFilter as E } from "./components/molecules/filter/checkbox/checkbox.js";
20
- import { Navigation as j } from "./components/atoms/form/navigation/navigation.js";
21
- import { Icons as J } from "./components/atoms/icons/icons.js";
17
+ import { DropdownSearch as I } from "./components/atoms/form/dropdown-search/dropdown-search.js";
18
+ import { DropdownItem as V, renderSpotterDropdownOption as W } from "./components/atoms/form/dropdown-item/dropdown-item.js";
19
+ import { Calendar as O } from "./components/atoms/form/calendar/calendar.js";
20
+ import { CheckboxFilter as j } from "./components/molecules/filter/checkbox/checkbox.js";
21
+ import { Navigation as J } from "./components/atoms/form/navigation/navigation.js";
22
+ import { Icons as Q } from "./components/atoms/icons/icons.js";
22
23
  import "react/jsx-runtime";
23
24
  import "./components/atoms/icons/iconsSVGs/Large/Profile.js";
24
25
  import "./components/atoms/icons/iconsSVGs/Small/Profile.js";
25
- import { Message as O } from "./components/atoms/message/message.js";
26
- import { Multiselect as U } from "./components/atoms/form/multiselect/multiselect.js";
27
- import { NavigationItem as Y } from "./components/atoms/navigation/navigation-item/navigation-item.js";
28
- import { Radiobutton as $ } from "./components/atoms/form/radiobutton/radiobutton.js";
29
- import { SegmentedControl as ro } from "./components/molecules/filter/segmented-control/segmented-control.js";
30
- import { Switch as to } from "./components/atoms/form/switch/switch.js";
31
- import { Stepper as ao } from "./components/atoms/form/stepper/stepper.js";
32
- import { Tab as xo } from "./components/atoms/tab/tab.js";
33
- import { Textarea as io } from "./components/atoms/form/textarea/textarea.js";
34
- import { RichTextarea as lo } from "./components/atoms/form/textarea/rich-textarea.js";
35
- import { Textfield as co } from "./components/atoms/form/textfield/textfield.js";
36
- import { Timeselect as go } from "./components/atoms/form/timeselect/timeselect.js";
37
- import { Typeahead as Co } from "./components/atoms/form/typeahead/typeahead.js";
38
- import { Button as So } from "./components/molecules/button/button.js";
39
- import { NotesAndHistory as Do } from "./components/molecules/card-content/notes-and-history/notes-and-history.js";
40
- import { CollapsibleCard as wo } from "./components/molecules/collapsible-card/collapsible-card.js";
41
- import { Contact as Ro } from "./components/molecules/conversation/contact/contact.js";
42
- import { MessageEditor as Bo } from "./components/molecules/conversation/message-editor/message-editor.js";
43
- import { MessageGroupComposer as vo } from "./components/molecules/conversation/message-group-composer/message-group-composer.js";
44
- import { Cell as Fo } from "./components/molecules/datatables/cell/cell.js";
45
- import { Row as Ho } from "./components/molecules/datatables/row/row.js";
46
- import { RowHeader as Ao } from "./components/molecules/datatables/row-header/row-header.js";
47
- import { DonutChart as Io } from "./components/molecules/dataviz/donut-chart/donut-chart.js";
48
- import { DotMatrix as Wo } from "./components/molecules/dataviz/dot-matrix/dot-matrix.js";
49
- import { ProgressBar as _o } from "./components/molecules/dataviz/progress-bar/progress-bar.js";
50
- import { SingleStackedBar as qo } from "./components/molecules/dataviz/single-stacked-bar/single-stacked-bar.js";
51
- import { Legend as Ko } from "./components/molecules/dataviz/legend/legend.js";
52
- import { Drawer as Qo } from "./components/molecules/drawer/drawer.js";
53
- import { DateSelector as Xo } from "./components/molecules/filter/date-selector/date-selector.js";
54
- import { DateRangeSelector as Zo } from "./components/molecules/filter/date-range-selector/date-range-selector.js";
55
- import { RangeSelector as or } from "./components/molecules/filter/range-selector/range-selector.js";
56
- import { Radiogroup as er } from "./components/molecules/form/radiogroup/radiogroup.js";
57
- import { Link as pr } from "./components/molecules/link/link.js";
58
- import { Header as mr } from "./components/molecules/navigation/header/header.js";
59
- import { Sidebar as fr } from "./components/molecules/navigation/sidebar/sidebar.js";
60
- import { Content as nr } from "./components/molecules/notifications/content/content.js";
61
- import { S as sr, i as dr } from "./snackbar-B9zd5z5s.js";
62
- import { Tooltip as br } from "./components/atoms/tooltip/tooltip.js";
63
- import { TabGroup as ur } from "./components/molecules/tab-group/tab-group.js";
64
- import { Menubar as hr } from "./components/molecules/navigation/menubar/menubar.js";
65
- import { ContextSearch as Tr } from "./components/molecules/filter/context-search/context-search.js";
66
- import { SmallLargeText as Mr } from "./components/atoms/small-large-text/small-large-text.js";
67
- import { HorizontalBorder as yr } from "./components/atoms/horizontal-border/horizontal-border.js";
68
- import { Dialog as kr } from "./components/molecules/dialog/dialog.js";
69
- import { Alert as Nr } from "./components/molecules/alert/alert.js";
70
- import { c as Lr } from "./card-Cc2Qkiqr.js";
71
- import { Colors as Gr } from "./components/styles/colors/colors.js";
72
- import { apple as Pr, blueRibbon as Ar, borderColor as zr, buttonBorder as Ir, buttonGlyph as Vr, buttonSurface as Wr, cinnabar as Er, crusta as _r, glyph as jr, linkColors as qr, progressBar as Jr, shadow as Kr, sun as Or, surface as Qr, woodsmoke as Ur } from "./components/styles/colors/colormap.js";
73
- import { Typography as Yr } from "./components/styles/typography/typography.js";
74
- import { fontFamilyMap as $r, fontSizeMap as oe, fontWeightMap as re, styleMap as ee, textTypeMap as te } from "./components/styles/typography/style.js";
75
- import { DashedLineSVG as ae } from "./components/styles/dashedBorder/DashedLineSVG.js";
26
+ import { Message as X } from "./components/atoms/message/message.js";
27
+ import { Multiselect as Z } from "./components/atoms/form/multiselect/multiselect.js";
28
+ import { NavigationItem as oo } from "./components/atoms/navigation/navigation-item/navigation-item.js";
29
+ import { Radiobutton as eo } from "./components/atoms/form/radiobutton/radiobutton.js";
30
+ import { SegmentedControl as po } from "./components/molecules/filter/segmented-control/segmented-control.js";
31
+ import { Switch as ao } from "./components/atoms/form/switch/switch.js";
32
+ import { Stepper as fo } from "./components/atoms/form/stepper/stepper.js";
33
+ import { Tab as io } from "./components/atoms/tab/tab.js";
34
+ import { Textarea as so } from "./components/atoms/form/textarea/textarea.js";
35
+ import { RichTextarea as bo } from "./components/atoms/form/textarea/rich-textarea.js";
36
+ import { Textfield as uo } from "./components/atoms/form/textfield/textfield.js";
37
+ import { Timeselect as So } from "./components/atoms/form/timeselect/timeselect.js";
38
+ import { Typeahead as Do } from "./components/atoms/form/typeahead/typeahead.js";
39
+ import { Button as wo } from "./components/molecules/button/button.js";
40
+ import { NotesAndHistory as yo } from "./components/molecules/card-content/notes-and-history/notes-and-history.js";
41
+ import { CollapsibleCard as ko } from "./components/molecules/collapsible-card/collapsible-card.js";
42
+ import { Contact as No } from "./components/molecules/conversation/contact/contact.js";
43
+ import { MessageEditor as Lo } from "./components/molecules/conversation/message-editor/message-editor.js";
44
+ import { MessageGroupComposer as Go } from "./components/molecules/conversation/message-group-composer/message-group-composer.js";
45
+ import { Cell as Po } from "./components/molecules/datatables/cell/cell.js";
46
+ import { Row as Io } from "./components/molecules/datatables/row/row.js";
47
+ import { RowHeader as Vo } from "./components/molecules/datatables/row-header/row-header.js";
48
+ import { DonutChart as Eo } from "./components/molecules/dataviz/donut-chart/donut-chart.js";
49
+ import { DotMatrix as _o } from "./components/molecules/dataviz/dot-matrix/dot-matrix.js";
50
+ import { ProgressBar as qo } from "./components/molecules/dataviz/progress-bar/progress-bar.js";
51
+ import { SingleStackedBar as Ko } from "./components/molecules/dataviz/single-stacked-bar/single-stacked-bar.js";
52
+ import { Legend as Uo } from "./components/molecules/dataviz/legend/legend.js";
53
+ import { Drawer as Yo } from "./components/molecules/drawer/drawer.js";
54
+ import { DateSelector as $o } from "./components/molecules/filter/date-selector/date-selector.js";
55
+ import { DateRangeSelector as rr } from "./components/molecules/filter/date-range-selector/date-range-selector.js";
56
+ import { RangeSelector as tr } from "./components/molecules/filter/range-selector/range-selector.js";
57
+ import { Radiogroup as mr } from "./components/molecules/form/radiogroup/radiogroup.js";
58
+ import { Link as xr } from "./components/molecules/link/link.js";
59
+ import { Header as nr } from "./components/molecules/navigation/header/header.js";
60
+ import { Sidebar as lr } from "./components/molecules/navigation/sidebar/sidebar.js";
61
+ import { Content as dr } from "./components/molecules/notifications/content/content.js";
62
+ import { S as br, i as gr } from "./snackbar-B9zd5z5s.js";
63
+ import { Tooltip as Cr } from "./components/atoms/tooltip/tooltip.js";
64
+ import { TabGroup as hr } from "./components/molecules/tab-group/tab-group.js";
65
+ import { Menubar as Tr } from "./components/molecules/navigation/menubar/menubar.js";
66
+ import { ContextSearch as Mr } from "./components/molecules/filter/context-search/context-search.js";
67
+ import { SmallLargeText as Rr } from "./components/atoms/small-large-text/small-large-text.js";
68
+ import { HorizontalBorder as Br } from "./components/atoms/horizontal-border/horizontal-border.js";
69
+ import { Dialog as vr } from "./components/molecules/dialog/dialog.js";
70
+ import { Alert as Fr } from "./components/molecules/alert/alert.js";
71
+ import { c as Hr } from "./card-Cc2Qkiqr.js";
72
+ import { Colors as Ar } from "./components/styles/colors/colors.js";
73
+ import { apple as zr, blueRibbon as Vr, borderColor as Wr, buttonBorder as Er, buttonGlyph as Or, buttonSurface as _r, cinnabar as jr, crusta as qr, glyph as Jr, linkColors as Kr, progressBar as Qr, shadow as Ur, sun as Xr, surface as Yr, woodsmoke as Zr } from "./components/styles/colors/colormap.js";
74
+ import { Typography as oe } from "./components/styles/typography/typography.js";
75
+ import { fontFamilyMap as ee, fontSizeMap as te, fontWeightMap as pe, styleMap as me, textTypeMap as ae } from "./components/styles/typography/style.js";
76
+ import { DashedLineSVG as fe } from "./components/styles/dashedBorder/DashedLineSVG.js";
76
77
  export {
77
- Nr as Alert,
78
- i as Avatar,
78
+ Fr as Alert,
79
+ n as Avatar,
79
80
  l as Badge,
80
- So as Button,
81
- V as Calendar,
82
- Lr as Card,
83
- Fo as Cell,
81
+ wo as Button,
82
+ O as Calendar,
83
+ Hr as Card,
84
+ Po as Cell,
84
85
  u as Chatheader,
85
86
  N as Checkbox,
86
- E as CheckboxFilter,
87
+ j as CheckboxFilter,
87
88
  L as Chips,
88
- wo as CollapsibleCard,
89
- Gr as Colors,
90
- Ro as Contact,
91
- h as ContextMenu,
92
- Tr as ContextSearch,
93
- ae as DashedLineSVG,
94
- Zo as DateRangeSelector,
95
- Xo as DateSelector,
96
- T as Dateselect,
97
- kr as Dialog,
98
- Io as DonutChart,
99
- Wo as DotMatrix,
100
- Qo as Drawer,
89
+ ko as CollapsibleCard,
90
+ Ar as Colors,
91
+ No as Contact,
92
+ S as ContextMenu,
93
+ Mr as ContextSearch,
94
+ fe as DashedLineSVG,
95
+ rr as DateRangeSelector,
96
+ $o as DateSelector,
97
+ D as Dateselect,
98
+ vr as Dialog,
99
+ Eo as DonutChart,
100
+ _o as DotMatrix,
101
+ Yo as Drawer,
101
102
  G as Dropdown,
102
103
  P as DropdownFilter,
103
- z as DropdownSearch,
104
- j as FormNavigation,
105
- mr as Header,
106
- yr as HorizontalBorder,
107
- J as Icons,
104
+ V as DropdownItem,
105
+ I as DropdownSearch,
106
+ J as FormNavigation,
107
+ nr as Header,
108
+ Br as HorizontalBorder,
109
+ Q as Icons,
108
110
  d as LabelValuePair,
109
- Ko as Legend,
110
- pr as Link,
111
- hr as Menubar,
112
- O as Message,
113
- Bo as MessageEditor,
114
- vo as MessageGroupComposer,
115
- U as Multiselect,
116
- Y as NavigationItem,
111
+ Uo as Legend,
112
+ xr as Link,
113
+ Tr as Menubar,
114
+ X as Message,
115
+ Lo as MessageEditor,
116
+ Go as MessageGroupComposer,
117
+ Z as Multiselect,
118
+ oo as NavigationItem,
117
119
  b as Note,
118
- Do as NotesAndHistory,
119
- nr as NotificationContent,
120
- _o as ProgressBar,
121
- $ as Radiobutton,
122
- er as Radiogroup,
123
- or as RangeSelector,
120
+ yo as NotesAndHistory,
121
+ dr as NotificationContent,
122
+ qo as ProgressBar,
123
+ eo as Radiobutton,
124
+ mr as Radiogroup,
125
+ tr as RangeSelector,
124
126
  y as RecurrenceDay,
125
127
  k as RecurrenceWeek,
126
- lo as RichTextarea,
127
- Ho as Row,
128
- Ao as RowHeader,
129
- ro as SegmentedControl,
130
- fr as Sidebar,
131
- qo as SingleStackedBar,
132
- Mr as SmallLargeText,
133
- sr as Snackbar,
134
- ao as Stepper,
135
- to as Switch,
136
- xo as Tab,
137
- ur as TabGroup,
138
- io as Textarea,
139
- co as Textfield,
140
- M as TimePicker,
141
- go as Timeselect,
142
- dr as Toast,
143
- br as Tooltip,
128
+ bo as RichTextarea,
129
+ Io as Row,
130
+ Vo as RowHeader,
131
+ po as SegmentedControl,
132
+ lr as Sidebar,
133
+ Ko as SingleStackedBar,
134
+ Rr as SmallLargeText,
135
+ br as Snackbar,
136
+ fo as Stepper,
137
+ ao as Switch,
138
+ io as Tab,
139
+ hr as TabGroup,
140
+ so as Textarea,
141
+ uo as Textfield,
142
+ w as TimePicker,
143
+ So as Timeselect,
144
+ gr as Toast,
145
+ Cr as Tooltip,
144
146
  x as TooltipProvider,
145
- Co as Typeahead,
146
- Yr as Typography,
147
- Pr as apple,
148
- Ar as blue_ribbon,
149
- zr as borderColor,
150
- Ir as buttonBorder,
151
- Vr as buttonGlyph,
152
- Wr as buttonSurface,
153
- Er as cinnabar,
154
- _r as crusta,
155
- $r as fontFamilyMap,
156
- oe as fontSizeMap,
157
- re as fontWeightMap,
158
- jr as glyph,
159
- qr as linkColors,
160
- Jr as progressBar,
161
- Kr as shadow,
162
- ee as styleMap,
163
- Or as sun,
164
- Qr as surface,
165
- a as tailwindConfig,
166
- te as textTypeMap,
167
- Ur as woodsmoke
147
+ Do as Typeahead,
148
+ oe as Typography,
149
+ zr as apple,
150
+ Vr as blue_ribbon,
151
+ Wr as borderColor,
152
+ Er as buttonBorder,
153
+ Or as buttonGlyph,
154
+ _r as buttonSurface,
155
+ jr as cinnabar,
156
+ qr as crusta,
157
+ ee as fontFamilyMap,
158
+ te as fontSizeMap,
159
+ pe as fontWeightMap,
160
+ Jr as glyph,
161
+ Kr as linkColors,
162
+ Qr as progressBar,
163
+ W as renderSpotterDropdownOption,
164
+ Ur as shadow,
165
+ me as styleMap,
166
+ Xr as sun,
167
+ Yr as surface,
168
+ m as tailwindConfig,
169
+ ae as textTypeMap,
170
+ Zr as woodsmoke
168
171
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@temp-spotwork/ui",
3
3
  "private": false,
4
- "version": "1.7.7",
4
+ "version": "1.7.8",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",