@tmlmobilidade/ui 20250331.1153.43 → 20250331.1202.46
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
@@ -394,10 +394,11 @@ declare function Sidebar(): react_jsx_runtime.JSX.Element;
|
|
394
394
|
|
395
395
|
interface SurfaceProps$1 {
|
396
396
|
children: React.ReactNode;
|
397
|
+
height: 'auto' | 'full';
|
397
398
|
overflow?: 'auto' | 'hidden' | 'scroll';
|
398
399
|
padding?: 'lg' | 'md' | 'sm' | 'xl';
|
399
400
|
}
|
400
|
-
declare function SimpleSurface({ children, overflow, padding }: SurfaceProps$1): react_jsx_runtime.JSX.Element;
|
401
|
+
declare function SimpleSurface({ children, height, overflow, padding }: SurfaceProps$1): react_jsx_runtime.JSX.Element;
|
401
402
|
|
402
403
|
interface SurfaceClassNames {
|
403
404
|
divider?: string;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
3
3
|
import styles from './styles.module.css.js';
|
4
4
|
|
5
|
-
function SimpleSurface({ children, overflow = 'hidden', padding }) {
|
6
|
-
return (jsxRuntimeExports.jsx("div", { className: styles.root, "data-overflow": overflow, "data-padding": padding, children: children }));
|
5
|
+
function SimpleSurface({ children, height = 'auto', overflow = 'hidden', padding }) {
|
6
|
+
return (jsxRuntimeExports.jsx("div", { className: styles.root, "data-height": height, "data-overflow": overflow, "data-padding": padding, children: children }));
|
7
7
|
}
|
8
8
|
|
9
9
|
export { SimpleSurface };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/SimpleSurface/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/SimpleSurface/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;AAegB,CAAA,CAAA,CAAA,CAAA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,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,WAC9F,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACJ,CAAA;AAER;;"}
|
package/dist/styles-no-reset.css
CHANGED
@@ -10056,22 +10056,14 @@ breakpoint-mobile {
|
|
10056
10056
|
}
|
10057
10057
|
|
10058
10058
|
/* * */
|
10059
|
-
/* PROPS /
|
10060
|
-
|
10061
|
-
.styles-module_root__gwoL6[data-padding='sm'] {
|
10062
|
-
padding: var(--size-spacing-sm);
|
10063
|
-
}
|
10064
|
-
|
10065
|
-
.styles-module_root__gwoL6[data-padding='md'] {
|
10066
|
-
padding: var(--size-spacing-md);
|
10067
|
-
}
|
10059
|
+
/* PROPS / HEIGHT */
|
10068
10060
|
|
10069
|
-
.styles-module_root__gwoL6[data-
|
10070
|
-
|
10061
|
+
.styles-module_root__gwoL6[data-height='auto'] {
|
10062
|
+
height: auto;
|
10071
10063
|
}
|
10072
10064
|
|
10073
|
-
.styles-module_root__gwoL6[data-
|
10074
|
-
|
10065
|
+
.styles-module_root__gwoL6[data-height='full'] {
|
10066
|
+
height: 100%;
|
10075
10067
|
}
|
10076
10068
|
|
10077
10069
|
/* * */
|
@@ -10088,6 +10080,25 @@ breakpoint-mobile {
|
|
10088
10080
|
.styles-module_root__gwoL6[data-overflow='scroll'] {
|
10089
10081
|
overflow: scroll;
|
10090
10082
|
}
|
10083
|
+
|
10084
|
+
/* * */
|
10085
|
+
/* PROPS / PADDING */
|
10086
|
+
|
10087
|
+
.styles-module_root__gwoL6[data-padding='sm'] {
|
10088
|
+
padding: var(--size-spacing-sm);
|
10089
|
+
}
|
10090
|
+
|
10091
|
+
.styles-module_root__gwoL6[data-padding='md'] {
|
10092
|
+
padding: var(--size-spacing-md);
|
10093
|
+
}
|
10094
|
+
|
10095
|
+
.styles-module_root__gwoL6[data-padding='lg'] {
|
10096
|
+
padding: var(--size-spacing-lg);
|
10097
|
+
}
|
10098
|
+
|
10099
|
+
.styles-module_root__gwoL6[data-padding='xl'] {
|
10100
|
+
padding: var(--size-spacing-xl);
|
10101
|
+
}
|
10091
10102
|
.styles-module_root__Rhx1c {
|
10092
10103
|
display: flex;
|
10093
10104
|
flex-direction: column;
|
package/dist/styles.css
CHANGED
@@ -10111,22 +10111,14 @@ breakpoint-mobile {
|
|
10111
10111
|
}
|
10112
10112
|
|
10113
10113
|
/* * */
|
10114
|
-
/* PROPS /
|
10115
|
-
|
10116
|
-
.styles-module_root__gwoL6[data-padding='sm'] {
|
10117
|
-
padding: var(--size-spacing-sm);
|
10118
|
-
}
|
10119
|
-
|
10120
|
-
.styles-module_root__gwoL6[data-padding='md'] {
|
10121
|
-
padding: var(--size-spacing-md);
|
10122
|
-
}
|
10114
|
+
/* PROPS / HEIGHT */
|
10123
10115
|
|
10124
|
-
.styles-module_root__gwoL6[data-
|
10125
|
-
|
10116
|
+
.styles-module_root__gwoL6[data-height='auto'] {
|
10117
|
+
height: auto;
|
10126
10118
|
}
|
10127
10119
|
|
10128
|
-
.styles-module_root__gwoL6[data-
|
10129
|
-
|
10120
|
+
.styles-module_root__gwoL6[data-height='full'] {
|
10121
|
+
height: 100%;
|
10130
10122
|
}
|
10131
10123
|
|
10132
10124
|
/* * */
|
@@ -10143,6 +10135,25 @@ breakpoint-mobile {
|
|
10143
10135
|
.styles-module_root__gwoL6[data-overflow='scroll'] {
|
10144
10136
|
overflow: scroll;
|
10145
10137
|
}
|
10138
|
+
|
10139
|
+
/* * */
|
10140
|
+
/* PROPS / PADDING */
|
10141
|
+
|
10142
|
+
.styles-module_root__gwoL6[data-padding='sm'] {
|
10143
|
+
padding: var(--size-spacing-sm);
|
10144
|
+
}
|
10145
|
+
|
10146
|
+
.styles-module_root__gwoL6[data-padding='md'] {
|
10147
|
+
padding: var(--size-spacing-md);
|
10148
|
+
}
|
10149
|
+
|
10150
|
+
.styles-module_root__gwoL6[data-padding='lg'] {
|
10151
|
+
padding: var(--size-spacing-lg);
|
10152
|
+
}
|
10153
|
+
|
10154
|
+
.styles-module_root__gwoL6[data-padding='xl'] {
|
10155
|
+
padding: var(--size-spacing-xl);
|
10156
|
+
}
|
10146
10157
|
.styles-module_root__Rhx1c {
|
10147
10158
|
display: flex;
|
10148
10159
|
flex-direction: column;
|