1mpacto-react-ui 0.2.0-beta.9 → 2.0.0

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 (158) hide show
  1. package/dist/assets/_colors.scss +80 -0
  2. package/dist/assets/_mixins.scss +32 -5
  3. package/dist/assets/_typography.scss +582 -0
  4. package/dist/assets/colors.css +40 -0
  5. package/dist/assets/core.css +1 -1
  6. package/dist/assets/fontfamily.css +1 -1
  7. package/dist/assets/fonts/PlusJakartaSans-Italic.ttf +0 -0
  8. package/dist/assets/fonts/PlusJakartaSans.ttf +0 -0
  9. package/dist/assets/style.css +1 -1
  10. package/dist/assets/typography.css +96 -0
  11. package/dist/index.cjs +108 -96
  12. package/dist/index.d.ts +2 -0
  13. package/dist/index.mjs +16743 -15220
  14. package/dist/package.json.d.ts +1 -1
  15. package/dist/src/components/Badges/Badges.config.d.ts +57 -0
  16. package/dist/src/components/Badges/Badges.stories.d.ts +115 -1
  17. package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +113 -0
  18. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  19. package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +219 -5
  20. package/dist/src/components/Button/Button.config.d.ts +70 -0
  21. package/dist/src/components/Button/Button.stories.d.ts +127 -3
  22. package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +53 -0
  23. package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +121 -3
  24. package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +256 -1
  25. package/dist/src/components/Calendar/Calendar.d.ts +2 -1
  26. package/dist/src/components/Calendar/Calendar.stories.d.ts +281 -1
  27. package/dist/src/components/Chart/GradientBarChart.stories.d.ts +67 -1
  28. package/dist/src/components/Chart/GradientLineChart.stories.d.ts +78 -1
  29. package/dist/src/components/Chart/LineChart.stories.d.ts +33 -1
  30. package/dist/src/components/Chips/Chips.config.d.ts +35 -0
  31. package/dist/src/components/Chips/Chips.stories.d.ts +135 -1
  32. package/dist/src/components/Collapse/Collapse.stories.d.ts +87 -1
  33. package/dist/src/components/Collapse/CollapseV2.stories.d.ts +57 -1
  34. package/dist/src/components/DatePicker/DatePicker.stories.d.ts +219 -1
  35. package/dist/src/components/DatePicker/FilterDate.d.ts +1 -1
  36. package/dist/src/components/DatePicker/FilterDate.stories.d.ts +230 -2
  37. package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +196 -1
  38. package/dist/src/components/ErrorMessage/ErrorMessage.config.d.ts +8 -0
  39. package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +37 -1
  40. package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +164 -0
  41. package/dist/src/components/Input/InputFloatingInner.config.d.ts +9 -0
  42. package/dist/src/components/Input/InputFloatingInner.stories.d.ts +175 -5
  43. package/dist/src/components/Input/InputInnerLabel.config.d.ts +8 -0
  44. package/dist/src/components/Input/InputInnerLabel.d.ts +4 -0
  45. package/dist/src/components/Input/InputInnerLabel.stories.d.ts +204 -0
  46. package/dist/src/components/Input/InputNative.config.d.ts +9 -0
  47. package/dist/src/components/Input/InputNative.stories.d.ts +147 -4
  48. package/dist/src/components/Input/InputReguler.config.d.ts +9 -0
  49. package/dist/src/components/Input/InputReguler.stories.d.ts +175 -5
  50. package/dist/src/components/Modal/ModalDialog.config.d.ts +9 -0
  51. package/dist/src/components/Modal/ModalDialog.stories.d.ts +119 -1
  52. package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +371 -17
  53. package/dist/src/components/Pagination/Pagination.config.d.ts +5 -0
  54. package/dist/src/components/Pagination/Pagination.d.ts +1 -1
  55. package/dist/src/components/Pagination/Pagination.stories.d.ts +198 -2
  56. package/dist/src/components/Popover/Popover.stories.d.ts +212 -4
  57. package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +60 -0
  58. package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +41 -0
  59. package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +228 -7
  60. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +25 -0
  61. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +194 -3
  62. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +26 -0
  63. package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +4 -1
  64. package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +34 -0
  65. package/dist/src/components/Sidebar/Sidebar.config.d.ts +16 -0
  66. package/dist/src/components/Step/Step.stories.d.ts +133 -1
  67. package/dist/src/components/Step/StepIndicator.stories.d.ts +146 -1
  68. package/dist/src/components/Switch/Switch.config.d.ts +26 -0
  69. package/dist/src/components/Switch/Switch.stories.d.ts +126 -1
  70. package/dist/src/components/Table/Table.config.d.ts +4 -0
  71. package/dist/src/components/Table/Table.d.ts +2 -3
  72. package/dist/src/components/Table/Table.stories.d.ts +69 -51
  73. package/dist/src/components/Table/TableSubMobile.d.ts +3 -0
  74. package/dist/src/components/Tabs/Tabs.config.d.ts +31 -0
  75. package/dist/src/components/Tabs/Tabs.d.ts +1 -1
  76. package/dist/src/components/Tabs/Tabs.stories.d.ts +218 -2
  77. package/dist/src/components/TextEditor/TextEditor.stories.d.ts +57 -9
  78. package/dist/src/components/Textarea/Textarea.config.d.ts +31 -0
  79. package/dist/src/components/Textarea/Textarea.stories.d.ts +248 -2
  80. package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +6 -0
  81. package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +258 -2
  82. package/dist/src/components/Textarea/TextareaInnerLabel.config.d.ts +7 -0
  83. package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +4 -0
  84. package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +258 -0
  85. package/dist/src/components/TimeRange/TimeRange.d.ts +3 -0
  86. package/dist/src/components/TimeRange/TimeRange.stories.d.ts +185 -0
  87. package/dist/src/components/Timeline/Timeline.stories.d.ts +38 -1
  88. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +157 -1
  89. package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +104 -1
  90. package/dist/src/components/Upload/UploadFile.stories.d.ts +125 -1
  91. package/dist/src/components/Upload/UploadImage.d.ts +1 -1
  92. package/dist/src/components/Upload/UploadImage.stories.d.ts +143 -2
  93. package/dist/src/components/Upload/UploadMultipleFile.d.ts +1 -1
  94. package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +188 -2
  95. package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +277 -1
  96. package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +294 -1
  97. package/dist/src/components/index.d.ts +14 -8
  98. package/dist/src/components/screens/Screens.stories.d.ts +13 -0
  99. package/dist/src/config/components/borderRadius.d.ts +1 -0
  100. package/dist/src/config/components/font.d.ts +7 -0
  101. package/dist/src/config/components/gap.d.ts +1 -0
  102. package/dist/src/config/components/typography.d.ts +3 -49
  103. package/dist/src/config/tailwind/index.d.ts +2 -1
  104. package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
  105. package/dist/src/config/tailwind/typography.d.ts +1 -0
  106. package/dist/src/hooks/index.d.ts +5 -3
  107. package/dist/src/hooks/useAsyncDebounce.d.ts +9 -0
  108. package/dist/src/hooks/useCombinedResizeObserver.d.ts +66 -0
  109. package/dist/src/hooks/useCountdown.d.ts +67 -3
  110. package/dist/src/hooks/useDeepCompareEffect.d.ts +13 -0
  111. package/dist/src/hooks/useElementOrWindowMediaQuery.d.ts +9 -0
  112. package/dist/src/hooks/useEventListener.d.ts +27 -0
  113. package/dist/src/hooks/useMasonry.d.ts +79 -0
  114. package/dist/src/hooks/useMergeRefs.d.ts +26 -0
  115. package/dist/src/hooks/useOtpInput.d.ts +199 -0
  116. package/dist/src/hooks/useStateRef.d.ts +8 -0
  117. package/dist/src/interfaces/components/Alert/index.d.ts +8 -0
  118. package/dist/src/interfaces/components/Badges/index.d.ts +30 -1
  119. package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +85 -2
  120. package/dist/src/interfaces/components/Button/index.d.ts +46 -2
  121. package/dist/src/interfaces/components/ButtonIcon/index.d.ts +36 -0
  122. package/dist/src/interfaces/components/ButtonPopover/index.d.ts +78 -0
  123. package/dist/src/interfaces/components/Calendar/index.d.ts +384 -3
  124. package/dist/src/interfaces/components/Chart/index.d.ts +460 -0
  125. package/dist/src/interfaces/components/Checkbox/index.d.ts +12 -0
  126. package/dist/src/interfaces/components/Chips/index.d.ts +38 -1
  127. package/dist/src/interfaces/components/Collapse/index.d.ts +60 -0
  128. package/dist/src/interfaces/components/DatePicker/index.d.ts +277 -1
  129. package/dist/src/interfaces/components/ErrorMessage/index.d.ts +17 -1
  130. package/dist/src/interfaces/components/FilterContainer/index.d.ts +102 -0
  131. package/dist/src/interfaces/components/Input/index.d.ts +193 -0
  132. package/dist/src/interfaces/components/Modal/index.d.ts +45 -0
  133. package/dist/src/interfaces/components/NumberFormat/index.d.ts +25 -0
  134. package/dist/src/interfaces/components/Pagination/index.d.ts +83 -0
  135. package/dist/src/interfaces/components/Popover/index.d.ts +98 -1
  136. package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +59 -2
  137. package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +46 -1
  138. package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +196 -2
  139. package/dist/src/interfaces/components/Sidebar/index.d.ts +229 -1
  140. package/dist/src/interfaces/components/Step/index.d.ts +153 -0
  141. package/dist/src/interfaces/components/Switch/index.d.ts +54 -1
  142. package/dist/src/interfaces/components/Table/index.d.ts +402 -6
  143. package/dist/src/interfaces/components/Tabs/index.d.ts +130 -1
  144. package/dist/src/interfaces/components/TextEditor/index.d.ts +12 -0
  145. package/dist/src/interfaces/components/Textarea/index.d.ts +169 -0
  146. package/dist/src/interfaces/components/TimeRange/index.d.ts +128 -0
  147. package/dist/src/interfaces/components/Timeline/index.d.ts +36 -0
  148. package/dist/src/interfaces/components/Tooltip/index.d.ts +56 -0
  149. package/dist/src/interfaces/components/TruncateComponent/index.d.ts +34 -0
  150. package/dist/src/interfaces/components/UploadFile/index.d.ts +186 -0
  151. package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +138 -0
  152. package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +143 -0
  153. package/dist/src/utils/common.d.ts +4 -4
  154. package/dist/src/utils/constant.d.ts +1 -0
  155. package/dist/types-external/table.d.ts +3 -0
  156. package/package.json +1 -1
  157. package/dist/index.cjs.map +0 -1
  158. package/dist/index.mjs.map +0 -1
