@tmlmobilidade/ui 20250826.1316.20 → 20250826.1437.53

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.
Files changed (38) hide show
  1. package/dist/index.css +233 -0
  2. package/dist/index.css.map +1 -1
  3. package/dist/index.d.ts +48 -3
  4. package/dist/index.js +4 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/src/components/common/LineBadge/index.js +16 -0
  7. package/dist/src/components/common/LineBadge/index.js.map +1 -0
  8. package/dist/src/components/common/LineBadge/styles.module.css.js +4 -0
  9. package/dist/src/components/common/LineBadge/styles.module.css.js.map +1 -0
  10. package/dist/src/components/common/LineDisplay/index.js +21 -0
  11. package/dist/src/components/common/LineDisplay/index.js.map +1 -0
  12. package/dist/src/components/common/LineDisplay/styles.module.css.js +4 -0
  13. package/dist/src/components/common/LineDisplay/styles.module.css.js.map +1 -0
  14. package/dist/src/components/common/LineName/index.js +10 -0
  15. package/dist/src/components/common/LineName/index.js.map +1 -0
  16. package/dist/src/components/common/LineName/styles.module.css.js +4 -0
  17. package/dist/src/components/common/LineName/styles.module.css.js.map +1 -0
  18. package/dist/src/components/common/LineSelect/index.js +80 -0
  19. package/dist/src/components/common/LineSelect/index.js.map +1 -0
  20. package/dist/src/components/common/LineSelect/styles.module.css.js +4 -0
  21. package/dist/src/components/common/LineSelect/styles.module.css.js.map +1 -0
  22. package/dist/src/components/inputs/CoordinatesInput/index.js +2 -0
  23. package/dist/src/components/inputs/CoordinatesInput/index.js.map +1 -1
  24. package/dist/src/components/inputs/SearchInput/index.js +2 -2
  25. package/dist/src/components/inputs/SearchInput/index.js.map +1 -1
  26. package/dist/src/components/map/view/MapViewToolbar/index.js +2 -0
  27. package/dist/src/components/map/view/MapViewToolbar/index.js.map +1 -1
  28. package/dist/src/components/upload/FileUpload/index.js +2 -1
  29. package/dist/src/components/upload/FileUpload/index.js.map +1 -1
  30. package/dist/src/hooks/use-other-search.js +204 -0
  31. package/dist/src/hooks/use-other-search.js.map +1 -0
  32. package/dist/src/styles/mantine/TextInput-xl.module.css.js +4 -0
  33. package/dist/src/styles/mantine/TextInput-xl.module.css.js.map +1 -0
  34. package/dist/src/styles/theme.js +2 -0
  35. package/dist/src/styles/theme.js.map +1 -1
  36. package/dist/styles-no-reset.css +233 -0
  37. package/dist/styles.css +233 -0
  38. package/package.json +4 -2
package/dist/index.css CHANGED
@@ -9804,6 +9804,81 @@ breakpoint-mobile {
9804
9804
  font-weight: var(--font-weight-medium);
9805
9805
  color: var(--color-system-text-200);
9806
9806
  }
