@tmlmobilidade/ui 20250210.1115.1 → 20250226.1358.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.
@@ -1,5 +1,6 @@
1
1
  import { ComboboxProps as MantineComboboxProps } from '@mantine/core';
2
2
  export interface DataItem {
3
+ icon?: React.ReactNode;
3
4
  label: string;
4
5
  value: string;
5
6
  }
@@ -0,0 +1 @@
1
+ export { getTreeExpandedState, RenderTreeNodePayload, Tree, TreeNodeData, useTree } from '@mantine/core';
@@ -19,3 +19,4 @@ export { default as Text } from './Text';
19
19
  export { default as TextArea } from './TextArea';
20
20
  export { default as TextInput } from './TextInput';
21
21
  export { default as Tooltip } from './Tooltip';
22
+ export * from './Tree';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { BadgeProps as BadgeProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ComboboxProps, MenuProps as MenuProps$1, MenuTargetProps as MenuTargetProps$1, MenuDropdownProps as MenuDropdownProps$1, MenuItemProps as MenuItemProps$1, MenuDividerProps as MenuDividerProps$1, MenuLabelProps as MenuLabelProps$1, PasswordInputProps, SegmentedControlProps as SegmentedControlProps$1, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TextProps as TextProps$1, TextareaProps, TextInputProps as TextInputProps$1, TooltipProps as TooltipProps$1, AccordionStylesNames } from '@mantine/core';
3
+ export { RenderTreeNodePayload, Tree, TreeNodeData, getTreeExpandedState, useTree } from '@mantine/core';
3
4
  import * as React$1 from 'react';
4
5
  import React__default from 'react';
5
6
  import { DateTimePickerProps as DateTimePickerProps$1 } from '@mantine/dates';
@@ -48,6 +49,7 @@ type CheckboxProps = CheckboxProps$1;
48
49
  declare function Checkbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
49
50
 
50
51
  interface DataItem {
52
+ icon?: React.ReactNode;
51
53
  label: string;
52
54
  value: string;
53
55
  }
package/dist/styles.css CHANGED
@@ -808,52 +808,52 @@ breakpoint-mobile {
808
808
  color: var(--color-status-active-contrast);
809
809
  }
810
810
  .styles-module_inner__d9DH7 {
811
- display: flex;
812
- align-items: center;
813
- justify-content: center;
814
- height: 24px;
815
- width: 24px;
811
+ display: flex;
812
+ align-items: center;
813
+ justify-content: center;
814
+ height: 24px;
815
+ width: 24px;
816
816
  }
817
817
 
818
818
  .styles-module_input__rce0R {
819
- outline: 2px solid var(--color-system-text-300);
820
- border-radius: var(--border-radius-sm);
819
+ outline: 2px solid var(--color-system-text-300);
820
+ border-radius: var(--border-radius-sm);
821
821
  }
822
822
 
823
- .styles-module_input__rce0R:checked {
824
- background-color: var(--color-primary);
825
- outline-color: var(--color-secondary);
823
+ .styles-module_input__rce0R:checked,
824
+ .styles-module_input__rce0R[data-indeterminate='true'] {
825
+ background-color: var(--color-primary);
826
+ outline-color: var(--color-secondary);
826
827
  }
827
828
 
828
-
829
829
  .styles-module_labelWrapper__AGQzf {
830
- display: flex;
831
- flex-direction: column;
832
- gap: var(--size-spacing-xs);
830
+ display: flex;
831
+ flex-direction: column;
832
+ gap: var(--size-spacing-xs);
833
833
  }
834
834
 
835
835
  .styles-module_label__U404g {
836
- font-size: var(--font-size-base);
837
- line-height: var(--font-line-height-base);
838
- font-weight: var(--font-weight-semibold);
839
- color: var(--color-system-text-100);
840
- margin: 0;
836
+ font-size: var(--font-size-base);
837
+ line-height: var(--font-line-height-base);
838
+ font-weight: var(--font-weight-semibold);
839
+ color: var(--color-system-text-100);
840
+ margin: 0;
841
841
  }
842
842
 
843
843
  .styles-module_description__bkV5V {
844
- font-size: var(--font-size-sm);
845
- line-height: var(--font-line-height-sm);
846
- font-weight: var(--font-weight-medium);
847
- color: var(--color-system-text-200);
848
- margin: 0;
844
+ font-size: var(--font-size-sm);
845
+ line-height: var(--font-line-height-sm);
846
+ font-weight: var(--font-weight-medium);
847
+ color: var(--color-system-text-200);
848
+ margin: 0;
849
849
  }
850
850
 
851
851
  .styles-module_error__ZtPYT {
852
- font-size: var(--font-size-sm);
853
- line-height: var(--font-line-height-sm);
854
- font-weight: var(--font-weight-medium);
855
- margin: 0;
856
- color: var(--color-status-danger-primary);
852
+ font-size: var(--font-size-sm);
853
+ line-height: var(--font-line-height-sm);
854
+ font-weight: var(--font-weight-medium);
855
+ margin: 0;
856
+ color: var(--color-status-danger-primary);
857
857
  }
858
858
  /* * */
859
859
  /* WRAPPER */
@@ -2580,6 +2580,7 @@ fieldset:disabled .mantine-active:active {
2580
2580
 
2581
2581
  .m_c0783ff9 {
2582
2582
  scrollbar-width: none;
2583
+ overscroll-behavior: var(--scrollarea-over-scroll-behavior);
2583
2584
  -ms-overflow-style: none;
2584
2585
  -webkit-overflow-scrolling: touch;
2585
2586
  width: 100%;
@@ -3957,6 +3958,24 @@ fieldset:disabled .mantine-active:active {
3957
3958
  }
3958
3959
  }
3959
3960
 
3961
+ .m_849cf0da:where([data-underline='not-hover']) {
3962
+ text-decoration: underline;
3963
+ }
3964
+
3965
+ @media (hover: hover) {
3966
+
3967
+ .m_849cf0da:where([data-underline='not-hover']):hover {
3968
+ text-decoration: none;
3969
+ }
3970
+ }
3971
+
3972
+ @media (hover: none) {
3973
+
3974
+ .m_849cf0da:where([data-underline='not-hover']):active {
3975
+ text-decoration: none;
3976
+ }
3977
+ }
3978
+
3960
3979
  .m_849cf0da:where([data-underline='always']) {
3961
3980
  text-decoration: underline;
3962
3981
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/ui",
3
- "version": "20250210.1115.01",
3
+ "version": "20250226.1358.59",
4
4
  "author": "",
5
5
  "license": "ISC",
6
6
  "publishConfig": {
@@ -53,7 +53,7 @@
53
53
  "@mantine/modals": "^7.16.0",
54
54
  "@mantine/notifications": "^7.16.1",
55
55
  "@tabler/icons-react": "3.26.0",
56
- "@tmlmobilidade/core-types": "^20250122.1750.21",
56
+ "@tmlmobilidade/core-types": "^20250225.1653.25",
57
57
  "clsx": "^2.1.1",
58
58
  "js-cookie": "^3.0.5",
59
59
  "luxon": "^3.5.0",