@tmlmobilidade/ui 20250402.1655.51 → 20250403.1158.22

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/index.d.ts CHANGED
@@ -379,6 +379,11 @@ interface CollapsibleProps {
379
379
  }
380
380
  declare function Collapsible({ children, classNames, description, icon, title, titleAs }: CollapsibleProps): react_jsx_runtime.JSX.Element;
381
381
 
382
+ interface DividerProps {
383
+ orientation?: 'horizontal' | 'vertical';
384
+ }
385
+ declare function Divider({ orientation }: DividerProps): react_jsx_runtime.JSX.Element;
386
+
382
387
  interface PaneProps {
383
388
  /**
384
389
  * A set of or a single React component to be rendered inside
@@ -692,5 +697,5 @@ declare const getBaseGeoJsonFeatureLineString: () => GeoJSON.Feature<GeoJSON.Lin
692
697
  */
693
698
  declare const getBaseGeoJsonFeatureCollection: () => GeoJSON.FeatureCollection<GeoJSON.LineString | GeoJSON.Point, GeoJSON.GeoJsonProperties>;
694
699
 
695
- export { AVAILABLE_THEMES, ActionIcon, AppProvider, AppWrapper, Badge, Button, CMIcon, CMLogo, Checkbox, Collapsible, ComboboxComponent as Combobox, ComponentWrapper, DataTable, DateTimePicker, DeleteActionIcon, Description, FileButton, Grid, Label, MapOptionsContextProvider, MapView, MapViewStyleActiveStops, MapViewStyleActiveStopsInteractiveLayerId, MapViewStyleActiveStopsPrimaryLayerId, MapViewStylePath, MapViewStylePathInteractiveLayerId, MapViewStylePathPrimaryLayerId, MapViewStyleStops, MapViewStyleStopsInteractiveLayerId, MapViewStyleStopsPrimaryLayerId, MapViewStyleVehicles, MapViewStyleVehiclesInteractiveLayerId, MapViewStyleVehiclesPrimaryLayerId, MeContextProvider, Menu, Pane, PanesManager, PasswordInput, Section, SegmentedControl, Sidebar, SidebarContextProvider, SidebarItem, Slider, Spacer, Surface, Switch, TMLogo, TMLogoDark, TMLogoLight, Tag, Text, Component$1 as TextArea, Component as TextInput, ThemeContextProvider, ThemeDark, ThemeLight, ThemeSwitcher, Themer, Tooltip, centerMap, getBaseGeoJsonFeatureCollection, getBaseGeoJsonFeatureLineString, moveMap, useIsActiveDomain, useIsActivePage, useMapOptionsContext, useMeContext, useScreenSize, useSearchQuery, useSidebarContext, useThemeContext, useToast };
700
+ export { AVAILABLE_THEMES, ActionIcon, AppProvider, AppWrapper, Badge, Button, CMIcon, CMLogo, Checkbox, Collapsible, ComboboxComponent as Combobox, ComponentWrapper, DataTable, DateTimePicker, DeleteActionIcon, Description, Divider, FileButton, Grid, Label, MapOptionsContextProvider, MapView, MapViewStyleActiveStops, MapViewStyleActiveStopsInteractiveLayerId, MapViewStyleActiveStopsPrimaryLayerId, MapViewStylePath, MapViewStylePathInteractiveLayerId, MapViewStylePathPrimaryLayerId, MapViewStyleStops, MapViewStyleStopsInteractiveLayerId, MapViewStyleStopsPrimaryLayerId, MapViewStyleVehicles, MapViewStyleVehiclesInteractiveLayerId, MapViewStyleVehiclesPrimaryLayerId, MeContextProvider, Menu, Pane, PanesManager, PasswordInput, Section, SegmentedControl, Sidebar, SidebarContextProvider, SidebarItem, Slider, Spacer, Surface, Switch, TMLogo, TMLogoDark, TMLogoLight, Tag, Text, Component$1 as TextArea, Component as TextInput, ThemeContextProvider, ThemeDark, ThemeLight, ThemeSwitcher, Themer, Tooltip, centerMap, getBaseGeoJsonFeatureCollection, getBaseGeoJsonFeatureLineString, moveMap, useIsActiveDomain, useIsActivePage, useMapOptionsContext, useMeContext, useScreenSize, useSearchQuery, useSidebarContext, useThemeContext, useToast };
696
701
  export type { DataItem, DataTableColumn, DataTableProps, DataTableSearchProps, MapStyle, SidebarItemProps, ToastPromiseParams, ToastProps };
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ export { DataTable } from './src/components/datatable/DataTable/index.js';
26
26
  export { default as Grid } from './src/components/layout/Grid/index.js';
27
27
  export { AppWrapper } from './src/components/layout/AppWrapper/index.js';
28
28
  export { Collapsible } from './src/components/layout/Collapsible/index.js';
29
+ export { Divider } from './src/components/layout/Divider/index.js';
29
30
  export { Pane } from './src/components/layout/Pane/index.js';
30
31
  export { PanesManager } from './src/components/layout/PanesManager/index.js';
31
32
  export { Section } from './src/components/layout/Section/index.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,10 @@
1
+ import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
2
+ import styles from './styles.module.css.js';
3
+
4
+ /* * */
5
+ function Divider({ orientation = 'horizontal' }) {
6
+ return jsxRuntimeExports.jsx("div", { className: styles.container, "data-orientation": orientation });
7
+ }
8
+
9
+ export { Divider };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/layout/Divider/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;AAUA;SAEgB,OAAO,CAAC,EAAE,WAAW,GAAG,YAAY,EAAgB,EAAA;IACnE,OAAOA,qBAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,SAAS,EAAA,kBAAA,EAAoB,WAAW,EAAA,CAAI;AAC3E;;;;"}
@@ -0,0 +1,4 @@
1
+ var styles = {"container":"styles-module_container__dJH41"};
2
+
3
+ export { styles as default };
4
+ //# sourceMappingURL=styles.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -10033,6 +10033,27 @@ breakpoint-mobile {
10033
10033
  .styles-module_icon__dyaWp {
10034
10034
  color: var(--color-system-border-100);
10035
10035
  }
10036
+ /* * */
10037
+ /* CONTAINER */
10038
+
10039
+ .styles-module_container__dJH41 {
10040
+ display: flex;
10041
+ background-color: var(--color-system-border-100);
10042
+ }
10043
+
10044
+ /* * */
10045
+ /* PROPS / ORIENTATION */
10046
+
10047
+ .styles-module_container__dJH41[data-orientation="vertical"] {
10048
+ width: 1px;
10049
+ height: 100%;
10050
+ }
10051
+
10052
+ .styles-module_container__dJH41[data-orientation="horizontal"] {
10053
+ width: 100%;
10054
+ height: 1px;
10055
+ }
10056
+
10036
10057
  /* * */
10037
10058
  /* ROOT */
10038
10059
 
package/dist/styles.css CHANGED
@@ -10088,6 +10088,27 @@ breakpoint-mobile {
10088
10088
  .styles-module_icon__dyaWp {
10089
10089
  color: var(--color-system-border-100);
10090
10090
  }
10091
+ /* * */
10092
+ /* CONTAINER */
10093
+
10094
+ .styles-module_container__dJH41 {
10095
+ display: flex;
10096
+ background-color: var(--color-system-border-100);
10097
+ }
10098
+
10099
+ /* * */
10100
+ /* PROPS / ORIENTATION */
10101
+
10102
+ .styles-module_container__dJH41[data-orientation="vertical"] {
10103
+ width: 1px;
10104
+ height: 100%;
10105
+ }
10106
+
10107
+ .styles-module_container__dJH41[data-orientation="horizontal"] {
10108
+ width: 100%;
10109
+ height: 1px;
10110
+ }
10111
+
10091
10112
  /* * */
10092
10113
  /* ROOT */
10093
10114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/ui",
3
- "version": "20250402.1655.51",
3
+ "version": "20250403.1158.22",
4
4
  "author": "",
5
5
  "license": "ISC",
6
6
  "publishConfig": {
@@ -62,7 +62,7 @@
62
62
  "@turf/helpers": "7.2.0",
63
63
  "@turf/turf": "7.2.0",
64
64
  "@types/luxon": "3.6.0",
65
- "@types/node": "22.13.17",
65
+ "@types/node": "22.14.0",
66
66
  "@types/react": "19.1.0",
67
67
  "@types/react-dom": "19.1.1",
68
68
  "@vis.gl/react-maplibre": "8.0.2",