@tmlmobilidade/ui 20250901.1129.36 → 20250901.2024.56
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 +2 -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
@@ -610,8 +610,9 @@ interface SectionProps {
|
|
610
610
|
gap?: 'lg' | 'md' | 'sm' | 'xs' | null;
|
611
611
|
justifyContent?: 'center' | 'flex-end' | 'flex-start' | 'space-between';
|
612
612
|
padding?: 'lg' | 'md' | 'none' | 'sm' | null;
|
613
|
+
width?: React.CSSProperties['width'];
|
613
614
|
}
|
614
|
-
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;
|
615
616
|
|
616
617
|
interface SeparatorProps {
|
617
618
|
margin?: 'lg' | 'md' | 'none' | 'sm';
|
@@ -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": "20250901.
|
4
|
+
"version": "20250901.2024.56",
|
5
5
|
"author": "João de Vasconcelos & Jusi Monteiro",
|
6
6
|
"license": "AGPL-3.0-or-later",
|
7
7
|
"publishConfig": {
|