@temp-spotwork/ui 1.8.1 → 1.8.3

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 (28) hide show
  1. package/dist/components/atoms/icons/iconMap.d.ts +3 -0
  2. package/dist/components/atoms/icons/iconMap.js +90 -88
  3. package/dist/components/atoms/icons/icons.stories.js +6 -4
  4. package/dist/components/atoms/icons/iconsSVGs/Small/MapPinOutline.d.ts +4 -0
  5. package/dist/components/atoms/icons/iconsSVGs/Small/MapPinOutline.js +37 -0
  6. package/dist/components/atoms/icons/iconsSVGs/Small/index.d.ts +2 -1
  7. package/dist/components/atoms/icons/iconsSVGs/Small/index.js +50 -48
  8. package/dist/components/atoms/small-large-text/small-large-text.js +3 -2
  9. package/dist/components/molecules/alert/alert.js +8 -7
  10. package/dist/components/molecules/dataviz/marker-progress-bar/MarkerProgressBar.stories.d.ts +17 -0
  11. package/dist/components/molecules/dataviz/marker-progress-bar/MarkerProgressBar.stories.js +68 -0
  12. package/dist/components/molecules/dataviz/marker-progress-bar/index.d.ts +2 -0
  13. package/dist/components/molecules/dataviz/marker-progress-bar/index.js +4 -0
  14. package/dist/components/molecules/dataviz/marker-progress-bar/marker-progress-bar.d.ts +31 -0
  15. package/dist/components/molecules/dataviz/marker-progress-bar/marker-progress-bar.js +97 -0
  16. package/dist/components/molecules/dataviz/marker-progress-bar/styles.d.ts +11 -0
  17. package/dist/components/molecules/dataviz/marker-progress-bar/styles.js +25 -0
  18. package/dist/components/molecules/dialog/dialog.js +3 -2
  19. package/dist/components/molecules/drawer/drawer.js +11 -10
  20. package/dist/components/molecules/filter/segmented-control/segmented-control.d.ts +4 -0
  21. package/dist/components/molecules/filter/segmented-control/segmented-control.js +37 -27
  22. package/dist/components/molecules/snackbar/Snackbar.stories.js +1 -1
  23. package/dist/components/molecules/snackbar/index.js +1 -1
  24. package/dist/components/molecules/snackbar/snackbar.js +3 -2
  25. package/dist/main.d.ts +2 -0
  26. package/dist/main.js +97 -95
  27. package/dist/{snackbar-B9zd5z5s.js → snackbar-CLpxASgP.js} +5 -4
  28. package/package.json +2 -2
package/dist/main.js CHANGED
@@ -3,17 +3,17 @@ import { a as x } from "./index-CSucbNlF.js";
3
3
  import { Avatar as n } from "./components/atoms/avatar/avatar.js";
4
4
  import { Badge as l } from "./components/atoms/badge/badge.js";
5
5
  import { LabelValuePair as d } from "./components/atoms/card-content/label-value-pair/label-value-pair.js";
6
- import { Note as b } from "./components/atoms/card-content/note/note.js";
6
+ import { Note as g } from "./components/atoms/card-content/note/note.js";
7
7
  import { Chatheader as u } from "./components/atoms/conversation/chatheader/chatheader.js";
8
8
  import { ContextMenu as S } from "./components/molecules/navigation/context-menu/context-menu.js";
9
9
  import { Dateselect as D } from "./components/atoms/form/dateselect/dateselect.js";
10
- import { TimePicker as w } from "./components/atoms/form/time-picker/time-picker.js";
11
- import { RecurrenceDay as y } from "./components/atoms/daybubble/recurrence-day/recurrence-day.js";
12
- import { RecurrenceWeek as k } from "./components/atoms/form/recurrence-week/recurrence-week.js";
10
+ import { TimePicker as M } from "./components/atoms/form/time-picker/time-picker.js";
11
+ import { RecurrenceDay as k } from "./components/atoms/daybubble/recurrence-day/recurrence-day.js";
12
+ import { RecurrenceWeek as R } from "./components/atoms/form/recurrence-week/recurrence-week.js";
13
13
  import { Checkbox as N } from "./components/atoms/form/checkbox/checkbox.js";
