se-design 0.0.105 → 0.0.107

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 (223) hide show
  1. package/dist/assets/icons/checkbox-field.svg +9 -0
  2. package/dist/assets/icons/checkmark.svg +3 -0
  3. package/dist/assets/icons/date-field.svg +9 -0
  4. package/dist/assets/icons/email-field.svg +9 -0
  5. package/dist/assets/icons/home.svg +3 -0
  6. package/dist/assets/icons/initials-field.svg +9 -0
  7. package/dist/assets/icons/name-field.svg +16 -0
  8. package/dist/assets/icons/radio-field.svg +17 -0
  9. package/dist/assets/icons/signature-field.svg +16 -0
  10. package/dist/assets/icons/stamp-field.svg +16 -0
  11. package/dist/assets/icons/text-field.svg +9 -0
  12. package/dist/assets/icons/title-field.svg +8 -0
  13. package/dist/components/AutoCompleteInput/index.d.ts +3 -2
  14. package/dist/components/CircularProgressBar/index.d.ts +10 -0
  15. package/dist/components/Icon/index.d.ts +2 -0
  16. package/dist/components/Toggle/index.d.ts +22 -1
  17. package/dist/components/index.d.ts +1 -0
  18. package/dist/index.js +16 -14
  19. package/dist/index.js.map +1 -1
  20. package/dist/index111.js +1233 -2
  21. package/dist/index111.js.map +1 -1
  22. package/dist/index112.js +8 -74
  23. package/dist/index112.js.map +1 -1
  24. package/dist/index113.js +9 -92
  25. package/dist/index113.js.map +1 -1
  26. package/dist/index114.js +4 -51
  27. package/dist/index114.js.map +1 -1
  28. package/dist/index115.js +170 -8
  29. package/dist/index115.js.map +1 -1
  30. package/dist/index116.js +11 -5
  31. package/dist/index116.js.map +1 -1
  32. package/dist/index117.js +5 -51
  33. package/dist/index117.js.map +1 -1
  34. package/dist/index118.js +6 -2
  35. package/dist/index118.js.map +1 -1
  36. package/dist/index119.js +38 -2
  37. package/dist/index119.js.map +1 -1
  38. package/dist/{index107.js → index120.js} +1 -1
  39. package/dist/index120.js.map +1 -0
  40. package/dist/index121.js +11 -0
  41. package/dist/{index108.js.map → index121.js.map} +1 -1
  42. package/dist/{index109.js → index122.js} +6 -6
  43. package/dist/{index109.js.map → index122.js.map} +1 -1
  44. package/dist/{index110.js → index123.js} +2 -2
  45. package/dist/{index110.js.map → index123.js.map} +1 -1
  46. package/dist/index124.js +5 -0
  47. package/dist/index124.js.map +1 -0
  48. package/dist/index125.js +79 -0
  49. package/dist/index125.js.map +1 -0
  50. package/dist/index126.js +96 -0
  51. package/dist/index126.js.map +1 -0
  52. package/dist/index127.js +55 -0
  53. package/dist/index127.js.map +1 -0
  54. package/dist/index128.js +11 -0
  55. package/dist/index128.js.map +1 -0
  56. package/dist/index129.js +8 -0
  57. package/dist/index129.js.map +1 -0
  58. package/dist/index130.js +55 -0
  59. package/dist/index130.js.map +1 -0
  60. package/dist/index131.js +5 -0
  61. package/dist/index131.js.map +1 -0
  62. package/dist/index132.js +5 -0
  63. package/dist/index132.js.map +1 -0
  64. package/dist/index19.js +26 -24
  65. package/dist/index19.js.map +1 -1
  66. package/dist/index22.js +1 -1
  67. package/dist/index24.js +1 -1
  68. package/dist/index26.js +1 -1
  69. package/dist/index29.js +7 -7
  70. package/dist/index29.js.map +1 -1
  71. package/dist/index31.js +1 -1
  72. package/dist/index32.js +1 -1
  73. package/dist/index33.js +1 -1
  74. package/dist/index34.js +1 -1
  75. package/dist/index35.js +1 -1
  76. package/dist/index36.js +1 -1
  77. package/dist/index37.js +53 -46
  78. package/dist/index37.js.map +1 -1
  79. package/dist/index38.js +2 -2
  80. package/dist/index39.js +38 -2
  81. package/dist/index39.js.map +1 -1
  82. package/dist/index4.js +135 -102
  83. package/dist/index4.js.map +1 -1
  84. package/dist/index40.js +1 -1
  85. package/dist/index40.js.map +1 -1
  86. package/dist/index41.js +1 -1
  87. package/dist/index41.js.map +1 -1
  88. package/dist/index42.js +1 -1
  89. package/dist/index42.js.map +1 -1
  90. package/dist/index43.js +1 -1
  91. package/dist/index43.js.map +1 -1
  92. package/dist/index44.js +1 -1
  93. package/dist/index44.js.map +1 -1
  94. package/dist/index45.js +1 -1
  95. package/dist/index45.js.map +1 -1
  96. package/dist/index46.js +1 -1
  97. package/dist/index46.js.map +1 -1
  98. package/dist/index47.js +1 -1
  99. package/dist/index47.js.map +1 -1
  100. package/dist/index48.js +1 -1
  101. package/dist/index48.js.map +1 -1
  102. package/dist/index49.js +1 -1
  103. package/dist/index49.js.map +1 -1
  104. package/dist/index50.js +1 -1
  105. package/dist/index50.js.map +1 -1
  106. package/dist/index51.js +1 -1
  107. package/dist/index51.js.map +1 -1
  108. package/dist/index52.js +1 -1
  109. package/dist/index52.js.map +1 -1
  110. package/dist/index53.js +2 -2
  111. package/dist/index53.js.map +1 -1
  112. package/dist/index54.js +1 -1
  113. package/dist/index54.js.map +1 -1
  114. package/dist/index55.js +2 -2
  115. package/dist/index55.js.map +1 -1
  116. package/dist/index56.js +1 -1
  117. package/dist/index56.js.map +1 -1
  118. package/dist/index57.js +2 -2
  119. package/dist/index57.js.map +1 -1
  120. package/dist/index58.js +1 -1
  121. package/dist/index58.js.map +1 -1
  122. package/dist/index59.js +1 -1
  123. package/dist/index59.js.map +1 -1
  124. package/dist/index6.js +31 -22
  125. package/dist/index6.js.map +1 -1
  126. package/dist/index60.js +1 -1
  127. package/dist/index60.js.map +1 -1
  128. package/dist/index61.js +2 -2
  129. package/dist/index61.js.map +1 -1
  130. package/dist/index62.js +1 -1
  131. package/dist/index62.js.map +1 -1
  132. package/dist/index63.js +1 -1
  133. package/dist/index63.js.map +1 -1
  134. package/dist/index64.js +1 -1
  135. package/dist/index64.js.map +1 -1
  136. package/dist/index65.js +1 -1
  137. package/dist/index65.js.map +1 -1
  138. package/dist/index66.js +1 -1
  139. package/dist/index66.js.map +1 -1
  140. package/dist/index67.js +1 -1
  141. package/dist/index67.js.map +1 -1
  142. package/dist/index68.js +1 -1
  143. package/dist/index68.js.map +1 -1
  144. package/dist/index69.js +1 -1
  145. package/dist/index69.js.map +1 -1
  146. package/dist/index70.js +2 -2
  147. package/dist/index70.js.map +1 -1
  148. package/dist/index71.js +2 -2
  149. package/dist/index71.js.map +1 -1
  150. package/dist/index72.js +1 -1
  151. package/dist/index72.js.map +1 -1
  152. package/dist/index73.js +1 -1
  153. package/dist/index73.js.map +1 -1
  154. package/dist/index74.js +1 -1
  155. package/dist/index74.js.map +1 -1
  156. package/dist/index75.js +2 -2
  157. package/dist/index75.js.map +1 -1
  158. package/dist/index76.js +1 -1
  159. package/dist/index76.js.map +1 -1
  160. package/dist/index77.js +2 -2
  161. package/dist/index77.js.map +1 -1
  162. package/dist/index78.js +2 -2
  163. package/dist/index78.js.map +1 -1
  164. package/dist/index79.js +1 -1
  165. package/dist/index79.js.map +1 -1
  166. package/dist/index80.js +1 -1
  167. package/dist/index80.js.map +1 -1
  168. package/dist/index81.js +2 -2
  169. package/dist/index81.js.map +1 -1
  170. package/dist/index82.js +1 -1
  171. package/dist/index82.js.map +1 -1
  172. package/dist/index83.js +2 -2
  173. package/dist/index83.js.map +1 -1
  174. package/dist/index84.js +2 -149
  175. package/dist/index84.js.map +1 -1
  176. package/dist/index85.js +5 -0
  177. package/dist/index85.js.map +1 -0
  178. package/dist/index86.js +5 -0
  179. package/dist/index86.js.map +1 -0
  180. package/dist/index87.js +5 -0
  181. package/dist/index87.js.map +1 -0
  182. package/dist/index88.js +5 -0
  183. package/dist/index88.js.map +1 -0
  184. package/dist/index89.js +5 -0
  185. package/dist/index89.js.map +1 -0
  186. package/dist/index90.js +5 -0
  187. package/dist/index90.js.map +1 -0
  188. package/dist/index91.js +5 -0
  189. package/dist/index91.js.map +1 -0
  190. package/dist/index92.js +5 -0
  191. package/dist/index92.js.map +1 -0
  192. package/dist/index93.js +5 -0
  193. package/dist/index93.js.map +1 -0
  194. package/dist/index94.js +5 -0
  195. package/dist/index94.js.map +1 -0
  196. package/dist/index95.js +5 -0
  197. package/dist/index95.js.map +1 -0
  198. package/dist/index96.js +5 -0
  199. package/dist/index96.js.map +1 -0
  200. package/dist/index97.js +152 -0
  201. package/dist/index97.js.map +1 -0
  202. package/package.json +1 -1
  203. package/dist/components/Toggle/Toggle.types.d.ts +0 -14
  204. package/dist/index100.js +0 -13
  205. package/dist/index100.js.map +0 -1
  206. package/dist/index101.js +0 -8
  207. package/dist/index101.js.map +0 -1
  208. package/dist/index102.js +0 -173
  209. package/dist/index102.js.map +0 -1
  210. package/dist/index103.js +0 -14
  211. package/dist/index103.js.map +0 -1
  212. package/dist/index104.js +0 -9
  213. package/dist/index104.js.map +0 -1
  214. package/dist/index105.js +0 -9
  215. package/dist/index105.js.map +0 -1
  216. package/dist/index106.js +0 -41
  217. package/dist/index106.js.map +0 -1
  218. package/dist/index107.js.map +0 -1
  219. package/dist/index108.js +0 -11
  220. package/dist/index98.js +0 -1236
  221. package/dist/index98.js.map +0 -1
  222. package/dist/index99.js +0 -13
  223. package/dist/index99.js.map +0 -1
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <path
3
+ d="M11.0198 5.66834L6.87692 10.8469L4.80549 9.29334M1.78467 2.82038V13.1775C1.78467 13.7496 2.24838 14.2132 2.82038 14.2132H13.1775C13.7496 14.2132 14.2132 13.7496 14.2132 13.1775V2.82038C14.2132 2.24837 13.7496 1.78467 13.1775 1.78467H2.82038C2.24838 1.78467 1.78467 2.24838 1.78467 2.82038Z"
4
+ stroke="black"
5
+ stroke-width="1.2"
6
+ stroke-linecap="round"
7
+ stroke-linejoin="round"
8
+ />
9
+ </svg>
@@ -0,0 +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="M2.5 9.88793L5.22638 12.2892C5.58634 12.6063 6.13559 12.5602 6.43847 12.1876L13.5 3.49999" stroke="#415575" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <path
3
+ d="M4.37495 1.78467V4.89181M11.6249 1.78467V4.89181M4.37495 10.3293V7.22217H7.48209V10.3293H4.37495ZM2.82038 3.33762C2.54569 3.33762 2.28226 3.44674 2.08802 3.64097C1.89379 3.83521 1.78467 4.09864 1.78467 4.37333V13.1769C1.78467 13.4516 1.89379 13.7151 2.08802 13.9093C2.28226 14.1035 2.54569 14.2126 2.82038 14.2126H13.1775C13.4522 14.2126 13.7157 14.1035 13.9099 13.9093C14.1041 13.7151 14.2132 13.4516 14.2132 13.1769V4.37333C14.2132 4.09864 14.1041 3.83521 13.9099 3.64097C13.7157 3.44674 13.4522 3.33762 13.1775 3.33762H2.82038Z"
4
+ stroke="black"
5
+ stroke-width="1.06667"
6
+ stroke-linecap="round"
7
+ stroke-linejoin="round"
8
+ />
9
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <path
3
+ d="M1.27102 4.89035L7.41362 9.14292C7.7683 9.38846 8.23803 9.38846 8.5927 9.14292L14.7353 4.89035M1.271 12.6574V3.33601C1.271 2.764 1.7347 2.30029 2.30671 2.30029H13.6996C14.2716 2.30029 14.7353 2.76399 14.7353 3.33601V12.6574C14.7353 13.2295 14.2716 13.6931 13.6996 13.6931H2.30671C1.7347 13.6931 1.271 13.2295 1.271 12.6574Z"
4
+ stroke="black"
5
+ stroke-width="1.06667"
6
+ stroke-linecap="round"
7
+ stroke-linejoin="round"
8
+ />
9
+ </svg>
@@ -0,0 +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="M1.06812 7.57028L7.70676 1.87026C7.87538 1.72548 8.12443 1.72548 8.29305 1.87025L14.9319 7.57028M3.07867 8.52473V13.9315C3.07867 14.18 3.28015 14.3815 3.52867 14.3815H12.4713C12.7199 14.3815 12.9213 14.18 12.9213 13.9315V8.52473" stroke="#415575" stroke-width="1.2" stroke-linecap="round"/>
3
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <path
3
+ d="M13.1807 8.52009H14.7343V10.5915C14.7343 11.4495 14.0387 12.1451 13.1807 12.1451H11.1093C10.2513 12.1451 9.55574 11.4495 9.55574 10.5915V5.41295C9.55574 4.55493 10.2513 3.85938 11.1093 3.85938H13.1807C14.0387 3.85938 14.7343 4.55493 14.7343 5.41295M1.271 12.1451L3.32093 4.85641C3.48677 4.26676 4.02455 3.85938 4.63707 3.85938C5.24959 3.85938 5.78736 4.26676 5.9532 4.85641L8.00314 12.1451M2.14602 9.03733H7.13039"
4
+ stroke="black"
5
+ stroke-width="1.2"
6
+ stroke-linecap="round"
7
+ stroke-linejoin="round"
8
+ />
9
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <path
3
+ d="M8.00292 7.99895C9.71895 7.99895 11.1101 6.60783 11.1101 4.89181C11.1101 3.17579 9.71895 1.78467 8.00292 1.78467C6.2869 1.78467 4.89578 3.17579 4.89578 4.89181C4.89578 6.60783 6.2869 7.99895 8.00292 7.99895Z"
4
+ stroke="black"
5
+ stroke-width="1.06667"
6
+ stroke-linecap="round"
7
+ stroke-linejoin="round"
8
+ />
9
+ <path
10
+ d="M8.00085 10.0696C5.20033 10.0696 2.79922 11.7796 1.78467 14.2125H14.217C13.2025 11.7796 10.8014 10.0696 8.00085 10.0696Z"
11
+ stroke="black"
12
+ stroke-width="1.06667"
13
+ stroke-linecap="round"
14
+ stroke-linejoin="round"
15
+ />
16
+ </svg>
@@ -0,0 +1,17 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <g clip-path="url(#clip0_7236_76584)">
3
+ <path
4
+ d="M8.00012 11.6224C10.0022 11.6224 11.6251 9.99943 11.6251 7.99739C11.6251 5.99536 10.0022 4.37239 8.00012 4.37239C5.99809 4.37239 4.37512 5.99536 4.37512 7.99739C4.37512 9.99943 5.99809 11.6224 8.00012 11.6224Z"
5
+ fill="black"
6
+ />
7
+ <path
8
+ d="M14.2349 7.99805C14.2349 4.55622 11.4453 1.76578 8.00342 1.76562C4.5615 1.76562 1.771 4.55613 1.771 7.99805C1.77115 11.4399 4.56159 14.2295 8.00342 14.2295C11.4452 14.2293 14.2347 11.4398 14.2349 7.99805ZM11.1255 7.99707C11.1253 6.27145 9.72611 4.87227 8.00049 4.87207C6.2747 4.87207 4.87566 6.27132 4.87549 7.99707C4.87549 9.72296 6.2746 11.1221 8.00049 11.1221C9.72621 11.1219 11.1255 9.72284 11.1255 7.99707ZM15.2349 7.99805C15.2347 11.9921 11.9974 15.2293 8.00342 15.2295C4.00931 15.2295 0.771147 11.9922 0.770996 7.99805C0.770996 4.00385 4.00922 0.765625 8.00342 0.765625C11.9975 0.765776 15.2349 4.00394 15.2349 7.99805ZM12.1255 7.99707C12.1255 10.2751 10.2785 12.1219 8.00049 12.1221C5.72231 12.1221 3.87549 10.2752 3.87549 7.99707C3.87566 5.71904 5.72242 3.87207 8.00049 3.87207C10.2784 3.87227 12.1253 5.71916 12.1255 7.99707Z"
9
+ fill="black"
10
+ />
11
+ </g>
12
+ <defs>
13
+ <clipPath id="clip0_7236_76584">
14
+ <rect width="16" height="16" fill="white" />
15
+ </clipPath>
16
+ </defs>
17
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <g clip-path="url(#clip0_7225_19501)">
3
+ <path
4
+ d="M2.82457 6.4442C2.30671 6.09896 1.271 5.09777 1.271 3.85491C1.271 2.30134 2.30671 1.26562 3.86028 1.26562C5.41385 1.26562 6.96742 2.8192 7.48528 6.4442C8.00314 10.0692 5.93171 14.7299 3.34242 14.7299C0.753139 14.7299 2.30671 7.99777 8.00314 5.92634C11.4181 4.68453 11.6281 7.99777 11.1103 10.0692C12.146 8.51562 13.1817 6.96205 14.7353 7.99777M9.04185 12.6589H14.7383"
5
+ stroke="black"
6
+ stroke-width="1.2"
7
+ stroke-linecap="round"
8
+ stroke-linejoin="round"
9
+ />
10
+ </g>
11
+ <defs>
12
+ <clipPath id="clip0_7225_19501">
13
+ <rect width="16" height="16" fill="white" />
14
+ </clipPath>
15
+ </defs>
16
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <path
3
+ d="M2.30574 11.1058H13.6986V12.6594C13.6986 12.9341 13.5894 13.1976 13.3952 13.3918C13.201 13.586 12.9376 13.6951 12.6629 13.6951H3.34145C3.06676 13.6951 2.80333 13.586 2.60909 13.3918C2.41486 13.1976 2.30574 12.9341 2.30574 12.6594V11.1058Z"
4
+ stroke="black"
5
+ stroke-width="1.2"
6
+ stroke-linecap="round"
7
+ stroke-linejoin="round"
8
+ />
9
+ <path
10
+ d="M11.6281 7.4811C11.3535 7.4811 11.09 7.37197 10.8958 7.17775C10.7015 6.98351 10.5924 6.72007 10.5924 6.44538V4.37395C10.5924 3.68723 10.3196 3.02863 9.83404 2.54305C9.34846 2.05746 8.68986 1.78467 8.00314 1.78467C7.31642 1.78467 6.65782 2.05746 6.17223 2.54305C5.68665 3.02863 5.41385 3.68723 5.41385 4.37395V6.44538C5.41385 6.72007 5.30473 6.98351 5.1105 7.17775C4.91626 7.37197 4.65283 7.4811 4.37814 7.4811H3.34242C2.79305 7.4811 2.26617 7.69933 1.87771 8.08781C1.48924 8.47627 1.271 9.00315 1.271 9.55253V10.0704C1.271 10.3451 1.38012 10.6085 1.57435 10.8027C1.76858 10.997 2.03202 11.1061 2.30671 11.1061H13.6996C13.9742 11.1061 14.2377 10.997 14.4319 10.8027C14.6261 10.6085 14.7353 10.3451 14.7353 10.0704V9.55253C14.7353 9.00315 14.5171 8.47627 14.1286 8.08781C13.7401 7.69933 13.2132 7.4811 12.6639 7.4811H11.6281Z"
11
+ stroke="black"
12
+ stroke-width="1.2"
13
+ stroke-linecap="round"
14
+ stroke-linejoin="round"
15
+ />
16
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <path
3
+ d="M1.78076 3.5625H9.54862M1.78671 6.6684H14.2153M1.78671 9.77778H14.2153M1.78671 12.8837H14.2153"
4
+ stroke="black"
5
+ stroke-width="1.2"
6
+ stroke-linecap="round"
7
+ stroke-linejoin="round"
8
+ />
9
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2
+ <path
3
+ d="M1.25439 8.51893H14.7454M4.88658 8.51893V10.0756M11.1132 8.51893V10.0756M4.88658 4.88674V2.81121C4.88658 2.23807 5.35121 1.77344 5.92435 1.77344H10.0754C10.6486 1.77344 11.1132 2.23807 11.1132 2.81121V4.88674M13.7076 4.88674H2.29216C1.71902 4.88674 1.25439 5.35137 1.25439 5.92451V13.1889C1.25439 13.762 1.71902 14.2266 2.29216 14.2266H13.7076C14.2808 14.2266 14.7454 13.762 14.7454 13.1889V5.92451C14.7454 5.35137 14.2808 4.88674 13.7076 4.88674Z"
4
+ stroke="black"
5
+ stroke-linecap="round"
6
+ stroke-linejoin="round"
7
+ />
8
+ </svg>
@@ -3,13 +3,14 @@ export interface AutoCompleteInputProps {
3
3
  value: string;
4
4
  disabled?: boolean;
5
5
  maxLength?: number;
6
- onChange: (value: string) => void;
6
+ onChange: (value: string, fromSuggestion?: boolean) => void;
7
7
  tag?: string;
8
8
  error?: boolean;
9
9
  errorMessage?: string;
10
10
  label?: string;
11
11
  placeholder?: string;
12
12
  suggestions?: string[];
13
- onButtonClick?: () => void;
13
+ customRenderSuggestions?: (suggestions: any, handleSuggestionClick: (suggestion: string) => void) => any;
14
+ onSuggestionClick?: (suggestion: string) => void;
14
15
  }
