oolib 2.110.0 → 2.111.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 (259) hide show
  1. package/dist/UIContent/index.d.ts +17 -17
  2. package/dist/components/Accordion/index.d.ts +56 -13
  3. package/dist/components/Accordion/index.js +23 -31
  4. package/dist/components/Accordion/styled.d.ts +7 -7
  5. package/dist/components/Accordion/styled.js +7 -8
  6. package/dist/components/ActionMenu/index.js +2 -9
  7. package/dist/components/AudioInput/comps/AudioAction.d.ts +1 -1
  8. package/dist/components/AudioInput/comps/AudioPlayer.d.ts +1 -1
  9. package/dist/components/AudioInput/index.js +1 -1
  10. package/dist/components/Breadcrumbs/index.styled.d.ts +1 -1
  11. package/dist/components/Buttons/index.d.ts +32 -42
  12. package/dist/components/Buttons/index.js +3 -3
  13. package/dist/components/Coachmark/comps/MovingCoachmark/index.d.ts +3 -0
  14. package/dist/components/Coachmark/comps/MovingCoachmark/index.js +68 -0
  15. package/dist/components/Coachmark/comps/MovingCoachmark/styled.d.ts +2 -0
  16. package/dist/components/Coachmark/comps/MovingCoachmark/styled.js +45 -0
  17. package/dist/components/Coachmark/comps/MovingCoachmark/utils/index.d.ts +1 -0
  18. package/dist/components/Coachmark/comps/MovingCoachmark/utils/index.js +57 -0
  19. package/dist/components/Coachmark/config.d.ts +31 -0
  20. package/dist/components/Coachmark/config.js +61 -0
  21. package/dist/components/Coachmark/index.d.ts +4 -0
  22. package/dist/components/Coachmark/index.js +74 -0
  23. package/dist/components/Coachmark/styled.d.ts +1 -0
  24. package/dist/components/Coachmark/styled.js +37 -0
  25. package/dist/components/Coachmark/utils/index.d.ts +13 -0
  26. package/dist/components/Coachmark/utils/index.js +70 -0
  27. package/dist/components/DateRangePicker/index.d.ts +1 -1
  28. package/dist/components/DateTimePicker/index.styled.d.ts +0 -0
  29. package/dist/components/DateTimePicker/index.styled.js +0 -0
  30. package/dist/components/Dropdowns/DropdownMulti/index.js +4 -28
  31. package/dist/components/Dropdowns/DropdownSingle/index.js +4 -28
  32. package/dist/components/Dropdowns/comps/OptionsMulti/index.js +3 -30
  33. package/dist/components/Dropdowns/comps/OptionsShell/index.js +1 -11
  34. package/dist/components/Dropdowns/comps/OptionsSingle/index.js +2 -34
  35. package/dist/components/Dropdowns/comps/SelectDropdown/index.js +1 -12
  36. package/dist/components/Dropdowns/comps/VirtualizedWrapper/index.d.ts +1 -1
  37. package/dist/components/Dropdowns/utils/isDynamicOtherOption.d.ts +0 -0
  38. package/dist/components/Dropdowns/utils/isDynamicOtherOption.js +0 -0
  39. package/dist/components/EmptyStates/index.js +1 -12
  40. package/dist/components/FileUploadWrapper/comps/FileUploadShell.d.ts +1 -1
  41. package/dist/components/FileUploadWrapper/index.d.ts +1 -1
  42. package/dist/components/FileUploadWrapper/index.js +1 -12
  43. package/dist/components/IFrameInput/comps/Embed.d.ts +1 -1
  44. package/dist/components/IFrameInput/index.js +2 -2
  45. package/dist/components/IFrameInput/utils/DisplayCoachmark.d.ts +7 -0
  46. package/dist/components/IFrameInput/utils/DisplayCoachmark.js +83 -0
  47. package/dist/components/ImageInput/comps/GallerySlider/index.js +1 -16
  48. package/dist/components/ImageInput/comps/ImageEditor/comps/ConfirmDeleteModal/index.d.ts +1 -1
  49. package/dist/components/ImageInput/comps/ImageEditor/index.js +9 -65
  50. package/dist/components/ImageInput/comps/Placeholder/index.js +1 -17
  51. package/dist/components/ImageInput/comps/Placeholder/styled.d.ts +3 -0
  52. package/dist/components/ImageInput/comps/Placeholder/styled.js +39 -0
  53. package/dist/components/ImageInput/comps/SingleImageInput/index.js +1 -32
  54. package/dist/components/ImageInput/derivedComps/ImageDisplayInMask/index.js +1 -1
  55. package/dist/components/ImageInput/index.js +4 -26
  56. package/dist/components/InlineAlert/index.d.ts +25 -8
  57. package/dist/components/InlineAlert/index.js +16 -1
  58. package/dist/components/LegendRadioCheckList/LegendButton/index.d.ts +10 -0
  59. package/dist/components/LegendRadioCheckList/LegendButton/index.js +18 -0
  60. package/dist/components/LegendRadioCheckList/LegendButton/styled.d.ts +3 -0
  61. package/dist/components/LegendRadioCheckList/LegendButton/styled.js +22 -0
  62. package/dist/components/LegendRadioCheckList/LegendCheckboxList/index.d.ts +8 -0
  63. package/dist/components/LegendRadioCheckList/LegendCheckboxList/index.js +49 -0
  64. package/dist/components/LegendRadioCheckList/LegendCheckboxList/styled.d.ts +0 -0
  65. package/dist/components/LegendRadioCheckList/LegendCheckboxList/styled.js +0 -0
  66. package/dist/components/LegendRadioCheckList/LegendRadioList/index.d.ts +8 -0
  67. package/dist/components/LegendRadioCheckList/LegendRadioList/index.js +34 -0
  68. package/dist/components/LegendRadioCheckList/LegendRadioList/styled.d.ts +1 -0
  69. package/dist/components/LegendRadioCheckList/LegendRadioList/styled.js +13 -0
  70. package/dist/components/Lexical/Plugins/TableCellResizer/index.js +1 -26
  71. package/dist/components/LoadersAndProgress/LoaderCircle/index.js +2 -2
  72. package/dist/components/LoadersAndProgress/SkeletonLoader/index.d.ts +1 -1
  73. package/dist/components/Margins/index.d.ts +1 -1
  74. package/dist/components/Modals/Modal/styled.d.ts +2 -2
  75. package/dist/components/Modals/ModalConfirm/styled.d.ts +2 -2
  76. package/dist/components/OKELink/comps/AvatarDisplay/index.d.ts +8 -0
  77. package/dist/components/OKELink/comps/AvatarDisplay/index.js +19 -0
  78. package/dist/components/OKELink/comps/AvatarDisplay/styled.d.ts +2 -0
  79. package/dist/components/OKELink/comps/AvatarDisplay/styled.js +48 -0
  80. package/dist/components/OKELink/index.d.ts +1 -1
  81. package/dist/components/OKELink/index.js +2 -5
  82. package/dist/components/OKELink/utils/index.d.ts +6 -0
  83. package/dist/components/OKELink/utils/index.js +20 -0
  84. package/dist/components/PDFInput/comps/PDFActions.d.ts +1 -1
  85. package/dist/components/PDFInput/index.js +1 -1
  86. package/dist/components/Paddings/index.d.ts +1 -1
  87. package/dist/components/PercentCompletedPie/index.d.ts +19 -5
  88. package/dist/components/PercentCompletedPie/index.js +15 -5
  89. package/dist/components/PercentCompletedPie/styled.d.ts +17 -5
  90. package/dist/components/PercentCompletedPie/styled.js +26 -6
  91. package/dist/components/Playground/index.d.ts +4 -0
  92. package/dist/components/Playground/index.js +17 -0
  93. package/dist/components/Playground/styled.d.ts +1 -0
  94. package/dist/components/Playground/styled.js +14 -0
  95. package/dist/components/RadioAndCheckbox/comps/CheckboxList/comps/CheckboxButton/index.d.ts +1 -1
  96. package/dist/components/RadioAndCheckbox/comps/CheckboxList/comps/CheckboxButton/index.js +1 -12
  97. package/dist/components/RadioAndCheckbox/comps/CheckboxList/comps/CheckboxInput/index.d.ts +1 -1
  98. package/dist/components/RadioAndCheckbox/comps/CheckboxList/comps/CheckboxInput/index.js +3 -20
  99. package/dist/components/RadioAndCheckbox/comps/CheckboxList/index.js +11 -7
  100. package/dist/components/RadioAndCheckbox/comps/RadioList/comps/RadioInput/index.js +4 -25
  101. package/dist/components/RadioAndCheckbox/comps/RadioList/index.js +6 -6
  102. package/dist/components/ResourceInput/comp/ResourceDisplayBlock.d.ts +1 -1
  103. package/dist/components/ResourceInput/index.d.ts +1 -1
  104. package/dist/components/SimpleTable/index.js +5 -22
  105. package/dist/components/SimpleTable/utils/convertColHeaderConfigToRowData.js +1 -1
  106. package/dist/components/SimpleTable/utils/convertRowHeaderConfigToCellData.js +1 -1
  107. package/dist/components/SimpleTable/utils/prepInitValueFromConfigIfNoValue.js +2 -2
  108. package/dist/components/Switches/index.js +5 -11
  109. package/dist/components/Tags/index.d.ts +1 -1
  110. package/dist/components/Tags/index.styled.d.ts +1 -1
  111. package/dist/components/TimePicker/styled.d.ts +1 -1
  112. package/dist/components/TimeRangePicker/index.styled.d.ts +0 -0
  113. package/dist/components/TimeRangePicker/index.styled.js +0 -0
  114. package/dist/components/Tooltip/index.d.ts +2 -3
  115. package/dist/components/Typo/index.js +1 -1
  116. package/dist/components/VideoInput/comps/VideoActionMenu.d.ts +1 -1
  117. package/dist/components/VideoInput/index.d.ts +1 -1
  118. package/dist/components/VideoInput/index.js +2 -21
  119. package/dist/components/Wrappers/WrapperCardGrid.d.ts +2 -0
  120. package/dist/components/Wrappers/WrapperCardGrid.js +19 -0
  121. package/dist/components/Wrappers/index.d.ts +1 -1
  122. package/dist/components/Wrappers/index.js +1 -1
  123. package/dist/components/cards/ListProfile/styled.d.ts +7 -0
  124. package/dist/components/cards/ListProfile/styled.js +23 -0
  125. package/dist/components/cards/utils/parseCardConfig.js +1 -1
  126. package/dist/d3Modules/index.d.ts +1 -0
  127. package/dist/d3Modules/index.js +1 -1
  128. package/dist/icons/custom/index.d.ts +1 -0
  129. package/dist/icons/custom/index.js +6 -1
  130. package/dist/icons/index.d.ts +112 -110
  131. package/dist/icons/index.js +2 -1
  132. package/dist/stories/Accordion.stories.d.ts +78 -0
  133. package/dist/stories/Accordion.stories.js +93 -0
  134. package/dist/stories/ActionMenu.stories.d.ts +166 -0
  135. package/dist/stories/ActionMenu.stories.js +140 -0
  136. package/dist/stories/AudioInput.stories.d.ts +20 -0
  137. package/dist/stories/AudioInput.stories.js +67 -0
  138. package/dist/stories/Banner.stories.d.ts +97 -0
  139. package/dist/stories/Banner.stories.js +126 -0
  140. package/dist/stories/BarChart.stories.d.ts +13 -0
  141. package/dist/stories/BarChart.stories.js +61 -0
  142. package/dist/stories/BlockLabel.stories.d.ts +71 -0
  143. package/dist/stories/BlockLabel.stories.js +106 -0
  144. package/dist/stories/Breadcrumbs.stories.d.ts +13 -0
  145. package/dist/stories/Breadcrumbs.stories.js +34 -0
  146. package/dist/stories/Button.stories.d.ts +209 -0
  147. package/dist/stories/Button.stories.js +164 -0
  148. package/dist/stories/Checkbox.stories.d.ts +248 -0
  149. package/dist/stories/Checkbox.stories.js +249 -0
  150. package/dist/stories/Colors.stories.d.ts +6 -0
  151. package/dist/stories/Colors.stories.js +66 -0
  152. package/dist/stories/DatePicker.stories.d.ts +239 -0
  153. package/dist/stories/DatePicker.stories.js +267 -0
  154. package/dist/stories/Divider.stories.d.ts +8 -0
  155. package/dist/stories/Divider.stories.js +28 -0
  156. package/dist/stories/Dropdowns.stories.d.ts +114 -0
  157. package/dist/stories/Dropdowns.stories.js +280 -0
  158. package/dist/stories/EmptyStates.stories.d.ts +63 -0
  159. package/dist/stories/EmptyStates.stories.js +69 -0
  160. package/dist/stories/HomeCover.stories.d.ts +55 -0
  161. package/dist/stories/HomeCover.stories.js +68 -0
  162. package/dist/stories/IFrameInput.stories.d.ts +32 -0
  163. package/dist/stories/IFrameInput.stories.js +51 -0
  164. package/dist/stories/ImageInput/ImageInput.stories.d.ts +263 -0
  165. package/dist/stories/ImageInput/ImageInput.stories.js +167 -0
  166. package/dist/stories/ImageInput/imageInputArgTypes.d.ts +121 -0
  167. package/dist/stories/ImageInput/imageInputArgTypes.js +78 -0
  168. package/dist/stories/ImageInput/imageInputParseArgTypes.d.ts +17 -0
  169. package/dist/stories/ImageInput/imageInputParseArgTypes.js +31 -0
  170. package/dist/stories/InlineAlert.stories.d.ts +62 -0
  171. package/dist/stories/InlineAlert.stories.js +62 -0
  172. package/dist/stories/Layout.stories.d.ts +161 -0
  173. package/dist/stories/Layout.stories.js +183 -0
  174. package/dist/stories/LegendRadioList.stories.d.ts +15 -0
  175. package/dist/stories/LegendRadioList.stories.js +73 -0
  176. package/dist/stories/Loaders.stories.d.ts +77 -0
  177. package/dist/stories/Loaders.stories.js +74 -0
  178. package/dist/stories/Modal.stories.d.ts +135 -0
  179. package/dist/stories/Modal.stories.js +146 -0
  180. package/dist/stories/ModalConfirmAction.stories.d.ts +13 -0
  181. package/dist/stories/ModalConfirmAction.stories.js +47 -0
  182. package/dist/stories/OKELink.stories.d.ts +72 -0
  183. package/dist/stories/OKELink.stories.js +110 -0
  184. package/dist/stories/PDFInput.stories.d.ts +20 -0
  185. package/dist/stories/PDFInput.stories.js +45 -0
  186. package/dist/stories/PageScrollIndicator.stories.d.ts +15 -0
  187. package/dist/stories/PageScrollIndicator.stories.js +26 -0
  188. package/dist/stories/PercentCompletedPi.stories.d.ts +55 -0
  189. package/dist/stories/PercentCompletedPi.stories.js +49 -0
  190. package/dist/stories/Playground.stories.d.ts +22 -0
  191. package/dist/stories/Playground.stories.js +26 -0
  192. package/dist/stories/Progress.stories.d.ts +45 -0
  193. package/dist/stories/Progress.stories.js +50 -0
  194. package/dist/stories/RadioButton.stories.d.ts +260 -0
  195. package/dist/stories/RadioButton.stories.js +264 -0
  196. package/dist/stories/ResourceInput.stories.d.ts +9 -0
  197. package/dist/stories/ResourceInput.stories.js +53 -0
  198. package/dist/stories/SimpleTable.stories.d.ts +65 -0
  199. package/dist/stories/SimpleTable.stories.js +111 -0
  200. package/dist/stories/SkeletonLoader.stories.d.ts +81 -0
  201. package/dist/stories/SkeletonLoader.stories.js +82 -0
  202. package/dist/stories/Switches.stories.d.ts +106 -0
  203. package/dist/stories/Switches.stories.js +136 -0
  204. package/dist/stories/TabBar.stories.d.ts +73 -0
  205. package/dist/stories/TabBar.stories.js +103 -0
  206. package/dist/stories/TagClear.stories.d.ts +57 -0
  207. package/dist/stories/TagClear.stories.js +76 -0
  208. package/dist/stories/TagDisplay.stories.d.ts +73 -0
  209. package/dist/stories/TagDisplay.stories.js +154 -0
  210. package/dist/stories/TagLink.stories.d.ts +59 -0
  211. package/dist/stories/TagLink.stories.js +65 -0
  212. package/dist/stories/TagSelect.stories.d.ts +41 -0
  213. package/dist/stories/TagSelect.stories.js +54 -0
  214. package/dist/stories/TagsInput.stories.d.ts +90 -0
  215. package/dist/stories/TagsInput.stories.js +168 -0
  216. package/dist/stories/TextInputs.stories.d.ts +124 -0
  217. package/dist/stories/TextInputs.stories.js +178 -0
  218. package/dist/stories/Tooltip.stories.d.ts +41 -0
  219. package/dist/stories/Tooltip.stories.js +78 -0
  220. package/dist/stories/Typo.stories.d.ts +304 -0
  221. package/dist/stories/Typo.stories.js +357 -0
  222. package/dist/stories/UserRoleBadge.stories.d.ts +19 -0
  223. package/dist/stories/UserRoleBadge.stories.js +46 -0
  224. package/dist/stories/Utilities.stories.d.ts +5 -0
  225. package/dist/stories/Utilities.stories.js +110 -0
  226. package/dist/stories/VideoInput.stories.d.ts +46 -0
  227. package/dist/stories/VideoInput.stories.js +49 -0
  228. package/dist/stories/cards/CardContent.stories.d.ts +67 -0
  229. package/dist/stories/cards/CardContent.stories.js +47 -0
  230. package/dist/stories/cards/CardEmbed.stories.d.ts +65 -0
  231. package/dist/stories/cards/CardEmbed.stories.js +46 -0
  232. package/dist/stories/cards/CardProfile.stories.d.ts +46 -0
  233. package/dist/stories/cards/CardProfile.stories.js +48 -0
  234. package/dist/stories/cards/ListContent.stories.d.ts +81 -0
  235. package/dist/stories/cards/ListContent.stories.js +50 -0
  236. package/dist/stories/cards/ListProfile.stories.d.ts +41 -0
  237. package/dist/stories/cards/ListProfile.stories.js +46 -0
  238. package/dist/stories/cards/utils/cardArgTypes.d.ts +182 -0
  239. package/dist/stories/cards/utils/cardArgTypes.js +114 -0
  240. package/dist/stories/cards/utils/parseCardArgs.d.ts +46 -0
  241. package/dist/stories/cards/utils/parseCardArgs.js +57 -0
  242. package/dist/themes/colors.d.ts +51 -0
  243. package/dist/utils/comps/DisplayIcon/index.d.ts +1 -1
  244. package/dist/utils/getBlockLabelProps.js +1 -1
  245. package/dist/utils/getterSetterDeleter/getVal_caseExamples.d.ts +60 -0
  246. package/dist/utils/getterSetterDeleter/getVal_caseExamples.js +91 -0
  247. package/dist/utilsOolib/StorybookBannersWrapper.d.ts +2 -0
  248. package/dist/utilsOolib/StorybookBannersWrapper.js +16 -0
  249. package/dist/utilsOolib/excludeKeys.d.ts +8 -0
  250. package/dist/utilsOolib/excludeKeys.js +31 -0
  251. package/dist/utilsOolib/genRandomHash.d.ts +7 -0
  252. package/dist/utilsOolib/genRandomHash.js +19 -0
  253. package/dist/utilsOolib/index.d.ts +12 -5
  254. package/dist/utilsOolib/index.js +11 -3
  255. package/dist/utilsOolib/renderRTEPlaceholderForOolibPreview.d.ts +8 -1
  256. package/dist/utilsOolib/renderRTEPlaceholderForOolibPreview.js +1 -2
  257. package/package.json +4 -3
  258. /package/dist/components/Buttons/{index.styled.d.ts → styled.d.ts} +0 -0
  259. /package/dist/components/Buttons/{index.styled.js → styled.js} +0 -0
