@tmlmobilidade/ui 20251006.1604.57-staging.0 → 20251006.1651.45
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 +23 -6
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/styles-no-reset.css +23 -6
- package/dist/styles.css +23 -6
- 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 | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> |
|
41
|
+
declare function HasPermission<T extends Record<string, unknown>>({ action, children, fallback, resource_key, scope, value }: HasPermissionFinalProps<T>): string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | 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,7 +5500,17 @@ fieldset:disabled .m_8ee546b8,
|
|
5500
5500
|
|
5501
5501
|
--checkbox-size: var(--checkbox-size-sm);
|
5502
5502
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5503
|
-
|
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 {
|
5504
5514
|
|
5505
5515
|
position: relative;
|
5506
5516
|
border: calc(0.0625rem * var(--mantine-scale)) solid transparent;
|
@@ -5562,7 +5572,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5562
5572
|
}
|
5563
5573
|
|
5564
5574
|
.m_76e20374[data-indeterminate]:not([data-disabled]) > .m_1b1c543a, .m_76e20374[data-checked]:not([data-disabled]) > .m_1b1c543a {
|
5565
|
-
color: var(--checkbox-color);
|
5575
|
+
color: var(--checkbox-icon-color);
|
5566
5576
|
opacity: 1;
|
5567
5577
|
transform: none;
|
5568
5578
|
}
|
@@ -5588,9 +5598,16 @@ fieldset:disabled .m_8ee546b8,
|
|
5588
5598
|
|
5589
5599
|
--checkbox-size: var(--checkbox-size-sm);
|
5590
5600
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5591
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5592
5601
|
}
|
5593
5602
|
|
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
|
+
|
5594
5611
|
.m_26062bec {
|
5595
5612
|
position: relative;
|
5596
5613
|
width: var(--checkbox-size);
|
@@ -5664,7 +5681,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5664
5681
|
}
|
5665
5682
|
|
5666
5683
|
.m_215c4542[data-indeterminate]:not(:disabled) + .m_bf295423, .m_215c4542:checked:not(:disabled) + .m_bf295423 {
|
5667
|
-
color: var(--checkbox-color);
|
5684
|
+
color: var(--checkbox-icon-color);
|
5668
5685
|
opacity: 1;
|
5669
5686
|
transform: none;
|
5670
5687
|
}
|
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,7 +5560,17 @@ fieldset:disabled .m_8ee546b8,
|
|
5560
5560
|
|
5561
5561
|
--checkbox-size: var(--checkbox-size-sm);
|
5562
5562
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5563
|
-
|
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 {
|
5564
5574
|
|
5565
5575
|
position: relative;
|
5566
5576
|
border: calc(0.0625rem * var(--mantine-scale)) solid transparent;
|
@@ -5622,7 +5632,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5622
5632
|
}
|
5623
5633
|
|
5624
5634
|
.m_76e20374[data-indeterminate]:not([data-disabled]) > .m_1b1c543a, .m_76e20374[data-checked]:not([data-disabled]) > .m_1b1c543a {
|
5625
|
-
color: var(--checkbox-color);
|
5635
|
+
color: var(--checkbox-icon-color);
|
5626
5636
|
opacity: 1;
|
5627
5637
|
transform: none;
|
5628
5638
|
}
|
@@ -5648,9 +5658,16 @@ fieldset:disabled .m_8ee546b8,
|
|
5648
5658
|
|
5649
5659
|
--checkbox-size: var(--checkbox-size-sm);
|
5650
5660
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5651
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5652
5661
|
}
|
5653
5662
|
|
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
|
+
|
5654
5671
|
.m_26062bec {
|
5655
5672
|
position: relative;
|
5656
5673
|
width: var(--checkbox-size);
|
@@ -5724,7 +5741,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5724
5741
|
}
|
5725
5742
|
|
5726
5743
|
.m_215c4542[data-indeterminate]:not(:disabled) + .m_bf295423, .m_215c4542:checked:not(:disabled) + .m_bf295423 {
|
5727
|
-
color: var(--checkbox-color);
|
5744
|
+
color: var(--checkbox-icon-color);
|
5728
5745
|
opacity: 1;
|
5729
5746
|
transform: none;
|
5730
5747
|
}
|
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": "20251006.
|
4
|
+
"version": "20251006.1651.45",
|
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",
|