@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.
Files changed (31) hide show
  1. package/dist/components/atoms/form/textarea/RichTextarea.stories.d.ts +11 -0
  2. package/dist/components/atoms/form/textarea/RichTextarea.stories.js +67 -0
  3. package/dist/components/atoms/form/textarea/Textarea.stories.d.ts +4 -0
  4. package/dist/components/atoms/form/textarea/Textarea.stories.js +57 -12
  5. package/dist/components/atoms/form/textarea/index.d.ts +2 -0
  6. package/dist/components/atoms/form/textarea/index.js +2 -0
  7. package/dist/components/atoms/form/textarea/rich-textarea.d.ts +53 -0
  8. package/dist/components/atoms/form/textarea/rich-textarea.js +275 -0
  9. package/dist/components/atoms/form/textarea/textarea.js +1 -5
  10. package/dist/components/atoms/icons/iconMap.d.ts +12 -0
  11. package/dist/components/atoms/icons/iconMap.js +216 -210
  12. package/dist/components/atoms/icons/icons.stories.js +36 -28
  13. package/dist/components/atoms/icons/iconsSVGs/Large/CloudLightning.d.ts +4 -0
  14. package/dist/components/atoms/icons/iconsSVGs/Large/CloudLightning.js +22 -0
  15. package/dist/components/atoms/icons/iconsSVGs/Large/index.d.ts +2 -1
  16. package/dist/components/atoms/icons/iconsSVGs/Large/index.js +96 -94
  17. package/dist/components/atoms/icons/iconsSVGs/Small/CloudLightning.d.ts +4 -0
  18. package/dist/components/atoms/icons/iconsSVGs/Small/CloudLightning.js +22 -0
  19. package/dist/components/atoms/icons/iconsSVGs/Small/index.d.ts +2 -1
  20. package/dist/components/atoms/icons/iconsSVGs/Small/index.js +64 -62
  21. package/dist/components/atoms/small-large-text/small-large-text.js +3 -2
  22. package/dist/components/molecules/alert/alert.js +3 -2
  23. package/dist/components/molecules/dialog/dialog.js +4 -3
  24. package/dist/components/molecules/drawer/drawer.js +13 -12
  25. package/dist/components/molecules/snackbar/Snackbar.stories.js +1 -1
  26. package/dist/components/molecules/snackbar/index.js +1 -1
  27. package/dist/components/molecules/snackbar/snackbar.js +3 -2
  28. package/dist/main.d.ts +2 -0
  29. package/dist/main.js +107 -105
  30. package/dist/{snackbar-BaF8Ts3S.js → snackbar-CgqDB5xn.js} +5 -4
  31. 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 d } from "./ArrowRight.js";
5
- import { default as m } from "./Ascending.js";
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 S } from "./Calendar.js";
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 T } from "./ChevronLeft.js";
15
- import { default as L } from "./ChevronRight.js";
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 "./Contact.js";
19
- import { default as O } from "./Copy.js";
20
- import { default as H } from "./Cross.js";
21
- import { default as K } from "./Descending.js";
22
- import { default as V } from "./DoubleTick.js";
23
- import { default as q } from "./Duplicate.js";
24
- import { default as W } from "./Edit.js";
25
- import { default as Y } from "./EyeClose.js";
26
- import { default as _ } from "./EyeOpen.js";
27
- import { default as ee } from "./File.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";
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
- ta as AbnormalLastShift,
62
+ la as AbnormalLastShift,
62
63
  o as Add,
63
64
  t as AdvancedSearch,
64
65
  l as ArrowLeft,
65
- d as ArrowRight,
66
- m as Ascending,
66
+ s as ArrowRight,
67
+ u as Ascending,
67
68
  x as Attach,
68
69
  n as Bell,
69
70
  h as BellUnread,
70
- _e as Building,
71
- S as Calendar,
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
- T as ChevronLeft,
77
- L as ChevronRight,
77
+ L as ChevronLeft,
78
+ F as ChevronRight,
78
79
  B as ChevronUp,
79
80
  P as Clock,
80
- U as Contact,
81
- O as Copy,
82
- H as Cross,
83
- K as Descending,
84
- V as DoubleTick,
85
- q as Duplicate,
86
- W as Edit,
87
- Y as EyeClose,
88
- _ as EyeOpen,
89
- ma as Feedback,
90
- ee as File,
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
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,4 @@
1
+ declare const CloudLightning: ({ fill }: {
2
+ fill: any;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default CloudLightning;
@@ -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 o } from "./Add.js";
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 d } from "./ArrowUp.js";
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 O } from "./ChevronLeft.js";
16
- import { default as E } from "./ChevronRight.js";
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 "./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
- import { default as J } from "./DistanceSmall.js";
24
- import { default as V } from "./Empty.js";
25
- import { default as Y } from "./Expand.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";
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
- o as Add,
48
+ a as Add,
48
49
  t as Alert,
49
50
  l as ArrowRight,
50
- d as ArrowUp,
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
- O as ChevronLeft,
62
- E as ChevronRight,
62
+ L as ChevronLeft,
63
+ b as ChevronRight,
63
64
  M as ChevronUp,
65
+ K as CloudLightning,
64
66
  F as Collapse,
65
- K as Copy,
66
- T as Cross,
67
- q as CrossInCircle,
68
- B as Descending,
69
- J as DistanceSmall,
70
- V as Empty,
71
- Y as Expand,
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
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 F({ text: r, size: o = 300, isSmall: m = !0 }) {
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
- F as SmallLargeText
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 rr({
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
- rr as Alert
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: s } = n(), { ref: C, height: H } = n(), i = N;
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 - ${s}px - ${H}px)` : `calc(100vh - ${i}rem - ${s}px)`)
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((p) => /* @__PURE__ */ r(d, { size: "large", ...p }, p.text)) })
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 vr({
29
+ function gr({
29
30
  children: N,
30
31
  actionBox: b,
31
32
  title: l,
32
- open: e,
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), o = y(null), h = y(0), R = X(
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(e, R);
56
+ ), B = E(o, R);
56
57
  v(() => {
57
58
  T(c);
58
59
  }, [c]);
59
60
  const _ = F({
60
- width: e ? a : 0,
61
+ width: o ? a : 0,
61
62
  config: { duration: n }
62
63
  });
63
64
  v(() => {
64
- e && m && s && o.current && (o.current.scrollTop = h.current);
65
- }, [e, m, s]);
65
+ o && m && s && e.current && (e.current.scrollTop = h.current);
66
+ }, [o, m, s]);
66
67
  const $ = () => {
67
- m && s && o.current && (h.current = o.current.scrollTop), i == null || i(!1);
68
+ m && s && e.current && (h.current = e.current.scrollTop), i == null || i(!1);
68
69
  };
69
- return /* @__PURE__ */ r(M, { open: e, onOpenChange: i, children: /* @__PURE__ */ r(q, { children: B(
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
- e && /* @__PURE__ */ r(
109
+ o && /* @__PURE__ */ r(
109
110
  "div",
110
111
  {
111
- ref: o,
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
- vr as Drawer
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-BaF8Ts3S.js";
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,4 +1,4 @@
1
- import { S as o } from "../../../snackbar-BaF8Ts3S.js";
1
+ import { S as o } from "../../../snackbar-CgqDB5xn.js";
2
2
  export {
3
3
  o as Snackbar
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { S as C } from "../../../snackbar-BaF8Ts3S.js";
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
- C as Snackbar
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';