@@ -163,117 +163,118 @@ export namespace icons {
163
163
  export { ChileFlag };
164
164
  export { PakistanFlag };
165
165
  export { SpainFlag };
166
+ export { Stars };
166
167
  }
167
- import { PencilSimple } from "phosphor-react";
168
- import { PencilLine } from "phosphor-react";
169
- import { Plus } from "phosphor-react";
170
- import { Lightbulb } from "phosphor-react";
171
- import { Tag } from "phosphor-react";
172
- import { UploadSimple } from "phosphor-react";
173
- import { CaretLeft } from "phosphor-react";
174
- import { CaretRight } from "phosphor-react";
175
- import { XCircle } from "phosphor-react";
176
- import { XSquare } from "phosphor-react";
177
- import { DownloadSimple } from "phosphor-react";
178
- import { ArrowLineUpRight } from "phosphor-react";
179
- import { User } from "phosphor-react";
180
- import { UserCirclePlus } from "phosphor-react";
181
- import { MapPinLine } from "phosphor-react";
182
- import { WarningCircle } from "phosphor-react";
183
- import { HighlighterCircle } from "phosphor-react";
184
- import { Paperclip } from "phosphor-react";
185
- import { SpeakerHigh } from "phosphor-react";
186
- import { ArrowLeft } from "phosphor-react";
187
- import { CalendarBlank } from "phosphor-react";
188
- import { Trash } from "phosphor-react";
189
- import { DotsThreeVertical } from "phosphor-react";
190
- import { DotsThree } from "phosphor-react";
191
- import { CaretUp } from "phosphor-react";
192
- import { CaretDown } from "phosphor-react";
193
- import { ShareNetwork } from "phosphor-react";
194
- import { X } from "phosphor-react";
195
- import { WhatsappLogo } from "phosphor-react";
196
- import { FacebookLogo } from "phosphor-react";
197
- import { TwitterLogo } from "phosphor-react";
198
- import { LinkedinLogo } from "phosphor-react";
199
- import { YoutubeLogo } from "phosphor-react";
200
- import { InstagramLogo } from "phosphor-react";
201
- import { Globe } from "phosphor-react";
202
- import { Phone } from "phosphor-react";
203
- import { Envelope } from "phosphor-react";
204
- import { Checks } from "phosphor-react";
205
- import { Check } from "phosphor-react";
206
- import { ArrowClockwise } from "phosphor-react";
207
- import { ArrowsClockwise } from "phosphor-react";
208
- import { ArrowsIn } from "phosphor-react";
209
- import { ArrowsOut } from "phosphor-react";
210
- import { MapPin } from "phosphor-react";
211
- import { ArrowDown } from "phosphor-react";
212
- import { ArrowsDownUp } from "phosphor-react";
213
- import { ArrowUp } from "phosphor-react";
214
- import { GearSix } from "phosphor-react";
215
- import { Wrench } from "phosphor-react";
216
- import { CheckSquare } from "phosphor-react";
217
- import { CheckSquareOffset } from "phosphor-react";
218
- import { Cards } from "phosphor-react";
219
- import { SignOut } from "phosphor-react";
220
- import { Swap } from "phosphor-react";
221
- import { CheckCircle } from "phosphor-react";
222
- import { Circle } from "phosphor-react";
223
- import { ImageSquare } from "phosphor-react";
224
- import { ListDashes } from "phosphor-react";
225
- import { ListNumbers } from "phosphor-react";
226
- import { ListPlus } from "phosphor-react";
227
- import { List } from "phosphor-react";
228
- import { FileArrowUp } from "phosphor-react";
229
- import { VideoCamera } from "phosphor-react";
230
- import { Quotes } from "phosphor-react";
231
- import { SpeakerSimpleHigh } from "phosphor-react";
232
- import { FilePdf } from "phosphor-react";
233
- import { MagnifyingGlass } from "phosphor-react";
234
- import { Eye } from "phosphor-react";
235
- import { EyeClosed } from "phosphor-react";
236
- import { Minus } from "phosphor-react";
237
- import { TextHOne } from "phosphor-react";
238
- import { TextHTwo } from "phosphor-react";
239
- import { TextHThree } from "phosphor-react";
240
- import { TextBolder } from "phosphor-react";
241
- import { TextItalic } from "phosphor-react";
242
- import { TextUnderline } from "phosphor-react";
243
- import { ArrowRight } from "phosphor-react";
244
- import { Sliders } from "phosphor-react";
245
- import { Faders } from "phosphor-react";
246
- import { Code } from "phosphor-react";
247
- import { SortDescending } from "phosphor-react";
248
- import { SortAscending } from "phosphor-react";
249
- import { Crosshair } from "phosphor-react";
250
- import { MicrophoneStage } from "phosphor-react";
251
- import { File } from "phosphor-react";
252
- import { FolderSimple } from "phosphor-react";
253
- import { FolderSimpleStar } from "phosphor-react";
254
- import { LinkSimple } from "phosphor-react";
255
- import { Laptop } from "phosphor-react";
256
- import { Info } from "phosphor-react";
257
- import { DotsSixVertical } from "phosphor-react";
258
- import { Bell } from "phosphor-react";
259
- import { UserSwitch } from "phosphor-react";
260
- import { PlusMinus } from "phosphor-react";
261
- import { SelectionAll } from "phosphor-react";
262
- import { Activity } from "phosphor-react";
263
- import { Browsers } from "phosphor-react";
264
- import { Cube } from "phosphor-react";
265
- import { Table } from "phosphor-react";
266
- import { UserList } from "phosphor-react";
267
- import { Binoculars } from "phosphor-react";
268
- import { LightbulbFilament } from "phosphor-react";
269
- import { Keyboard } from "phosphor-react";
270
- import { TextAa } from "phosphor-react";
271
- import { ThumbsUp } from "phosphor-react";
272
- import { ChatText } from "phosphor-react";
273
- import { SlackLogo } from "phosphor-react";
274
- import { SquareHalf } from "phosphor-react";
275
- import { SquareHalfBottom } from "phosphor-react";
276
- import { MagicWand } from "phosphor-react";
168
+ import { PencilSimple } from 'phosphor-react';
169
+ import { PencilLine } from 'phosphor-react';
170
+ import { Plus } from 'phosphor-react';
171
+ import { Lightbulb } from 'phosphor-react';
172
+ import { Tag } from 'phosphor-react';
173
+ import { UploadSimple } from 'phosphor-react';
174
+ import { CaretLeft } from 'phosphor-react';
175
+ import { CaretRight } from 'phosphor-react';
176
+ import { XCircle } from 'phosphor-react';
177
+ import { XSquare } from 'phosphor-react';
178
+ import { DownloadSimple } from 'phosphor-react';
179
+ import { ArrowLineUpRight } from 'phosphor-react';
180
+ import { User } from 'phosphor-react';
181
+ import { UserCirclePlus } from 'phosphor-react';
182
+ import { MapPinLine } from 'phosphor-react';
183
+ import { WarningCircle } from 'phosphor-react';
184
+ import { HighlighterCircle } from 'phosphor-react';
185
+ import { Paperclip } from 'phosphor-react';
186
+ import { SpeakerHigh } from 'phosphor-react';
187
+ import { ArrowLeft } from 'phosphor-react';
188
+ import { CalendarBlank } from 'phosphor-react';
189
+ import { Trash } from 'phosphor-react';
190
+ import { DotsThreeVertical } from 'phosphor-react';
191
+ import { DotsThree } from 'phosphor-react';
192
+ import { CaretUp } from 'phosphor-react';
193
+ import { CaretDown } from 'phosphor-react';
194
+ import { ShareNetwork } from 'phosphor-react';
195
+ import { X } from 'phosphor-react';
196
+ import { WhatsappLogo } from 'phosphor-react';
197
+ import { FacebookLogo } from 'phosphor-react';
198
+ import { TwitterLogo } from 'phosphor-react';
199
+ import { LinkedinLogo } from 'phosphor-react';
200
+ import { YoutubeLogo } from 'phosphor-react';
201
+ import { InstagramLogo } from 'phosphor-react';
202
+ import { Globe } from 'phosphor-react';
203
+ import { Phone } from 'phosphor-react';
204
+ import { Envelope } from 'phosphor-react';
205
+ import { Checks } from 'phosphor-react';
206
+ import { Check } from 'phosphor-react';
207
+ import { ArrowClockwise } from 'phosphor-react';
208
+ import { ArrowsClockwise } from 'phosphor-react';
209
+ import { ArrowsIn } from 'phosphor-react';
210
+ import { ArrowsOut } from 'phosphor-react';
211
+ import { MapPin } from 'phosphor-react';
212
+ import { ArrowDown } from 'phosphor-react';
213
+ import { ArrowsDownUp } from 'phosphor-react';
214
+ import { ArrowUp } from 'phosphor-react';
215
+ import { GearSix } from 'phosphor-react';
216
+ import { Wrench } from 'phosphor-react';
217
+ import { CheckSquare } from 'phosphor-react';
218
+ import { CheckSquareOffset } from 'phosphor-react';
219
+ import { Cards } from 'phosphor-react';
220
+ import { SignOut } from 'phosphor-react';
221
+ import { Swap } from 'phosphor-react';
222
+ import { CheckCircle } from 'phosphor-react';
223
+ import { Circle } from 'phosphor-react';
224
+ import { ImageSquare } from 'phosphor-react';
225
+ import { ListDashes } from 'phosphor-react';
226
+ import { ListNumbers } from 'phosphor-react';
227
+ import { ListPlus } from 'phosphor-react';
228
+ import { List } from 'phosphor-react';
229
+ import { FileArrowUp } from 'phosphor-react';
230
+ import { VideoCamera } from 'phosphor-react';
231
+ import { Quotes } from 'phosphor-react';
232
+ import { SpeakerSimpleHigh } from 'phosphor-react';
233
+ import { FilePdf } from 'phosphor-react';
234
+ import { MagnifyingGlass } from 'phosphor-react';
235
+ import { Eye } from 'phosphor-react';
236
+ import { EyeClosed } from 'phosphor-react';
237
+ import { Minus } from 'phosphor-react';
238
+ import { TextHOne } from 'phosphor-react';
239
+ import { TextHTwo } from 'phosphor-react';
240
+ import { TextHThree } from 'phosphor-react';
241
+ import { TextBolder } from 'phosphor-react';
242
+ import { TextItalic } from 'phosphor-react';
243
+ import { TextUnderline } from 'phosphor-react';
244
+ import { ArrowRight } from 'phosphor-react';
245
+ import { Sliders } from 'phosphor-react';
246
+ import { Faders } from 'phosphor-react';
247
+ import { Code } from 'phosphor-react';
248
+ import { SortDescending } from 'phosphor-react';
249
+ import { SortAscending } from 'phosphor-react';
250
+ import { Crosshair } from 'phosphor-react';
251
+ import { MicrophoneStage } from 'phosphor-react';
252
+ import { File } from 'phosphor-react';
253
+ import { FolderSimple } from 'phosphor-react';
254
+ import { FolderSimpleStar } from 'phosphor-react';
255
+ import { LinkSimple } from 'phosphor-react';
256
+ import { Laptop } from 'phosphor-react';
257
+ import { Info } from 'phosphor-react';
258
+ import { DotsSixVertical } from 'phosphor-react';
259
+ import { Bell } from 'phosphor-react';
260
+ import { UserSwitch } from 'phosphor-react';
261
+ import { PlusMinus } from 'phosphor-react';
262
+ import { SelectionAll } from 'phosphor-react';
263
+ import { Activity } from 'phosphor-react';
264
+ import { Browsers } from 'phosphor-react';
265
+ import { Cube } from 'phosphor-react';
266
+ import { Table } from 'phosphor-react';
267
+ import { UserList } from 'phosphor-react';
268
+ import { Binoculars } from 'phosphor-react';
269
+ import { LightbulbFilament } from 'phosphor-react';
270
+ import { Keyboard } from 'phosphor-react';
271
+ import { TextAa } from 'phosphor-react';
272
+ import { ThumbsUp } from 'phosphor-react';
273
+ import { ChatText } from 'phosphor-react';
274
+ import { SlackLogo } from 'phosphor-react';
275
+ import { SquareHalf } from 'phosphor-react';
276
+ import { SquareHalfBottom } from 'phosphor-react';
277
+ import { MagicWand } from 'phosphor-react';
277
278
  import { OkeGoogleIcon } from "./custom";
