@tmlmobilidade/ui 20251003.1302.40-staging.0 → 20251006.1055.51
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 +40 -12
- package/dist/index.css.map +1 -1
- package/dist/src/components/inputs/CoordinatesInput/index.js +1 -1
- package/dist/src/components/layout/AppWrapperNotificationCentralItemContent/index.js +25 -15
- package/dist/src/components/layout/AppWrapperNotificationCentralItemContent/index.js.map +1 -1
- package/dist/src/components/layout/AppWrapperNotificationCentralItemContent/styles.module.css.js +1 -1
- package/dist/src/components/layout/AppWrapperNotificationCentralReadList/index.js +1 -1
- package/dist/src/components/layout/AppWrapperNotificationCentralReadList/index.js.map +1 -1
- package/dist/src/components/layout/AppWrapperNotificationCentralUnreadList/index.js +2 -2
- package/dist/src/components/layout/AppWrapperNotificationCentralUnreadList/index.js.map +1 -1
- package/dist/src/components/layout/AppWrapperOptions/index.js +2 -7
- package/dist/src/components/layout/AppWrapperOptions/index.js.map +1 -1
- package/dist/src/components/map/view/MapViewToolbar/index.js +1 -1
- package/dist/src/components/upload/FileUpload/index.js +1 -1
- package/dist/src/contexts/Notifications.context.js +13 -35
- package/dist/src/contexts/Notifications.context.js.map +1 -1
- package/dist/src/providers/AppProvider/index.js +1 -2
- package/dist/src/providers/AppProvider/index.js.map +1 -1
- package/dist/styles-no-reset.css +40 -12
- package/dist/styles.css +40 -12
- package/package.json +13 -13
package/dist/styles-no-reset.css
CHANGED
@@ -1943,6 +1943,18 @@
|
|
1943
1943
|
background-color: var(--color-system-background-50);
|
1944
1944
|
}
|
1945
1945
|
|
1946
|
+
/* Left side: two stacked rows */
|
1947
|
+
.styles-module_notificationLeftTop__PEOTD {
|
1948
|
+
grid-row: 1;
|
1949
|
+
grid-column: 1;
|
1950
|
+
}
|
1951
|
+
|
1952
|
+
.styles-module_notificationLeftBottom__TlEwW {
|
1953
|
+
grid-row: 2;
|
1954
|
+
grid-column: 1;
|
1955
|
+
align-self: start;
|
1956
|
+
}
|
1957
|
+
|
1946
1958
|
/* Right side: spans both rows */
|
1947
1959
|
.styles-module_notificationRight__3tOSY {
|
1948
1960
|
display: grid;
|
@@ -1954,6 +1966,12 @@
|
|
1954
1966
|
align-items: center;
|
1955
1967
|
}
|
1956
1968
|
|
1969
|
+
.styles-module_notificationRightDelete__awWqb {
|
1970
|
+
display: flex;
|
1971
|
+
align-items: center;
|
1972
|
+
justify-content: end;
|
1973
|
+
}
|
1974
|
+
|
1957
1975
|
.styles-module_notificationRightImage__SjiQh {
|
1958
1976
|
display: flex;
|
1959
1977
|
align-items: center;
|
@@ -1963,8 +1981,6 @@
|
|
1963
1981
|
/* * */
|
1964
1982
|
/* Notification Title */
|
1965
1983
|
.styles-module_notificationTitle__atOaL{
|
1966
|
-
grid-row: 1;
|
1967
|
-
grid-column: 1;
|
1968
1984
|
font-size: 14px;
|
1969
1985
|
font-weight: bold;
|
1970
1986
|
}
|
@@ -1972,9 +1988,6 @@
|
|
1972
1988
|
/* * */
|
1973
1989
|
/* Notification Body */
|
1974
1990
|
.styles-module_notificationBody__zJz0o{
|
1975
|
-
grid-row: 2;
|
1976
|
-
grid-column: 1;
|
1977
|
-
align-self: start;
|
1978
1991
|
font-size: 14px;
|
1979
1992
|
font-weight: normal;
|
1980
1993
|
}
|
@@ -1983,9 +1996,7 @@
|
|
1983
1996
|
/* Notification Delete Icon */
|
1984
1997
|
.styles-module_notificationDeleteIcon__zy-o4 {
|
1985
1998
|
z-index: 998;
|
1986
|
-
|
1987
|
-
align-items: center;
|
1988
|
-
justify-content: end;
|
1999
|
+
justify-content: end;
|
1989
2000
|
color: var(--color-system-icon);
|
1990
2001
|
cursor: pointer;
|
1991
2002
|
}
|
@@ -5500,7 +5511,17 @@ fieldset:disabled .m_8ee546b8,
|
|
5500
5511
|
|
5501
5512
|
--checkbox-size: var(--checkbox-size-sm);
|
5502
5513
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5503
|
-
|
5514
|
+
}
|
5515
|
+
|
5516
|
+
.m_5e5256ee:where([data-variant='filled']) {
|
5517
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5518
|
+
}
|
5519
|
+
|
5520
|
+
.m_5e5256ee:where([data-variant='outline']) {
|
5521
|
+
--checkbox-icon-color: var(--checkbox-color);
|
5522
|
+
}
|
5523
|
+
|
5524
|
+
.m_5e5256ee {
|
5504
5525
|
|
5505
5526
|
position: relative;
|
5506
5527
|
border: calc(0.0625rem * var(--mantine-scale)) solid transparent;
|
@@ -5562,7 +5583,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5562
5583
|
}
|
5563
5584
|
|
5564
5585
|
.m_76e20374[data-indeterminate]:not([data-disabled]) > .m_1b1c543a, .m_76e20374[data-checked]:not([data-disabled]) > .m_1b1c543a {
|
5565
|
-
color: var(--checkbox-color);
|
5586
|
+
color: var(--checkbox-icon-color);
|
5566
5587
|
opacity: 1;
|
5567
5588
|
transform: none;
|
5568
5589
|
}
|
@@ -5588,9 +5609,16 @@ fieldset:disabled .m_8ee546b8,
|
|
5588
5609
|
|
5589
5610
|
--checkbox-size: var(--checkbox-size-sm);
|
5590
5611
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5591
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5592
5612
|
}
|
5593
5613
|
|
5614
|
+
.m_bf2d988c:where([data-variant='filled']) {
|
5615
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5616
|
+
}
|
5617
|
+
|
5618
|
+
.m_bf2d988c:where([data-variant='outline']) {
|
5619
|
+
--checkbox-icon-color: var(--checkbox-color);
|
5620
|
+
}
|
5621
|
+
|
5594
5622
|
.m_26062bec {
|
5595
5623
|
position: relative;
|
5596
5624
|
width: var(--checkbox-size);
|
@@ -5664,7 +5692,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5664
5692
|
}
|
5665
5693
|
|
5666
5694
|
.m_215c4542[data-indeterminate]:not(:disabled) + .m_bf295423, .m_215c4542:checked:not(:disabled) + .m_bf295423 {
|
5667
|
-
color: var(--checkbox-color);
|
5695
|
+
color: var(--checkbox-icon-color);
|
5668
5696
|
opacity: 1;
|
5669
5697
|
transform: none;
|
5670
5698
|
}
|
package/dist/styles.css
CHANGED
@@ -2003,6 +2003,18 @@ figure {
|
|
2003
2003
|
background-color: var(--color-system-background-50);
|
2004
2004
|
}
|
2005
2005
|
|
2006
|
+
/* Left side: two stacked rows */
|
2007
|
+
.styles-module_notificationLeftTop__PEOTD {
|
2008
|
+
grid-row: 1;
|
2009
|
+
grid-column: 1;
|
2010
|
+
}
|
2011
|
+
|
2012
|
+
.styles-module_notificationLeftBottom__TlEwW {
|
2013
|
+
grid-row: 2;
|
2014
|
+
grid-column: 1;
|
2015
|
+
align-self: start;
|
2016
|
+
}
|
2017
|
+
|
2006
2018
|
/* Right side: spans both rows */
|
2007
2019
|
.styles-module_notificationRight__3tOSY {
|
2008
2020
|
display: grid;
|
@@ -2014,6 +2026,12 @@ figure {
|
|
2014
2026
|
align-items: center;
|
2015
2027
|
}
|
2016
2028
|
|
2029
|
+
.styles-module_notificationRightDelete__awWqb {
|
2030
|
+
display: flex;
|
2031
|
+
align-items: center;
|
2032
|
+
justify-content: end;
|
2033
|
+
}
|
2034
|
+
|
2017
2035
|
.styles-module_notificationRightImage__SjiQh {
|
2018
2036
|
display: flex;
|
2019
2037
|
align-items: center;
|
@@ -2023,8 +2041,6 @@ figure {
|
|
2023
2041
|
/* * */
|
2024
2042
|
/* Notification Title */
|
2025
2043
|
.styles-module_notificationTitle__atOaL{
|
2026
|
-
grid-row: 1;
|
2027
|
-
grid-column: 1;
|
2028
2044
|
font-size: 14px;
|
2029
2045
|
font-weight: bold;
|
2030
2046
|
}
|
@@ -2032,9 +2048,6 @@ figure {
|
|
2032
2048
|
/* * */
|
2033
2049
|
/* Notification Body */
|
2034
2050
|
.styles-module_notificationBody__zJz0o{
|
2035
|
-
grid-row: 2;
|
2036
|
-
grid-column: 1;
|
2037
|
-
align-self: start;
|
2038
2051
|
font-size: 14px;
|
2039
2052
|
font-weight: normal;
|
2040
2053
|
}
|
@@ -2043,9 +2056,7 @@ figure {
|
|
2043
2056
|
/* Notification Delete Icon */
|
2044
2057
|
.styles-module_notificationDeleteIcon__zy-o4 {
|
2045
2058
|
z-index: 998;
|
2046
|
-
|
2047
|
-
align-items: center;
|
2048
|
-
justify-content: end;
|
2059
|
+
justify-content: end;
|
2049
2060
|
color: var(--color-system-icon);
|
2050
2061
|
cursor: pointer;
|
2051
2062
|
}
|
@@ -5560,7 +5571,17 @@ fieldset:disabled .m_8ee546b8,
|
|
5560
5571
|
|
5561
5572
|
--checkbox-size: var(--checkbox-size-sm);
|
5562
5573
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5563
|
-
|
5574
|
+
}
|
5575
|
+
|
5576
|
+
.m_5e5256ee:where([data-variant='filled']) {
|
5577
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5578
|
+
}
|
5579
|
+
|
5580
|
+
.m_5e5256ee:where([data-variant='outline']) {
|
5581
|
+
--checkbox-icon-color: var(--checkbox-color);
|
5582
|
+
}
|
5583
|
+
|
5584
|
+
.m_5e5256ee {
|
5564
5585
|
|
5565
5586
|
position: relative;
|
5566
5587
|
border: calc(0.0625rem * var(--mantine-scale)) solid transparent;
|
@@ -5622,7 +5643,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5622
5643
|
}
|
5623
5644
|
|
5624
5645
|
.m_76e20374[data-indeterminate]:not([data-disabled]) > .m_1b1c543a, .m_76e20374[data-checked]:not([data-disabled]) > .m_1b1c543a {
|
5625
|
-
color: var(--checkbox-color);
|
5646
|
+
color: var(--checkbox-icon-color);
|
5626
5647
|
opacity: 1;
|
5627
5648
|
transform: none;
|
5628
5649
|
}
|
@@ -5648,9 +5669,16 @@ fieldset:disabled .m_8ee546b8,
|
|
5648
5669
|
|
5649
5670
|
--checkbox-size: var(--checkbox-size-sm);
|
5650
5671
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5651
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5652
5672
|
}
|
5653
5673
|
|
5674
|
+
.m_bf2d988c:where([data-variant='filled']) {
|
5675
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5676
|
+
}
|
5677
|
+
|
5678
|
+
.m_bf2d988c:where([data-variant='outline']) {
|
5679
|
+
--checkbox-icon-color: var(--checkbox-color);
|
5680
|
+
}
|
5681
|
+
|
5654
5682
|
.m_26062bec {
|
5655
5683
|
position: relative;
|
5656
5684
|
width: var(--checkbox-size);
|
@@ -5724,7 +5752,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5724
5752
|
}
|
5725
5753
|
|
5726
5754
|
.m_215c4542[data-indeterminate]:not(:disabled) + .m_bf295423, .m_215c4542:checked:not(:disabled) + .m_bf295423 {
|
5727
|
-
color: var(--checkbox-color);
|
5755
|
+
color: var(--checkbox-icon-color);
|
5728
5756
|
opacity: 1;
|
5729
5757
|
transform: none;
|
5730
5758
|
}
|
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": "
|
4
|
+
"version": "20251006.1055.51",
|
5
5
|
"author": "João de Vasconcelos & Jusi Monteiro",
|
6
6
|
"license": "AGPL-3.0-or-later",
|
7
7
|
"publishConfig": {
|
@@ -42,18 +42,18 @@
|
|
42
42
|
"path": false
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@carrismetropolitana/api-types": "^20251001.
|
46
|
-
"@mantine/core": "8.3.
|
47
|
-
"@mantine/dates": "8.3.
|
48
|
-
"@mantine/form": "8.3.
|
49
|
-
"@mantine/hooks": "8.3.
|
50
|
-
"@mantine/modals": "8.3.
|
51
|
-
"@mantine/notifications": "8.3.
|
45
|
+
"@carrismetropolitana/api-types": "^20251001.1707.13",
|
46
|
+
"@mantine/core": "8.3.3",
|
47
|
+
"@mantine/dates": "8.3.3",
|
48
|
+
"@mantine/form": "8.3.3",
|
49
|
+
"@mantine/hooks": "8.3.3",
|
50
|
+
"@mantine/modals": "8.3.3",
|
51
|
+
"@mantine/notifications": "8.3.3",
|
52
52
|
"@tabler/icons-react": "3.35.0",
|
53
53
|
"@tmlmobilidade/lib": "*",
|
54
54
|
"@tmlmobilidade/types": "*",
|
55
55
|
"@tmlmobilidade/utils": "*",
|
56
|
-
"@vis.gl/react-maplibre": "8.0
|
56
|
+
"@vis.gl/react-maplibre": "8.1.0",
|
57
57
|
"clsx": "2.1.1",
|
58
58
|
"luxon": "3.7.2",
|
59
59
|
"mantine-form-zod-resolver": "1.3.0",
|
@@ -64,14 +64,14 @@
|
|
64
64
|
},
|
65
65
|
"devDependencies": {
|
66
66
|
"@rollup/plugin-commonjs": "28.0.6",
|
67
|
-
"@rollup/plugin-node-resolve": "16.0.
|
67
|
+
"@rollup/plugin-node-resolve": "16.0.2",
|
68
68
|
"@rollup/plugin-typescript": "12.1.4",
|
69
69
|
"@turf/turf": "7.2.0",
|
70
70
|
"@types/geojson": "7946.0.16",
|
71
71
|
"@types/luxon": "3.7.1",
|
72
|
-
"@types/node": "24.
|
73
|
-
"@types/react": "19.1.
|
74
|
-
"@types/react-dom": "19.1.
|
72
|
+
"@types/node": "24.7.0",
|
73
|
+
"@types/react": "19.1.1",
|
74
|
+
"@types/react-dom": "19.1.1",
|
75
75
|
"nodemon": "3.1.10",
|
76
76
|
"postcss": "8.5.6",
|
77
77
|
"react": "19.1.1",
|