@tmlmobilidade/ui 20250329.138.21 → 20250329.240.31
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.map +1 -1
- package/dist/index.d.ts +16 -9
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/src/components/layout/AppWrapper/index.js +2 -2
- package/dist/src/components/layout/AppWrapper/index.js.map +1 -1
- package/dist/src/components/layout/Pane/index.js +12 -0
- package/dist/src/components/layout/Pane/index.js.map +1 -0
- package/dist/src/components/layout/Pane/styles.module.css.js +4 -0
- package/dist/src/components/layout/Pane/styles.module.css.js.map +1 -0
- package/dist/src/components/layout/SimpleSurface/index.js +2 -2
- package/dist/src/components/layout/SimpleSurface/index.js.map +1 -1
- package/dist/src/components/layout/Spacer/index.js +1 -1
- package/dist/src/components/layout/Spacer/index.js.map +1 -1
- package/dist/src/components/layout/Spacer/styles.module.css.js +1 -1
- package/dist/styles-no-reset.css +46 -8
- package/dist/styles.css +46 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -78,8 +78,8 @@ interface MultipleProps extends BaseProps {
|
|
78
78
|
onChange?: (value: string[] | undefined) => void;
|
79
79
|
value?: string[] | undefined;
|
80
80
|
}
|
81
|
-
type Props$
|
82
|
-
declare function ComboboxComponent(props: Props$
|
81
|
+
type Props$9 = MultipleProps | SingleProps;
|
82
|
+
declare function ComboboxComponent(props: Props$9): react_jsx_runtime.JSX.Element;
|
83
83
|
|
84
84
|
interface ComponentWrapperProps {
|
85
85
|
children: ReactNode;
|
@@ -308,7 +308,7 @@ interface DataTableSearchProps<T> {
|
|
308
308
|
value?: string;
|
309
309
|
}
|
310
310
|
|
311
|
-
interface Props$
|
311
|
+
interface Props$8<T> {
|
312
312
|
/**
|
313
313
|
* The classnames to be applied to the table.
|
314
314
|
*/
|
@@ -355,7 +355,7 @@ interface Props$7<T> {
|
|
355
355
|
*/
|
356
356
|
title?: string;
|
357
357
|
}
|
358
|
-
declare function DataTable<T>({ records, ...props }: Props$
|
358
|
+
declare function DataTable<T>({ records, ...props }: Props$8<T>): react_jsx_runtime.JSX.Element;
|
359
359
|
|
360
360
|
interface AppWrapperProps {
|
361
361
|
children: React.ReactNode;
|
@@ -366,13 +366,13 @@ interface AppWrapperProps {
|
|
366
366
|
}
|
367
367
|
declare function AppWrapper({ children, icon }: AppWrapperProps): react_jsx_runtime.JSX.Element;
|
368
368
|
|
369
|
-
interface Props$
|
369
|
+
interface Props$7 extends React.HTMLAttributes<HTMLDivElement> {
|
370
370
|
columns?: 'a' | 'aab' | 'ab' | 'abb' | 'abc' | 'abcd';
|
371
371
|
gap?: 'lg' | 'md' | 'none' | 'sm' | 'xl' | 'xs';
|
372
372
|
hAlign?: 'center' | 'end' | 'start';
|
373
373
|
vAlign?: 'center' | 'end' | 'start';
|
374
374
|
}
|
375
|
-
declare function Grid({ children, className, columns, gap, hAlign, vAlign, ...props }: Props$
|
375
|
+
declare function Grid({ children, className, columns, gap, hAlign, vAlign, ...props }: Props$7): react_jsx_runtime.JSX.Element;
|
376
376
|
|
377
377
|
interface SectionProps {
|
378
378
|
children: React__default.ReactNode;
|
@@ -394,9 +394,10 @@ declare function Sidebar(): react_jsx_runtime.JSX.Element;
|
|
394
394
|
|
395
395
|
interface SurfaceProps$1 {
|
396
396
|
children: React.ReactNode;
|
397
|
+
overflow?: 'auto' | 'hidden' | 'scroll';
|
397
398
|
padding?: 'lg' | 'md' | 'sm' | 'xl';
|
398
399
|
}
|
399
|
-
declare function SimpleSurface({ children, padding }: SurfaceProps$1): react_jsx_runtime.JSX.Element;
|
400
|
+
declare function SimpleSurface({ children, overflow, padding }: SurfaceProps$1): react_jsx_runtime.JSX.Element;
|
400
401
|
|
401
402
|
interface SurfaceClassNames {
|
402
403
|
divider?: string;
|
@@ -417,6 +418,12 @@ interface SurfaceProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
417
418
|
}
|
418
419
|
declare function Surface({ alignItems, borderRadius, children, classNames, divider, flexDirection, gap, justifyContent, padding, variant, ...props }: SurfaceProps): react_jsx_runtime.JSX.Element;
|
419
420
|
|
421
|
+
interface Props$6 {
|
422
|
+
children?: React.ReactNode;
|
423
|
+
header?: React.ReactNode;
|
424
|
+
}
|
425
|
+
declare function Pane({ children, header }: Props$6): react_jsx_runtime.JSX.Element;
|
426
|
+
|
420
427
|
interface Props$5 {
|
421
428
|
orientation?: 'horizontal' | 'vertical';
|
422
429
|
size?: 'full' | 'lg' | 'md' | 'sm';
|
@@ -682,5 +689,5 @@ declare const getBaseGeoJsonFeatureLineString: () => GeoJSON.Feature<GeoJSON.Lin
|
|
682
689
|
*/
|
683
690
|
declare const getBaseGeoJsonFeatureCollection: () => GeoJSON.FeatureCollection<GeoJSON.LineString | GeoJSON.Point, GeoJSON.GeoJsonProperties>;
|
684
691
|
|
685
|
-
export { AVAILABLE_THEMES, ActionIcon, AppProvider, AppWrapper, Badge, Button, CMIcon, CMLogo, Checkbox, ComboboxComponent as Combobox, ComponentWrapper, DataTable, DateTimePicker, DeleteActionIcon, Description, FileButton, Grid, Label, MapOptionsContextProvider, MapView, MapViewStyleActiveStops, MapViewStyleActiveStopsInteractiveLayerId, MapViewStyleActiveStopsPrimaryLayerId, MapViewStylePath, MapViewStylePathInteractiveLayerId, MapViewStylePathPrimaryLayerId, MapViewStyleStops, MapViewStyleStopsInteractiveLayerId, MapViewStyleStopsPrimaryLayerId, MapViewStyleVehicles, MapViewStyleVehiclesInteractiveLayerId, MapViewStyleVehiclesPrimaryLayerId, MeContextProvider, Menu, PasswordInput, Section, SegmentedControl, Sidebar, SidebarContextProvider, SimpleSurface, Slider, Spacer, Surface, Switch, TMLogo, TMLogoDark, TMLogoLight, Tag, Text, Component$1 as TextArea, Component as TextInput, ThemeContextProvider, ThemeDark, ThemeLight, ThemeSwitcher, Themer, Tooltip, centerMap, getBaseGeoJsonFeatureCollection, getBaseGeoJsonFeatureLineString, moveMap, useIsActiveDomain, useIsActivePage, useMapOptionsContext, useMeContext, useScreenSize, useSearchQuery, useSidebarContext, useThemeContext, useToast };
|
686
|
-
export type { DataItem, DataTableColumn, DataTableSearchProps, MapStyle, Props$
|
692
|
+
export { AVAILABLE_THEMES, ActionIcon, AppProvider, AppWrapper, Badge, Button, CMIcon, CMLogo, Checkbox, ComboboxComponent as Combobox, ComponentWrapper, DataTable, DateTimePicker, DeleteActionIcon, Description, FileButton, Grid, Label, MapOptionsContextProvider, MapView, MapViewStyleActiveStops, MapViewStyleActiveStopsInteractiveLayerId, MapViewStyleActiveStopsPrimaryLayerId, MapViewStylePath, MapViewStylePathInteractiveLayerId, MapViewStylePathPrimaryLayerId, MapViewStyleStops, MapViewStyleStopsInteractiveLayerId, MapViewStyleStopsPrimaryLayerId, MapViewStyleVehicles, MapViewStyleVehiclesInteractiveLayerId, MapViewStyleVehiclesPrimaryLayerId, MeContextProvider, Menu, Pane, PasswordInput, Section, SegmentedControl, Sidebar, SidebarContextProvider, SimpleSurface, Slider, Spacer, Surface, Switch, TMLogo, TMLogoDark, TMLogoLight, Tag, Text, Component$1 as TextArea, Component as TextInput, ThemeContextProvider, ThemeDark, ThemeLight, ThemeSwitcher, Themer, Tooltip, centerMap, getBaseGeoJsonFeatureCollection, getBaseGeoJsonFeatureLineString, moveMap, useIsActiveDomain, useIsActivePage, useMapOptionsContext, useMeContext, useScreenSize, useSearchQuery, useSidebarContext, useThemeContext, useToast };
|
693
|
+
export type { DataItem, DataTableColumn, DataTableSearchProps, MapStyle, Props$8 as Props, SidebarItemProps, ToastPromiseParams, ToastProps };
|
package/dist/index.js
CHANGED
@@ -29,6 +29,7 @@ export { default as Section } from './src/components/layout/Section/index.js';
|
|
29
29
|
export { default as Sidebar } from './src/components/layout/Sidebar/index.js';
|
30
30
|
export { SimpleSurface } from './src/components/layout/SimpleSurface/index.js';
|
31
31
|
export { default as Surface } from './src/components/layout/Surface/index.js';
|
32
|
+
export { Pane } from './src/components/layout/Pane/index.js';
|
32
33
|
export { Spacer } from './src/components/layout/Spacer/index.js';
|
33
34
|
export { MapView } from './src/components/map/MapView/index.js';
|
34
35
|
export { MapViewStyleActiveStops, MapViewStyleActiveStopsInteractiveLayerId, MapViewStyleActiveStopsPrimaryLayerId } from './src/components/map/MapViewStyleActiveStops/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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -9,7 +9,7 @@ import styles from './styles.module.css.js';
|
|
9
9
|
function AppWrapper({ children, icon }) {
|
10
10
|
//
|
11
11
|
// A. Setup variables
|
12
|
-
const
|
12
|
+
const meContext = useMeContext();
|
13
13
|
const appIcon = () => {
|
14
14
|
if (icon && typeof icon === 'object' && 'href' in icon) {
|
15
15
|
return jsxRuntimeExports.jsx("a", { href: icon.href, children: icon.icon });
|
@@ -18,7 +18,7 @@ function AppWrapper({ children, icon }) {
|
|
18
18
|
};
|
19
19
|
//
|
20
20
|
// B. Render components
|
21
|
-
return (jsxRuntimeExports.jsxs("div", { className: styles.container, children: [jsxRuntimeExports.jsx("div", { className: styles.appIcon, children: appIcon() }), jsxRuntimeExports.jsx(Header, { userName: data.user?.first_name }), jsxRuntimeExports.jsx(Sidebar, {}), jsxRuntimeExports.jsx("div", { className: styles.content, children: children })] }));
|
21
|
+
return (jsxRuntimeExports.jsxs("div", { className: styles.container, children: [jsxRuntimeExports.jsx("div", { className: styles.appIcon, children: appIcon() }), jsxRuntimeExports.jsx(Header, { userName: meContext.data.user?.first_name }), jsxRuntimeExports.jsx(Sidebar, {}), jsxRuntimeExports.jsx("div", { className: styles.content, children: children })] }));
|
22
22
|
}
|
23
23
|
|
24
24
|
export { AppWrapper as default };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/AppWrapper/index.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/AppWrapper/index.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;AAiBA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEwB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,UAAU,CAAC,CAAA,CAAE,QAAQ,CAAE,CAAA,CAAA,CAAA,CAAA,CAAI,EAAmB,CAAA,CAAA;;;AAIrE,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAY,CAAE,CAAA;CAEhC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA;CACpB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAE,CAAA;YACvD,OAAOA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CA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AO,CACjDA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA,CAAC,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,EAAE,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,CAAI,CAAA,CAAA,CAAA,CAAC,IAAI,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAI,CAAA,CAAA,EACrDA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,EAAA,CAAA,CAAA,CACXA,+BAAK,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,MAAM,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,YAAG,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAC3C,EAAA,CAAA,CAAA;AAER;;"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
'use client';
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
3
|
+
import { SimpleSurface } from '../SimpleSurface/index.js';
|
4
|
+
import styles from './styles.module.css.js';
|
5
|
+
|
6
|
+
/* * */
|
7
|
+
function Pane({ children, header }) {
|
8
|
+
return (jsxRuntimeExports.jsxs(SimpleSurface, { children: [header && jsxRuntimeExports.jsx("div", { className: styles.header, children: header }), children && jsxRuntimeExports.jsx("div", { className: styles.children, children: children })] }));
|
9
|
+
}
|
10
|
+
|
11
|
+
export { Pane };
|
12
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/Pane/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;AAeA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;SAEgB,IAAI,CAAC,CAAA,CAAE,QAAQ,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,EAAS,CAAA,CAAA;AAC/C,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACCA,sBAAA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAa,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACZ,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAIC,qBAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,EAAE,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAM,CAAO,CAAA,CAAA,EACvD,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAIA,qBAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,MAAM,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,QAAQ,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAC/C,CAAA;AAElB;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
@@ -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, padding }) {
|
6
|
-
return (jsxRuntimeExports.jsx("div", { className: styles.root, "data-padding": padding, children: children }));
|
5
|
+
function SimpleSurface({ children, overflow = 'hidden', padding }) {
|
6
|
+
return (jsxRuntimeExports.jsx("div", { className: styles.root, "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":";;;;AAcM,CAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAa,CAAC,CAAA,CAAE,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAgB,CAAA,CAAA;AACrF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACCA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAK,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,CAAI,CAAA,CAAA,CAAA,CAAA,CAAiB,eAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,iBAAgB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACzE,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACJ,CAAA;AAER;;"}
|
@@ -4,7 +4,7 @@ import styles from './styles.module.css.js';
|
|
4
4
|
|
5
5
|
/* * */
|
6
6
|
function Spacer({ orientation = 'horizontal', size = 'full' }) {
|
7
|
-
return (jsxRuntimeExports.jsx("div", { className: styles.
|
7
|
+
return (jsxRuntimeExports.jsx("div", { className: styles.container, "data-orientation": orientation, "data-size": size }));
|
8
8
|
}
|
9
9
|
|
10
10
|
export { Spacer };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/Spacer/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEM,CAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAC,CAAA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CAAS,EAAE,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,SAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EACT,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,WAAA,CAClB,CAAA,CAAA,CAAA,CAAA,CAAI,EAAA,CACd,CAAA;AAEJ;;"}
|
package/dist/styles-no-reset.css
CHANGED
@@ -10056,7 +10056,8 @@ breakpoint-mobile {
|
|
10056
10056
|
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 5%);
|
10057
10057
|
}
|
10058
10058
|
|
10059
|
-
/*
|
10059
|
+
/* * */
|
10060
|
+
/* PROPS / PADDING */
|
10060
10061
|
|
10061
10062
|
.styles-module_root__gwoL6[data-padding='sm'] {
|
10062
10063
|
padding: var(--size-spacing-sm);
|
@@ -10073,6 +10074,21 @@ breakpoint-mobile {
|
|
10073
10074
|
.styles-module_root__gwoL6[data-padding='xl'] {
|
10074
10075
|
padding: var(--size-spacing-xl);
|
10075
10076
|
}
|
10077
|
+
|
10078
|
+
/* * */
|
10079
|
+
/* PROPS / OVERFLOW */
|
10080
|
+
|
10081
|
+
.styles-module_root__gwoL6[data-overflow='auto'] {
|
10082
|
+
overflow: auto;
|
10083
|
+
}
|
10084
|
+
|
10085
|
+
.styles-module_root__gwoL6[data-overflow='hidden'] {
|
10086
|
+
overflow: hidden;
|
10087
|
+
}
|
10088
|
+
|
10089
|
+
.styles-module_root__gwoL6[data-overflow='scroll'] {
|
10090
|
+
overflow: scroll;
|
10091
|
+
}
|
10076
10092
|
.styles-module_root__Rhx1c {
|
10077
10093
|
display: flex;
|
10078
10094
|
flex-direction: column;
|
@@ -10161,9 +10177,31 @@ breakpoint-mobile {
|
|
10161
10177
|
gap: var(--size-spacing-xl);
|
10162
10178
|
}
|
10163
10179
|
/* * */
|
10180
|
+
/* HEADER */
|
10181
|
+
|
10182
|
+
.styles-module_header__8EL4W {
|
10183
|
+
display: flex;
|
10184
|
+
gap: var(--size-spacing-md);
|
10185
|
+
align-items: center;
|
10186
|
+
justify-content: flex-start;
|
10187
|
+
width: 100%;
|
10188
|
+
padding: var(--size-spacing-md);
|
10189
|
+
border-bottom: 1px solid var(--color-system-border-100);
|
10190
|
+
}
|
10191
|
+
|
10192
|
+
/* * */
|
10193
|
+
/* CHILDREN */
|
10194
|
+
|
10195
|
+
.styles-module_children__CN1LK {
|
10196
|
+
display: flex;
|
10197
|
+
flex-direction: column;
|
10198
|
+
width: 100%;
|
10199
|
+
overflow-y: auto;
|
10200
|
+
}
|
10201
|
+
/* * */
|
10164
10202
|
/* CONTAINER */
|
10165
10203
|
|
10166
|
-
.styles-
|
10204
|
+
.styles-module_container__nTl3X {
|
10167
10205
|
display: flex;
|
10168
10206
|
background-color: red;
|
10169
10207
|
}
|
@@ -10171,31 +10209,31 @@ breakpoint-mobile {
|
|
10171
10209
|
/* * */
|
10172
10210
|
/* PROPS / SIZE */
|
10173
10211
|
|
10174
|
-
.styles-
|
10212
|
+
.styles-module_container__nTl3X[data-size="full"] {
|
10175
10213
|
--spacer-size: 100%;
|
10176
10214
|
}
|
10177
10215
|
|
10178
|
-
.styles-
|
10216
|
+
.styles-module_container__nTl3X[data-size="lg"] {
|
10179
10217
|
--spacer-size: var(--size-spacing-lg);
|
10180
10218
|
}
|
10181
10219
|
|
10182
|
-
.styles-
|
10220
|
+
.styles-module_container__nTl3X[data-size="md"] {
|
10183
10221
|
--spacer-size: var(--size-spacing-md);
|
10184
10222
|
}
|
10185
10223
|
|
10186
|
-
.styles-
|
10224
|
+
.styles-module_container__nTl3X[data-size="sm"] {
|
10187
10225
|
--spacer-size: var(--size-spacing-sm);
|
10188
10226
|
}
|
10189
10227
|
|
10190
10228
|
/* * */
|
10191
10229
|
/* PROPS / ORIENTATION */
|
10192
10230
|
|
10193
|
-
.styles-
|
10231
|
+
.styles-module_container__nTl3X[data-orientation="vertical"] {
|
10194
10232
|
width: 2px;
|
10195
10233
|
height: var(--spacer-size);
|
10196
10234
|
}
|
10197
10235
|
|
10198
|
-
.styles-
|
10236
|
+
.styles-module_container__nTl3X[data-orientation="horizontal"] {
|
10199
10237
|
width: var(--spacer-size);
|
10200
10238
|
height: 2px;
|
10201
10239
|
}
|
package/dist/styles.css
CHANGED
@@ -10111,7 +10111,8 @@ breakpoint-mobile {
|
|
10111
10111
|
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 5%);
|
10112
10112
|
}
|
10113
10113
|
|
10114
|
-
/*
|
10114
|
+
/* * */
|
10115
|
+
/* PROPS / PADDING */
|
10115
10116
|
|
10116
10117
|
.styles-module_root__gwoL6[data-padding='sm'] {
|
10117
10118
|
padding: var(--size-spacing-sm);
|
@@ -10128,6 +10129,21 @@ breakpoint-mobile {
|
|
10128
10129
|
.styles-module_root__gwoL6[data-padding='xl'] {
|
10129
10130
|
padding: var(--size-spacing-xl);
|
10130
10131
|
}
|
10132
|
+
|
10133
|
+
/* * */
|
10134
|
+
/* PROPS / OVERFLOW */
|
10135
|
+
|
10136
|
+
.styles-module_root__gwoL6[data-overflow='auto'] {
|
10137
|
+
overflow: auto;
|
10138
|
+
}
|
10139
|
+
|
10140
|
+
.styles-module_root__gwoL6[data-overflow='hidden'] {
|
10141
|
+
overflow: hidden;
|
10142
|
+
}
|
10143
|
+
|
10144
|
+
.styles-module_root__gwoL6[data-overflow='scroll'] {
|
10145
|
+
overflow: scroll;
|
10146
|
+
}
|
10131
10147
|
.styles-module_root__Rhx1c {
|
10132
10148
|
display: flex;
|
10133
10149
|
flex-direction: column;
|
@@ -10216,9 +10232,31 @@ breakpoint-mobile {
|
|
10216
10232
|
gap: var(--size-spacing-xl);
|
10217
10233
|
}
|
10218
10234
|
/* * */
|
10235
|
+
/* HEADER */
|
10236
|
+
|
10237
|
+
.styles-module_header__8EL4W {
|
10238
|
+
display: flex;
|
10239
|
+
gap: var(--size-spacing-md);
|
10240
|
+
align-items: center;
|
10241
|
+
justify-content: flex-start;
|
10242
|
+
width: 100%;
|
10243
|
+
padding: var(--size-spacing-md);
|
10244
|
+
border-bottom: 1px solid var(--color-system-border-100);
|
10245
|
+
}
|
10246
|
+
|
10247
|
+
/* * */
|
10248
|
+
/* CHILDREN */
|
10249
|
+
|
10250
|
+
.styles-module_children__CN1LK {
|
10251
|
+
display: flex;
|
10252
|
+
flex-direction: column;
|
10253
|
+
width: 100%;
|
10254
|
+
overflow-y: auto;
|
10255
|
+
}
|
10256
|
+
/* * */
|
10219
10257
|
/* CONTAINER */
|
10220
10258
|
|
10221
|
-
.styles-
|
10259
|
+
.styles-module_container__nTl3X {
|
10222
10260
|
display: flex;
|
10223
10261
|
background-color: red;
|
10224
10262
|
}
|
@@ -10226,31 +10264,31 @@ breakpoint-mobile {
|
|
10226
10264
|
/* * */
|
10227
10265
|
/* PROPS / SIZE */
|
10228
10266
|
|
10229
|
-
.styles-
|
10267
|
+
.styles-module_container__nTl3X[data-size="full"] {
|
10230
10268
|
--spacer-size: 100%;
|
10231
10269
|
}
|
10232
10270
|
|
10233
|
-
.styles-
|
10271
|
+
.styles-module_container__nTl3X[data-size="lg"] {
|
10234
10272
|
--spacer-size: var(--size-spacing-lg);
|
10235
10273
|
}
|
10236
10274
|
|
10237
|
-
.styles-
|
10275
|
+
.styles-module_container__nTl3X[data-size="md"] {
|
10238
10276
|
--spacer-size: var(--size-spacing-md);
|
10239
10277
|
}
|
10240
10278
|
|
10241
|
-
.styles-
|
10279
|
+
.styles-module_container__nTl3X[data-size="sm"] {
|
10242
10280
|
--spacer-size: var(--size-spacing-sm);
|
10243
10281
|
}
|
10244
10282
|
|
10245
10283
|
/* * */
|
10246
10284
|
/* PROPS / ORIENTATION */
|
10247
10285
|
|
10248
|
-
.styles-
|
10286
|
+
.styles-module_container__nTl3X[data-orientation="vertical"] {
|
10249
10287
|
width: 2px;
|
10250
10288
|
height: var(--spacer-size);
|
10251
10289
|
}
|
10252
10290
|
|
10253
|
-
.styles-
|
10291
|
+
.styles-module_container__nTl3X[data-orientation="horizontal"] {
|
10254
10292
|
width: var(--spacer-size);
|
10255
10293
|
height: 2px;
|
10256
10294
|
}
|