negodesign 0.0.81 → 0.0.82

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 (278) hide show
  1. package/README.md +133 -133
  2. package/dist/components/NegoDesign.svelte +21 -21
  3. package/dist/components/pages/admin/01/ui/AdminContent.svelte +14 -14
  4. package/dist/components/pages/admin/01/ui/AdminPanel.svelte +46 -46
  5. package/dist/components/pages/product-details/shared/ProductDetailFilesVertical.svelte +103 -103
  6. package/dist/components/pages/profile-user/shared/ProfileUserAddress.svelte +83 -83
  7. package/dist/components/pages/profile-user/shared/ProfileUserTabs.svelte +80 -80
  8. package/dist/components/pages/security/auth/PageAuth01.svelte +62 -62
  9. package/dist/components/pages/security/auth/PageAuth02.svelte +40 -40
  10. package/dist/components/pages/security/auth/PageAuth03.svelte +40 -40
  11. package/dist/components/pages/security/login/01/ui/FormLogin.svelte +91 -63
  12. package/dist/components/pages/security/login/01/ui/FormLogin.svelte.d.ts +2 -0
  13. package/dist/components/pages/security/login/01/ui/FormLoginEmailPassword.svelte +49 -26
  14. package/dist/components/pages/security/login/01/ui/FormLoginEmailPassword.svelte.d.ts +2 -0
  15. package/dist/components/pages/security/login/01/ui/FormLoginPhonePassword.svelte +49 -26
  16. package/dist/components/pages/security/login/01/ui/FormLoginPhonePassword.svelte.d.ts +2 -0
  17. package/dist/components/pages/security/login/01/ui/FormLoginUsernamePassword.svelte +49 -26
  18. package/dist/components/pages/security/login/01/ui/FormLoginUsernamePassword.svelte.d.ts +2 -0
  19. package/dist/components/pages/security/login/01/ui/LoginCard01.svelte +148 -132
  20. package/dist/components/pages/security/login/01/ui/LoginCard01.svelte.d.ts +2 -0
  21. package/dist/components/pages/security/login/01/ui/PageLogin01.svelte +66 -64
  22. package/dist/components/pages/security/login/02/ui/FormLogin02.svelte +82 -72
  23. package/dist/components/pages/security/login/02/ui/FormLogin02.svelte.d.ts +1 -0
  24. package/dist/components/pages/security/login/02/ui/FormLoginEmailPassword02.svelte +27 -26
  25. package/dist/components/pages/security/login/02/ui/FormLoginEmailPassword02.svelte.d.ts +1 -0
  26. package/dist/components/pages/security/login/02/ui/FormLoginPhonePassword02.svelte +27 -26
  27. package/dist/components/pages/security/login/02/ui/FormLoginPhonePassword02.svelte.d.ts +1 -0
  28. package/dist/components/pages/security/login/02/ui/FormLoginUsernamePassword02.svelte +27 -26
  29. package/dist/components/pages/security/login/02/ui/FormLoginUsernamePassword02.svelte.d.ts +1 -0
  30. package/dist/components/pages/security/login/02/ui/LoginCard02.svelte +15 -2
  31. package/dist/components/pages/security/login/02/ui/LoginCard02.svelte.d.ts +1 -0
  32. package/dist/components/pages/security/login/02/ui/PageLogin02.svelte +2 -0
  33. package/dist/components/pages/security/login/03/ui/FormLogin03.svelte +94 -91
  34. package/dist/components/pages/security/login/03/ui/FormLogin03.svelte.d.ts +1 -0
  35. package/dist/components/pages/security/login/03/ui/FormLoginEmailPassword03.svelte +27 -26
  36. package/dist/components/pages/security/login/03/ui/FormLoginEmailPassword03.svelte.d.ts +1 -0
  37. package/dist/components/pages/security/login/03/ui/FormLoginPhonePassword03.svelte +27 -26
  38. package/dist/components/pages/security/login/03/ui/FormLoginPhonePassword03.svelte.d.ts +1 -0
  39. package/dist/components/pages/security/login/03/ui/FormLoginUsernamePassword03.svelte +27 -26
  40. package/dist/components/pages/security/login/03/ui/FormLoginUsernamePassword03.svelte.d.ts +1 -0
  41. package/dist/components/pages/security/login/03/ui/LoginCard03.svelte +15 -2
  42. package/dist/components/pages/security/login/03/ui/LoginCard03.svelte.d.ts +1 -0
  43. package/dist/components/pages/security/login/03/ui/PageLogin03.svelte +2 -0
  44. package/dist/components/pages/security/login/PageLogin.svelte +30 -30
  45. package/dist/components/pages/security/login/types.d.ts +1 -0
  46. package/dist/components/pages/security/register/01/ui/PageRegister01.svelte +78 -76
  47. package/dist/components/pages/security/register/01/ui/RegisterCard01.svelte +107 -104
  48. package/dist/components/pages/security/register/01/ui/RegisterCard01.svelte.d.ts +1 -0
  49. package/dist/components/pages/security/register/02/ui/PageRegister02.svelte +2 -0
  50. package/dist/components/pages/security/register/02/ui/RegisterCard02.svelte +3 -1
  51. package/dist/components/pages/security/register/02/ui/RegisterCard02.svelte.d.ts +1 -0
  52. package/dist/components/pages/security/register/03/ui/PageRegister03.svelte +2 -0
  53. package/dist/components/pages/security/register/03/ui/RegisterCard03.svelte +3 -1
  54. package/dist/components/pages/security/register/03/ui/RegisterCard03.svelte.d.ts +1 -0
  55. package/dist/components/pages/security/register/FormRegister.svelte +148 -146
  56. package/dist/components/pages/security/register/FormRegister.svelte.d.ts +1 -0
  57. package/dist/components/pages/security/register/types.d.ts +1 -0
  58. package/dist/components/ui/avatar/avatar-fallback.svelte +29 -29
  59. package/dist/components/ui/avatar/avatar-image.svelte +38 -38
  60. package/dist/components/ui/avatar/avatar.svelte +39 -39
  61. package/dist/components/ui/badge/badge.svelte +46 -46
  62. package/dist/components/ui/banner/AdCardBanner.svelte +74 -74
  63. package/dist/components/ui/banner/CtaCardBanner.svelte +118 -118
  64. package/dist/components/ui/banner/CtaCardImageBanner.svelte +94 -94
  65. package/dist/components/ui/breadcrumb/core/breadcrumb-list.svelte +31 -31
  66. package/dist/components/ui/button/ButtonBack.svelte +18 -18
  67. package/dist/components/ui/button/ButtonLogin.svelte +19 -15
  68. package/dist/components/ui/button/ButtonLoginWith.svelte +57 -57
  69. package/dist/components/ui/button/ButtonSend.svelte +15 -15
  70. package/dist/components/ui/button/button.svelte +100 -86
  71. package/dist/components/ui/button/button.svelte.d.ts +1 -0
  72. package/dist/components/ui/card/core/highlight/01/CardHighlight01.svelte +103 -103
  73. package/dist/components/ui/card/core/highlight/02/CardHighlight02.svelte +99 -99
  74. package/dist/components/ui/card/core/highlight/CardHighlight.svelte +22 -22
  75. package/dist/components/ui/card/core/media/01/CardMedia01.svelte +133 -133
  76. package/dist/components/ui/card/core/media/02/CardMedia02.svelte +127 -127
  77. package/dist/components/ui/card/core/media/CardMedia.svelte +18 -18
  78. package/dist/components/ui/card/core/product/01/CardProduct01.svelte +136 -136
  79. package/dist/components/ui/card/core/product/02/CardProduct02.svelte +124 -124
  80. package/dist/components/ui/card/core/product/CardProduct.svelte +22 -22
  81. package/dist/components/ui/card/core/profile/01/CardProfile01.svelte +134 -134
  82. package/dist/components/ui/card/core/profile/02/CardProfile02.svelte +132 -132
  83. package/dist/components/ui/card/core/profile/CardProfile.svelte +18 -18
  84. package/dist/components/ui/card/core/promotion/CardPromotion.svelte +139 -139
  85. package/dist/components/ui/card/core/promotion/CardPromotionPrice.svelte +32 -32
  86. package/dist/components/ui/card/core/shared/CardButton.svelte +42 -42
  87. package/dist/components/ui/card/core/shared/CardCart.svelte +36 -36
  88. package/dist/components/ui/card/core/shared/CardDescription.svelte +41 -41
  89. package/dist/components/ui/card/core/shared/CardFavorite.svelte +33 -33
  90. package/dist/components/ui/card/core/shared/CardLogo.svelte +19 -19
  91. package/dist/components/ui/card/core/shared/CardPhoneOrWhatsapp.svelte +45 -45
  92. package/dist/components/ui/card/core/shared/CardStarRating.svelte +24 -24
  93. package/dist/components/ui/card/core/shared/CardTags.svelte +95 -95
  94. package/dist/components/ui/card/core/shared/CardThumbnailVideo.svelte +232 -232
  95. package/dist/components/ui/card/core/shared/CardTitlePrice.svelte +24 -24
  96. package/dist/components/ui/card/core/shared/TruncatableText.svelte +49 -49
  97. package/dist/components/ui/carousel/carousel-content.svelte +56 -56
  98. package/dist/components/ui/carousel/carousel-item.svelte +29 -29
  99. package/dist/components/ui/carousel/carousel-next.svelte +40 -40
  100. package/dist/components/ui/carousel/carousel-previous.svelte +40 -40
  101. package/dist/components/ui/carousel/carousel.svelte +225 -225
  102. package/dist/components/ui/carousel/core/badge/ui/CarouselBadge.svelte +108 -108
  103. package/dist/components/ui/carousel/core/grid/shared/ui/CarouselGridSlot.svelte +38 -38
  104. package/dist/components/ui/carousel/core/hero/ui/CarouselHero.svelte +181 -181
  105. package/dist/components/ui/carousel/core/highlights/ui/CarouselHighlights.svelte +67 -67
  106. package/dist/components/ui/carousel/core/product/ui/CarouselProduct.svelte +57 -57
  107. package/dist/components/ui/carousel/core/promotion/ui/CarouselPromotion.svelte +67 -67
  108. package/dist/components/ui/carousel/core/shared/ui/CarouselHeader.svelte +59 -59
  109. package/dist/components/ui/checkbox/checkbox.svelte +96 -96
  110. package/dist/components/ui/collapsible/collapsible-content.svelte +30 -30
  111. package/dist/components/ui/collapsible/collapsible-trigger.svelte +51 -51
  112. package/dist/components/ui/collapsible/collapsible.svelte +66 -66
  113. package/dist/components/ui/data-table/flex-render.svelte +40 -40
  114. package/dist/components/ui/datatable/ui/DataTableActions.svelte +28 -28
  115. package/dist/components/ui/datatable/ui/DataTableCheckbox.svelte +22 -22
  116. package/dist/components/ui/datatable/ui/DataTableContent.svelte +59 -59
  117. package/dist/components/ui/datatable/ui/DataTableCore.svelte +148 -148
  118. package/dist/components/ui/datatable/ui/DataTableDragHandle.svelte +8 -8
  119. package/dist/components/ui/datatable/ui/DataTableListFilter.svelte +60 -60
  120. package/dist/components/ui/datatable/ui/DataTableListPagination.svelte +35 -35
  121. package/dist/components/ui/drawer/drawer-close.svelte +41 -41
  122. package/dist/components/ui/drawer/drawer-content.svelte +81 -81
  123. package/dist/components/ui/drawer/drawer-description.svelte +19 -19
  124. package/dist/components/ui/drawer/drawer-footer.svelte +20 -20
  125. package/dist/components/ui/drawer/drawer-header.svelte +20 -20
  126. package/dist/components/ui/drawer/drawer-nested.svelte +34 -34
  127. package/dist/components/ui/drawer/drawer-overlay.svelte +25 -25
  128. package/dist/components/ui/drawer/drawer-portal.svelte +19 -19
  129. package/dist/components/ui/drawer/drawer-title.svelte +19 -19
  130. package/dist/components/ui/drawer/drawer-trigger.svelte +42 -42
  131. package/dist/components/ui/drawer/drawer.svelte +74 -74
  132. package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-group.svelte +25 -25
  133. package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +69 -69
  134. package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +106 -106
  135. package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte +27 -27
  136. package/dist/components/ui/dropdown-menu/dropdown-menu-group.svelte +21 -21
  137. package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +60 -60
  138. package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte +27 -27
  139. package/dist/components/ui/dropdown-menu/dropdown-menu-portal.svelte +6 -6
  140. package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte +43 -43
  141. package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +70 -70
  142. package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte +20 -20
  143. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +33 -33
  144. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +57 -57
  145. package/dist/components/ui/dropdown-menu/dropdown-menu-sub.svelte +76 -76
  146. package/dist/components/ui/dropdown-menu/dropdown-menu-trigger.svelte +68 -68
  147. package/dist/components/ui/dropdown-menu/dropdown-menu.svelte +53 -53
  148. package/dist/components/ui/empty/empty-content.svelte +19 -19
  149. package/dist/components/ui/empty/empty-description.svelte +19 -19
  150. package/dist/components/ui/empty/empty-header.svelte +19 -19
  151. package/dist/components/ui/empty/empty-media.svelte +41 -41
  152. package/dist/components/ui/empty/empty-title.svelte +19 -19
  153. package/dist/components/ui/empty/empty.svelte +19 -19
  154. package/dist/components/ui/footer/ui/Footer.svelte +18 -18
  155. package/dist/components/ui/form/ui/calendar/Calendar.svelte +193 -193
  156. package/dist/components/ui/form/ui/calendar/CalendarCard.svelte +89 -89
  157. package/dist/components/ui/form/ui/calendar/DaysGrid.svelte +75 -75
  158. package/dist/components/ui/form/ui/calendar/MonthSelect.svelte +49 -49
  159. package/dist/components/ui/form/ui/calendar/YearSelect.svelte +116 -116
  160. package/dist/components/ui/form/ui/input-base.svelte +83 -83
  161. package/dist/components/ui/form/ui/input-calendar-interval.svelte +178 -178
  162. package/dist/components/ui/form/ui/input-calendar.svelte +109 -109
  163. package/dist/components/ui/form/ui/input-email-or-phone.svelte +23 -23
  164. package/dist/components/ui/form/ui/input-email.svelte +23 -23
  165. package/dist/components/ui/form/ui/input-password-confirm.svelte +23 -23
  166. package/dist/components/ui/form/ui/input-password.svelte +23 -23
  167. package/dist/components/ui/form/ui/input-phone.svelte +43 -37
  168. package/dist/components/ui/form/ui/input-select.svelte +246 -246
  169. package/dist/components/ui/form/ui/input-username.svelte +22 -22
  170. package/dist/components/ui/grid/core/ui/01/Grid01.svelte +30 -30
  171. package/dist/components/ui/grid/core/ui/02/Grid02.svelte +30 -30
  172. package/dist/components/ui/grid/core/ui/ItemsPanel.svelte +26 -26
  173. package/dist/components/ui/grid/core/ui/ItemsPanelCarousel.svelte +37 -37
  174. package/dist/components/ui/grid/core/ui/ItemsPanelGrid.svelte +43 -43
  175. package/dist/components/ui/grid/core/ui/ItemsSimpleGrid.svelte +45 -45
  176. package/dist/components/ui/grid/core/ui/shared/DescriptionGrid.svelte +23 -23
  177. package/dist/components/ui/grid/core/ui/shared/IconRenderGrid.svelte +23 -23
  178. package/dist/components/ui/grid/core/ui/shared/TitleGrid.svelte +19 -19
  179. package/dist/components/ui/hero/SimpleHero.svelte +65 -65
  180. package/dist/components/ui/input-otp/input-otp-group.svelte +22 -22
  181. package/dist/components/ui/input-otp/input-otp-separator.svelte +27 -27
  182. package/dist/components/ui/input-otp/input-otp-slot.svelte +63 -63
  183. package/dist/components/ui/input-otp/input-otp.svelte +181 -181
  184. package/dist/components/ui/label/core/LabelOr.svelte +25 -25
  185. package/dist/components/ui/label/label.svelte +19 -19
  186. package/dist/components/ui/language-switcher/language-switcher.svelte +48 -48
  187. package/dist/components/ui/light-switch/light-switch.svelte +48 -48
  188. package/dist/components/ui/link/link-forget-password.svelte +12 -12
  189. package/dist/components/ui/link/link-privacy-polity.svelte +12 -12
  190. package/dist/components/ui/link/link-terms-of-service.svelte +12 -12
  191. package/dist/components/ui/modal/core/ui/ModalCore.svelte +132 -132
  192. package/dist/components/ui/modal/form/index.d.ts +3 -2
  193. package/dist/components/ui/modal/form/index.js +2 -1
  194. package/dist/components/ui/modal/form/types.d.ts +41 -0
  195. package/dist/components/ui/modal/form/ui/ModalForm.svelte +11 -6
  196. package/dist/components/ui/modal/form/ui/ModalFormEmailOrPhone.svelte +204 -0
  197. package/dist/components/ui/modal/form/ui/ModalFormEmailOrPhone.svelte.d.ts +4 -0
  198. package/dist/components/ui/modal/grid/ui/02/ModalGridSelection02.svelte +146 -146
  199. package/dist/components/ui/modal/share/ui/ModalShareSelection.svelte +156 -156
  200. package/dist/components/ui/nav/ui/ComplexMenu.svelte +51 -51
  201. package/dist/components/ui/nav/ui/Menu.svelte +72 -72
  202. package/dist/components/ui/nav/ui/SimpleMenu.svelte +14 -14
  203. package/dist/components/ui/nav/ui/mobile/ComplexMenuMobile.svelte +125 -125
  204. package/dist/components/ui/nav/ui/mobile/MenuMobile.svelte +54 -54
  205. package/dist/components/ui/nav/ui/shared/MenuButton.svelte +51 -51
  206. package/dist/components/ui/nav/ui/shared/MenuLinks.svelte +40 -40
  207. package/dist/components/ui/nav/ui/shared/MenuListItem.svelte +44 -44
  208. package/dist/components/ui/nav/ui/shared/MenuLogo.svelte +13 -13
  209. package/dist/components/ui/nav/ui/shared/dropdown/DropdownNavigationMenuItemGrid.svelte +30 -30
  210. package/dist/components/ui/nav/ui/shared/navigation/NavDropdown.svelte +88 -88
  211. package/dist/components/ui/nav/ui/shared/navigation/NavigationMenuItem.svelte +17 -17
  212. package/dist/components/ui/nav/ui/shared/navigation/NavigationMenuItemCard.svelte +53 -53
  213. package/dist/components/ui/nav/ui/shared/navigation/NavigationMenuItemGrid.svelte +35 -35
  214. package/dist/components/ui/nav/ui/shared/navigation/NavigationMenuItemList.svelte +24 -24
  215. package/dist/components/ui/nav/ui/shared/navigation/NavigationMenuItems.svelte +21 -21
  216. package/dist/components/ui/panel/CarouselSlot.svelte +57 -57
  217. package/dist/components/ui/panel/LeftHero.svelte +114 -114
  218. package/dist/components/ui/panel/NotFoundEmpty.svelte +66 -66
  219. package/dist/components/ui/phone-input/country-selector.svelte +87 -87
  220. package/dist/components/ui/phone-input/flag.svelte +11 -11
  221. package/dist/components/ui/phone-input/phone-input.svelte +163 -163
  222. package/dist/components/ui/popover/popover-close.svelte +25 -25
  223. package/dist/components/ui/popover/popover-content.svelte +92 -92
  224. package/dist/components/ui/popover/popover-portal.svelte +6 -6
  225. package/dist/components/ui/popover/popover-trigger.svelte +68 -68
  226. package/dist/components/ui/popover/popover.svelte +53 -53
  227. package/dist/components/ui/search/SearchInput.svelte +32 -32
  228. package/dist/components/ui/search/shared/SearchInputCore.svelte +66 -66
  229. package/dist/components/ui/separator/separator.svelte +28 -28
  230. package/dist/components/ui/sidebar/core/MenuBarSidebar.svelte +70 -70
  231. package/dist/components/ui/sidebar/core/ui/navbar/NavMenuBarSidebar.svelte +97 -97
  232. package/dist/components/ui/sidebar/core/ui/navbar/NavMenuBottomSidebar.svelte +33 -33
  233. package/dist/components/ui/sidebar/core/ui/navbar/NavMenuTopBarSidebar.svelte +101 -101
  234. package/dist/components/ui/sidebar/core/ui/navbar/nav-menu-header-sidebar.svelte +77 -77
  235. package/dist/components/ui/sidebar/sidebar-content.svelte +24 -24
  236. package/dist/components/ui/sidebar/sidebar-footer.svelte +21 -21
  237. package/dist/components/ui/sidebar/sidebar-group-content.svelte +21 -21
  238. package/dist/components/ui/sidebar/sidebar-menu-action.svelte +38 -38
  239. package/dist/components/ui/sidebar/sidebar-menu-button.svelte +70 -70
  240. package/dist/components/ui/sidebar/sidebar-menu-sub-button.svelte +39 -39
  241. package/dist/components/ui/sidebar/sidebar-provider.svelte +62 -62
  242. package/dist/components/ui/sidebar/sidebar-rail.svelte +36 -36
  243. package/dist/components/ui/sidebar/sidebar-separator.svelte +21 -21
  244. package/dist/components/ui/sidebar/sidebar-trigger.svelte +36 -36
  245. package/dist/components/ui/sidebar/sidebar.svelte +118 -118
  246. package/dist/components/ui/skeleton/skeleton.svelte +19 -19
  247. package/dist/components/ui/star-rating/star-rating-star.svelte +66 -66
  248. package/dist/components/ui/star-rating/star-rating.svelte +149 -149
  249. package/dist/components/ui/table/table-body.svelte +15 -15
  250. package/dist/components/ui/table/table-caption.svelte +20 -20
  251. package/dist/components/ui/table/table-cell.svelte +15 -15
  252. package/dist/components/ui/table/table-footer.svelte +20 -20
  253. package/dist/components/ui/table/table-head.svelte +15 -15
  254. package/dist/components/ui/table/table-header.svelte +20 -20
  255. package/dist/components/ui/table/table-row.svelte +15 -15
  256. package/dist/components/ui/table/table.svelte +17 -17
  257. package/dist/components/ui/tabs/data/TabModel.d.ts +1 -0
  258. package/dist/components/ui/tabs/ui/tab-underline.svelte +47 -43
  259. package/dist/components/ui/underline-tabs/underline-tabs-content.svelte +33 -33
  260. package/dist/components/ui/underline-tabs/underline-tabs-list.svelte +40 -40
  261. package/dist/components/ui/underline-tabs/underline-tabs-trigger.svelte +91 -91
  262. package/dist/components/ui/underline-tabs/underline-tabs.svelte +61 -61
  263. package/dist/docs/ApiTable.svelte +42 -42
  264. package/dist/docs/CodeBlock.svelte +26 -26
  265. package/dist/docs/DocsHeader.svelte +25 -25
  266. package/dist/docs/DocsSidebar.svelte +108 -108
  267. package/dist/docs/components.js +624 -584
  268. package/dist/globals.css +27 -7
  269. package/dist/i18n/langs/en.d.ts +3 -1
  270. package/dist/i18n/langs/en.js +3 -1
  271. package/dist/i18n/langs/pt.d.ts +3 -1
  272. package/dist/i18n/langs/pt.js +3 -1
  273. package/dist/i18n/translations.d.ts +6 -2
  274. package/dist/index.d.ts +12 -0
  275. package/dist/index.js +12 -0
  276. package/dist/styles/globals.css +283 -283
  277. package/dist/types/index.d.ts +3 -1
  278. package/package.json +81 -81
