@tmlmobilidade/ui 20250830.350.11 → 20250901.1821.25
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 +0 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/src/components/layout/Section/index.js +2 -2
- package/dist/src/components/layout/Section/index.js.map +1 -1
- package/dist/styles-no-reset.css +0 -1
- package/dist/styles.css +0 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -5,6 +5,7 @@ import * as React$1 from 'react';
|
|
5
5
|
import React__default, { PropsWithChildren, ReactNode, CSSProperties, RefObject } from 'react';
|
6
6
|
import { DatePickerInputProps, DateTimePickerProps as DateTimePickerProps$1 } from '@mantine/dates';
|
7
7
|
import { Line, Stop } from '@carrismetropolitana/api-types/network';
|
8
|
+
export { ViewportList } from 'react-viewport-list';
|
8
9
|
import { StyleSpecification, MapLibreEvent } from 'maplibre-gl';
|
9
10
|
import { FeatureCollection, Polygon, Point, LineString, Feature, Geometry, GeoJsonProperties } from 'geojson';
|
10
11
|
import { MapLayerMouseEvent, ViewStateChangeEvent, MapRef } from '@vis.gl/react-maplibre';
|
@@ -609,8 +610,9 @@ interface SectionProps {
|
|
609
610
|
gap?: 'lg' | 'md' | 'sm' | 'xs' | null;
|
610
611
|
justifyContent?: 'center' | 'flex-end' | 'flex-start' | 'space-between';
|
611
612
|
padding?: 'lg' | 'md' | 'none' | 'sm' | null;
|
613
|
+
width?: React.CSSProperties['width'];
|
612
614
|
}
|
613
|
-
declare function Section({ alignItems, children, flexDirection, flexWrap, gap, justifyContent, padding }: SectionProps): react_jsx_runtime.JSX.Element;
|
615
|
+
declare function Section({ alignItems, children, flexDirection, flexWrap, gap, justifyContent, padding, width }: SectionProps): react_jsx_runtime.JSX.Element;
|
614
616
|
|
615
617
|
interface SeparatorProps {
|
616
618
|
margin?: 'lg' | 'md' | 'none' | 'sm';
|
package/dist/index.js
CHANGED
@@ -27,6 +27,7 @@ export { StopDisplayName } from './src/components/common/StopDisplayName/index.j
|
|
27
27
|
export { StopSelect } from './src/components/common/StopSelect/index.js';
|
28
28
|
export { Switch } from './src/components/common/Switch/index.js';
|
29
29
|
export { Modal, Tree, getTreeExpandedState, useTree } from '@mantine/core';
|
30
|
+
export { ViewportList } from 'react-viewport-list';
|
30
31
|
export { DataTable } from './src/components/datatable/DataTable/index.js';
|
31
32
|
export { AlertCard } from './src/components/display/AlertCard/index.js';
|
32
33
|
export { AlertMessage } from './src/components/display/AlertMessage/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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -2,8 +2,8 @@ import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
|
2
2
|
import styles from './styles.module.css.js';
|
3
3
|
|
4
4
|
/* * */
|
5
|
-
function Section({ alignItems = 'flex-start', children, flexDirection = 'column', flexWrap = 'nowrap', gap, justifyContent = 'flex-start', padding = 'md' }) {
|
6
|
-
return (jsxRuntimeExports.jsx("div", { className: styles.root, "data-align-items": alignItems, "data-flex-direction": flexDirection, "data-flex-wrap": flexWrap, "data-gap": gap, "data-justify-content": justifyContent, "data-padding": padding, children: children }));
|
5
|
+
function Section({ alignItems = 'flex-start', children, flexDirection = 'column', flexWrap = 'nowrap', gap, justifyContent = 'flex-start', padding = 'md', width = '100%' }) {
|
6
|
+
return (jsxRuntimeExports.jsx("div", { className: styles.root, "data-align-items": alignItems, "data-flex-direction": flexDirection, "data-flex-wrap": flexWrap, "data-gap": gap, "data-justify-content": justifyContent, "data-padding": padding, style: { width }, children: children }));
|
7
7
|
}
|
8
8
|
|
9
9
|
export { Section };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/Section/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/Section/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;AAiBA;AAEM,SAAU,OAAO,CAAC,EAAE,UAAU,GAAG,YAAY,EAAE,QAAQ,EAAE,aAAa,GAAG,QAAQ,EAAE,QAAQ,GAAG,QAAQ,EAAE,GAAG,EAAE,cAAc,GAAG,YAAY,EAAE,OAAO,GAAG,IAAI,EAAE,KAAK,GAAG,MAAM,EAAgB,EAAA;AAC/L,IAAA,QACCA,qBAAA,CAAA,KAAA,EAAA,EACC,SAAS,EAAE,MAAM,CAAC,IAAI,EAAA,kBAAA,EACJ,UAAU,EAAA,qBAAA,EACP,aAAa,EAAA,gBAAA,EAClB,QAAQ,EAAA,UAAA,EACd,GAAG,EAAA,sBAAA,EACS,cAAc,EAAA,cAAA,EACtB,OAAO,EACrB,KAAK,EAAE,EAAE,KAAK,EAAE,EAAA,QAAA,EAEf,QAAQ,EAAA,CACJ;AAER;;;;"}
|
package/dist/styles-no-reset.css
CHANGED
package/dist/styles.css
CHANGED
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tmlmobilidade/ui",
|
3
3
|
"description": "UI components for Transportes Metropolitanos de Lisboa (TML) web applications.",
|
4
|
-
"version": "
|
4
|
+
"version": "20250901.1821.25",
|
5
5
|
"author": "João de Vasconcelos & Jusi Monteiro",
|
6
6
|
"license": "AGPL-3.0-or-later",
|
7
7
|
"publishConfig": {
|