15
16
  export declare const AutoCompleteInput: React.FC<AutoCompleteInputProps>;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ interface CircularProgressBarProps {
3
+ progress: number;
4
+ backgroundColor?: string;
5
+ progressColor?: string;
6
+ size?: number;
7
+ strokeWidth?: number;
8
+ }
9
+ export declare const CircularProgressBar: ({ progress, backgroundColor, progressColor, size, strokeWidth }: CircularProgressBarProps) => React.JSX.Element;
10
+ export {};
@@ -3,5 +3,7 @@ export type IconProps = {
3
3
  name: string;
4
4
  className?: string;
5
5
  onClick?: () => void;
6
+ fill?: string;
7
+ stroke?: string;
6
8
  };
7
9
  export declare const Icon: FC<IconProps>;
@@ -1,3 +1,24 @@
1
1
  import { default as React } from 'react';
2
- import { ToggleProps } from './Toggle.types';
2
+ export interface ToggleProps {
3
+ /**
4
+ * Callback when the toggle is toggled. The parent is responsible for updating the checked state.
5
+ */
6
+ onToggle?: (checked: boolean) => void;
7
+ /**
8
+ * The controlled state of the toggle.
9
+ */
10
+ checked: boolean;
11
+ /**
12
+ * Optional disabled state
13
+ */
14
+ disabled?: boolean;
15
+ /**
16
+ * Optional label
17
+ */
18
+ label?: string;
19
+ /**
20
+ * Position of the label
21
+ */
22
+ labelPosition?: 'left' | 'right';
23
+ }
3
24
  export declare const Toggle: React.FC<ToggleProps>;