@@ -240,6 +240,46 @@ $laba-red-06: #FB004E;
240
240
  $laba-red-05: #FF5378;
241
241
  $laba-red-02: #FFAEBF;
242
242
  $laba-red-01: #FFEBEF;
243
+ $lpd-primary-50: #CEDBFE;
244
+ $lpd-primary-100: #B6CAFE;
245
+ $lpd-primary-200: #9DB8FE;
246
+ $lpd-primary-300: #6C94FD;
247
+ $lpd-primary-400: #3B71FD;
248
+ $lpd-primary-500: #0A4DFC;
249
+ $lpd-primary-600: #083ECA;
250
+ $lpd-primary-700: #062E97;
251
+ $lpd-primary-800: #041F65;
252
+ $lpd-primary-900: #03174C;
253
+ $lpd-secondary-50: #FEF5CE;
254
+ $lpd-secondary-100: #FEEFB5;
255
+ $lpd-secondary-200: #FDEA9D;
256
+ $lpd-secondary-300: #FDE06B;
257
+ $lpd-secondary-400: #FCD53A;
258
+ $lpd-secondary-500: #FBCB09;
259
+ $lpd-secondary-600: #C9A207;
260
+ $lpd-secondary-700: #977A05;
261
+ $lpd-secondary-800: #645104;
262
+ $lpd-secondary-900: #4B3D03;
263
+ $bill-primary-50: #EAF0FE;
264
+ $bill-primary-100: #D5E1FD;
265
+ $bill-primary-200: #ABC3FB;
266
+ $bill-primary-300: #81A4F9;
267
+ $bill-primary-400: #5786F7;
268
+ $bill-primary-500: #2D68F5;
269
+ $bill-primary-600: #2453C4;
270
+ $bill-primary-700: #1B3E93;
271
+ $bill-primary-800: #122A62;
272
+ $bill-primary-900: #091531;
273
+ $bill-secondary-50: #F0FEFD;
274
+ $bill-secondary-100: #E2FCFA;
275
+ $bill-secondary-200: #C5F9F5;
276
+ $bill-secondary-300: #A8F7F1;
277
+ $bill-secondary-400: #8BF4EC;
278
+ $bill-secondary-500: #6EF1E7;
279
+ $bill-secondary-600: #59CBC2;
280
+ $bill-secondary-700: #44A59D;
281
+ $bill-secondary-800: #2F7E79;
282
+ $bill-secondary-900: #1A5854;
243
283
 
