@tmlmobilidade/ui 20251006.1651.45 → 20251007.946.5-staging.0
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 +6 -23
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/styles-no-reset.css +6 -23
- package/dist/styles.css +6 -23
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
@@ -38,7 +38,7 @@ interface NoResourceKeyOrValue {
|
|
38
38
|
value?: never;
|
39
39
|
}
|
40
40
|
type HasPermissionFinalProps<T> = HasPermissionProps & (NoResourceKeyOrValue | ResourceKeyAndValue<T>);
|
41
|
-
declare function HasPermission<T extends Record<string, unknown>>({ action, children, fallback, resource_key, scope, value }: HasPermissionFinalProps<T>): string | number | bigint | boolean |
|
41
|
+
declare function HasPermission<T extends Record<string, unknown>>({ action, children, fallback, resource_key, scope, value }: HasPermissionFinalProps<T>): string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null;
|
42
42
|
|
43
43
|
interface BackButtonProps {
|
44
44
|
onClick?: () => void;
|
package/dist/styles-no-reset.css
CHANGED
@@ -1912,7 +1912,7 @@
|
|
1912
1912
|
/* * */
|
1913
1913
|
/* Notification Content Wrapper */
|
1914
1914
|
.styles-module_notificationContentWrapperRead__lnfth {
|
1915
|
-
|
1915
|
+
display: grid;
|
1916
1916
|
grid-template-rows: auto auto;
|
1917
1917
|
grid-template-columns: auto 1fr;
|
1918
1918
|
gap: 8px;
|
@@ -1963,7 +1963,7 @@
|
|
1963
1963
|
/* * */
|
1964
1964
|
/* Notification Title */
|
1965
1965
|
.styles-module_notificationTitle__atOaL{
|
1966
|
-
|
1966
|
+
grid-row: 1;
|
1967
1967
|
grid-column: 1;
|
1968
1968
|
font-size: 14px;
|
1969
1969
|
font-weight: bold;
|
@@ -5500,17 +5500,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5500
5500
|
|
5501
5501
|
--checkbox-size: var(--checkbox-size-sm);
|
5502
5502
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5503
|
-
|
5504
|
-
|
5505
|
-
.m_5e5256ee:where([data-variant='filled']) {
|
5506
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5507
|
-
}
|
5508
|
-
|
5509
|
-
.m_5e5256ee:where([data-variant='outline']) {
|
5510
|
-
--checkbox-icon-color: var(--checkbox-color);
|
5511
|
-
}
|
5512
|
-
|
5513
|
-
.m_5e5256ee {
|
5503
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5514
5504
|
|
5515
5505
|
position: relative;
|
5516
5506
|
border: calc(0.0625rem * var(--mantine-scale)) solid transparent;
|
@@ -5572,7 +5562,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5572
5562
|
}
|
5573
5563
|
|
5574
5564
|
.m_76e20374[data-indeterminate]:not([data-disabled]) > .m_1b1c543a, .m_76e20374[data-checked]:not([data-disabled]) > .m_1b1c543a {
|
5575
|
-
color: var(--checkbox-
|
5565
|
+
color: var(--checkbox-color);
|
5576
5566
|
opacity: 1;
|
5577
5567
|
transform: none;
|
5578
5568
|
}
|
@@ -5598,16 +5588,9 @@ fieldset:disabled .m_8ee546b8,
|
|
5598
5588
|
|
5599
5589
|
--checkbox-size: var(--checkbox-size-sm);
|
5600
5590
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5591
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5601
5592
|
}
|
5602
5593
|
|
5603
|
-
.m_bf2d988c:where([data-variant='filled']) {
|
5604
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5605
|
-
}
|
5606
|
-
|
5607
|
-
.m_bf2d988c:where([data-variant='outline']) {
|
5608
|
-
--checkbox-icon-color: var(--checkbox-color);
|
5609
|
-
}
|
5610
|
-
|
5611
5594
|
.m_26062bec {
|
5612
5595
|
position: relative;
|
5613
5596
|
width: var(--checkbox-size);
|
@@ -5681,7 +5664,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5681
5664
|
}
|
5682
5665
|
|
5683
5666
|
.m_215c4542[data-indeterminate]:not(:disabled) + .m_bf295423, .m_215c4542:checked:not(:disabled) + .m_bf295423 {
|
5684
|
-
color: var(--checkbox-
|
5667
|
+
color: var(--checkbox-color);
|
5685
5668
|
opacity: 1;
|
5686
5669
|
transform: none;
|
5687
5670
|
}
|
package/dist/styles.css
CHANGED
@@ -1972,7 +1972,7 @@ figure {
|
|
1972
1972
|
/* * */
|
1973
1973
|
/* Notification Content Wrapper */
|
1974
1974
|
.styles-module_notificationContentWrapperRead__lnfth {
|
1975
|
-
|
1975
|
+
display: grid;
|
1976
1976
|
grid-template-rows: auto auto;
|
1977
1977
|
grid-template-columns: auto 1fr;
|
1978
1978
|
gap: 8px;
|
@@ -2023,7 +2023,7 @@ figure {
|
|
2023
2023
|
/* * */
|
2024
2024
|
/* Notification Title */
|
2025
2025
|
.styles-module_notificationTitle__atOaL{
|
2026
|
-
|
2026
|
+
grid-row: 1;
|
2027
2027
|
grid-column: 1;
|
2028
2028
|
font-size: 14px;
|
2029
2029
|
font-weight: bold;
|
@@ -5560,17 +5560,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5560
5560
|
|
5561
5561
|
--checkbox-size: var(--checkbox-size-sm);
|
5562
5562
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5563
|
-
|
5564
|
-
|
5565
|
-
.m_5e5256ee:where([data-variant='filled']) {
|
5566
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5567
|
-
}
|
5568
|
-
|
5569
|
-
.m_5e5256ee:where([data-variant='outline']) {
|
5570
|
-
--checkbox-icon-color: var(--checkbox-color);
|
5571
|
-
}
|
5572
|
-
|
5573
|
-
.m_5e5256ee {
|
5563
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5574
5564
|
|
5575
5565
|
position: relative;
|
5576
5566
|
border: calc(0.0625rem * var(--mantine-scale)) solid transparent;
|
@@ -5632,7 +5622,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5632
5622
|
}
|
5633
5623
|
|
5634
5624
|
.m_76e20374[data-indeterminate]:not([data-disabled]) > .m_1b1c543a, .m_76e20374[data-checked]:not([data-disabled]) > .m_1b1c543a {
|
5635
|
-
color: var(--checkbox-
|
5625
|
+
color: var(--checkbox-color);
|
5636
5626
|
opacity: 1;
|
5637
5627
|
transform: none;
|
5638
5628
|
}
|
@@ -5658,16 +5648,9 @@ fieldset:disabled .m_8ee546b8,
|
|
5658
5648
|
|
5659
5649
|
--checkbox-size: var(--checkbox-size-sm);
|
5660
5650
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5651
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5661
5652
|
}
|
5662
5653
|
|
5663
|
-
.m_bf2d988c:where([data-variant='filled']) {
|
5664
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5665
|
-
}
|
5666
|
-
|
5667
|
-
.m_bf2d988c:where([data-variant='outline']) {
|
5668
|
-
--checkbox-icon-color: var(--checkbox-color);
|
5669
|
-
}
|
5670
|
-
|
5671
5654
|
.m_26062bec {
|
5672
5655
|
position: relative;
|
5673
5656
|
width: var(--checkbox-size);
|
@@ -5741,7 +5724,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5741
5724
|
}
|
5742
5725
|
|
5743
5726
|
.m_215c4542[data-indeterminate]:not(:disabled) + .m_bf295423, .m_215c4542:checked:not(:disabled) + .m_bf295423 {
|
5744
|
-
color: var(--checkbox-
|
5727
|
+
color: var(--checkbox-color);
|
5745
5728
|
opacity: 1;
|
5746
5729
|
transform: none;
|
5747
5730
|
}
|
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": "20251007.946.5-staging.0",
|
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.1550.12",
|
46
|
+
"@mantine/core": "8.3.2",
|
47
|
+
"@mantine/dates": "8.3.2",
|
48
|
+
"@mantine/form": "8.3.2",
|
49
|
+
"@mantine/hooks": "8.3.2",
|
50
|
+
"@mantine/modals": "8.3.2",
|
51
|
+
"@mantine/notifications": "8.3.2",
|
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.
|
56
|
+
"@vis.gl/react-maplibre": "8.0.4",
|
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.1",
|
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.6.1",
|
73
|
+
"@types/react": "19.1.16",
|
74
|
+
"@types/react-dom": "19.1.9",
|
75
75
|
"nodemon": "3.1.10",
|
76
76
|
"postcss": "8.5.6",
|
77
77
|
"react": "19.1.1",
|