@@ -34,3 +34,4 @@ export { MessageBar } from './MessageBar';
34
34
  export { ToastBar } from './ToastBar';
35
35
  export { AutoCompleteInput } from './AutoCompleteInput';
36
36
  export { PhoneInput } from './PhoneInput';
37
+ export { CircularProgressBar } from './CircularProgressBar';
package/dist/index.js CHANGED
@@ -3,14 +3,14 @@ import { Button as t } from "./index3.js";
3
3
  import { Icon as m } from "./index4.js";
4
4
  import { SplitButton as f } from "./index5.js";
5
5
  import { Toggle as n } from "./index6.js";
6
- import { Badge as i } from "./index7.js";
6
+ import { Badge as u } from "./index7.js";
7
7
  import { LabelChip as l } from "./index8.js";
8
- import { Modal as g } from "./index9.js";
8
+ import { Modal as s } from "./index9.js";
9
9
  import { Tooltip as B } from "./index10.js";
10
- import { MenuItem as T } from "./index11.js";
10
+ import { MenuItem as c } from "./index11.js";
11
11
  import { MenuList as I } from "./index12.js";
12
12
  import { Popover as L } from "./index13.js";
13
- import { Header as P } from "./index14.js";
13
+ import { Header as h } from "./index14.js";
14
14
  import { HamburgerMenu as S } from "./index15.js";
