@nuskin/foundation-ui-components 1.33.0-1253-feature.3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/dist/index.d.mts +1221 -0
  2. package/dist/index.d.ts +1221 -0
  3. package/dist/index.js +1 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +1 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +33 -10
  8. package/src/common/accordion/NsAccordion.tsx +0 -82
  9. package/src/common/accordion/NsAccordionHeader.tsx +0 -85
  10. package/src/common/accordion/NsAccordionItem.tsx +0 -65
  11. package/src/common/accordion/NsCollapse.tsx +0 -121
  12. package/src/common/accordion/NsToggleSection.tsx +0 -50
  13. package/src/common/accordion/ToggleSection.styled.tsx +0 -32
  14. package/src/common/accordion/colorMap.ts +0 -60
  15. package/src/common/accordion/enums.ts +0 -18
  16. package/src/common/accordion/index.ts +0 -7
  17. package/src/common/accordion/specs/NsAccordion.spec.tsx +0 -183
  18. package/src/common/accordion/specs/NsAccordionHeader.spec.tsx +0 -172
  19. package/src/common/accordion/specs/NsAccordionItem.spec.tsx +0 -79
  20. package/src/common/accordion/specs/NsCollapse.spec.tsx +0 -130
  21. package/src/common/accordion/specs/NsToggleSection.spec.tsx +0 -74
  22. package/src/common/accordion/stories/NsAccordion.stories.tsx +0 -65
  23. package/src/common/accordion/stories/NsAccordionHeader.stories.tsx +0 -44
  24. package/src/common/accordion/stories/NsAccordionItem.stories.tsx +0 -48
  25. package/src/common/accordion/stories/NsCollapse.stories.tsx +0 -53
  26. package/src/common/accordion/stories/NsToggleSection.stories.tsx +0 -27
  27. package/src/common/accordion/stories/data.tsx +0 -145
  28. package/src/common/accordion/types.d.ts +0 -90
  29. package/src/common/alert/Header.tsx +0 -29
  30. package/src/common/alert/NsAlert.spec.tsx +0 -167
  31. package/src/common/alert/NsAlert.stories.tsx +0 -45
  32. package/src/common/alert/NsAlert.styled.tsx +0 -114
  33. package/src/common/alert/NsAlert.tsx +0 -93
  34. package/src/common/alert/index.ts +0 -2
  35. package/src/common/alert/types.d.ts +0 -45
  36. package/src/common/auth-dropdown/NsAuthDropdown.spec.tsx +0 -54
  37. package/src/common/auth-dropdown/NsAuthDropdown.stories.tsx +0 -25
  38. package/src/common/auth-dropdown/NsAuthDropdown.styled.ts +0 -120
  39. package/src/common/auth-dropdown/NsAuthDropdown.tsx +0 -72
  40. package/src/common/auth-dropdown/index.ts +0 -2
  41. package/src/common/auth-dropdown/types.d.ts +0 -11
  42. package/src/common/autocomplete/NsAutocomplete.spec.tsx +0 -91
  43. package/src/common/autocomplete/NsAutocomplete.styled.tsx +0 -24
  44. package/src/common/autocomplete/NsAutocomplete.tsx +0 -225
  45. package/src/common/autocomplete/helper/LineLoader.tsx +0 -38
  46. package/src/common/autocomplete/helper/RecentClearAll.tsx +0 -43
  47. package/src/common/autocomplete/helper/SeeMoreButton.tsx +0 -68
  48. package/src/common/autocomplete/helper/index.ts +0 -4
  49. package/src/common/autocomplete/helper/renderGroupName.tsx +0 -26
  50. package/src/common/autocomplete/index.ts +0 -2
  51. package/src/common/autocomplete/mock/Mock.styled.tsx +0 -23
  52. package/src/common/autocomplete/mock/MockData.ts +0 -89
  53. package/src/common/autocomplete/mock/MockUI.tsx +0 -26
  54. package/src/common/autocomplete/stories/NoCloseAutoComplete.tsx +0 -49
  55. package/src/common/autocomplete/stories/NsAutocomplete.stories.tsx +0 -78
  56. package/src/common/autocomplete/stories/RenderAutoComplete.tsx +0 -60
  57. package/src/common/autocomplete/types.d.ts +0 -67
  58. package/src/common/banner/NsBanner.spec.tsx +0 -28
  59. package/src/common/banner/NsBanner.stories.tsx +0 -47
  60. package/src/common/banner/NsBanner.styled.tsx +0 -24
  61. package/src/common/banner/NsBanner.tsx +0 -32
  62. package/src/common/banner/index.ts +0 -2
  63. package/src/common/banner/types.d.ts +0 -14
  64. package/src/common/brand-components/NsBrand.stories.tsx +0 -26
  65. package/src/common/brand-components/NsBrandComponent.spec.tsx +0 -47
  66. package/src/common/brand-components/NsBrandComponent.tsx +0 -33
  67. package/src/common/brand-components/NsBrandContainer.styled.tsx +0 -10
  68. package/src/common/brand-components/icons/Logo.spec.tsx +0 -84
  69. package/src/common/brand-components/icons/NSLogoHorizontal.tsx +0 -70
  70. package/src/common/brand-components/icons/NSLogoMark.tsx +0 -39
  71. package/src/common/brand-components/icons/NSLogoPoweredBy.tsx +0 -103
  72. package/src/common/brand-components/icons/NSLogoStacked.tsx +0 -57
  73. package/src/common/brand-components/icons/NSWordMark.tsx +0 -60
  74. package/src/common/brand-components/index.ts +0 -2
  75. package/src/common/brand-components/types.d.ts +0 -11
  76. package/src/common/breadcrumb/NsBreadcrumb.spec.tsx +0 -28
  77. package/src/common/breadcrumb/NsBreadcrumb.stories.tsx +0 -39
  78. package/src/common/breadcrumb/NsBreadcrumb.styled.tsx +0 -36
  79. package/src/common/breadcrumb/NsBreadcrumb.tsx +0 -85
  80. package/src/common/breadcrumb/data.ts +0 -10
  81. package/src/common/breadcrumb/index.ts +0 -2
  82. package/src/common/breadcrumb/types.d.ts +0 -14
  83. package/src/common/button/NsButton.spec.tsx +0 -94
  84. package/src/common/button/NsButton.stories.tsx +0 -118
  85. package/src/common/button/NsButton.styled.tsx +0 -57
  86. package/src/common/button/NsButton.tsx +0 -48
  87. package/src/common/button/__snapshots__/NsButton.spec.tsx.snap +0 -120
  88. package/src/common/button/helper.ts +0 -84
  89. package/src/common/button/index.ts +0 -2
  90. package/src/common/button/types.d.ts +0 -26
  91. package/src/common/card/CardButton.tsx +0 -58
  92. package/src/common/card/NsAwardCard.tsx +0 -71
  93. package/src/common/card/NsBgCard.tsx +0 -26
  94. package/src/common/card/NsBrandCard.tsx +0 -88
  95. package/src/common/card/NsBrandLogo.tsx +0 -16
  96. package/src/common/card/NsBrandWrapper.tsx +0 -25
  97. package/src/common/card/NsCheckoutCard.tsx +0 -107
  98. package/src/common/card/NsHeroCardLevel1.tsx +0 -105
  99. package/src/common/card/NsHeroCardLevel2.tsx +0 -95
  100. package/src/common/card/NsIconText.tsx +0 -165
  101. package/src/common/card/NsLargeCard.tsx +0 -108
  102. package/src/common/card/NsMediumCard.tsx +0 -110
  103. package/src/common/card/NsPost.tsx +0 -78
  104. package/src/common/card/NsSmallFullCard.tsx +0 -93
  105. package/src/common/card/NsXLargeCard.tsx +0 -89
  106. package/src/common/card/cardSizes.ts +0 -12
  107. package/src/common/card/fixtures/ImageData1.ts +0 -38
  108. package/src/common/card/fixtures/ImageData2.ts +0 -38
  109. package/src/common/card/index.ts +0 -15
  110. package/src/common/card/specs/BrandLogo.spec.tsx +0 -13
  111. package/src/common/card/specs/NsAwardCard.spec.tsx +0 -29
  112. package/src/common/card/specs/NsBgCard.spec.tsx +0 -23
  113. package/src/common/card/specs/NsBrandCard.spec.tsx +0 -84
  114. package/src/common/card/specs/NsCheckoutCard.spec.tsx +0 -39
  115. package/src/common/card/specs/NsHeroCardLevel1.spec.tsx +0 -39
  116. package/src/common/card/specs/NsHeroCardLevel2.spec.tsx +0 -49
  117. package/src/common/card/specs/NsIconText.spec.tsx +0 -25
  118. package/src/common/card/specs/NsLargeCard.spec.tsx +0 -47
  119. package/src/common/card/specs/NsMediumCard.spec.tsx +0 -51
  120. package/src/common/card/specs/NsPost.spec.tsx +0 -28
  121. package/src/common/card/specs/NsSmallFullCard.spec.tsx +0 -47
  122. package/src/common/card/specs/NsXLargeCard.spec.tsx +0 -47
  123. package/src/common/card/stories/NsAwardCard.stories.tsx +0 -21
  124. package/src/common/card/stories/NsBrandCard.stories.tsx +0 -32
  125. package/src/common/card/stories/NsCheckoutCard.stories.tsx +0 -23
  126. package/src/common/card/stories/NsHeroCardLevel1.stories.tsx +0 -30
  127. package/src/common/card/stories/NsHeroCardLevel2.stories.tsx +0 -29
  128. package/src/common/card/stories/NsIconText.stories.tsx +0 -18
  129. package/src/common/card/stories/NsLargeCard.stories.tsx +0 -32
  130. package/src/common/card/stories/NsMediumCard.stories.tsx +0 -34
  131. package/src/common/card/stories/NsPost.stories.tsx +0 -20
  132. package/src/common/card/stories/NsSmallFullCard.stories.tsx +0 -31
  133. package/src/common/card/stories/NsXLargeCard.stories.tsx +0 -32
  134. package/src/common/card/stories/data.ts +0 -43
  135. package/src/common/card/types.d.ts +0 -25
  136. package/src/common/carousal/CarousalControl.tsx +0 -47
  137. package/src/common/carousal/IconWrapper.tsx +0 -33
  138. package/src/common/carousal/NsCarousal.tsx +0 -65
  139. package/src/common/carousal/NsScrollingCarousal.tsx +0 -60
  140. package/src/common/carousal/RenderBrand.tsx +0 -20
  141. package/src/common/carousal/index.ts +0 -5
  142. package/src/common/carousal/slickSetting.ts +0 -61
  143. package/src/common/carousal/specs/Chevron.spec.tsx +0 -10
  144. package/src/common/carousal/specs/NsCarousal.spec.tsx +0 -112
  145. package/src/common/carousal/specs/NsScrollingCarousal.spec.tsx +0 -63
  146. package/src/common/carousal/specs/RenderBrand.spec.tsx +0 -22
  147. package/src/common/carousal/stories/NsCarousal1.stories.tsx +0 -34
  148. package/src/common/carousal/stories/NsScrollingCarousal.stories.tsx +0 -80
  149. package/src/common/carousal/types.d.ts +0 -23
  150. package/src/common/cart-icon/NsCartIcon.spec.tsx +0 -19
  151. package/src/common/cart-icon/NsCartIcon.stories.tsx +0 -28
  152. package/src/common/cart-icon/NsCartIcon.styled.tsx +0 -15
  153. package/src/common/cart-icon/NsCartIcon.tsx +0 -24
  154. package/src/common/cart-icon/index.ts +0 -2
  155. package/src/common/cart-icon/types.d.ts +0 -8
  156. package/src/common/checkbox/NsCheckbox.spec.tsx +0 -57
  157. package/src/common/checkbox/NsCheckbox.stories.tsx +0 -55
  158. package/src/common/checkbox/NsCheckbox.styled.tsx +0 -55
  159. package/src/common/checkbox/NsCheckbox.tsx +0 -68
  160. package/src/common/checkbox/index.ts +0 -2
  161. package/src/common/checkbox/types.d.ts +0 -20
  162. package/src/common/column-control/NsColumnControl.tsx +0 -64
  163. package/src/common/column-control/NsFlexColumns.tsx +0 -29
  164. package/src/common/column-control/NsGridColumns.tsx +0 -29
  165. package/src/common/column-control/index.ts +0 -4
  166. package/src/common/column-control/specs/NsColumnControl.spec.tsx +0 -24
  167. package/src/common/column-control/specs/NsFlexColumns.spec.tsx +0 -24
  168. package/src/common/column-control/specs/NsGridColumns.spec.tsx +0 -24
  169. package/src/common/column-control/stories/DivArray.stories.tsx +0 -18
  170. package/src/common/column-control/stories/DivArray.tsx +0 -63
  171. package/src/common/column-control/stories/NsColumnControl.stories.tsx +0 -65
  172. package/src/common/column-control/stories/NsFlexColumns.stories.tsx +0 -66
  173. package/src/common/column-control/stories/NsGridColumns.stories.tsx +0 -75
  174. package/src/common/column-control/stories/common.tsx +0 -14
  175. package/src/common/column-control/styled/StyledFlex.tsx +0 -46
  176. package/src/common/column-control/styled/StyledGrid.tsx +0 -41
  177. package/src/common/column-control/styled/common.ts +0 -27
  178. package/src/common/column-control/types.d.ts +0 -46
  179. package/src/common/column-control/utils.ts +0 -66
  180. package/src/common/common.types.d.ts +0 -21
  181. package/src/common/dropdown/NsDropdown.spec.tsx +0 -126
  182. package/src/common/dropdown/NsDropdown.styled.tsx +0 -66
  183. package/src/common/dropdown/NsDropdown.tsx +0 -94
  184. package/src/common/dropdown/NsDropdownOption.tsx +0 -13
  185. package/src/common/dropdown/index.ts +0 -3
  186. package/src/common/dropdown/stories/NsDropdown.stories.tsx +0 -67
  187. package/src/common/dropdown/stories/NsDropdownCountry.stories.tsx +0 -64
  188. package/src/common/dropdown/types.d.ts +0 -23
  189. package/src/common/email-simple/NsEmailSimple.spec.tsx +0 -115
  190. package/src/common/email-simple/NsEmailSimple.stories.tsx +0 -61
  191. package/src/common/email-simple/NsEmailSimple.tsx +0 -72
  192. package/src/common/email-simple/index.ts +0 -2
  193. package/src/common/email-simple/types.d.ts +0 -14
  194. package/src/common/flag/NsFlag.spec.tsx +0 -27
  195. package/src/common/flag/NsFlag.stories.tsx +0 -22
  196. package/src/common/flag/NsFlag.styled.tsx +0 -73
  197. package/src/common/flag/NsFlag.tsx +0 -24
  198. package/src/common/flag/index.ts +0 -2
  199. package/src/common/flag/types.d.ts +0 -16
  200. package/src/common/hooks/index.ts +0 -2
  201. package/src/common/hooks/specs/useWindowSize.spec.tsx +0 -19
  202. package/src/common/hooks/useAccordionMap.tsx +0 -39
  203. package/src/common/hooks/useOnClickOutside.tsx +0 -25
  204. package/src/common/hooks/useWindowSize.tsx +0 -30
  205. package/src/common/icon/NsIcon.spec.tsx +0 -51
  206. package/src/common/icon/NsIcon.stories.tsx +0 -77
  207. package/src/common/icon/NsIcon.styled.tsx +0 -27
  208. package/src/common/icon/NsIcon.tsx +0 -44
  209. package/src/common/icon/NsIconVariants.ts +0 -56
  210. package/src/common/icon/icons/AlertErrorIcon.tsx +0 -48
  211. package/src/common/icon/icons/ArrowDown.tsx +0 -23
  212. package/src/common/icon/icons/ArrowLeft.tsx +0 -38
  213. package/src/common/icon/icons/ArrowRight.tsx +0 -39
  214. package/src/common/icon/icons/ArrowUp.tsx +0 -20
  215. package/src/common/icon/icons/Cart.tsx +0 -23
  216. package/src/common/icon/icons/CartBadge.tsx +0 -47
  217. package/src/common/icon/icons/Check.tsx +0 -30
  218. package/src/common/icon/icons/CheckShield.tsx +0 -24
  219. package/src/common/icon/icons/CheckVerified.tsx +0 -27
  220. package/src/common/icon/icons/ChevronRight.tsx +0 -31
  221. package/src/common/icon/icons/CloseIcon.tsx +0 -27
  222. package/src/common/icon/icons/ErrorIcon.tsx +0 -30
  223. package/src/common/icon/icons/HamburgerIcon.tsx +0 -35
  224. package/src/common/icon/icons/InfoFilled.tsx +0 -21
  225. package/src/common/icon/icons/InfoOutlined.tsx +0 -42
  226. package/src/common/icon/icons/RoundedClose.tsx +0 -31
  227. package/src/common/icon/icons/SearchIcon.tsx +0 -32
  228. package/src/common/icon/icons/SlashIcon.tsx +0 -22
  229. package/src/common/icon/icons/SuccessIcon.tsx +0 -40
  230. package/src/common/icon/icons/TrashIcon.tsx +0 -32
  231. package/src/common/icon/icons/UserIcon.tsx +0 -37
  232. package/src/common/icon/icons/UserOutline.tsx +0 -29
  233. package/src/common/icon/icons/WarningIcon.tsx +0 -48
  234. package/src/common/icon/icons/error.svg +0 -3
  235. package/src/common/icon/icons/home.tsx +0 -19
  236. package/src/common/icon/icons/search.svg +0 -3
  237. package/src/common/icon/icons/success.svg +0 -10
  238. package/src/common/icon/icons/trash.svg +0 -3
  239. package/src/common/icon/index.ts +0 -3
  240. package/src/common/icon/types.d.ts +0 -53
  241. package/src/common/image/BynderMedia.spec.tsx +0 -42
  242. package/src/common/image/BynderMedia.tsx +0 -49
  243. package/src/common/image/NsImage.spec.tsx +0 -60
  244. package/src/common/image/NsImage.stories.tsx +0 -46
  245. package/src/common/image/NsImage.tsx +0 -33
  246. package/src/common/image/NsNextImage.spec.tsx +0 -10
  247. package/src/common/image/NsNextImage.stories.tsx +0 -51
  248. package/src/common/image/NsNextImage.tsx +0 -11
  249. package/src/common/image/bynder-util.spec.ts +0 -187
  250. package/src/common/image/bynder-util.ts +0 -98
  251. package/src/common/image/index.ts +0 -3
  252. package/src/common/image/types.ts +0 -78
  253. package/src/common/index.ts +0 -37
  254. package/src/common/input/InputFieldWrapper.tsx +0 -24
  255. package/src/common/input/InputWrapper.tsx +0 -82
  256. package/src/common/input/NsInputField.spec.tsx +0 -25
  257. package/src/common/input/NsInputField.stories.tsx +0 -61
  258. package/src/common/input/NsInputField.tsx +0 -125
  259. package/src/common/input/getAdornmentProps.tsx +0 -50
  260. package/src/common/input/index.ts +0 -2
  261. package/src/common/input/types.d.ts +0 -45
  262. package/src/common/label/NsLabel.spec.tsx +0 -11
  263. package/src/common/label/NsLabel.stories.tsx +0 -35
  264. package/src/common/label/NsLabel.tsx +0 -43
  265. package/src/common/label/index.ts +0 -2
  266. package/src/common/label/types.d.ts +0 -10
  267. package/src/common/link/NsLink.spec.tsx +0 -106
  268. package/src/common/link/NsLink.stories.tsx +0 -55
  269. package/src/common/link/NsLink.styled.tsx +0 -100
  270. package/src/common/link/NsLink.tsx +0 -122
  271. package/src/common/link/index.ts +0 -2
  272. package/src/common/link/types.d.ts +0 -22
  273. package/src/common/modal/NsModal.spec.tsx +0 -46
  274. package/src/common/modal/NsModal.styled.tsx +0 -28
  275. package/src/common/modal/NsModal.tsx +0 -43
  276. package/src/common/modal/helper-component/NsModalContentBox.tsx +0 -37
  277. package/src/common/modal/helper-component/NsModalDefault.tsx +0 -34
  278. package/src/common/modal/helper-component/NsModalStatus.tsx +0 -17
  279. package/src/common/modal/helper-component/NsModalStatusIcon.tsx +0 -16
  280. package/src/common/modal/helper-component/NsModalTitle.tsx +0 -29
  281. package/src/common/modal/index.ts +0 -2
  282. package/src/common/modal/model/NsModalVariantMap.tsx +0 -24
  283. package/src/common/modal/stories/NsModal.stories.tsx +0 -87
  284. package/src/common/modal/stories/mock.tsx +0 -46
  285. package/src/common/modal/types.ts +0 -57
  286. package/src/common/nav-product-card/NsNavProductCard.spec.tsx +0 -22
  287. package/src/common/nav-product-card/NsNavProductCard.stories.tsx +0 -25
  288. package/src/common/nav-product-card/NsNavProductCard.styled.tsx +0 -24
  289. package/src/common/nav-product-card/NsNavProductCard.tsx +0 -27
  290. package/src/common/nav-product-card/index.ts +0 -2
  291. package/src/common/nav-product-card/types.d.ts +0 -9
  292. package/src/common/nav-tab/NavDrawer.tsx +0 -41
  293. package/src/common/nav-tab/NavTitles.tsx +0 -64
  294. package/src/common/nav-tab/NsNavTab.spec.tsx +0 -64
  295. package/src/common/nav-tab/NsNavTab.stories.tsx +0 -36
  296. package/src/common/nav-tab/NsNavTab.styled.tsx +0 -74
  297. package/src/common/nav-tab/NsNavTab.tsx +0 -43
  298. package/src/common/nav-tab/index.ts +0 -2
  299. package/src/common/nav-tab/types.d.ts +0 -21
  300. package/src/common/progress/NsProgress.spec.tsx +0 -47
  301. package/src/common/progress/NsProgress.stories.tsx +0 -45
  302. package/src/common/progress/NsProgress.styled.tsx +0 -56
  303. package/src/common/progress/NsProgress.tsx +0 -29
  304. package/src/common/progress/index.ts +0 -2
  305. package/src/common/progress/types.d.ts +0 -21
  306. package/src/common/radiogroup/NsRadioGroup.spec.tsx +0 -63
  307. package/src/common/radiogroup/NsRadioGroup.stories.tsx +0 -84
  308. package/src/common/radiogroup/NsRadioGroup.styled.tsx +0 -51
  309. package/src/common/radiogroup/NsRadioGroup.tsx +0 -65
  310. package/src/common/radiogroup/index.ts +0 -2
  311. package/src/common/radiogroup/types.d.ts +0 -19
  312. package/src/common/search-bar/NsSeachBar.spec.tsx +0 -9
  313. package/src/common/search-bar/NsSearchBar.tsx +0 -46
  314. package/src/common/select/DefaultRenderOption.tsx +0 -8
  315. package/src/common/select/NsSelect.styled.tsx +0 -102
  316. package/src/common/select/NsSelect.tsx +0 -166
  317. package/src/common/select/NsSelectOption.tsx +0 -26
  318. package/src/common/select/constant.ts +0 -30
  319. package/src/common/select/index.ts +0 -3
  320. package/src/common/select/specs/NsSelect.spec.tsx +0 -183
  321. package/src/common/select/specs/NsSelectOption.spec.tsx +0 -32
  322. package/src/common/select/stories/NsSelect.stories.tsx +0 -89
  323. package/src/common/select/stories/countries.ts +0 -53
  324. package/src/common/select/types.d.ts +0 -49
  325. package/src/common/spinner/NsSpinner.spec.tsx +0 -21
  326. package/src/common/spinner/NsSpinner.stories.tsx +0 -29
  327. package/src/common/spinner/NsSpinner.styled.tsx +0 -344
  328. package/src/common/spinner/NsSpinner.tsx +0 -15
  329. package/src/common/spinner/icons/Spinner.tsx +0 -163
  330. package/src/common/spinner/index.ts +0 -2
  331. package/src/common/spinner/types.ts +0 -5
  332. package/src/common/table/NsExpandableRow.tsx +0 -62
  333. package/src/common/table/NsTable.spec.tsx +0 -174
  334. package/src/common/table/NsTable.stories.tsx +0 -156
  335. package/src/common/table/NsTable.styled.ts +0 -127
  336. package/src/common/table/NsTable.tsx +0 -150
  337. package/src/common/table/NsTableHeader.tsx +0 -54
  338. package/src/common/table/NsTablePagination.tsx +0 -24
  339. package/src/common/table/helper.ts +0 -33
  340. package/src/common/table/index.ts +0 -2
  341. package/src/common/table/types.d.ts +0 -57
  342. package/src/common/text-strip/NsTextStrip.spec.tsx +0 -27
  343. package/src/common/text-strip/NsTextStrip.stories.tsx +0 -61
  344. package/src/common/text-strip/NsTextStrip.tsx +0 -61
  345. package/src/common/text-strip/index.ts +0 -2
  346. package/src/common/text-strip/types.d.ts +0 -16
  347. package/src/common/toast/Fade.tsx +0 -98
  348. package/src/common/toast/ToastProvider.tsx +0 -88
  349. package/src/common/toast/index.ts +0 -3
  350. package/src/common/toast/shared.ts +0 -124
  351. package/src/common/toast/specs/Toast.spec.tsx +0 -122
  352. package/src/common/toast/stories/Toast.stories.tsx +0 -82
  353. package/src/common/toast/useToast.tsx +0 -65
  354. package/src/common/typography/GlobalFontInter.tsx +0 -15
  355. package/src/common/typography/HtmlTagVariantMap.tsx +0 -24
  356. package/src/common/typography/NsTypography.spec.tsx +0 -37
  357. package/src/common/typography/NsTypography.stories.tsx +0 -27
  358. package/src/common/typography/NsTypography.tsx +0 -44
  359. package/src/common/typography/Typography.styled.tsx +0 -195
  360. package/src/common/typography/__snapshots__/NsTypography.spec.tsx.snap +0 -22
  361. package/src/common/typography/index.ts +0 -3
  362. package/src/common/typography/types.d.ts +0 -37
  363. package/src/common/util.ts +0 -3
  364. package/src/common/utility/Show.tsx +0 -13
  365. package/src/common/utility/index.ts +0 -1
  366. package/src/common/validations/regex.ts +0 -2
  367. package/src/common/videos/NsVideo.spec.tsx +0 -26
  368. package/src/common/videos/NsVideo.stories.tsx +0 -32
  369. package/src/common/videos/NsVideo.tsx +0 -28
  370. package/src/common/videos/index.ts +0 -2
  371. package/src/common/videos/types.d.ts +0 -9