9807
+ .TextInput-xl-module_root__pLIg2,
9808
+ .TextInput-xl-module_wrapper__jNRc9 {
9809
+ --input-size: var(--font-size-xl);
9810
+ --input-height: var(--font-size-xl);
9811
+ min-width: 200px;
9812
+ overflow: visible;
9813
+ font-size: var(--font-size-xl);
9814
+ transition: width 300ms ease-in-out
9815
+ }
9816
+
9817
+ /* * */
9818
+ /* INPUT */
9819
+
9820
+ .TextInput-xl-module_input__pA6QL {
9821
+ padding: 0 var(--size-spacing-md);
9822
+ font-size: var(--font-size-xl);
9823
+ font-weight: var(--font-weight-semibold);
9824
+ line-height: 1;
9825
+ color: var(--color-system-text-100);
9826
+ background-color: var(--color-system-background-100);
9827
+ border: 2px solid var(--color-system-border-100);
9828
+ border-radius: 5px;
9829
+ transition: all 200ms ease-in-out;
9830
+ }
9831
+
9832
+ .TextInput-xl-module_input__pA6QL::placeholder {
9833
+ color: var(--color-system-text-300);
9834
+ }
9835
+
9836
+ .TextInput-xl-module_input__pA6QL:focus {
9837
+ background-color: var(--color-system-background-100);
9838
+ border-color: var(--color-primary);
9839
+ box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%);
9840
+ }
9841
+
9842
+ .TextInput-xl-module_wrapper__jNRc9[data-with-left-section="true"] .TextInput-xl-module_input__pA6QL {
9843
+ padding-left: calc(var(--size-spacing-sm) + 46px);
9844
+ }
9845
+
9846
+ .TextInput-xl-module_wrapper__jNRc9[data-with-right-section="true"] .TextInput-xl-module_input__pA6QL {
9847
+ padding-right: calc(var(--size-spacing-sm) + 46px);
9848
+ }
9849
+
9850
+
9851
+ /* * */
9852
+ /* SECTION */
9853
+
9854
+ .TextInput-xl-module_section__iulmc {
9855
+ color: var(--color-system-text-300);
9856
+ }
9857
+
9858
+
9859
+ /* * */
9860
+ /* LABEL */
9861
+
9862
+ .TextInput-xl-module_label__TbVY5 {
9863
+ padding: 0;
9864
+ margin: 0;
9865
+ font-size: var(--font-size-xl);
9866
+ font-weight: var(--font-weight-semibold);
9867
+ line-height: var(--font-line-height);
9868
+ color: var(--color-system-text-100);
9869
+ }
9870
+
9871
+ /* * */
9872
+ /* DESCRIPTION */
9873
+
9874
+ .TextInput-xl-module_description__pALYF {
9875
+ padding: 0;
9876
+ margin: 0;
9877
+ font-size: var(--font-size-md);
9878
+ font-weight: var(--font-weight-medium);
9879
+ line-height: var(--font-line-height);
9880
+ color: var(--color-system-text-200);
9881
+ }
9807
9882
  .TextInput-module_root__5xZUQ,
