@temp-spotwork/ui 1.4.5 → 1.4.7

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,9 +88,23 @@ 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;
101
+ FileDownloadSmall: ({ width, height, stroke, fill, className, }: {
102
+ width?: string;
103
+ height?: string;
104
+ stroke?: string;
105
+ fill?: string;
106
+ className?: string;
107
+ }) => import("react/jsx-runtime").JSX.Element;
94
108
  InfoSmall: ({ fill }: {
95
109
  fill: any;
96
110
  }) => import("react/jsx-runtime").JSX.Element;
@@ -13,97 +13,99 @@ import S from "./iconsSVGs/Large/CheckIn.js";
13
13
  import s from "./iconsSVGs/Large/ChevronDown.js";
14
14
  import c from "./iconsSVGs/Large/ChevronLeft.js";
15
15
  import C from "./iconsSVGs/Large/ChevronRight.js";
16
- import h from "./iconsSVGs/Large/ChevronUp.js";
17
- import d from "./iconsSVGs/Large/Clock.js";
16
+ import d from "./iconsSVGs/Large/ChevronUp.js";
17
+ import h from "./iconsSVGs/Large/Clock.js";
18
18
  import g from "./iconsSVGs/Large/Contact.js";
19
19
  import A from "./iconsSVGs/Large/Copy.js";
20
20
  import k from "./iconsSVGs/Large/Cross.js";
21
- import v from "./iconsSVGs/Large/Descending.js";
22
- import $ from "./iconsSVGs/Large/DoubleTick.js";
21
+ import $ from "./iconsSVGs/Large/Descending.js";
22
+ import v from "./iconsSVGs/Large/DoubleTick.js";
23
23
  import u from "./iconsSVGs/Large/Duplicate.js";
24
- import I from "./iconsSVGs/Large/Edit.js";
24
+ import w from "./iconsSVGs/Large/Edit.js";
25
25
  import "react/jsx-runtime";
26
- import y from "./iconsSVGs/Large/File.js";
27
- import M from "./iconsSVGs/Large/HamburgerMenu.js";
28
- 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";
26
+ import D from "./iconsSVGs/Large/File.js";
27
+ import I from "./iconsSVGs/Large/FileDownload.js";
28
+ import y from "./iconsSVGs/Large/HamburgerMenu.js";
29
+ import M from "./iconsSVGs/Large/KebabMenu.js";
30
+ import b 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 F from "./iconsSVGs/Large/OpenSeparately.js";
34
35
  import L from "./iconsSVGs/Large/PlaceholderIcon.js";
35
36
  import { Profile as T } from "./iconsSVGs/Large/Profile.js";
36
37
  import O 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";
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 $o from "./iconsSVGs/Small/ChevronUp.js";
75
76
  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";