@@ -1,78 +0,0 @@
1
- import React, { ReactElement, SyntheticEvent } from 'react';
2
-
3
- import { withCenterDecorator } from '@/stories/decorators/withCenterDecorator';
4
- import type { Meta, StoryObj } from '@storybook/react';
5
-
6
- import { NsAutocomplete } from '../';
7
- import { NsIcon } from '../../icon';
8
- import { AutocompleteMockList } from '../mock/MockData';
9
- import { NoCloseAutoComplete } from './NoCloseAutoComplete';
10
- import { RenderAutoComplete } from './RenderAutoComplete';
11
-
12
- type ComponentType = typeof NsAutocomplete;
13
- type Story = StoryObj<ComponentType>;
14
- type MetaStory = Meta<ComponentType>;
15
-
16
- export default {
17
- title: 'Components/Inputs/NsAutocomplete',
18
- component: NsAutocomplete,
19
- decorators: [withCenterDecorator],
20
- argTypes: {
21
- children: {
22
- control: 'text',
23
- },
24
- options: {
25
- description: 'An array of objects representing the available options for the autocomplete.',
26
- },
27
- OptionsUI: {
28
- description: '(optional): A custom component to render each option in the dropdown.',
29
- },
30
- loading: {
31
- description: '(optional): A boolean indicating whether the autocomplete is in a loading state.',
32
- },
33
- noOptionsText: { description: '(optional): The text to display when there are no options available.' },
34
- onSelect: { description: '(optional): A callback function to be called when an option is selected.' },
35
- onChange: { description: '(optional): A callback function to be called when the input value changes.' },
36
- clear: { description: '(optional): An object containing properties for the clear button.' },
37
- seeMore: { description: '(optional): An object containing properties for the "see more" button.' },
38
- placeholder: { description: '(optional): The placeholder text for the input field.' },
39
- className: { description: '(optional): Additional CSS class name(s) for the autocomplete component.' },
40
- iconStart: {
41
- description: '(optional): An icon or React node to be displayed at the start of the input field.',
42
- },
43
- iconEnd: { description: '(optional): An icon or React node to be displayed at the end of the input field.' },
44
- inputValue: { description: ' The current value of the input field.' },
45
- value: { description: ': The currently selected option.' },
46
- isFilterEnabled: { description: ' (optional): A boolean indicating whether filtering of options is enabled.' },
47
- },
48
- args: {
49
- options: AutocompleteMockList,
50
- seeMore: {
51
- text: 'See More Results',
52
- show: true,
53
- onSeeMore: () => {
54
- throw new Error('Function not implemented.');
55
- },
56
- },
57
- clear: {
58
- text: 'Clear Recent Searches',
59
- show: true,
60
- onClear: () => {
61
- throw new Error('Function not implemented.');
62
- },
63
- },
64
- iconStart: (<NsIcon name="search" />) as ReactElement,
65
- iconEnd: (<NsIcon name="roundedClose" size="small" colorOverride="#F5F5F5" />) as ReactElement,
66
- placeholder: 'Search',
67
- fullWidth: false,
68
- onKeypress: (e: SyntheticEvent) => console.log(e),
69
- },
70
- } as MetaStory;
71
-
72
- export const Autocomplete: Story = {
73
- render: RenderAutoComplete,
74
- };
75
-
76
- export const WithoutClose: Story = {
77
- render: NoCloseAutoComplete,
78
- };
@@ -1,60 +0,0 @@
1
- import { NsAutocompleteProps, OptionsProps } from '../types';
2
- import { IconButton } from '@mui/material';
3
- import React, { useState, SyntheticEvent } from 'react';
4
-
5
- import { NsAutocomplete } from '..';
6
- import { NsIcon } from '../../icon';
7
- import { OptionUiComponent } from '../mock/MockUI';
8
-
9
- const PAGE_SIZE = 6;
10
-
11
- export const RenderAutoComplete = (args: NsAutocompleteProps) => {
12
- const [selectedOption, setSelectedOption] = useState<string | OptionsProps | null>(null);
13
- const [searchTerms, setSearchTerms] = useState<string>('');
14
- const [pageNo, setPageNo] = useState(PAGE_SIZE);
15
-
16
- const onSeeMoreHandler = () => {
17
- setPageNo(PAGE_SIZE + PAGE_SIZE);
18
- };
19
-
20
- const AutoCompleteProps = {
21
- ...args,
22
- seeMore: {
23
- ...args.seeMore,
24
- onSeeMore: onSeeMoreHandler,
25
- },
26
- } as NsAutocompleteProps;
27
-
28
- const onChange = (event: SyntheticEvent<Element, Event>, value: string | OptionsProps | null) => {
29
- setSelectedOption(value);
30
- setSearchTerms((value = ''));
31
- };
32
-
33
- const onInputChange = (event: SyntheticEvent<Element, Event>, newValue: string) => {
34
- setSearchTerms(newValue);
35
- };
36
-
37
- const onInputClear = () => {
38
- setSelectedOption(null);
39
- setSearchTerms('');
40
- };
41
-
42
- return (
43
- <div>
44
- <NsAutocomplete
45
- {...AutoCompleteProps}
46
- options={args.options.slice(0, pageNo)}
47
- onInputChange={onInputChange}
48
- onChange={onChange}
49
- OptionsUI={OptionUiComponent}
50
- iconEnd={
51
- <IconButton onClick={onInputClear}>
52
- <NsIcon name="roundedClose" size="xLarge" colorOverride="#F5F5F5" />
53
- </IconButton>
54
- }
55
- value={selectedOption}
56
- inputValue={searchTerms}
57
- />
58
- </div>
59
- );
60
- };
@@ -1,67 +0,0 @@
1
- import { AutocompleteChangeDetails, AutocompleteChangeReason, ComponentsProps } from '@mui/material';
2
- import React, { HTMLAttributes, SyntheticEvent } from 'react';
3
- import { AdditionalProps } from '../common.types';
4
-
5
- import { NsIconNameType } from '../icon';
6
-
7
- export type NsAutocompleteProps = {
8
- id?: string;
9
- options: OptionsProps[];
10
- loading?: boolean;
11
- OptionsUI: React.ComponentType<any>;
12
- noOptionsText?: string;
13
- /*
14
- Callback fired when the input value changes.
15
- event The event source of the callback.
16
- value The new value of the text input.
17
- reason Can be: "input" (user input), "reset" (programmatic change), "clear".
18
- */
19
- onInputChange(event: SyntheticEvent, value: string, reason: string): void;
20
- onKeypress?:(event:SyntheticEvent) => void;
21
- /*
22
- event The event source of the callback.
23
- value The new value of the component.
24
- reason One of "createOption", "selectOption", "removeOption", "blur" or "clear".
25
- */
26
- onChange(
27
- event: SyntheticEvent<Element, Event>,
28
- value: string | OptionsProps | null,
29
- reason: AutocompleteChangeReason,
30
- details?: AutocompleteChangeDetails<OptionsProps> | undefined
31
- ): void;
32
- onFocus?:() => void;
33
- clear?: {
34
- text?: string;
35
- show?: boolean; //default to false
36
- onClear: () => void;
37
- recentSearchText?: string;
38
- };
39
- seeMore?: {
40
- text?: string;
41
- show?: boolean; //default to false
42
- onSeeMore: () => void;
43
- };
44
- placeholder?: string;
45
- className?: string;
46
- iconStart?: string | React.ReactNode;
47
- iconEnd?: string | React.ReactNode;
48
- inputValue: string;
49
- value: string | OptionsProps | null;
50
- isFilterEnabled?: boolean;
51
- fullWidth?:boolean
52
- } & AdditionalProps;
53
-
54
- export type ListUiProps = {
55
- option: OptionsProps;
56
- };
57
-
58
- export type OptionsProps = {
59
- id: string;
60
- group?: string;
61
- value: string;
62
- icon?: NsIconNameType;
63
- image?: string;
64
- groupBgColor?: string;
65
- };
66
-
67
- export type ComponentBoxProps = ComponentsProps & HTMLAttributes<HTMLElement>;
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import { render } from '@testing-library/react';
3
- import { NsBanner } from '@/common/';
4
- import { ImageData1 } from '../card/fixtures/ImageData1';
5
-
6
- describe('Hero component', () => {
7
- const childText = 'Welcome to My Website';
8
- it('1. renders banner image and title', () => {
9
- const { getByAltText, getByText } = render(
10
- <NsBanner image={ImageData1}>
11
- <h1>{childText}</h1>
12
- </NsBanner>
13
- );
14
- const childElement = getByText(childText);
15
- const imageElement = getByAltText(ImageData1.selected?.altText || '');
16
- expect(childElement).toBeInTheDocument();
17
- expect(imageElement).toBeInTheDocument();
18
- });
19
- it('2. renders banner image and title without altText', () => {
20
- const { getByAltText } = render(
21
- <NsBanner image={ImageData1}>
22
- <h1>{childText}</h1>
23
- </NsBanner>
24
- );
25
- const imageElement = getByAltText(ImageData1.selected?.altText || '');
26
- expect(imageElement).toBeInTheDocument();
27
- });
28
- });
@@ -1,47 +0,0 @@
1
- /**
2
- * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)
3
- * NsBanner.stories.tsx
4
- * @description NsBanner component.
5
- */
6
-
7
- import React, { ReactElement } from 'react';
8
-
9
- import { withCenterDecorator } from '@/stories/decorators/withCenterDecorator';
10
- import type { Meta, StoryObj } from '@storybook/react';
11
-
12
- import { NsBanner, NsButton, NsTypography } from '../';
13
- import { ImageData1 } from '../card/fixtures/ImageData1';
14
-
15
- type ComponentType = typeof NsBanner;
16
- type Story = StoryObj<ComponentType>;
17
- type MetaStory = Meta<ComponentType>;
18
-
19
- export default {
20
- title: 'Components/Data Display/NsBanner',
21
- component: NsBanner,
22
- decorators: [withCenterDecorator],
23
- argTypes: {
24
- children: {
25
- control: 'text', // use the text control to edit children prop
26
- },
27
- },
28
- args: {
29
- image: ImageData1,
30
- altText: 'NsBanner',
31
- alignment: 'center',
32
- justify: 'start',
33
- children: (
34
- <div>
35
- <NsTypography className="w-80" variant="h1" colorOverride="#000000">
36
- Limited time offers on LumiSpa iO cleansers and bundles!
37
- </NsTypography>
38
- <NsTypography variant="body-m" className="my-5" colorOverride="#000000">
39
- Learn more about what I do and how I can help you
40
- </NsTypography>
41
- <NsButton variant="contained">Contact me</NsButton>
42
- </div>
43
- ) as ReactElement,
44
- },
45
- } as MetaStory;
46
-
47
- export const DefaultNsBanner: Story = {};
@@ -1,24 +0,0 @@
1
- import { styled } from '@nuskin/foundation-theme';
2
- import { AlignmentType } from './types.d';
3
-
4
- export const StyledBanner = styled.section`
5
- position: relative;
6
- display: flex;
7
- justify-content: space-evenly;
8
- img {
9
- width: 100%;
10
- object-fit: cover;
11
- height: auto;
12
- }
13
- `;
14
-
15
- export const StyledHeroText = styled.div<{ $justify: AlignmentType; $alignment: AlignmentType }>`
16
- height: 100%;
17
- display: flex;
18
- width: 100%;
19
- position: absolute;
20
- top: 0;
21
- justify-content: ${({ $justify }) => $justify};
22
- align-items: ${({ $alignment }) => $alignment};
23
- text-align: left;
24
- `;
@@ -1,32 +0,0 @@
1
- /**
2
- * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)
3
- * NsBanner.tsx
4
- * @description NsBanner component with a image background
5
- */
6
-
7
- import React, { PropsWithChildren, ReactElement } from 'react';
8
-
9
- import { getBasicDATWidthHeight } from '../image/bynder-util';
10
- import { BynderMedia } from '../image/BynderMedia';
11
- import { StyledBanner, StyledHeroText } from './NsBanner.styled';
12
- import { NsBannerProps } from './types.d';
13
-
14
- const NsBanner = (props: PropsWithChildren<NsBannerProps>): ReactElement => {
15
- const { children, image, alignment = 'center', justify = 'start', className = '', additionalProps = {} } = props;
16
-
17
- return (
18
- <StyledBanner className={className}>
19
- <BynderMedia
20
- className="image"
21
- imageDetail={image}
22
- {...additionalProps}
23
- suffix={getBasicDATWidthHeight(1100, 600, 'scale')}
24
- />
25
- <StyledHeroText $alignment={alignment} $justify={justify}>
26
- <div className="mx-14">{children}</div>
27
- </StyledHeroText>
28
- </StyledBanner>
29
- );
30
- };
31
-
32
- export default NsBanner;
@@ -1,2 +0,0 @@
1
- export { default as NsBanner } from './NsBanner';
2
- export type { NsBannerProps } from './types.d';
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
-
3
- import { AdditionalProps } from '../common.types';
4
- import { BynderImageDataType } from '../image/types';
5
-
6
- export type AlignmentType = 'start' | 'center' | 'end';
7
-
8
- export type NsBannerProps = {
9
- children: React.ReactNode;
10
- image: BynderImageDataType;
11
- alignment?: AlignmentType;
12
- justify?: AlignmentType;
13
- className?: string;
14
- } & AdditionalProps;
@@ -1,26 +0,0 @@
1
- import type { StoryObj, Meta } from '@storybook/react';
2
- import { NsBrandComponent } from './';
3
- import { withCenterDecorator } from '@/stories/decorators/withCenterDecorator';
4
-
5
- type ComponentType = typeof NsBrandComponent;
6
- type Story = StoryObj<ComponentType>;
7
- type MetaStory = Meta<ComponentType>;
8
-
9
- export default {
10
- title: 'Components/Data Display/NsBrandComponent',
11
- component: NsBrandComponent,
12
- decorators: [withCenterDecorator],
13
- argTypes: {
14
- size: { control: 'text', defaultValue: '100px' },
15
- variant: {
16
- control: 'select',
17
- options: ['stacked', 'horizontal', 'logomark', 'wordmark', 'poweredBy'],
18
- },
19
- },
20
- args: {
21
- size: '100px',
22
- variant: 'stacked',
23
- },
24
- } as MetaStory;
25
-
26
- export const Brand: Story = {};
@@ -1,47 +0,0 @@
1
- import BrandComponent from './NsBrandComponent';
2
- import { render } from '@testing-library/react';
3
-
4
- describe('checking brand component', () => {
5
- it('1. should render BrandComponent with stacked variant', () => {
6
- const { getByTestId } = render(<BrandComponent variant="stacked" />);
7
- const svg = getByTestId('logo');
8
- const paths = svg.querySelectorAll('path');
9
- expect(paths.length).toBe(8);
10
- });
11
-
12
- it('2. should render BrandComponent having variant wordmark', () => {
13
- const { getByTestId } = render(<BrandComponent variant="wordmark" />);
14
- const svg = getByTestId('logo');
15
- const paths = svg.querySelectorAll('path');
16
- expect(paths.length).toBe(7);
17
- });
18
-
19
- it('3. should render BrandComponent having variant horizontal', () => {
20
- const { getByTestId } = render(<BrandComponent variant="horizontal" />);
21
- const svg = getByTestId('logo');
22
- const paths = svg.querySelectorAll('path');
23
- expect(paths.length).toBe(8);
24
- });
25
-
26
- it('4. should render BrandComponent having variant logomark', () => {
27
- const { getByTestId } = render(<BrandComponent variant="logomark" />);
28
- const svg = getByTestId('logo');
29
- const paths = svg.querySelectorAll('path');
30
- expect(paths.length).toBe(5);
31
- });
32
-
33
- it('5. should render BrandComponent having powered variant', () => {
34
- const { getByTestId } = render(<BrandComponent variant="poweredBy" />);
35
- const svg = getByTestId('logo');
36
- const paths = svg.querySelectorAll('path');
37
- expect(paths.length).toBe(17);
38
- });
39
-
40
- it('6. should render BrandComponent with dummy variant', () => {
41
- const { getByTestId } = render(<BrandComponent />);
42
- const svg = getByTestId('logo');
43
- const paths = svg.querySelectorAll('path');
44
- expect(paths.length).toBe(8);
45
- });
46
-
47
- });
@@ -1,33 +0,0 @@
1
- import React, {
2
- PropsWithChildren,
3
- ReactElement,
4
- useCallback,
5
- } from 'react';
6
-
7
- import NSLogoHorizontal from './icons/NSLogoHorizontal';
8
- import NSLogoMark from './icons/NSLogoMark';
9
- import NSLogoPoweredBy from './icons/NSLogoPoweredBy';
10
- import NSLogoStacked from './icons/NSLogoStacked';
11
- import NSLogoWordMark from './icons/NSWordMark';
12
- import LogoContainer from './NsBrandContainer.styled';
13
- import { NsBrandComponentProps } from './types.d';
14
-
15
- const VariantMap = {
16
- stacked: NSLogoStacked,
17
- horizontal: NSLogoHorizontal,
18
- wordmark: NSLogoWordMark,
19
- logomark: NSLogoMark,
20
- poweredBy: NSLogoPoweredBy,
21
- };
22
-
23
- const NsBrandComponent = (props: PropsWithChildren<NsBrandComponentProps>):ReactElement => {
24
- const { variant = 'stacked', size = '108px', color = 'primary' } = props;
25
- const renderBrand = useCallback(() => {
26
- const BrandComponent = VariantMap[variant];
27
- // [Todo - Add neutral as FoundationTheme.PaletteColor]
28
- return <BrandComponent color={color as any} />;
29
- }, [color, variant]);
30
- return <LogoContainer size={size}>{renderBrand()}</LogoContainer>;
31
- };
32
-
33
- export default NsBrandComponent;
@@ -1,10 +0,0 @@
1
- import { styled } from '@nuskin/foundation-theme';
2
-
3
- const NsBrandContainer = styled.div<{ size: string }>`
4
- svg {
5
- font-size: ${({ size }) => size};
6
- height: auto;
7
- }
8
- `;
9
-
10
- export default NsBrandContainer;
@@ -1,84 +0,0 @@
1
- import React from 'react'
2
- import { render } from '@testing-library/react'
3
- import NSWordMark from './NSWordMark'
4
- import NSLogoHorizontal from './NSLogoHorizontal'
5
- import NSLogoPoweredBy from './NSLogoPoweredBy'
6
- import NSLogoStacked from './NSLogoStacked'
7
- import NSLogoMark from './NSLogoMark'
8
- describe('verifying logos', () => {
9
- it('1. should render NSWordMark logo', () => {
10
- const { getByTestId } = render(<NSWordMark color="primary" />)
11
-
12
- const svg = getByTestId('logo')
13
-
14
- expect(svg).toHaveAttribute('viewBox', '0 0 98 20')
15
- expect(svg).toHaveAttribute('xmlns', 'http://www.w3.org/2000/svg')
16
-
17
- const paths = svg.querySelectorAll('path')
18
- expect(paths.length).toBe(7)
19
- for (let i = 0; i < paths.length; i++) {
20
- const path = paths[i]
21
- expect(path).toHaveAttribute('fill', 'primary')
22
- }
23
- })
24
- it('2. should render NSLogoHorizontal ', () => {
25
- const { getByTestId } = render(<NSLogoHorizontal color="primary" />)
26
-
27
- const svg = getByTestId('logo')
28
-
29
- expect(svg).toHaveAttribute('viewBox', '0 0 135 30')
30
- expect(svg).toHaveAttribute('xmlns', 'http://www.w3.org/2000/svg')
31
-
32
- const paths = svg.querySelectorAll('path')
33
- expect(paths.length).toBe(8)
34
- for (let i = 0; i < paths.length; i++) {
35
- const path = paths[i]
36
- expect(path).toHaveAttribute('fill', 'primary')
37
- }
38
- })
39
- it('3. should render NSLogoPoweredBy', () => {
40
- const { getByTestId } = render(<NSLogoPoweredBy color="primary" />)
41
-
42
- const svg = getByTestId('logo')
43
-
44
- expect(svg).toHaveAttribute('viewBox', '0 0 100 38')
45
- expect(svg).toHaveAttribute('xmlns', 'http://www.w3.org/2000/svg')
46
-
47
- const paths = svg.querySelectorAll('path')
48
- expect(paths.length).toBe(17)
49
- for (let i = 0; i < paths.length; i++) {
50
- const path = paths[i]
51
- expect(path).toHaveAttribute('fill', 'primary')
52
- }
53
- })
54
- it('4. should render NSLogoStacked', () => {
55
- const { getByTestId } = render(<NSLogoStacked color="primary" />)
56
-
57
- const svg = getByTestId('logo')
58
-
59
- expect(svg).toHaveAttribute('viewBox', '0 0 155 108')
60
- expect(svg).toHaveAttribute('xmlns', 'http://www.w3.org/2000/svg')
61
-
62
- const paths = svg.querySelectorAll('path')
63
- expect(paths.length).toBe(8)
64
- for (let i = 0; i < paths.length; i++) {
65
- const path = paths[i]
66
- expect(path).toHaveAttribute('fill', 'primary')
67
- }
68
- })
69
- it('5. should render the NSLogoMark', () => {
70
- const { getByTestId } = render(<NSLogoMark color="primary" />)
71
-
72
- const svg = getByTestId('logo')
73
-
74
- expect(svg).toHaveAttribute('viewBox', '0 0 51 52')
75
- expect(svg).toHaveAttribute('xmlns', 'http://www.w3.org/2000/svg')
76
-
77
- const paths = svg.querySelectorAll('path')
78
- expect(paths.length).toBe(5)
79
- for (let i = 0; i < paths.length; i++) {
80
- const path = paths[i]
81
- expect(path).toHaveAttribute('fill', 'primary')
82
- }
83
- })
84
- })
@@ -1,70 +0,0 @@
1
- /* eslint-disable max-len */
2
-
3
- import { ReactElement } from 'react';
4
-
5
- import {
6
- SvgIcon,
7
- SvgIconProps,
8
- } from '@mui/material';
9
-
10
- const NSLogoHorizontal = (props: SvgIconProps):ReactElement => {
11
- return (
12
- <SvgIcon
13
- viewBox="0 0 135 30"
14
- fill="none"
15
- data-testid="logo"
16
- xmlns="http://www.w3.org/2000/svg"
17
- {...props}>
18
- <path
19
- fillRule="evenodd"
20
- clipRule="evenodd"
21
- d="M133.439 23C132.607 23 131.905 23.7014 131.905 24.5C131.905 25.3004 132.607 26 133.439 26C134.349 26 135 25.3004 135 24.5C135 23.6516 134.349 23 133.439 23ZM133.439 25.8255C132.686 25.8255 132.06 25.1996 132.06 24.5C132.06 23.7765 132.686 23.1762 133.439 23.1762C134.219 23.1762 134.792 23.7765 134.792 24.5C134.792 25.1996 134.219 25.8255 133.439 25.8255ZM134.061 24.151C134.061 23.9766 133.959 23.6265 133.388 23.6265H132.892V25.3997H133.129V24.6252H133.518L133.854 25.3997H134.061L133.75 24.599C133.934 24.5751 134.061 24.3768 134.061 24.151ZM133.412 24.474H133.129V23.8248H133.464C133.698 23.8248 133.879 23.9014 133.879 24.151C133.879 24.3016 133.801 24.474 133.412 24.474Z"
22
- fill={props.color}
23
- />
24
- <path
25
- fillRule="evenodd"
26
- clipRule="evenodd"
27
- d="M51.181 25L38.4365 9.34704V24.7232H37V6.07549L37.3395 6L49.9798 21.4768V6.27702H51.4421V24.9497L51.181 25Z"
28
- fill={props.color}
29
- />
30
- <path
31
- fillRule="evenodd"
32
- clipRule="evenodd"
33
- d="M62.7499 25C58.2617 25 55.5685 22.4685 55.5685 17.9423V6H57.0471V17.9165C57.0471 21.7525 59.2912 23.696 62.7499 23.696C66.2087 23.696 68.5056 21.7014 68.5056 17.9165V6H70.0106V17.9423C70.0106 22.3406 67.1326 25 62.7499 25Z"
34
- fill={props.color}
35
- />
36
- <path
37
- fillRule="evenodd"
38
- clipRule="evenodd"
39
- d="M83.781 25C81.7507 25 79.9289 24.3475 78.2632 23.2933L78.966 22.0636C80.5016 23.0674 82.1934 23.7201 83.9109 23.7201C86.4353 23.7201 88.1273 22.1637 88.1273 20.1307C88.1273 17.9973 86.644 17.0685 83.9371 15.889C80.9961 14.634 79.2002 13.3287 79.2002 10.794C79.2002 8.13339 81.5165 6 84.9257 6C86.5914 6 88.101 6.52701 89.2202 7.2548L88.5176 8.43455C87.5545 7.78181 86.2274 7.27989 84.7959 7.27989C82.2452 7.27989 80.6578 8.78589 80.6578 10.6934C80.6578 12.6762 82.2714 13.6299 84.5877 14.6593C87.8668 16.0898 89.6106 17.3197 89.6106 19.955C89.6106 22.967 87.008 25 83.781 25Z"
40
- fill={props.color}
41
- />
42
- <path
43
- fillRule="evenodd"
44
- clipRule="evenodd"
45
- d="M104.227 25L95.1657 15.6169V25H93.7368V6H95.1657V14.8389L103.921 6H105.758L96.5441 15.2276L106.116 25H104.227Z"
46
- fill={props.color}
47
- />
48
- <path
49
- fillRule="evenodd"
50
- clipRule="evenodd"
51
- d="M109.211 25H110.552V6H109.211V25Z"
52
- fill={props.color}
53
- />
54
- <path
55
- fillRule="evenodd"
56
- clipRule="evenodd"
57
- d="M129.581 25L116.836 9.34704V24.7232H115.4V6.07549L115.74 6L128.379 21.4768V6.27702H129.842V24.9497L129.581 25Z"
58
- fill={props.color}
59
- />
60
- <path
61
- fillRule="evenodd"
62
- clipRule="evenodd"
63
- d="M23.3312 7.73077C23.3312 7.73077 26.0255 7.59615 28.0509 9.84615C28.7197 10.5962 29.3694 11.5577 29.7325 12.9038C28.7771 5.63461 22.5669 0 15.0382 0C7.52865 0 1.29935 5.63462 0.324829 12.9231C0.687886 11.5769 1.33757 10.6154 2.00636 9.86538C4.05094 7.61538 6.7261 7.75 6.7261 7.75C13.414 8.09615 13.4522 14.8654 13.4522 14.8654V29.7885C13.758 29.8269 14.0828 29.8462 14.4076 29.8654V13.9038C14.4076 11.7308 13.7388 9.61539 12.2293 8.11539C10.8535 6.73077 9.07642 5.96154 7.20381 5.92308C8.00636 4.51923 9.11464 3.34615 10.4331 2.51923C11.828 1.65385 13.414 1.19231 15.0382 1.19231C16.6624 1.19231 18.2675 1.65385 19.6624 2.51923C20.9809 3.34615 22.0892 4.51923 22.8917 5.92308C21.0191 5.96154 19.2229 6.73077 17.8471 8.11539C16.3376 9.61539 15.6497 11.7308 15.6497 13.9038V29.8269C15.9745 29.8077 16.2802 29.7885 16.6051 29.75V14.8462C16.6051 14.8462 16.6433 8.07692 23.3312 7.73077ZM22.0892 16.3462C21.0764 16.9808 20.0255 18.2692 20.0255 20.9231V28.9808C23.0064 27.9038 25.5478 25.9038 27.3057 23.3077C28.4713 21.4038 28.5095 19.9038 28.2229 18.8077C27.8025 17.4038 26.5223 15.6538 23.9427 15.7885C23.9427 15.7885 22.9299 15.8077 22.0892 16.3462ZM23.4841 11.0385C25.4904 11.0385 26.828 11.5769 27.7261 12.2885C28.4522 12.9231 30.5923 15.1538 29.1783 19.3462C29.1592 16.3269 28.4522 15.25 27.6688 14.3462C25.9872 12.5192 23.7516 12.7308 23.7516 12.7308C21.0955 12.8077 19.8535 14.1346 19.2802 15.3462C18.7452 16.4231 18.7834 17.3846 18.7834 17.3846V29.3654C18.4777 29.4423 18.172 29.5192 17.8471 29.5769V16.0385C17.8471 11.0769 23.4841 11.0385 23.4841 11.0385ZM6.59234 11.0385C4.58598 11.0385 3.2484 11.5769 2.35031 12.2885C1.62419 12.9231 -0.515935 15.1538 0.878969 19.3462C0.898077 16.3269 1.60508 15.25 2.38852 14.3462C4.05094 12.5192 6.30572 12.7308 6.30572 12.7308C8.96177 12.8077 10.2038 14.1346 10.7771 15.3462C11.3121 16.4038 11.2739 17.3846 11.2739 17.3846V29.3654C11.5796 29.4423 11.9044 29.5192 12.2293 29.5769V16.0577C12.2484 11.0769 6.59234 11.0385 6.59234 11.0385ZM6.15285 15.7885C6.15285 15.7885 7.16559 15.8077 8.00636 16.3462C8.99999 16.9808 10.0701 18.2692 10.0701 20.9231V28.9808C7.08916 27.9038 4.54776 25.9038 2.7898 23.3077C1.6433 21.4038 1.58598 19.9038 1.8726 18.8077C2.27387 17.4038 3.55413 15.6346 6.15285 15.7885Z"
64
- fill={props.color}
65
- />
66
- </SvgIcon>
67
- )
68
- }
69
-
70
- export default NSLogoHorizontal