@tmlmobilidade/ui 20250404.340.40 → 20250408.2323.59
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/src/components/layout/AppWrapperHeader/index.js +11 -2
- package/dist/src/components/layout/AppWrapperHeader/index.js.map +1 -1
- package/dist/src/components/layout/AppWrapperHeader/styles.module.css.js +1 -1
- package/dist/styles-no-reset.css +38 -44
- package/dist/styles.css +38 -44
- package/package.json +9 -9
@@ -1,11 +1,20 @@
|
|
1
1
|
'use client';
|
2
2
|
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
3
|
+
import 'clsx';
|
4
|
+
import 'luxon';
|
3
5
|
import { Skeleton } from '@mantine/core';
|
6
|
+
import '@tabler/icons-react';
|
4
7
|
import { useState } from 'react';
|
8
|
+
import 'react-viewport-list';
|
9
|
+
import '@mantine/dates';
|
10
|
+
import '@mantine/modals';
|
11
|
+
import '../../common/Menu/index.js';
|
12
|
+
import { Label } from '../../common/Label/index.js';
|
13
|
+
import '../../../contexts/Theme.context.js';
|
5
14
|
import styles from './styles.module.css.js';
|
6
15
|
|
7
16
|
/* * */
|
8
|
-
const AVAILABLE_GREETINGS = ['Olá', 'Hi', 'Hey', 'Oi', 'Hallo', 'Ciao', 'Hej'];
|
17
|
+
const AVAILABLE_GREETINGS = ['Olá', 'Hi', 'Hey', 'Oi', 'Hallo', 'Hola', 'Ciao', 'Hej'];
|
9
18
|
/* * */
|
10
19
|
function AppWrapperHeader({ userName }) {
|
11
20
|
//
|
@@ -17,7 +26,7 @@ function AppWrapperHeader({ userName }) {
|
|
17
26
|
if (!userName) {
|
18
27
|
return (jsxRuntimeExports.jsx("div", { className: styles.container, children: jsxRuntimeExports.jsx(Skeleton, { h: 18, w: 120 }) }));
|
19
28
|
}
|
20
|
-
return (jsxRuntimeExports.jsx("div", { className: styles.container, children: jsxRuntimeExports.jsxs("
|
29
|
+
return (jsxRuntimeExports.jsx("div", { className: styles.container, children: jsxRuntimeExports.jsxs(Label, { size: "sm", caps: true, singleLine: true, children: [drawnGreeting, " ", userName] }) }));
|
21
30
|
//
|
22
31
|
}
|
23
32
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/AppWrapperHeader/index.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/layout/AppWrapperHeader/index.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;AAUA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,mBAAmB,CAAG,CAAA,CAAA,CAAC,KAAK,CAAE,CAAA,CAAA,CAAA,CAAA,CAAI,EAAE,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAI,CAAA,CAAA,CAAA,CAAA,CAAE,OAAO,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,EAAE,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,KAAK,CAAC;AAQtF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEgB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAgB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,EAAyB,CAAA,CAAA;;;;CAMnE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAC,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,GAAG,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,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AAM,CAAC,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,QAAA,CAC/BC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAC,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,EAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAC,IAAI,CAAC,CAAA,CAAA,CAAA,CAAA,CAAI,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,UAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAS,EAC9D,CAAA,CAAA;;AAIR;;"}
|
package/dist/styles-no-reset.css
CHANGED
@@ -812,14 +812,18 @@ fieldset:disabled .mantine-active:active {
|
|
812
812
|
background-color: var(--mantine-color-body);
|
813
813
|
}
|
814
814
|
|
815
|
-
|
816
|
-
|
815
|
+
[data-mantine-color-scheme='light'] .m_1b7284a3 {
|
816
|
+
--paper-border-color: var(--mantine-color-gray-3);
|
817
817
|
}
|
818
818
|
|
819
|
-
|
820
|
-
|
819
|
+
[data-mantine-color-scheme='dark'] .m_1b7284a3 {
|
820
|
+
--paper-border-color: var(--mantine-color-dark-4);
|
821
821
|
}
|
822
822
|
|
823
|
+
.m_1b7284a3:where([data-with-border]) {
|
824
|
+
border: calc(0.0625rem * var(--mantine-scale)) solid var(--paper-border-color);
|
825
|
+
}
|
826
|
+
|
823
827
|
.m_9814e45f {
|
824
828
|
inset: 0;
|
825
829
|
position: absolute;
|
@@ -6794,9 +6798,18 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
6794
6798
|
|
6795
6799
|
.m_b242d975:where([data-sticky]) {
|
6796
6800
|
position: sticky;
|
6797
|
-
background-color: var(--mantine-color-body);
|
6798
6801
|
}
|
6799
6802
|
|
6803
|
+
.m_b242d975:where([data-sticky]) .m_4e7aa4f3 {
|
6804
|
+
position: sticky;
|
6805
|
+
top: var(--table-sticky-header-offset, 0);
|
6806
|
+
background-color: var(--mantine-color-body);
|
6807
|
+
}
|
6808
|
+
|
6809
|
+
:where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3 {
|
6810
|
+
top: initial;
|
6811
|
+
}
|
6812
|
+
|
6800
6813
|
.m_9e5a3ac7 {
|
6801
6814
|
color: var(--mantine-color-dimmed);
|
6802
6815
|
}
|
@@ -7517,6 +7530,7 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
7517
7530
|
.m_d6493fad :where(h1, h2, h3, h4, h5, h6) {
|
7518
7531
|
margin-bottom: var(--mantine-spacing-xs);
|
7519
7532
|
text-wrap: var(--mantine-heading-text-wrap);
|
7533
|
+
font-family: var(--mantine-font-family-headings);
|
7520
7534
|
}
|
7521
7535
|
.m_d6493fad :where(h1) {
|
7522
7536
|
margin-top: calc(1.5 * var(--mantine-spacing-xl));
|
@@ -9889,6 +9903,13 @@ breakpoint-mobile {
|
|
9889
9903
|
/* * */
|
9890
9904
|
/* PROPS / SIZE */
|
9891
9905
|
|
9906
|
+
.styles-module_root__RKr4f[data-size="sm"] {
|
9907
|
+
--container-size: 24px;
|
9908
|
+
--blade-size: 7px;
|
9909
|
+
--blade-thickness: 3px;
|
9910
|
+
--blade-tightness: 1.25;
|
9911
|
+
}
|
9912
|
+
|
9892
9913
|
.styles-module_root__RKr4f[data-size="md"] {
|
9893
9914
|
--container-size: 40px;
|
9894
9915
|
--blade-size: 10px;
|
@@ -10292,46 +10313,19 @@ breakpoint-mobile {
|
|
10292
10313
|
/* CONTAINER */
|
10293
10314
|
|
10294
10315
|
.styles-module_container__Xa8G- {
|
10295
|
-
|
10296
|
-
|
10297
|
-
|
10298
|
-
|
10299
|
-
|
10300
|
-
|
10301
|
-
|
10302
|
-
|
10303
|
-
|
10304
|
-
|
10305
|
-
|
10306
|
-
|
10307
|
-
}
|
10308
|
-
|
10309
|
-
@media (prefers-color-scheme: dark) {
|
10310
|
-
.styles-module_container__Xa8G- {
|
10311
|
-
background-color: var(--color-system-background-100);
|
10312
|
-
}
|
10313
|
-
}
|
10314
|
-
|
10315
|
-
/* * */
|
10316
|
-
/* GREETING */
|
10317
|
-
|
10318
|
-
.styles-module_greeting__gAW3N {
|
10319
|
-
color: var(--color-system-text-100);
|
10320
|
-
font-size: 14px;
|
10321
|
-
font-weight: 700;
|
10322
|
-
text-transform: uppercase;
|
10323
|
-
line-height: 1;
|
10324
|
-
}
|
10325
|
-
|
10326
|
-
/* * */
|
10327
|
-
/* OPTIONS */
|
10328
|
-
|
10329
|
-
.styles-module_options__eMGiK {
|
10330
|
-
display: flex;
|
10331
|
-
flex-direction: row;
|
10332
|
-
gap: var(--size-md);
|
10316
|
+
z-index: 50;
|
10317
|
+
display: flex;
|
10318
|
+
flex-direction: row;
|
10319
|
+
align-items: center;
|
10320
|
+
justify-content: flex-start;
|
10321
|
+
width: 100%;
|
10322
|
+
height: 100%;
|
10323
|
+
padding: var(--size-spacing-sm);
|
10324
|
+
padding-left: var(--size-spacing-lg);
|
10325
|
+
background-color: var(--color-system-background-100);
|
10326
|
+
border-bottom: 1px solid var(--color-system-border-100);
|
10327
|
+
box-shadow: 0 0 10px -5px rgb(0 0 0 / 20%);
|
10333
10328
|
}
|
10334
|
-
|
10335
10329
|
/* * */
|
10336
10330
|
/* CONTAINER */
|
10337
10331
|
|
package/dist/styles.css
CHANGED
@@ -867,14 +867,18 @@ fieldset:disabled .mantine-active:active {
|
|
867
867
|
background-color: var(--mantine-color-body);
|
868
868
|
}
|
869
869
|
|
870
|
-
|
871
|
-
|
870
|
+
[data-mantine-color-scheme='light'] .m_1b7284a3 {
|
871
|
+
--paper-border-color: var(--mantine-color-gray-3);
|
872
872
|
}
|
873
873
|
|
874
|
-
|
875
|
-
|
874
|
+
[data-mantine-color-scheme='dark'] .m_1b7284a3 {
|
875
|
+
--paper-border-color: var(--mantine-color-dark-4);
|
876
876
|
}
|
877
877
|
|
878
|
+
.m_1b7284a3:where([data-with-border]) {
|
879
|
+
border: calc(0.0625rem * var(--mantine-scale)) solid var(--paper-border-color);
|
880
|
+
}
|
881
|
+
|
878
882
|
.m_9814e45f {
|
879
883
|
inset: 0;
|
880
884
|
position: absolute;
|
@@ -6849,9 +6853,18 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
6849
6853
|
|
6850
6854
|
.m_b242d975:where([data-sticky]) {
|
6851
6855
|
position: sticky;
|
6852
|
-
background-color: var(--mantine-color-body);
|
6853
6856
|
}
|
6854
6857
|
|
6858
|
+
.m_b242d975:where([data-sticky]) .m_4e7aa4f3 {
|
6859
|
+
position: sticky;
|
6860
|
+
top: var(--table-sticky-header-offset, 0);
|
6861
|
+
background-color: var(--mantine-color-body);
|
6862
|
+
}
|
6863
|
+
|
6864
|
+
:where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3 {
|
6865
|
+
top: initial;
|
6866
|
+
}
|
6867
|
+
|
6855
6868
|
.m_9e5a3ac7 {
|
6856
6869
|
color: var(--mantine-color-dimmed);
|
6857
6870
|
}
|
@@ -7572,6 +7585,7 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
7572
7585
|
.m_d6493fad :where(h1, h2, h3, h4, h5, h6) {
|
7573
7586
|
margin-bottom: var(--mantine-spacing-xs);
|
7574
7587
|
text-wrap: var(--mantine-heading-text-wrap);
|
7588
|
+
font-family: var(--mantine-font-family-headings);
|
7575
7589
|
}
|
7576
7590
|
.m_d6493fad :where(h1) {
|
7577
7591
|
margin-top: calc(1.5 * var(--mantine-spacing-xl));
|
@@ -9944,6 +9958,13 @@ breakpoint-mobile {
|
|
9944
9958
|
/* * */
|
9945
9959
|
/* PROPS / SIZE */
|
9946
9960
|
|
9961
|
+
.styles-module_root__RKr4f[data-size="sm"] {
|
9962
|
+
--container-size: 24px;
|
9963
|
+
--blade-size: 7px;
|
9964
|
+
--blade-thickness: 3px;
|
9965
|
+
--blade-tightness: 1.25;
|
9966
|
+
}
|
9967
|
+
|
9947
9968
|
.styles-module_root__RKr4f[data-size="md"] {
|
9948
9969
|
--container-size: 40px;
|
9949
9970
|
--blade-size: 10px;
|
@@ -10347,46 +10368,19 @@ breakpoint-mobile {
|
|
10347
10368
|
/* CONTAINER */
|
10348
10369
|
|
10349
10370
|
.styles-module_container__Xa8G- {
|
10350
|
-
|
10351
|
-
|
10352
|
-
|
10353
|
-
|
10354
|
-
|
10355
|
-
|
10356
|
-
|
10357
|
-
|
10358
|
-
|
10359
|
-
|
10360
|
-
|
10361
|
-
|
10362
|
-
}
|
10363
|
-
|
10364
|
-
@media (prefers-color-scheme: dark) {
|
10365
|
-
.styles-module_container__Xa8G- {
|
10366
|
-
background-color: var(--color-system-background-100);
|
10367
|
-
}
|
10368
|
-
}
|
10369
|
-
|
10370
|
-
/* * */
|
10371
|
-
/* GREETING */
|
10372
|
-
|
10373
|
-
.styles-module_greeting__gAW3N {
|
10374
|
-
color: var(--color-system-text-100);
|
10375
|
-
font-size: 14px;
|
10376
|
-
font-weight: 700;
|
10377
|
-
text-transform: uppercase;
|
10378
|
-
line-height: 1;
|
10379
|
-
}
|
10380
|
-
|
10381
|
-
/* * */
|
10382
|
-
/* OPTIONS */
|
10383
|
-
|
10384
|
-
.styles-module_options__eMGiK {
|
10385
|
-
display: flex;
|
10386
|
-
flex-direction: row;
|
10387
|
-
gap: var(--size-md);
|
10371
|
+
z-index: 50;
|
10372
|
+
display: flex;
|
10373
|
+
flex-direction: row;
|
10374
|
+
align-items: center;
|
10375
|
+
justify-content: flex-start;
|
10376
|
+
width: 100%;
|
10377
|
+
height: 100%;
|
10378
|
+
padding: var(--size-spacing-sm);
|
10379
|
+
padding-left: var(--size-spacing-lg);
|
10380
|
+
background-color: var(--color-system-background-100);
|
10381
|
+
border-bottom: 1px solid var(--color-system-border-100);
|
10382
|
+
box-shadow: 0 0 10px -5px rgb(0 0 0 / 20%);
|
10388
10383
|
}
|
10389
|
-
|
10390
10384
|
/* * */
|
10391
10385
|
/* CONTAINER */
|
10392
10386
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tmlmobilidade/ui",
|
3
|
-
"version": "
|
3
|
+
"version": "20250408.2323.59",
|
4
4
|
"author": "",
|
5
5
|
"license": "ISC",
|
6
6
|
"publishConfig": {
|
@@ -38,12 +38,12 @@
|
|
38
38
|
"swr": "2.x"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@mantine/core": "7.17.
|
42
|
-
"@mantine/dates": "7.17.
|
43
|
-
"@mantine/form": "7.17.
|
44
|
-
"@mantine/hooks": "7.17.
|
45
|
-
"@mantine/modals": "7.17.
|
46
|
-
"@mantine/notifications": "7.17.
|
41
|
+
"@mantine/core": "7.17.4",
|
42
|
+
"@mantine/dates": "7.17.4",
|
43
|
+
"@mantine/form": "7.17.4",
|
44
|
+
"@mantine/hooks": "7.17.4",
|
45
|
+
"@mantine/modals": "7.17.4",
|
46
|
+
"@mantine/notifications": "7.17.4",
|
47
47
|
"@tabler/icons-react": "3.31.0",
|
48
48
|
"@tmlmobilidade/lib": "*",
|
49
49
|
"@tmlmobilidade/types": "*",
|
@@ -61,7 +61,7 @@
|
|
61
61
|
"@turf/helpers": "7.2.0",
|
62
62
|
"@turf/turf": "7.2.0",
|
63
63
|
"@types/geojson": "7946.0.16",
|
64
|
-
"@types/luxon": "3.6.
|
64
|
+
"@types/luxon": "3.6.2",
|
65
65
|
"@types/node": "22.14.0",
|
66
66
|
"@types/react": "19.1.0",
|
67
67
|
"@types/react-dom": "19.1.1",
|
@@ -76,6 +76,6 @@
|
|
76
76
|
"rollup-preserve-directives": "1.1.3",
|
77
77
|
"swr": "2.3.3",
|
78
78
|
"tsx": "4.19.3",
|
79
|
-
"typescript": "5.8.
|
79
|
+
"typescript": "5.8.3"
|
80
80
|
}
|
81
81
|
}
|