@terraware/web-components 4.2.25 → 4.2.26-rc.1

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 (323) hide show
  1. package/_vendor/react-multi-carousel/index.js +13 -0
  2. package/_vendor/react-multi-carousel/lib/Arrows.js +13 -0
  3. package/_vendor/react-multi-carousel/lib/Carousel.js +19 -0
  4. package/_vendor/react-multi-carousel/lib/CarouselItems.js +14 -0
  5. package/_vendor/react-multi-carousel/lib/Dots.js +16 -0
  6. package/_vendor/react-multi-carousel/lib/index.js +13 -0
  7. package/_vendor/react-multi-carousel/lib/types.js +13 -0
  8. package/_vendor/react-multi-carousel/lib/utils/clones.js +14 -0
  9. package/_vendor/react-multi-carousel/lib/utils/common.js +13 -0
  10. package/_vendor/react-multi-carousel/lib/utils/dots.js +14 -0
  11. package/_vendor/react-multi-carousel/lib/utils/elementWidth.js +12 -0
  12. package/_vendor/react-multi-carousel/lib/utils/index.js +20 -0
  13. package/_vendor/react-multi-carousel/lib/utils/mouseOrTouchMove.js +14 -0
  14. package/_vendor/react-multi-carousel/lib/utils/next.js +13 -0
  15. package/_vendor/react-multi-carousel/lib/utils/previous.js +14 -0
  16. package/_vendor/react-multi-carousel/lib/utils/throttle.js +12 -0
  17. package/_vendor/react-multi-carousel/lib/utils/throwError.js +14 -0
  18. package/_virtual/Arrows.js +3 -0
  19. package/_virtual/Carousel.js +3 -0
  20. package/_virtual/CarouselItems.js +3 -0
  21. package/_virtual/Dots.js +3 -0
  22. package/_virtual/_commonjsHelpers.js +5 -0
  23. package/_virtual/clones.js +3 -0
  24. package/_virtual/common.js +3 -0
  25. package/_virtual/dots2.js +3 -0
  26. package/_virtual/elementWidth.js +3 -0
  27. package/_virtual/index.js +7 -0
  28. package/_virtual/index2.js +3 -0
  29. package/_virtual/index3.js +3 -0
  30. package/_virtual/mouseOrTouchMove.js +3 -0
  31. package/_virtual/next.js +3 -0
  32. package/_virtual/previous.js +3 -0
  33. package/_virtual/throttle.js +3 -0
  34. package/_virtual/throwError.js +3 -0
  35. package/_virtual/types.js +3 -0
  36. package/components/AntSwitch/index.js +6 -4
  37. package/components/Autocomplete/Autocomplete.js +19 -16
  38. package/components/Badge/index.js +8 -6
  39. package/components/BusySpinner/index.js +11 -8
  40. package/components/Button/Button.js +12 -9
  41. package/components/Checkbox.js +11 -8
  42. package/components/Confirm/index.js +14 -17
  43. package/components/DatePicker/DatePicker.js +19 -23
  44. package/components/DialogBox/DialogBox.js +25 -20
  45. package/components/Divisor.js +11 -8
  46. package/components/Dropdown.js +18 -15
  47. package/components/EditableTable/index.js +17 -14
  48. package/components/ErrorBox/ErrorBox.js +18 -15
  49. package/components/FileChooser/index.js +20 -15
  50. package/components/FormBottomBar/index.js +15 -12
  51. package/components/Icon/Icon.js +9 -6
  52. package/components/Icon/icons/index.js +252 -251
  53. package/components/IconTooltip/index.js +14 -9
  54. package/components/Map/MapBox.js +35 -32
  55. package/components/Map/MapContainer.js +10 -6
  56. package/components/Map/MapDateSliderControl.js +14 -12
  57. package/components/Map/MapDrawer.js +16 -12
  58. package/components/Map/MapLegend.js +32 -28
  59. package/components/Map/MapViewStyleControl.js +11 -9
  60. package/components/Map/ReactMapboxWrapper.js +1 -1
  61. package/components/Map/index.js +13 -11
  62. package/components/Map/types.js +5 -3
  63. package/components/Map/useMaintainLayerOrder.js +5 -2
  64. package/components/Markdown/index.js +6 -4
  65. package/components/Message/Message.js +25 -20
  66. package/components/MultiSelect/index.js +26 -23
  67. package/components/Navbar/NavFooter.js +8 -5
  68. package/components/Navbar/NavItem.js +14 -11
  69. package/components/Navbar/NavSection.js +10 -7
  70. package/components/Navbar/Navbar.js +16 -11
  71. package/components/Navbar/SubNavbar.js +8 -5
  72. package/components/Note.js +10 -7
  73. package/components/OverlayModal/OverlayModal.js +13 -11
  74. package/components/PageForm/index.js +15 -12
  75. package/components/PhotoChooser/index.js +30 -25
  76. package/components/PhotosCarousel/index.d.ts.map +1 -1
  77. package/components/PhotosCarousel/index.js +17 -13
  78. package/components/Pill/index.js +14 -11
  79. package/components/PillList/index.js +10 -7
  80. package/components/PlacementWrapper/index.js +8 -6
  81. package/components/PopoverMenu/Popover.js +12 -9
  82. package/components/PopoverMenu/index.js +14 -11
  83. package/components/PopoverMultiSelect/index.js +14 -11
  84. package/components/ProgressCircle/ProgressCircle.js +12 -9
  85. package/components/RadioButton.js +9 -6
  86. package/components/Select/Select.js +9 -6
  87. package/components/Select/SelectT.js +30 -26
  88. package/components/Separator/index.js +7 -5
  89. package/components/Size.js +1 -1
  90. package/components/Slider/index.js +9 -6
  91. package/components/SummaryBox.js +13 -10
  92. package/components/Tabs/index.js +22 -18
  93. package/components/TextTruncated/index.js +13 -20
  94. package/components/Textfield/Textfield.js +34 -28
  95. package/components/Textfield/TruncatedTextArea.js +12 -10
  96. package/components/TimelineSlider/TimelineMarker.js +8 -6
  97. package/components/TimelineSlider/TimelineRail.js +6 -4
  98. package/components/TimelineSlider/index.js +14 -12
  99. package/components/Tooltip/Tooltip.js +12 -7
  100. package/components/ViewPhotosDialog/index.js +14 -11
  101. package/components/VirtualWalkthrough/Annotation.js +10 -8
  102. package/components/VirtualWalkthrough/AnnotationEditPane.js +23 -21
  103. package/components/VirtualWalkthrough/AnnotationPanel.js +16 -14
  104. package/components/VirtualWalkthrough/Application.js +9 -7
  105. package/components/VirtualWalkthrough/AutoRotator.js +5 -3
  106. package/components/VirtualWalkthrough/BlockingSpinner.js +10 -7
  107. package/components/VirtualWalkthrough/BoundaryRing.js +8 -6
  108. package/components/VirtualWalkthrough/BoundaryWall.js +8 -6
  109. package/components/VirtualWalkthrough/CameraInfo.js +15 -13
  110. package/components/VirtualWalkthrough/ControlsInfoPane.js +59 -57
  111. package/components/VirtualWalkthrough/GradientSky.js +8 -6
  112. package/components/VirtualWalkthrough/SplatControls.js +37 -35
  113. package/components/VirtualWalkthrough/SplatCrop.js +6 -4
  114. package/components/VirtualWalkthrough/SplatFadeCrop.js +7 -5
  115. package/components/VirtualWalkthrough/SplatModel.js +17 -14
  116. package/components/VirtualWalkthrough/SplatRevealRain.js +6 -4
  117. package/components/VirtualWalkthrough/TfAnnotationManager.js +8 -5
  118. package/components/VirtualWalkthrough/TfXrNavigation.js +7 -5
  119. package/components/VirtualWalkthrough/VirtualWalkthroughViewer.js +47 -45
  120. package/components/VirtualWalkthrough/VrAnnotationPanel.js +9 -7
  121. package/components/VirtualWalkthrough/XrAnnotationInteraction.js +9 -7
  122. package/components/VirtualWalkthrough/XrExitButton.js +9 -7
  123. package/components/VirtualWalkthrough/XrGazeDwell.js +9 -7
  124. package/components/VirtualWalkthrough/XrPointerRay.js +9 -7
  125. package/components/VirtualWalkthrough/boundary-ring.js +7 -5
  126. package/components/VirtualWalkthrough/boundary-wall.js +8 -6
  127. package/components/VirtualWalkthrough/groundPlane.js +6 -3
  128. package/components/VirtualWalkthrough/gsplat-fade-crop-effect.js +5 -2
  129. package/components/VirtualWalkthrough/splatFormat.js +6 -4
  130. package/components/VirtualWalkthrough/vr-annotation-panel-layout.js +4 -2
  131. package/components/VirtualWalkthrough/vr-annotation-panel.js +8 -5
  132. package/components/VirtualWalkthrough/walkthrough-camera.js +6 -4
  133. package/components/VirtualWalkthrough/xr-annotation-candidates.js +8 -6
  134. package/components/VirtualWalkthrough/xr-annotation-interaction.js +9 -6
  135. package/components/VirtualWalkthrough/xr-annotation-targeting.js +5 -2
  136. package/components/VirtualWalkthrough/xr-button-arming.js +4 -2
  137. package/components/VirtualWalkthrough/xr-button-hold.js +5 -3
  138. package/components/VirtualWalkthrough/xr-exit-button.js +10 -8
  139. package/components/VirtualWalkthrough/xr-face-buttons.js +6 -4
  140. package/components/VirtualWalkthrough/xr-gaze-dwell-state.js +5 -3
  141. package/components/VirtualWalkthrough/xr-gaze-dwell.js +9 -7
  142. package/components/VirtualWalkthrough/xr-interactive-ui.js +10 -8
  143. package/components/VirtualWalkthrough/xr-pointer-ray.js +5 -3
  144. package/components/VirtualWalkthrough/xr-progress-pie.js +4 -2
  145. package/components/VirtualWalkthrough/xr-ray-quad.js +5 -2
  146. package/components/VirtualWalkthrough/xr-scene-bounds.js +5 -3
  147. package/components/VirtualWalkthrough/xr-teleport-gesture.js +4 -2
  148. package/components/svg/BlobbyGrayIconImage.js +13 -11
  149. package/components/svg/BlobbyGrayIconImport.js +13 -11
  150. package/components/svg/BlobbyGrayIconUploadToTheCloud.js +13 -11
  151. package/components/svg/BlobbyIconCloudChecked.js +41 -39
  152. package/components/svg/BlobbyIconExportOrUploadPhoto.js +41 -39
  153. package/components/svg/BlobbyIconFolder.js +41 -39
  154. package/components/svg/BlobbyIconGraphReport.js +41 -39
  155. package/components/svg/BlobbyIconHappy.js +41 -39
  156. package/components/svg/BlobbyIconHeartMonitor.js +41 -39
  157. package/components/svg/BlobbyIconLeaf.js +41 -39
  158. package/components/svg/BlobbyIconLibrary.js +41 -39
  159. package/components/svg/BlobbyIconNursery.js +41 -39
  160. package/components/svg/BlobbyIconOrganization.js +41 -39
  161. package/components/svg/BlobbyIconParchment.js +41 -39
  162. package/components/svg/BlobbyIconPeople.js +41 -39
  163. package/components/svg/BlobbyIconSeedBank.js +41 -39
  164. package/components/svg/BlobbyIconSeedling.js +41 -39
  165. package/components/svg/BlobbyIconSeeds.js +41 -39
  166. package/components/svg/BlobbyIconSite.js +42 -40
  167. package/components/svg/BlobbyIconSparkles.js +41 -39
  168. package/components/svg/BlobbyIconWrench.js +41 -39
  169. package/components/svg/Bug.js +8 -6
  170. package/components/svg/Calendar.js +8 -6
  171. package/components/svg/CaretDown.js +8 -6
  172. package/components/svg/CaretLeft.js +8 -6
  173. package/components/svg/CaretRight.js +8 -6
  174. package/components/svg/CaretUp.js +8 -6
  175. package/components/svg/ChevronDown.js +8 -6
  176. package/components/svg/ChevronUp.js +8 -6
  177. package/components/svg/Close.js +8 -6
  178. package/components/svg/Critical.js +8 -6
  179. package/components/svg/Edit.js +41 -39
  180. package/components/svg/Error.js +8 -6
  181. package/components/svg/Filter.js +8 -6
  182. package/components/svg/Folder.js +8 -6
  183. package/components/svg/Help.js +8 -6
  184. package/components/svg/Home.js +8 -6
  185. package/components/svg/IconAdd.js +8 -6
  186. package/components/svg/IconArrowRight.js +8 -6
  187. package/components/svg/IconBusinessNetwork.js +8 -6
  188. package/components/svg/IconCalendar.js +8 -6
  189. package/components/svg/IconCancel.js +8 -6
  190. package/components/svg/IconChargingBattery.js +8 -6
  191. package/components/svg/IconChecklist.js +8 -6
  192. package/components/svg/IconCheckmark.js +8 -6
  193. package/components/svg/IconCoinInHand.js +8 -6
  194. package/components/svg/IconColumns.js +8 -6
  195. package/components/svg/IconComment.js +8 -6
  196. package/components/svg/IconDashboard.js +8 -6
  197. package/components/svg/IconDataMigration.js +8 -6
  198. package/components/svg/IconDocument.js +8 -6
  199. package/components/svg/IconDownloadFromTheCloud.js +8 -6
  200. package/components/svg/IconEdit.js +8 -6
  201. package/components/svg/IconExpand.js +8 -6
  202. package/components/svg/IconExport.js +8 -6
  203. package/components/svg/IconExternalLink.js +8 -6
  204. package/components/svg/IconEye.js +8 -6
  205. package/components/svg/IconEyeOff.js +8 -6
  206. package/components/svg/IconFile.js +8 -6
  207. package/components/svg/IconFolder.js +8 -6
  208. package/components/svg/IconFullScreen.js +8 -6
  209. package/components/svg/IconFutures.js +8 -6
  210. package/components/svg/IconGraphReport.js +8 -6
  211. package/components/svg/IconHeartMonitor.js +8 -6
  212. package/components/svg/IconHelp.js +8 -6
  213. package/components/svg/IconHistory.js +8 -6
  214. package/components/svg/IconImport.js +8 -6
  215. package/components/svg/IconIndex.js +8 -6
  216. package/components/svg/IconLayers.js +8 -6
  217. package/components/svg/IconLibrary.js +8 -6
  218. package/components/svg/IconList.js +8 -6
  219. package/components/svg/IconLivePlant.js +8 -6
  220. package/components/svg/IconLocations.js +8 -6
  221. package/components/svg/IconMail.js +8 -6
  222. package/components/svg/IconManager.js +8 -6
  223. package/components/svg/IconMarker.js +8 -6
  224. package/components/svg/IconMenu.js +8 -6
  225. package/components/svg/IconMenuHorizontal.js +8 -6
  226. package/components/svg/IconModule.js +8 -6
  227. package/components/svg/IconMyLocation.js +8 -6
  228. package/components/svg/IconNote.js +8 -6
  229. package/components/svg/IconNursery.js +8 -6
  230. package/components/svg/IconOrg.js +8 -6
  231. package/components/svg/IconParchment.js +8 -6
  232. package/components/svg/IconPhoto.js +8 -6
  233. package/components/svg/IconPlantsFilled.js +8 -6
  234. package/components/svg/IconRedo.js +8 -6
  235. package/components/svg/IconRestorationSite.js +8 -6
  236. package/components/svg/IconSeedBank.js +8 -6
  237. package/components/svg/IconSeedling.js +8 -6
  238. package/components/svg/IconSettings.js +8 -6
  239. package/components/svg/IconSlice.js +8 -6
  240. package/components/svg/IconSubmit.js +8 -6
  241. package/components/svg/IconSubtract.js +8 -6
  242. package/components/svg/IconSynced.js +8 -6
  243. package/components/svg/IconTrashCan.js +8 -6
  244. package/components/svg/IconTreasureMap.js +8 -6
  245. package/components/svg/IconUnavailable.js +8 -6
  246. package/components/svg/IconUndo.js +8 -6
  247. package/components/svg/IconVariable.js +8 -6
  248. package/components/svg/IconVideo.js +9 -7
  249. package/components/svg/IconWifi.js +8 -6
  250. package/components/svg/Info.js +8 -6
  251. package/components/svg/Key.js +8 -6
  252. package/components/svg/Leaf.js +8 -6
  253. package/components/svg/Lock.js +8 -6
  254. package/components/svg/Logo.js +16 -14
  255. package/components/svg/MenuVertical.js +8 -6
  256. package/components/svg/Notification.js +8 -6
  257. package/components/svg/Person.js +8 -6
  258. package/components/svg/Plus.js +8 -6
  259. package/components/svg/RestorationSite.js +8 -6
  260. package/components/svg/Search.js +8 -6
  261. package/components/svg/Seeds.js +8 -6
  262. package/components/svg/Site.js +8 -6
  263. package/components/svg/Sparkles.js +8 -6
  264. package/components/svg/Species.js +8 -6
  265. package/components/svg/Species2.js +41 -39
  266. package/components/svg/Spinner.js +16 -14
  267. package/components/svg/Star.js +8 -6
  268. package/components/svg/Success.js +8 -6
  269. package/components/svg/SuccessFilled.js +8 -6
  270. package/components/svg/TerrawareLogoDesktop.js +17 -15
  271. package/components/svg/TerrawareLogoMobile.js +9 -7
  272. package/components/svg/Touchscreen.js +8 -6
  273. package/components/svg/UploadCloud.js +41 -39
  274. package/components/svg/Warning.js +8 -6
  275. package/components/svg/WelcomeClipboard.js +32 -30
  276. package/components/svg/index.js +127 -127
  277. package/components/table/EnhancedTableToolbar.js +18 -15
  278. package/components/table/EnhancedTableToolbarV2.js +8 -6
  279. package/components/table/TableCellRenderer.js +37 -32
  280. package/components/table/TableHeader.js +17 -14
  281. package/components/table/TableHeaderItem.js +18 -15
  282. package/components/table/density.js +5 -3
  283. package/components/table/index.js +40 -37
  284. package/components/table/sort.js +6 -4
  285. package/components/table/types.js +1 -1
  286. package/components/types/index.js +1 -1
  287. package/hooks/useBoolean.js +4 -2
  288. package/hooks/useCameraPosition.js +5 -2
  289. package/hooks/useDevicePerformance.js +6 -3
  290. package/hooks/useXr.js +6 -4
  291. package/index.js +55 -58
  292. package/package.json +6 -2
  293. package/style-dictionary-dist/TerrawareTheme.js +2 -1
  294. package/theme.js +5 -2
  295. package/utils/color.js +5 -2
  296. package/utils/date.js +7 -6
  297. package/utils/index.js +4 -5
  298. package/utils/preventDefaultEvent.js +2 -1
  299. package/utils/text.js +3 -2
  300. package/utils/useDeviceInfo.js +2 -1
  301. package/virtualWalkthrough.js +23 -31
  302. package/components/Button/button.test.js +0 -23
  303. package/components/MultiSelect/MultiSelect.test.js +0 -73
  304. package/components/VirtualWalkthrough/TfXrNavigation.test.js +0 -110
  305. package/components/VirtualWalkthrough/boundary-ring.test.js +0 -109
  306. package/components/VirtualWalkthrough/boundary-wall.test.js +0 -203
  307. package/components/VirtualWalkthrough/groundPlane.test.js +0 -45
  308. package/components/VirtualWalkthrough/splatFormat.test.js +0 -51
  309. package/components/VirtualWalkthrough/vr-annotation-panel-layout.test.js +0 -26
  310. package/components/VirtualWalkthrough/xr-annotation-targeting.test.js +0 -66
  311. package/components/VirtualWalkthrough/xr-button-arming.test.js +0 -35
  312. package/components/VirtualWalkthrough/xr-button-hold.test.js +0 -57
  313. package/components/VirtualWalkthrough/xr-exit-button.test.js +0 -23
  314. package/components/VirtualWalkthrough/xr-face-buttons.test.js +0 -82
  315. package/components/VirtualWalkthrough/xr-gaze-dwell-state.test.js +0 -61
  316. package/components/VirtualWalkthrough/xr-interactive-ui.test.js +0 -165
  317. package/components/VirtualWalkthrough/xr-progress-pie.test.js +0 -79
  318. package/components/VirtualWalkthrough/xr-ray-quad.test.js +0 -37
  319. package/components/VirtualWalkthrough/xr-scene-bounds.test.js +0 -70
  320. package/components/VirtualWalkthrough/xr-teleport-gesture.test.js +0 -90
  321. package/components/table/sort.test.js +0 -35
  322. package/utils/date.test.js +0 -84
  323. package/utils/text.test.js +0 -21
