@transferwise/components 46.13.0 → 46.15.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 (168) hide show
  1. package/build/index.esm.js +246 -525
  2. package/build/index.esm.js.map +1 -1
  3. package/build/index.js +222 -501
  4. package/build/index.js.map +1 -1
  5. package/build/main.css +6 -82
  6. package/build/styles/decision/Decision.css +6 -82
  7. package/build/styles/main.css +6 -82
  8. package/build/types/actionButton/ActionButton.d.ts +1 -1
  9. package/build/types/body/Body.d.ts +1 -1
  10. package/build/types/common/Option/Option.d.ts.map +1 -1
  11. package/build/types/common/RadioButton/RadioButton.d.ts +10 -34
  12. package/build/types/common/RadioButton/RadioButton.d.ts.map +1 -1
  13. package/build/types/common/RadioButton/index.d.ts +1 -1
  14. package/build/types/common/RadioButton/index.d.ts.map +1 -1
  15. package/build/types/common/commonProps.d.ts +1 -1
  16. package/build/types/common/commonProps.d.ts.map +1 -1
  17. package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts +1 -1
  18. package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -1
  19. package/build/types/common/dateUtils/getDayNames/index.d.ts +1 -1
  20. package/build/types/common/dateUtils/getDayNames/index.d.ts.map +1 -1
  21. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts +1 -1
  22. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -1
  23. package/build/types/common/dateUtils/getMonthNames/index.d.ts +1 -1
  24. package/build/types/common/dateUtils/getMonthNames/index.d.ts.map +1 -1
  25. package/build/types/common/dateUtils/index.d.ts +6 -6
  26. package/build/types/common/dateUtils/index.d.ts.map +1 -1
  27. package/build/types/common/dateUtils/isDateValid/index.d.ts +1 -1
  28. package/build/types/common/dateUtils/isDateValid/index.d.ts.map +1 -1
  29. package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts +2 -2
  30. package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -1
  31. package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts +1 -1
  32. package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -1
  33. package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +1 -1
  34. package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -1
  35. package/build/types/common/dateUtils/isWithinRange/index.d.ts +1 -1
  36. package/build/types/common/dateUtils/isWithinRange/index.d.ts.map +1 -1
  37. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts +1 -1
  38. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -1
  39. package/build/types/common/dateUtils/moveToWithinRange/index.d.ts +1 -1
  40. package/build/types/common/dateUtils/moveToWithinRange/index.d.ts.map +1 -1
  41. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +1 -1
  42. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -1
  43. package/build/types/common/panel/Panel.d.ts +1 -1
  44. package/build/types/common/responsivePanel/ResponsivePanel.d.ts +1 -1
  45. package/build/types/dateInput/DateInput.d.ts +30 -41
  46. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  47. package/build/types/dateInput/DateInput.messages.d.ts +24 -33
  48. package/build/types/dateInput/DateInput.messages.d.ts.map +1 -1
  49. package/build/types/dateInput/index.d.ts +2 -2
  50. package/build/types/dateInput/index.d.ts.map +1 -1
  51. package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +1 -1
  52. package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -1
  53. package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts +1 -1
  54. package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -1
  55. package/build/types/dateInput/utils/index.d.ts +1 -2
  56. package/build/types/dateInput/utils/index.d.ts.map +1 -1
  57. package/build/types/dateLookup/DateLookup.d.ts +1 -0
  58. package/build/types/dateLookup/DateLookup.d.ts.map +1 -1
  59. package/build/types/decision/Decision.d.ts +39 -52
  60. package/build/types/decision/Decision.d.ts.map +1 -1
  61. package/build/types/decision/index.d.ts +1 -2
  62. package/build/types/decision/index.d.ts.map +1 -1
  63. package/build/types/dimmer/Dimmer.d.ts +1 -1
  64. package/build/types/index.d.ts +5 -0
  65. package/build/types/index.d.ts.map +1 -1
  66. package/build/types/promoCard/PromoCard.d.ts +1 -2
  67. package/build/types/promoCard/PromoCard.d.ts.map +1 -1
  68. package/build/types/radio/Radio.d.ts +10 -21
  69. package/build/types/radio/Radio.d.ts.map +1 -1
  70. package/build/types/radio/index.d.ts +2 -2
  71. package/build/types/radio/index.d.ts.map +1 -1
  72. package/build/types/radioGroup/RadioGroup.d.ts +10 -26
  73. package/build/types/radioGroup/RadioGroup.d.ts.map +1 -1
  74. package/build/types/radioGroup/index.d.ts +2 -1
  75. package/build/types/radioGroup/index.d.ts.map +1 -1
  76. package/build/types/radioOption/RadioOption.d.ts +15 -23
  77. package/build/types/radioOption/RadioOption.d.ts.map +1 -1
  78. package/build/types/radioOption/index.d.ts +2 -1
  79. package/build/types/radioOption/index.d.ts.map +1 -1
  80. package/build/types/select/searchBox/SearchBox.d.ts +1 -1
  81. package/package.json +1 -1
  82. package/src/common/Option/Option.tsx +0 -1
  83. package/src/common/RadioButton/RadioButton.tsx +43 -0
  84. package/src/common/commonProps.ts +1 -1
  85. package/src/common/dateUtils/getDayNames/getDayNames.spec.js +2 -2
  86. package/src/common/dateUtils/getDayNames/{getDayNames.js → getDayNames.ts} +5 -2
  87. package/src/common/dateUtils/getMonthNames/getMonthNames.spec.js +9 -8
  88. package/src/common/dateUtils/getMonthNames/{getMonthNames.js → getMonthNames.ts} +5 -3
  89. package/src/common/dateUtils/isDateValid/{isDateValid.spec.js → isDateValid.spec.ts} +1 -1
  90. package/src/common/dateUtils/isDateValid/isDateValid.ts +13 -0
  91. package/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.spec.js +3 -7
  92. package/src/common/dateUtils/isMonthAndYearFormat/{isMonthAndYearFormat.js → isMonthAndYearFormat.ts} +1 -1
  93. package/src/common/dateUtils/isWithinRange/{isWithinRange.spec.js → isWithinRange.spec.ts} +0 -10
  94. package/src/common/dateUtils/isWithinRange/{isWithinRange.js → isWithinRange.ts} +1 -1
  95. package/src/common/dateUtils/moveToWithinRange/{moveToWithinRange.js → moveToWithinRange.ts} +2 -2
  96. package/src/dateInput/DateInput.spec.js +7 -56
  97. package/src/dateInput/DateInput.story.tsx +11 -8
  98. package/src/dateInput/{DateInput.js → DateInput.tsx} +116 -123
  99. package/src/dateInput/index.ts +2 -0
  100. package/src/dateInput/utils/convertToLocalMidnight/{convertToLocalMidnight.js → convertToLocalMidnight.ts} +1 -1
  101. package/src/dateInput/utils/{index.js → index.ts} +0 -1
  102. package/src/dateLookup/DateLookup.js +12 -1
  103. package/src/dateLookup/DateLookup.testingLibrary.spec.js +12 -1
  104. package/src/dateLookup/dayCalendar/table/DayCalendarTable.js +1 -0
  105. package/src/decision/Decision.css +6 -82
  106. package/src/decision/Decision.less +3 -41
  107. package/src/decision/Decision.spec.js +56 -61
  108. package/src/decision/{Decision.story.js → Decision.story.tsx} +5 -5
  109. package/src/decision/Decision.tsx +133 -0
  110. package/src/decision/index.ts +1 -0
  111. package/src/index.ts +5 -0
  112. package/src/main.css +6 -82
  113. package/src/promoCard/PromoCard.tsx +1 -2
  114. package/src/radio/{Radio.story.js → Radio.story.tsx} +0 -3
  115. package/src/radio/{Radio.js → Radio.tsx} +18 -28
  116. package/src/radio/index.ts +2 -0
  117. package/src/radioGroup/RadioGroup.spec.js +24 -26
  118. package/src/radioGroup/{RadioGroup.story.js → RadioGroup.story.tsx} +0 -3
  119. package/src/radioGroup/RadioGroup.tsx +39 -0
  120. package/src/radioGroup/index.ts +2 -0
  121. package/src/radioOption/RadioOption.spec.js +4 -4
  122. package/src/radioOption/{RadioOption.story.js → RadioOption.story.tsx} +4 -4
  123. package/src/radioOption/RadioOption.tsx +60 -0
  124. package/src/radioOption/index.ts +2 -0
  125. package/src/tile/Tile.js +1 -1
  126. package/build/types/dateInput/utils/explodeDate/explodeDate.d.ts +0 -6
  127. package/build/types/dateInput/utils/explodeDate/explodeDate.d.ts.map +0 -1
  128. package/build/types/dateInput/utils/explodeDate/index.d.ts +0 -2
  129. package/build/types/dateInput/utils/explodeDate/index.d.ts.map +0 -1
  130. package/build/types/decision/decisionEnums.d.ts +0 -9
  131. package/build/types/decision/decisionEnums.d.ts.map +0 -1
  132. package/build/types/sizeSwapper/SizeSwapper.d.ts +0 -3
  133. package/build/types/sizeSwapper/SizeSwapper.d.ts.map +0 -1
  134. package/build/types/sizeSwapper/index.d.ts +0 -2
  135. package/build/types/sizeSwapper/index.d.ts.map +0 -1
  136. package/src/common/RadioButton/RadioButton.js +0 -41
  137. package/src/common/dateUtils/isDateValid/isDateValid.js +0 -6
  138. package/src/dateInput/index.js +0 -3
  139. package/src/dateInput/utils/explodeDate/explodeDate.js +0 -7
  140. package/src/dateInput/utils/explodeDate/explodeDate.spec.js +0 -11
  141. package/src/dateInput/utils/explodeDate/index.js +0 -1
  142. package/src/decision/Decision.js +0 -148
  143. package/src/decision/decisionEnums.ts +0 -11
  144. package/src/decision/index.js +0 -2
  145. package/src/radio/index.js +0 -3
  146. package/src/radioGroup/RadioGroup.js +0 -66
  147. package/src/radioGroup/index.js +0 -1
  148. package/src/radioOption/RadioOption.js +0 -81
  149. package/src/radioOption/index.js +0 -1
  150. package/src/sizeSwapper/SizeSwapper.js +0 -69
  151. package/src/sizeSwapper/SizeSwapper.spec.js +0 -100
  152. package/src/sizeSwapper/SizeSwapper.story.js +0 -34
  153. package/src/sizeSwapper/index.js +0 -1
  154. /package/src/common/RadioButton/{RadioButton.spec.js → RadioButton.spec.tsx} +0 -0
  155. /package/src/common/RadioButton/__snapshots__/{RadioButton.spec.js.snap → RadioButton.spec.tsx.snap} +0 -0
  156. /package/src/common/RadioButton/{index.js → index.ts} +0 -0
  157. /package/src/common/dateUtils/getDayNames/{index.js → index.ts} +0 -0
  158. /package/src/common/dateUtils/getMonthNames/{index.js → index.ts} +0 -0
  159. /package/src/common/dateUtils/{index.js → index.ts} +0 -0
  160. /package/src/common/dateUtils/isDateValid/{index.js → index.ts} +0 -0
  161. /package/src/common/dateUtils/isMonthAndYearFormat/{index.js → index.ts} +0 -0
  162. /package/src/common/dateUtils/isWithinRange/{index.js → index.ts} +0 -0
  163. /package/src/common/dateUtils/moveToWithinRange/{index.js → index.ts} +0 -0
  164. /package/src/dateInput/{DateInput.messages.js → DateInput.messages.ts} +0 -0
  165. /package/src/dateInput/utils/convertToLocalMidnight/{convertToLocalMidnight.spec.js → convertToLocalMidnight.spec.ts} +0 -0
  166. /package/src/dateInput/utils/convertToLocalMidnight/{index.js → index.ts} +0 -0
  167. /package/src/radio/{Radio.rtl.spec.js → Radio.rtl.spec.tsx} +0 -0
  168. /package/src/radio/__snapshots__/{Radio.rtl.spec.js.snap → Radio.rtl.spec.tsx.snap} +0 -0
