1mpacto-react-ui 2.0.20 → 2.0.22

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 (114) hide show
  1. package/dist/assets/_mixins.scss +72 -72
  2. package/dist/assets/icons/arrow-narrow-down.svg +3 -3
  3. package/dist/assets/style.css +1 -1
  4. package/dist/components/Alert/index.cjs +1 -1
  5. package/dist/components/Alert/index.mjs +40 -40
  6. package/dist/components/Breadcrumbs/Breadcrumbs.cjs +3 -3
  7. package/dist/components/Breadcrumbs/Breadcrumbs.mjs +43 -43
  8. package/dist/components/Button/Button.cjs +12 -12
  9. package/dist/components/Button/Button.config.cjs +1 -1
  10. package/dist/components/Button/Button.config.mjs +3 -1
  11. package/dist/components/Button/Button.mjs +24 -24
  12. package/dist/components/Button/style.module.scss.cjs +1 -1
  13. package/dist/components/Button/style.module.scss.mjs +57 -55
  14. package/dist/components/ButtonIcon/ButtonIcon.cjs +12 -12
  15. package/dist/components/ButtonIcon/ButtonIcon.mjs +20 -20
  16. package/dist/components/ButtonPopover/ButtonPopover.cjs +1 -1
  17. package/dist/components/ButtonPopover/ButtonPopover.mjs +28 -31
  18. package/dist/components/Calendar/Calendar.cjs +1 -1
  19. package/dist/components/Calendar/Calendar.mjs +98 -100
  20. package/dist/components/Calendar/CalendarMonth.cjs +1 -1
  21. package/dist/components/Calendar/CalendarMonth.mjs +41 -42
  22. package/dist/components/Calendar/CalendarRange.cjs +1 -1
  23. package/dist/components/Calendar/CalendarRange.mjs +59 -61
  24. package/dist/components/Calendar/CalendarYear.cjs +3 -3
  25. package/dist/components/Calendar/CalendarYear.mjs +39 -40
  26. package/dist/components/Chart/DoughnutChart.cjs +1 -1
  27. package/dist/components/Chart/DoughnutChart.mjs +93 -96
  28. package/dist/components/Chart/GradientBarChart.cjs +1 -1
  29. package/dist/components/Chart/GradientBarChart.mjs +80 -81
  30. package/dist/components/Chart/GradientLineChart.cjs +1 -1
  31. package/dist/components/Chart/GradientLineChart.mjs +50 -51
  32. package/dist/components/Chart/LineChart.cjs +1 -1
  33. package/dist/components/Chart/LineChart.mjs +23 -23
  34. package/dist/components/Chart/PieChart.cjs +1 -1
  35. package/dist/components/Chart/PieChart.mjs +45 -48
  36. package/dist/components/Collapse/Collapse.cjs +1 -1
  37. package/dist/components/Collapse/Collapse.mjs +23 -24
  38. package/dist/components/DatePicker/DatePicker.cjs +1 -1
  39. package/dist/components/DatePicker/DatePicker.mjs +86 -89
  40. package/dist/components/DatePicker/DateRangePicker.cjs +1 -1
  41. package/dist/components/DatePicker/DateRangePicker.mjs +91 -92
  42. package/dist/components/DatePicker/FilterDate.cjs +1 -1
  43. package/dist/components/DatePicker/FilterDate.mjs +107 -110
  44. package/dist/components/DatePicker/MonthYearPicker.cjs +1 -1
  45. package/dist/components/DatePicker/MonthYearPicker.mjs +51 -53
  46. package/dist/components/FilterContainer/FilterContainer.cjs +1 -1
  47. package/dist/components/FilterContainer/FilterContainer.mjs +27 -27
  48. package/dist/components/Input/InputFloatingInner.cjs +5 -5
  49. package/dist/components/Input/InputFloatingInner.mjs +24 -25
  50. package/dist/components/NumberFormat/NumberFormat.cjs +1 -1
  51. package/dist/components/NumberFormat/NumberFormat.mjs +12 -13
  52. package/dist/components/Pagination/Pagination.cjs +2 -2
  53. package/dist/components/Pagination/Pagination.mjs +76 -80
  54. package/dist/components/SelectDropdownContainer/SelectDropdownContainer.cjs +1 -1
  55. package/dist/components/SelectDropdownContainer/SelectDropdownContainer.mjs +98 -102
  56. package/dist/components/Sidebar/ItemSidebar.cjs +8 -8
  57. package/dist/components/Sidebar/ItemSidebar.mjs +71 -72
  58. package/dist/components/Sidebar/Sidebar.cjs +1 -1
  59. package/dist/components/Sidebar/Sidebar.mjs +65 -68
  60. package/dist/components/Slider/Slider.cjs +1 -0
  61. package/dist/components/Slider/Slider.mjs +61 -0
  62. package/dist/components/Slider/style.module.scss.cjs +1 -0
  63. package/dist/components/Slider/style.module.scss.mjs +14 -0
  64. package/dist/components/Step/Step.cjs +5 -5
  65. package/dist/components/Step/Step.mjs +52 -52
  66. package/dist/components/Table/Table.cjs +3 -3
  67. package/dist/components/Table/Table.mjs +275 -298
  68. package/dist/components/Table/TableSubMobile.cjs +1 -1
  69. package/dist/components/Table/TableSubMobile.mjs +32 -35
  70. package/dist/components/Tabs/Tabs.cjs +8 -8
  71. package/dist/components/Tabs/Tabs.mjs +66 -70
  72. package/dist/components/Textarea/Textarea.cjs +7 -7
  73. package/dist/components/Textarea/Textarea.mjs +47 -50
  74. package/dist/components/Textarea/TextareaFloatingInner.cjs +6 -6
  75. package/dist/components/Textarea/TextareaFloatingInner.mjs +56 -61
  76. package/dist/components/Textarea/TextareaInnerLabel.cjs +6 -6
  77. package/dist/components/Textarea/TextareaInnerLabel.mjs +47 -50
  78. package/dist/components/TimeRange/TimeRange.cjs +1 -1
  79. package/dist/components/TimeRange/TimeRange.mjs +88 -91
  80. package/dist/components/Tooltip/Tooltip.cjs +1 -1
  81. package/dist/components/Tooltip/Tooltip.mjs +44 -46
  82. package/dist/components/Upload/UploadFile.cjs +1 -1
  83. package/dist/components/Upload/UploadFile.mjs +50 -54
  84. package/dist/components/Upload/UploadImage.cjs +12 -12
  85. package/dist/components/Upload/UploadImage.mjs +73 -79
  86. package/dist/components/Upload/UploadMultipleFile.cjs +1 -1
  87. package/dist/components/Upload/UploadMultipleFile.mjs +61 -62
  88. package/dist/components/Virtualization/ListVirtualization.cjs +1 -1
  89. package/dist/components/Virtualization/ListVirtualization.mjs +52 -55
  90. package/dist/components/Virtualization/TableVirtualization.cjs +1 -1
  91. package/dist/components/Virtualization/TableVirtualization.mjs +56 -59
  92. package/dist/config/components/tinymce.cjs +2 -2
  93. package/dist/config/components/tinymce.mjs +3 -3
  94. package/dist/hooks/useCountdown.cjs +1 -1
  95. package/dist/hooks/useCountdown.mjs +15 -15
  96. package/dist/hooks/useDebounce.cjs +1 -1
  97. package/dist/hooks/useDebounce.mjs +19 -19
  98. package/dist/hooks/useOtpInput.cjs +1 -1
  99. package/dist/hooks/useOtpInput.mjs +47 -51
  100. package/dist/index.cjs +1 -1
  101. package/dist/index.mjs +48 -46
  102. package/dist/package.json.cjs +1 -1
  103. package/dist/package.json.d.ts +129 -128
  104. package/dist/package.json.mjs +1 -1
  105. package/dist/src/components/Button/Button.config.d.ts +2 -0
  106. package/dist/src/components/Slider/Slider.d.ts +3 -0
  107. package/dist/src/components/Slider/Slider.stories.d.ts +6 -0
  108. package/dist/src/components/index.d.ts +4 -2
  109. package/dist/src/interfaces/components/Button/index.d.ts +1 -1
  110. package/dist/src/interfaces/components/Slider/index.d.ts +51 -0
  111. package/dist/types-external/table.d.ts +15 -15
  112. package/dist/utils/common.cjs +1 -1
  113. package/dist/utils/common.mjs +172 -173
  114. package/package.json +128 -128
