@tmlmobilidade/ui 20250401.2342.20 → 20250401.2349.29
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.css.map +1 -1
- package/dist/index.d.ts +12 -3
- 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/dist/src/components/layout/Surface/index.js +2 -2
- package/dist/src/components/layout/Surface/index.js.map +1 -1
- package/dist/styles-no-reset.css +1 -20
- package/dist/styles.css +1 -20
- 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 {
|
@@ -419,9 +429,8 @@ interface SurfaceProps {
|
|
419
429
|
children: React.ReactNode;
|
420
430
|
height?: 'auto' | 'full';
|
421
431
|
overflow?: 'auto' | 'hidden' | 'scroll';
|
422
|
-
padding?: 'lg' | 'md' | 'sm' | 'xl';
|
423
432
|
}
|
424
|
-
declare function Surface({ children, height, overflow
|
433
|
+
declare function Surface({ children, height, overflow }: SurfaceProps): react_jsx_runtime.JSX.Element;
|
425
434
|
|
426
435
|
type MapStyle = 'map' | 'satellite';
|
427
436
|
interface MapOptionsContextState {
|
@@ -682,5 +691,5 @@ declare const getBaseGeoJsonFeatureLineString: () => GeoJSON.Feature<GeoJSON.Lin
|
|
682
691
|
*/
|
683
692
|
declare const getBaseGeoJsonFeatureCollection: () => GeoJSON.FeatureCollection<GeoJSON.LineString | GeoJSON.Point, GeoJSON.GeoJsonProperties>;
|
684
693
|
|
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 };
|
694
|
+
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
695
|
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":";;;;"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
2
2
|
import styles from './styles.module.css.js';
|
3
3
|
|
4
|
-
function Surface({ children, height = 'auto', overflow = 'hidden'
|
5
|
-
return (jsxRuntimeExports.jsx("div", { className: styles.root, "data-height": height, "data-overflow": overflow,
|
4
|
+
function Surface({ children, height = 'auto', overflow = 'hidden' }) {
|
5
|
+
return (jsxRuntimeExports.jsx("div", { className: styles.root, "data-height": height, "data-overflow": overflow, children: children }));
|
6
6
|
}
|
7
7
|
|
8
8
|
export { Surface };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/Surface/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/Surface/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;AAYgB,SAAA,OAAO,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,GAAG,QAAQ,EAAgB,EAAA;AACvF,IAAA,QACCA,qBAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,IAAI,EAAe,aAAA,EAAA,MAAM,mBAAiB,QAAQ,EAAA,QAAA,EACvE,QAAQ,EAAA,CACJ;AAER;;;;"}
|
package/dist/styles-no-reset.css
CHANGED
@@ -10020,7 +10020,7 @@ breakpoint-mobile {
|
|
10020
10020
|
color: var(--color-system-border-100);
|
10021
10021
|
}
|
10022
10022
|
/* * */
|
10023
|
-
/*
|
10023
|
+
/* ROOT */
|
10024
10024
|
|
10025
10025
|
.styles-module_root__Rhx1c {
|
10026
10026
|
display: flex;
|
@@ -10059,25 +10059,6 @@ breakpoint-mobile {
|
|
10059
10059
|
.styles-module_root__Rhx1c[data-overflow='scroll'] {
|
10060
10060
|
overflow: scroll;
|
10061
10061
|
}
|
10062
|
-
|
10063
|
-
/* * */
|
10064
|
-
/* PROPS / PADDING */
|
10065
|
-
|
10066
|
-
.styles-module_root__Rhx1c[data-padding='sm'] {
|
10067
|
-
padding: var(--size-spacing-sm);
|
10068
|
-
}
|
10069
|
-
|
10070
|
-
.styles-module_root__Rhx1c[data-padding='md'] {
|
10071
|
-
padding: var(--size-spacing-md);
|
10072
|
-
}
|
10073
|
-
|
10074
|
-
.styles-module_root__Rhx1c[data-padding='lg'] {
|
10075
|
-
padding: var(--size-spacing-lg);
|
10076
|
-
}
|
10077
|
-
|
10078
|
-
.styles-module_root__Rhx1c[data-padding='xl'] {
|
10079
|
-
padding: var(--size-spacing-xl);
|
10080
|
-
}
|
10081
10062
|
/* * */
|
10082
10063
|
/* HEADER */
|
10083
10064
|
|
package/dist/styles.css
CHANGED
@@ -10075,7 +10075,7 @@ breakpoint-mobile {
|
|
10075
10075
|
color: var(--color-system-border-100);
|
10076
10076
|
}
|
10077
10077
|
/* * */
|
10078
|
-
/*
|
10078
|
+
/* ROOT */
|
10079
10079
|
|
10080
10080
|
.styles-module_root__Rhx1c {
|
10081
10081
|
display: flex;
|
@@ -10114,25 +10114,6 @@ breakpoint-mobile {
|
|
10114
10114
|
.styles-module_root__Rhx1c[data-overflow='scroll'] {
|
10115
10115
|
overflow: scroll;
|
10116
10116
|
}
|
10117
|
-
|
10118
|
-
/* * */
|
10119
|
-
/* PROPS / PADDING */
|
10120
|
-
|
10121
|
-
.styles-module_root__Rhx1c[data-padding='sm'] {
|
10122
|
-
padding: var(--size-spacing-sm);
|
10123
|
-
}
|
10124
|
-
|
10125
|
-
.styles-module_root__Rhx1c[data-padding='md'] {
|
10126
|
-
padding: var(--size-spacing-md);
|
10127
|
-
}
|
10128
|
-
|
10129
|
-
.styles-module_root__Rhx1c[data-padding='lg'] {
|
10130
|
-
padding: var(--size-spacing-lg);
|
10131
|
-
}
|
10132
|
-
|
10133
|
-
.styles-module_root__Rhx1c[data-padding='xl'] {
|
10134
|
-
padding: var(--size-spacing-xl);
|
10135
|
-
}
|
10136
10117
|
/* * */
|
10137
10118
|
/* HEADER */
|
10138
10119
|
|