@tmlmobilidade/ui 20251007.1740.45-staging.0 → 20251008.1444.19
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 +21 -4
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/styles-no-reset.css +21 -4
- package/dist/styles.css +21 -4
- 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
@@ -5494,7 +5494,17 @@ fieldset:disabled .m_8ee546b8,
|
|
5494
5494
|
|
5495
5495
|
--checkbox-size: var(--checkbox-size-sm);
|
5496
5496
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5497
|
-
|
5497
|
+
}
|
5498
|
+
|
5499
|
+
.m_5e5256ee:where([data-variant='filled']) {
|
5500
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5501
|
+
}
|
5502
|
+
|
5503
|
+
.m_5e5256ee:where([data-variant='outline']) {
|
5504
|
+
--checkbox-icon-color: var(--checkbox-color);
|
5505
|
+
}
|
5506
|
+
|
5507
|
+
.m_5e5256ee {
|
5498
5508
|
|
5499
5509
|
position: relative;
|
5500
5510
|
border: calc(0.0625rem * var(--mantine-scale)) solid transparent;
|
@@ -5556,7 +5566,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5556
5566
|
}
|
5557
5567
|
|
5558
5568
|
.m_76e20374[data-indeterminate]:not([data-disabled]) > .m_1b1c543a, .m_76e20374[data-checked]:not([data-disabled]) > .m_1b1c543a {
|
5559
|
-
color: var(--checkbox-color);
|
5569
|
+
color: var(--checkbox-icon-color);
|
5560
5570
|
opacity: 1;
|
5561
5571
|
transform: none;
|
5562
5572
|
}
|
@@ -5582,9 +5592,16 @@ fieldset:disabled .m_8ee546b8,
|
|
5582
5592
|
|
5583
5593
|
--checkbox-size: var(--checkbox-size-sm);
|
5584
5594
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5585
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5586
5595
|
}
|
5587
5596
|
|
5597
|
+
.m_bf2d988c:where([data-variant='filled']) {
|
5598
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5599
|
+
}
|
5600
|
+
|
5601
|
+
.m_bf2d988c:where([data-variant='outline']) {
|
5602
|
+
--checkbox-icon-color: var(--checkbox-color);
|
5603
|
+
}
|
5604
|
+
|
5588
5605
|
.m_26062bec {
|
5589
5606
|
position: relative;
|
5590
5607
|
width: var(--checkbox-size);
|
@@ -5658,7 +5675,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5658
5675
|
}
|
5659
5676
|
|
5660
5677
|
.m_215c4542[data-indeterminate]:not(:disabled) + .m_bf295423, .m_215c4542:checked:not(:disabled) + .m_bf295423 {
|
5661
|
-
color: var(--checkbox-color);
|
5678
|
+
color: var(--checkbox-icon-color);
|
5662
5679
|
opacity: 1;
|
5663
5680
|
transform: none;
|
5664
5681
|
}
|
package/dist/styles.css
CHANGED
@@ -5554,7 +5554,17 @@ fieldset:disabled .m_8ee546b8,
|
|
5554
5554
|
|
5555
5555
|
--checkbox-size: var(--checkbox-size-sm);
|
5556
5556
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5557
|
-
|
5557
|
+
}
|
5558
|
+
|
5559
|
+
.m_5e5256ee:where([data-variant='filled']) {
|
5560
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5561
|
+
}
|
5562
|
+
|
5563
|
+
.m_5e5256ee:where([data-variant='outline']) {
|
5564
|
+
--checkbox-icon-color: var(--checkbox-color);
|
5565
|
+
}
|
5566
|
+
|
5567
|
+
.m_5e5256ee {
|
5558
5568
|
|
5559
5569
|
position: relative;
|
5560
5570
|
border: calc(0.0625rem * var(--mantine-scale)) solid transparent;
|
@@ -5616,7 +5626,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5616
5626
|
}
|
5617
5627
|
|
5618
5628
|
.m_76e20374[data-indeterminate]:not([data-disabled]) > .m_1b1c543a, .m_76e20374[data-checked]:not([data-disabled]) > .m_1b1c543a {
|
5619
|
-
color: var(--checkbox-color);
|
5629
|
+
color: var(--checkbox-icon-color);
|
5620
5630
|
opacity: 1;
|
5621
5631
|
transform: none;
|
5622
5632
|
}
|
@@ -5642,9 +5652,16 @@ fieldset:disabled .m_8ee546b8,
|
|
5642
5652
|
|
5643
5653
|
--checkbox-size: var(--checkbox-size-sm);
|
5644
5654
|
--checkbox-color: var(--mantine-primary-color-filled);
|
5645
|
-
--checkbox-icon-color: var(--mantine-color-white);
|
5646
5655
|
}
|
5647
5656
|
|
5657
|
+
.m_bf2d988c:where([data-variant='filled']) {
|
5658
|
+
--checkbox-icon-color: var(--mantine-color-white);
|
5659
|
+
}
|
5660
|
+
|
5661
|
+
.m_bf2d988c:where([data-variant='outline']) {
|
5662
|
+
--checkbox-icon-color: var(--checkbox-color);
|
5663
|
+
}
|
5664
|
+
|
5648
5665
|
.m_26062bec {
|
5649
5666
|
position: relative;
|
5650
5667
|
width: var(--checkbox-size);
|
@@ -5718,7 +5735,7 @@ fieldset:disabled .m_8ee546b8,
|
|
5718
5735
|
}
|
5719
5736
|
|
5720
5737
|
.m_215c4542[data-indeterminate]:not(:disabled) + .m_bf295423, .m_215c4542:checked:not(:disabled) + .m_bf295423 {
|
5721
|
-
color: var(--checkbox-color);
|
5738
|
+
color: var(--checkbox-icon-color);
|
5722
5739
|
opacity: 1;
|
5723
5740
|
transform: none;
|
5724
5741
|
}
|
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": "20251008.1444.19",
|
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",
|