14
14
  import { Chips as L } from "./components/atoms/form/chips/chips.js";
15
- import { Dropdown as G } from "./components/atoms/form/dropdown/dropdown.js";
16
- import { DropdownFilter as P } from "./components/molecules/filter/dropdown-selector/dropdown-selector.js";
15
+ import { Dropdown as F } from "./components/atoms/form/dropdown/dropdown.js";
16
+ import { DropdownFilter as H } from "./components/molecules/filter/dropdown-selector/dropdown-selector.js";
17
17
  import { DropdownSearch as I } from "./components/atoms/form/dropdown-search/dropdown-search.js";
18
18
  import { DropdownItem as V, renderSpotterDropdownOption as W } from "./components/atoms/form/dropdown-item/dropdown-item.js";
19
19
  import { Calendar as O } from "./components/atoms/form/calendar/calendar.js";
@@ -32,140 +32,142 @@ import { Switch as ao } from "./components/atoms/form/switch/switch.js";
32
32
  import { Stepper as fo } from "./components/atoms/form/stepper/stepper.js";
33
33
  import { Tab as io } from "./components/atoms/tab/tab.js";
34
34
  import { Textarea as so } from "./components/atoms/form/textarea/textarea.js";
35
- import { RichTextarea as bo } from "./components/atoms/form/textarea/rich-textarea.js";
35
+ import { RichTextarea as go } from "./components/atoms/form/textarea/rich-textarea.js";
36
36
  import { Textfield as uo } from "./components/atoms/form/textfield/textfield.js";
37
37
  import { Timeselect as So } from "./components/atoms/form/timeselect/timeselect.js";
38
38
  import { Typeahead as Do } from "./components/atoms/form/typeahead/typeahead.js";
39
- import { Button as wo } from "./components/molecules/button/button.js";
40
- import { NotesAndHistory as yo } from "./components/molecules/card-content/notes-and-history/notes-and-history.js";
41
- import { CollapsibleCard as ko } from "./components/molecules/collapsible-card/collapsible-card.js";
39
+ import { Button as Mo } from "./components/molecules/button/button.js";
40
+ import { NotesAndHistory as ko } from "./components/molecules/card-content/notes-and-history/notes-and-history.js";
41
+ import { CollapsibleCard as Ro } from "./components/molecules/collapsible-card/collapsible-card.js";
42
42
  import { Contact as No } from "./components/molecules/conversation/contact/contact.js";
43
43
  import { MessageEditor as Lo } from "./components/molecules/conversation/message-editor/message-editor.js";
44
- import { MessageGroupComposer as Go } from "./components/molecules/conversation/message-group-composer/message-group-composer.js";
45
- import { Cell as Po } from "./components/molecules/datatables/cell/cell.js";
44
+ import { MessageGroupComposer as Fo } from "./components/molecules/conversation/message-group-composer/message-group-composer.js";
45
+ import { Cell as Ho } from "./components/molecules/datatables/cell/cell.js";
46
46
  import { Row as Io } from "./components/molecules/datatables/row/row.js";
47
47
  import { RowHeader as Vo } from "./components/molecules/datatables/row-header/row-header.js";
48
48
  import { DonutChart as Eo } from "./components/molecules/dataviz/donut-chart/donut-chart.js";
49
49
  import { DotMatrix as _o } from "./components/molecules/dataviz/dot-matrix/dot-matrix.js";
50
50
  import { ProgressBar as qo } from "./components/molecules/dataviz/progress-bar/progress-bar.js";