278
279
  import { LetterH } from "./custom";
279
280
  import { IndexIcon } from "./custom";
@@ -328,3 +329,4 @@ import { ColombiaFlag } from "./custom";
328
329
  import { ChileFlag } from "./custom";
329
330
  import { PakistanFlag } from "./custom";
330
331
  import { SpainFlag } from "./custom";
332
+ import { Stars } from "./custom";
@@ -168,5 +168,6 @@ exports.icons = {
168
168
  ColombiaFlag: custom_1.ColombiaFlag,
169
169
  ChileFlag: custom_1.ChileFlag,
170
170
  PakistanFlag: custom_1.PakistanFlag,
171
- SpainFlag: custom_1.SpainFlag
171
+ SpainFlag: custom_1.SpainFlag,
172
+ Stars: custom_1.Stars
172
173
  };
@@ -0,0 +1,78 @@
1
+ /// <reference types="mdx" />
2
+ declare namespace _default {
3
+ let title: string;
4
+ namespace argTypes {
5
+ export namespace HeaderStyle {
6
+ let name: string;
7
+ let options: string[];
8
+ namespace control {
9
+ let type: string;
10
+ }
11
+ }
12
+ export namespace title_1 {
13
+ let name_1: string;
14
+ export { name_1 as name };
15
+ }
16
+ export { title_1 as title };
17
+ export namespace label {
18
+ let name_2: string;
19
+ export { name_2 as name };
20
+ }
21
+ export namespace percent {
22
+ let name_3: string;
23
+ export { name_3 as name };
24
+ export namespace control_1 {
25
+ let type_1: string;
26
+ export { type_1 as type };
27
+ export let min: number;
28
+ export let max: number;
29
+ export let step: number;
30
+ }
31
+ export { control_1 as control };
32
+ export namespace table {
33
+ let category: string;
34
+ }
35
+ }
36
+ export namespace infoTooltip {
37
+ let name_4: string;
38
+ export { name_4 as name };
39
+ export namespace table_1 {
40
+ let category_1: string;
41
+ export { category_1 as category };
42
+ }
43
+ export { table_1 as table };
44
+ }
45
+ export namespace showPercent {
46
+ let name_5: string;
47
+ export { name_5 as name };
48
+ export namespace table_2 {
49
+ let category_2: string;
50
+ export { category_2 as category };
51
+ }
52
+ export { table_2 as table };
53
+ }
54
+ }
55
+ namespace args {
56
+ let HeaderStyle_1: string;
57
+ export { HeaderStyle_1 as HeaderStyle };
58
+ let label_1: string;
59
+ export { label_1 as label };
60
+ let title_2: string;
61
+ export { title_2 as title };
62
+ let infoTooltip_1: boolean;
63
+ export { infoTooltip_1 as infoTooltip };
64
+ let showPercent_1: boolean;
65
+ export { showPercent_1 as showPercent };
66
+ let percent_1: number;
67
+ export { percent_1 as percent };
68
+ }
69
+ namespace parameters {
70
+ namespace docs {
71
+ export { AccordionDocs as page };
72
+ }
73
+ }
74
+ }
75
+ export default _default;
76
+ export function Accordion(args: any): React.JSX.Element;
77
+ import AccordionDocs from './Accordion.mdx';
78
+ import React from "react";
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Accordion = void 0;
18
+ var react_1 = __importDefault(require("react"));
19
+ var Accordion_1 = require("../components/Accordion");
20
+ var themes_1 = require("../themes");
21
+ var Accordion_mdx_1 = __importDefault(require("./Accordion.mdx"));
22
+ var Typo_1 = require("../components/Typo");
23
+ exports.default = {
24
+ title: "Components/Accordion",
25
+ argTypes: {
26
+ HeaderStyle: {
27
+ name: "Header Style",
28
+ options: ["HeaderStyle1", "HeaderStyle2", "HeaderStyle3"],
29
+ control: { type: "select" }
30
+ },
31
+ title: {
32
+ name: "Title"
33
+ },
34
+ label: {
35
+ name: "Label"
36
+ },
37
+ percent: {
38
+ name: "Set Percentage",
39
+ control: { type: 'range', min: 1, max: 100, step: 1 },
40
+ table: {
41
+ category: 'HeaderStyle 2 Options',
42
+ },
43
+ },
44
+ infoTooltip: {
45
+ control: { type: 'text' },
46
+ table: {
47
+ category: 'HeaderStyle 2 Options',
48
+ },
49
+ },
50
+ showPercent: {
51
+ name: "Completion Rate",
52
+ table: {
53
+ category: 'HeaderStyle 2 Options',
54
+ },
55
+ },
56
+ infoTooltip: {
57
+ name: "Info Tooltip",
58
+ table: {
59
+ category: 'HeaderStyle 2 Options',
60
+ },
61
+ }
62
+ },
63
+ args: {
64
+ HeaderStyle: "HeaderStyle1",
65
+ // invert: false,
66
+ label: "Label",
67
+ title: "This is the title",
68
+ infoTooltip: false,
69
+ showPercent: true,
70
+ percent: 39,
71
+ },
72
+ parameters: {
73
+ docs: {
74
+ page: Accordion_mdx_1.default,
75
+ },
76
+ },
77
+ };
78
+ var Accordion = function (args) {
79
+ args.actions = [
80
+ __assign({ display: args.action1 }, (args.optionIcon1 ? { icon: args.optionIcon1 } : {})),
81
+ __assign({ display: args.action2 }, (args.optionIcon2 ? { icon: args.optionIcon2 } : {})),
82
+ __assign({ display: args.action3 }, (args.optionIcon3 ? { icon: args.optionIcon3 } : {})),
83
+ ];
84
+ var showPercent;
85
+ if (args.showPercent) {
86
+ showPercent = { value: args.percent };
87
+ }
88
+ args.M = args.buttonSize === 'M';
89
+ return (react_1.default.createElement("div", null,
90
+ react_1.default.createElement(Accordion_1.Accordion, __assign({}, args, { percent: showPercent, infoTooltip: "Header Style 2", children: react_1.default.createElement("div", { style: { height: '400px', background: themes_1.colors.blue, display: 'flex', alignItems: 'center', justifyContent: 'center' } },
91
+ react_1.default.createElement(Typo_1.SANS_5_6, null, "Hello World")) }))));
92
+ };
93
+ exports.Accordion = Accordion;
@@ -0,0 +1,166 @@
1
+ /// <reference types="mdx" />
2
+ declare namespace _default {
3
+ let title: string;
4
+ namespace argTypes {
5
+ namespace ButtonComp {
6
+ let name: string;
7
+ let options: string[];
8
+ namespace mapping {
9
+ let Primary: string;
10
+ let Secondary: string;
11
+ let Ghost: string;
12
+ }
13
+ namespace control {
14
+ let type: string;
15
+ }
16
+ let defaultValue: string;
17
+ }
18
+ namespace buttonSize {
19
+ let name_1: string;
20
+ export { name_1 as name };
21
+ let options_1: string[];
22
+ export { options_1 as options };
23
+ export namespace mapping_1 {
24
+ let Small: string;
25
+ let Medium: string;
26
+ }
27
+ export { mapping_1 as mapping };
28
+ export namespace control_1 {
29
+ let type_1: string;
30
+ export { type_1 as type };
31
+ }
32
+ export { control_1 as control };
33
+ let defaultValue_1: string;
34
+ export { defaultValue_1 as defaultValue };
35
+ }
36
+ namespace icon {
37
+ let name_2: string;
38
+ export { name_2 as name };
39
+ export { availableIcons as options };
40
+ export namespace control_2 {
41
+ let type_2: string;
42
+ export { type_2 as type };
43
+ }
44
+ export { control_2 as control };
45
+ let defaultValue_2: string;
46
+ export { defaultValue_2 as defaultValue };
47
+ }
48
+ namespace iconSize {
49
+ let name_3: string;
50
+ export { name_3 as name };
51
+ let options_2: string[];
52
+ export { options_2 as options };
53
+ export namespace mapping_2 {
54
+ let Small_1: string;
55
+ export { Small_1 as Small };
56
+ let Medium_1: string;
57
+ export { Medium_1 as Medium };
58
+ }
59
+ export { mapping_2 as mapping };
60
+ export namespace control_3 {
61
+ let type_3: string;
62
+ export { type_3 as type };
63
+ }
64
+ export { control_3 as control };
65
+ let defaultValue_3: string;
66
+ export { defaultValue_3 as defaultValue };
67
+ }
68
+ namespace align {
69
+ let name_4: string;
70
+ export { name_4 as name };
71
+ let options_3: string[];
72
+ export { options_3 as options };
73
+ export namespace control_4 {
74
+ let type_4: string;
75
+ export { type_4 as type };
76
+ }
77
+ export { control_4 as control };
78
+ let defaultValue_4: string;
79
+ export { defaultValue_4 as defaultValue };
80
+ }
81
+ namespace optionIcon1 {
82
+ let name_5: string;
83
+ export { name_5 as name };
84
+ export { availableIcons as options };
85
+ export namespace control_5 {
86
+ let type_5: string;
87
+ export { type_5 as type };
88
+ }
89
+ export { control_5 as control };
90
+ let defaultValue_5: string;
91
+ export { defaultValue_5 as defaultValue };
92
+ }
93
+ namespace optionIcon2 {
94
+ let name_6: string;
95
+ export { name_6 as name };
96
+ export { availableIcons as options };
97
+ export namespace control_6 {
98
+ let type_6: string;
99
+ export { type_6 as type };
100
+ }
101
+ export { control_6 as control };
102
+ let defaultValue_6: string;
103
+ export { defaultValue_6 as defaultValue };
104
+ }
105
+ namespace optionIcon3 {
106
+ let name_7: string;
107
+ export { name_7 as name };
108
+ export { availableIcons as options };
109
+ export namespace control_7 {
110
+ let type_7: string;
111
+ export { type_7 as type };
112
+ }
113
+ export { control_7 as control };
114
+ let defaultValue_7: string;
115
+ export { defaultValue_7 as defaultValue };
116
+ }
117
+ namespace action1 {
118
+ let name_8: string;
119
+ export { name_8 as name };
120
+ }
121
+ namespace action2 {
122
+ let name_9: string;
123
+ export { name_9 as name };
124
+ }
125
+ namespace action3 {
126
+ let name_10: string;
127
+ export { name_10 as name };
128
+ }
129
+ }
130
+ namespace args {
131
+ let ButtonComp_1: string;
132
+ export { ButtonComp_1 as ButtonComp };
133
+ let buttonSize_1: string;
134
+ export { buttonSize_1 as buttonSize };
135
+ let icon_1: string;
136
+ export { icon_1 as icon };
137
+ let iconSize_1: string;
138
+ export { iconSize_1 as iconSize };
139
+ let action1_1: string;
140
+ export { action1_1 as action1 };
141
+ let optionIcon1_1: string;
142
+ export { optionIcon1_1 as optionIcon1 };
143
+ let action2_1: string;
144
+ export { action2_1 as action2 };
145
+ let optionIcon2_1: string;
146
+ export { optionIcon2_1 as optionIcon2 };
147
+ let action3_1: string;
148
+ export { action3_1 as action3 };
149
+ let optionIcon3_1: string;
150
+ export { optionIcon3_1 as optionIcon3 };
151
+ export let invert: boolean;
152
+ let align_1: string;
153
+ export { align_1 as align };
154
+ export let popOutOfOverflowHiddenParent: boolean;
155
+ }
156
+ namespace parameters {
157
+ namespace docs {
158
+ export { ActionMenuDocs as page };
159
+ }
160
+ }
161
+ }
162
+ export default _default;
163
+ export function ActionMenu(args: any): React.JSX.Element;
164
+ declare const availableIcons: string[];
165
+ import ActionMenuDocs from './ActionMenu.mdx';
166
+ import React from "react";