@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
|
@@ -15,6 +15,7 @@ import { default as ChevronLeft } from './ChevronLeft';
|
|
|
15
15
|
import { default as ChevronRight } from './ChevronRight';
|
|
16
16
|
import { default as ChevronUp } from './ChevronUp';
|
|
17
17
|
import { default as Clock } from './Clock';
|
|
18
|
+
import { default as CloudLightning } from './CloudLightning';
|
|
18
19
|
import { default as Contact } from './Contact';
|
|
19
20
|
import { default as Copy } from './Copy';
|
|
20
21
|
import { default as Cross } from './Cross';
|
|
@@ -58,4 +59,4 @@ import { default as LocationDisabled } from './LocationDisabled';
|
|
|
58
59
|
import { default as Jobs } from './Jobs';
|
|
59
60
|
import { default as Feedback } from './Feedback';
|
|
60
61
|
|
|
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, };
|
|
62
|
+
export { Add, AdvancedSearch, ArrowLeft, ArrowRight, Ascending, Attach, Bell, BellUnread, Building, Calendar, Cancellation, Chapters, CheckIn, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clock, CloudLightning, 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, };
|
|
@@ -1,120 +1,122 @@
|
|
|
1
1
|
import { default as o } from "./Add.js";
|
|
2
2
|
import { default as t } from "./AdvancedSearch.js";
|
|
3
3
|
import { default as l } from "./ArrowLeft.js";
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
4
|
+
import { default as s } from "./ArrowRight.js";
|
|
5
|
+
import { default as u } from "./Ascending.js";
|
|
6
6
|
import { default as x } from "./Attach.js";
|
|
7
7
|
import { default as n } from "./Bell.js";
|
|
8
8
|
import { default as h } from "./BellUnread.js";
|
|
9
|
-
import { default as
|
|
9
|
+
import { default as g } from "./Calendar.js";
|
|
10
10
|
import { default as b } from "./Cancellation.js";
|
|
11
11
|
import { default as M } from "./Chapters.js";
|
|
12
12
|
import { default as w } from "./CheckIn.js";
|
|
13
13
|
import { default as D } from "./ChevronDown.js";
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
14
|
+
import { default as L } from "./ChevronLeft.js";
|
|
15
|
+
import { default as F } from "./ChevronRight.js";
|
|
16
16
|
import { default as B } from "./ChevronUp.js";
|
|
17
17
|
import { default as P } from "./Clock.js";
|
|
18
|
-
import { default as U } from "./
|
|
19
|
-
import { default as O } from "./
|
|
20
|
-
import { default as H } from "./
|
|
21
|
-
import { default as K } from "./
|
|
22
|
-
import { default as V } from "./
|
|
23
|
-
import { default as q } from "./
|
|
24
|
-
import { default as W } from "./
|
|
25
|
-
import { default as Y } from "./
|
|
26
|
-
import { default as _ } from "./
|
|
27
|
-
import { default as ee } from "./
|
|
28
|
-
import { default as oe } from "./
|
|
29
|
-
import { default as te } from "./
|
|
30
|
-
import { default as le } from "./
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as xe } from "./
|
|
34
|
-
import { default as ne } from "./
|
|
35
|
-
import { default as he } from "./
|
|
36
|
-
import { default as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { default as we } from "./
|
|
40
|
-
import { default as De } from "./
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as Be } from "./
|
|
44
|
-
import { default as Pe } from "./
|
|
45
|
-
import { default as Ue } from "./
|
|
46
|
-
import { default as Oe } from "./
|
|
47
|
-
import { default as He } from "./
|
|
48
|
-
import { default as Ke } from "./
|
|
49
|
-
import { default as Ve } from "./
|
|
50
|
-
import { default as qe } from "./
|
|
51
|
-
import { default as We } from "./
|
|
52
|
-
import { default as Ye } from "./
|
|
53
|
-
import { default as _e } from "./
|
|
54
|
-
import { default as ea } from "./
|
|
55
|
-
import { default as oa } from "./
|
|
56
|
-
import { default as ta } from "./
|
|
57
|
-
import { default as la } from "./
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
18
|
+
import { default as U } from "./CloudLightning.js";
|
|
19
|
+
import { default as O } from "./Contact.js";
|
|
20
|
+
import { default as H } from "./Copy.js";
|
|
21
|
+
import { default as K } from "./Cross.js";
|
|
22
|
+
import { default as V } from "./Descending.js";
|
|
23
|
+
import { default as q } from "./DoubleTick.js";
|
|
24
|
+
import { default as W } from "./Duplicate.js";
|
|
25
|
+
import { default as Y } from "./Edit.js";
|
|
26
|
+
import { default as _ } from "./EyeClose.js";
|
|
27
|
+
import { default as ee } from "./EyeOpen.js";
|
|
28
|
+
import { default as oe } from "./File.js";
|
|
29
|
+
import { default as te } from "./FileDownload.js";
|
|
30
|
+
import { default as le } from "./HamburgerMenu.js";
|
|
31
|
+
import { default as se } from "./KebabMenu.js";
|
|
32
|
+
import { default as ue } from "./MagnifyingGlass.js";
|
|
33
|
+
import { default as xe } from "./Maximize.js";
|
|
34
|
+
import { default as ne } from "./Maximize1.js";
|
|
35
|
+
import { default as he } from "./Minimize.js";
|
|
36
|
+
import { default as ge } from "./OpenSeparately.js";
|
|
37
|
+
import { default as be } from "./PlaceholderIcon.js";
|
|
38
|
+
import { Profile as Me } from "./Profile.js";
|
|
39
|
+
import { default as we } from "./Restore.js";
|
|
40
|
+
import { default as De } from "./Send.js";
|
|
41
|
+
import { default as Le } from "./Shifts.js";
|
|
42
|
+
import { default as Fe } from "./Sort.js";
|
|
43
|
+
import { default as Be } from "./Subtract.js";
|
|
44
|
+
import { default as Pe } from "./Summary.js";
|
|
45
|
+
import { default as Ue } from "./Support.js";
|
|
46
|
+
import { default as Oe } from "./Tick.js";
|
|
47
|
+
import { default as He } from "./Timer.js";
|
|
48
|
+
import { default as Ke } from "./Trash.js";
|
|
49
|
+
import { default as Ve } from "./Undo.js";
|
|
50
|
+
import { default as qe } from "./Verification.js";
|
|
51
|
+
import { default as We } from "./Sidepeak.js";
|
|
52
|
+
import { default as Ye } from "./Settings.js";
|
|
53
|
+
import { default as _e } from "./SwitchToClassic.js";
|
|
54
|
+
import { default as ea } from "./Building.js";
|
|
55
|
+
import { default as oa } from "./NewSpotter.js";
|
|
56
|
+
import { default as ta } from "./FlaggedMessage.js";
|
|
57
|
+
import { default as la } from "./AbnormalLastShift.js";
|
|
58
|
+
import { default as sa } from "./LocationDisabled.js";
|
|
59
|
+
import { default as ua } from "./Jobs.js";
|
|
60
|
+
import { default as xa } from "./Feedback.js";
|
|
60
61
|
export {
|
|
61
|
-
|
|
62
|
+
la as AbnormalLastShift,
|
|
62
63
|
o as Add,
|
|
63
64
|
t as AdvancedSearch,
|
|
64
65
|
l as ArrowLeft,
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
s as ArrowRight,
|
|
67
|
+
u as Ascending,
|
|
67
68
|
x as Attach,
|
|
68
69
|
n as Bell,
|
|
69
70
|
h as BellUnread,
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
ea as Building,
|
|
72
|
+
g as Calendar,
|
|
72
73
|
b as Cancellation,
|
|
73
74
|
M as Chapters,
|
|
74
75
|
w as CheckIn,
|
|
75
76
|
D as ChevronDown,
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
L as ChevronLeft,
|
|
78
|
+
F as ChevronRight,
|
|
78
79
|
B as ChevronUp,
|
|
79
80
|
P as Clock,
|
|
80
|
-
U as
|
|
81
|
-
O as
|
|
82
|
-
H as
|
|
83
|
-
K as
|
|
84
|
-
V as
|
|
85
|
-
q as
|
|
86
|
-
W as
|
|
87
|
-
Y as
|
|
88
|
-
_ as
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
oe as
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
xe as
|
|
100
|
-
ne as
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
be as
|
|
105
|
-
Me as
|
|
106
|
-
we as
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
Be as
|
|
113
|
-
Pe as
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
Oe as
|
|
117
|
-
He as
|
|
118
|
-
Ke as
|
|
119
|
-
Ve as
|
|
81
|
+
U as CloudLightning,
|
|
82
|
+
O as Contact,
|
|
83
|
+
H as Copy,
|
|
84
|
+
K as Cross,
|
|
85
|
+
V as Descending,
|
|
86
|
+
q as DoubleTick,
|
|
87
|
+
W as Duplicate,
|
|
88
|
+
Y as Edit,
|
|
89
|
+
_ as EyeClose,
|
|
90
|
+
ee as EyeOpen,
|
|
91
|
+
xa as Feedback,
|
|
92
|
+
oe as File,
|
|
93
|
+
te as FileDownload,
|
|
94
|
+
ta as FlaggedMessage,
|
|
95
|
+
le as HamburgerMenu,
|
|
96
|
+
ua as Jobs,
|
|
97
|
+
se as KebabMenu,
|
|
98
|
+
sa as LocationDisabled,
|
|
99
|
+
ue as MagnifyingGlass,
|
|
100
|
+
xe as Maximize,
|
|
101
|
+
ne as Maximize1,
|
|
102
|
+
he as Minimize,
|
|
103
|
+
oa as NewSpotter,
|
|
104
|
+
ge as OpenSeparately,
|
|
105
|
+
be as PlaceholderIcon,
|
|
106
|
+
Me as Profile,
|
|
107
|
+
we as Restore,
|
|
108
|
+
De as Send,
|
|
109
|
+
Ye as Settings,
|
|
110
|
+
Le as Shifts,
|
|
111
|
+
We as SidePeak,
|
|
112
|
+
Fe as Sort,
|
|
113
|
+
Be as Subtract,
|
|
114
|
+
Pe as Summary,
|
|
115
|
+
Ue as Support,
|
|
116
|
+
_e as SwitchToClassic,
|
|
117
|
+
Oe as Tick,
|
|
118
|
+
He as Timer,
|
|
119
|
+
Ke as Trash,
|
|
120
|
+
Ve as Undo,
|
|
121
|
+
qe as Verification
|
|
120
122
|
};
|
|
@@ -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: "20",
|
|
7
|
+
height: "20",
|
|
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
|
+
};
|
|
@@ -16,6 +16,7 @@ import { default as ChevronLeft } from './ChevronLeft';
|
|
|
16
16
|
import { default as ChevronRight } from './ChevronRight';
|
|
17
17
|
import { default as ChevronUp } from './ChevronUp';
|
|
18
18
|
import { default as Collapse } from './Collapse';
|
|
19
|
+
import { default as CloudLightning } from './CloudLightning';
|
|
19
20
|
import { default as Copy } from './Copy';
|
|
20
21
|
import { default as Cross } from './Cross';
|
|
21
22
|
import { default as CrossInCircle } from './CrossInCircle';
|
|
@@ -44,4 +45,4 @@ import { default as Upload } from './Upload';
|
|
|
44
45
|
import { default as Waiting } from './Waiting';
|
|
45
46
|
import { default as Warning } from './Warning';
|
|
46
47
|
|
|
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, };
|
|
48
|
+
export { Add, Alert, ArrowRight, ArrowUp, Ascending, Calendar, CaretDown, CaretRight, CheckedIn, CheckedOut, CheckIn, CheckInCircle, CheckOut, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Collapse, CloudLightning, 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, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as a } from "./Add.js";
|
|
2
2
|
import { default as t } from "./Alert.js";
|
|
3
3
|
import { default as l } from "./ArrowRight.js";
|
|
4
|
-
import { default as
|
|
4
|
+
import { default as s } from "./ArrowUp.js";
|
|
5
5
|
import { default as m } from "./Ascending.js";
|
|
6
6
|
import { default as x } from "./Calendar.js";
|
|
7
7
|
import { default as i } from "./CaretDown.js";
|
|
@@ -12,42 +12,43 @@ import { default as v } from "./CheckIn.js";
|
|
|
12
12
|
import { default as A } from "./CheckInCircle.js";
|
|
13
13
|
import { default as y } from "./CheckOut.js";
|
|
14
14
|
import { default as R } from "./ChevronDown.js";
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
15
|
+
import { default as L } from "./ChevronLeft.js";
|
|
16
|
+
import { default as b } from "./ChevronRight.js";
|
|
17
17
|
import { default as M } from "./ChevronUp.js";
|
|
18
18
|
import { default as F } from "./Collapse.js";
|
|
19
|
-
import { default as K } from "./
|
|
20
|
-
import { default as T } from "./
|
|
21
|
-
import { default as q } from "./
|
|
22
|
-
import { default as B } from "./
|
|
23
|
-
import { default as J } from "./
|
|
24
|
-
import { default as V } from "./
|
|
25
|
-
import { default as Y } from "./
|
|
26
|
-
import { default as _ } from "./
|
|
27
|
-
import { default as ee } from "./
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as te } from "./
|
|
30
|
-
import { default as le } from "./
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as me } from "./
|
|
33
|
-
import { default as xe } from "./
|
|
34
|
-
import { default as ie } from "./
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { default as ke } from "./
|
|
38
|
-
import { default as ve } from "./
|
|
39
|
-
import { default as Ae } from "./
|
|
40
|
-
import { default as ye } from "./
|
|
41
|
-
import { default as Re } from "./
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as Me } from "./
|
|
45
|
-
import { default as Fe } from "./
|
|
19
|
+
import { default as K } from "./CloudLightning.js";
|
|
20
|
+
import { default as T } from "./Copy.js";
|
|
21
|
+
import { default as q } from "./Cross.js";
|
|
22
|
+
import { default as B } from "./CrossInCircle.js";
|
|
23
|
+
import { default as J } from "./Descending.js";
|
|
24
|
+
import { default as V } from "./DistanceSmall.js";
|
|
25
|
+
import { default as Y } from "./Empty.js";
|
|
26
|
+
import { default as _ } from "./Expand.js";
|
|
27
|
+
import { default as ee } from "./FileDownload.js";
|
|
28
|
+
import { default as ae } from "./Incomplete.js";
|
|
29
|
+
import { default as te } from "./Info.js";
|
|
30
|
+
import { default as le } from "./KebabMenu.js";
|
|
31
|
+
import { default as se } from "./LocationPin.js";
|
|
32
|
+
import { default as me } from "./MagnifyingGlass.js";
|
|
33
|
+
import { default as xe } from "./Notes.js";
|
|
34
|
+
import { default as ie } from "./OpenSeparately.js";
|
|
35
|
+
import { default as ce } from "./PlaceholderIcon.js";
|
|
36
|
+
import { ProfileSmall as ge } from "./Profile.js";
|
|
37
|
+
import { default as ke } from "./ReadStatus.js";
|
|
38
|
+
import { default as ve } from "./Shield.js";
|
|
39
|
+
import { default as Ae } from "./SidepeakSmall.js";
|
|
40
|
+
import { default as ye } from "./Sort.js";
|
|
41
|
+
import { default as Re } from "./Success.js";
|
|
42
|
+
import { default as Le } from "./Tick.js";
|
|
43
|
+
import { default as be } from "./UnsavedChanges.js";
|
|
44
|
+
import { default as Me } from "./Upload.js";
|
|
45
|
+
import { default as Fe } from "./Waiting.js";
|
|
46
|
+
import { default as Ke } from "./Warning.js";
|
|
46
47
|
export {
|
|
47
|
-
|
|
48
|
+
a as Add,
|
|
48
49
|
t as Alert,
|
|
49
50
|
l as ArrowRight,
|
|
50
|
-
|
|
51
|
+
s as ArrowUp,
|
|
51
52
|
m as Ascending,
|
|
52
53
|
x as Calendar,
|
|
53
54
|
i as CaretDown,
|
|
@@ -58,35 +59,36 @@ export {
|
|
|
58
59
|
g as CheckedIn,
|
|
59
60
|
k as CheckedOut,
|
|
60
61
|
R as ChevronDown,
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
L as ChevronLeft,
|
|
63
|
+
b as ChevronRight,
|
|
63
64
|
M as ChevronUp,
|
|
65
|
+
K as CloudLightning,
|
|
64
66
|
F as Collapse,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
67
|
+
T as Copy,
|
|
68
|
+
q as Cross,
|
|
69
|
+
B as CrossInCircle,
|
|
70
|
+
J as Descending,
|
|
71
|
+
V as DistanceSmall,
|
|
72
|
+
Y as Empty,
|
|
73
|
+
_ as Expand,
|
|
74
|
+
ee as FileDownload,
|
|
75
|
+
ae as Incomplete,
|
|
76
|
+
te as Info,
|
|
77
|
+
le as KebabMenu,
|
|
78
|
+
se as LocationPin,
|
|
79
|
+
me as MagnifyingGlass,
|
|
80
|
+
xe as Notes,
|
|
81
|
+
ie as OpenSeparately,
|
|
82
|
+
ce as PlaceholderIcon,
|
|
83
|
+
ge as ProfileSmall,
|
|
84
|
+
ke as ReadStatus,
|
|
85
|
+
ve as Shield,
|
|
86
|
+
Ae as SidePeakSmall,
|
|
87
|
+
ye as Sort,
|
|
88
|
+
Re as Success,
|
|
89
|
+
Le as Tick,
|
|
90
|
+
be as UnsavedChanges,
|
|
91
|
+
Me as Upload,
|
|
92
|
+
Fe as Waiting,
|
|
93
|
+
Ke as Warning
|
|
92
94
|
};
|
|
@@ -17,13 +17,14 @@ import "../../../index-CYyrKZeH.js";
|
|
|
17
17
|
import "../form/textfield/textfield.js";
|
|
18
18
|
import "../form/stepper/stepper.js";
|
|
19
19
|
import "../form/textarea/textarea.js";
|
|
20
|
+
import "../form/textarea/rich-textarea.js";
|
|
20
21
|
import "../form/timeselect/timeselect.js";
|
|
21
22
|
import "../../molecules/datatables/cell/cell.js";
|
|
22
23
|
import "../../molecules/dataviz/donut-chart/donut-chart.js";
|
|
23
24
|
import "../../../react-spring_web.modern-BLL8Qmtg.js";
|
|
24
25
|
import "../../molecules/form/radiogroup/radiogroup.js";
|
|
25
26
|
import "../../../card-Cc2Qkiqr.js";
|
|
26
|
-
function
|
|
27
|
+
function G({ text: r, size: o = 300, isSmall: m = !0 }) {
|
|
27
28
|
const [t, p] = c(m);
|
|
28
29
|
return /* @__PURE__ */ n("div", { children: [
|
|
29
30
|
/* @__PURE__ */ i(l, { swStyle: 3, color: "default", children: t ? `${r.slice(0, o)}${r.length > o ? "..." : ""}` : r }),
|
|
@@ -31,5 +32,5 @@ function F({ text: r, size: o = 300, isSmall: m = !0 }) {
|
|
|
31
32
|
] });
|
|
32
33
|
}
|
|
33
34
|
export {
|
|
34
|
-
|
|
35
|
+
G as SmallLargeText
|
|
35
36
|
};
|
|
@@ -19,6 +19,7 @@ import "../../../index-CYyrKZeH.js";
|
|
|
19
19
|
import "../../atoms/form/textfield/textfield.js";
|
|
20
20
|
import "../../atoms/form/stepper/stepper.js";
|
|
21
21
|
import "../../atoms/form/textarea/textarea.js";
|
|
22
|
+
import "../../atoms/form/textarea/rich-textarea.js";
|
|
22
23
|
import "../../atoms/form/timeselect/timeselect.js";
|
|
23
24
|
import { Button as b } from "../button/button.js";
|
|
24
25
|
import "../datatables/cell/cell.js";
|
|
@@ -26,7 +27,7 @@ import "../dataviz/donut-chart/donut-chart.js";
|
|
|
26
27
|
import "../../../react-spring_web.modern-BLL8Qmtg.js";
|
|
27
28
|
import "../form/radiogroup/radiogroup.js";
|
|
28
29
|
import "../../../card-Cc2Qkiqr.js";
|
|
29
|
-
function
|
|
30
|
+
function er({
|
|
30
31
|
children: p,
|
|
31
32
|
width: c,
|
|
32
33
|
open: d,
|
|
@@ -74,5 +75,5 @@ function rr({
|
|
|
74
75
|
] }) });
|
|
75
76
|
}
|
|
76
77
|
export {
|
|
77
|
-
|
|
78
|
+
er as Alert
|
|
78
79
|
};
|
|
@@ -19,6 +19,7 @@ import "../../../index-CYyrKZeH.js";
|
|
|
19
19
|
import "../../atoms/form/textfield/textfield.js";
|
|
20
20
|
import "../../atoms/form/stepper/stepper.js";
|
|
21
21
|
import "../../atoms/form/textarea/textarea.js";
|
|
22
|
+
import "../../atoms/form/textarea/rich-textarea.js";
|
|
22
23
|
import "../../atoms/form/timeselect/timeselect.js";
|
|
23
24
|
import { Button as d } from "../button/button.js";
|
|
24
25
|
import "../datatables/cell/cell.js";
|
|
@@ -43,7 +44,7 @@ function sr({
|
|
|
43
44
|
contentMaxHeight: y,
|
|
44
45
|
heightSpacingRem: N = 15
|
|
45
46
|
}) {
|
|
46
|
-
const { ref: w, height:
|
|
47
|
+
const { ref: w, height: p } = n(), { ref: C, height: H } = n(), i = N;
|
|
47
48
|
return /* @__PURE__ */ r($, { open: x, onOpenChange: t, children: /* @__PURE__ */ e(I, { children: [
|
|
48
49
|
/* @__PURE__ */ r(_, { className: "fixed inset-0 bg-surface-subduedInverted bg-opacity-50 " }),
|
|
49
50
|
/* @__PURE__ */ e(
|
|
@@ -66,7 +67,7 @@ function sr({
|
|
|
66
67
|
{
|
|
67
68
|
style: {
|
|
68
69
|
// Calculate max height based on viewport height minus spacing and measured header/footer heights
|
|
69
|
-
maxHeight: y ?? (o ? `calc(100vh - ${i}rem - ${
|
|
70
|
+
maxHeight: y ?? (o ? `calc(100vh - ${i}rem - ${p}px - ${H}px)` : `calc(100vh - ${i}rem - ${p}px)`)
|
|
70
71
|
},
|
|
71
72
|
className: c("overflow-auto", g && "p-xl", !o && "rounded-b-xl"),
|
|
72
73
|
children: f
|
|
@@ -88,7 +89,7 @@ function sr({
|
|
|
88
89
|
onClick: t
|
|
89
90
|
}
|
|
90
91
|
),
|
|
91
|
-
l && /* @__PURE__ */ r("div", { className: "flex gap-xl", children: l.map((
|
|
92
|
+
l && /* @__PURE__ */ r("div", { className: "flex gap-xl", children: l.map((s) => /* @__PURE__ */ r(d, { size: "large", ...s }, s.text)) })
|
|
92
93
|
]
|
|
93
94
|
}
|
|
94
95
|
)
|
|
@@ -19,17 +19,18 @@ import "../../../index-CYyrKZeH.js";
|
|
|
19
19
|
import "../../atoms/form/textfield/textfield.js";
|
|
20
20
|
import "../../atoms/form/stepper/stepper.js";
|
|
21
21
|
import "../../atoms/form/textarea/textarea.js";
|
|
22
|
+
import "../../atoms/form/textarea/rich-textarea.js";
|
|
22
23
|
import "../../atoms/form/timeselect/timeselect.js";
|
|
23
24
|
import { Button as L } from "../button/button.js";
|
|
24
25
|
import "../datatables/cell/cell.js";
|
|
25
26
|
import "../dataviz/donut-chart/donut-chart.js";
|
|
26
27
|
import "../form/radiogroup/radiogroup.js";
|
|
27
28
|
import "../../../card-Cc2Qkiqr.js";
|
|
28
|
-
function
|
|
29
|
+
function gr({
|
|
29
30
|
children: N,
|
|
30
31
|
actionBox: b,
|
|
31
32
|
title: l,
|
|
32
|
-
open:
|
|
33
|
+
open: o,
|
|
33
34
|
setOpen: i,
|
|
34
35
|
width: a,
|
|
35
36
|
transitionDuration: c = 500,
|
|
@@ -42,7 +43,7 @@ function vr({
|
|
|
42
43
|
scrollBehavior: D = "auto",
|
|
43
44
|
enableScroll: s = !0
|
|
44
45
|
}) {
|
|
45
|
-
const [n, T] = I(c),
|
|
46
|
+
const [n, T] = I(c), e = y(null), h = y(0), R = X(
|
|
46
47
|
() => ({
|
|
47
48
|
from: { opacity: 0, transform: `translateX(${a})` },
|
|
48
49
|
enter: { opacity: 1, transform: "translateX(0%)" },
|
|
@@ -52,21 +53,21 @@ function vr({
|
|
|
52
53
|
}
|
|
53
54
|
}),
|
|
54
55
|
[a, n]
|
|
55
|
-
), B = E(
|
|
56
|
+
), B = E(o, R);
|
|
56
57
|
v(() => {
|
|
57
58
|
T(c);
|
|
58
59
|
}, [c]);
|
|
59
60
|
const _ = F({
|
|
60
|
-
width:
|
|
61
|
+
width: o ? a : 0,
|
|
61
62
|
config: { duration: n }
|
|
62
63
|
});
|
|
63
64
|
v(() => {
|
|
64
|
-
|
|
65
|
-
}, [
|
|
65
|
+
o && m && s && e.current && (e.current.scrollTop = h.current);
|
|
66
|
+
}, [o, m, s]);
|
|
66
67
|
const $ = () => {
|
|
67
|
-
m && s &&
|
|
68
|
+
m && s && e.current && (h.current = e.current.scrollTop), i == null || i(!1);
|
|
68
69
|
};
|
|
69
|
-
return /* @__PURE__ */ r(M, { open:
|
|
70
|
+
return /* @__PURE__ */ r(M, { open: o, onOpenChange: i, children: /* @__PURE__ */ r(q, { children: B(
|
|
70
71
|
(x, j) => j ? /* @__PURE__ */ t(k, { children: [
|
|
71
72
|
/* @__PURE__ */ r(g.div, { style: { opacity: x.opacity }, children: /* @__PURE__ */ r(
|
|
72
73
|
z,
|
|
@@ -105,10 +106,10 @@ function vr({
|
|
|
105
106
|
u && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(L, { ...u }) })
|
|
106
107
|
] })
|
|
107
108
|
] }),
|
|
108
|
-
|
|
109
|
+
o && /* @__PURE__ */ r(
|
|
109
110
|
"div",
|
|
110
111
|
{
|
|
111
|
-
ref:
|
|
112
|
+
ref: e,
|
|
112
113
|
className: `flex-1 ${s ? "overflow-y-auto overflow-x-hidden" : "overflow-hidden"}`,
|
|
113
114
|
style: { scrollBehavior: D },
|
|
114
115
|
children: N
|
|
@@ -122,5 +123,5 @@ function vr({
|
|
|
122
123
|
) }) });
|
|
123
124
|
}
|
|
124
125
|
export {
|
|
125
|
-
|
|
126
|
+
gr as Drawer
|
|
126
127
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l } from "react";
|
|
3
|
-
import { S as r, P as c, V as d } from "../../../snackbar-
|
|
3
|
+
import { S as r, P as c, V as d } from "../../../snackbar-CgqDB5xn.js";
|
|
4
4
|
import { Button as h } from "../button/button.js";
|
|
5
5
|
const w = {
|
|
6
6
|
title: "@spotwork-ui/Snackbar",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { S as
|
|
2
|
+
import { S as D } from "../../../snackbar-CgqDB5xn.js";
|
|
3
3
|
import "../../styles/tailwind-config/index.js";
|
|
4
4
|
import "../../styles/typography/typography.js";
|
|
5
5
|
import "../../styles/colors/colors.js";
|
|
@@ -18,6 +18,7 @@ import "../../../index-CYyrKZeH.js";
|
|
|
18
18
|
import "../../atoms/form/textfield/textfield.js";
|
|
19
19
|
import "../../atoms/form/stepper/stepper.js";
|
|
20
20
|
import "../../atoms/form/textarea/textarea.js";
|
|
21
|
+
import "../../atoms/form/textarea/rich-textarea.js";
|
|
21
22
|
import "../../atoms/form/timeselect/timeselect.js";
|
|
22
23
|
import "../button/button.js";
|
|
23
24
|
import "../datatables/cell/cell.js";
|
|
@@ -27,5 +28,5 @@ import "../form/radiogroup/radiogroup.js";
|
|
|
27
28
|
import "../../../card-Cc2Qkiqr.js";
|
|
28
29
|
import "./styles.js";
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
D as Snackbar
|
|
31
32
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -46,6 +46,8 @@ export type { StepperProps } from './components/atoms/form/stepper';
|
|
|
46
46
|
export { Tab } from './components/atoms/tab';
|
|
47
47
|
export { Textarea } from './components/atoms/form/textarea';
|
|
48
48
|
export type { TextareaProps } from './components/atoms/form/textarea';
|
|
49
|
+
export { RichTextarea } from './components/atoms/form/textarea';
|
|
50
|
+
export type { RichTextareaProps } from './components/atoms/form/textarea';
|
|
49
51
|
export { Textfield } from './components/atoms/form/textfield';
|
|
50
52
|
export type { TextfieldProps } from './components/atoms/form/textfield';
|
|
51
53
|
export { Timeselect } from './components/atoms/form/timeselect';
|