51
- import { SingleStackedBar as Ko } from "./components/molecules/dataviz/single-stacked-bar/single-stacked-bar.js";
52
- import { Legend as Uo } from "./components/molecules/dataviz/legend/legend.js";
53
- import { Drawer as Yo } from "./components/molecules/drawer/drawer.js";
54
- import { DateSelector as $o } from "./components/molecules/filter/date-selector/date-selector.js";
55
- import { DateRangeSelector as rr } from "./components/molecules/filter/date-range-selector/date-range-selector.js";
56
- import { RangeSelector as tr } from "./components/molecules/filter/range-selector/range-selector.js";
57
- import { Radiogroup as mr } from "./components/molecules/form/radiogroup/radiogroup.js";
58
- import { Link as xr } from "./components/molecules/link/link.js";
59
- import { Header as nr } from "./components/molecules/navigation/header/header.js";
60
- import { Sidebar as lr } from "./components/molecules/navigation/sidebar/sidebar.js";
61
- import { Content as dr } from "./components/molecules/notifications/content/content.js";
62
- import { S as br, i as gr } from "./snackbar-B9zd5z5s.js";
63
- import { Tooltip as Cr } from "./components/atoms/tooltip/tooltip.js";
64
- import { TabGroup as hr } from "./components/molecules/tab-group/tab-group.js";
65
- import { Menubar as Tr } from "./components/molecules/navigation/menubar/menubar.js";
66
- import { ContextSearch as Mr } from "./components/molecules/filter/context-search/context-search.js";
67
- import { SmallLargeText as Rr } from "./components/atoms/small-large-text/small-large-text.js";
68
- import { HorizontalBorder as Br } from "./components/atoms/horizontal-border/horizontal-border.js";
69
- import { Dialog as vr } from "./components/molecules/dialog/dialog.js";
70
- import { Alert as Fr } from "./components/molecules/alert/alert.js";
71
- import { c as Hr } from "./card-Cc2Qkiqr.js";
72
- import { Colors as Ar } from "./components/styles/colors/colors.js";
73
- import { apple as zr, blueRibbon as Vr, borderColor as Wr, buttonBorder as Er, buttonGlyph as Or, buttonSurface as _r, cinnabar as jr, crusta as qr, glyph as Jr, linkColors as Kr, progressBar as Qr, shadow as Ur, sun as Xr, surface as Yr, woodsmoke as Zr } from "./components/styles/colors/colormap.js";
74
- import { Typography as oe } from "./components/styles/typography/typography.js";
75
- import { fontFamilyMap as ee, fontSizeMap as te, fontWeightMap as pe, styleMap as me, textTypeMap as ae } from "./components/styles/typography/style.js";
76
- import { DashedLineSVG as fe } from "./components/styles/dashedBorder/DashedLineSVG.js";
51
+ import { MarkerProgressBar as Ko } from "./components/molecules/dataviz/marker-progress-bar/marker-progress-bar.js";
52
+ import { SingleStackedBar as Uo } from "./components/molecules/dataviz/single-stacked-bar/single-stacked-bar.js";
53
+ import { Legend as Yo } from "./components/molecules/dataviz/legend/legend.js";
54
+ import { Drawer as $o } from "./components/molecules/drawer/drawer.js";
55
+ import { DateSelector as rr } from "./components/molecules/filter/date-selector/date-selector.js";
56
+ import { DateRangeSelector as tr } from "./components/molecules/filter/date-range-selector/date-range-selector.js";
57
+ import { RangeSelector as mr } from "./components/molecules/filter/range-selector/range-selector.js";
58
+ import { Radiogroup as xr } from "./components/molecules/form/radiogroup/radiogroup.js";
59
+ import { Link as nr } from "./components/molecules/link/link.js";
60
+ import { Header as lr } from "./components/molecules/navigation/header/header.js";
61
+ import { Sidebar as dr } from "./components/molecules/navigation/sidebar/sidebar.js";
62
+ import { Content as gr } from "./components/molecules/notifications/content/content.js";
63
+ import { S as ur, i as Cr } from "./snackbar-CLpxASgP.js";
64
+ import { Tooltip as hr } from "./components/atoms/tooltip/tooltip.js";
65
+ import { TabGroup as Tr } from "./components/molecules/tab-group/tab-group.js";
66
+ import { Menubar as wr } from "./components/molecules/navigation/menubar/menubar.js";
67
+ import { ContextSearch as yr } from "./components/molecules/filter/context-search/context-search.js";
68
+ import { SmallLargeText as Br } from "./components/atoms/small-large-text/small-large-text.js";
69
+ import { HorizontalBorder as vr } from "./components/atoms/horizontal-border/horizontal-border.js";
70
+ import { Dialog as Pr } from "./components/molecules/dialog/dialog.js";
71
+ import { Alert as Gr } from "./components/molecules/alert/alert.js";
72
+ import { c as Ar } from "./card-Cc2Qkiqr.js";
73
+ import { Colors as zr } from "./components/styles/colors/colors.js";
74
+ import { apple as Wr, blueRibbon as Er, borderColor as Or, buttonBorder as _r, buttonGlyph as jr, buttonSurface as qr, cinnabar as Jr, crusta as Kr, glyph as Qr, linkColors as Ur, progressBar as Xr, shadow as Yr, sun as Zr, surface as $r, woodsmoke as oe } from "./components/styles/colors/colormap.js";
75
+ import { Typography as ee } from "./components/styles/typography/typography.js";
76
+ import { fontFamilyMap as pe, fontSizeMap as me, fontWeightMap as ae, styleMap as xe, textTypeMap as fe } from "./components/styles/typography/style.js";
77
+ import { DashedLineSVG as ie } from "./components/styles/dashedBorder/DashedLineSVG.js";
77
78
  export {
78
- Fr as Alert,
79
+ Gr as Alert,
79
80
  n as Avatar,
80
81
  l as Badge,
81
- wo as Button,
82
+ Mo as Button,
82
83
  O as Calendar,
83
- Hr as Card,
84
- Po as Cell,
84
+ Ar as Card,
85
+ Ho as Cell,
85
86
  u as Chatheader,
86
87
  N as Checkbox,
87
88
  j as CheckboxFilter,
88
89
  L as Chips,
89
- ko as CollapsibleCard,
90
- Ar as Colors,
90
+ Ro as CollapsibleCard,
91
+ zr as Colors,
91
92
  No as Contact,
92
93
  S as ContextMenu,
93
- Mr as ContextSearch,
94
- fe as DashedLineSVG,
95
- rr as DateRangeSelector,
96
- $o as DateSelector,
94
+ yr as ContextSearch,
95
+ ie as DashedLineSVG,
96
+ tr as DateRangeSelector,
97
+ rr as DateSelector,
97
98
  D as Dateselect,
98
- vr as Dialog,
99
+ Pr as Dialog,
99
100
  Eo as DonutChart,
100
101
  _o as DotMatrix,
101
- Yo as Drawer,
102
- G as Dropdown,
103
- P as DropdownFilter,
102
+ $o as Drawer,
103
+ F as Dropdown,
104
+ H as DropdownFilter,
104
105
  V as DropdownItem,
105
106
  I as DropdownSearch,
106
107
  J as FormNavigation,
107
- nr as Header,
108
- Br as HorizontalBorder,
108
+ lr as Header,
109
+ vr as HorizontalBorder,
109
110
  Q as Icons,
110
111
  d as LabelValuePair,
111
- Uo as Legend,
112
- xr as Link,
113
- Tr as Menubar,
112
+ Yo as Legend,
113
+ nr as Link,
114
+ Ko as MarkerProgressBar,
115
+ wr as Menubar,
114
116
  X as Message,
115
117
  Lo as MessageEditor,
116
- Go as MessageGroupComposer,
118
+ Fo as MessageGroupComposer,
117
119
  Z as Multiselect,
118
120
  oo as NavigationItem,
119
- b as Note,
120
- yo as NotesAndHistory,
121
- dr as NotificationContent,
121
+ g as Note,
122
+ ko as NotesAndHistory,
123
+ gr as NotificationContent,
122
124
  qo as ProgressBar,
123
125
  eo as Radiobutton,
124
- mr as Radiogroup,
125
- tr as RangeSelector,
126
- y as RecurrenceDay,
127
- k as RecurrenceWeek,
128
- bo as RichTextarea,
126
+ xr as Radiogroup,
127
+ mr as RangeSelector,
128
+ k as RecurrenceDay,
129
+ R as RecurrenceWeek,
130
+ go as RichTextarea,
129
131
  Io as Row,
130
132
  Vo as RowHeader,
131
133
  po as SegmentedControl,
132
- lr as Sidebar,
133
- Ko as SingleStackedBar,
134
- Rr as SmallLargeText,
135
- br as Snackbar,
134
+ dr as Sidebar,
135
+ Uo as SingleStackedBar,
136
+ Br as SmallLargeText,
137
+ ur as Snackbar,
136
138
  fo as Stepper,
137
139
  ao as Switch,
138
140
  io as Tab,
139
- hr as TabGroup,
141
+ Tr as TabGroup,
140
142
  so as Textarea,
141
143
  uo as Textfield,
142
- w as TimePicker,
144
+ M as TimePicker,
143
145
  So as Timeselect,
144
- gr as Toast,
145
- Cr as Tooltip,
146
+ Cr as Toast,
147
+ hr as Tooltip,
146
148
  x as TooltipProvider,
147
149
  Do as Typeahead,
148
- oe as Typography,
149
- zr as apple,
150
- Vr as blue_ribbon,
151
- Wr as borderColor,
152
- Er as buttonBorder,
153
- Or as buttonGlyph,
154
- _r as buttonSurface,
155
- jr as cinnabar,
156
- qr as crusta,
157
- ee as fontFamilyMap,
158
- te as fontSizeMap,
159
- pe as fontWeightMap,
160
- Jr as glyph,
161
- Kr as linkColors,
162
- Qr as progressBar,
150
+ ee as Typography,
151
+ Wr as apple,
152
+ Er as blue_ribbon,
153
+ Or as borderColor,
154
+ _r as buttonBorder,
155
+ jr as buttonGlyph,
156
+ qr as buttonSurface,
157
+ Jr as cinnabar,
158
+ Kr as crusta,
159
+ pe as fontFamilyMap,
160
+ me as fontSizeMap,
161
+ ae as fontWeightMap,
162
+ Qr as glyph,
163
+ Ur as linkColors,
164
+ Xr as progressBar,
163
165
  W as renderSpotterDropdownOption,
164
- Ur as shadow,
165
- me as styleMap,
166
- Xr as sun,
167
- Yr as surface,
166
+ Yr as shadow,
167
+ xe as styleMap,
168
+ Zr as sun,
169
+ $r as surface,
168
170
  m as tailwindConfig,
169
- ae as textTypeMap,
170
- Zr as woodsmoke
171
+ fe as textTypeMap,
172
+ oe as woodsmoke
171
173
  };
