@tmlmobilidade/ui 20250401.2348.39 → 20250401.2350.36
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
@@ -429,9 +429,8 @@ interface SurfaceProps {
|
|
429
429
|
children: React.ReactNode;
|
430
430
|
height?: 'auto' | 'full';
|
431
431
|
overflow?: 'auto' | 'hidden' | 'scroll';
|
432
|
-
padding?: 'lg' | 'md' | 'sm' | 'xl';
|
433
432
|
}
|
434
|
-
declare function Surface({ children, height, overflow
|
433
|
+
declare function Surface({ children, height, overflow }: SurfaceProps): react_jsx_runtime.JSX.Element;
|
435
434
|
|
436
435
|
type MapStyle = 'map' | 'satellite';
|
437
436
|
interface MapOptionsContextState {
|
@@ -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
|
|