package/build/main.css CHANGED
@@ -1598,95 +1598,19 @@ button.np-option {
1598
1598
  .np-decision .decision {
1599
1599
  display: flex;
1600
1600
  }
1601
- .np-decision__tile--small + .np-decision__tile--small {
1602
- margin-left: 16px;
1603
- margin-left: var(--size-16);
1604
- }
1605
- [dir="rtl"] .np-decision__tile--small + .np-decision__tile--small {
1606
- margin-right: 16px;
1607
- margin-right: var(--size-16);
1608
- margin-left: 0;
1609
- margin-left: initial;
1610
- }
1611
- .np-decision.np-decision--grid .np-decision__tile--small {
1612
- margin-left: 0;
1613
- margin-bottom: 16px !important;
1614
- margin-bottom: var(--size-16) !important;
1615
- }
1616
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile--small {
1617
- margin-right: 0;
1618
- margin-left: 0;
1619
- margin-left: initial;
1620
- }
1621
- .np-decision.np-decision--grid .np-decision__tile--small:not(:last-of-type) {
1622
- margin-right: 16px;
1623
- margin-right: var(--size-16);
1624
- }
1625
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile--small:not(:last-of-type) {
1626
- margin-left: 16px;
1627
- margin-left: var(--size-16);
1628
- margin-right: 0;
1629
- margin-right: initial;
1630
- }
1631
- .np-decision__tile + .np-decision__tile {
1632
- margin-left: 24px;
1633
- margin-left: var(--size-24);
1634
- }
1635
- [dir="rtl"] .np-decision__tile + .np-decision__tile {
1636
- margin-right: 24px;
1637
- margin-right: var(--size-24);
1638
- margin-left: 0;
1639
- margin-left: initial;
1640
- }
1641
- .np-decision .np-text-title-subsection {
1642
- margin-bottom: 0;
1643
- }
1644
1601
  .np-decision__tile--small .np-text-title-subsection {
1645
1602
  font-size: 1rem;
1646
1603
  font-size: var(--font-size-16);
1647
1604
  line-height: 1.2;
1648
1605
  line-height: var(--line-height-title);
1649
- margin-bottom: 0;
1650
- }
1651
- .np-decision.np-decision--grid .np-decision__tile {
1652
- margin-left: 0;
1653
- margin-bottom: 24px !important;
1654
- margin-bottom: var(--size-24) !important;
1655
- }
1656
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile {
1657
- margin-right: 0;
1658
- margin-left: 0;
1659
- margin-left: initial;
1660
- }
1661
- .np-decision.np-decision--grid .np-decision__tile:not(:last-of-type) {
1662
- margin-right: 24px;
1663
- margin-right: var(--size-24);
1664
1606
  }
1665
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile:not(:last-of-type) {
1666
- margin-left: 24px;
1667
- margin-left: var(--size-24);
1668
- margin-right: 0;
1669
- margin-right: initial;
1670
- }
1671
- .np-decision.np-decision--grid .np-size-swapper {
1672
- margin-right: calc(0 - 24px);
1673
- margin-right: calc(0 - var(--size-24));
1674
- }
1675
- [dir="rtl"] .np-decision.np-decision--grid .np-size-swapper {
1676
- margin-left: calc(0 - 24px);
1677
- margin-left: calc(0 - var(--size-24));
1678
- margin-right: 0;
1679
- margin-right: initial;
1680
- }
1681
- .np-decision.np-decision--grid.np-decision--small .np-size-swapper {
1682
- margin-right: calc(0 - 16px);
1683
- margin-right: calc(0 - var(--size-16));
1607
+ .np-decision:not(.flex-column) {
1608
+ gap: 24px;
1609
+ gap: var(--size-24);
1684
1610
  }
1685
- [dir="rtl"] .np-decision.np-decision--grid.np-decision--small .np-size-swapper {
1686
- margin-left: calc(0 - 16px);
1687
- margin-left: calc(0 - var(--size-16));
1688
- margin-right: 0;
1689
- margin-right: initial;
1611
+ .np-decision:not(.flex-column).np-decision--small {
1612
+ gap: 16px;
1613
+ gap: var(--size-16);
1690
1614
  }
1691
1615
  .tw-definition-list__item dd {
1692
1616
  word-break: break-all;
@@ -1,93 +1,17 @@
1
1
  .np-decision .decision {
2
2
  display: flex;
3
3
  }
4
- .np-decision__tile--small + .np-decision__tile--small {
5
- margin-left: 16px;
6
- margin-left: var(--size-16);
7
- }
8
- [dir="rtl"] .np-decision__tile--small + .np-decision__tile--small {
9
- margin-right: 16px;
10
- margin-right: var(--size-16);
11
- margin-left: 0;
12
- margin-left: initial;
13
- }
14
- .np-decision.np-decision--grid .np-decision__tile--small {
15
- margin-left: 0;
16
- margin-bottom: 16px !important;
17
- margin-bottom: var(--size-16) !important;
18
- }
19
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile--small {
20
- margin-right: 0;
21
- margin-left: 0;
22
- margin-left: initial;
23
- }
24
- .np-decision.np-decision--grid .np-decision__tile--small:not(:last-of-type) {
25
- margin-right: 16px;
26
- margin-right: var(--size-16);
27
- }
28
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile--small:not(:last-of-type) {
29
- margin-left: 16px;
30
- margin-left: var(--size-16);
31
- margin-right: 0;
32
- margin-right: initial;
33
- }
34
- .np-decision__tile + .np-decision__tile {
35
- margin-left: 24px;
36
- margin-left: var(--size-24);
37
- }
38
- [dir="rtl"] .np-decision__tile + .np-decision__tile {
39
- margin-right: 24px;
40
- margin-right: var(--size-24);
41
- margin-left: 0;
42
- margin-left: initial;
43
- }
44
- .np-decision .np-text-title-subsection {
45
- margin-bottom: 0;
46
- }
47
4
  .np-decision__tile--small .np-text-title-subsection {
48
5
  font-size: 1rem;
49
6
  font-size: var(--font-size-16);
50
7
  line-height: 1.2;
51
8
  line-height: var(--line-height-title);
52
- margin-bottom: 0;
53
- }
54
- .np-decision.np-decision--grid .np-decision__tile {
55
- margin-left: 0;
56
- margin-bottom: 24px !important;
57
- margin-bottom: var(--size-24) !important;
58
- }
59
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile {
60
- margin-right: 0;
61
- margin-left: 0;
62
- margin-left: initial;
63
- }
64
- .np-decision.np-decision--grid .np-decision__tile:not(:last-of-type) {
65
- margin-right: 24px;
66
- margin-right: var(--size-24);
67
- }
68
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile:not(:last-of-type) {
69
- margin-left: 24px;
70
- margin-left: var(--size-24);
71
- margin-right: 0;
72
- margin-right: initial;
73
- }
74
- .np-decision.np-decision--grid .np-size-swapper {
75
- margin-right: calc(0 - 24px);
76
- margin-right: calc(0 - var(--size-24));
77
- }
78
- [dir="rtl"] .np-decision.np-decision--grid .np-size-swapper {
79
- margin-left: calc(0 - 24px);
80
- margin-left: calc(0 - var(--size-24));
81
- margin-right: 0;
82
- margin-right: initial;
83
9
  }
84
- .np-decision.np-decision--grid.np-decision--small .np-size-swapper {
85
- margin-right: calc(0 - 16px);
86
- margin-right: calc(0 - var(--size-16));
10
+ .np-decision:not(.flex-column) {
11
+ gap: 24px;
12
+ gap: var(--size-24);
87
13
  }
88
- [dir="rtl"] .np-decision.np-decision--grid.np-decision--small .np-size-swapper {
89
- margin-left: calc(0 - 16px);
90
- margin-left: calc(0 - var(--size-16));
91
- margin-right: 0;
92
- margin-right: initial;
14
+ .np-decision:not(.flex-column).np-decision--small {
15
+ gap: 16px;
16
+ gap: var(--size-16);
93
17
  }
@@ -1598,95 +1598,19 @@ button.np-option {
1598
1598
  .np-decision .decision {
1599
1599
  display: flex;
1600
1600
  }
1601
- .np-decision__tile--small + .np-decision__tile--small {
1602
- margin-left: 16px;
1603
- margin-left: var(--size-16);
1604
- }
1605
- [dir="rtl"] .np-decision__tile--small + .np-decision__tile--small {
1606
- margin-right: 16px;
1607
- margin-right: var(--size-16);
1608
- margin-left: 0;
1609
- margin-left: initial;
1610
- }
1611
- .np-decision.np-decision--grid .np-decision__tile--small {
1612
- margin-left: 0;
1613
- margin-bottom: 16px !important;
1614
- margin-bottom: var(--size-16) !important;
1615
- }
1616
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile--small {
1617
- margin-right: 0;
1618
- margin-left: 0;
1619
- margin-left: initial;
1620
- }
1621
- .np-decision.np-decision--grid .np-decision__tile--small:not(:last-of-type) {
1622
- margin-right: 16px;
1623
- margin-right: var(--size-16);
1624
- }
1625
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile--small:not(:last-of-type) {
1626
- margin-left: 16px;
1627
- margin-left: var(--size-16);
1628
- margin-right: 0;
1629
- margin-right: initial;
1630
- }
1631
- .np-decision__tile + .np-decision__tile {
1632
- margin-left: 24px;
1633
- margin-left: var(--size-24);
1634
- }
1635
- [dir="rtl"] .np-decision__tile + .np-decision__tile {
1636
- margin-right: 24px;
1637
- margin-right: var(--size-24);
1638
- margin-left: 0;
1639
- margin-left: initial;
1640
- }
1641
- .np-decision .np-text-title-subsection {
1642
- margin-bottom: 0;
1643
- }
1644
1601
  .np-decision__tile--small .np-text-title-subsection {
1645
1602
  font-size: 1rem;
1646
1603
  font-size: var(--font-size-16);
1647
1604
  line-height: 1.2;
1648
1605
  line-height: var(--line-height-title);
1649
- margin-bottom: 0;
1650
- }
1651
- .np-decision.np-decision--grid .np-decision__tile {
1652
- margin-left: 0;
1653
- margin-bottom: 24px !important;
1654
- margin-bottom: var(--size-24) !important;
1655
- }
1656
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile {
1657
- margin-right: 0;
1658
- margin-left: 0;
1659
- margin-left: initial;
1660
- }
1661
- .np-decision.np-decision--grid .np-decision__tile:not(:last-of-type) {
1662
- margin-right: 24px;
1663
- margin-right: var(--size-24);
1664
1606
  }
1665
- [dir="rtl"] .np-decision.np-decision--grid .np-decision__tile:not(:last-of-type) {
1666
- margin-left: 24px;
1667
- margin-left: var(--size-24);
1668
- margin-right: 0;
1669
- margin-right: initial;
1670
- }
1671
- .np-decision.np-decision--grid .np-size-swapper {
1672
- margin-right: calc(0 - 24px);
1673
- margin-right: calc(0 - var(--size-24));
1674
- }
1675
- [dir="rtl"] .np-decision.np-decision--grid .np-size-swapper {
1676
- margin-left: calc(0 - 24px);
1677
- margin-left: calc(0 - var(--size-24));
1678
- margin-right: 0;
1679
- margin-right: initial;
1680
- }
1681
- .np-decision.np-decision--grid.np-decision--small .np-size-swapper {
1682
- margin-right: calc(0 - 16px);
1683
- margin-right: calc(0 - var(--size-16));
1607
+ .np-decision:not(.flex-column) {
1608
+ gap: 24px;
1609
+ gap: var(--size-24);
1684
1610
  }
1685
- [dir="rtl"] .np-decision.np-decision--grid.np-decision--small .np-size-swapper {
1686
- margin-left: calc(0 - 16px);
1687
- margin-left: calc(0 - var(--size-16));
1688
- margin-right: 0;
1689
- margin-right: initial;
1611
+ .np-decision:not(.flex-column).np-decision--small {
1612
+ gap: 16px;
1613
+ gap: var(--size-16);
1690
1614
  }
1691
1615
  .tw-definition-list__item dd {
1692
1616
  word-break: break-all;
@@ -8,7 +8,7 @@ export type ActionButtonProps = {
8
8
  text?: string;
9
9
  } & ButtonHTMLAttributes<HTMLButtonElement>;
10
10
  declare const ActionButton: import("react").ForwardRefExoticComponent<{
11
- priority?: "primary" | "secondary" | undefined;
11
+ priority?: "secondary" | "primary" | undefined;
12
12
  /**
13
13
  * @deprecated use `children` instead
14
14
  */
@@ -9,6 +9,6 @@ declare const Body: import("react").ForwardRefExoticComponent<HTMLAttributes<HTM
9
9
  * Default value: `div`
10
10
  */
11
11
  as?: "div" | "p" | "span" | undefined;
12
- } & import("react").RefAttributes<HTMLSpanElement | HTMLDivElement | HTMLParagraphElement>>;
12
+ } & import("react").RefAttributes<HTMLSpanElement | HTMLParagraphElement | HTMLDivElement>>;
13
13
  export default Body;
14
14
  //# sourceMappingURL=Body.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/common/Option/Option.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAc,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGvF,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,UAAU,iBAAkB,SAAQ,eAAe,EAAE,SAAS;IAC5D,EAAE,EAAE,GAAG,CAAC;CACT;AAED,MAAM,MAAM,WAAW,GAAG,eAAe,GAAG,iBAAiB,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,iBAAiB,CAAC;AAE5D,QAAA,MAAM,MAAM,uGA4DX,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/common/Option/Option.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAc,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGvF,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,UAAU,iBAAkB,SAAQ,eAAe,EAAE,SAAS;IAC5D,EAAE,EAAE,GAAG,CAAC;CACT;AAED,MAAM,MAAM,WAAW,GAAG,eAAe,GAAG,iBAAiB,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,iBAAiB,CAAC;AAE5D,QAAA,MAAM,MAAM,uGA4DX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,36 +1,12 @@
1
- export default RadioButton;
2
- declare function RadioButton({ id, value, name, checked, onChange, disabled, readOnly }: {
3
- id: any;
4
- value: any;
5
- name: any;
6
- checked: any;
7
- onChange: any;
8
- disabled: any;
9
- readOnly: any;
10
- }): import("react").JSX.Element;
11
- declare namespace RadioButton {
12
- namespace propTypes {
13
- const id: any;
14
- const name: any;
15
- const checked: any;
16
- const onChange: any;
17
- const disabled: any;
18
- const value: any;
19
- const readOnly: any;
20
- }
21
- namespace defaultProps {
22
- const checked_1: boolean;
23
- export { checked_1 as checked };
24
- export function onChange_1(): void;
25
- export { onChange_1 as onChange };
26
- const disabled_1: boolean;
27
- export { disabled_1 as disabled };
28
- const id_1: null;
29
- export { id_1 as id };
30
- const value_1: string;
31
- export { value_1 as value };
32
- const readOnly_1: boolean;
33
- export { readOnly_1 as readOnly };
34
- }
1
+ /// <reference types="react" />
2
+ export interface RadioButtonProps<T extends string | number = string> {
3
+ id?: string;
4
+ name: string;
5
+ checked?: boolean;
6
+ onChange?: (value: T | '') => void;
7
+ disabled?: boolean;
8
+ value?: T | '';
9
+ readOnly?: boolean;
35
10
  }
11
+ export default function RadioButton<T extends string | number = string>({ id, value, name, checked, onChange, disabled, readOnly, }: RadioButtonProps<T>): import("react").JSX.Element;
36
12
  //# sourceMappingURL=RadioButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../../src/common/RadioButton/RadioButton.js"],"names":[],"mappings":";AAGA;;;;;;;;gCAgBC;;;;;;;;;;;;;;QAcW,mCAAQ"}
1
+ {"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../../src/common/RadioButton/RadioButton.tsx"],"names":[],"mappings":";AAEA,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM;IAClE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,EAAE,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EACtE,EAAE,EACF,KAAU,EACV,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,GACT,EAAE,gBAAgB,CAAC,CAAC,CAAC,+BAsBrB"}
@@ -1,2 +1,2 @@
1
- export { default } from "./RadioButton";
1
+ export { default } from './RadioButton';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/RadioButton/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/RadioButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
@@ -13,7 +13,7 @@ export type AriaLabelProperty = {
13
13
  };
14
14
  export type LinkProps = {
15
15
  href: string;
16
- target?: '_blank' | '_self' | '_parent' | '_top';
16
+ target?: React.HTMLAttributeAnchorTarget;
17
17
  onClick?: React.MouseEventHandler<HTMLElement>;
18
18
  };
19
19
  export type Heading = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
@@ -1 +1 @@
1
- {"version":3,"file":"commonProps.d.ts","sourceRoot":"","sources":["../../../src/common/commonProps.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACjD,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"commonProps.d.ts","sourceRoot":"","sources":["../../../src/common/commonProps.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC;IACzC,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC"}
@@ -1,2 +1,2 @@
1
- export function getDayNames(locale: any, format?: string): string[];
1
+ export declare function getDayNames(locale: string, format?: Intl.DateTimeFormatOptions['weekday']): string[];
2
2
  //# sourceMappingURL=getDayNames.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDayNames.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getDayNames/getDayNames.js"],"names":[],"mappings":"AAEA,oEAQC"}
1
+ {"version":3,"file":"getDayNames.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getDayNames/getDayNames.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAW,YASxD"}
@@ -1,2 +1,2 @@
1
- export { getDayNames } from "./getDayNames";
1
+ export { getDayNames } from './getDayNames';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getDayNames/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getDayNames/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -1,2 +1,2 @@
1
- export function getMonthNames(locale: any, format?: string): string[];
1
+ export declare const getMonthNames: (locale: string, format?: Intl.DateTimeFormatOptions['month']) => string[];
2
2
  //# sourceMappingURL=getMonthNames.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getMonthNames.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getMonthNames/getMonthNames.js"],"names":[],"mappings":"AAEO,sEAUN"}
1
+ {"version":3,"file":"getMonthNames.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getMonthNames/getMonthNames.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,WAChB,MAAM,WACN,KAAK,qBAAqB,CAAC,OAAO,CAAC,KAC1C,MAAM,EASR,CAAC"}
@@ -1,2 +1,2 @@
1
- export { getMonthNames } from "./getMonthNames";
1
+ export { getMonthNames } from './getMonthNames';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getMonthNames/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getMonthNames/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,7 +1,7 @@
1
- export { getDayNames } from "./getDayNames";
2
- export { moveToWithinRange } from "./moveToWithinRange";
3
- export { isWithinRange } from "./isWithinRange";
4
- export { getMonthNames } from "./getMonthNames";
5
- export { isDateValid } from "./isDateValid";
6
- export { isMonthAndYearFormat } from "./isMonthAndYearFormat";
1
+ export { getDayNames } from './getDayNames';
2
+ export { moveToWithinRange } from './moveToWithinRange';
3
+ export { isWithinRange } from './isWithinRange';
4
+ export { getMonthNames } from './getMonthNames';
5
+ export { isDateValid } from './isDateValid';
6
+ export { isMonthAndYearFormat } from './isMonthAndYearFormat';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/dateUtils/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/dateUtils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,2 +1,2 @@
1
- export { isDateValid, validDateString } from "./isDateValid";
1
+ export { isDateValid, validDateString } from './isDateValid';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isDateValid/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isDateValid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -1,3 +1,3 @@
1
- export function isDateValid(date: any): boolean;
2
- export function validDateString(dateString: any): boolean;
1
+ export declare const isDateValid: (date: Date | string | null) => boolean;
2
+ export declare const validDateString: (dateString: string) => boolean;
3
3
  //# sourceMappingURL=isDateValid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isDateValid.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isDateValid/isDateValid.js"],"names":[],"mappings":"AAAO,gDAA4E;AAE5E,0DACkE"}
1
+ {"version":3,"file":"isDateValid.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isDateValid/isDateValid.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,SAAU,IAAI,GAAG,MAAM,GAAG,IAAI,YAQrD,CAAC;AAEF,eAAO,MAAM,eAAe,eAAgB,MAAM,YAA0C,CAAC"}
@@ -1,2 +1,2 @@
1
- export { isMonthAndYearFormat } from "./isMonthAndYearFormat";
1
+ export { isMonthAndYearFormat } from './isMonthAndYearFormat';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isMonthAndYearFormat/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isMonthAndYearFormat/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,2 +1,2 @@
1
- export function isMonthAndYearFormat(dateString: any): boolean;
1
+ export declare const isMonthAndYearFormat: (dateString: string) => boolean;
2
2
  //# sourceMappingURL=isMonthAndYearFormat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isMonthAndYearFormat.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js"],"names":[],"mappings":"AAEO,+DAC0D"}
1
+ {"version":3,"file":"isMonthAndYearFormat.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,eAAgB,MAAM,YACU,CAAC"}
@@ -1,2 +1,2 @@
1
- export { isWithinRange } from "./isWithinRange";
1
+ export { isWithinRange } from './isWithinRange';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isWithinRange/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isWithinRange/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,2 +1,2 @@
1
- export function isWithinRange(date: any, min: any, max: any): boolean;
1
+ export declare function isWithinRange(date: Date, min: Date, max: Date): boolean;
2
2
  //# sourceMappingURL=isWithinRange.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isWithinRange/isWithinRange.js"],"names":[],"mappings":"AAAA,sEAEC"}
1
+ {"version":3,"file":"isWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isWithinRange/isWithinRange.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,WAE7D"}
@@ -1,2 +1,2 @@
1
- export { moveToWithinRange } from "./moveToWithinRange";
1
+ export { moveToWithinRange } from './moveToWithinRange';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/moveToWithinRange/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/moveToWithinRange/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,2 +1,2 @@
1
- export function moveToWithinRange(date: any, min: any, max: any): any;
1
+ export declare function moveToWithinRange(date: Date, min: Date, max: Date): Date;
2
2
  //# sourceMappingURL=moveToWithinRange.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"moveToWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/moveToWithinRange/moveToWithinRange.js"],"names":[],"mappings":"AAGA,sEAEC"}
1
+ {"version":3,"file":"moveToWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/moveToWithinRange/moveToWithinRange.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,QAEjE"}
@@ -16,7 +16,7 @@ declare const Panel: import("react").ForwardRefExoticComponent<{
16
16
  altAxis?: boolean | undefined;
17
17
  open?: boolean | undefined;
18
18
  onClose?: ((event: Event | SyntheticEvent) => void) | undefined;
19
- position?: "left" | "right" | "bottom" | "top" | undefined;
19
+ position?: "top" | "bottom" | "left" | "right" | undefined;
20
20
  anchorRef: RefObject<Element>;
21
21
  anchorWidth?: boolean | undefined;
22
22
  } & {
@@ -5,7 +5,7 @@ declare const ResponsivePanel: import("react").ForwardRefExoticComponent<{
5
5
  altAxis?: boolean | undefined;
6
6
  open?: boolean | undefined;
7
7
  onClose?: ((event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
8
- position?: "left" | "right" | "bottom" | "top" | undefined;
8
+ position?: "top" | "bottom" | "left" | "right" | undefined;
9
9
  anchorRef: import("react").RefObject<Element>;
10
10
  anchorWidth?: boolean | undefined;
11
11
  } & {