@@ -1,14 +1,16 @@
1
- import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
1
+ import { useState, useRef, useMemo, useCallback, useEffect } from 'react';
2
2
  import { Box } from '@mui/material';
3
3
  import classNames from 'classnames';
4
- import { isWhitespaces } from '../../utils';
5
- import Icon from '../Icon/Icon';
6
- import IconTooltip from '../IconTooltip';
4
+ import 'lodash';
5
+ import 'luxon';
6
+ import isWhitespaces from '../../utils/text.js';
7
+ import 'react-responsive';
8
+ import Icon from '../Icon/Icon.js';
9
+ import IconTooltip from '../IconTooltip/index.js';
7
10
  import './styles.scss';
11
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
8
12
 
9
- // Styles for overriding select dropdown
10
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
11
- export default function SelectT(props) {
13
+ function SelectT(props) {
12
14
  const {
13
15
  className,
14
16
  disabled,
@@ -171,24 +173,24 @@ export default function SelectT(props) {
171
173
  }
172
174
  }
173
175
  };
174
- return /*#__PURE__*/_jsxs(Box, {
176
+ return /*#__PURE__*/jsxs(Box, {
175
177
  className: `select ${className}`,
176
178
  sx: sx,
177
- children: [label && /*#__PURE__*/_jsxs("label", {
179
+ children: [label && /*#__PURE__*/jsxs("label", {
178
180
  htmlFor: id,
179
181
  className: "textfield-label",
180
- children: [label, " ", required ? '*' : '', " ", tooltipTitle && /*#__PURE__*/_jsx(IconTooltip, {
182
+ children: [label, " ", required ? '*' : '', " ", tooltipTitle && /*#__PURE__*/jsx(IconTooltip, {
181
183
  title: tooltipTitle
182
184
  })]
183
- }), /*#__PURE__*/_jsxs("div", {
185
+ }), /*#__PURE__*/jsxs("div", {
184
186
  className: `textfield-container ${fullWidth ? 'textfield-container--fullWidth' : ''}`,
185
- children: [/*#__PURE__*/_jsxs("div", {
187
+ children: [/*#__PURE__*/jsxs("div", {
186
188
  id: id,
187
189
  className: selectClass,
188
190
  onClick: toggleOptions,
189
191
  ref: inputRef,
190
192
  style: (selectStyles || {}).inputContainer,
191
- children: [/*#__PURE__*/_jsx("input", {
193
+ children: [/*#__PURE__*/jsx("input", {
192
194
  ref: textFieldRef,
193
195
  value: displayLabel(selectedValue),
194
196
  readOnly: !editable || readonly,
@@ -199,20 +201,20 @@ export default function SelectT(props) {
199
201
  onFocus: onFocus,
200
202
  required: required,
201
203
  style: (selectStyles || {}).input
202
- }), !hideArrow && /*#__PURE__*/_jsx(Icon, {
204
+ }), !hideArrow && /*#__PURE__*/jsx(Icon, {
203
205
  name: 'chevronDown',
204
206
  className: "textfield-value--icon-right",
205
207
  style: (selectStyles || {}).arrow
206
208
  })]
207
- }), options && options.length > 0 && openedOptions && /*#__PURE__*/_jsxs(_Fragment, {
208
- children: [fixedMenu && /*#__PURE__*/_jsx("div", {
209
+ }), options && options.length > 0 && openedOptions && /*#__PURE__*/jsxs(Fragment, {
210
+ children: [fixedMenu && /*#__PURE__*/jsx("div", {
209
211
  className: "scroll-block"
210
- }), /*#__PURE__*/_jsx("ul", {
212
+ }), /*#__PURE__*/jsx("ul", {
211
213
  className: 'options-container' + (fixedMenu ? ' fixed-menu' : '') + (fixedMenuPositioned ? ' positioned' : ''),
212
214
  ref: dropdownRef,
213
215
  style: (selectStyles || {}).optionsContainer,
214
216
  children: options.map((option, index) => {
215
- return /*#__PURE__*/_jsx("li", {
217
+ return /*#__PURE__*/jsx("li", {
216
218
  "data-key": displayLabel(option).charAt(0).toUpperCase(),
217
219
  "data-selected": selectedIndex === index,
218
220
  onClick: () => !readonly ? onOptionSelected(option, index) : undefined,
@@ -223,30 +225,32 @@ export default function SelectT(props) {
223
225
  })
224
226
  })]
225
227
  })]
226
- }), errorText && /*#__PURE__*/_jsxs("div", {
228
+ }), errorText && /*#__PURE__*/jsxs("div", {
227
229
  className: "textfield-label-container",
228
- children: [/*#__PURE__*/_jsx(Icon, {
230
+ children: [/*#__PURE__*/jsx(Icon, {
229
231
  name: "error",
230
232
  className: "textfield-error-text--icon"
231
- }), /*#__PURE__*/_jsx("label", {
233
+ }), /*#__PURE__*/jsx("label", {
232
234
  htmlFor: id,
233
235
  className: "textfield-error-text",
234
236
  children: errorText
235
237
  })]
236
- }), warningText && /*#__PURE__*/_jsxs("div", {
238
+ }), warningText && /*#__PURE__*/jsxs("div", {
237
239
  className: "textfield-label-container",
238
- children: [/*#__PURE__*/_jsx(Icon, {
240
+ children: [/*#__PURE__*/jsx(Icon, {
239
241
  name: "warning",
240
242
  className: "textfield-warning-text--icon"
241
- }), /*#__PURE__*/_jsx("label", {
243
+ }), /*#__PURE__*/jsx("label", {
242
244
  htmlFor: id,
243
245
  className: "textfield-warning-text",
244
246
  children: warningText
245
247
  })]
246
- }), helperText && /*#__PURE__*/_jsx("label", {
248
+ }), helperText && /*#__PURE__*/jsx("label", {
247
249
  htmlFor: id,
248
250
  className: "textfield-help-text",
249
251
  children: helperText
250
252
  })]
251
253
  });
252
- }
254
+ }
255
+
256
+ export { SelectT as default };
@@ -1,9 +1,10 @@
1
- import React from 'react';
1
+ import 'react';
2
2
  import { Box } from '@mui/material';
3
- import theme from '../../theme';
4
- import { jsx as _jsx } from "react/jsx-runtime";
3
+ import theme from '../../theme.js';
4
+ import { jsx } from 'react/jsx-runtime';
5
+
5
6
  const Separator = props => {
6
- return /*#__PURE__*/_jsx(Box, {
7
+ return /*#__PURE__*/jsx(Box, {
7
8
  sx: {
8
9
  margin: theme.spacing(0, 2),
9
10
  width: '1px',
@@ -12,4 +13,5 @@ const Separator = props => {
12
13
  }
13
14
  });
14
15
  };
15
- export default Separator;
16
+
17
+ export { Separator as default };
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,7 +1,8 @@
1
- import React from 'react';
2
- import { Slider as MuiSlider, useTheme } from '@mui/material';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- export default function Slider(props) {
1
+ import 'react';
2
+ import { useTheme, Slider as Slider$1 } from '@mui/material';
3
+ import { jsx } from 'react/jsx-runtime';
4
+
5
+ function Slider(props) {
5
6
  const {
6
7
  defaultValue,
7
8
  value,
@@ -39,7 +40,7 @@ export default function Slider(props) {
39
40
  onChange(val);
40
41
  }
41
42
  };
42
- return /*#__PURE__*/_jsx(MuiSlider, {
43
+ return /*#__PURE__*/jsx(Slider$1, {
43
44
  "aria-label": "Slider",
44
45
  defaultValue: defaultValue,
45
46
  value: value,
@@ -51,4 +52,6 @@ export default function Slider(props) {
51
52
  valueLabelDisplay: valueLabelDisplay,
52
53
  sx: sliderStyles
53
54
  });
54
- }
55
+ }
56
+
57
+ export { Slider as default };
@@ -1,8 +1,9 @@
1
- import React, { useMemo } from 'react';
1
+ import { useMemo } from 'react';
2
2
  import { Info } from '@mui/icons-material';
3
- import { Box, IconButton, Typography, useTheme } from '@mui/material';
4
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
- export default function SummaryBox({
3
+ import { useTheme, Box, IconButton, Typography } from '@mui/material';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+
6
+ function SummaryBox({
6
7
  title,
7
8
  value,
8
9
  variant = 'default',
@@ -44,20 +45,20 @@ export default function SummaryBox({
44
45
  };
45
46
  }
46
47
  }, [theme, variant]);
47
- return /*#__PURE__*/_jsxs(Box, {
48
+ return /*#__PURE__*/jsxs(Box, {
48
49
  id: id,
49
50
  sx: summaryBoxStyles,
50
- children: [icon && /*#__PURE__*/_jsx(IconButton, {
51
+ children: [icon && /*#__PURE__*/jsx(IconButton, {
51
52
  onClick: onIconClick,
52
53
  sx: {
53
54
  position: 'absolute',
54
55
  right: theme.spacing(2)
55
56
  },
56
- children: /*#__PURE__*/_jsx(Info, {})
57
- }), /*#__PURE__*/_jsx(Typography, {
57
+ children: /*#__PURE__*/jsx(Info, {})
58
+ }), /*#__PURE__*/jsx(Typography, {
58
59
  component: "p",
59
60
  children: title
60
- }), /*#__PURE__*/_jsx(Typography, {
61
+ }), /*#__PURE__*/jsx(Typography, {
61
62
  component: "p",
62
63
  variant: "h6",
63
64
  sx: {
@@ -67,4 +68,6 @@ export default function SummaryBox({
67
68
  children: value
68
69
  })]
69
70
  });
70
- }
71
+ }
72
+
73
+ export { SummaryBox as default };
@@ -1,9 +1,12 @@
1
- import React, { useEffect, useMemo, useState } from 'react';
1
+ import { useState, useEffect, useMemo } from 'react';
2
2
  import { TabContext, TabList, TabPanel } from '@mui/lab';
3
- import { Box, Tab as MuiTab, Tooltip, useTheme } from '@mui/material';
4
- import { useDeviceInfo } from '../../utils';
5
- import Icon from '../Icon/Icon';
6
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useTheme, Tab, Tooltip, Box } from '@mui/material';
4
+ import 'lodash';
5
+ import 'luxon';
6
+ import useDeviceInfo from '../../utils/useDeviceInfo.js';
7
+ import Icon from '../Icon/Icon.js';
8
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
9
+
7
10
  const Tabs = ({
8
11
  activeTab,
9
12
  children,
@@ -67,17 +70,17 @@ const Tabs = ({
67
70
  }
68
71
  }, [activeTab]);
69
72
  const renderedTabs = useMemo(() => tabs.map((tab, index) => {
70
- const muiTab = /*#__PURE__*/_jsx(MuiTab, {
73
+ const muiTab = /*#__PURE__*/jsx(Tab, {
71
74
  disabled: tab.disabled,
72
- icon: tab.icon ? /*#__PURE__*/_jsx(Icon, {
75
+ icon: tab.icon ? /*#__PURE__*/jsx(Icon, {
73
76
  name: tab.icon
74
77
  }) : undefined,
75
- label: /*#__PURE__*/_jsxs(_Fragment, {
76
- children: [tab.label, tab.tooltip && !tab.disabled && /*#__PURE__*/_jsx(Tooltip, {
78
+ label: /*#__PURE__*/jsxs(Fragment, {
79
+ children: [tab.label, tab.tooltip && !tab.disabled && /*#__PURE__*/jsx(Tooltip, {
77
80
  title: tab.tooltip,
78
81
  arrow: true,
79
82
  placement: "top-start",
80
- children: /*#__PURE__*/_jsx("span", {
83
+ children: /*#__PURE__*/jsx("span", {
81
84
  style: {
82
85
  position: 'absolute',
83
86
  inset: 0
@@ -88,11 +91,11 @@ const Tabs = ({
88
91
  sx: tabStyles,
89
92
  value: tab.id
90
93
  }, index);
91
- return tab.disabled ? /*#__PURE__*/_jsx(Tooltip, {
94
+ return tab.disabled ? /*#__PURE__*/jsx(Tooltip, {
92
95
  title: tab.tooltip,
93
96
  arrow: true,
94
97
  placement: "top-start",
95
- children: /*#__PURE__*/_jsx("span", {
98
+ children: /*#__PURE__*/jsx("span", {
96
99
  style: {
97
100
  display: 'inline-flex'
98
101
  },
@@ -100,17 +103,17 @@ const Tabs = ({
100
103
  })
101
104
  }, index) : muiTab;
102
105
  }), [tabs]);
103
- return /*#__PURE__*/_jsx(Box, {
106
+ return /*#__PURE__*/jsx(Box, {
104
107
  sx: {
105
108
  width: '100%',
106
109
  ...sx
107
110
  },
108
- children: /*#__PURE__*/_jsxs(TabContext, {
111
+ children: /*#__PURE__*/jsxs(TabContext, {
109
112
  value: selectedTab,
110
- children: [/*#__PURE__*/_jsx(Box, {
113
+ children: [/*#__PURE__*/jsx(Box, {
111
114
  sx: tabHeaderProps,
112
115
  className: "tab-header",
113
- children: /*#__PURE__*/_jsx(TabList, {
116
+ children: /*#__PURE__*/jsx(TabList, {
114
117
  onChange: (unused, value) => setTab(value),
115
118
  sx: {
116
119
  minHeight: theme.spacing(4.5)
@@ -124,7 +127,7 @@ const Tabs = ({
124
127
  variant: 'scrollable',
125
128
  children: renderedTabs
126
129
  })
127
- }), children, tabs.map((tab, index) => /*#__PURE__*/_jsx(TabPanel, {
130
+ }), children, tabs.map((tab, index) => /*#__PURE__*/jsx(TabPanel, {
128
131
  sx: tabPanelStyles,
129
132
  value: tab.id,
130
133
  children: tab.children
@@ -132,4 +135,5 @@ const Tabs = ({
132
135
  })
133
136
  });
134
137
  };
135
- export default Tabs;
138
+
139
+ export { Tabs as default };
@@ -1,16 +1,7 @@
1
- import React, { useEffect, useMemo, useState } from 'react';
2
- import { Link, Tooltip, Typography, useTheme } from '@mui/material';
1
+ import { useState, useEffect, useMemo } from 'react';
2
+ import { useTheme, Typography, Tooltip, Link } from '@mui/material';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
4
 
4
- /**
5
- * Represents the result of truncating the string list
6
- * text: the text to display before the '...# more' link
7
- * numberMore: the number to display in the '...# more' link
8
- * has two special values
9
- * 0: the full text can be displayed; do not show '...# more'
10
- * -1: the list is of length one but the element cannot be fully
11
- * displayed. show '...more' without a '#'
12
- */
13
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
5
  /**
15
6
  * Compute TextDisplay for a list of strings
16
7
  * @param strings list of strings to process
@@ -47,7 +38,7 @@ function computeFromStringList(strings, maxLength, listSeparator) {
47
38
  numberMore: stringsRemaining
48
39
  };
49
40
  }
50
- export default function TextTruncated(props) {
41
+ function TextTruncated(props) {
51
42
  const {
52
43
  stringList,
53
44
  listSeparator,
@@ -87,13 +78,13 @@ export default function TextTruncated(props) {
87
78
  e.stopPropagation();
88
79
  setShowAllOpen(!showAllOpen);
89
80
  };
90
- return stringList.length > 0 ? /*#__PURE__*/_jsxs(Typography, {
81
+ return stringList.length > 0 ? /*#__PURE__*/jsxs(Typography, {
91
82
  sx: textStyle,
92
- children: [textToDisplay.text, textToDisplay.numberMore !== 0 && moreText ? moreSeparator : '', textToDisplay.numberMore !== 0 ? /*#__PURE__*/_jsx(Tooltip, {
83
+ children: [textToDisplay.text, textToDisplay.numberMore !== 0 && moreText ? moreSeparator : '', textToDisplay.numberMore !== 0 ? /*#__PURE__*/jsx(Tooltip, {
93
84
  arrow: true,
94
85
  open: moreText ? showAllOpen : undefined,
95
86
  enterDelay: moreText ? 0 : 400,
96
- title: /*#__PURE__*/_jsx(Typography, {
87
+ title: /*#__PURE__*/jsx(Typography, {
97
88
  sx: showAllStyle,
98
89
  fontSize: "14px",
99
90
  children: stringList.join(listSeparator)
@@ -118,7 +109,7 @@ export default function TextTruncated(props) {
118
109
  padding: '8px'
119
110
  }
120
111
  },
121
- children: moreText ? /*#__PURE__*/_jsx(Link, {
112
+ children: moreText ? /*#__PURE__*/jsx(Link, {
122
113
  component: "button",
123
114
  onClick: onClickHandler,
124
115
  onBlur: () => setShowAllOpen(false),
@@ -126,14 +117,14 @@ export default function TextTruncated(props) {
126
117
  color: theme.palette.TwClrTxtBrand,
127
118
  textDecorationColor: `${theme.palette.TwClrTxtBrand}80`
128
119
  },
129
- children: /*#__PURE__*/_jsx(Typography, {
120
+ children: /*#__PURE__*/jsx(Typography, {
130
121
  sx: {
131
122
  ...textStyle,
132
123
  marginTop: '-3px'
133
124
  },
134
125
  children: (textToDisplay.numberMore > 0 ? textToDisplay.numberMore + ' ' : '') + moreText
135
126
  })
136
- }) : /*#__PURE__*/_jsx(Typography, {
127
+ }) : /*#__PURE__*/jsx(Typography, {
137
128
  sx: {
138
129
  ...textStyle,
139
130
  display: 'inline'
@@ -142,4 +133,6 @@ export default function TextTruncated(props) {
142
133
  })
143
134
  }) : null]
144
135
  }) : placeHolder || null;
145
- }
136
+ }
137
+
138
+ export { TextTruncated as default };
@@ -1,14 +1,18 @@
1
- import React, { useMemo } from 'react';
1
+ import { useMemo } from 'react';
2
2
  import { Box } from '@mui/material';
3
3
  import classNames from 'classnames';
4
- import { isWhitespaces } from '../../utils';
5
- import Icon from '../Icon/Icon';
6
- import IconTooltip from '../IconTooltip';
7
- import Markdown from '../Markdown';
8
- import TruncatedTextArea from './TruncatedTextArea';
4
+ import 'lodash';
5
+ import 'luxon';
6
+ import isWhitespaces from '../../utils/text.js';
7
+ import 'react-responsive';
8
+ import Icon from '../Icon/Icon.js';
9
+ import IconTooltip from '../IconTooltip/index.js';
10
+ import Markdown from '../Markdown/index.js';
11
+ import TruncatedTextArea from './TruncatedTextArea.js';
9
12
  import './styles.scss';
10
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
- export default function TextField(props) {
13
+ import { jsx, jsxs } from 'react/jsx-runtime';
14
+
15
+ function TextField(props) {
12
16
  const {
13
17
  autoFocus,
14
18
  label,
@@ -78,10 +82,10 @@ export default function TextField(props) {
78
82
  if (iconRight === 'cancel' && !value) {
79
83
  return null;
80
84
  }
81
- return /*#__PURE__*/_jsx("button", {
85
+ return /*#__PURE__*/jsx("button", {
82
86
  onClick: onClickRightIcon,
83
87
  className: "textfield-value--icon-container",
84
- children: /*#__PURE__*/_jsx(Icon, {
88
+ children: /*#__PURE__*/jsx(Icon, {
85
89
  name: iconRight,
86
90
  className: `textfield-value--icon-right${iconRight === 'cancel' ? '--cancel' : ''}`
87
91
  })
@@ -102,15 +106,15 @@ export default function TextField(props) {
102
106
  if (!display || value === undefined) {
103
107
  return null;
104
108
  }
105
- const component = markdown ? /*#__PURE__*/_jsx(Markdown, {
109
+ const component = markdown ? /*#__PURE__*/jsx(Markdown, {
106
110
  value: value.toString(),
107
111
  style: styles?.markdown
108
- }) : /*#__PURE__*/_jsx("p", {
112
+ }) : /*#__PURE__*/jsx("p", {
109
113
  className: `textfield-value--display${preserveNewlines ? ' preserve-newlines' : ''}`,
110
114
  children: value
111
115
  });
112
116
  if (type === 'textarea' && truncateConfig) {
113
- return /*#__PURE__*/_jsx(TruncatedTextArea, {
117
+ return /*#__PURE__*/jsx(TruncatedTextArea, {
114
118
  truncateConfig: truncateConfig,
115
119
  children: component
116
120
  });
@@ -118,23 +122,23 @@ export default function TextField(props) {
118
122
  return component;
119
123
  }
120
124
  }, [display, markdown, preserveNewlines, styles, truncateConfig, type, value]);
121
- return /*#__PURE__*/_jsxs(Box, {
125
+ return /*#__PURE__*/jsxs(Box, {
122
126
  className: `textfield ${className}`,
123
127
  sx: sx,
124
- children: [/*#__PURE__*/_jsxs("label", {
128
+ children: [/*#__PURE__*/jsxs("label", {
125
129
  htmlFor: id,
126
130
  className: "textfield-label",
127
- children: [required && label ? `${label} *` : label, tooltipTitle && /*#__PURE__*/_jsx(IconTooltip, {
131
+ children: [required && label ? `${label} *` : label, tooltipTitle && /*#__PURE__*/jsx(IconTooltip, {
128
132
  placement: "top",
129
133
  title: tooltipTitle
130
134
  })]
131
- }), !display && (type === 'text' || type === 'number' ? /*#__PURE__*/_jsxs("div", {
135
+ }), !display && (type === 'text' || type === 'number' ? /*#__PURE__*/jsxs("div", {
132
136
  id: id,
133
137
  className: textfieldClass,
134
- children: [iconLeft && /*#__PURE__*/_jsx(Icon, {
138
+ children: [iconLeft && /*#__PURE__*/jsx(Icon, {
135
139
  name: iconLeft,
136
140
  className: "textfield-value--icon-left"
137
- }), /*#__PURE__*/_jsx("input", {
141
+ }), /*#__PURE__*/jsx("input", {
138
142
  autoFocus: autoFocus,
139
143
  value: type === 'number' ? value : value || '',
140
144
  disabled: readonly || disabled,
@@ -148,7 +152,7 @@ export default function TextField(props) {
148
152
  maxLength: maxLength,
149
153
  ...typeProps
150
154
  }), iconRight ? renderRightIcon() : null]
151
- }) : /*#__PURE__*/_jsx("textarea", {
155
+ }) : /*#__PURE__*/jsx("textarea", {
152
156
  autoFocus: autoFocus,
153
157
  className: textfieldClass,
154
158
  value: value,
@@ -160,30 +164,32 @@ export default function TextField(props) {
160
164
  required: required,
161
165
  maxLength: maxLength,
162
166
  style: (styles || {}).textarea
163
- })), displayComponent, errorText && /*#__PURE__*/_jsxs("div", {
167
+ })), displayComponent, errorText && /*#__PURE__*/jsxs("div", {
164
168
  className: "textfield-label-container",
165
- children: [/*#__PURE__*/_jsx(Icon, {
169
+ children: [/*#__PURE__*/jsx(Icon, {
166
170
  name: "error",
167
171
  className: "textfield-error-text--icon"
168
- }), /*#__PURE__*/_jsx("label", {
172
+ }), /*#__PURE__*/jsx("label", {
169
173
  htmlFor: id,
170
174
  className: "textfield-error-text",
171
175
  children: errorText
172
176
  })]
173
- }), warningText && /*#__PURE__*/_jsxs("div", {
177
+ }), warningText && /*#__PURE__*/jsxs("div", {
174
178
  className: "textfield-label-container",
175
- children: [/*#__PURE__*/_jsx(Icon, {
179
+ children: [/*#__PURE__*/jsx(Icon, {
176
180
  name: "warning",
177
181
  className: "textfield-warning-text--icon"
178
- }), /*#__PURE__*/_jsx("label", {
182
+ }), /*#__PURE__*/jsx("label", {
179
183
  htmlFor: id,
180
184
  className: "textfield-warning-text",
181
185
  children: warningText
182
186
  })]
183
- }), helperText && /*#__PURE__*/_jsx("label", {
187
+ }), helperText && /*#__PURE__*/jsx("label", {
184
188
  htmlFor: id,
185
189
  className: "textfield-help-text",
186
190
  children: helperText
187
191
  })]
188
192
  });
189
- }
193
+ }
194
+
195
+ export { TextField as default };
@@ -1,7 +1,8 @@
1
- import React, { useEffect, useRef, useState } from 'react';
2
- import { Link, Typography, useTheme } from '@mui/material';
1
+ import { useState, useRef, useEffect } from 'react';
2
+ import { useTheme, Link, Typography } from '@mui/material';
3
3
  import './styles.scss';
4
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
4
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
5
+
5
6
  const TruncatedTextArea = ({
6
7
  truncateConfig,
7
8
  children
@@ -47,22 +48,22 @@ const TruncatedTextArea = ({
47
48
  if (needsTruncating && !showAll) {
48
49
  containerStyle.maxHeight = `${maxHeight}px`;
49
50
  }
50
- return /*#__PURE__*/_jsxs(_Fragment, {
51
- children: [/*#__PURE__*/_jsx("div", {
51
+ return /*#__PURE__*/jsxs(Fragment, {
52
+ children: [/*#__PURE__*/jsx("div", {
52
53
  style: containerStyle,
53
- children: /*#__PURE__*/_jsx("div", {
54
+ children: /*#__PURE__*/jsx("div", {
54
55
  ref: contentRef,
55
56
  style: {
56
57
  display: 'flow-root'
57
58
  },
58
59
  children: children
59
60
  })
60
- }), needsTruncating && /*#__PURE__*/_jsx("div", {
61
+ }), needsTruncating && /*#__PURE__*/jsx("div", {
61
62
  style: {
62
63
  width: '100%',
63
64
  textAlign: alignment
64
65
  },
65
- children: /*#__PURE__*/_jsx(Link, {
66
+ children: /*#__PURE__*/jsx(Link, {
66
67
  component: "button",
67
68
  onClick: toggleShowAll,
68
69
  onBlur: collapseOnBlur ? () => setShowAll(false) : undefined,
@@ -70,7 +71,7 @@ const TruncatedTextArea = ({
70
71
  color: theme.palette.TwClrTxtBrand,
71
72
  textDecorationColor: `${theme.palette.TwClrTxtBrand}80`
72
73
  },
73
- children: /*#__PURE__*/_jsx(Typography, {
74
+ children: /*#__PURE__*/jsx(Typography, {
74
75
  sx: {
75
76
  ...showTextStyle,
76
77
  marginTop: '-3px'
@@ -81,4 +82,5 @@ const TruncatedTextArea = ({
81
82
  })]
82
83
  });
83
84
  };
84
- export default TruncatedTextArea;
85
+
86
+ export { TruncatedTextArea as default };
@@ -1,6 +1,7 @@
1
- import React from 'react';
1
+ import 'react';
2
2
  import './styles.scss';
3
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
4
5
  const TimelineMarker = ({
5
6
  color,
6
7
  labelBottom,
@@ -10,20 +11,21 @@ const TimelineMarker = ({
10
11
  value
11
12
  }) => {
12
13
  const clampedValue = Math.min(1, Math.max(0, value));
13
- return /*#__PURE__*/_jsxs("div", {
14
+ return /*#__PURE__*/jsxs("div", {
14
15
  className: `timeline-marker timeline-marker--${size} ${onClick ? 'timeline-marker--clickable' : ''}`,
15
16
  style: {
16
17
  left: `${clampedValue * 100}%`,
17
18
  backgroundColor: color
18
19
  },
19
20
  onClick: onClick,
20
- children: [labelTop && /*#__PURE__*/_jsx("div", {
21
+ children: [labelTop && /*#__PURE__*/jsx("div", {
21
22
  className: "timeline-marker__label timeline-marker__label--top",
22
23
  children: labelTop
23
- }), labelBottom && /*#__PURE__*/_jsx("div", {
24
+ }), labelBottom && /*#__PURE__*/jsx("div", {
24
25
  className: "timeline-marker__label timeline-marker__label--bottom",
25
26
  children: labelBottom
26
27
  })]
27
28
  });
28
29
  };
29
- export default TimelineMarker;
30
+
31
+ export { TimelineMarker as default };
@@ -1,9 +1,11 @@
1
- import React from 'react';
1
+ import 'react';
2
2
  import './styles.scss';
3
- import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { jsx } from 'react/jsx-runtime';
4
+
4
5
  const TimelineRail = () => {
5
- return /*#__PURE__*/_jsx("div", {
6
+ return /*#__PURE__*/jsx("div", {
6
7
  className: "timeline-rail"
7
8
  });
8
9
  };
9
- export default TimelineRail;
10
+
11
+ export { TimelineRail as default };