@tmlmobilidade/ui 20250401.2342.20 → 20250401.2348.39
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 +11 -1
- package/dist/index.js +1 -1
- package/dist/src/components/layout/Section/index.js +10 -0
- package/dist/src/components/layout/Section/index.js.map +1 -0
- package/dist/src/components/layout/Section/styles.module.css.js +4 -0
- package/dist/src/components/layout/Section/styles.module.css.js.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -399,6 +399,16 @@ interface PanesManagerProps {
|
|
399
399
|
}
|
400
400
|
declare function PanesManager({ panes }: PanesManagerProps): react_jsx_runtime.JSX.Element;
|
401
401
|
|
402
|
+
interface SectionProps {
|
403
|
+
alignItems?: 'center' | 'flex-end' | 'flex-start';
|
404
|
+
children: React.ReactNode;
|
405
|
+
flexDirection?: 'column' | 'row';
|
406
|
+
gap?: 'lg' | 'md' | 'sm' | null;
|
407
|
+
justifyContent?: 'center' | 'flex-end' | 'flex-start' | 'space-between';
|
408
|
+
padding?: 'lg' | 'md' | 'sm' | null;
|
409
|
+
}
|
410
|
+
declare function Section({ alignItems, children, flexDirection, gap, justifyContent, padding }: SectionProps): react_jsx_runtime.JSX.Element;
|
411
|
+
|
402
412
|
declare function Sidebar(): react_jsx_runtime.JSX.Element;
|
403
413
|
|
404
414
|
interface SidebarItemProps {
|
@@ -682,5 +692,5 @@ declare const getBaseGeoJsonFeatureLineString: () => GeoJSON.Feature<GeoJSON.Lin
|
|
682
692
|
*/
|
683
693
|
declare const getBaseGeoJsonFeatureCollection: () => GeoJSON.FeatureCollection<GeoJSON.LineString | GeoJSON.Point, GeoJSON.GeoJsonProperties>;
|
684
694
|
|
685
|
-
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, 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 };
|
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 };
|
686
696
|
export type { DataItem, DataTableColumn, DataTableProps, DataTableSearchProps, MapStyle, SidebarItemProps, ToastPromiseParams, ToastProps };
|
package/dist/index.js
CHANGED
@@ -28,7 +28,7 @@ export { AppWrapper } from './src/components/layout/AppWrapper/index.js';
|
|
28
28
|
export { Collapsible } from './src/components/layout/Collapsible/index.js';
|
29
29
|
export { Pane } from './src/components/layout/Pane/index.js';
|
30
30
|
export { PanesManager } from './src/components/layout/PanesManager/index.js';
|
31
|
-
|
31
|
+
export { Section } from './src/components/layout/Section/index.js';
|
32
32
|
export { Sidebar } from './src/components/layout/Sidebar/index.js';
|
33
33
|
export { SidebarItem } from './src/components/layout/SidebarItem/index.js';
|
34
34
|
export { Spacer } from './src/components/layout/Spacer/index.js';
|
@@ -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 Section({ alignItems = 'flex-start', children, flexDirection = 'column', gap, justifyContent = 'flex-start', padding = 'md' }) {
|
6
|
+
return (jsxRuntimeExports.jsx("div", { className: styles.root, "data-align-items": alignItems, "data-flex-direction": flexDirection, "data-gap": gap, "data-justify-content": justifyContent, "data-padding": padding, children: children }));
|
7
|
+
}
|
8
|
+
|
9
|
+
export { Section };
|
10
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/Section/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;AAeA;AAEM,SAAU,OAAO,CAAC,EAAE,UAAU,GAAG,YAAY,EAAE,QAAQ,EAAE,aAAa,GAAG,QAAQ,EAAE,GAAG,EAAE,cAAc,GAAG,YAAY,EAAE,OAAO,GAAG,IAAI,EAAgB,EAAA;IAC1J,QACCA,+BACC,SAAS,EAAE,MAAM,CAAC,IAAI,sBACJ,UAAU,EAAA,qBAAA,EACP,aAAa,EACxB,UAAA,EAAA,GAAG,0BACS,cAAc,EAAA,cAAA,EACtB,OAAO,EAEpB,QAAA,EAAA,QAAQ,EACJ,CAAA;AAER;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|