9808
9883
  .TextInput-module_wrapper__SJBeM {
9809
9884
  --input-size: 40px;
@@ -10640,6 +10715,164 @@ breakpoint-mobile {
10640
10715
  flex-wrap: wrap-reverse;
10641
10716
  }
10642
10717
 
10718
+ /* * */
10719
+ /* BADGE */
10720
+
10721
+ .styles-module_badge__-PqgE {
10722
+ position: relative;
10723
+ display: flex;
10724
+ align-items: center;
10725
+ justify-content: center;
10726
+ font-weight: var(--font-weight-bold);
10727
+ line-height: 1;
10728
+ color: var(--color-system-background-100);
10729
+ letter-spacing: 1px;
10730
+ background-color: var(--color-system-text-200);
10731
+ border-radius: 999px;
10732
+
10733
+ &[data-size='md'] {
10734
+ min-width: 65px;
10735
+ max-width: 65px;
10736
+ min-height: 26px;
10737
+ max-height: 26px;
10738
+ font-size: 16px;
10739
+ }
10740
+
10741
+ &[data-size='lg'] {
10742
+ min-width: 85px;
10743
+ max-width: 85px;
10744
+ min-height: 34px;
10745
+ max-height: 34px;
10746
+ font-size: 22px;
10747
+ }
10748
+ }
10749
+
10750
+
10751
+ /* * */
10752
+ /* ALERT ICON */
10753
+
10754
+ .styles-module_alertIcon__JtR4k {
10755
+ position: absolute;
10756
+ top: -10px;
10757
+ right: -10px;
10758
+ display: flex;
10759
+ align-items: center;
10760
+ justify-content: center;
10761
+ width: 20px;
10762
+ height: 20px;
10763
+ color: var(--color-status-info-text);
10764
+ background-color: var(--color-primary-white);
10765
+ border-radius: 999px;
10766
+ }
10767
+ /* * */
10768
+ /* NAME */
10769
+
10770
+ .styles-module_name__nmepm {
10771
+ display: -webkit-box;
10772
+ justify-content: flex-start;
10773
+ width: 100%;
10774
+ overflow: hidden;
10775
+ text-overflow: ellipsis;
10776
+ -webkit-line-clamp: 3;
10777
+ color: var(--color-system-text-100);
10778
+ -webkit-box-orient: vertical;
10779
+ }
10780
+
10781
+ /* * */
10782
+ /* SIZE */
10783
+
10784
+ .styles-module_name__nmepm[data-size='md'] {
10785
+ font-size: 15px;
10786
+ font-weight: var(--font-weight-semibold);
10787
+ }
10788
+
10789
+ .styles-module_name__nmepm[data-size='lg'] {
10790
+ font-size: 20px;
10791
+ font-weight: var(--font-weight-semibold);
10792
+ }
10793
+
10794
+ /* * */
10795
+ /* ALIGN */
10796
+
10797
+ .styles-module_name__nmepm[data-align='left'] {
10798
+ align-items: flex-start;
10799
+ text-align: left;
10800
+ }
10801
+
10802
+ .styles-module_name__nmepm[data-align='center'] {
10803
+ align-items: center;
10804
+ text-align: center;
10805
+ }
10806
+ /* * */
10807
+ /* CONTAINER */
10808
+
10809
+ .styles-module_container__A88zF {
10810
+ display: flex;
10811
+ flex-direction: row;
10812
+ gap: var(--size-spacing-sm);
10813
+ align-items: center;
10814
+ justify-content: flex-start;
10815
+ }
10816
+
10817
+ /* * */
10818
+ /* COMBOBOX TARGET WRAPPER */
10819
+
10820
+ .styles-module_comboboxTargetWrapper__MxB1r {
10821
+ position: relative;
10822
+ width: 100%;
10823
+ height: auto;
10824
+ }
10825
+
10826
+ /* * */
10827
+ /* COMBOBOX TARGET INPUT */
10828
+
10829
+ .styles-module_comboboxTargetInput__Qle1Y {
10830
+ width: 100%;
10831
+ height: auto;
10832
+ max-height: none;
10833
+ padding: 13px calc(var(--size-spacing-md) + 30px);
10834
+ padding-bottom: 12px;
10835
+ font-size: 18px;
10836
+ line-height: 1;
10837
+ color: var(--color-system-text-100);
10838
+ background-color: var(--color-system-background-100);
10839
+ border: 1px solid var(--color-system-border-200);
10840
+ border-radius: 5px;
10841
+ }
10842
+
10843
+ /* * */
10844
+ /* COMBOBOX TARGET SECTION */
10845
+
10846
+ .styles-module_comboboxTargetSection__Q9IFI {
10847
+ position: absolute;
10848
+ display: flex;
10849
+ width: auto;
10850
+ padding: var(--size-spacing-sm);
10851
+ color: var(--color-system-text-300);
10852
+ }
10853
+
10854
+ .styles-module_comboboxTargetSection__Q9IFI[data-position="left"] {
10855
+ left: 1px;
10856
+ }
10857
+
10858
+ .styles-module_comboboxTargetSection__Q9IFI[data-position="right"] {
10859
+ right: 1px;
10860
+ }
10861
+
10862
+ /* * */
10863
+ /* COMBOBOX OPTION */
10864
+
10865
+ .styles-module_comboboxOption__gQmRA {
10866
+ padding: 6px;
10867
+ }
10868
+
10869
+ /* * */
10870
+ /* SELECTED */
10871
+
10872
+ .styles-module_selected__AYGBH {
10873
+ background-color: var(--color-system-background-200) !important;
10874
+ }
10875
+
10643
10876
  .styles-module_header__6dpaJ {
10644
10877
  position: sticky;
10645
10878
  top: 0;