@@ -1,73 +1,73 @@
1
- @use 'sass:map';
2
- @use 'sass:list';
3
-
4
- @mixin ring($width: 1px, $color: 'transparent', $inset: 0, $important: 0) {
5
- $ring-style: 0 0 0 $width $color;
6
- $shadow: if($inset==1, inset $ring-style, $ring-style);
7
-
8
- box-shadow: if($important==1, $shadow !important, $shadow);
9
- }
10
-
11
- @mixin ring-left($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
12
- $ring-style: (-$width) 0 0 $color;
13
- $shadow: if($inset==1, inset $ring-style, $ring-style);
14
-
15
- box-shadow: if($important==1, $shadow !important, $shadow);
16
- }
17
-
18
- @mixin ring-top($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
19
- $ring-style: 0 (-$width) 0 $color;
20
- $shadow: if($inset==1, inset $ring-style, $ring-style);
21
-
22
- box-shadow: if($important==1, $shadow !important, $shadow);
23
- }
24
-
25
- @mixin ring-right($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
26
- $ring-style: $width 0 0 $color;
27
- $shadow: if($inset==1, inset $ring-style, $ring-style);
28
-
29
- box-shadow: if($important==1, $shadow !important, $shadow);
30
- }
31
-
32
- @mixin ring-bottom($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
33
- $ring-style: 0 $width 0 $color;
34
- $shadow: if($inset==1, inset $ring-style, $ring-style);
35
-
36
- box-shadow: if($important==1, $shadow !important, $shadow);
37
- }
38
-
39
- @function getColor($color-map, $color) {
40
- @if map.has-key($color-map, $color) {
41
- @return map.get($color-map, $color);
42
- }
43
-
44
- @return $color;
45
- }
46
-
47
- @mixin getTypography($typo-map, $name, $important: false) {
48
- @if map.has-key($typo-map, $name) {
49
- & {
50
- $values: map.get($typo-map, $name);
51
- $font-size: list.nth($values, 1);
52
- $props: list.nth($values, 2);
53
- $line-height: map.get($props, 'line-height');
54
- $font-weight: map.get($props, 'font-weight');
55
-
56
- @if $important {
57
- font-size: $font-size !important;
58
- line-height: $line-height !important;
59
- font-weight: $font-weight !important;
60
- }
61
-
62
- @else {
63
- font-size: $font-size;
64
- line-height: $line-height;
65
- font-weight: $font-weight;
66
- }
67
- }
68
- }
69
-
70
- @else {
71
- @warn 'Typography "#{$name}" not found in the typography map.';
72
- }
1
+ @use 'sass:map';
2
+ @use 'sass:list';
3
+
4
+ @mixin ring($width: 1px, $color: 'transparent', $inset: 0, $important: 0) {
5
+ $ring-style: 0 0 0 $width $color;
6
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
7
+
8
+ box-shadow: if($important==1, $shadow !important, $shadow);
9
+ }
10
+
11
+ @mixin ring-left($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
12
+ $ring-style: (-$width) 0 0 $color;
13
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
14
+
15
+ box-shadow: if($important==1, $shadow !important, $shadow);
16
+ }
17
+
18
+ @mixin ring-top($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
19
+ $ring-style: 0 (-$width) 0 $color;
20
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
21
+
22
+ box-shadow: if($important==1, $shadow !important, $shadow);
23
+ }
24
+
25
+ @mixin ring-right($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
26
+ $ring-style: $width 0 0 $color;
27
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
28
+
29
+ box-shadow: if($important==1, $shadow !important, $shadow);
30
+ }
31
+
32
+ @mixin ring-bottom($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
33
+ $ring-style: 0 $width 0 $color;
34
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
35
+
36
+ box-shadow: if($important==1, $shadow !important, $shadow);
37
+ }
38
+
39
+ @function getColor($color-map, $color) {
40
+ @if map.has-key($color-map, $color) {
41
+ @return map.get($color-map, $color);
42
+ }
43
+
44
+ @return $color;
45
+ }
46
+
47
+ @mixin getTypography($typo-map, $name, $important: false) {
48
+ @if map.has-key($typo-map, $name) {
49
+ & {
50
+ $values: map.get($typo-map, $name);
51
+ $font-size: list.nth($values, 1);
52
+ $props: list.nth($values, 2);
53
+ $line-height: map.get($props, 'line-height');
54
+ $font-weight: map.get($props, 'font-weight');
55
+
56
+ @if $important {
57
+ font-size: $font-size !important;
58
+ line-height: $line-height !important;
59
+ font-weight: $font-weight !important;
60
+ }
61
+
62
+ @else {
63
+ font-size: $font-size;
64
+ line-height: $line-height;
65
+ font-weight: $font-weight;
66
+ }
67
+ }
68
+ }
69
+
70
+ @else {
71
+ @warn 'Typography "#{$name}" not found in the typography map.';
72
+ }
73
73
  }
@@ -1,3 +1,3 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10.6673 11.3333L8.00065 14M8.00065 14L5.33398 11.3333M8.00065 14V2" stroke="#CFD8DC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- </svg>
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.6673 11.3333L8.00065 14M8.00065 14L5.33398 11.3333M8.00065 14V2" stroke="#CFD8DC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>