244
284
  $color-map:(
245
285
  "transparent": transparent,
@@ -484,4 +524,44 @@ $color-map:(
484
524
  "laba-red-05": #FF5378,
485
525
  "laba-red-02": #FFAEBF,
486
526
  "laba-red-01": #FFEBEF,
527
+ "lpd-primary-50": #CEDBFE,
528
+ "lpd-primary-100": #B6CAFE,
529
+ "lpd-primary-200": #9DB8FE,
530
+ "lpd-primary-300": #6C94FD,
531
+ "lpd-primary-400": #3B71FD,
532
+ "lpd-primary-500": #0A4DFC,
533
+ "lpd-primary-600": #083ECA,
534
+ "lpd-primary-700": #062E97,
535
+ "lpd-primary-800": #041F65,
536
+ "lpd-primary-900": #03174C,
537
+ "lpd-secondary-50": #FEF5CE,
538
+ "lpd-secondary-100": #FEEFB5,
539
+ "lpd-secondary-200": #FDEA9D,
540
+ "lpd-secondary-300": #FDE06B,
541
+ "lpd-secondary-400": #FCD53A,
542
+ "lpd-secondary-500": #FBCB09,
543
+ "lpd-secondary-600": #C9A207,
544
+ "lpd-secondary-700": #977A05,
545
+ "lpd-secondary-800": #645104,
546
+ "lpd-secondary-900": #4B3D03,
547
+ "bill-primary-50": #EAF0FE,
548
+ "bill-primary-100": #D5E1FD,
549
+ "bill-primary-200": #ABC3FB,
550
+ "bill-primary-300": #81A4F9,
551
+ "bill-primary-400": #5786F7,
552
+ "bill-primary-500": #2D68F5,
553
+ "bill-primary-600": #2453C4,
554
+ "bill-primary-700": #1B3E93,
555
+ "bill-primary-800": #122A62,
556
+ "bill-primary-900": #091531,
557
+ "bill-secondary-50": #F0FEFD,
558
+ "bill-secondary-100": #E2FCFA,
559
+ "bill-secondary-200": #C5F9F5,
560
+ "bill-secondary-300": #A8F7F1,
561
+ "bill-secondary-400": #8BF4EC,
562
+ "bill-secondary-500": #6EF1E7,
563
+ "bill-secondary-600": #59CBC2,
564
+ "bill-secondary-700": #44A59D,
565
+ "bill-secondary-800": #2F7E79,
566
+ "bill-secondary-900": #1A5854,
487
567
  );
@@ -2,16 +2,43 @@
2
2
 
3
3
  @mixin ring($width: 1px, $color: 'transparent', $inset: 0, $important: 0) {
4
4
  $ring-style: 0 0 0 $width $color;
5
- $shadow: if($inset == 1, inset $ring-style, $ring-style);
5
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
6
6
 
7
- box-shadow: if($important == 1, $shadow !important , $shadow);
7
+ box-shadow: if($important==1, $shadow !important, $shadow);
8
+ }
9
+
10
+ @mixin ring-left($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
11
+ $ring-style: (-$width) 0 0 $color;
12
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
13
+
14
+ box-shadow: if($important==1, $shadow !important, $shadow);
15
+ }
16
+
17
+ @mixin ring-top($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
18
+ $ring-style: 0 (-$width) 0 $color;
19
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
20
+
21
+ box-shadow: if($important==1, $shadow !important, $shadow);
22
+ }
23
+
24
+ @mixin ring-right($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
25
+ $ring-style: $width 0 0 $color;
26
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
27
+
28
+ box-shadow: if($important==1, $shadow !important, $shadow);
29
+ }
30
+
31
+ @mixin ring-bottom($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
32
+ $ring-style: 0 $width 0 $color;
33
+ $shadow: if($inset==1, inset $ring-style, $ring-style);
34
+
35
+ box-shadow: if($important==1, $shadow !important, $shadow);
8
36
  }
9
37
 
10
38
  @function getColor($color-map, $color) {
11
39
  @if map.has-key($color-map, $color) {
12
40
  @return map.get($color-map, $color);
13
41
  }
14
-
15
- @return $color;
16
- }
17
42
 
43
+ @return $color;
44
+ }