@@ -16,26 +16,26 @@ export const categories = [
16
16
  "Login / Security",
17
17
  "Full Pages",
18
18
  ];
19
- const navButtonExample = `import { Menu } from "negodesign"
20
-
21
- <Menu
22
- isBorder
23
- isLightSwitch
24
- isLanguageSwitcher
25
- logo={{ label: "Negoturismo" }}
26
- navMenuButton={{
27
- textButtonLogin: "Sign in",
28
- textButtonRegister: "Register",
29
- onclickButtonLogin: () => {},
30
- onclickButtonRegister: () => {},
31
- buttonClass: "bg-primary text-white",
32
- }}
33
- navMenu={{
34
- links: [
35
- { label: "Home", url: "/", icon: Home01Icon },
36
- { label: "Accommodation", url: "/hospedagem", icon: Hotel01Icon },
37
- ],
38
- }}
19
+ const navButtonExample = `import { Menu } from "negodesign"
20
+
21
+ <Menu
22
+ isBorder
23
+ isLightSwitch
24
+ isLanguageSwitcher
25
+ logo={{ label: "Negoturismo" }}
26
+ navMenuButton={{
27
+ textButtonLogin: "Sign in",
28
+ textButtonRegister: "Register",
29
+ onclickButtonLogin: () => {},
30
+ onclickButtonRegister: () => {},
31
+ buttonClass: "bg-primary text-white",
32
+ }}
33
+ navMenu={{
34
+ links: [
35
+ { label: "Home", url: "/", icon: Home01Icon },
36
+ { label: "Accommodation", url: "/hospedagem", icon: Hotel01Icon },
37
+ ],
38
+ }}
39
39
  />`;
40
40
  export const components = [
41
41
  {
@@ -65,12 +65,12 @@ export const components = [
65
65
  examples: [
66
66
  {
67
67
  title: "Search Field",
68
- code: `import { SearchInput } from "negodesign"
69
-
70
- <SearchInput
71
- variant={1}
72
- placeholder="Search..."
73
- onSubmit={(q) => console.log(q)}
68
+ code: `import { SearchInput } from "negodesign"
69
+
70
+ <SearchInput
71
+ variant={1}
72
+ placeholder="Search..."
73
+ onSubmit={(q) => console.log(q)}
74
74
  />`,
