@tmlmobilidade/ui 20250901.1129.36 → 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.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":";;;AAgBA;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,EAAgB,EAAA;IAC/K,QACCA,+BACC,SAAS,EAAE,MAAM,CAAC,IAAI,EAAA,kBAAA,EACJ,UAAU,EAAA,qBAAA,EACP,aAAa,oBAClB,QAAQ,EAAA,UAAA,EACd,GAAG,EAAA,sBAAA,EACS,cAAc,EAAA,cAAA,EACtB,OAAO,EAAA,QAAA,EAEpB,QAAQ,EAAA,CACJ;AAER;;;;"}
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;;;;"}
@@ -2049,7 +2049,6 @@
2049
2049
 
2050
2050
  .styles-module_root__9sh2n {
2051
2051
  display: flex;
2052
- width: 100%;
2053
2052
  }
2054
2053
 
2055
2054
  /* * */
package/dist/styles.css CHANGED
@@ -2108,7 +2108,6 @@ figure {
2108
2108
 
2109
2109
  .styles-module_root__9sh2n {
2110
2110
  display: flex;
2111
- width: 100%;
2112
2111
  }
2113
2112
 
2114
2113
  /* * */
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.1129.36",
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": {