@nobak/design-system 1.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 (304) hide show
  1. package/LICENSE +73 -0
  2. package/README.md +142 -0
  3. package/lib/assets/icons.js +67 -0
  4. package/lib/components/AccountOverview/AccountOverview.js +122 -0
  5. package/lib/components/AdminPanel.js +58 -0
  6. package/lib/components/AssetExchange/AssetExchange.js +189 -0
  7. package/lib/components/AuthenticationFlow.js +216 -0
  8. package/lib/components/ConversationInterface/ConversationInterface.js +232 -0
  9. package/lib/components/DevFooter.js +38 -0
  10. package/lib/components/DevMenu.js +35 -0
  11. package/lib/components/DevSidebar.js +28 -0
  12. package/lib/components/DigitalDisplay.js +83 -0
  13. package/lib/components/Footer.js +45 -0
  14. package/lib/components/HeroContainer.js +10 -0
  15. package/lib/components/IntentRecognition/IntentRecognition.js +174 -0
  16. package/lib/components/Logo.js +259 -0
  17. package/lib/components/MenuBar.js +56 -0
  18. package/lib/components/NetworkSettings.js +223 -0
  19. package/lib/components/RecoverySetup/RecoverySetup.js +354 -0
  20. package/lib/components/RisingSun.js +122 -0
  21. package/lib/components/Symbol.js +226 -0
  22. package/lib/components/TransactionComposer/TransactionComposer.js +258 -0
  23. package/lib/components/TransactionConfirmation.js +184 -0
  24. package/lib/components/WalletMenu.js +33 -0
  25. package/lib/components/console/code/CodeBlock.js +150 -0
  26. package/lib/components/console/code/index.js +9 -0
  27. package/lib/components/console/data/DataTable.js +245 -0
  28. package/lib/components/console/data/MetricCard.js +79 -0
  29. package/lib/components/console/data/index.js +11 -0
  30. package/lib/components/console/documentation/index.js +10 -0
  31. package/lib/components/console/forms/APIKeyGenerator.js +261 -0
  32. package/lib/components/console/forms/SearchBar.js +210 -0
  33. package/lib/components/console/forms/index.js +10 -0
  34. package/lib/components/console/index.js +29 -0
  35. package/lib/components/console/layout/ConsoleCard.js +82 -0
  36. package/lib/components/console/layout/ConsoleLayout.js +86 -0
  37. package/lib/components/console/layout/index.js +10 -0
  38. package/lib/components/console/monitoring/StatusIndicator.js +128 -0
  39. package/lib/components/console/monitoring/index.js +9 -0
  40. package/lib/components/console/navigation/DevFooter.js +38 -0
  41. package/lib/components/console/navigation/DevMenu.js +35 -0
  42. package/lib/components/console/navigation/DevSidebar.js +28 -0
  43. package/lib/components/console/navigation/index.js +11 -0
  44. package/lib/components/console/settings/index.js +10 -0
  45. package/lib/components/index.js +12 -0
  46. package/lib/design/ColorPicker.stories.js +9 -0
  47. package/lib/design/HSLTool-V1.js +345 -0
  48. package/lib/design/HSLTool-V2.js +475 -0
  49. package/lib/design/HSLTool-V3.js +543 -0
  50. package/lib/design/HSLTool-V4.js +1139 -0
  51. package/lib/design/HSLTool.js +374 -0
  52. package/lib/design/OKLCHColorPicker.stories.js +24 -0
  53. package/lib/design/OKLCHTool.js +1014 -0
  54. package/lib/index.js +4 -0
  55. package/lib/shared/components/Avatar/Avatar.js +18 -0
  56. package/lib/shared/components/Avatar/index.js +1 -0
  57. package/lib/shared/components/Badge/Badge.js +34 -0
  58. package/lib/shared/components/Badge/index.js +1 -0
  59. package/lib/shared/components/Breadcrumb/Breadcrumb.js +13 -0
  60. package/lib/shared/components/Breadcrumb/index.js +1 -0
  61. package/lib/shared/components/Button/Button.js +184 -0
  62. package/lib/shared/components/Button/index.js +1 -0
  63. package/lib/shared/components/Calendar/Calendar.js +155 -0
  64. package/lib/shared/components/Calendar/CalendarDay.js +251 -0
  65. package/lib/shared/components/Calendar/CalendarHeader.js +88 -0
  66. package/lib/shared/components/Calendar/CalendarMonth.js +106 -0
  67. package/lib/shared/components/Calendar/CalendarWeek.js +267 -0
  68. package/lib/shared/components/Calendar/constants.js +73 -0
  69. package/lib/shared/components/Calendar/index.js +3 -0
  70. package/lib/shared/components/Calendar/types.d.js +0 -0
  71. package/lib/shared/components/Cartel/Cartel.js +44 -0
  72. package/lib/shared/components/Cartel/index.js +1 -0
  73. package/lib/shared/components/Cell/Cell.js +105 -0
  74. package/lib/shared/components/Cell/index.js +1 -0
  75. package/lib/shared/components/Checkbox/Checkbox.js +27 -0
  76. package/lib/shared/components/Checkbox/index.js +1 -0
  77. package/lib/shared/components/Clock/Clock.js +6 -0
  78. package/lib/shared/components/Clock/index.js +1 -0
  79. package/lib/shared/components/ColorChecker/ColorChecker.js +89 -0
  80. package/lib/shared/components/ColorChecker/index.js +2 -0
  81. package/lib/shared/components/ColorChecker/utils.js +159 -0
  82. package/lib/shared/components/Command/Command.js +95 -0
  83. package/lib/shared/components/Command/index.js +1 -0
  84. package/lib/shared/components/Container/Container.js +18 -0
  85. package/lib/shared/components/Container/index.js +1 -0
  86. package/lib/shared/components/Cover/Cover.js +17 -0
  87. package/lib/shared/components/Cover/index.js +1 -0
  88. package/lib/shared/components/DatePicker/DatePicker.js +52 -0
  89. package/lib/shared/components/DatePicker/components/Calendar.js +125 -0
  90. package/lib/shared/components/DatePicker/components/CalendarDay.js +23 -0
  91. package/lib/shared/components/DatePicker/components/DateWrapper.js +15 -0
  92. package/lib/shared/components/DatePicker/components/index.js +2 -0
  93. package/lib/shared/components/DatePicker/index.js +1 -0
  94. package/lib/shared/components/DateTime/DateTime.js +51 -0
  95. package/lib/shared/components/DateTime/index.js +1 -0
  96. package/lib/shared/components/Debug/Debug.js +12 -0
  97. package/lib/shared/components/Debug/index.js +1 -0
  98. package/lib/shared/components/Disclosure/Disclosure.js +31 -0
  99. package/lib/shared/components/Disclosure/index.js +1 -0
  100. package/lib/shared/components/Dropdown/Dropdown.js +91 -0
  101. package/lib/shared/components/Dropdown/index.js +1 -0
  102. package/lib/shared/components/EmptyState/EmptyState.js +40 -0
  103. package/lib/shared/components/EmptyState/index.js +1 -0
  104. package/lib/shared/components/Form/Form.js +41 -0
  105. package/lib/shared/components/Form/components/DynamicForm.js +66 -0
  106. package/lib/shared/components/Form/components/StepperForm.js +266 -0
  107. package/lib/shared/components/Form/components/index.js +2 -0
  108. package/lib/shared/components/Form/context/Form.js +164 -0
  109. package/lib/shared/components/Form/context/index.js +1 -0
  110. package/lib/shared/components/Form/index.js +1 -0
  111. package/lib/shared/components/Form/types.d.js +1 -0
  112. package/lib/shared/components/Form/utils/index.js +31 -0
  113. package/lib/shared/components/GroupItems/GroupItems.js +17 -0
  114. package/lib/shared/components/GroupItems/index.js +1 -0
  115. package/lib/shared/components/Header/Header.js +26 -0
  116. package/lib/shared/components/Header/index.js +1 -0
  117. package/lib/shared/components/Heading/Heading.js +5 -0
  118. package/lib/shared/components/Heading/index.js +1 -0
  119. package/lib/shared/components/Icon/Icon.js +28 -0
  120. package/lib/shared/components/Icon/index.js +1 -0
  121. package/lib/shared/components/Identicons/Identicons.js +6 -0
  122. package/lib/shared/components/Identicons/index.d.js +0 -0
  123. package/lib/shared/components/Identicons/index.js +1 -0
  124. package/lib/shared/components/Image/Image.js +22 -0
  125. package/lib/shared/components/Image/index.js +1 -0
  126. package/lib/shared/components/Input/Input.js +201 -0
  127. package/lib/shared/components/Input/components/CheckBoxInput.js +81 -0
  128. package/lib/shared/components/Input/components/DateInput.js +89 -0
  129. package/lib/shared/components/Input/components/DefaultInput.js +102 -0
  130. package/lib/shared/components/Input/components/FileReaderInput.js +88 -0
  131. package/lib/shared/components/Input/components/NumberInput.js +141 -0
  132. package/lib/shared/components/Input/components/PickerInput.js +122 -0
  133. package/lib/shared/components/Input/components/RCInput.js +112 -0
  134. package/lib/shared/components/Input/components/Radiobox/RadioboxBasic.js +56 -0
  135. package/lib/shared/components/Input/components/Radiobox/RadioboxCard.js +27 -0
  136. package/lib/shared/components/Input/components/Radiobox/RadioboxFull.js +44 -0
  137. package/lib/shared/components/Input/components/Radiobox/index.js +3 -0
  138. package/lib/shared/components/Input/components/RadioboxInput.js +102 -0
  139. package/lib/shared/components/Input/components/SelectInput.js +70 -0
  140. package/lib/shared/components/Input/components/TextAreaInput.js +67 -0
  141. package/lib/shared/components/Input/components/TextInput.js +139 -0
  142. package/lib/shared/components/Input/components/TimeInput.js +37 -0
  143. package/lib/shared/components/Input/components/UploadFileInput.js +123 -0
  144. package/lib/shared/components/Input/components/index.js +13 -0
  145. package/lib/shared/components/Input/components/types.d.js +0 -0
  146. package/lib/shared/components/Input/index.js +1 -0
  147. package/lib/shared/components/Input/types.d.js +0 -0
  148. package/lib/shared/components/Layout/Layout.js +13 -0
  149. package/lib/shared/components/Layout/index.js +1 -0
  150. package/lib/shared/components/List/List.js +30 -0
  151. package/lib/shared/components/List/index.js +1 -0
  152. package/lib/shared/components/Loader/Loader.js +27 -0
  153. package/lib/shared/components/Loader/index.js +1 -0
  154. package/lib/shared/components/Modal/Modal.js +102 -0
  155. package/lib/shared/components/Modal/index.js +1 -0
  156. package/lib/shared/components/Notification/Notification.js +39 -0
  157. package/lib/shared/components/Notification/index.js +1 -0
  158. package/lib/shared/components/Person/Person.js +81 -0
  159. package/lib/shared/components/Person/index.js +1 -0
  160. package/lib/shared/components/Popover/Popover.js +39 -0
  161. package/lib/shared/components/Popover/index.js +1 -0
  162. package/lib/shared/components/QRCode/QRCode.js +329 -0
  163. package/lib/shared/components/QRCode/index.js +1 -0
  164. package/lib/shared/components/RadioGroup/RadioGroup.js +35 -0
  165. package/lib/shared/components/RadioGroup/components/DefaultGroup.js +71 -0
  166. package/lib/shared/components/RadioGroup/components/VerticalGroup.js +83 -0
  167. package/lib/shared/components/RadioGroup/components/index.js +2 -0
  168. package/lib/shared/components/RadioGroup/index.js +1 -0
  169. package/lib/shared/components/Search/Search.js +12 -0
  170. package/lib/shared/components/Search/index.js +1 -0
  171. package/lib/shared/components/Select/Select.js +90 -0
  172. package/lib/shared/components/Select/index.js +1 -0
  173. package/lib/shared/components/Sidebar/Sidebar.js +42 -0
  174. package/lib/shared/components/Sidebar/index.js +1 -0
  175. package/lib/shared/components/SlideOver/SlideOver.js +81 -0
  176. package/lib/shared/components/SlideOver/index.js +1 -0
  177. package/lib/shared/components/Slider/Slider.js +80 -0
  178. package/lib/shared/components/Slider/index.js +1 -0
  179. package/lib/shared/components/Stepper/Stepper.js +32 -0
  180. package/lib/shared/components/Stepper/index.js +1 -0
  181. package/lib/shared/components/Steps/Steps.js +53 -0
  182. package/lib/shared/components/Steps/index.js +1 -0
  183. package/lib/shared/components/Switch/Switch.js +26 -0
  184. package/lib/shared/components/Switch/index.js +1 -0
  185. package/lib/shared/components/Tab/Tab.js +59 -0
  186. package/lib/shared/components/Tab/index.js +1 -0
  187. package/lib/shared/components/Table/Table.js +47 -0
  188. package/lib/shared/components/Table/index.js +1 -0
  189. package/lib/shared/components/Text/Text.js +11 -0
  190. package/lib/shared/components/Text/index.js +1 -0
  191. package/lib/shared/components/TextList/TextList.js +15 -0
  192. package/lib/shared/components/TextList/index.js +1 -0
  193. package/lib/shared/components/TimePicker/TimePicker.js +161 -0
  194. package/lib/shared/components/TimePicker/index.js +1 -0
  195. package/lib/shared/components/Tooltip/Tooltip.js +13 -0
  196. package/lib/shared/components/Tooltip/index.js +1 -0
  197. package/lib/shared/components/Uploader/Uploader.js +63 -0
  198. package/lib/shared/components/Uploader/index.js +1 -0
  199. package/lib/shared/components/Video/Video.js +20 -0
  200. package/lib/shared/components/Video/index.js +1 -0
  201. package/lib/shared/components/index.d.js +0 -0
  202. package/lib/shared/components/index.js +50 -0
  203. package/lib/shared/elements/Color/ColorPallet.js +20 -0
  204. package/lib/shared/elements/Color/index.js +1 -0
  205. package/lib/shared/elements/Text.js +37 -0
  206. package/lib/shared/elements/index.js +1 -0
  207. package/lib/shared/helpers/FakeLink.js +8 -0
  208. package/lib/shared/helpers/constants.js +359 -0
  209. package/lib/shared/helpers/index.js +2 -0
  210. package/lib/shared/helpers/isEqual.js +56 -0
  211. package/lib/shared/index.d.js +0 -0
  212. package/lib/shared/index.js +1 -0
  213. package/lib/shared/stories/components/Avatar.stories.js +17 -0
  214. package/lib/shared/stories/components/Badge.stories.dev.js +37 -0
  215. package/lib/shared/stories/components/Button.stories.js +553 -0
  216. package/lib/shared/stories/components/Calendar.stories.js +62 -0
  217. package/lib/shared/stories/components/Cartel.stories.js +32 -0
  218. package/lib/shared/stories/components/Checkbox.stories.js +15 -0
  219. package/lib/shared/stories/components/ColorChecker.stories.dev.js +16 -0
  220. package/lib/shared/stories/components/DateTime.stories.js +27 -0
  221. package/lib/shared/stories/components/Disclosure.stories.js +30 -0
  222. package/lib/shared/stories/components/Dropdown.stories.js +39 -0
  223. package/lib/shared/stories/components/Form/Default.stories.js +201 -0
  224. package/lib/shared/stories/components/Form/DummyForm.stories.js +48 -0
  225. package/lib/shared/stories/components/Form/DynamicForm.stories.js +155 -0
  226. package/lib/shared/stories/components/Form/StepperForm.stories.js +138 -0
  227. package/lib/shared/stories/components/Form/ValidateForm.stories.js +70 -0
  228. package/lib/shared/stories/components/Form/Validation.stories.js +184 -0
  229. package/lib/shared/stories/components/GroupItems.stories.js +23 -0
  230. package/lib/shared/stories/components/Header.stories.js +29 -0
  231. package/lib/shared/stories/components/Heading.stories.js +27 -0
  232. package/lib/shared/stories/components/Icon.stories.js +22 -0
  233. package/lib/shared/stories/components/Image.stories.js +23 -0
  234. package/lib/shared/stories/components/Input/Checkbox.stories.js +45 -0
  235. package/lib/shared/stories/components/Input/DatePicker.stories.js +23 -0
  236. package/lib/shared/stories/components/Input/Defaut.stories.js +24 -0
  237. package/lib/shared/stories/components/Input/Number.stories.js +24 -0
  238. package/lib/shared/stories/components/Input/RCI.stories.js +59 -0
  239. package/lib/shared/stories/components/Input/Radiobox.stories.dev.js +28 -0
  240. package/lib/shared/stories/components/Input/Select.stories.dev.js +27 -0
  241. package/lib/shared/stories/components/Input/SelectMultiple.stories.dev.js +510 -0
  242. package/lib/shared/stories/components/Input/Textarea.stories.js +24 -0
  243. package/lib/shared/stories/components/List.stories.js +34 -0
  244. package/lib/shared/stories/components/Loader.stories.js +15 -0
  245. package/lib/shared/stories/components/Modal.stories.js +50 -0
  246. package/lib/shared/stories/components/Notification.stories.js +22 -0
  247. package/lib/shared/stories/components/Person.stories.js +41 -0
  248. package/lib/shared/stories/components/Picker.stories.js +15 -0
  249. package/lib/shared/stories/components/Popover.stories.js +36 -0
  250. package/lib/shared/stories/components/QRCode.stories.js +20 -0
  251. package/lib/shared/stories/components/RadioGroup.stories.js +56 -0
  252. package/lib/shared/stories/components/Select.stories.js +50 -0
  253. package/lib/shared/stories/components/Sidebar.stories.js +35 -0
  254. package/lib/shared/stories/components/Slider.stories.dev.js +48 -0
  255. package/lib/shared/stories/components/Stepper/Stepper.stories.js +38 -0
  256. package/lib/shared/stories/components/Steps.stories.js +15 -0
  257. package/lib/shared/stories/components/Switch.stories.js +15 -0
  258. package/lib/shared/stories/components/Tab.stories.js +15 -0
  259. package/lib/shared/stories/components/Table.stories.js +95 -0
  260. package/lib/shared/stories/components/TextList.stories.js +23 -0
  261. package/lib/shared/stories/components/Tooltip.stories.dev.js +40 -0
  262. package/lib/shared/stories/elements/Color.stories.js +269 -0
  263. package/lib/shared/stories/elements/Text.stories.js +45 -0
  264. package/lib/shared/types/index.js +1 -0
  265. package/lib/stories/Foundation/BrandIdentity.prod.stories.js +510 -0
  266. package/lib/stories/Foundation/Logo.stories.js +19 -0
  267. package/lib/stories/Foundation/RisingSun.stories.js +16 -0
  268. package/lib/stories/Foundation/Shadows.stories.js +601 -0
  269. package/lib/stories/Foundation/Symbol.stories.js +18 -0
  270. package/lib/stories/HeroContainer.stories.js +18 -0
  271. package/lib/styles/accessibilityTokens.js +72 -0
  272. package/lib/styles/borderWidth.js +10 -0
  273. package/lib/styles/colors.js +303 -0
  274. package/lib/styles/elevation.js +240 -0
  275. package/lib/styles/icons.js +218 -0
  276. package/lib/styles/index.js +29 -0
  277. package/lib/styles/motion.js +668 -0
  278. package/lib/styles/opacity.js +10 -0
  279. package/lib/styles/radius.js +11 -0
  280. package/lib/styles/sizing.js +35 -0
  281. package/lib/styles/space.js +24 -0
  282. package/lib/styles/theme/darkTheme.js +471 -0
  283. package/lib/styles/theme/index.js +44 -0
  284. package/lib/styles/theme/lightTheme.js +480 -0
  285. package/lib/styles/theme/themeTypes.js +1 -0
  286. package/lib/styles/theme/themeUtils.js +63 -0
  287. package/lib/styles/typography-advanced.js +510 -0
  288. package/lib/styles/typography.js +1419 -0
  289. package/lib/styles/zIndex.js +19 -0
  290. package/lib/tokens/borders.js +161 -0
  291. package/lib/tokens/colors.js +426 -0
  292. package/lib/tokens/components.js +499 -0
  293. package/lib/tokens/index.js +84 -0
  294. package/lib/tokens/lighting.js +384 -0
  295. package/lib/tokens/motion.js +284 -0
  296. package/lib/tokens/semantic.js +367 -0
  297. package/lib/tokens/shadows.js +114 -0
  298. package/lib/tokens/spacing.js +189 -0
  299. package/lib/tokens/typography.js +268 -0
  300. package/package.json +176 -0
  301. package/styles/generated-tokens.css +677 -0
  302. package/styles/index.css +2 -0
  303. package/styles/main.css +610 -0
  304. package/tailwind.config.js +64 -0
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Z-index scale for layering
3
+ * Follows Spectrum's clear layer organization
4
+ */
5
+ export var zIndex = {
6
+ hide: -1,
7
+ base: 0,
8
+ content: 1,
9
+ docked: 10,
10
+ dropdown: 1000,
11
+ sticky: 1100,
12
+ banner: 1200,
13
+ overlay: 1300,
14
+ modal: 1400,
15
+ popover: 1500,
16
+ tooltip: 1600,
17
+ toast: 1700,
18
+ skipLink: 1800
19
+ };
@@ -0,0 +1,161 @@
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
+ /**
8
+ * Nobak Design System - Border Tokens
9
+ *
10
+ * Sharp, minimal borders
11
+ * Punk rock edges with Japanese precision
12
+ */
13
+
14
+ export var borders = {
15
+ // Border Widths
16
+ width: {
17
+ 0: '0px',
18
+ 1: '1px',
19
+ 2: '2px',
20
+ 4: '4px',
21
+ 8: '8px'
22
+ },
23
+ // Border Radius (Sharp, minimal - punk rock aesthetic)
24
+ radius: {
25
+ none: '0px',
26
+ // Punk rock sharp edges
27
+ sm: '2px',
28
+ // Subtle rounding
29
+ md: '4px',
30
+ // Standard rounding
31
+ lg: '8px',
32
+ // Card rounding
33
+ xl: '12px',
34
+ // Modal rounding
35
+ '2xl': '16px',
36
+ // Large containers
37
+ '3xl': '24px',
38
+ // Hero sections
39
+ full: '9999px' // Pills, avatars
40
+ },
41
+ // Border Styles
42
+ style: {
43
+ solid: 'solid',
44
+ dashed: 'dashed',
45
+ dotted: 'dotted',
46
+ none: 'none'
47
+ }
48
+ };
49
+
50
+ // Semantic Borders
51
+ export var semanticBorders = {
52
+ // Component borders
53
+ "default": {
54
+ width: borders.width[1],
55
+ style: borders.style.solid,
56
+ color: '#E5E5E5' // gray-200
57
+ },
58
+ subtle: {
59
+ width: borders.width[1],
60
+ style: borders.style.solid,
61
+ color: '#F5F5F5' // gray-100
62
+ },
63
+ strong: {
64
+ width: borders.width[2],
65
+ style: borders.style.solid,
66
+ color: '#D4D4D4' // gray-300
67
+ },
68
+ // Interactive borders
69
+ input: {
70
+ width: borders.width[1],
71
+ style: borders.style.solid,
72
+ color: '#E5E5E5',
73
+ // gray-200
74
+ radius: borders.radius.md
75
+ },
76
+ inputFocus: {
77
+ width: borders.width[2],
78
+ style: borders.style.solid,
79
+ color: '#3B82F6',
80
+ // blue-500
81
+ radius: borders.radius.md
82
+ },
83
+ inputError: {
84
+ width: borders.width[1],
85
+ style: borders.style.solid,
86
+ color: '#EF4444',
87
+ // red-500
88
+ radius: borders.radius.md
89
+ },
90
+ // Button borders
91
+ button: {
92
+ width: borders.width[2],
93
+ style: borders.style.solid,
94
+ color: '#FF3B2D',
95
+ // primary-500
96
+ radius: borders.radius.md
97
+ },
98
+ buttonOutline: {
99
+ width: borders.width[2],
100
+ style: borders.style.solid,
101
+ color: '#E5E5E5',
102
+ // gray-200
103
+ radius: borders.radius.md
104
+ },
105
+ // Card borders
106
+ card: {
107
+ width: borders.width[1],
108
+ style: borders.style.solid,
109
+ color: '#E5E5E5',
110
+ // gray-200
111
+ radius: borders.radius.lg
112
+ },
113
+ // Modal borders
114
+ modal: {
115
+ width: borders.width[0],
116
+ style: borders.style.none,
117
+ color: 'transparent',
118
+ radius: borders.radius.xl
119
+ },
120
+ // Dividers
121
+ divider: {
122
+ width: borders.width[1],
123
+ style: borders.style.solid,
124
+ color: '#E5E5E5' // gray-200
125
+ },
126
+ dividerStrong: {
127
+ width: borders.width[2],
128
+ style: borders.style.solid,
129
+ color: '#D4D4D4' // gray-300
130
+ }
131
+ };
132
+
133
+ // Type exports
134
+
135
+ // CSS Custom Properties Generator
136
+ export var generateBorderVariables = function generateBorderVariables() {
137
+ var vars = {};
138
+
139
+ // Border widths
140
+ Object.entries(borders.width).forEach(function (_ref) {
141
+ var _ref2 = _slicedToArray(_ref, 2),
142
+ key = _ref2[0],
143
+ value = _ref2[1];
144
+ vars["--border-width-".concat(key)] = value;
145
+ });
146
+
147
+ // Border radius
148
+ Object.entries(borders.radius).forEach(function (_ref3) {
149
+ var _ref4 = _slicedToArray(_ref3, 2),
150
+ key = _ref4[0],
151
+ value = _ref4[1];
152
+ vars["--border-radius-".concat(key)] = value;
153
+ });
154
+ return vars;
155
+ };
156
+
157
+ // Tailwind Config Export
158
+ export var tailwindBorders = {
159
+ borderWidth: borders.width,
160
+ borderRadius: borders.radius
161
+ };
@@ -0,0 +1,426 @@
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
+ /**
8
+ * Nobak Design System - Color Tokens (OKLCH-based)
9
+ *
10
+ * Punk Rock Minimal Japanese Aesthetic
11
+ * - OKLCH color space for perceptually uniform colors
12
+ * - 6 color palettes: red, orange, green, blue, neutral, beige
13
+ * - Neomorphism-specific shadow and lighting colors
14
+ */
15
+
16
+ export var colors = {
17
+ // Red Palette (OKLCH-based - 27 shades)
18
+ red: {
19
+ 50: '#ffe1e6',
20
+ 100: '#ffdde2',
21
+ 150: '#ffd5db',
22
+ 200: '#ffcdd5',
23
+ 250: '#ffc5ce',
24
+ 300: '#ffbdc8',
25
+ 350: '#ffb3c0',
26
+ 400: '#ffa9b9',
27
+ 450: '#ff9fb1',
28
+ 500: '#ff95a9',
29
+ 550: '#ff89a0',
30
+ 600: '#ff7d96',
31
+ 650: '#ff6f8b',
32
+ 700: '#ff5f80',
33
+ 750: '#ff4d72',
34
+ 800: '#ff3162',
35
+ 850: '#ff1f50',
36
+ 900: '#ff0037',
37
+ 925: '#eb0032',
38
+ 950: '#d10028',
39
+ 975: '#b5001f'
40
+ },
41
+ // Orange Palette (OKLCH-based - 27 shades)
42
+ orange: {
43
+ 50: '#ffe7d6',
44
+ 100: '#ffe3d1',
45
+ 150: '#ffddca',
46
+ 200: '#ffd6be',
47
+ 250: '#ffd0b2',
48
+ 300: '#ffc9aa',
49
+ 350: '#ffc1a0',
50
+ 400: '#ffb891',
51
+ 450: '#ffaf83',
52
+ 500: '#ffa675',
53
+ 550: '#ff9d63',
54
+ 600: '#ff9152',
55
+ 650: '#ff843b',
56
+ 700: '#ff771f',
57
+ 750: '#f66a00',
58
+ 800: '#e55800',
59
+ 850: '#cd4f00',
60
+ 900: '#b44400',
61
+ 925: '#9f3c00',
62
+ 950: '#8a3600',
63
+ 975: '#762e00'
64
+ },
65
+ // Green Palette (OKLCH-based - 27 shades)
66
+ green: {
67
+ 50: '#d4f4dd',
68
+ 100: '#cef2d8',
69
+ 150: '#c6efd2',
70
+ 200: '#bdedc9',
71
+ 250: '#b3eabf',
72
+ 300: '#a9e7b9',
73
+ 350: '#9de3af',
74
+ 400: '#90e0a4',
75
+ 450: '#81dd97',
76
+ 500: '#71d98b',
77
+ 550: '#5ed67b',
78
+ 600: '#48d06d',
79
+ 650: '#2bcb59',
80
+ 700: '#00c740',
81
+ 750: '#00b637',
82
+ 800: '#00a032',
83
+ 850: '#008e2b',
84
+ 900: '#007d26',
85
+ 925: '#006f22',
86
+ 950: '#00611d',
87
+ 975: '#005519'
88
+ },
89
+ // Blue Palette (OKLCH-based - 27 shades)
90
+ blue: {
91
+ 50: '#d3e9fd',
92
+ 100: '#cde6fd',
93
+ 150: '#c4e1fc',
94
+ 200: '#bbddfc',
95
+ 250: '#b0d8fb',
96
+ 300: '#a5d4fb',
97
+ 350: '#97cefa',
98
+ 400: '#89c9fa',
99
+ 450: '#77c3f9',
100
+ 500: '#64bdf9',
101
+ 550: '#4ab5f8',
102
+ 600: '#2caff8',
103
+ 650: '#00a6f7',
104
+ 700: '#009ef7',
105
+ 750: '#008ddc',
106
+ 800: '#007fc7',
107
+ 850: '#0071b0',
108
+ 900: '#00649b',
109
+ 925: '#005a8b',
110
+ 950: '#004d78',
111
+ 975: '#004266'
112
+ },
113
+ // Neutral Palette (OKLCH-based - 27 shades)
114
+ neutral: {
115
+ 50: '#f2f2f2',
116
+ 100: '#ededed',
117
+ 150: '#e8e8e8',
118
+ 200: '#e3e3e3',
119
+ 250: '#dedede',
120
+ 300: '#d9d9d9',
121
+ 350: '#d3d3d3',
122
+ 400: '#cccccc',
123
+ 450: '#c5c5c5',
124
+ 500: '#bdbdbd',
125
+ 550: '#b4b4b4',
126
+ 600: '#ababab',
127
+ 650: '#a1a1a1',
128
+ 700: '#969696',
129
+ 750: '#898989',
130
+ 800: '#7c7c7c',
131
+ 850: '#6c6c6c',
132
+ 900: '#5c5c5c',
133
+ 925: '#4f4f4f',
134
+ 950: '#3d3d3d',
135
+ 975: '#2e2e2e'
136
+ },
137
+ // Beige Palette (OKLCH-based - 27 shades)
138
+ beige: {
139
+ 50: '#f4f1ed',
140
+ 100: '#f1ede8',
141
+ 150: '#ede8e2',
142
+ 200: '#e9e3db',
143
+ 250: '#e5ded4',
144
+ 300: '#e0d9ce',
145
+ 350: '#dbd3c6',
146
+ 400: '#d5ccbd',
147
+ 450: '#cfc5b3',
148
+ 500: '#c8bda9',
149
+ 550: '#c0b49c',
150
+ 600: '#b9ac91',
151
+ 650: '#b0a282',
152
+ 700: '#a79872',
153
+ 750: '#9b8b5f',
154
+ 800: '#8f7f4e',
155
+ 850: '#7f6e3d',
156
+ 900: '#706328',
157
+ 925: '#635721',
158
+ 950: '#564c1c',
159
+ 975: '#4a4117'
160
+ },
161
+ // Primary: Rebellion Red (using red palette - 27 shades)
162
+ primary: {
163
+ 50: '#ffe1e6',
164
+ 100: '#ffdde2',
165
+ 150: '#ffd5db',
166
+ 200: '#ffcdd5',
167
+ 250: '#ffc5ce',
168
+ 300: '#ffbdc8',
169
+ 350: '#ffb3c0',
170
+ 400: '#ffa9b9',
171
+ 450: '#ff9fb1',
172
+ 500: '#ff95a9',
173
+ // Main brand color
174
+ 550: '#ff89a0',
175
+ 600: '#ff7d96',
176
+ 650: '#ff6f8b',
177
+ 700: '#ff5f80',
178
+ 750: '#ff4d72',
179
+ 800: '#ff3162',
180
+ 850: '#ff1f50',
181
+ 900: '#ff0037',
182
+ 925: '#eb0032',
183
+ 950: '#d10028',
184
+ 975: '#b5001f'
185
+ },
186
+ // Gray: Concrete Gray (using neutral palette - 27 shades)
187
+ gray: {
188
+ 50: '#f2f2f2',
189
+ // Background
190
+ 100: '#ededed',
191
+ // Subtle background
192
+ 150: '#e8e8e8',
193
+ 200: '#e3e3e3',
194
+ // Borders
195
+ 250: '#dedede',
196
+ 300: '#d9d9d9',
197
+ // Disabled
198
+ 350: '#d3d3d3',
199
+ 400: '#cccccc',
200
+ // Placeholder
201
+ 450: '#c5c5c5',
202
+ 500: '#bdbdbd',
203
+ // Secondary text
204
+ 550: '#b4b4b4',
205
+ 600: '#ababab',
206
+ // Body text
207
+ 650: '#a1a1a1',
208
+ 700: '#969696',
209
+ // Emphasis
210
+ 750: '#898989',
211
+ 800: '#7c7c7c',
212
+ // Headings
213
+ 850: '#6c6c6c',
214
+ 900: '#5c5c5c',
215
+ // Primary text
216
+ 925: '#4f4f4f',
217
+ 950: '#3d3d3d',
218
+ // Maximum contrast
219
+ 975: '#2e2e2e'
220
+ },
221
+ // Neomorphism Colors (for shadow and lighting effects)
222
+ neomorphic: {
223
+ // Base surface color (light mode)
224
+ base: '#e0e5ec',
225
+ baseLight: '#ecf0f3',
226
+ baseDark: '#d1d9e6',
227
+ // Shadow colors
228
+ shadowDark: 'rgba(163, 177, 198, 0.7)',
229
+ shadowDarkStrong: 'rgba(163, 177, 198, 0.9)',
230
+ shadowLight: 'rgba(255, 255, 255, 0.8)',
231
+ shadowLightStrong: 'rgba(255, 255, 255, 0.95)',
232
+ // Directional bevel borders
233
+ borderLight: 'rgba(255, 255, 255, 0.85)',
234
+ // Top/Left edges (light-facing)
235
+ borderLightBright: 'rgba(255, 255, 255, 0.9)',
236
+ // Brightest highlight
237
+ borderDark: 'rgba(120, 135, 155, 0.65)',
238
+ // Bottom/Right edges (shadow-facing)
239
+ borderDarkStrong: 'rgba(130, 145, 165, 0.6)',
240
+ // Deeper shadow edge
241
+
242
+ // Background lighting gradients
243
+ lightSpotPrimary: 'rgba(255, 255, 255, 0.4)',
244
+ lightSpotSecondary: 'rgba(120, 140, 160, 0.2)',
245
+ lightSpotAmbient: 'rgba(255, 255, 255, 0.15)',
246
+ // Gradient stops for realistic backgrounds
247
+ gradientLight1: '#d8dde5',
248
+ gradientLight2: '#e0e5ec',
249
+ gradientLight3: '#e3e8ef',
250
+ gradientLight4: '#dfe4eb',
251
+ gradientLight5: '#d9dee7'
252
+ },
253
+ // Semantic Colors
254
+ semantic: {
255
+ // Backgrounds
256
+ background: '#f2f2f2',
257
+ backgroundSubtle: '#ededed',
258
+ backgroundElevated: '#ffffff',
259
+ // Surfaces
260
+ surface: '#ffffff',
261
+ surfaceSubtle: '#ededed',
262
+ surfaceHover: '#e3e3e3',
263
+ // Borders
264
+ border: '#e3e3e3',
265
+ borderSubtle: '#ededed',
266
+ borderStrong: '#d9d9d9',
267
+ // Text
268
+ text: '#3d3d3d',
269
+ textSubtle: '#7c7c7c',
270
+ textMuted: '#ababab',
271
+ textDisabled: '#cccccc',
272
+ textInverse: '#ffffff',
273
+ // Interactive (using red palette for primary)
274
+ primary: '#ff95a9',
275
+ primaryHover: '#ff7d96',
276
+ primaryActive: '#ff5f80',
277
+ primaryDisabled: '#ffbdc8',
278
+ // States
279
+ success: '#71d98b',
280
+ successSubtle: '#d4f4dd',
281
+ successHover: '#48d06d',
282
+ warning: '#ffa675',
283
+ warningSubtle: '#ffe7d6',
284
+ warningHover: '#ff9152',
285
+ error: '#ff3162',
286
+ errorSubtle: '#ffe1e6',
287
+ errorHover: '#ff0037',
288
+ info: '#64bdf9',
289
+ infoSubtle: '#d3e9fd',
290
+ infoHover: '#2caff8',
291
+ // Focus
292
+ focus: '#64bdf9',
293
+ focusRing: 'rgba(100, 189, 249, 0.5)'
294
+ },
295
+ // Brand Colors
296
+ brand: {
297
+ rebellion: '#ff95a9',
298
+ // Primary brand (red-500)
299
+ concrete: '#3d3d3d',
300
+ // Text/emphasis (neutral-950)
301
+ blockchain: '#64bdf9',
302
+ // Technology (blue-500)
303
+ growth: '#71d98b',
304
+ // Success (green-500)
305
+ caution: '#ffa675',
306
+ // Warning (orange-500)
307
+ earth: '#c8bda9' // Beige accent (beige-500)
308
+ }
309
+ };
310
+
311
+ // Type exports
312
+
313
+ // CSS Custom Properties Generator
314
+ export var generateCSSVariables = function generateCSSVariables() {
315
+ var vars = {};
316
+
317
+ // Red colors
318
+ Object.entries(colors.red).forEach(function (_ref) {
319
+ var _ref2 = _slicedToArray(_ref, 2),
320
+ key = _ref2[0],
321
+ value = _ref2[1];
322
+ vars["--color-red-".concat(key)] = value;
323
+ });
324
+
325
+ // Orange colors
326
+ Object.entries(colors.orange).forEach(function (_ref3) {
327
+ var _ref4 = _slicedToArray(_ref3, 2),
328
+ key = _ref4[0],
329
+ value = _ref4[1];
330
+ vars["--color-orange-".concat(key)] = value;
331
+ });
332
+
333
+ // Green colors
334
+ Object.entries(colors.green).forEach(function (_ref5) {
335
+ var _ref6 = _slicedToArray(_ref5, 2),
336
+ key = _ref6[0],
337
+ value = _ref6[1];
338
+ vars["--color-green-".concat(key)] = value;
339
+ });
340
+
341
+ // Blue colors
342
+ Object.entries(colors.blue).forEach(function (_ref7) {
343
+ var _ref8 = _slicedToArray(_ref7, 2),
344
+ key = _ref8[0],
345
+ value = _ref8[1];
346
+ vars["--color-blue-".concat(key)] = value;
347
+ });
348
+
349
+ // Neutral colors
350
+ Object.entries(colors.neutral).forEach(function (_ref9) {
351
+ var _ref0 = _slicedToArray(_ref9, 2),
352
+ key = _ref0[0],
353
+ value = _ref0[1];
354
+ vars["--color-neutral-".concat(key)] = value;
355
+ });
356
+
357
+ // Beige colors
358
+ Object.entries(colors.beige).forEach(function (_ref1) {
359
+ var _ref10 = _slicedToArray(_ref1, 2),
360
+ key = _ref10[0],
361
+ value = _ref10[1];
362
+ vars["--color-beige-".concat(key)] = value;
363
+ });
364
+
365
+ // Primary colors (red-based)
366
+ Object.entries(colors.primary).forEach(function (_ref11) {
367
+ var _ref12 = _slicedToArray(_ref11, 2),
368
+ key = _ref12[0],
369
+ value = _ref12[1];
370
+ vars["--color-primary-".concat(key)] = value;
371
+ });
372
+
373
+ // Gray colors (neutral-based)
374
+ Object.entries(colors.gray).forEach(function (_ref13) {
375
+ var _ref14 = _slicedToArray(_ref13, 2),
376
+ key = _ref14[0],
377
+ value = _ref14[1];
378
+ vars["--color-gray-".concat(key)] = value;
379
+ });
380
+
381
+ // Neomorphic colors
382
+ Object.entries(colors.neomorphic).forEach(function (_ref15) {
383
+ var _ref16 = _slicedToArray(_ref15, 2),
384
+ key = _ref16[0],
385
+ value = _ref16[1];
386
+ vars["--color-neomorphic-".concat(key)] = value;
387
+ });
388
+
389
+ // Semantic colors
390
+ Object.entries(colors.semantic).forEach(function (_ref17) {
391
+ var _ref18 = _slicedToArray(_ref17, 2),
392
+ key = _ref18[0],
393
+ value = _ref18[1];
394
+ vars["--color-".concat(key)] = value;
395
+ });
396
+
397
+ // Brand colors
398
+ Object.entries(colors.brand).forEach(function (_ref19) {
399
+ var _ref20 = _slicedToArray(_ref19, 2),
400
+ key = _ref20[0],
401
+ value = _ref20[1];
402
+ vars["--color-brand-".concat(key)] = value;
403
+ });
404
+ return vars;
405
+ };
406
+
407
+ // Tailwind Config Export
408
+ export var tailwindColors = {
409
+ red: colors.red,
410
+ orange: colors.orange,
411
+ green: colors.green,
412
+ blue: colors.blue,
413
+ neutral: colors.neutral,
414
+ beige: colors.beige,
415
+ primary: colors.primary,
416
+ gray: colors.gray,
417
+ // Neomorphic colors
418
+ neomorphic: colors.neomorphic,
419
+ // Semantic aliases
420
+ rebellion: colors.primary[500],
421
+ concrete: colors.gray[950],
422
+ blockchain: colors.blue[500],
423
+ growth: colors.green[500],
424
+ caution: colors.orange[500],
425
+ earth: colors.beige[500]
426
+ };