75
75
  },
76
76
  ],
@@ -93,14 +93,14 @@ export const components = [
93
93
  examples: [
94
94
  {
95
95
  title: "Simple Hero",
96
- code: `import { SimpleHero } from "negodesign"
97
-
98
- <SimpleHero
99
- title="Find your ideal stay"
100
- subTitle="Welcome"
101
- description="Verified hotels, guest houses and apartments."
102
- image="/images/hero.jpg"
103
- buttons={[{ label: "Explore", variant: "default" }]}
96
+ code: `import { SimpleHero } from "negodesign"
97
+
98
+ <SimpleHero
99
+ title="Find your ideal stay"
100
+ subTitle="Welcome"
101
+ description="Verified hotels, guest houses and apartments."
102
+ image="/images/hero.jpg"
103
+ buttons={[{ label: "Explore", variant: "default" }]}
104
104
  />`,
105
105
  href: "/hero",
106
106
  },
@@ -127,24 +127,24 @@ export const components = [
127
127
  examples: [
128
128
  {
129
129
  title: "Carousel Hero",
130
- code: `import { CarouselHero } from "negodesign"
131
-
132
- <CarouselHero
133
- titleClass="md:text-2xl lg:text-4xl"
134
- descriptionClass="text-xs md:text-lg"
135
- simpleMenu={{
136
- logo: { url: "/", label: "Negoturismo", className: "text-white" },
137
- links: [{ label: "Accommodation", url: "#", icon: Hotel01Icon }],
138
- isLanguageSwitcher: false,
139
- isLightSwitch: false,
140
- }}
141
- items={[
142
- {
143
- title: "Find your ideal stay",
144
- description: "Verified hotels, guest houses and apartments.",
145
- image: "https://images.unsplash.com/photo-1566073771259",
146
- },
147
- ]}
130
+ code: `import { CarouselHero } from "negodesign"
131
+
132
+ <CarouselHero
133
+ titleClass="md:text-2xl lg:text-4xl"
134
+ descriptionClass="text-xs md:text-lg"
135
+ simpleMenu={{
136
+ logo: { url: "/", label: "Negoturismo", className: "text-white" },
137
+ links: [{ label: "Accommodation", url: "#", icon: Hotel01Icon }],
138
+ isLanguageSwitcher: false,
139
+ isLightSwitch: false,
140
+ }}
141
+ items={[
142
+ {
143
+ title: "Find your ideal stay",
144
+ description: "Verified hotels, guest houses and apartments.",
145
+ image: "https://images.unsplash.com/photo-1566073771259",
146
+ },
147
+ ]}
148
148
  />`,
149
149
  href: "/hero/carousel",
150
150
  },
@@ -174,14 +174,14 @@ export const components = [
174
174
  examples: [
175
175
  {
176
176
  title: "CTA Image Banner",
177
- code: `import { CtaCardImageBanner } from "negodesign"
178
-
179
- <CtaCardImageBanner
180
- title="Let's get in touch"
181
- description="Talk to us and discover the best offers."
182
- primaryText="Contact"
183
- primaryHref="#"
184
- imageSrc="/images/banner.jpg"
177
+ code: `import { CtaCardImageBanner } from "negodesign"
178
+
179
+ <CtaCardImageBanner
180
+ title="Let's get in touch"
181
+ description="Talk to us and discover the best offers."
182
+ primaryText="Contact"
183
+ primaryHref="#"
184
+ imageSrc="/images/banner.jpg"
185
185
  />`,
186
186
  href: "/banner",
187
187
  },
@@ -212,13 +212,13 @@ export const components = [
212
212
  examples: [
213
213
  {
214
214
  title: "Notification Banner",
215
- code: `import { NotificationBanner } from "negodesign"
216
-
217
- <NotificationBanner
218
- strongText="New"
219
- description="New offers available!"
220
- ctaText="View offers"
221
- onDismiss={() => console.log("dismissed")}
215
+ code: `import { NotificationBanner } from "negodesign"
216
+
217
+ <NotificationBanner
218
+ strongText="New"
219
+ description="New offers available!"
220
+ ctaText="View offers"
221
+ onDismiss={() => console.log("dismissed")}
222
222
  />`,
223
223
  },
224
224
  ],
@@ -245,14 +245,14 @@ export const components = [
245
245
  examples: [
246
246
  {
247
247
  title: "Ad Banner",
248
- code: `import { AdCardBanner } from "negodesign"
249
-
250
- <AdCardBanner
251
- tagText="This ad could be yours."
252
- titleHighlight="This ad"
253
- titleMain="could be yours."
254
- buttonText="Learn more"
255
- onClickButton={() => console.log("clicked")}
248
+ code: `import { AdCardBanner } from "negodesign"
249
+
250
+ <AdCardBanner
251
+ tagText="This ad could be yours."
252
+ titleHighlight="This ad"
253
+ titleMain="could be yours."
254
+ buttonText="Learn more"
255
+ onClickButton={() => console.log("clicked")}
256
256
  />`,
257
257
  href: "/banner/cad-add",
258
258
  },
@@ -278,13 +278,13 @@ export const components = [
278
278
  examples: [
279
279
  {
280
280
  title: "CTA Banner",
281
- code: `import { CtaCardBanner } from "negodesign"
282
-
283
- <CtaCardBanner
284
- title="Let's get in touch"
285
- description="We have the ideal solution for you."
286
- primaryText="Contact"
287
- secondaryText="Learn more"
281
+ code: `import { CtaCardBanner } from "negodesign"
282
+
283
+ <CtaCardBanner
284
+ title="Let's get in touch"
285
+ description="We have the ideal solution for you."
286
+ primaryText="Contact"
287
+ secondaryText="Learn more"
288
288
  />`,
289
289
  href: "/banner/card-contact-cta",
290
290
  },
@@ -312,16 +312,16 @@ export const components = [
312
312
  examples: [
313
313
  {
314
314
  title: "Media Card",
315
- code: `import { CardMedia } from "negodesign"
316
-
317
- <CardMedia
318
- {...item}
319
- variant={2}
320
- isImageButtonMaximized
321
- isVideoButtonMaximized
322
- onFavoriteClick={(id) => console.log(id)}
323
- onButtonProfile={(id) => console.log(id)}
324
- onButtonDetails={(id) => console.log(id)}
315
+ code: `import { CardMedia } from "negodesign"
316
+
317
+ <CardMedia
318
+ {...item}
319
+ variant={2}
320
+ isImageButtonMaximized
321
+ isVideoButtonMaximized
322
+ onFavoriteClick={(id) => console.log(id)}
323
+ onButtonProfile={(id) => console.log(id)}
324
+ onButtonDetails={(id) => console.log(id)}
325
325
  />`,
326
326
  href: "/card/media",
327
327
  },
@@ -359,13 +359,13 @@ export const components = [
359
359
  examples: [
360
360
  {
361
361
  title: "Profile Card",
362
- code: `import { CardProfile } from "negodesign"
363
-
364
- <CardProfile
365
- {...item}
366
- variant={1}
367
- onFavoriteClick={(id) => console.log(id)}
368
- onWhatsappClick={(id) => console.log(id)}
362
+ code: `import { CardProfile } from "negodesign"
363
+
364
+ <CardProfile
365
+ {...item}
366
+ variant={1}
367
+ onFavoriteClick={(id) => console.log(id)}
368
+ onWhatsappClick={(id) => console.log(id)}
369
369
  />`,
370
370
  href: "/card/profile",
371
371
  },
@@ -400,16 +400,16 @@ export const components = [
400
400
  examples: [
401
401
  {
402
402
  title: "Badge Carousel",
403
- code: `import { CarouselBadge } from "negodesign"
404
-
405
- <CarouselBadge
406
- orientation="horizontal"
407
- itemStyle="BORDER"
408
- items={[
409
- { label: "Hotels", value: "hotel", icon: Hotel01Icon },
410
- { label: "Pensions", value: "pensao", icon: BedDoubleIcon },
411
- ]}
412
- onClick={(value) => console.log(value)}
403
+ code: `import { CarouselBadge } from "negodesign"
404
+
405
+ <CarouselBadge
406
+ orientation="horizontal"
407
+ itemStyle="BORDER"
408
+ items={[
409
+ { label: "Hotels", value: "hotel", icon: Hotel01Icon },
410
+ { label: "Pensions", value: "pensao", icon: BedDoubleIcon },
411
+ ]}
412
+ onClick={(value) => console.log(value)}
413
413
  />`,
414
414
  href: "/carousel/badge",
415
415
  },
@@ -441,18 +441,18 @@ export const components = [
441
441
  examples: [
442
442
  {
443
443
  title: "Highlights Carousel",
444
- code: `import { CarouselHighlights } from "negodesign"
445
-
446
- <CarouselHighlights
447
- varient={2}
448
- headerProps={{
449
- title: "Highlights",
450
- description: "The best organizations",
451
- onButtonViewAll: () => {},
452
- }}
453
- items={highlights}
454
- onClickBtn={(id) => console.log(id)}
455
- onClickFavorite={(id) => console.log(id)}
444
+ code: `import { CarouselHighlights } from "negodesign"
445
+
446
+ <CarouselHighlights
447
+ varient={2}
448
+ headerProps={{
449
+ title: "Highlights",
450
+ description: "The best organizations",
451
+ onButtonViewAll: () => {},
452
+ }}
453
+ items={highlights}
454
+ onClickBtn={(id) => console.log(id)}
455
+ onClickFavorite={(id) => console.log(id)}
456
456
  />`,
457
457
  href: "/carousel/highlights",
458
458
  },
@@ -479,16 +479,16 @@ export const components = [
479
479
  examples: [
480
480
  {
481
481
  title: "Promotion Carousel",
482
- code: `import { CarouselPromotion } from "negodesign"
483
-
484
- <CarouselPromotion
485
- items={promotions}
486
- headerProps={{
487
- title: "Promotions",
488
- onButtonViewAll: () => {},
489
- }}
490
- onClickBuy={(id) => console.log(id)}
491
- onClickShop={(id) => console.log(id)}
482
+ code: `import { CarouselPromotion } from "negodesign"
483
+
484
+ <CarouselPromotion
485
+ items={promotions}
486
+ headerProps={{
487
+ title: "Promotions",
488
+ onButtonViewAll: () => {},
489
+ }}
490
+ onClickBuy={(id) => console.log(id)}
491
+ onClickShop={(id) => console.log(id)}
492
492
  />`,
493
493
  href: "/carousel/promotion",
494
494
  },
@@ -515,15 +515,15 @@ export const components = [
515
515
  examples: [
516
516
  {
517
517
  title: "Media Grid",
518
- code: `import { CarouselGridMedia } from "negodesign"
519
-
520
- <CarouselGridMedia
521
- items={media}
522
- headerProps={{
523
- title: "Explore",
524
- onButtonViewAll: () => {},
525
- }}
526
- onFavoriteClick={(id) => console.log(id)}
518
+ code: `import { CarouselGridMedia } from "negodesign"
519
+
520
+ <CarouselGridMedia
521
+ items={media}
522
+ headerProps={{
523
+ title: "Explore",
524
+ onButtonViewAll: () => {},
525
+ }}
526
+ onFavoriteClick={(id) => console.log(id)}
527
527
  />`,
528
528
  href: "/carousel/grid/media",
529
529
  },
@@ -554,14 +554,14 @@ export const components = [
554
554
  examples: [
555
555
  {
556
556
  title: "Simple Grid",
557
- code: `import { ItemsSimpleGrid } from "negodesign"
558
-
559
- <ItemsSimpleGrid
560
- variant={1}
561
- items={[
562
- { icon: Coffee03Icon, title: "Coffee", description: "Start your day right" },
563
- ]}
564
- onClick={(id) => console.log(id)}
557
+ code: `import { ItemsSimpleGrid } from "negodesign"
558
+
559
+ <ItemsSimpleGrid
560
+ variant={1}
561
+ items={[
562
+ { icon: Coffee03Icon, title: "Coffee", description: "Start your day right" },
563
+ ]}
564
+ onClick={(id) => console.log(id)}
565
565
  />`,
566
566
  href: "/grid/simple",
567
567
  },
@@ -585,13 +585,13 @@ export const components = [
585
585
  examples: [
586
586
  {
587
587
  title: "Panel Grid",
588
- code: `import { ItemsPanel } from "negodesign"
589
-
590
- <ItemsPanel
591
- style="grid"
592
- variant={1}
593
- items={items}
594
- onClick={(id) => console.log(id)}
588
+ code: `import { ItemsPanel } from "negodesign"
589
+
590
+ <ItemsPanel
591
+ style="grid"
592
+ variant={1}
593
+ items={items}
594
+ onClick={(id) => console.log(id)}
595
595
  />`,
596
596
  href: "/grid/panel",
597
597
  },
@@ -617,53 +617,53 @@ export const components = [
617
617
  {
618
618
  title: "Variant 1 — Centered Grid",
619
619
  href: "/modal",
620
- code: `import { ModalGridSelection } from "negodesign"
621
-
622
- let isOpen = $state(false);
623
- let selected = $state(null);
624
-
625
- <ModalGridSelection
626
- bind:isOpen
627
- bind:selectedCard={selected}
628
- title="What will you be using this for?"
629
- subtitle="We'll use this to recommend you our personalized features"
630
- totalSteps={3}
631
- currentStep={1}
632
- cards={[
633
- { title: "Student", description: "You're here to impress your teachers.", icon: "nd-cap-icon" },
634
- { title: "Business", description: "You're here to grow your brand.", icon: "nd-briefcase-icon" },
635
- { title: "Personal", description: "You're here to make anything.", icon: "nd-user-icon" },
636
- ]}
637
- onSelect={(card) => console.log(card)}
638
- onBack={() => console.log("back")}
639
- onContinue={() => console.log("continue")}
620
+ code: `import { ModalGridSelection } from "negodesign"
621
+
622
+ let isOpen = $state(false);
623
+ let selected = $state(null);
624
+
625
+ <ModalGridSelection
626
+ bind:isOpen
627
+ bind:selectedCard={selected}
628
+ title="What will you be using this for?"
629
+ subtitle="We'll use this to recommend you our personalized features"
630
+ totalSteps={3}
631
+ currentStep={1}
632
+ cards={[
633
+ { title: "Student", description: "You're here to impress your teachers.", icon: "nd-cap-icon" },
634
+ { title: "Business", description: "You're here to grow your brand.", icon: "nd-briefcase-icon" },
635
+ { title: "Personal", description: "You're here to make anything.", icon: "nd-user-icon" },
636
+ ]}
637
+ onSelect={(card) => console.log(card)}
638
+ onBack={() => console.log("back")}
639
+ onContinue={() => console.log("continue")}
640
640
  />`,
641
641
  },
642
642
  {
643
643
  title: "Variant 2 — Dark Grid with Categories",
644
- code: `import { ModalGridSelection } from "negodesign"
645
-
646
- let isOpen = $state(false);
647
- let selected = $state(null);
648
-
649
- <ModalGridSelection
650
- variant={2}
651
- bind:isOpen
652
- bind:selectedCard={selected}
653
- title="What are you planning to use this app for?"
654
- categories={[
655
- { label: "Marketing", value: "marketing" },
656
- { label: "Product", value: "product" },
657
- { label: "Engineering", value: "engineering" },
658
- ]}
659
- cards={[
660
- { title: "Work Stuff", description: "Just the usual boring work stuff.", icon: "nd-briefcase-icon" },
661
- { title: "UI/UX Design", description: "Design apps and prototypes.", icon: "nd-palette-icon" },
662
- { title: "Finance", description: "Because I need money.", icon: "nd-money-icon" },
663
- { title: "Productivity", description: "Sometimes we need to be productive.", icon: "nd-clock-icon" },
664
- ]}
665
- onSelect={(card) => console.log(card)}
666
- onContinue={() => console.log("continue")}
644
+ code: `import { ModalGridSelection } from "negodesign"
645
+
646
+ let isOpen = $state(false);
647
+ let selected = $state(null);
648
+
649
+ <ModalGridSelection
650
+ variant={2}
651
+ bind:isOpen
652
+ bind:selectedCard={selected}
653
+ title="What are you planning to use this app for?"
654
+ categories={[
655
+ { label: "Marketing", value: "marketing" },
656
+ { label: "Product", value: "product" },
657
+ { label: "Engineering", value: "engineering" },
658
+ ]}
659
+ cards={[
660
+ { title: "Work Stuff", description: "Just the usual boring work stuff.", icon: "nd-briefcase-icon" },
661
+ { title: "UI/UX Design", description: "Design apps and prototypes.", icon: "nd-palette-icon" },
662
+ { title: "Finance", description: "Because I need money.", icon: "nd-money-icon" },
663
+ { title: "Productivity", description: "Sometimes we need to be productive.", icon: "nd-clock-icon" },
664
+ ]}
665
+ onSelect={(card) => console.log(card)}
666
+ onContinue={() => console.log("continue")}
667
667
  />`,
668
668
  },
669
669
  ],
@@ -698,27 +698,27 @@ let selected = $state(null);
698
698
  {
699
699
  title: "Modal Badge Selection",
700
700
  href: "/modal",
701
- code: `import { ModalBadgeSelection } from "negodesign"
702
-
703
- let isOpen = $state(false);
704
- let selected = $state(null);
705
-
706
- <ModalBadgeSelection
707
- bind:isOpen
708
- bind:selectedBadge={selected}
709
- title="What team are you currently on?"
710
- subtitle="Please select one answer only."
711
- totalSteps={5}
712
- currentStep={2}
713
- badges={[
714
- { label: "Marketing", value: "marketing" },
715
- { label: "Engineering", value: "engineering" },
716
- { label: "Design", value: "design" },
717
- { label: "Operations", value: "operations" },
718
- ]}
719
- onSelect={(badge) => console.log(badge)}
720
- onContinue={() => console.log("continue")}
721
- onSkip={() => console.log("skip")}
701
+ code: `import { ModalBadgeSelection } from "negodesign"
702
+
703
+ let isOpen = $state(false);
704
+ let selected = $state(null);
705
+
706
+ <ModalBadgeSelection
707
+ bind:isOpen
708
+ bind:selectedBadge={selected}
709
+ title="What team are you currently on?"
710
+ subtitle="Please select one answer only."
711
+ totalSteps={5}
712
+ currentStep={2}
713
+ badges={[
714
+ { label: "Marketing", value: "marketing" },
715
+ { label: "Engineering", value: "engineering" },
716
+ { label: "Design", value: "design" },
717
+ { label: "Operations", value: "operations" },
718
+ ]}
719
+ onSelect={(badge) => console.log(badge)}
720
+ onContinue={() => console.log("continue")}
721
+ onSkip={() => console.log("skip")}
722
722
  />`,
723
723
  },
724
724
  ],
@@ -750,44 +750,44 @@ let selected = $state(null);
750
750
  {
751
751
  title: "Modal Share Selection",
752
752
  href: "/modal",
753
- code: `import { ModalShareSelection } from "negodesign"
754
-
755
- let isOpen = $state(false);
756
-
757
- <ModalShareSelection
758
- bind:isOpen
759
- title="Share this design"
760
- linkValue="https://example.com/design/123"
761
- isWhatsapp
762
- isInstagram
763
- isFacebook
764
- isTwitter
765
- isLinkedin
766
- isPinterest
767
- isTumblr
768
- onShare={(network) => console.log(network)}
769
- onCopy={(link) => console.log(link)}
753
+ code: `import { ModalShareSelection } from "negodesign"
754
+
755
+ let isOpen = $state(false);
756
+
757
+ <ModalShareSelection
758
+ bind:isOpen
759
+ title="Share this design"
760
+ linkValue="https://example.com/design/123"
761
+ isWhatsapp
762
+ isInstagram
763
+ isFacebook
764
+ isTwitter
765
+ isLinkedin
766
+ isPinterest
767
+ isTumblr
768
+ onShare={(network) => console.log(network)}
769
+ onCopy={(link) => console.log(link)}
770
770
  />`,
771
771
  },
772
772
  {
773
773
  title: "Modal Share Selection — custom networks",
774
- code: `import { ModalShareSelection } from "negodesign"
775
- import type { ModelSocialShare } from "negodesign"
776
-
777
- let isOpen = $state(false);
778
-
779
- const networks: ModelSocialShare[] = [
780
- { name: "WhatsApp", img: "/img/icons8-whatsapp-48.png", color: "#25D366" },
781
- { name: "Facebook", img: "/img/icons8-facebook-48.png", color: "#1877F2" },
782
- ];
783
-
784
- <ModalShareSelection
785
- bind:isOpen
786
- title="Share this design"
787
- linkValue="https://example.com/design/123"
788
- {networks}
789
- onShare={(network) => console.log(network)}
790
- onCopy={(link) => console.log(link)}
774
+ code: `import { ModalShareSelection } from "negodesign"
775
+ import type { ModelSocialShare } from "negodesign"
776
+
777
+ let isOpen = $state(false);
778
+
779
+ const networks: ModelSocialShare[] = [
780
+ { name: "WhatsApp", img: "/img/icons8-whatsapp-48.png", color: "#25D366" },
781
+ { name: "Facebook", img: "/img/icons8-facebook-48.png", color: "#1877F2" },
782
+ ];
783
+
784
+ <ModalShareSelection
785
+ bind:isOpen
786
+ title="Share this design"
787
+ linkValue="https://example.com/design/123"
788
+ {networks}
789
+ onShare={(network) => console.log(network)}
790
+ onCopy={(link) => console.log(link)}
791
791
  />`,
792
792
  },
793
793
  ],
@@ -824,17 +824,17 @@ const networks: ModelSocialShare[] = [
824
824
  {
825
825
  title: "Modal Notification",
826
826
  href: "/modal",
827
- code: `import { ModalNotification } from "negodesign"
828
-
829
- let isOpen = $state(false);
830
-
831
- <ModalNotification
832
- bind:isOpen
833
- title="Be the first to know when new content is available"
834
- description="Sign up to receive tips and tricks on how to create online designs that make people take action."
835
- placeholder="Your email address"
836
- buttonText="Sign me up"
837
- onSubmit={(email) => console.log(email)}
827
+ code: `import { ModalNotification } from "negodesign"
828
+
829
+ let isOpen = $state(false);
830
+
831
+ <ModalNotification
832
+ bind:isOpen
833
+ title="Be the first to know when new content is available"
834
+ description="Sign up to receive tips and tricks on how to create online designs that make people take action."
835
+ placeholder="Your email address"
836
+ buttonText="Sign me up"
837
+ onSubmit={(email) => console.log(email)}
838
838
  />`,
839
839
  },
840
840
  ],
@@ -862,16 +862,16 @@ let isOpen = $state(false);
862
862
  {
863
863
  title: "Modal Feedback",
864
864
  href: "/modal",
865
- code: `import { ModalFeedback } from "negodesign"
866
-
867
- let isOpen = $state(false);
868
-
869
- <ModalFeedback
870
- bind:isOpen
871
- title="Your Feedback"
872
- icon="🔥"
873
- onSubmit={(content, images) => console.log(content, images)}
874
- onAddImage={() => console.log("add image")}
865
+ code: `import { ModalFeedback } from "negodesign"
866
+
867
+ let isOpen = $state(false);
868
+
869
+ <ModalFeedback
870
+ bind:isOpen
871
+ title="Your Feedback"
872
+ icon="🔥"
873
+ onSubmit={(content, images) => console.log(content, images)}
874
+ onAddImage={() => console.log("add image")}
875
875
  />`,
876
876
  },
877
877
  ],
@@ -902,22 +902,22 @@ let isOpen = $state(false);
902
902
  {
903
903
  title: "Form with multiple input types",
904
904
  href: "/form",
905
- code: `import { Form } from "negodesign"
906
-
907
- <Form
908
- onSubmit={(data) => console.log(data)}
909
- submitText="Save"
910
- inputs={[
911
- { type: "text", name: "name", label: "Full Name", placeholder: "John Doe", required: true },
912
- { type: "email", name: "email", label: "Email", placeholder: "john@example.com", required: true },
913
- { type: "select", name: "role", label: "Role", options: [
914
- { value: "ADMIN", label: "Admin" },
915
- { value: "USER", label: "User" },
916
- ]},
917
- { type: "toggle", name: "active", label: "Active", description: "Enable this account" },
918
- { type: "textarea", name: "bio", label: "Bio", placeholder: "Tell us about yourself", fill: true },
919
- { type: "badges", name: "tags", label: "Tags", placeholder: "Add tags...", suggestions: ["React", "Svelte", "Vue"] },
920
- ]}
905
+ code: `import { Form } from "negodesign"
906
+
907
+ <Form
908
+ onSubmit={(data) => console.log(data)}
909
+ submitText="Save"
910
+ inputs={[
911
+ { type: "text", name: "name", label: "Full Name", placeholder: "John Doe", required: true },
912
+ { type: "email", name: "email", label: "Email", placeholder: "john@example.com", required: true },
913
+ { type: "select", name: "role", label: "Role", options: [
914
+ { value: "ADMIN", label: "Admin" },
915
+ { value: "USER", label: "User" },
916
+ ]},
917
+ { type: "toggle", name: "active", label: "Active", description: "Enable this account" },
918
+ { type: "textarea", name: "bio", label: "Bio", placeholder: "Tell us about yourself", fill: true },
919
+ { type: "badges", name: "tags", label: "Tags", placeholder: "Add tags...", suggestions: ["React", "Svelte", "Vue"] },
920
+ ]}
921
921
  />`,
922
922
  },
923
923
  ],
@@ -943,22 +943,22 @@ let isOpen = $state(false);
943
943
  {
944
944
  title: "Modal Form",
945
945
  href: "/modal",
946
- code: `import { ModalForm } from "negodesign"
947
-
948
- let isOpen = $state(false);
949
-
950
- <ModalForm
951
- bind:isOpen
952
- title="Edit Profile"
953
- subtitle="Update your personal information"
954
- submitText="Save Changes"
955
- inputs={[
956
- { type: "text", name: "name", label: "Name", value: "John Doe", required: true },
957
- { type: "email", name: "email", label: "Email", value: "john@example.com" },
958
- { type: "toggle", name: "newsletter", label: "Newsletter", description: "Receive updates" },
959
- ]}
960
- onSubmit={(data) => console.log(data)}
961
- onCancel={() => console.log("cancelled")}
946
+ code: `import { ModalForm } from "negodesign"
947
+
948
+ let isOpen = $state(false);
949
+
950
+ <ModalForm
951
+ bind:isOpen
952
+ title="Edit Profile"
953
+ subtitle="Update your personal information"
954
+ submitText="Save Changes"
955
+ inputs={[
956
+ { type: "text", name: "name", label: "Name", value: "John Doe", required: true },
957
+ { type: "email", name: "email", label: "Email", value: "john@example.com" },
958
+ { type: "toggle", name: "newsletter", label: "Newsletter", description: "Receive updates" },
959
+ ]}
960
+ onSubmit={(data) => console.log(data)}
961
+ onCancel={() => console.log("cancelled")}
962
962
  />`,
963
963
  },
964
964
  ],
@@ -979,6 +979,46 @@ let isOpen = $state(false);
979
979
  { name: "class", type: "string", description: "Extra container CSS class" },
980
980
  ],
981
981
  },
982
+ {
983
+ slug: "modal-form-email-or-phone",
984
+ name: "ModalFormEmailOrPhone",
985
+ category: "Forms",
986
+ description: "Modal form for sending OTP verification codes via email or phone. Supports pre-set email/phone with mutual selection and disabling, or single combined input.",
987
+ path: "src/lib/components/ui/modal/form/ui/ModalFormEmailOrPhone.svelte",
988
+ importPath: "ModalFormEmailOrPhone",
989
+ examples: [
990
+ {
991
+ title: "Modal Form Email or Phone",
992
+ href: "/modal",
993
+ code: `import { ModalFormEmailOrPhone } from "negodesign"
994
+
995
+ let isOpen = $state(false);
996
+
997
+ <ModalFormEmailOrPhone
998
+ bind:isOpen
999
+ email="user@example.com"
1000
+ phone="+244 923 456 789"
1001
+ onSubmit={(data) => console.log(data)}
1002
+ />`,
1003
+ },
1004
+ ],
1005
+ props: [
1006
+ { name: "title", type: "string", description: "Modal title" },
1007
+ { name: "subtitle", type: "string", description: "Modal subtitle" },
1008
+ { name: "email", type: "string", description: "Pre-set email address" },
1009
+ { name: "phone", type: "string", description: "Pre-set phone number" },
1010
+ { name: "isOpen", type: "boolean", description: "Controls modal visibility (bindable)" },
1011
+ { name: "submitText", type: "string", description: "Submit button text" },
1012
+ { name: "submitLoadingText", type: "string", description: "Loading state button text", default: "A enviar..." },
1013
+ { name: "cancelText", type: "string", description: "Cancel button text", default: "Cancelar" },
1014
+ { name: "isLoading", type: "boolean", description: "Loading state", default: "false" },
1015
+ { name: "showCancel", type: "boolean", description: "Shows the cancel button", default: "true" },
1016
+ { name: "onSubmit", type: "(data: ModalFormEmailOrPhoneSubmitData) => void", description: "Called when form is submitted" },
1017
+ { name: "onCancel", type: "() => void", description: "Called when Cancel is clicked" },
1018
+ { name: "onClose", type: "() => void", description: "Called when modal is closed" },
1019
+ { name: "class", type: "string", description: "Extra container CSS class" },
1020
+ ],
1021
+ },
982
1022
  {
983
1023
  slug: "modal-upload",
984
1024
  name: "ModalUpload",
@@ -990,21 +1030,21 @@ let isOpen = $state(false);
990
1030
  {
991
1031
  title: "Modal Upload",
992
1032
  href: "/modal",
993
- code: `import { ModalUpload } from "negodesign"
994
- import type { UploadFile } from "negodesign"
995
-
996
- let isOpen = $state(false);
997
- let files = $state<UploadFile[]>([]);
998
-
999
- <ModalUpload
1000
- bind:isOpen
1001
- bind:files
1002
- acceptedFormats="csv, xlsx, xls"
1003
- multiple
1004
- onFilesSelected={(f) => console.log("selected", f)}
1005
- onUpload={(f) => console.log("upload", f)}
1006
- onRemoveFile={(id) => console.log("remove", id)}
1007
- onDownload={() => console.log("download sample")}
1033
+ code: `import { ModalUpload } from "negodesign"
1034
+ import type { UploadFile } from "negodesign"
1035
+
1036
+ let isOpen = $state(false);
1037
+ let files = $state<UploadFile[]>([]);
1038
+
1039
+ <ModalUpload
1040
+ bind:isOpen
1041
+ bind:files
1042
+ acceptedFormats="csv, xlsx, xls"
1043
+ multiple
1044
+ onFilesSelected={(f) => console.log("selected", f)}
1045
+ onUpload={(f) => console.log("upload", f)}
1046
+ onRemoveFile={(id) => console.log("remove", id)}
1047
+ onDownload={() => console.log("download sample")}
1008
1048
  />`,
1009
1049
  },
1010
1050
  ],
@@ -1037,25 +1077,25 @@ let files = $state<UploadFile[]>([]);
1037
1077
  examples: [
1038
1078
  {
1039
1079
  title: "Modal Core",
1040
- code: `import { ModalCore } from "negodesign"
1041
-
1042
- let isOpen = $state(false);
1043
-
1044
- <ModalCore
1045
- bind:isOpen
1046
- title="Custom Modal"
1047
- subtitle="With custom content"
1048
- totalSteps={3}
1049
- currentStep={1}
1050
- showProgress
1051
- showBack
1052
- showSkip
1053
- onContinue={() => console.log("continue")}
1054
- onSkip={() => console.log("skip")}
1055
- >
1056
- {#snippet content()}
1057
- <p>Your custom content here</p>
1058
- {/snippet}
1080
+ code: `import { ModalCore } from "negodesign"
1081
+
1082
+ let isOpen = $state(false);
1083
+
1084
+ <ModalCore
1085
+ bind:isOpen
1086
+ title="Custom Modal"
1087
+ subtitle="With custom content"
1088
+ totalSteps={3}
1089
+ currentStep={1}
1090
+ showProgress
1091
+ showBack
1092
+ showSkip
1093
+ onContinue={() => console.log("continue")}
1094
+ onSkip={() => console.log("skip")}
1095
+ >
1096
+ {#snippet content()}
1097
+ <p>Your custom content here</p>
1098
+ {/snippet}
1059
1099
  </ModalCore>`,
1060
1100
  },
1061
1101
  ],
@@ -1091,18 +1131,18 @@ let isOpen = $state(false);
1091
1131
  {
1092
1132
  title: "Modal Map",
1093
1133
  href: "/modal",
1094
- code: `import { ModalMap } from "negodesign"
1095
-
1096
- let isOpen = $state(false);
1097
-
1098
- <ModalMap
1099
- bind:isOpen
1100
- title="Location"
1101
- address="211 Throop Ave Brooklyn, New York City"
1102
- description="New York is served by three airports."
1103
- onSearch={(q) => console.log(q)}
1104
- onApply={(addr, desc) => console.log(addr, desc)}
1105
- onCancel={() => console.log("cancel")}
1134
+ code: `import { ModalMap } from "negodesign"
1135
+
1136
+ let isOpen = $state(false);
1137
+
1138
+ <ModalMap
1139
+ bind:isOpen
1140
+ title="Location"
1141
+ address="211 Throop Ave Brooklyn, New York City"
1142
+ description="New York is served by three airports."
1143
+ onSearch={(q) => console.log(q)}
1144
+ onApply={(addr, desc) => console.log(addr, desc)}
1145
+ onCancel={() => console.log("cancel")}
1106
1146
  />`,
1107
1147
  },
1108
1148
  ],
@@ -1140,17 +1180,17 @@ let isOpen = $state(false);
1140
1180
  examples: [
1141
1181
  {
1142
1182
  title: "Footer",
1143
- code: `import { Footer } from "negodesign"
1144
-
1145
- <Footer
1146
- isNewsletter={true}
1147
- items={[
1148
- { title: "Solutions", items: [{ text: "Marketing" }] },
1149
- ]}
1150
- socialsMedia={[
1151
- { icon: "facebook", text: "Facebook", href: "#" },
1152
- ]}
1153
- companyName="Negoturismo"
1183
+ code: `import { Footer } from "negodesign"
1184
+
1185
+ <Footer
1186
+ isNewsletter={true}
1187
+ items={[
1188
+ { title: "Solutions", items: [{ text: "Marketing" }] },
1189
+ ]}
1190
+ socialsMedia={[
1191
+ { icon: "facebook", text: "Facebook", href: "#" },
1192
+ ]}
1193
+ companyName="Negoturismo"
1154
1194
  />`,
1155
1195
  href: "/footer",
1156
1196
  },
@@ -1177,15 +1217,15 @@ let isOpen = $state(false);
1177
1217
  examples: [
1178
1218
  {
1179
1219
  title: "Admin Panel",
1180
- code: `import { AdminPanel } from "negodesign"
1181
-
1182
- <AdminPanel>
1183
- {#snippet appsidebar()}
1184
- <MenuBarSidebar {user} {menus} {menusButtons} />
1185
- {/snippet}
1186
- {#snippet content()}
1187
- <AdminContent>...content...</AdminContent>
1188
- {/snippet}
1220
+ code: `import { AdminPanel } from "negodesign"
1221
+
1222
+ <AdminPanel>
1223
+ {#snippet appsidebar()}
1224
+ <MenuBarSidebar {user} {menus} {menusButtons} />
1225
+ {/snippet}
1226
+ {#snippet content()}
1227
+ <AdminContent>...content...</AdminContent>
1228
+ {/snippet}
1189
1229
  </AdminPanel>`,
1190
1230
  href: "/admin/01",
1191
1231
  },
@@ -1206,13 +1246,13 @@ let isOpen = $state(false);
1206
1246
  examples: [
1207
1247
  {
1208
1248
  title: "Data Table",
1209
- code: `import { DataTableCore } from "negodesign"
1210
-
1211
- <DataTableCore
1212
- items={rows}
1213
- config={columns}
1214
- columnFilter="name"
1215
- actions={RowActions}
1249
+ code: `import { DataTableCore } from "negodesign"
1250
+
1251
+ <DataTableCore
1252
+ items={rows}
1253
+ config={columns}
1254
+ columnFilter="name"
1255
+ actions={RowActions}
1216
1256
  />`,
1217
1257
  href: "/datatable/01",
1218
1258
  },
@@ -1234,12 +1274,12 @@ let isOpen = $state(false);
1234
1274
  examples: [
1235
1275
  {
1236
1276
  title: "Sidebar",
1237
- code: `import { MenuBarSidebar } from "negodesign"
1238
-
1239
- <MenuBarSidebar
1240
- {menus}
1241
- {user}
1242
- {menusButtons}
1277
+ code: `import { MenuBarSidebar } from "negodesign"
1278
+
1279
+ <MenuBarSidebar
1280
+ {menus}
1281
+ {user}
1282
+ {menusButtons}
1243
1283
  />`,
1244
1284
  },
1245
1285
  ],
@@ -1262,15 +1302,15 @@ let isOpen = $state(false);
1262
1302
  examples: [
1263
1303
  {
1264
1304
  title: "Login Page",
1265
- code: `import { PageLogin } from "negodesign"
1266
-
1267
- <PageLogin
1268
- title="Negodesign"
1269
- formType="EMAIL_PASSWORD"
1270
- carousel={[
1271
- { title: "Welcome", description: "Access your account", buttonText: "Sign in" },
1272
- ]}
1273
- onSubmit={(credential) => console.log(credential)}
1305
+ code: `import { PageLogin } from "negodesign"
1306
+
1307
+ <PageLogin
1308
+ title="Negodesign"
1309
+ formType="EMAIL_PASSWORD"
1310
+ carousel={[
1311
+ { title: "Welcome", description: "Access your account", buttonText: "Sign in" },
1312
+ ]}
1313
+ onSubmit={(credential) => console.log(credential)}
1274
1314
  />`,
1275
1315
  href: "/login/admin/01",
1276
1316
  },
@@ -1297,36 +1337,36 @@ let isOpen = $state(false);
1297
1337
  examples: [
1298
1338
  {
1299
1339
  title: "Register Page — All Fields",
1300
- code: `import { PageRegister } from "negodesign"
1301
-
1302
- <PageRegister
1303
- title="Negodesign"
1304
- fields={{
1305
- isName: true,
1306
- isEmail: true,
1307
- isPassword: true,
1308
- isConfirmPassword: true,
1309
- isBirthday: true,
1310
- isGender: true,
1311
- isPhone: true,
1312
- }}
1313
- onSubmit={(data) => console.log(data)}
1340
+ code: `import { PageRegister } from "negodesign"
1341
+
1342
+ <PageRegister
1343
+ title="Negodesign"
1344
+ fields={{
1345
+ isName: true,
1346
+ isEmail: true,
1347
+ isPassword: true,
1348
+ isConfirmPassword: true,
1349
+ isBirthday: true,
1350
+ isGender: true,
1351
+ isPhone: true,
1352
+ }}
1353
+ onSubmit={(data) => console.log(data)}
1314
1354
  />`,
1315
1355
  href: "/register/admin/01",
1316
1356
  },
1317
1357
  {
1318
1358
  title: "Register Page — Minimal (email + password)",
1319
- code: `import { PageRegister } from "negodesign"
1320
-
1321
- <PageRegister
1322
- variant={2}
1323
- title="Negodesign"
1324
- fields={{
1325
- isEmail: true,
1326
- isPassword: true,
1327
- isConfirmPassword: true,
1328
- }}
1329
- onSubmit={(data) => console.log(data)}
1359
+ code: `import { PageRegister } from "negodesign"
1360
+
1361
+ <PageRegister
1362
+ variant={2}
1363
+ title="Negodesign"
1364
+ fields={{
1365
+ isEmail: true,
1366
+ isPassword: true,
1367
+ isConfirmPassword: true,
1368
+ }}
1369
+ onSubmit={(data) => console.log(data)}
1330
1370
  />`,
1331
1371
  },
1332
1372
  ],
@@ -1354,13 +1394,13 @@ let isOpen = $state(false);
1354
1394
  examples: [
1355
1395
  {
1356
1396
  title: "Company Profile",
1357
- code: `import { CompanyProfile } from "negodesign"
1358
-
1359
- <CompanyProfile
1360
- data={data}
1361
- isLoading={false}
1362
- onWhatsapp={(id) => console.log(id)}
1363
- onEmail={(id) => console.log(id)}
1397
+ code: `import { CompanyProfile } from "negodesign"
1398
+
1399
+ <CompanyProfile
1400
+ data={data}
1401
+ isLoading={false}
1402
+ onWhatsapp={(id) => console.log(id)}
1403
+ onEmail={(id) => console.log(id)}
1364
1404
  />`,
1365
1405
  href: "/company-profile",
1366
1406
  },
@@ -1384,14 +1424,14 @@ let isOpen = $state(false);
1384
1424
  examples: [
1385
1425
  {
1386
1426
  title: "Privacy Policy",
1387
- code: `import { PrivacyPolicyOrTermsOfUse } from "negodesign"
1388
-
1389
- <PrivacyPolicyOrTermsOfUse
1390
- variant={1}
1391
- title="Privacy Policy"
1392
- lastUpdated="August 15, 2026"
1393
- breadcrumb={[{ label: "Home", href: "/" }]}
1394
- sections={[{ id: "intro", title: "Introduction", blocks: [] }]}
1427
+ code: `import { PrivacyPolicyOrTermsOfUse } from "negodesign"
1428
+
1429
+ <PrivacyPolicyOrTermsOfUse
1430
+ variant={1}
1431
+ title="Privacy Policy"
1432
+ lastUpdated="August 15, 2026"
1433
+ breadcrumb={[{ label: "Home", href: "/" }]}
1434
+ sections={[{ id: "intro", title: "Introduction", blocks: [] }]}
1395
1435
  />`,
1396
1436
  href: "/privacy-policy-or-terms-of-use",
1397
1437
  },
@@ -1416,15 +1456,15 @@ let isOpen = $state(false);
1416
1456
  examples: [
1417
1457
  {
1418
1458
  title: "Product Details",
1419
- code: `import { ProductDetails } from "negodesign"
1420
-
1421
- <ProductDetails
1422
- varient={1}
1423
- data={productData}
1424
- isLoading={false}
1425
- onBuy={(id) => alert("Buy " + id)}
1426
- onFavorite={(id) => alert("Favorite " + id)}
1427
- onCart={(id) => alert("Cart " + id)}
1459
+ code: `import { ProductDetails } from "negodesign"
1460
+
1461
+ <ProductDetails
1462
+ varient={1}
1463
+ data={productData}
1464
+ isLoading={false}
1465
+ onBuy={(id) => alert("Buy " + id)}
1466
+ onFavorite={(id) => alert("Favorite " + id)}
1467
+ onCart={(id) => alert("Cart " + id)}
1428
1468
  />`,
1429
1469
  href: "/product-details/01",
1430
1470
  },
@@ -1450,15 +1490,15 @@ let isOpen = $state(false);
1450
1490
  examples: [
1451
1491
  {
1452
1492
  title: "User Profile",
1453
- code: `import { ProfileUser } from "negodesign"
1454
-
1455
- <ProfileUser
1456
- varient={1}
1457
- data={userData}
1458
- isLoading={false}
1459
- onLoginAsUser={(id) => alert(id)}
1460
- onAddAddress={() => alert("Add")}
1461
- onChangePassword={(p) => alert(JSON.stringify(p))}
1493
+ code: `import { ProfileUser } from "negodesign"
1494
+
1495
+ <ProfileUser
1496
+ varient={1}
1497
+ data={userData}
1498
+ isLoading={false}
1499
+ onLoginAsUser={(id) => alert(id)}
1500
+ onAddAddress={() => alert("Add")}
1501
+ onChangePassword={(p) => alert(JSON.stringify(p))}
1462
1502
  />`,
1463
1503
  href: "/profile-user/01",
1464
1504
  },
@@ -1486,17 +1526,17 @@ let isOpen = $state(false);
1486
1526
  {
1487
1527
  title: "Tab Underline",
1488
1528
  href: "/tab",
1489
- code: `import { TabUnderline } from "negodesign"
1490
-
1491
- <TabUnderline
1492
- items={[
1493
- { label: "Tab 1", value: "tab1" },
1494
- { label: "Tab 2", value: "tab2" },
1495
- ]}
1496
- contents={{
1497
- tab1: () => <p>Content 1</p>,
1498
- tab2: () => <p>Content 2</p>,
1499
- }}
1529
+ code: `import { TabUnderline } from "negodesign"
1530
+
1531
+ <TabUnderline
1532
+ items={[
1533
+ { label: "Tab 1", value: "tab1" },
1534
+ { label: "Tab 2", value: "tab2" },
1535
+ ]}
1536
+ contents={{
1537
+ tab1: () => <p>Content 1</p>,
1538
+ tab2: () => <p>Content 2</p>,
1539
+ }}
1500
1540
  />`,
1501
1541
  },
1502
1542
  ],
@@ -1516,14 +1556,14 @@ let isOpen = $state(false);
1516
1556
  examples: [
1517
1557
  {
1518
1558
  title: "Empty State",
1519
- code: `import { NotFoundEmpty } from "negodesign"
1520
-
1521
- <NotFoundEmpty
1522
- title="No results found"
1523
- description="Try adjusting your search or filter to find what you're looking for."
1524
- showAction
1525
- actionLabel="Clear filters"
1526
- onAction={() => console.log("clear")}
1559
+ code: `import { NotFoundEmpty } from "negodesign"
1560
+
1561
+ <NotFoundEmpty
1562
+ title="No results found"
1563
+ description="Try adjusting your search or filter to find what you're looking for."
1564
+ showAction
1565
+ actionLabel="Clear filters"
1566
+ onAction={() => console.log("clear")}
1527
1567
  />`,
1528
1568
  },
1529
1569
  ],
@@ -1548,11 +1588,11 @@ let isOpen = $state(false);
1548
1588
  examples: [
1549
1589
  {
1550
1590
  title: "Admin Content",
1551
- code: `import { AdminContent } from "negodesign"
1552
-
1553
- <AdminContent>
1554
- <h1>Dashboard</h1>
1555
- <p>Content goes here</p>
1591
+ code: `import { AdminContent } from "negodesign"
1592
+
1593
+ <AdminContent>
1594
+ <h1>Dashboard</h1>
1595
+ <p>Content goes here</p>
1556
1596
  </AdminContent>`,
1557
1597
  },
1558
1598
  ],
@@ -1570,12 +1610,12 @@ let isOpen = $state(false);
1570
1610
  examples: [
1571
1611
  {
1572
1612
  title: "Input Email",
1573
- code: `import { InputEmail } from "negodesign"
1574
-
1575
- <InputEmail
1576
- label="Email"
1577
- placeholder="john@example.com"
1578
- bind:value={email}
1613
+ code: `import { InputEmail } from "negodesign"
1614
+
1615
+ <InputEmail
1616
+ label="Email"
1617
+ placeholder="john@example.com"
1618
+ bind:value={email}
1579
1619
  />`,
1580
1620
  },
1581
1621
  ],
@@ -1595,12 +1635,12 @@ let isOpen = $state(false);
1595
1635
  examples: [
1596
1636
  {
1597
1637
  title: "Input Phone",
1598
- code: `import { InputPhone } from "negodesign"
1599
-
1600
- <InputPhone
1601
- label="Phone"
1602
- placeholder="+1 234 567 890"
1603
- bind:value={phone}
1638
+ code: `import { InputPhone } from "negodesign"
1639
+
1640
+ <InputPhone
1641
+ label="Phone"
1642
+ placeholder="+1 234 567 890"
1643
+ bind:value={phone}
1604
1644
  />`,
1605
1645
  },
1606
1646
  ],
@@ -1620,12 +1660,12 @@ let isOpen = $state(false);
1620
1660
  examples: [
1621
1661
  {
1622
1662
  title: "Input Password",
1623
- code: `import { InputPassword } from "negodesign"
1624
-
1625
- <InputPassword
1626
- label="Password"
1627
- placeholder="Enter your password"
1628
- bind:value={password}
1663
+ code: `import { InputPassword } from "negodesign"
1664
+
1665
+ <InputPassword
1666
+ label="Password"
1667
+ placeholder="Enter your password"
1668
+ bind:value={password}
1629
1669
  />`,
1630
1670
  },
1631
1671
  ],
@@ -1645,12 +1685,12 @@ let isOpen = $state(false);
1645
1685
  examples: [
1646
1686
  {
1647
1687
  title: "Input Username",
1648
- code: `import { InputUsername } from "negodesign"
1649
-
1650
- <InputUsername
1651
- label="Username"
1652
- placeholder="john_doe"
1653
- bind:value={username}
1688
+ code: `import { InputUsername } from "negodesign"
1689
+
1690
+ <InputUsername
1691
+ label="Username"
1692
+ placeholder="john_doe"
1693
+ bind:value={username}
1654
1694
  />`,
1655
1695
  },
1656
1696
  ],
@@ -1671,16 +1711,16 @@ let isOpen = $state(false);
1671
1711
  {
1672
1712
  title: "Input Calendar",
1673
1713
  href: "/input-calendar",
1674
- code: `import { InputCalendar } from "negodesign"
1675
-
1676
- <script lang="ts">
1677
- let birthDate = $state("");
1678
- </script>
1679
-
1680
- <InputCalendar
1681
- label="Birth date"
1682
- placeholder="dd/mm/yyyy"
1683
- bind:value={birthDate}
1714
+ code: `import { InputCalendar } from "negodesign"
1715
+
1716
+ <script lang="ts">
1717
+ let birthDate = $state("");
1718
+ </script>
1719
+
1720
+ <InputCalendar
1721
+ label="Birth date"
1722
+ placeholder="dd/mm/yyyy"
1723
+ bind:value={birthDate}
1684
1724
  />`,
1685
1725
  },
1686
1726
  ],
@@ -1709,17 +1749,17 @@ let isOpen = $state(false);
1709
1749
  {
1710
1750
  title: "Input Calendar Interval",
1711
1751
  href: "/input-calendar-interval",
1712
- code: `import { InputCalendarInterval } from "negodesign"
1713
-
1714
- <script lang="ts">
1715
- let startDate = $state("");
1716
- let endDate = $state("");
1717
- </script>
1718
-
1719
- <InputCalendarInterval
1720
- label="Travel period"
1721
- bind:startValue={startDate}
1722
- bind:endValue={endDate}
1752
+ code: `import { InputCalendarInterval } from "negodesign"
1753
+
1754
+ <script lang="ts">
1755
+ let startDate = $state("");
1756
+ let endDate = $state("");
1757
+ </script>
1758
+
1759
+ <InputCalendarInterval
1760
+ label="Travel period"
1761
+ bind:startValue={startDate}
1762
+ bind:endValue={endDate}
1723
1763
  />`,
1724
1764
  },
1725
1765
  ],
@@ -1745,11 +1785,11 @@ let isOpen = $state(false);
1745
1785
  examples: [
1746
1786
  {
1747
1787
  title: "Forget Password Page",
1748
- code: `import { PageForgetPassword } from "negodesign"
1749
-
1750
- <PageForgetPassword
1751
- title="Negodesign"
1752
- onSubmit={(data) => console.log(data)}
1788
+ code: `import { PageForgetPassword } from "negodesign"
1789
+
1790
+ <PageForgetPassword
1791
+ title="Negodesign"
1792
+ onSubmit={(data) => console.log(data)}
1753
1793
  />`,
1754
1794
  href: "/login/forget-password/01",
1755
1795
  },
@@ -1770,10 +1810,10 @@ let isOpen = $state(false);
1770
1810
  examples: [
1771
1811
  {
1772
1812
  title: "Reset Password Page",
1773
- code: `import { PageResetPassword } from "negodesign"
1774
-
1775
- <PageResetPassword
1776
- onSubmit={(data) => console.log(data)}
1813
+ code: `import { PageResetPassword } from "negodesign"
1814
+
1815
+ <PageResetPassword
1816
+ onSubmit={(data) => console.log(data)}
1777
1817
  />`,
1778
1818
  href: "/login/reset-password/01",
1779
1819
  },
@@ -1792,10 +1832,10 @@ let isOpen = $state(false);
1792
1832
  examples: [
1793
1833
  {
1794
1834
  title: "OTP Verification Page",
1795
- code: `import { PageOtpVerification } from "negodesign"
1796
-
1797
- <PageOtpVerification
1798
- onSubmit={(data) => console.log(data)}
1835
+ code: `import { PageOtpVerification } from "negodesign"
1836
+
1837
+ <PageOtpVerification
1838
+ onSubmit={(data) => console.log(data)}
1799
1839
  />`,
1800
1840
  href: "/login/otp/01",
1801
1841
  },
@@ -1815,26 +1855,26 @@ let isOpen = $state(false);
1815
1855
  examples: [
1816
1856
  {
1817
1857
  title: "Tailored Logistics Cards",
1818
- code: `import { Section01 } from "negodesign"
1819
- import {
1820
- ShoppingBag01Icon,
1821
- FactoryIcon,
1822
- Stethoscope02Icon,
1823
- ComputerNetworkIcon,
1824
- } from "@hugeicons/core-free-icons";
1825
-
1826
- <Section01
1827
- title="Tailored Logistics for Every Business"
1828
- description="At /XION, we understand that every industry has unique logistics challenges."
1829
- items={[
1830
- { id: "1", icon: ShoppingBag01Icon, title: "Retail & E-commerce", description: "Streamline your fulfillment process." },
1831
- { id: "2", icon: FactoryIcon, title: "Manufacturing", description: "Optimize your supply chain.", isActive: true },
1832
- { id: "3", icon: Stethoscope02Icon, title: "Healthcare & Pharmacy", description: "Ensure the safe delivery of products." },
1833
- { id: "4", icon: ComputerNetworkIcon, title: "Technology & Electronics", description: "Handle high-value, sensitive products." },
1834
- ]}
1835
- onSelect={(id) => console.log(id)}
1836
- onPrev={() => console.log("prev")}
1837
- onNext={() => console.log("next")}
1858
+ code: `import { Section01 } from "negodesign"
1859
+ import {
1860
+ ShoppingBag01Icon,
1861
+ FactoryIcon,
1862
+ Stethoscope02Icon,
1863
+ ComputerNetworkIcon,
1864
+ } from "@hugeicons/core-free-icons";
1865
+
1866
+ <Section01
1867
+ title="Tailored Logistics for Every Business"
1868
+ description="At /XION, we understand that every industry has unique logistics challenges."
1869
+ items={[
1870
+ { id: "1", icon: ShoppingBag01Icon, title: "Retail & E-commerce", description: "Streamline your fulfillment process." },
1871
+ { id: "2", icon: FactoryIcon, title: "Manufacturing", description: "Optimize your supply chain.", isActive: true },
1872
+ { id: "3", icon: Stethoscope02Icon, title: "Healthcare & Pharmacy", description: "Ensure the safe delivery of products." },
1873
+ { id: "4", icon: ComputerNetworkIcon, title: "Technology & Electronics", description: "Handle high-value, sensitive products." },
1874
+ ]}
1875
+ onSelect={(id) => console.log(id)}
1876
+ onPrev={() => console.log("prev")}
1877
+ onNext={() => console.log("next")}
1838
1878
  />`,
1839
1879
  href: "/section/01",
1840
1880
  },
@@ -1862,19 +1902,19 @@ import {
1862
1902
  examples: [
1863
1903
  {
1864
1904
  title: "Innovation Features Section",
1865
- code: `import { Section02 } from "negodesign"
1866
-
1867
- <Section02
1868
- title="Innovation that Moves Your Business"
1869
- description="We leverage the latest technology to improve the way we manage your shipments."
1870
- image="/images/container.jpg"
1871
- imageAlt="Shipping container"
1872
- features={[
1873
- { title: "Real-Time Tracking", description: "Stay up-to-date with your shipments from pick-up to delivery.", link: "/tracking", linkLabel: "Learn More" },
1874
- { title: "Data Analytics", description: "Gain insights into your supply chain.", link: "/analytics" },
1875
- { title: "Automated Updates", description: "Receive timely notifications about your shipments.", link: "/updates" },
1876
- { title: "Secure Portal", description: "Access your account anytime with our secure online portal.", link: "/portal" },
1877
- ]}
1905
+ code: `import { Section02 } from "negodesign"
1906
+
1907
+ <Section02
1908
+ title="Innovation that Moves Your Business"
1909
+ description="We leverage the latest technology to improve the way we manage your shipments."
1910
+ image="/images/container.jpg"
1911
+ imageAlt="Shipping container"
1912
+ features={[
1913
+ { title: "Real-Time Tracking", description: "Stay up-to-date with your shipments from pick-up to delivery.", link: "/tracking", linkLabel: "Learn More" },
1914
+ { title: "Data Analytics", description: "Gain insights into your supply chain.", link: "/analytics" },
1915
+ { title: "Automated Updates", description: "Receive timely notifications about your shipments.", link: "/updates" },
1916
+ { title: "Secure Portal", description: "Access your account anytime with our secure online portal.", link: "/portal" },
1917
+ ]}
1878
1918
  />`,
1879
1919
  href: "/section/02",
1880
1920
  },
@@ -1901,23 +1941,23 @@ import {
1901
1941
  examples: [
1902
1942
  {
1903
1943
  title: "Solutions Section",
1904
- code: `import { Section03 } from "negodesign"
1905
- import {
1906
- Globe01Icon,
1907
- CustomServiceIcon,
1908
- ArtificialIntelligence02Icon,
1909
- Award01Icon,
1910
- } from "@hugeicons/core-free-icons";
1911
-
1912
- <Section03
1913
- title="We specialize in providing reliable and efficient solutions"
1914
- description="Whether you need to streamline your supply chain, improve delivery times, or expand your reach globally, we're here to help you achieve your goals with precision and speed."
1915
- items={[
1916
- { id: "1", icon: Globe01Icon, title: "Global Reach", description: "With a network, we ensure that your business can reach new markets effortlessly." },
1917
- { id: "2", icon: CustomServiceIcon, title: "Custom Solutions", description: "We don't believe in a one-size-fits-all. We design logistics solutions tailored to your business needs." },
1918
- { id: "3", icon: ArtificialIntelligence02Icon, title: "Technology-Driven", description: "Our cutting-edge technology enables real-time tracking, data analytics, and seamless coordination." },
1919
- { id: "4", icon: Award01Icon, title: "Proven Expertise", description: "With over 10 years in the logistics industry, we have mastered the art of moving goods efficiently." },
1920
- ]}
1944
+ code: `import { Section03 } from "negodesign"
1945
+ import {
1946
+ Globe01Icon,
1947
+ CustomServiceIcon,
1948
+ ArtificialIntelligence02Icon,
1949
+ Award01Icon,
1950
+ } from "@hugeicons/core-free-icons";
1951
+
1952
+ <Section03
1953
+ title="We specialize in providing reliable and efficient solutions"
1954
+ description="Whether you need to streamline your supply chain, improve delivery times, or expand your reach globally, we're here to help you achieve your goals with precision and speed."
1955
+ items={[
1956
+ { id: "1", icon: Globe01Icon, title: "Global Reach", description: "With a network, we ensure that your business can reach new markets effortlessly." },
1957
+ { id: "2", icon: CustomServiceIcon, title: "Custom Solutions", description: "We don't believe in a one-size-fits-all. We design logistics solutions tailored to your business needs." },
1958
+ { id: "3", icon: ArtificialIntelligence02Icon, title: "Technology-Driven", description: "Our cutting-edge technology enables real-time tracking, data analytics, and seamless coordination." },
1959
+ { id: "4", icon: Award01Icon, title: "Proven Expertise", description: "With over 10 years in the logistics industry, we have mastered the art of moving goods efficiently." },
1960
+ ]}
1921
1961
  />`,
1922
1962
  href: "/section/03",
1923
1963
  },