15
15
  import { TableLayout as v } from "./index16.js";
16
16
  import { Checkbox as G } from "./index17.js";
@@ -31,34 +31,36 @@ import { InputWithTags as mo } from "./index31.js";
31
31
  import { Input as fo } from "./index32.js";
32
32
  import { ProgressBar as no } from "./index33.js";
33
33
  import { GetStartedWidget as uo } from "./index34.js";
34
- import { MessageBar as bo } from "./index35.js";
35
- import { ToastBar as so } from "./index36.js";
34
+ import { MessageBar as go } from "./index35.js";
35
+ import { ToastBar as bo } from "./index36.js";
36
36
  import { AutoCompleteInput as Co } from "./index37.js";
37
- import { PhoneInput as co } from "./index38.js";
37
+ import { PhoneInput as To } from "./index38.js";
38
+ import { CircularProgressBar as Mo } from "./index39.js";
38
39
  export {
39
40
  ro as Accordion,
40
41
  Co as AutoCompleteInput,
41
- i as Badge,
42
+ u as Badge,
42
43
  N as Banner,
43
44
  t as Button,
44
45
  G as Checkbox,
46
+ Mo as CircularProgressBar,
45
47
  R as ColorCodedLabel,
46
48
  to as CustomAccordion,
47
49
  w as Dropdown,
48
50
  uo as GetStartedWidget,
49
51
  S as HamburgerMenu,
50
- P as Header,
52
+ h as Header,
51
53
  m as Icon,
52
54
  fo as Input,
53
55
  mo as InputWithTags,
54
56
  K as KebabMenu,
55
57
  l as LabelChip,
56
- T as MenuItem,
58
+ c as MenuItem,
57
59
  I as MenuList,
58
- bo as MessageBar,
59
- g as Modal,
60
+ go as MessageBar,
61
+ s as Modal,
60
62
  U as Pagination,
61
- co as PhoneInput,
63
+ To as PhoneInput,
62
64
  L as Popover,
63
65
  no as ProgressBar,
64
66
  Z as Radio,
@@ -68,7 +70,7 @@ export {
68
70
  j as TableContentLoader,
69
71
  v as TableLayout,
70
72
  F as Tabs,
71
- so as ToastBar,
73
+ bo as ToastBar,
72
74
  n as Toggle,
73
75
  B as Tooltip,
74
76
  X as Widget
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}