@@ -26,6 +26,7 @@ import "./components/atoms/form/timeselect/timeselect.js";
26
26
  import { Button as De } from "./components/molecules/button/button.js";
27
27
  import "./components/molecules/datatables/cell/cell.js";
28
28
  import "./components/molecules/dataviz/donut-chart/donut-chart.js";
29
+ import "./components/molecules/dataviz/marker-progress-bar/marker-progress-bar.js";
29
30
  import "./react-spring_web.modern-CKwWSQke.js";
30
31
  import "./components/molecules/form/radiogroup/radiogroup.js";
31
32
  import "./purify.es-Bxiq5T7l.js";
@@ -446,7 +447,7 @@ function z(t) {
446
447
  return t.some((o) => o === r ? !0 : (o.focus(), document.activeElement !== r));
447
448
  }
448
449
  var Ze = te, et = oe, ye = re, tt = ne, ot = se, rt = ae, nt = $;
449
- const Ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
450
+ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
450
451
  __proto__: null,
451
452
  Action: rt,
452
453
  Close: nt,
@@ -464,7 +465,7 @@ const Ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
464
465
  Viewport: et,
465
466
  createToastScope: Oe
466
467
  }, Symbol.toStringTag, { value: "Module" }));
467
- function Vt({
468
+ function Kt({
468
469
  title: t,
469
470
  open: r = !0,
470
471
  setOpen: o,
@@ -497,7 +498,7 @@ function Vt({
497
498
  }
498
499
  export {
499
500
  Ze as P,
500
- Vt as S,
501
+ Kt as S,
501
502
  et as V,
502
- Ot as i
503
+ Vt as i
503
504
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@temp-spotwork/ui",
3
3
  "private": false,
4
- "version": "1.8.1",
4
+ "version": "1.8.3",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -95,4 +95,4 @@
95
95
  "@ast-grep/napi-linux-x64-gnu": "0.36.3",
96
96
  "@rollup/rollup-linux-x64-gnu": "4.46.2"
97
97
  }
98
- }
98
+ }