79
- import yo from "./iconsSVGs/Small/Descending.js";
80
- import Mo from "./iconsSVGs/Small/DistanceSmall.js";
81
- 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";
90
- 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 = {
77
+ import uo from "./iconsSVGs/Small/Copy.js";
78
+ import wo from "./iconsSVGs/Small/Cross.js";
79
+ import Do from "./iconsSVGs/Small/CrossInCircle.js";
80
+ import Io from "./iconsSVGs/Small/Descending.js";
81
+ import yo from "./iconsSVGs/Small/DistanceSmall.js";
82
+ import Mo from "./iconsSVGs/Small/Empty.js";
83
+ import bo from "./iconsSVGs/Small/Expand.js";
84
+ import Uo from "./iconsSVGs/Small/FileDownload.js";
85
+ import Ro from "./iconsSVGs/Small/Incomplete.js";
86
+ import Po from "./iconsSVGs/Small/Info.js";
87
+ import Fo from "./iconsSVGs/Small/KebabMenu.js";
88
+ import Lo from "./iconsSVGs/Small/LocationPin.js";
89
+ import To from "./iconsSVGs/Small/MagnifyingGlass.js";
90
+ import Oo from "./iconsSVGs/Small/Notes.js";
91
+ import Eo from "./iconsSVGs/Small/OpenSeparately.js";
92
+ import xo from "./iconsSVGs/Small/PlaceholderIcon.js";
93
+ import { ProfileSmall as Go } from "./iconsSVGs/Small/Profile.js";
94
+ import Ko from "./iconsSVGs/Small/ReadStatus.js";
95
+ import No from "./iconsSVGs/Small/Shield.js";
96
+ import Wo from "./iconsSVGs/Small/SidepeakSmall.js";
97
+ import zo from "./iconsSVGs/Small/Sort.js";
98
+ import Bo from "./iconsSVGs/Small/Success.js";
99
+ import Ho from "./iconsSVGs/Small/Tick.js";
100
+ import Jo from "./iconsSVGs/Small/UnsavedChanges.js";
101
+ import Vo from "./iconsSVGs/Small/Upload.js";
102
+ import jo from "./iconsSVGs/Small/Waiting.js";
103
+ import qo from "./iconsSVGs/Small/Warning.js";
104
+ import Qo from "./iconsSVGs/ExtraLarge/EmptyTemplate.js";
105
+ import Xo from "./iconsSVGs/ExtraLarge/PostAShift.js";
106
+ import Yo from "./iconsSVGs/Countries/USA.js";
107
+ import Zo from "./iconsSVGs/Countries/CAN.js";
108
+ const Zm = {
107
109
  Add: o,
108
110
  AdvancedSearch: r,
109
111
  ArrowLeft: m,
@@ -112,103 +114,105 @@ const qm = {
112
114
  Attach: e,
113
115
  Bell: l,
114
116
  BellUnread: p,
115
- Building: Q,
117
+ Building: X,
116
118
  Calendar: a,
117
119
  Cancellation: f,
118
120
  Chapters: n,
119
121
  CheckIn: S,
120
- CheckInCircleSmall: co,
122
+ CheckInCircleSmall: Co,
121
123
  ChevronDown: s,
122
124
  ChevronLeft: c,
123
125
  ChevronRight: C,
124
- ChevronUp: h,
125
- Clock: d,
126
+ ChevronUp: d,
127
+ Clock: h,
126
128
  CollapseSmall: vo,
127
129
  Contact: g,
128
130
  Cross: k,
129
- CrossInCircleSmall: Io,
130
- Descending: v,
131
- DoubleTick: $,
131
+ CrossInCircleSmall: Do,
132
+ Descending: $,
133
+ DoubleTick: v,
132
134
  Duplicate: u,
133
- Edit: I,
134
- Feedback: ro,
135
- File: y,
136
- ExpandSmall: wo,
137
- InfoSmall: Uo,
138
- HamburgerMenu: M,
139
- Jobs: oo,
140
- KebabMenu: b,
141
- MagnifyingGlass: w,
142
- Maximize: D,
143
- Maximize1: U,
144
- Minimize: R,
145
- OpenSeparately: P,
135
+ Edit: w,
136
+ Feedback: mo,
137
+ File: D,
138
+ FileDownload: I,
139
+ ExpandSmall: bo,
140
+ FileDownloadSmall: Uo,
141
+ InfoSmall: Po,
142
+ HamburgerMenu: y,
143
+ Jobs: ro,
144
+ KebabMenu: M,
145
+ MagnifyingGlass: b,
146
+ Maximize: U,
147
+ Maximize1: R,
148
+ Minimize: P,
149
+ OpenSeparately: F,
146
150
  PlaceholderIcon: L,
147
151
  Profile: T,
148
152
  Restore: O,
149
153
  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,
154
+ Settings: q,
155
+ Shifts: x,
156
+ Sort: G,
157
+ Subtract: K,
158
+ Summary: N,
159
+ Support: W,
160
+ SwitchToClassic: Q,
161
+ Tick: z,
162
+ Timer: B,
163
+ Trash: H,
164
+ Undo: J,
165
+ Verification: V,
166
+ AddSmall: io,
167
+ AlertSmall: to,
168
+ ArrowRightSmall: eo,
169
+ ArrowUpSmall: lo,
170
+ AscendingSmall: po,
171
+ CalendarSmall: ao,
172
+ CaretDownSmall: fo,
173
+ CaretRightSmall: no,
174
+ CheckedInSmall: So,
175
+ CheckedOutSmall: so,
176
+ CheckinSmall: co,
177
+ CheckOutSmall: ho,
178
+ ChevronDownSmall: go,
179
+ ChevronLeftSmall: Ao,
180
+ ChevronRightSmall: ko,
181
+ ChevronUpSmall: $o,
182
+ CrossSmall: wo,
179
183
  CopyLarge: A,
180
- CopySmall: $o,
181
- DescendingSmall: yo,
182
- DistanceSmall: Mo,
183
- EmptySmall: bo,
184
- IncompleteSmall: Do,
185
- KebabMenuSmall: Ro,
186
- LocationPinSmall: Po,
187
- MagnifyingGlassSmall: Lo,
188
- NotesSmall: To,
189
- OpenSeparatelySmall: Oo,
190
- 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: _
184
+ CopySmall: uo,
185
+ DescendingSmall: Io,
186
+ DistanceSmall: yo,
187
+ EmptySmall: Mo,
188
+ IncompleteSmall: Ro,
189
+ KebabMenuSmall: Fo,
190
+ LocationPinSmall: Lo,
191
+ MagnifyingGlassSmall: To,
192
+ NotesSmall: Oo,
193
+ OpenSeparatelySmall: Eo,
194
+ PlaceholderIconSmall: xo,
195
+ ReadStatus: Ko,
196
+ ShieldSmall: No,
197
+ SortSmall: zo,
198
+ SuccessSmall: Bo,
199
+ TickSmall: Ho,
200
+ UnsavedChangesSmall: Jo,
201
+ UploadSmall: Vo,
202
+ WaitingSmall: jo,
203
+ WarningSmall: qo,
204
+ CAN: Zo,
205
+ USA: Yo,
206
+ SidePeak: j,
207
+ SidePeakSmall: Wo,
208
+ ProfileSmall: Go,
209
+ EmptyTemplate: Qo,
210
+ PostAShift: Xo,
211
+ NewSpotter: Y,
212
+ FlaggedMessage: Z,
213
+ AbnormalLastShift: _,
214
+ LocationDisabled: oo
211
215
  };
212
216
  export {
213
- qm as svgs
217
+ Zm as svgs
214
218
  };
@@ -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
  };
@@ -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 s = ({
3
+ width: t = "20",
4
+ height: a = "20",
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": "FileDownloadSmall-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
+ s as default
32
+ };
@@ -23,6 +23,7 @@ import { default as Descending } from './Descending';
23
23
  import { default as DistanceSmall } from './DistanceSmall';
24
24
  import { default as Empty } from './Empty';
25
25
  import { default as Expand } from './Expand';
26
+ import { default as FileDownload } from './FileDownload';
26
27
  import { default as Incomplete } from './Incomplete';
27
28
  import { default as Info } from './Info';
28
29
  import { default as KebabMenu } from './KebabMenu';
@@ -43,4 +44,4 @@ import { default as Upload } from './Upload';
43
44
  import { default as Waiting } from './Waiting';
44
45
  import { default as Warning } from './Warning';
45
46
 
46
- export { Add, Alert, ArrowRight, ArrowUp, Ascending, Calendar, CaretDown, CaretRight, CheckedIn, CheckedOut, CheckIn, CheckInCircle, CheckOut, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Collapse, Cross, CrossInCircle, Descending, DistanceSmall, Empty, Expand, Incomplete, Info, KebabMenu, LocationPin, MagnifyingGlass, Notes, OpenSeparately, PlaceholderIcon, ReadStatus, Shield, Sort, Success, Tick, UnsavedChanges, Upload, Waiting, Warning, Copy, SidePeakSmall, ProfileSmall, };
47
+ export { Add, Alert, ArrowRight, ArrowUp, Ascending, Calendar, CaretDown, CaretRight, CheckedIn, CheckedOut, CheckIn, CheckInCircle, CheckOut, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Collapse, Cross, CrossInCircle, Descending, DistanceSmall, Empty, Expand, FileDownload, Incomplete, Info, KebabMenu, LocationPin, MagnifyingGlass, Notes, OpenSeparately, PlaceholderIcon, ReadStatus, Shield, Sort, Success, Tick, UnsavedChanges, Upload, Waiting, Warning, Copy, SidePeakSmall, ProfileSmall, };
@@ -9,39 +9,40 @@ import { default as c } from "./CaretRight.js";
9
9
  import { default as g } from "./CheckedIn.js";
10
10
  import { default as k } from "./CheckedOut.js";
11
11
  import { default as v } from "./CheckIn.js";
12
- import { default as w } from "./CheckInCircle.js";
13
- import { default as D } from "./CheckOut.js";
12
+ import { default as A } from "./CheckInCircle.js";
13
+ import { default as y } from "./CheckOut.js";
14
14
  import { default as R } from "./ChevronDown.js";
15
15
  import { default as O } from "./ChevronLeft.js";
16
16
  import { default as E } from "./ChevronRight.js";
17
17
  import { default as M } from "./ChevronUp.js";
18
- import { default as G } from "./Collapse.js";
19
- import { default as N } from "./Copy.js";
20
- import { default as j } from "./Cross.js";
21
- import { default as z } from "./CrossInCircle.js";
22
- import { default as F } from "./Descending.js";
18
+ import { default as F } from "./Collapse.js";
19
+ import { default as K } from "./Copy.js";
20
+ import { default as T } from "./Cross.js";
21
+ import { default as q } from "./CrossInCircle.js";
22
+ import { default as B } from "./Descending.js";
23
23
  import { default as J } from "./DistanceSmall.js";
24
24
  import { default as V } from "./Empty.js";
25
25
  import { default as Y } from "./Expand.js";
26
- import { default as _ } from "./Incomplete.js";
27
- import { default as ee } from "./Info.js";
28
- import { default as oe } from "./KebabMenu.js";
29
- import { default as te } from "./LocationPin.js";
30
- import { default as le } from "./MagnifyingGlass.js";
31
- import { default as de } from "./Notes.js";
32
- import { default as me } from "./OpenSeparately.js";
33
- import { default as xe } from "./PlaceholderIcon.js";
34
- import { ProfileSmall as ie } from "./Profile.js";
35
- import { default as ce } from "./ReadStatus.js";
36
- import { default as ge } from "./Shield.js";
37
- import { default as ke } from "./SidepeakSmall.js";
38
- import { default as ve } from "./Sort.js";
39
- import { default as we } from "./Success.js";
40
- import { default as De } from "./Tick.js";
41
- import { default as Re } from "./UnsavedChanges.js";
42
- import { default as Oe } from "./Upload.js";
43
- import { default as Ee } from "./Waiting.js";
44
- import { default as Me } from "./Warning.js";
26
+ import { default as _ } from "./FileDownload.js";
27
+ import { default as ee } from "./Incomplete.js";
28
+ import { default as oe } from "./Info.js";
29
+ import { default as te } from "./KebabMenu.js";
30
+ import { default as le } from "./LocationPin.js";
31
+ import { default as de } from "./MagnifyingGlass.js";
32
+ import { default as me } from "./Notes.js";
33
+ import { default as xe } from "./OpenSeparately.js";
34
+ import { default as ie } from "./PlaceholderIcon.js";
35
+ import { ProfileSmall as ce } from "./Profile.js";
36
+ import { default as ge } from "./ReadStatus.js";
37
+ import { default as ke } from "./Shield.js";
38
+ import { default as ve } from "./SidepeakSmall.js";
39
+ import { default as Ae } from "./Sort.js";
40
+ import { default as ye } from "./Success.js";
41
+ import { default as Re } from "./Tick.js";
42
+ import { default as Oe } from "./UnsavedChanges.js";
43
+ import { default as Ee } from "./Upload.js";
44
+ import { default as Me } from "./Waiting.js";
45
+ import { default as Fe } from "./Warning.js";
45
46
  export {
46
47
  o as Add,
47
48
  t as Alert,
@@ -52,39 +53,40 @@ export {
52
53
  i as CaretDown,
53
54
  c as CaretRight,
54
55
  v as CheckIn,
55
- w as CheckInCircle,
56
- D as CheckOut,
56
+ A as CheckInCircle,
57
+ y as CheckOut,
57
58
  g as CheckedIn,
58
59
  k as CheckedOut,
59
60
  R as ChevronDown,
60
61
  O as ChevronLeft,
61
62
  E as ChevronRight,
62
63
  M as ChevronUp,
63
- G as Collapse,
64
- N as Copy,
65
- j as Cross,
66
- z as CrossInCircle,
67
- F as Descending,
64
+ F as Collapse,
65
+ K as Copy,
66
+ T as Cross,
67
+ q as CrossInCircle,
68
+ B as Descending,
68
69
  J as DistanceSmall,
69
70
  V as Empty,
70
71
  Y as Expand,
71
- _ as Incomplete,
72
- ee as Info,
73
- oe as KebabMenu,
74
- te as LocationPin,
75
- le as MagnifyingGlass,
76
- de as Notes,
77
- me as OpenSeparately,
78
- xe as PlaceholderIcon,
79
- ie as ProfileSmall,
80
- ce as ReadStatus,
81
- ge as Shield,
82
- ke as SidePeakSmall,
83
- ve as Sort,
84
- we as Success,
85
- De as Tick,
86
- Re as UnsavedChanges,
87
- Oe as Upload,
88
- Ee as Waiting,
89
- Me as Warning
72
+ _ as FileDownload,
73
+ ee as Incomplete,
74
+ oe as Info,
75
+ te as KebabMenu,
76
+ le as LocationPin,
77
+ de as MagnifyingGlass,
78
+ me as Notes,
79
+ xe as OpenSeparately,
80
+ ie as PlaceholderIcon,
81
+ ce as ProfileSmall,
82
+ ge as ReadStatus,
83
+ ke as Shield,
84
+ ve as SidePeakSmall,
85
+ Ae as Sort,
86
+ ye as Success,
87
+ Re as Tick,
88
+ Oe as UnsavedChanges,
89
+ Ee as Upload,
90
+ Me as Waiting,
91
+ Fe as Warning
90
92
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@temp-spotwork/ui",
3
3
  "private": false,
4
- "version": "1.4.5",
4
+ "version": "1.4.7",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",