@temp-spotwork/ui 1.4.8 → 1.6.0
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.
- package/dist/components/atoms/form/textarea/RichTextarea.stories.d.ts +11 -0
- package/dist/components/atoms/form/textarea/RichTextarea.stories.js +67 -0
- package/dist/components/atoms/form/textarea/Textarea.stories.d.ts +4 -0
- package/dist/components/atoms/form/textarea/Textarea.stories.js +57 -12
- package/dist/components/atoms/form/textarea/index.d.ts +2 -0
- package/dist/components/atoms/form/textarea/index.js +2 -0
- package/dist/components/atoms/form/textarea/rich-textarea.d.ts +53 -0
- package/dist/components/atoms/form/textarea/rich-textarea.js +275 -0
- package/dist/components/atoms/form/textarea/textarea.js +1 -5
- package/dist/components/atoms/icons/iconMap.d.ts +12 -0
- package/dist/components/atoms/icons/iconMap.js +216 -210
- package/dist/components/atoms/icons/icons.stories.js +36 -28
- package/dist/components/atoms/icons/iconsSVGs/Large/CloudLightning.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/CloudLightning.js +22 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/index.d.ts +2 -1
- package/dist/components/atoms/icons/iconsSVGs/Large/index.js +96 -94
- package/dist/components/atoms/icons/iconsSVGs/Small/CloudLightning.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CloudLightning.js +22 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/index.d.ts +2 -1
- package/dist/components/atoms/icons/iconsSVGs/Small/index.js +64 -62
- package/dist/components/atoms/small-large-text/small-large-text.js +3 -2
- package/dist/components/molecules/alert/alert.js +3 -2
- package/dist/components/molecules/dialog/dialog.js +4 -3
- package/dist/components/molecules/drawer/drawer.js +13 -12
- package/dist/components/molecules/snackbar/Snackbar.stories.js +1 -1
- package/dist/components/molecules/snackbar/index.js +1 -1
- package/dist/components/molecules/snackbar/snackbar.js +3 -2
- package/dist/main.d.ts +2 -0
- package/dist/main.js +107 -105
- package/dist/{snackbar-BaF8Ts3S.js → snackbar-CgqDB5xn.js} +5 -4
- package/package.json +1 -1
|
@@ -1,218 +1,224 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import A from "./iconsSVGs/Large/
|
|
1
|
+
import m from "./iconsSVGs/Large/Add.js";
|
|
2
|
+
import i from "./iconsSVGs/Large/AdvancedSearch.js";
|
|
3
|
+
import t from "./iconsSVGs/Large/ArrowLeft.js";
|
|
4
|
+
import l from "./iconsSVGs/Large/ArrowRight.js";
|
|
5
|
+
import e from "./iconsSVGs/Large/Ascending.js";
|
|
6
|
+
import p from "./iconsSVGs/Large/Attach.js";
|
|
7
|
+
import a from "./iconsSVGs/Large/Bell.js";
|
|
8
|
+
import f from "./iconsSVGs/Large/BellUnread.js";
|
|
9
|
+
import n from "./iconsSVGs/Large/Calendar.js";
|
|
10
|
+
import S from "./iconsSVGs/Large/Cancellation.js";
|
|
11
|
+
import s from "./iconsSVGs/Large/Chapters.js";
|
|
12
|
+
import C from "./iconsSVGs/Large/CheckIn.js";
|
|
13
|
+
import c from "./iconsSVGs/Large/ChevronDown.js";
|
|
14
|
+
import d from "./iconsSVGs/Large/ChevronLeft.js";
|
|
15
|
+
import g from "./iconsSVGs/Large/ChevronRight.js";
|
|
16
|
+
import h from "./iconsSVGs/Large/ChevronUp.js";
|
|
17
|
+
import u from "./iconsSVGs/Large/Clock.js";
|
|
18
|
+
import o from "./iconsSVGs/Large/CloudLightning.js";
|
|
19
|
+
import A from "./iconsSVGs/Large/Contact.js";
|
|
20
|
+
import $ from "./iconsSVGs/Large/Copy.js";
|
|
20
21
|
import k from "./iconsSVGs/Large/Cross.js";
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
22
|
+
import v from "./iconsSVGs/Large/Descending.js";
|
|
23
|
+
import w from "./iconsSVGs/Large/DoubleTick.js";
|
|
24
|
+
import D from "./iconsSVGs/Large/Duplicate.js";
|
|
25
|
+
import I from "./iconsSVGs/Large/Edit.js";
|
|
25
26
|
import "react/jsx-runtime";
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import { Profile as
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
27
|
+
import y from "./iconsSVGs/Large/File.js";
|
|
28
|
+
import L from "./iconsSVGs/Large/FileDownload.js";
|
|
29
|
+
import M from "./iconsSVGs/Large/HamburgerMenu.js";
|
|
30
|
+
import b from "./iconsSVGs/Large/KebabMenu.js";
|
|
31
|
+
import U from "./iconsSVGs/Large/MagnifyingGlass.js";
|
|
32
|
+
import R from "./iconsSVGs/Large/Maximize.js";
|
|
33
|
+
import P from "./iconsSVGs/Large/Maximize1.js";
|
|
34
|
+
import F from "./iconsSVGs/Large/Minimize.js";
|
|
35
|
+
import T from "./iconsSVGs/Large/OpenSeparately.js";
|
|
36
|
+
import O from "./iconsSVGs/Large/PlaceholderIcon.js";
|
|
37
|
+
import { Profile as E } from "./iconsSVGs/Large/Profile.js";
|
|
38
|
+
import x from "./iconsSVGs/Large/Restore.js";
|
|
39
|
+
import G from "./iconsSVGs/Large/Send.js";
|
|
40
|
+
import K from "./iconsSVGs/Large/Shifts.js";
|
|
41
|
+
import N from "./iconsSVGs/Large/Sort.js";
|
|
42
|
+
import W from "./iconsSVGs/Large/Subtract.js";
|
|
43
|
+
import z from "./iconsSVGs/Large/Summary.js";
|
|
44
|
+
import B from "./iconsSVGs/Large/Support.js";
|
|
45
|
+
import H from "./iconsSVGs/Large/Tick.js";
|
|
46
|
+
import J from "./iconsSVGs/Large/Timer.js";
|
|
47
|
+
import V from "./iconsSVGs/Large/Trash.js";
|
|
48
|
+
import j from "./iconsSVGs/Large/Undo.js";
|
|
49
|
+
import q from "./iconsSVGs/Large/Verification.js";
|
|
50
|
+
import Q from "./iconsSVGs/Large/Sidepeak.js";
|
|
51
|
+
import X from "./iconsSVGs/Large/Settings.js";
|
|
52
|
+
import Y from "./iconsSVGs/Large/SwitchToClassic.js";
|
|
53
|
+
import Z from "./iconsSVGs/Large/Building.js";
|
|
54
|
+
import _ from "./iconsSVGs/Large/NewSpotter.js";
|
|
55
|
+
import oo from "./iconsSVGs/Large/FlaggedMessage.js";
|
|
56
|
+
import ro from "./iconsSVGs/Large/AbnormalLastShift.js";
|
|
57
|
+
import mo from "./iconsSVGs/Large/LocationDisabled.js";
|
|
58
|
+
import io from "./iconsSVGs/Large/Jobs.js";
|
|
59
|
+
import to from "./iconsSVGs/Large/Feedback.js";
|
|
60
|
+
import lo from "./iconsSVGs/Small/Add.js";
|
|
61
|
+
import eo from "./iconsSVGs/Small/Alert.js";
|
|
62
|
+
import po from "./iconsSVGs/Small/ArrowRight.js";
|
|
63
|
+
import ao from "./iconsSVGs/Small/ArrowUp.js";
|
|
64
|
+
import fo from "./iconsSVGs/Small/Ascending.js";
|
|
65
|
+
import no from "./iconsSVGs/Small/Calendar.js";
|
|
66
|
+
import So from "./iconsSVGs/Small/CaretDown.js";
|
|
67
|
+
import so from "./iconsSVGs/Small/CaretRight.js";
|
|
68
|
+
import Co from "./iconsSVGs/Small/CheckedIn.js";
|
|
69
|
+
import co from "./iconsSVGs/Small/CheckedOut.js";
|
|
70
|
+
import go from "./iconsSVGs/Small/CheckIn.js";
|
|
71
|
+
import ho from "./iconsSVGs/Small/CheckInCircle.js";
|
|
72
|
+
import uo from "./iconsSVGs/Small/CheckOut.js";
|
|
73
|
+
import Ao from "./iconsSVGs/Small/ChevronDown.js";
|
|
74
|
+
import $o from "./iconsSVGs/Small/ChevronLeft.js";
|
|
74
75
|
import ko from "./iconsSVGs/Small/ChevronRight.js";
|
|
75
|
-
import
|
|
76
|
-
import
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import Mo from "./iconsSVGs/Small/
|
|
83
|
-
import bo from "./iconsSVGs/Small/
|
|
84
|
-
import Uo from "./iconsSVGs/Small/
|
|
85
|
-
import Ro from "./iconsSVGs/Small/
|
|
86
|
-
import Po from "./iconsSVGs/Small/
|
|
87
|
-
import Fo from "./iconsSVGs/Small/
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
-
import
|
|
103
|
-
import
|
|
104
|
-
import
|
|
105
|
-
import
|
|
106
|
-
import
|
|
107
|
-
import
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
76
|
+
import vo from "./iconsSVGs/Small/ChevronUp.js";
|
|
77
|
+
import wo from "./iconsSVGs/Small/Collapse.js";
|
|
78
|
+
import r from "./iconsSVGs/Small/CloudLightning.js";
|
|
79
|
+
import Do from "./iconsSVGs/Small/Copy.js";
|
|
80
|
+
import Io from "./iconsSVGs/Small/Cross.js";
|
|
81
|
+
import yo from "./iconsSVGs/Small/CrossInCircle.js";
|
|
82
|
+
import Lo from "./iconsSVGs/Small/Descending.js";
|
|
83
|
+
import Mo from "./iconsSVGs/Small/DistanceSmall.js";
|
|
84
|
+
import bo from "./iconsSVGs/Small/Empty.js";
|
|
85
|
+
import Uo from "./iconsSVGs/Small/Expand.js";
|
|
86
|
+
import Ro from "./iconsSVGs/Small/FileDownload.js";
|
|
87
|
+
import Po from "./iconsSVGs/Small/Incomplete.js";
|
|
88
|
+
import Fo from "./iconsSVGs/Small/Info.js";
|
|
89
|
+
import To from "./iconsSVGs/Small/KebabMenu.js";
|
|
90
|
+
import Oo from "./iconsSVGs/Small/LocationPin.js";
|
|
91
|
+
import Eo from "./iconsSVGs/Small/MagnifyingGlass.js";
|
|
92
|
+
import xo from "./iconsSVGs/Small/Notes.js";
|
|
93
|
+
import Go from "./iconsSVGs/Small/OpenSeparately.js";
|
|
94
|
+
import Ko from "./iconsSVGs/Small/PlaceholderIcon.js";
|
|
95
|
+
import { ProfileSmall as No } from "./iconsSVGs/Small/Profile.js";
|
|
96
|
+
import Wo from "./iconsSVGs/Small/ReadStatus.js";
|
|
97
|
+
import zo from "./iconsSVGs/Small/Shield.js";
|
|
98
|
+
import Bo from "./iconsSVGs/Small/SidepeakSmall.js";
|
|
99
|
+
import Ho from "./iconsSVGs/Small/Sort.js";
|
|
100
|
+
import Jo from "./iconsSVGs/Small/Success.js";
|
|
101
|
+
import Vo from "./iconsSVGs/Small/Tick.js";
|
|
102
|
+
import jo from "./iconsSVGs/Small/UnsavedChanges.js";
|
|
103
|
+
import qo from "./iconsSVGs/Small/Upload.js";
|
|
104
|
+
import Qo from "./iconsSVGs/Small/Waiting.js";
|
|
105
|
+
import Xo from "./iconsSVGs/Small/Warning.js";
|
|
106
|
+
import Yo from "./iconsSVGs/ExtraLarge/EmptyTemplate.js";
|
|
107
|
+
import Zo from "./iconsSVGs/ExtraLarge/PostAShift.js";
|
|
108
|
+
import _o from "./iconsSVGs/Countries/USA.js";
|
|
109
|
+
import or from "./iconsSVGs/Countries/CAN.js";
|
|
110
|
+
const mi = {
|
|
111
|
+
Add: m,
|
|
112
|
+
AdvancedSearch: i,
|
|
113
|
+
ArrowLeft: t,
|
|
114
|
+
ArrowRight: l,
|
|
115
|
+
Ascending: e,
|
|
116
|
+
Attach: p,
|
|
117
|
+
Bell: a,
|
|
118
|
+
BellUnread: f,
|
|
119
|
+
Building: Z,
|
|
120
|
+
Calendar: n,
|
|
121
|
+
Cancellation: S,
|
|
122
|
+
Chapters: s,
|
|
123
|
+
CheckIn: C,
|
|
124
|
+
CheckInCircleSmall: ho,
|
|
125
|
+
ChevronDown: c,
|
|
126
|
+
ChevronLeft: d,
|
|
127
|
+
ChevronRight: g,
|
|
128
|
+
ChevronUp: h,
|
|
129
|
+
Clock: u,
|
|
130
|
+
CloudLightning: o,
|
|
131
|
+
cloudLightning: o,
|
|
132
|
+
CollapseSmall: wo,
|
|
133
|
+
Contact: A,
|
|
130
134
|
Cross: k,
|
|
131
|
-
CrossInCircleSmall:
|
|
132
|
-
Descending:
|
|
133
|
-
DoubleTick:
|
|
134
|
-
Duplicate:
|
|
135
|
-
Edit:
|
|
136
|
-
Feedback:
|
|
137
|
-
File:
|
|
138
|
-
FileDownload:
|
|
139
|
-
ExpandSmall:
|
|
140
|
-
FileDownloadSmall:
|
|
141
|
-
InfoSmall:
|
|
142
|
-
HamburgerMenu:
|
|
143
|
-
Jobs:
|
|
144
|
-
KebabMenu:
|
|
145
|
-
MagnifyingGlass:
|
|
146
|
-
Maximize:
|
|
147
|
-
Maximize1:
|
|
148
|
-
Minimize:
|
|
149
|
-
OpenSeparately:
|
|
150
|
-
PlaceholderIcon:
|
|
151
|
-
Profile:
|
|
152
|
-
Restore:
|
|
153
|
-
Send:
|
|
154
|
-
Settings:
|
|
155
|
-
Shifts:
|
|
156
|
-
Sort:
|
|
157
|
-
Subtract:
|
|
158
|
-
Summary:
|
|
159
|
-
Support:
|
|
160
|
-
SwitchToClassic:
|
|
161
|
-
Tick:
|
|
162
|
-
Timer:
|
|
163
|
-
Trash:
|
|
164
|
-
Undo:
|
|
165
|
-
Verification:
|
|
166
|
-
AddSmall:
|
|
167
|
-
AlertSmall:
|
|
168
|
-
ArrowRightSmall:
|
|
169
|
-
ArrowUpSmall:
|
|
170
|
-
AscendingSmall:
|
|
171
|
-
CalendarSmall:
|
|
172
|
-
CaretDownSmall:
|
|
173
|
-
CaretRightSmall:
|
|
174
|
-
CheckedInSmall:
|
|
175
|
-
CheckedOutSmall:
|
|
176
|
-
CheckinSmall:
|
|
177
|
-
CheckOutSmall:
|
|
178
|
-
ChevronDownSmall:
|
|
179
|
-
ChevronLeftSmall:
|
|
135
|
+
CrossInCircleSmall: yo,
|
|
136
|
+
Descending: v,
|
|
137
|
+
DoubleTick: w,
|
|
138
|
+
Duplicate: D,
|
|
139
|
+
Edit: I,
|
|
140
|
+
Feedback: to,
|
|
141
|
+
File: y,
|
|
142
|
+
FileDownload: L,
|
|
143
|
+
ExpandSmall: Uo,
|
|
144
|
+
FileDownloadSmall: Ro,
|
|
145
|
+
InfoSmall: Fo,
|
|
146
|
+
HamburgerMenu: M,
|
|
147
|
+
Jobs: io,
|
|
148
|
+
KebabMenu: b,
|
|
149
|
+
MagnifyingGlass: U,
|
|
150
|
+
Maximize: R,
|
|
151
|
+
Maximize1: P,
|
|
152
|
+
Minimize: F,
|
|
153
|
+
OpenSeparately: T,
|
|
154
|
+
PlaceholderIcon: O,
|
|
155
|
+
Profile: E,
|
|
156
|
+
Restore: x,
|
|
157
|
+
Send: G,
|
|
158
|
+
Settings: X,
|
|
159
|
+
Shifts: K,
|
|
160
|
+
Sort: N,
|
|
161
|
+
Subtract: W,
|
|
162
|
+
Summary: z,
|
|
163
|
+
Support: B,
|
|
164
|
+
SwitchToClassic: Y,
|
|
165
|
+
Tick: H,
|
|
166
|
+
Timer: J,
|
|
167
|
+
Trash: V,
|
|
168
|
+
Undo: j,
|
|
169
|
+
Verification: q,
|
|
170
|
+
AddSmall: lo,
|
|
171
|
+
AlertSmall: eo,
|
|
172
|
+
ArrowRightSmall: po,
|
|
173
|
+
ArrowUpSmall: ao,
|
|
174
|
+
AscendingSmall: fo,
|
|
175
|
+
CalendarSmall: no,
|
|
176
|
+
CaretDownSmall: So,
|
|
177
|
+
CaretRightSmall: so,
|
|
178
|
+
CheckedInSmall: Co,
|
|
179
|
+
CheckedOutSmall: co,
|
|
180
|
+
CheckinSmall: go,
|
|
181
|
+
CheckOutSmall: uo,
|
|
182
|
+
ChevronDownSmall: Ao,
|
|
183
|
+
ChevronLeftSmall: $o,
|
|
180
184
|
ChevronRightSmall: ko,
|
|
181
|
-
ChevronUpSmall:
|
|
182
|
-
CrossSmall:
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
185
|
+
ChevronUpSmall: vo,
|
|
186
|
+
CrossSmall: Io,
|
|
187
|
+
CloudLightningSmall: r,
|
|
188
|
+
cloudLightningSmall: r,
|
|
189
|
+
CopyLarge: $,
|
|
190
|
+
CopySmall: Do,
|
|
191
|
+
DescendingSmall: Lo,
|
|
192
|
+
DistanceSmall: Mo,
|
|
193
|
+
EmptySmall: bo,
|
|
194
|
+
IncompleteSmall: Po,
|
|
195
|
+
KebabMenuSmall: To,
|
|
196
|
+
LocationPinSmall: Oo,
|
|
197
|
+
MagnifyingGlassSmall: Eo,
|
|
198
|
+
NotesSmall: xo,
|
|
199
|
+
OpenSeparatelySmall: Go,
|
|
200
|
+
PlaceholderIconSmall: Ko,
|
|
201
|
+
ReadStatus: Wo,
|
|
202
|
+
ShieldSmall: zo,
|
|
203
|
+
SortSmall: Ho,
|
|
204
|
+
SuccessSmall: Jo,
|
|
205
|
+
TickSmall: Vo,
|
|
206
|
+
UnsavedChangesSmall: jo,
|
|
207
|
+
UploadSmall: qo,
|
|
208
|
+
WaitingSmall: Qo,
|
|
209
|
+
WarningSmall: Xo,
|
|
210
|
+
CAN: or,
|
|
211
|
+
USA: _o,
|
|
212
|
+
SidePeak: Q,
|
|
213
|
+
SidePeakSmall: Bo,
|
|
214
|
+
ProfileSmall: No,
|
|
215
|
+
EmptyTemplate: Yo,
|
|
216
|
+
PostAShift: Zo,
|
|
217
|
+
NewSpotter: _,
|
|
218
|
+
FlaggedMessage: oo,
|
|
219
|
+
AbnormalLastShift: ro,
|
|
220
|
+
LocationDisabled: mo
|
|
215
221
|
};
|
|
216
222
|
export {
|
|
217
|
-
|
|
223
|
+
mi as svgs
|
|
218
224
|
};
|
|
@@ -4,7 +4,7 @@ import { Icons as l } from "./icons.js";
|
|
|
4
4
|
import "./iconsSVGs/Large/Profile.js";
|
|
5
5
|
import "./iconsSVGs/Small/Profile.js";
|
|
6
6
|
import "../../styles/colors/colors.js";
|
|
7
|
-
import { glyphColorsKeys as
|
|
7
|
+
import { glyphColorsKeys as t } from "../../styles/colors/colormap.js";
|
|
8
8
|
import { P as r } from "../../../index-DNpMaKvH.js";
|
|
9
9
|
import c from "react";
|
|
10
10
|
const f = {
|
|
@@ -15,7 +15,7 @@ const f = {
|
|
|
15
15
|
},
|
|
16
16
|
tags: ["autodocs"],
|
|
17
17
|
decorators: [
|
|
18
|
-
(
|
|
18
|
+
(i) => /* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(i, {}) })
|
|
19
19
|
],
|
|
20
20
|
argTypes: {
|
|
21
21
|
icon: {
|
|
@@ -39,6 +39,8 @@ const f = {
|
|
|
39
39
|
"ChevronRight",
|
|
40
40
|
"ChevronUp",
|
|
41
41
|
"Clock",
|
|
42
|
+
"CloudLightning",
|
|
43
|
+
"CloudLightningSmall",
|
|
42
44
|
"CollapseSmall",
|
|
43
45
|
"Contact",
|
|
44
46
|
"Cross",
|
|
@@ -116,13 +118,15 @@ const f = {
|
|
|
116
118
|
"ProfileSmall",
|
|
117
119
|
"Building",
|
|
118
120
|
"EmptyTemplate",
|
|
119
|
-
"PostAShift"
|
|
121
|
+
"PostAShift",
|
|
122
|
+
"cloudLightning",
|
|
123
|
+
"cloudLightningSmall"
|
|
120
124
|
],
|
|
121
125
|
description: "The type of icon to display"
|
|
122
126
|
},
|
|
123
127
|
color: {
|
|
124
128
|
control: "select",
|
|
125
|
-
options:
|
|
129
|
+
options: t,
|
|
126
130
|
description: "The color of the icon"
|
|
127
131
|
},
|
|
128
132
|
disabled: {
|
|
@@ -241,7 +245,7 @@ const f = {
|
|
|
241
245
|
/* @__PURE__ */ e(l, { icon: "ChevronUpSmall" }),
|
|
242
246
|
/* @__PURE__ */ e(l, { icon: "KebabMenuSmall" })
|
|
243
247
|
] })
|
|
244
|
-
},
|
|
248
|
+
}, L = {
|
|
245
249
|
render: () => /* @__PURE__ */ n("div", { className: "flex gap-4 items-center", children: [
|
|
246
250
|
/* @__PURE__ */ e(l, { icon: "Calendar" }),
|
|
247
251
|
/* @__PURE__ */ e(l, { icon: "Clock" }),
|
|
@@ -250,7 +254,7 @@ const f = {
|
|
|
250
254
|
/* @__PURE__ */ e(l, { icon: "Shifts" }),
|
|
251
255
|
/* @__PURE__ */ e(l, { icon: "CheckInCircleSmall" })
|
|
252
256
|
] })
|
|
253
|
-
},
|
|
257
|
+
}, M = {
|
|
254
258
|
render: () => /* @__PURE__ */ n("div", { className: "flex gap-4 items-center", children: [
|
|
255
259
|
/* @__PURE__ */ e(l, { icon: "Send" }),
|
|
256
260
|
/* @__PURE__ */ e(l, { icon: "Contact" }),
|
|
@@ -259,7 +263,7 @@ const f = {
|
|
|
259
263
|
/* @__PURE__ */ e(l, { icon: "DoubleTick" }),
|
|
260
264
|
/* @__PURE__ */ e(l, { icon: "ReadStatus" })
|
|
261
265
|
] })
|
|
262
|
-
},
|
|
266
|
+
}, U = {
|
|
263
267
|
render: () => /* @__PURE__ */ n("div", { className: "flex gap-4 items-center", children: [
|
|
264
268
|
/* @__PURE__ */ e(l, { icon: "File" }),
|
|
265
269
|
/* @__PURE__ */ e(l, { icon: "Attach" }),
|
|
@@ -267,7 +271,7 @@ const f = {
|
|
|
267
271
|
/* @__PURE__ */ e(l, { icon: "NotesSmall" }),
|
|
268
272
|
/* @__PURE__ */ e(l, { icon: "UploadSmall" })
|
|
269
273
|
] })
|
|
270
|
-
},
|
|
274
|
+
}, D = {
|
|
271
275
|
render: () => /* @__PURE__ */ n("div", { className: "flex gap-4 items-center", children: [
|
|
272
276
|
/* @__PURE__ */ e(l, { icon: "MagnifyingGlass" }),
|
|
273
277
|
/* @__PURE__ */ e(l, { icon: "AdvancedSearch" }),
|
|
@@ -275,7 +279,7 @@ const f = {
|
|
|
275
279
|
/* @__PURE__ */ e(l, { icon: "Sort" }),
|
|
276
280
|
/* @__PURE__ */ e(l, { icon: "SortSmall" })
|
|
277
281
|
] })
|
|
278
|
-
},
|
|
282
|
+
}, N = {
|
|
279
283
|
render: () => /* @__PURE__ */ n("div", { className: "flex gap-4 items-center", children: [
|
|
280
284
|
/* @__PURE__ */ e(l, { icon: "HamburgerMenu" }),
|
|
281
285
|
/* @__PURE__ */ e(l, { icon: "KebabMenu" }),
|
|
@@ -284,24 +288,24 @@ const f = {
|
|
|
284
288
|
/* @__PURE__ */ e(l, { icon: "Profile" }),
|
|
285
289
|
/* @__PURE__ */ e(l, { icon: "ProfileSmall" })
|
|
286
290
|
] })
|
|
287
|
-
},
|
|
291
|
+
}, P = {
|
|
288
292
|
render: () => {
|
|
289
|
-
const [
|
|
293
|
+
const [i, a] = c.useState(!1);
|
|
290
294
|
return /* @__PURE__ */ n("div", { className: "flex gap-4 items-center", children: [
|
|
291
295
|
/* @__PURE__ */ e(
|
|
292
296
|
l,
|
|
293
297
|
{
|
|
294
|
-
icon:
|
|
295
|
-
color:
|
|
298
|
+
icon: i ? "Tick" : "Add",
|
|
299
|
+
color: i ? "success" : "default",
|
|
296
300
|
button: !0,
|
|
297
|
-
hoverText:
|
|
298
|
-
handleClick: () =>
|
|
301
|
+
hoverText: i ? "Unlike" : "Like",
|
|
302
|
+
handleClick: () => a(!i)
|
|
299
303
|
}
|
|
300
304
|
),
|
|
301
305
|
/* @__PURE__ */ e("span", { children: "Click to toggle state" })
|
|
302
306
|
] });
|
|
303
307
|
}
|
|
304
|
-
},
|
|
308
|
+
}, R = {
|
|
305
309
|
render: () => /* @__PURE__ */ e("div", { className: "grid grid-cols-8 gap-4 p-4 max-w-4xl", children: [
|
|
306
310
|
"Add",
|
|
307
311
|
"AdvancedSearch",
|
|
@@ -321,6 +325,8 @@ const f = {
|
|
|
321
325
|
"ChevronRight",
|
|
322
326
|
"ChevronUp",
|
|
323
327
|
"Clock",
|
|
328
|
+
"CloudLightning",
|
|
329
|
+
"CloudLightningSmall",
|
|
324
330
|
"CollapseSmall",
|
|
325
331
|
"Contact",
|
|
326
332
|
"Cross",
|
|
@@ -398,28 +404,30 @@ const f = {
|
|
|
398
404
|
"ProfileSmall",
|
|
399
405
|
"Building",
|
|
400
406
|
"EmptyTemplate",
|
|
401
|
-
"PostAShift"
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
407
|
+
"PostAShift",
|
|
408
|
+
"cloudLightning",
|
|
409
|
+
"cloudLightningSmall"
|
|
410
|
+
].map((a) => /* @__PURE__ */ n("div", { className: "flex flex-col items-center gap-2 p-2 border rounded", children: [
|
|
411
|
+
/* @__PURE__ */ e(l, { icon: a }),
|
|
412
|
+
/* @__PURE__ */ e("span", { className: "text-xs text-center", children: a })
|
|
413
|
+
] }, a)) }),
|
|
406
414
|
parameters: {
|
|
407
415
|
layout: "padded"
|
|
408
416
|
}
|
|
409
417
|
};
|
|
410
418
|
export {
|
|
411
419
|
T as ActionIcons,
|
|
412
|
-
|
|
420
|
+
R as AllIcons,
|
|
413
421
|
A as ButtonIcons,
|
|
414
|
-
|
|
422
|
+
M as CommunicationIcons,
|
|
415
423
|
v as Default,
|
|
416
424
|
b as DisabledIcons,
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
425
|
+
U as FileIcons,
|
|
426
|
+
L as FormIcons,
|
|
427
|
+
P as Interactive,
|
|
428
|
+
N as MenuIcons,
|
|
421
429
|
I as NavigationIcons,
|
|
422
|
-
|
|
430
|
+
D as SearchIcons,
|
|
423
431
|
w as SmallIcons,
|
|
424
432
|
y as StatusIcons,
|
|
425
433
|
k as WithColors,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
const n = ({ fill: o }) => /* @__PURE__ */ e(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "24",
|
|
7
|
+
height: "24",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
stroke: o,
|
|
11
|
+
strokeWidth: "2",
|
|
12
|
+
strokeLinecap: "round",
|
|
13
|
+
strokeLinejoin: "round",
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ t("path", { d: "M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973" }),
|
|
16
|
+
/* @__PURE__ */ t("path", { d: "m13 12-3 5h4l-3 5" })
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
export {
|
|
21
|
+
n as default
|
|
22
|
+
};
|