@temp-spotwork/ui 1.4.4 → 1.4.6

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.
@@ -88,6 +88,13 @@ export declare const svgs: {
88
88
  File: ({ fill }: {
89
89
  fill: any;
90
90
  }) => import("react/jsx-runtime").JSX.Element;
91
+ FileDownload: ({ width, height, stroke, fill, className, }: {
92
+ width?: string;
93
+ height?: string;
94
+ stroke?: string;
95
+ fill?: string;
96
+ className?: string;
97
+ }) => import("react/jsx-runtime").JSX.Element;
91
98
  ExpandSmall: ({ fill }: {
92
99
  fill: any;
93
100
  }) => import("react/jsx-runtime").JSX.Element;
@@ -23,87 +23,88 @@ import $ from "./iconsSVGs/Large/DoubleTick.js";
23
23
  import u from "./iconsSVGs/Large/Duplicate.js";
24
24
  import I from "./iconsSVGs/Large/Edit.js";
25
25
  import "react/jsx-runtime";
26
- import y from "./iconsSVGs/Large/File.js";
26
+ import w from "./iconsSVGs/Large/File.js";
27
+ import y from "./iconsSVGs/Large/FileDownload.js";
27
28
  import M from "./iconsSVGs/Large/HamburgerMenu.js";
28
29
  import b from "./iconsSVGs/Large/KebabMenu.js";
29
- import w from "./iconsSVGs/Large/MagnifyingGlass.js";
30
- import D from "./iconsSVGs/Large/Maximize.js";
31
- import U from "./iconsSVGs/Large/Maximize1.js";
32
- import R from "./iconsSVGs/Large/Minimize.js";
33
- import P from "./iconsSVGs/Large/OpenSeparately.js";
34
- import L from "./iconsSVGs/Large/PlaceholderIcon.js";
35
- import { Profile as T } from "./iconsSVGs/Large/Profile.js";
36
- import O from "./iconsSVGs/Large/Restore.js";
30
+ import D from "./iconsSVGs/Large/MagnifyingGlass.js";
31
+ import U from "./iconsSVGs/Large/Maximize.js";
32
+ import R from "./iconsSVGs/Large/Maximize1.js";
33
+ import P from "./iconsSVGs/Large/Minimize.js";
34
+ import L from "./iconsSVGs/Large/OpenSeparately.js";
35
+ import T from "./iconsSVGs/Large/PlaceholderIcon.js";
36
+ import { Profile as O } from "./iconsSVGs/Large/Profile.js";
37
+ import F from "./iconsSVGs/Large/Restore.js";
37
38
  import E from "./iconsSVGs/Large/Send.js";
38
- import F from "./iconsSVGs/Large/Shifts.js";
39
- import x from "./iconsSVGs/Large/Sort.js";
40
- import G from "./iconsSVGs/Large/Subtract.js";
41
- import K from "./iconsSVGs/Large/Summary.js";
42
- import N from "./iconsSVGs/Large/Support.js";
43
- import W from "./iconsSVGs/Large/Tick.js";
44
- import z from "./iconsSVGs/Large/Timer.js";
45
- import B from "./iconsSVGs/Large/Trash.js";
46
- import H from "./iconsSVGs/Large/Undo.js";
47
- import J from "./iconsSVGs/Large/Verification.js";
48
- import V from "./iconsSVGs/Large/Sidepeak.js";
49
- import j from "./iconsSVGs/Large/Settings.js";
50
- import q from "./iconsSVGs/Large/SwitchToClassic.js";
51
- import Q from "./iconsSVGs/Large/Building.js";
52
- import X from "./iconsSVGs/Large/NewSpotter.js";
53
- import Y from "./iconsSVGs/Large/FlaggedMessage.js";
54
- import Z from "./iconsSVGs/Large/AbnormalLastShift.js";
55
- import _ from "./iconsSVGs/Large/LocationDisabled.js";
56
- import oo from "./iconsSVGs/Large/Jobs.js";
57
- import ro from "./iconsSVGs/Large/Feedback.js";
58
- import mo from "./iconsSVGs/Small/Add.js";
59
- import io from "./iconsSVGs/Small/Alert.js";
60
- import to from "./iconsSVGs/Small/ArrowRight.js";
61
- import eo from "./iconsSVGs/Small/ArrowUp.js";
62
- import lo from "./iconsSVGs/Small/Ascending.js";
63
- import po from "./iconsSVGs/Small/Calendar.js";
64
- import ao from "./iconsSVGs/Small/CaretDown.js";
65
- import fo from "./iconsSVGs/Small/CaretRight.js";
66
- import no from "./iconsSVGs/Small/CheckedIn.js";
67
- import So from "./iconsSVGs/Small/CheckedOut.js";
68
- import so from "./iconsSVGs/Small/CheckIn.js";
69
- import co from "./iconsSVGs/Small/CheckInCircle.js";
70
- import Co from "./iconsSVGs/Small/CheckOut.js";
71
- import ho from "./iconsSVGs/Small/ChevronDown.js";
72
- import go from "./iconsSVGs/Small/ChevronLeft.js";
73
- import Ao from "./iconsSVGs/Small/ChevronRight.js";
74
- import ko from "./iconsSVGs/Small/ChevronUp.js";
75
- import vo from "./iconsSVGs/Small/Collapse.js";
76
- import $o from "./iconsSVGs/Small/Copy.js";
77
- import uo from "./iconsSVGs/Small/Cross.js";
78
- import Io from "./iconsSVGs/Small/CrossInCircle.js";
39
+ import x from "./iconsSVGs/Large/Shifts.js";
40
+ import G from "./iconsSVGs/Large/Sort.js";
41
+ import K from "./iconsSVGs/Large/Subtract.js";
42
+ import N from "./iconsSVGs/Large/Summary.js";
43
+ import W from "./iconsSVGs/Large/Support.js";
44
+ import z from "./iconsSVGs/Large/Tick.js";
45
+ import B from "./iconsSVGs/Large/Timer.js";
46
+ import H from "./iconsSVGs/Large/Trash.js";
47
+ import J from "./iconsSVGs/Large/Undo.js";
48
+ import V from "./iconsSVGs/Large/Verification.js";
49
+ import j from "./iconsSVGs/Large/Sidepeak.js";
50
+ import q from "./iconsSVGs/Large/Settings.js";
51
+ import Q from "./iconsSVGs/Large/SwitchToClassic.js";
52
+ import X from "./iconsSVGs/Large/Building.js";
53
+ import Y from "./iconsSVGs/Large/NewSpotter.js";
54
+ import Z from "./iconsSVGs/Large/FlaggedMessage.js";
55
+ import _ from "./iconsSVGs/Large/AbnormalLastShift.js";
56
+ import oo from "./iconsSVGs/Large/LocationDisabled.js";
57
+ import ro from "./iconsSVGs/Large/Jobs.js";
58
+ import mo from "./iconsSVGs/Large/Feedback.js";
59
+ import io from "./iconsSVGs/Small/Add.js";
60
+ import to from "./iconsSVGs/Small/Alert.js";
61
+ import eo from "./iconsSVGs/Small/ArrowRight.js";
62
+ import lo from "./iconsSVGs/Small/ArrowUp.js";
63
+ import po from "./iconsSVGs/Small/Ascending.js";
64
+ import ao from "./iconsSVGs/Small/Calendar.js";
65
+ import fo from "./iconsSVGs/Small/CaretDown.js";
66
+ import no from "./iconsSVGs/Small/CaretRight.js";
67
+ import So from "./iconsSVGs/Small/CheckedIn.js";
68
+ import so from "./iconsSVGs/Small/CheckedOut.js";
69
+ import co from "./iconsSVGs/Small/CheckIn.js";
70
+ import Co from "./iconsSVGs/Small/CheckInCircle.js";
71
+ import ho from "./iconsSVGs/Small/CheckOut.js";
72
+ import go from "./iconsSVGs/Small/ChevronDown.js";
73
+ import Ao from "./iconsSVGs/Small/ChevronLeft.js";
74
+ import ko from "./iconsSVGs/Small/ChevronRight.js";
75
+ import vo from "./iconsSVGs/Small/ChevronUp.js";
76
+ import $o from "./iconsSVGs/Small/Collapse.js";
77
+ import uo from "./iconsSVGs/Small/Copy.js";
78
+ import Io from "./iconsSVGs/Small/Cross.js";
79
+ import wo from "./iconsSVGs/Small/CrossInCircle.js";
79
80
  import yo from "./iconsSVGs/Small/Descending.js";
80
81
  import Mo from "./iconsSVGs/Small/DistanceSmall.js";
81
82
  import bo from "./iconsSVGs/Small/Empty.js";
82
- import wo from "./iconsSVGs/Small/Expand.js";
83
- import Do from "./iconsSVGs/Small/Incomplete.js";
84
- import Uo from "./iconsSVGs/Small/Info.js";
85
- import Ro from "./iconsSVGs/Small/KebabMenu.js";
86
- import Po from "./iconsSVGs/Small/LocationPin.js";
87
- import Lo from "./iconsSVGs/Small/MagnifyingGlass.js";
88
- import To from "./iconsSVGs/Small/Notes.js";
89
- import Oo from "./iconsSVGs/Small/OpenSeparately.js";
83
+ import Do from "./iconsSVGs/Small/Expand.js";
84
+ import Uo from "./iconsSVGs/Small/Incomplete.js";
85
+ import Ro from "./iconsSVGs/Small/Info.js";
86
+ import Po from "./iconsSVGs/Small/KebabMenu.js";
87
+ import Lo from "./iconsSVGs/Small/LocationPin.js";
88
+ import To from "./iconsSVGs/Small/MagnifyingGlass.js";
89
+ import Oo from "./iconsSVGs/Small/Notes.js";
90
+ import Fo from "./iconsSVGs/Small/OpenSeparately.js";
90
91
  import Eo from "./iconsSVGs/Small/PlaceholderIcon.js";
91
- import { ProfileSmall as Fo } from "./iconsSVGs/Small/Profile.js";
92
- import xo from "./iconsSVGs/Small/ReadStatus.js";
93
- import Go from "./iconsSVGs/Small/Shield.js";
94
- import Ko from "./iconsSVGs/Small/SidepeakSmall.js";
95
- import No from "./iconsSVGs/Small/Sort.js";
96
- import Wo from "./iconsSVGs/Small/Success.js";
97
- import zo from "./iconsSVGs/Small/Tick.js";
98
- import Bo from "./iconsSVGs/Small/UnsavedChanges.js";
99
- import Ho from "./iconsSVGs/Small/Upload.js";
100
- import Jo from "./iconsSVGs/Small/Waiting.js";
101
- import Vo from "./iconsSVGs/Small/Warning.js";
102
- import jo from "./iconsSVGs/ExtraLarge/EmptyTemplate.js";
103
- import qo from "./iconsSVGs/ExtraLarge/PostAShift.js";
104
- import Qo from "./iconsSVGs/Countries/USA.js";
105
- import Xo from "./iconsSVGs/Countries/CAN.js";
106
- const qm = {
92
+ import { ProfileSmall as xo } from "./iconsSVGs/Small/Profile.js";
93
+ import Go from "./iconsSVGs/Small/ReadStatus.js";
94
+ import Ko from "./iconsSVGs/Small/Shield.js";
95
+ import No from "./iconsSVGs/Small/SidepeakSmall.js";
96
+ import Wo from "./iconsSVGs/Small/Sort.js";
97
+ import zo from "./iconsSVGs/Small/Success.js";
98
+ import Bo from "./iconsSVGs/Small/Tick.js";
99
+ import Ho from "./iconsSVGs/Small/UnsavedChanges.js";
100
+ import Jo from "./iconsSVGs/Small/Upload.js";
101
+ import Vo from "./iconsSVGs/Small/Waiting.js";
102
+ import jo from "./iconsSVGs/Small/Warning.js";
103
+ import qo from "./iconsSVGs/ExtraLarge/EmptyTemplate.js";
104
+ import Qo from "./iconsSVGs/ExtraLarge/PostAShift.js";
105
+ import Xo from "./iconsSVGs/Countries/USA.js";
106
+ import Yo from "./iconsSVGs/Countries/CAN.js";
107
+ const Xm = {
107
108
  Add: o,
108
109
  AdvancedSearch: r,
109
110
  ArrowLeft: m,
@@ -112,103 +113,104 @@ const qm = {
112
113
  Attach: e,
113
114
  Bell: l,
114
115
  BellUnread: p,
115
- Building: Q,
116
+ Building: X,
116
117
  Calendar: a,
117
118
  Cancellation: f,
118
119
  Chapters: n,
119
120
  CheckIn: S,
120
- CheckInCircleSmall: co,
121
+ CheckInCircleSmall: Co,
121
122
  ChevronDown: s,
122
123
  ChevronLeft: c,
123
124
  ChevronRight: C,
124
125
  ChevronUp: h,
125
126
  Clock: d,
126
- CollapseSmall: vo,
127
+ CollapseSmall: $o,
127
128
  Contact: g,
128
129
  Cross: k,
129
- CrossInCircleSmall: Io,
130
+ CrossInCircleSmall: wo,
130
131
  Descending: v,
131
132
  DoubleTick: $,
132
133
  Duplicate: u,
133
134
  Edit: I,
134
- Feedback: ro,
135
- File: y,
136
- ExpandSmall: wo,
137
- InfoSmall: Uo,
135
+ Feedback: mo,
136
+ File: w,
137
+ FileDownload: y,
138
+ ExpandSmall: Do,
139
+ InfoSmall: Ro,
138
140
  HamburgerMenu: M,
139
- Jobs: oo,
141
+ Jobs: ro,
140
142
  KebabMenu: b,
141
- MagnifyingGlass: w,
142
- Maximize: D,
143
- Maximize1: U,
144
- Minimize: R,
145
- OpenSeparately: P,
146
- PlaceholderIcon: L,
147
- Profile: T,
148
- Restore: O,
143
+ MagnifyingGlass: D,
144
+ Maximize: U,
145
+ Maximize1: R,
146
+ Minimize: P,
147
+ OpenSeparately: L,
148
+ PlaceholderIcon: T,
149
+ Profile: O,
150
+ Restore: F,
149
151
  Send: E,
150
- Settings: j,
151
- Shifts: F,
152
- Sort: x,
153
- Subtract: G,
154
- Summary: K,
155
- Support: N,
156
- SwitchToClassic: q,
157
- Tick: W,
158
- Timer: z,
159
- Trash: B,
160
- Undo: H,
161
- Verification: J,
162
- AddSmall: mo,
163
- AlertSmall: io,
164
- ArrowRightSmall: to,
165
- ArrowUpSmall: eo,
166
- AscendingSmall: lo,
167
- CalendarSmall: po,
168
- CaretDownSmall: ao,
169
- CaretRightSmall: fo,
170
- CheckedInSmall: no,
171
- CheckedOutSmall: So,
172
- CheckinSmall: so,
173
- CheckOutSmall: Co,
174
- ChevronDownSmall: ho,
175
- ChevronLeftSmall: go,
176
- ChevronRightSmall: Ao,
177
- ChevronUpSmall: ko,
178
- CrossSmall: uo,
152
+ Settings: q,
153
+ Shifts: x,
154
+ Sort: G,
155
+ Subtract: K,
156
+ Summary: N,
157
+ Support: W,
158
+ SwitchToClassic: Q,
159
+ Tick: z,
160
+ Timer: B,
161
+ Trash: H,
162
+ Undo: J,
163
+ Verification: V,
164
+ AddSmall: io,
165
+ AlertSmall: to,
166
+ ArrowRightSmall: eo,
167
+ ArrowUpSmall: lo,
168
+ AscendingSmall: po,
169
+ CalendarSmall: ao,
170
+ CaretDownSmall: fo,
171
+ CaretRightSmall: no,
172
+ CheckedInSmall: So,
173
+ CheckedOutSmall: so,
174
+ CheckinSmall: co,
175
+ CheckOutSmall: ho,
176
+ ChevronDownSmall: go,
177
+ ChevronLeftSmall: Ao,
178
+ ChevronRightSmall: ko,
179
+ ChevronUpSmall: vo,
180
+ CrossSmall: Io,
179
181
  CopyLarge: A,
180
- CopySmall: $o,
182
+ CopySmall: uo,
181
183
  DescendingSmall: yo,
182
184
  DistanceSmall: Mo,
183
185
  EmptySmall: bo,
184
- IncompleteSmall: Do,
185
- KebabMenuSmall: Ro,
186
- LocationPinSmall: Po,
187
- MagnifyingGlassSmall: Lo,
188
- NotesSmall: To,
189
- OpenSeparatelySmall: Oo,
186
+ IncompleteSmall: Uo,
187
+ KebabMenuSmall: Po,
188
+ LocationPinSmall: Lo,
189
+ MagnifyingGlassSmall: To,
190
+ NotesSmall: Oo,
191
+ OpenSeparatelySmall: Fo,
190
192
  PlaceholderIconSmall: Eo,
191
- ReadStatus: xo,
192
- ShieldSmall: Go,
193
- SortSmall: No,
194
- SuccessSmall: Wo,
195
- TickSmall: zo,
196
- UnsavedChangesSmall: Bo,
197
- UploadSmall: Ho,
198
- WaitingSmall: Jo,
199
- WarningSmall: Vo,
200
- CAN: Xo,
201
- USA: Qo,
202
- SidePeak: V,
203
- SidePeakSmall: Ko,
204
- ProfileSmall: Fo,
205
- EmptyTemplate: jo,
206
- PostAShift: qo,
207
- NewSpotter: X,
208
- FlaggedMessage: Y,
209
- AbnormalLastShift: Z,
210
- LocationDisabled: _
193
+ ReadStatus: Go,
194
+ ShieldSmall: Ko,
195
+ SortSmall: Wo,
196
+ SuccessSmall: zo,
197
+ TickSmall: Bo,
198
+ UnsavedChangesSmall: Ho,
199
+ UploadSmall: Jo,
200
+ WaitingSmall: Vo,
201
+ WarningSmall: jo,
202
+ CAN: Yo,
203
+ USA: Xo,
204
+ SidePeak: j,
205
+ SidePeakSmall: No,
206
+ ProfileSmall: xo,
207
+ EmptyTemplate: qo,
208
+ PostAShift: Qo,
209
+ NewSpotter: Y,
210
+ FlaggedMessage: Z,
211
+ AbnormalLastShift: _,
212
+ LocationDisabled: oo
211
213
  };
212
214
  export {
213
- qm as svgs
215
+ Xm as svgs
214
216
  };
@@ -4,71 +4,71 @@ import { Typography as A } from "../../styles/typography/typography.js";
4
4
  import { T as $, a as S, b as j, C as T, A as z } from "../../../index-DNpMaKvH.js";
5
5
  import { styles as C } from "./styles.js";
6
6
  import "../../styles/colors/colors.js";
7
- import { crusta as f, cinnabar as g, glyph as e, dataVizColors as b } from "../../styles/colors/colormap.js";
8
- import { t as d } from "../../../bundle-mjs-CAy1p0fn.js";
7
+ import { crusta as f, cinnabar as b, glyph as e, dataVizColors as d } from "../../styles/colors/colormap.js";
8
+ import { t as g } from "../../../bundle-mjs-CAy1p0fn.js";
9
9
  import { tooltipArrowStyles as E, toolTipStyles as M } from "../../styles/tool-tip/styles.js";
10
10
  function O({
11
11
  icon: h = "Add",
12
12
  color: a = "default",
13
13
  cssColor: v,
14
14
  handleClick: s,
15
- disabled: o = !1,
16
- id: r,
17
- hoverText: n,
18
- destructive: i = !1,
15
+ disabled: r = !1,
16
+ id: o,
17
+ hoverText: i,
18
+ destructive: n = !1,
19
19
  dark: c = !1,
20
20
  button: y = !1,
21
21
  hoverBackground: w,
22
22
  autoFocus: m = !1
23
23
  }) {
24
- const l = N[h], I = C(), u = o ? /* @__PURE__ */ t(
24
+ const l = N[h], I = C(), u = r ? /* @__PURE__ */ t(
25
25
  l,
26
26
  {
27
- "data-testid": `icon-${r}`,
28
- fill: v || (e[a] ?? b[a] ?? e.active),
27
+ "data-testid": `icon-${o}`,
28
+ fill: v || (e[a] ?? d[a] ?? e.active),
29
29
  hover: void 0,
30
30
  active: void 0
31
31
  },
32
- r
32
+ o
33
33
  ) : y ? /* @__PURE__ */ t(
34
34
  "button",
35
35
  {
36
36
  autoFocus: m,
37
37
  type: "button",
38
- className: d(
38
+ className: g(
39
39
  I.buttonClass,
40
- `${c ? "focus:bg-surface-defaultInverted hover:bg-surface-defaultInverted active:bg-bcolor-defaultInverted" : i ? "hover:bg-shadow-destructive active:bg-shadow-alert" : "hover:bg-surface-active active:bg-shadow-active"}`,
40
+ `${c ? "focus:bg-surface-defaultInverted hover:bg-surface-defaultInverted active:bg-bcolor-defaultInverted" : n ? "hover:bg-shadow-destructive active:bg-shadow-alert" : "hover:bg-surface-active active:bg-shadow-active"}`,
41
41
  "group text-black"
42
42
  ),
43
- "data-testid": `button-button-icon-${r}`,
44
- onClick: (x) => !o && (s == null ? void 0 : s(x)),
43
+ "data-testid": `button-button-icon-${o}`,
44
+ onClick: (x) => !r && (s == null ? void 0 : s(x)),
45
45
  children: /* @__PURE__ */ t(
46
46
  l,
47
47
  {
48
- active: c ? f[200] : i ? g[800] : e.active,
49
- hover: c ? f[300] : i ? e.alert : e.active,
50
- fill: o === !1 && (c ? f[400] : i ? g[600] : e.active)
48
+ active: c ? f[200] : n ? b[800] : e.active,
49
+ hover: c ? f[300] : n ? e.alert : e.active,
50
+ fill: c ? f[400] : n ? b[600] : e.active
51
51
  }
52
52
  )
53
53
  },
54
- r
54
+ o
55
55
  ) : /* @__PURE__ */ t(
56
56
  "button",
57
57
  {
58
58
  autoFocus: m,
59
59
  type: "button",
60
- "data-testid": `button-icon-${r}`,
61
- onClick: o ? () => {
60
+ "data-testid": `button-icon-${o}`,
61
+ onClick: r ? () => {
62
62
  } : s,
63
63
  className: w ? "hover:bg-surface-active active:bg-shadow-active hover:rounded active:rounded p-xxs" : "",
64
- children: /* @__PURE__ */ t(l, { fill: e[a] ?? b[a] ?? e.active, hover: void 0, active: void 0 })
64
+ children: /* @__PURE__ */ t(l, { fill: e[a] ?? d[a] ?? e.active, hover: void 0, active: void 0 })
65
65
  },
66
- r
66
+ o
67
67
  );
68
- return n ? /* @__PURE__ */ p($, { children: [
69
- /* @__PURE__ */ t(S, { asChild: !o, disabled: o, children: u }),
70
- /* @__PURE__ */ t(j, { children: /* @__PURE__ */ p(T, { className: d(M), side: "bottom", align: "center", children: [
71
- typeof n == "string" ? /* @__PURE__ */ t(A, { color: "defaultInverted", children: n, swStyle: 1, className: "px-xs max-w-[30rem]" }) : n,
68
+ return i ? /* @__PURE__ */ p($, { children: [
69
+ /* @__PURE__ */ t(S, { asChild: !r, disabled: r, children: u }),
70
+ /* @__PURE__ */ t(j, { children: /* @__PURE__ */ p(T, { className: g(M), side: "bottom", align: "center", children: [
71
+ typeof i == "string" ? /* @__PURE__ */ t(A, { color: "defaultInverted", children: i, swStyle: 1, className: "px-xs max-w-[30rem]" }) : i,
72
72
  /* @__PURE__ */ t(z, { className: E })
73
73
  ] }) })
74
74
  ] }) : u;
@@ -0,0 +1,8 @@
1
+ declare const FileDownload: ({ width, height, stroke, fill, className, }: {
2
+ width?: string;
3
+ height?: string;
4
+ stroke?: string;
5
+ fill?: string;
6
+ className?: string;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
+ export default FileDownload;
@@ -0,0 +1,32 @@
1
+ import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
+ const i = ({
3
+ width: t = "24",
4
+ height: a = "24",
5
+ stroke: e,
6
+ fill: n,
7
+ className: r = ""
8
+ }) => /* @__PURE__ */ d(
9
+ "svg",
10
+ {
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ width: t,
13
+ height: a,
14
+ viewBox: "0 0 24 24",
15
+ fill: "none",
16
+ stroke: e ?? n ?? "currentColor",
17
+ strokeWidth: "2",
18
+ strokeLinecap: "round",
19
+ strokeLinejoin: "round",
20
+ className: r,
21
+ "data-testid": "FileDownload-icon",
22
+ children: [
23
+ /* @__PURE__ */ o("path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }),
24
+ /* @__PURE__ */ o("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }),
25
+ /* @__PURE__ */ o("path", { d: "M12 18v-6" }),
26
+ /* @__PURE__ */ o("path", { d: "m9 15 3 3 3-3" })
27
+ ]
28
+ }
29
+ );
30
+ export {
31
+ i as default
32
+ };
@@ -25,6 +25,7 @@ import { default as Edit } from './Edit';
25
25
  import { default as EyeClose } from './EyeClose';
26
26
  import { default as EyeOpen } from './EyeOpen';
27
27
  import { default as File } from './File';
28
+ import { default as FileDownload } from './FileDownload';
28
29
  import { default as HamburgerMenu } from './HamburgerMenu';
29
30
  import { default as KebabMenu } from './KebabMenu';
30
31
  import { default as MagnifyingGlass } from './MagnifyingGlass';
@@ -57,4 +58,4 @@ import { default as LocationDisabled } from './LocationDisabled';
57
58
  import { default as Jobs } from './Jobs';
58
59
  import { default as Feedback } from './Feedback';
59
60
 
60
- export { Add, AdvancedSearch, ArrowLeft, ArrowRight, Ascending, Attach, Bell, BellUnread, Building, Calendar, Cancellation, Chapters, CheckIn, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clock, Contact, Copy, Cross, Descending, DoubleTick, Duplicate, Edit, EyeClose, EyeOpen, File, HamburgerMenu, Jobs, KebabMenu, MagnifyingGlass, Maximize, Maximize1, Minimize, OpenSeparately, PlaceholderIcon, Profile, Restore, Send, Settings, Shifts, Sort, Subtract, Summary, Support, SwitchToClassic, Tick, Timer, Trash, Undo, Verification, SidePeak, NewSpotter, FlaggedMessage, AbnormalLastShift, LocationDisabled, Feedback, };
61
+ export { Add, AdvancedSearch, ArrowLeft, ArrowRight, Ascending, Attach, Bell, BellUnread, Building, Calendar, Cancellation, Chapters, CheckIn, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clock, Contact, Copy, Cross, Descending, DoubleTick, Duplicate, Edit, EyeClose, EyeOpen, File, FileDownload, HamburgerMenu, Jobs, KebabMenu, MagnifyingGlass, Maximize, Maximize1, Minimize, OpenSeparately, PlaceholderIcon, Profile, Restore, Send, Settings, Shifts, Sort, Subtract, Summary, Support, SwitchToClassic, Tick, Timer, Trash, Undo, Verification, SidePeak, NewSpotter, FlaggedMessage, AbnormalLastShift, LocationDisabled, Feedback, };
@@ -9,11 +9,11 @@ import { default as h } from "./BellUnread.js";
9
9
  import { default as S } from "./Calendar.js";
10
10
  import { default as b } from "./Cancellation.js";
11
11
  import { default as M } from "./Chapters.js";
12
- import { default as y } from "./CheckIn.js";
13
- import { default as w } from "./ChevronDown.js";
12
+ import { default as w } from "./CheckIn.js";
13
+ import { default as D } from "./ChevronDown.js";
14
14
  import { default as T } from "./ChevronLeft.js";
15
- import { default as z } from "./ChevronRight.js";
16
- import { default as E } from "./ChevronUp.js";
15
+ import { default as L } from "./ChevronRight.js";
16
+ import { default as B } from "./ChevronUp.js";
17
17
  import { default as P } from "./Clock.js";
18
18
  import { default as U } from "./Contact.js";
19
19
  import { default as O } from "./Copy.js";
@@ -25,39 +25,40 @@ import { default as W } from "./Edit.js";
25
25
  import { default as Y } from "./EyeClose.js";
26
26
  import { default as _ } from "./EyeOpen.js";
27
27
  import { default as ee } from "./File.js";
28
- import { default as oe } from "./HamburgerMenu.js";
29
- import { default as te } from "./KebabMenu.js";
30
- import { default as le } from "./MagnifyingGlass.js";
31
- import { default as de } from "./Maximize.js";
32
- import { default as me } from "./Maximize1.js";
33
- import { default as xe } from "./Minimize.js";
34
- import { default as ne } from "./OpenSeparately.js";
35
- import { default as he } from "./PlaceholderIcon.js";
36
- import { Profile as Se } from "./Profile.js";
37
- import { default as be } from "./Restore.js";
38
- import { default as Me } from "./Send.js";
39
- import { default as ye } from "./Shifts.js";
40
- import { default as we } from "./Sort.js";
41
- import { default as Te } from "./Subtract.js";
42
- import { default as ze } from "./Summary.js";
43
- import { default as Ee } from "./Support.js";
44
- import { default as Pe } from "./Tick.js";
45
- import { default as Ue } from "./Timer.js";
46
- import { default as Oe } from "./Trash.js";
47
- import { default as He } from "./Undo.js";
48
- import { default as Ke } from "./Verification.js";
49
- import { default as Ve } from "./Sidepeak.js";
50
- import { default as qe } from "./Settings.js";
51
- import { default as We } from "./SwitchToClassic.js";
52
- import { default as Ye } from "./Building.js";
53
- import { default as _e } from "./NewSpotter.js";
54
- import { default as ea } from "./FlaggedMessage.js";
55
- import { default as oa } from "./AbnormalLastShift.js";
56
- import { default as ta } from "./LocationDisabled.js";
57
- import { default as la } from "./Jobs.js";
58
- import { default as da } from "./Feedback.js";
28
+ import { default as oe } from "./FileDownload.js";
29
+ import { default as te } from "./HamburgerMenu.js";
30
+ import { default as le } from "./KebabMenu.js";
31
+ import { default as de } from "./MagnifyingGlass.js";
32
+ import { default as me } from "./Maximize.js";
33
+ import { default as xe } from "./Maximize1.js";
34
+ import { default as ne } from "./Minimize.js";
35
+ import { default as he } from "./OpenSeparately.js";
36
+ import { default as Se } from "./PlaceholderIcon.js";
37
+ import { Profile as be } from "./Profile.js";
38
+ import { default as Me } from "./Restore.js";
39
+ import { default as we } from "./Send.js";
40
+ import { default as De } from "./Shifts.js";
41
+ import { default as Te } from "./Sort.js";
42
+ import { default as Le } from "./Subtract.js";
43
+ import { default as Be } from "./Summary.js";
44
+ import { default as Pe } from "./Support.js";
45
+ import { default as Ue } from "./Tick.js";
46
+ import { default as Oe } from "./Timer.js";
47
+ import { default as He } from "./Trash.js";
48
+ import { default as Ke } from "./Undo.js";
49
+ import { default as Ve } from "./Verification.js";
50
+ import { default as qe } from "./Sidepeak.js";
51
+ import { default as We } from "./Settings.js";
52
+ import { default as Ye } from "./SwitchToClassic.js";
53
+ import { default as _e } from "./Building.js";
54
+ import { default as ea } from "./NewSpotter.js";
55
+ import { default as oa } from "./FlaggedMessage.js";
56
+ import { default as ta } from "./AbnormalLastShift.js";
57
+ import { default as la } from "./LocationDisabled.js";
58
+ import { default as da } from "./Jobs.js";
59
+ import { default as ma } from "./Feedback.js";
59
60
  export {
60
- oa as AbnormalLastShift,
61
+ ta as AbnormalLastShift,
61
62
  o as Add,
62
63
  t as AdvancedSearch,
63
64
  l as ArrowLeft,
@@ -66,15 +67,15 @@ export {
66
67
  x as Attach,
67
68
  n as Bell,
68
69
  h as BellUnread,
69
- Ye as Building,
70
+ _e as Building,
70
71
  S as Calendar,
71
72
  b as Cancellation,
72
73
  M as Chapters,
73
- y as CheckIn,
74
- w as ChevronDown,
74
+ w as CheckIn,
75
+ D as ChevronDown,
75
76
  T as ChevronLeft,
76
- z as ChevronRight,
77
- E as ChevronUp,
77
+ L as ChevronRight,
78
+ B as ChevronUp,
78
79
  P as Clock,
79
80
  U as Contact,
80
81
  O as Copy,
@@ -85,34 +86,35 @@ export {
85
86
  W as Edit,
86
87
  Y as EyeClose,
87
88
  _ as EyeOpen,
88
- da as Feedback,
89
+ ma as Feedback,
89
90
  ee as File,
90
- ea as FlaggedMessage,
91
- oe as HamburgerMenu,
92
- la as Jobs,
93
- te as KebabMenu,
94
- ta as LocationDisabled,
95
- le as MagnifyingGlass,
96
- de as Maximize,
97
- me as Maximize1,
98
- xe as Minimize,
99
- _e as NewSpotter,
100
- ne as OpenSeparately,
101
- he as PlaceholderIcon,
102
- Se as Profile,
103
- be as Restore,
104
- Me as Send,
105
- qe as Settings,
106
- ye as Shifts,
107
- Ve as SidePeak,
108
- we as Sort,
109
- Te as Subtract,
110
- ze as Summary,
111
- Ee as Support,
112
- We as SwitchToClassic,
113
- Pe as Tick,
114
- Ue as Timer,
115
- Oe as Trash,
116
- He as Undo,
117
- Ke as Verification
91
+ oe as FileDownload,
92
+ oa as FlaggedMessage,
93
+ te as HamburgerMenu,
94
+ da as Jobs,
95
+ le as KebabMenu,
96
+ la as LocationDisabled,
97
+ de as MagnifyingGlass,
98
+ me as Maximize,
99
+ xe as Maximize1,
100
+ ne as Minimize,
101
+ ea as NewSpotter,
102
+ he as OpenSeparately,
103
+ Se as PlaceholderIcon,
104
+ be as Profile,
105
+ Me as Restore,
106
+ we as Send,
107
+ We as Settings,
108
+ De as Shifts,
109
+ qe as SidePeak,
110
+ Te as Sort,
111
+ Le as Subtract,
112
+ Be as Summary,
113
+ Pe as Support,
114
+ Ye as SwitchToClassic,
115
+ Ue as Tick,
116
+ Oe as Timer,
117
+ He as Trash,
118
+ Ke as Undo,
119
+ Ve as Verification
118
120
  };
@@ -1,3 +1,5 @@
1
+ import { default as React } from 'react';
2
+
1
3
  export type ContextSearchProps = {
2
4
  /**
3
5
  * value of the input
@@ -15,5 +17,17 @@ export type ContextSearchProps = {
15
17
  * disabled
16
18
  */
17
19
  disabled?: boolean;
20
+ /**
21
+ * class name for the container
22
+ */
23
+ className?: string;
24
+ /**
25
+ * css styles for the input
26
+ */
27
+ style?: React.CSSProperties;
28
+ /**
29
+ * prevent browser suggestions
30
+ */
31
+ preventBrowserSuggestions?: boolean;
18
32
  };
19
- export declare const ContextSearch: ({ value, onChange, placeholder, disabled, }: ContextSearchProps) => import("react/jsx-runtime").JSX.Element;
33
+ export declare const ContextSearch: ({ value, onChange, placeholder, disabled, className, style, preventBrowserSuggestions, }: ContextSearchProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,52 +1,51 @@
1
- import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
- import { useState as p } from "react";
3
- import { Icons as n } from "../../../atoms/icons/icons.js";
1
+ import { jsxs as b, jsx as r } from "react/jsx-runtime";
2
+ import { useState as x } from "react";
3
+ import { Icons as g } from "../../../atoms/icons/icons.js";
4
4
  import "../../../atoms/icons/iconsSVGs/Large/Profile.js";
5
5
  import "../../../atoms/icons/iconsSVGs/Small/Profile.js";
6
6
  import { t as s } from "../../../../bundle-mjs-CAy1p0fn.js";
7
7
  import { outlinedBorder as l } from "../../../styles/defaults/defaults.js";
8
8
  import "../../../../purify.es-eYFoHPwR.js";
9
- import { styleMap as b } from "../../../styles/typography/style.js";
9
+ import { styleMap as v } from "../../../styles/typography/style.js";
10
10
  import "../../../styles/colors/colormap.js";
11
- const w = ({
11
+ const $ = ({
12
12
  value: a,
13
13
  onChange: e,
14
14
  placeholder: i,
15
- disabled: o = !1
15
+ disabled: o = !1,
16
+ className: c,
17
+ style: m,
18
+ preventBrowserSuggestions: u = !1
16
19
  }) => {
17
- const [c, r] = p(!1), m = () => {
18
- r(!0);
19
- }, u = () => {
20
- r(!1);
20
+ const [f, t] = x(!1), p = () => {
21
+ t(!0);
22
+ }, d = () => {
23
+ t(!1);
21
24
  };
22
- return /* @__PURE__ */ d(
25
+ return /* @__PURE__ */ b(
23
26
  "div",
24
27
  {
25
28
  className: s(
26
29
  `h-[3rem] flex items-center gap-xs px-xs bg-surface-default ${l.base} border-bcolor-default `,
27
- c && l.active,
28
- o && "bg-surface-disabled border-bcolor-disabled"
30
+ f && l.active,
31
+ o && "bg-surface-disabled border-bcolor-disabled",
32
+ c
29
33
  ),
34
+ style: m,
30
35
  children: [
31
- /* @__PURE__ */ t(
32
- n,
33
- {
34
- disabled: !0,
35
- icon: "MagnifyingGlassSmall",
36
- color: o ? "disabled" : "active"
37
- }
38
- ),
39
- /* @__PURE__ */ t(
36
+ /* @__PURE__ */ r(g, { disabled: !0, icon: "MagnifyingGlassSmall", color: o ? "disabled" : "active" }),
37
+ /* @__PURE__ */ r(
40
38
  "input",
41
39
  {
42
40
  type: "text",
43
- className: s(`focus:outline-none w-full ${b[1]}`),
41
+ className: s(`focus:outline-none w-full ${v[1]}`),
44
42
  placeholder: i,
45
- onFocus: m,
46
- onBlur: u,
47
- onChange: (f) => e == null ? void 0 : e(f.target.value),
43
+ onFocus: p,
44
+ onBlur: d,
45
+ onChange: (n) => e == null ? void 0 : e(n.target.value),
48
46
  value: a,
49
- disabled: o
47
+ disabled: o,
48
+ autoComplete: u ? "off" : "on"
50
49
  }
51
50
  )
52
51
  ]
@@ -54,5 +53,5 @@ const w = ({
54
53
  );
55
54
  };
56
55
  export {
57
- w as ContextSearch
56
+ $ as ContextSearch
58
57
  };
@@ -19,5 +19,6 @@ export type DropdownFilterProps = {
19
19
  multiselect?: boolean;
20
20
  disabled?: boolean;
21
21
  minWidth?: string | number;
22
+ className?: string;
22
23
  };
23
- export declare const DropdownFilter: ({ onChange, value, placeholder, options, multiselect, disabled, minWidth, }: DropdownFilterProps) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const DropdownFilter: ({ onChange, value, placeholder, options, multiselect, disabled, minWidth, className, }: DropdownFilterProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,63 +1,64 @@
1
1
  import { jsx as s, jsxs as n } from "react/jsx-runtime";
2
- import { useRef as R, useState as V } from "react";
3
- import { R as P, T as $, I as F, P as K, C as z, V as L, a as M } from "../../../../index-CnWyMXBX.js";
4
- import { c as U } from "../../../../index-fN7hCOo3.js";
5
- import { outlinedBorder as N, border as W } from "../../../styles/defaults/defaults.js";
2
+ import { useRef as V, useState as P } from "react";
3
+ import { R as $, T as F, I as K, P as z, C as L, V as M, a as U } from "../../../../index-CnWyMXBX.js";
4
+ import { c as W } from "../../../../index-fN7hCOo3.js";
5
+ import { outlinedBorder as S, border as Z } from "../../../styles/defaults/defaults.js";
6
6
  import { Typography as g } from "../../../styles/typography/typography.js";
7
- import { filterDropdownStyles as Z, contentStyles as q } from "./styles.js";
8
- import { Badge as S } from "../../../atoms/badge/badge.js";
9
- import { Icons as k } from "../../../atoms/icons/icons.js";
7
+ import { filterDropdownStyles as q, contentStyles as G } from "./styles.js";
8
+ import { Badge as k } from "../../../atoms/badge/badge.js";
9
+ import { Icons as A } from "../../../atoms/icons/icons.js";
10
10
  import "../../../atoms/icons/iconsSVGs/Large/Profile.js";
11
11
  import "../../../atoms/icons/iconsSVGs/Small/Profile.js";
12
- import { CheckboxFilter as G } from "../checkbox/checkbox.js";
13
- import { t as A } from "../../../../bundle-mjs-CAy1p0fn.js";
14
- import { getBorderClasses as H } from "../../../atoms/form/utils-for-forms/state-functions.js";
15
- import { useStickyZIndex as J } from "../../../../hooks/use-sticky-z-index.js";
16
- const fe = ({
17
- onChange: y,
12
+ import { CheckboxFilter as H } from "../checkbox/checkbox.js";
13
+ import { t as y } from "../../../../bundle-mjs-CAy1p0fn.js";
14
+ import { getBorderClasses as J } from "../../../atoms/form/utils-for-forms/state-functions.js";
15
+ import { useStickyZIndex as Q } from "../../../../hooks/use-sticky-z-index.js";
16
+ const me = ({
17
+ onChange: x,
18
18
  value: o,
19
19
  placeholder: C = "Select value",
20
20
  options: f,
21
21
  multiselect: t = !1,
22
22
  disabled: a = !1,
23
- minWidth: D
23
+ minWidth: D,
24
+ className: O
24
25
  }) => {
25
- const x = R(null), O = J(x), [c, i] = V(!1), v = H(c, !1, !1, a), I = a ? `bg-surface-disabled ${N.disabled}` : "bg-surface-default", u = Array.isArray(o) ? o.length - 1 : 0;
26
- function w(e) {
26
+ const u = V(null), v = Q(u), [c, i] = P(!1), I = J(c, !1, !1, a), B = a ? `bg-surface-disabled ${S.disabled}` : "bg-surface-default", w = Array.isArray(o) ? o.length - 1 : 0;
27
+ function b(e) {
27
28
  return Array.isArray(e) && typeof e[0] == "object" && e[0] !== null && "label" in e[0] && "value" in e[0];
28
29
  }
29
- const b = (e, r) => {
30
+ const N = (e, r) => {
30
31
  if (Array.isArray(r)) {
31
32
  if (!r.length) return "";
32
- if (w(e)) {
33
+ if (b(e)) {
33
34
  const l = e.find((p) => p.value === r[0]);
34
35
  return l ? l.label : "";
35
36
  }
36
37
  return r[0];
37
38
  } else {
38
- if (w(e)) {
39
+ if (b(e)) {
39
40
  const l = e.find((p) => p.value === r);
40
41
  return l ? l.label : "";
41
42
  }
42
43
  return r;
43
44
  }
44
- }, d = (e) => typeof e == "string" ? e : e.value, B = (e) => typeof e == "string" ? e : e.label, m = (e) => {
45
+ }, d = (e) => typeof e == "string" ? e : e.value, T = (e) => typeof e == "string" ? e : e.label, m = (e) => {
45
46
  if (t) {
46
47
  let r = [];
47
- Array.isArray(o) && o.includes(e) ? r = [...o.filter((l) => l !== e)] : r = [...o, e], y(r);
48
+ Array.isArray(o) && o.includes(e) ? r = [...o.filter((l) => l !== e)] : r = [...o, e], x(r);
48
49
  } else
49
- y(e);
50
- }, h = f.filter((e) => !e.hide), T = (e, r) => {
50
+ x(e);
51
+ }, h = f.filter((e) => !e.hide), j = (e, r) => {
51
52
  e.key === "Enter" && m(r);
52
- }, j = (e) => {
53
+ }, E = (e) => {
53
54
  e.key === "Escape" && i(!1);
54
- }, E = () => {
55
+ }, R = () => {
55
56
  i(!1);
56
57
  };
57
- return /* @__PURE__ */ s("div", { className: "w-full", children: /* @__PURE__ */ n(
58
- P,
58
+ return /* @__PURE__ */ s("div", { className: y("w-full", O), children: /* @__PURE__ */ n(
59
+ $,
59
60
  {
60
- value: b(f, o),
61
+ value: N(f, o),
61
62
  onValueChange: (e) => !t && m(e),
62
63
  open: c,
63
64
  onOpenChange: (e) => {
@@ -66,10 +67,10 @@ const fe = ({
66
67
  disabled: a,
67
68
  children: [
68
69
  /* @__PURE__ */ n(
69
- $,
70
+ F,
70
71
  {
71
- className: A(Z, I, v),
72
- ref: x,
72
+ className: y(q, B, I),
73
+ ref: u,
73
74
  style: { height: "3rem", padding: "0.75rem", minWidth: D },
74
75
  children: [
75
76
  o && o.length !== 0 ? /* @__PURE__ */ n("div", { className: "min-w-0 flex gap-xxs items-center", children: [
@@ -77,12 +78,12 @@ const fe = ({
77
78
  g,
78
79
  {
79
80
  swStyle: 1,
80
- children: b(f, o),
81
+ children: N(f, o),
81
82
  className: "whitespace-nowrap overflow-hidden text-ellipsis",
82
83
  color: a ? "disabled" : "default"
83
84
  }
84
85
  ),
85
- t && u > 0 && /* @__PURE__ */ s(S, { text: "+" + u, color: "affirmative" })
86
+ t && w > 0 && /* @__PURE__ */ s(k, { text: "+" + w, color: "affirmative" })
86
87
  ] }) : /* @__PURE__ */ s(
87
88
  g,
88
89
  {
@@ -92,8 +93,8 @@ const fe = ({
92
93
  className: "whitespace-nowrap overflow-hidden text-ellipsis"
93
94
  }
94
95
  ),
95
- /* @__PURE__ */ s(F, { className: "flex-shrink-0", children: /* @__PURE__ */ s(
96
- k,
96
+ /* @__PURE__ */ s(K, { className: "flex-shrink-0", children: /* @__PURE__ */ s(
97
+ A,
97
98
  {
98
99
  id: "dropdown-icon",
99
100
  disabled: !0,
@@ -104,44 +105,44 @@ const fe = ({
104
105
  ]
105
106
  }
106
107
  ),
107
- /* @__PURE__ */ s(K, { children: /* @__PURE__ */ s(
108
- z,
108
+ /* @__PURE__ */ s(z, { children: /* @__PURE__ */ s(
109
+ L,
109
110
  {
110
- className: U(
111
- q,
111
+ className: W(
112
+ G,
112
113
  "max-h-[27.3rem]",
113
114
  // to fit 9 items in timesheet filter (with border width)
114
- c ? N.active : W.default
115
+ c ? S.active : Z.default
115
116
  ),
116
117
  position: "popper",
117
118
  side: "bottom",
118
- onPointerDownOutside: E,
119
- onKeyDown: j,
120
- style: { minWidth: "auto", zIndex: O },
121
- children: /* @__PURE__ */ s(L, { children: h == null ? void 0 : h.map((e, r) => /* @__PURE__ */ s(
122
- M,
119
+ onPointerDownOutside: R,
120
+ onKeyDown: E,
121
+ style: { minWidth: "auto", zIndex: v },
122
+ children: /* @__PURE__ */ s(M, { children: h == null ? void 0 : h.map((e, r) => /* @__PURE__ */ s(
123
+ U,
123
124
  {
124
- className: A(
125
+ className: y(
125
126
  "flex flex-row items-center gap-xs py-sm cursor-pointer hover:bg-surface-active hover:outline-none focus:bg-surface-active focus:outline-none",
126
127
  e.hasTopBorder && "border-t border-e-bcolor-subdued",
127
128
  t ? "pr-xs" : "px-md"
128
129
  ),
129
130
  value: d(e),
130
131
  onClick: () => t && m(d(e)),
131
- onKeyDown: (l) => T(l, d(e)),
132
+ onKeyDown: (l) => j(l, d(e)),
132
133
  style: { height: "3rem" },
133
134
  children: /* @__PURE__ */ n("div", { className: "flex items-center", style: { height: "100%" }, children: [
134
135
  t && /* @__PURE__ */ s(
135
- G,
136
+ H,
136
137
  {
137
138
  "data-testid": `checkbox-${r}`,
138
139
  checked: o ? o.includes(d(e)) : !1
139
140
  }
140
141
  ),
141
142
  /* @__PURE__ */ n("div", { className: "flex items-center gap-xxs", children: [
142
- e.icon && /* @__PURE__ */ s(k, { ...e.icon, color: e.color ? e.color : "default" }),
143
+ e.icon && /* @__PURE__ */ s(A, { ...e.icon, color: e.color ? e.color : "default" }),
143
144
  !e.icon && e.badgeText && /* @__PURE__ */ s(
144
- S,
145
+ k,
145
146
  {
146
147
  text: e.badgeText,
147
148
  color: e.color ? e.color : "default"
@@ -151,7 +152,7 @@ const fe = ({
151
152
  g,
152
153
  {
153
154
  swStyle: 1,
154
- children: B(e),
155
+ children: T(e),
155
156
  color: e.color ? e.color : "default",
156
157
  className: "whitespace-nowrap overflow-hidden text-ellipsis"
157
158
  }
@@ -168,5 +169,5 @@ const fe = ({
168
169
  ) });
169
170
  };
170
171
  export {
171
- fe as DropdownFilter
172
+ me as DropdownFilter
172
173
  };
@@ -2,21 +2,21 @@ import { c as e } from "../../../../index-fN7hCOo3.js";
2
2
  const r = e(
3
3
  "px-md h-[4rem] w-full flex flex-row justify-between items-center gap-md"
4
4
  ), s = e(
5
- "px-md h-[4rem] w-auto flex flex-row justify-between items-center gap-xs"
6
- ), n = e(
5
+ "px-md h-[4rem] w-full flex flex-row justify-between items-center gap-xs"
6
+ ), l = e(
7
7
  "overflow-hidden bg-surface-default rounded-lg my-[0.3rem] border-[0.15rem] outline-none"
8
- ), o = "flex flex-row items-center gap-xs py-sm px-md cursor-pointer hover:bg-surface-active hover:outline-none focus:bg-surface-active focus:outline-none ", l = "flex items-center justify-center h-[1.5rem] bg-surface-default text-glyph-active cursor-default", c = "flex items-center gap-xs self-stretch", a = {
8
+ ), n = "flex flex-row items-center gap-xs py-sm px-md cursor-pointer hover:bg-surface-active hover:outline-none focus:bg-surface-active focus:outline-none ", o = "flex items-center justify-center h-[1.5rem] bg-surface-default text-glyph-active cursor-default", c = "flex items-center gap-xs self-stretch", f = {
9
9
  default: "affirmative",
10
10
  warning: "warning",
11
11
  error: "alert",
12
12
  disabled: "disabled"
13
13
  };
14
14
  export {
15
- a as badgeStyleMap,
16
- n as contentStyles,
15
+ f as badgeStyleMap,
16
+ l as contentStyles,
17
17
  s as filterDropdownStyles,
18
18
  c as hintStyles,
19
- o as itemStyles,
20
- l as scrollButtonStyles,
19
+ n as itemStyles,
20
+ o as scrollButtonStyles,
21
21
  r as triggerStyles
22
22
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@temp-spotwork/ui",
3
3
  "private": false,
4
- "version": "1.4.4",
4
+ "version": "1.4.6",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",