@hellboy/ds 0.1.3 → 0.2.7

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 (298) hide show
  1. package/README.md +512 -162
  2. package/{src/style/components/badge → dist/components}/badge.css +9 -25
  3. package/dist/components/badge.d.mts +12 -0
  4. package/dist/components/badge.d.ts +12 -0
  5. package/dist/components/badge.js +42 -0
  6. package/dist/components/badge.mjs +15 -0
  7. package/dist/components/banner.css +280 -0
  8. package/dist/components/banner.d.mts +12 -0
  9. package/dist/components/banner.d.ts +12 -0
  10. package/dist/components/banner.js +184 -0
  11. package/dist/components/banner.mjs +147 -0
  12. package/dist/components/button-group.css +289 -0
  13. package/dist/components/button-group.d.mts +81 -0
  14. package/dist/components/button-group.d.ts +81 -0
  15. package/dist/components/button-group.js +180 -0
  16. package/dist/components/button-group.mjs +143 -0
  17. package/{src/style/components/button → dist/components}/button.css +59 -62
  18. package/dist/components/button.d.mts +57 -0
  19. package/dist/components/button.d.ts +57 -0
  20. package/dist/components/button.js +129 -0
  21. package/dist/components/button.mjs +92 -0
  22. package/{src/style/components/card → dist/components}/card.css +9 -30
  23. package/dist/components/card.d.mts +31 -0
  24. package/dist/components/card.d.ts +31 -0
  25. package/dist/components/card.js +59 -0
  26. package/dist/components/card.mjs +32 -0
  27. package/{src/style → dist}/components/checkbox.css +51 -43
  28. package/dist/components/checkbox.d.mts +31 -0
  29. package/dist/components/checkbox.d.ts +31 -0
  30. package/dist/components/checkbox.js +130 -0
  31. package/dist/components/checkbox.mjs +93 -0
  32. package/{src/style/components/code-block → dist/components}/code-block.css +3 -7
  33. package/dist/components/code-block.d.mts +24 -0
  34. package/dist/components/code-block.d.ts +24 -0
  35. package/dist/components/code-block.js +43 -0
  36. package/dist/components/code-block.mjs +16 -0
  37. package/dist/components/color-control.css +285 -0
  38. package/dist/components/color-control.d.mts +5 -0
  39. package/dist/components/color-control.d.ts +5 -0
  40. package/dist/components/color-control.js +534 -0
  41. package/dist/components/color-control.mjs +497 -0
  42. package/dist/components/dialog.css +930 -0
  43. package/dist/components/dialog.d.mts +32 -0
  44. package/dist/components/dialog.d.ts +32 -0
  45. package/dist/components/dialog.js +1111 -0
  46. package/dist/components/dialog.mjs +1074 -0
  47. package/dist/components/divider.css +356 -0
  48. package/dist/components/divider.d.mts +32 -0
  49. package/dist/components/divider.d.ts +32 -0
  50. package/dist/components/divider.js +344 -0
  51. package/dist/components/divider.mjs +307 -0
  52. package/{src/style/components/drag-handle → dist/components}/drag-handle.css +3 -18
  53. package/dist/components/drag-handle.d.mts +11 -0
  54. package/dist/components/drag-handle.d.ts +11 -0
  55. package/dist/components/drag-handle.js +103 -0
  56. package/dist/components/drag-handle.mjs +66 -0
  57. package/dist/components/drawer.css +1027 -0
  58. package/dist/components/drawer.d.mts +14 -0
  59. package/dist/components/drawer.d.ts +14 -0
  60. package/dist/components/drawer.js +1072 -0
  61. package/dist/components/drawer.mjs +1035 -0
  62. package/dist/components/floating-bar.css +17 -0
  63. package/dist/components/floating-bar.d.mts +25 -0
  64. package/dist/components/floating-bar.d.ts +25 -0
  65. package/dist/components/floating-bar.js +52 -0
  66. package/dist/components/floating-bar.mjs +25 -0
  67. package/dist/components/footer.css +40 -0
  68. package/dist/components/footer.d.mts +8 -0
  69. package/dist/components/footer.d.ts +8 -0
  70. package/dist/components/footer.js +44 -0
  71. package/dist/components/footer.mjs +17 -0
  72. package/dist/components/grid.css +47 -0
  73. package/dist/components/grid.d.mts +27 -0
  74. package/dist/components/grid.d.ts +27 -0
  75. package/dist/components/grid.js +52 -0
  76. package/dist/components/grid.mjs +25 -0
  77. package/dist/components/header.css +1075 -0
  78. package/dist/components/header.d.mts +35 -0
  79. package/dist/components/header.d.ts +35 -0
  80. package/dist/components/header.js +1402 -0
  81. package/dist/components/header.mjs +1365 -0
  82. package/dist/components/hero.css +121 -0
  83. package/dist/components/hero.d.mts +111 -0
  84. package/dist/components/hero.d.ts +111 -0
  85. package/dist/components/hero.js +285 -0
  86. package/dist/components/hero.mjs +248 -0
  87. package/{src/style/components/icons → dist/components}/icons.css +14 -15
  88. package/dist/components/icons.d.mts +104 -0
  89. package/dist/components/icons.d.ts +104 -0
  90. package/dist/components/icons.js +239 -0
  91. package/dist/components/icons.mjs +203 -0
  92. package/{src/style/components/input → dist/components}/input.css +189 -102
  93. package/dist/components/input.d.mts +114 -0
  94. package/dist/components/input.d.ts +114 -0
  95. package/dist/components/input.js +926 -0
  96. package/dist/components/input.mjs +879 -0
  97. package/dist/components/layout.css +551 -0
  98. package/dist/components/layout.d.mts +16 -0
  99. package/dist/components/layout.d.ts +16 -0
  100. package/dist/components/layout.js +387 -0
  101. package/dist/components/layout.mjs +352 -0
  102. package/{src/style/components/list → dist/components}/list.css +47 -41
  103. package/dist/components/list.d.mts +46 -0
  104. package/dist/components/list.d.ts +46 -0
  105. package/dist/components/list.js +124 -0
  106. package/dist/components/list.mjs +96 -0
  107. package/dist/components/navbar.css +706 -0
  108. package/dist/components/navbar.d.mts +56 -0
  109. package/dist/components/navbar.d.ts +56 -0
  110. package/dist/components/navbar.js +994 -0
  111. package/dist/components/navbar.mjs +952 -0
  112. package/{src/style/components/page-index → dist/components}/page-index.css +2 -47
  113. package/dist/components/page-index.d.mts +25 -0
  114. package/dist/components/page-index.d.ts +25 -0
  115. package/dist/components/page-index.js +239 -0
  116. package/dist/components/page-index.mjs +202 -0
  117. package/{src/style/components/page → dist/components}/page.css +4 -15
  118. package/dist/components/page.d.mts +30 -0
  119. package/dist/components/page.d.ts +30 -0
  120. package/dist/components/page.js +40 -0
  121. package/dist/components/page.mjs +13 -0
  122. package/dist/components/popover.css +87 -0
  123. package/dist/components/popover.d.mts +22 -0
  124. package/dist/components/popover.d.ts +22 -0
  125. package/dist/components/popover.js +243 -0
  126. package/dist/components/popover.mjs +206 -0
  127. package/{src/style → dist}/components/radio.css +8 -51
  128. package/dist/components/radio.d.mts +59 -0
  129. package/dist/components/radio.d.ts +59 -0
  130. package/dist/components/radio.js +133 -0
  131. package/dist/components/radio.mjs +95 -0
  132. package/dist/components/section.css +993 -0
  133. package/dist/components/section.d.mts +33 -0
  134. package/dist/components/section.d.ts +33 -0
  135. package/dist/components/section.js +1401 -0
  136. package/dist/components/section.mjs +1364 -0
  137. package/dist/components/select.css +391 -0
  138. package/dist/components/select.d.mts +63 -0
  139. package/dist/components/select.d.ts +63 -0
  140. package/dist/components/select.js +452 -0
  141. package/dist/components/select.mjs +415 -0
  142. package/{src/style/components/slider → dist/components}/slider.css +55 -33
  143. package/dist/components/slider.d.mts +69 -0
  144. package/dist/components/slider.d.ts +69 -0
  145. package/dist/components/slider.js +254 -0
  146. package/dist/components/slider.mjs +217 -0
  147. package/dist/components/switch.css +1081 -0
  148. package/dist/components/switch.d.mts +33 -0
  149. package/dist/components/switch.d.ts +33 -0
  150. package/dist/components/switch.js +1092 -0
  151. package/dist/components/switch.mjs +1055 -0
  152. package/{src/style/components/table → dist/components}/table.css +3 -28
  153. package/dist/components/table.d.mts +42 -0
  154. package/dist/components/table.d.ts +42 -0
  155. package/dist/components/table.js +108 -0
  156. package/dist/components/table.mjs +76 -0
  157. package/dist/components/tag.css +97 -0
  158. package/dist/components/tag.d.mts +12 -0
  159. package/dist/components/tag.d.ts +12 -0
  160. package/dist/components/tag.js +42 -0
  161. package/dist/components/tag.mjs +15 -0
  162. package/dist/components/textarea.css +1359 -0
  163. package/dist/components/textarea.d.mts +84 -0
  164. package/dist/components/textarea.d.ts +84 -0
  165. package/dist/components/textarea.js +1962 -0
  166. package/dist/components/textarea.mjs +1924 -0
  167. package/{src/style/components/theme-control → dist/components}/theme-control.css +3 -7
  168. package/dist/components/theme-control.d.mts +9 -0
  169. package/dist/components/theme-control.d.ts +9 -0
  170. package/dist/components/theme-control.js +235 -0
  171. package/dist/components/theme-control.mjs +200 -0
  172. package/{src/style/components/tooltip → dist/components}/tooltip.css +5 -13
  173. package/dist/components/tooltip.d.mts +12 -0
  174. package/dist/components/tooltip.d.ts +12 -0
  175. package/dist/components/tooltip.js +200 -0
  176. package/dist/components/tooltip.mjs +163 -0
  177. package/dist/icons-Czahnf-r.d.mts +15 -0
  178. package/dist/icons-Czahnf-r.d.ts +15 -0
  179. package/dist/index.css +2914 -2067
  180. package/dist/index.d.mts +144 -721
  181. package/dist/index.d.ts +144 -721
  182. package/dist/index.js +4076 -2282
  183. package/dist/index.mjs +4132 -2366
  184. package/dist/theme.css +34 -34
  185. package/package.json +27 -8
  186. package/dist/index.css.map +0 -1
  187. package/dist/index.js.map +0 -1
  188. package/dist/index.mjs.map +0 -1
  189. package/hellboy-ds-0.1.2.tgz +0 -0
  190. package/src/components/badge/Badge.tsx +0 -29
  191. package/src/components/badge/index.ts +0 -1
  192. package/src/components/banner/Banner.tsx +0 -48
  193. package/src/components/banner/banner.css +0 -44
  194. package/src/components/banner/index.ts +0 -1
  195. package/src/components/button/button.tsx +0 -127
  196. package/src/components/button/index.ts +0 -1
  197. package/src/components/card/card.tsx +0 -57
  198. package/src/components/card/index.ts +0 -1
  199. package/src/components/checkbox/Checkbox.tsx +0 -98
  200. package/src/components/checkbox/index.ts +0 -1
  201. package/src/components/code-block/code-block.tsx +0 -44
  202. package/src/components/code-block/index.ts +0 -1
  203. package/src/components/color-control/color-control.tsx +0 -322
  204. package/src/components/color-control/index.ts +0 -1
  205. package/src/components/drag-handle/DragHandle.tsx +0 -78
  206. package/src/components/drag-handle/index.ts +0 -1
  207. package/src/components/drawer/drawer.tsx +0 -82
  208. package/src/components/drawer/index.ts +0 -1
  209. package/src/components/floating-bar/floating-bar.tsx +0 -52
  210. package/src/components/floating-bar/index.ts +0 -2
  211. package/src/components/footer/footer.tsx +0 -28
  212. package/src/components/footer/index.ts +0 -1
  213. package/src/components/grid/Grid.tsx +0 -53
  214. package/src/components/grid/index.ts +0 -1
  215. package/src/components/header/header.tsx +0 -57
  216. package/src/components/header/index.ts +0 -1
  217. package/src/components/icons/icons.tsx +0 -44
  218. package/src/components/icons/index.ts +0 -1
  219. package/src/components/index.ts +0 -29
  220. package/src/components/input/DatePicker.tsx +0 -133
  221. package/src/components/input/Input.tsx +0 -220
  222. package/src/components/input/InputDate.tsx +0 -10
  223. package/src/components/input/InputDateTime.tsx +0 -10
  224. package/src/components/input/InputEmail.tsx +0 -10
  225. package/src/components/input/InputField.tsx +0 -137
  226. package/src/components/input/InputNumber.tsx +0 -10
  227. package/src/components/input/InputPassword.tsx +0 -10
  228. package/src/components/input/InputSearch.tsx +0 -10
  229. package/src/components/input/InputTel.tsx +0 -10
  230. package/src/components/input/InputText.tsx +0 -10
  231. package/src/components/input/InputTime.tsx +0 -10
  232. package/src/components/input/InputUrl.tsx +0 -10
  233. package/src/components/input/TimePicker.tsx +0 -151
  234. package/src/components/input/index.ts +0 -11
  235. package/src/components/layout/Layout.tsx +0 -244
  236. package/src/components/layout/index.ts +0 -1
  237. package/src/components/list/List.tsx +0 -159
  238. package/src/components/list/index.ts +0 -1
  239. package/src/components/navbar/MenuCategory.tsx +0 -20
  240. package/src/components/navbar/MenuGroup.tsx +0 -288
  241. package/src/components/navbar/MenuItem.tsx +0 -65
  242. package/src/components/navbar/Navbar.tsx +0 -23
  243. package/src/components/navbar/index.ts +0 -4
  244. package/src/components/page/index.ts +0 -1
  245. package/src/components/page/page.tsx +0 -46
  246. package/src/components/page-index/PageIndex.tsx +0 -275
  247. package/src/components/page-index/index.ts +0 -1
  248. package/src/components/popover/index.ts +0 -1
  249. package/src/components/popover/popover.tsx +0 -199
  250. package/src/components/radio/Radio.tsx +0 -176
  251. package/src/components/radio/index.ts +0 -1
  252. package/src/components/section/index.ts +0 -1
  253. package/src/components/section/section.tsx +0 -66
  254. package/src/components/select/Select.tsx +0 -212
  255. package/src/components/select/index.ts +0 -1
  256. package/src/components/slider/Slider.tsx +0 -267
  257. package/src/components/slider/index.ts +0 -1
  258. package/src/components/switch/index.ts +0 -1
  259. package/src/components/switch/switch.tsx +0 -99
  260. package/src/components/table/Table.tsx +0 -147
  261. package/src/components/table/index.ts +0 -1
  262. package/src/components/theme-control/index.ts +0 -1
  263. package/src/components/theme-control/theme-control.tsx +0 -78
  264. package/src/components/tooltip/index.ts +0 -1
  265. package/src/components/tooltip/tooltip.tsx +0 -207
  266. package/src/contexts/NavbarTooltipContext.tsx +0 -48
  267. package/src/contexts/index.ts +0 -1
  268. package/src/foundations/motion.md +0 -136
  269. package/src/index.ts +0 -40
  270. package/src/style/_shared/field.css +0 -69
  271. package/src/style/components/color-control/color-control.css +0 -126
  272. package/src/style/components/drawer/drawer.css +0 -210
  273. package/src/style/components/floating-bar/floating-bar.css +0 -39
  274. package/src/style/components/footer/footer.css +0 -108
  275. package/src/style/components/grid/grid.css +0 -33
  276. package/src/style/components/header/header.css +0 -44
  277. package/src/style/components/layout/layout.css +0 -205
  278. package/src/style/components/navbar/navbar.css +0 -342
  279. package/src/style/components/popover/popover.css +0 -44
  280. package/src/style/components/section/section.css +0 -67
  281. package/src/style/components/select/select.css +0 -143
  282. package/src/style/components/switch/switch.css +0 -267
  283. package/src/style/foundations/global.css +0 -316
  284. package/src/style/foundations/motion.css +0 -164
  285. package/src/style/foundations/spacing.css +0 -51
  286. package/src/style/foundations/typography.css +0 -39
  287. package/src/style/foundations/z-index.css +0 -81
  288. package/src/style/modes/dark.css +0 -146
  289. package/src/style/modes/light.css +0 -147
  290. package/src/style/semantic.css +0 -52
  291. package/src/style/styles.css +0 -51
  292. package/src/style/themes/theme.json +0 -37
  293. package/src/utils/README.md +0 -305
  294. package/src/utils/USER_PREFERENCES.md +0 -558
  295. package/src/utils/theme.ts +0 -127
  296. package/src/utils/user-preferences.ts +0 -577
  297. package/tsconfig.json +0 -25
  298. package/tsup.config.ts +0 -52
@@ -1,69 +0,0 @@
1
- /**
2
- * Field Base Styles
3
- * Shared styles for form field inputs (Input, Select, etc)
4
- * Provides consistent styling for outline, focus, hover, error states
5
- */
6
-
7
- /* Base field styling */
8
- .field {
9
- width: 100%;
10
- font-family: inherit;
11
- font-size: var(--font-size-base);
12
- line-height: 1.5;
13
- color: var(--color-foreground-1);
14
- background-color: var(--color-bg-1);
15
- border: none;
16
- outline: 2px solid var(--color-bg-3);
17
- outline-offset: -2px;
18
- border-radius: var(--radius-base);
19
- padding: var(--spacing-2) var(--spacing-3);
20
- transition: outline-color var(--transition-base), box-shadow var(--transition-base);
21
- cursor: pointer;
22
- }
23
-
24
- /* Size variants */
25
- .field--sm {
26
- font-size: var(--font-size-sm);
27
- padding: var(--spacing-1) var(--spacing-2);
28
- }
29
-
30
- .field--lg {
31
- font-size: var(--font-size-lg);
32
- padding: var(--spacing-3) var(--spacing-4);
33
- }
34
-
35
- /* Focus state - uses action colors */
36
- .field:focus,
37
- .field:focus-visible {
38
- outline-color: var(--color-action-primary);
39
- box-shadow: 0 0 0 3px hsla(var(--accent-hue), var(--accent-saturation), var(--accent-lightness), 0.1);
40
- }
41
-
42
- /* Hover state */
43
- .field:hover:not(:disabled):not(.field--error) {
44
- outline-color: var(--color-action-primary-hover);
45
- }
46
-
47
- /* Error state */
48
- .field--error {
49
- outline-color: hsla(var(--error-hue), var(--error-saturation), 50%, 1);
50
- }
51
-
52
- .field--error:focus,
53
- .field--error:focus-visible {
54
- outline-color: hsla(var(--error-hue), var(--error-saturation), 50%, 1);
55
- box-shadow: 0 0 0 3px hsla(var(--error-hue), var(--error-saturation), var(--error-lightness), 0.1);
56
- }
57
-
58
- /* Disabled state */
59
- .field:disabled,
60
- .field--disabled {
61
- cursor: not-allowed;
62
- opacity: 0.6;
63
- background-color: var(--color-bg-2);
64
- }
65
-
66
- /* Open state (for selectable fields) */
67
- .field--open {
68
- outline-color: var(--color-action-primary);
69
- }
@@ -1,126 +0,0 @@
1
- /**
2
- * Color Control Component Styles
3
- * Interactive color hue adjustment controls
4
- */
5
-
6
- .color-control {
7
- width: 100%;
8
- }
9
-
10
- .color-control__header {
11
- margin-bottom: var(--spacing-6);
12
- }
13
-
14
- .color-control__title {
15
- font-size: var(--font-size-lg);
16
- font-weight: 600;
17
- color: var(--color-foreground-1);
18
- margin: 0 0 var(--spacing-2) 0;
19
- }
20
-
21
- .color-control__description {
22
- color: var(--color-foreground-2);
23
- margin: 0;
24
- font-size: var(--font-size-sm);
25
- line-height: var(--line-height-normal);
26
- }
27
-
28
- .color-control__sliders {
29
- display: flex;
30
- flex-direction: column;
31
- gap: var(--spacing-4);
32
- margin-bottom: var(--spacing-6);
33
- }
34
-
35
- .color-control__slider {
36
- display: flex;
37
- align-items: center;
38
- gap: var(--spacing-3);
39
- }
40
-
41
- .color-control__slider .slider {
42
- flex: 1;
43
- }
44
-
45
- .color-control__slider .slider__header {
46
- margin-bottom: var(--spacing-1);
47
- }
48
-
49
- .color-control__preview {
50
- width: 40px;
51
- height: 40px;
52
- border-radius: 8px;
53
- flex-shrink: 0;
54
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
55
- }
56
-
57
- .color-control__actions {
58
- margin-bottom: var(--spacing-6);
59
- }
60
-
61
- .color-control__reset-btn {
62
- background-color: var(--color-bg-2);
63
- color: var(--color-foreground-1);
64
- border: 1px solid var(--color-foreground-2);
65
- border-color: rgba(0, 0, 0, 0.1);
66
- padding: var(--spacing-2) var(--spacing-4);
67
- border-radius: 6px;
68
- font-size: var(--font-size-sm);
69
- cursor: pointer;
70
- transition: all var(--transition-base);
71
- }
72
-
73
- .color-control__reset-btn:hover:not(:disabled) {
74
- background-color: var(--color-action-primary);
75
- color: var(--color-on-action-primary);
76
- border-color: var(--color-action-primary);
77
- }
78
-
79
- .color-control__reset-btn:active:not(:disabled) {
80
- background-color: var(--color-action-primary-active);
81
- }
82
-
83
- .color-control__reset-btn:focus-visible:not(:disabled) {
84
- outline: 2px solid var(--color-action-primary);
85
- outline-offset: 2px;
86
- }
87
-
88
- .color-control__reset-btn:disabled {
89
- cursor: not-allowed;
90
- opacity: 0.5;
91
- }
92
-
93
- .color-control__preview-section {
94
- border-top: 1px solid var(--color-foreground-2);
95
- border-top-color: rgba(0, 0, 0, 0.1);
96
- padding-top: var(--spacing-4);
97
- }
98
-
99
- .color-control__preview-title {
100
- font-size: var(--font-size-md);
101
- font-weight: 600;
102
- color: var(--color-foreground-1);
103
- margin: 0 0 var(--spacing-3) 0;
104
- }
105
-
106
- .color-control__color-grid {
107
- display: grid;
108
- grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
109
- gap: var(--spacing-3);
110
- }
111
-
112
- .color-control__color-sample {
113
- padding: var(--spacing-3);
114
- border-radius: 8px;
115
- color: white;
116
- font-size: var(--font-size-sm);
117
- font-weight: 500;
118
- text-align: center;
119
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
120
- border: 2px solid transparent;
121
- transition: border-color var(--transition-base);
122
- }
123
-
124
- .color-control__color-sample:hover {
125
- border-color: rgba(255, 255, 255, 0.3);
126
- }
@@ -1,210 +0,0 @@
1
- .drawer {
2
- position: fixed;
3
- background-color: var(--color-bg-1);
4
- border: 1px solid var(--color-foreground-2);
5
- border-color: rgba(0, 0, 0, 0.1);
6
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
7
- transition: background-color var(--motion-transition-background);
8
- /* Prevent initial flash when portal is created */
9
- opacity: 0;
10
- visibility: hidden;
11
- pointer-events: none;
12
- }
13
-
14
- /* Show drawer when AriaKit mounts it - apply fade-in animation alongside slide */
15
- .drawer[data-enter] {
16
- opacity: 1;
17
- visibility: visible;
18
- pointer-events: auto;
19
- animation:
20
- var(--motion-keyframes-slide-in-right),
21
- fadeIn var(--motion-duration-base) var(--motion-easing-decelerate);
22
- }
23
-
24
- /* Hide drawer when AriaKit closes it - apply fade-out animation alongside slide */
25
- .drawer[data-leave] {
26
- opacity: 0;
27
- visibility: hidden;
28
- pointer-events: none;
29
- animation:
30
- var(--motion-keyframes-slide-out-right),
31
- fadeOut var(--motion-duration-base) var(--motion-easing-accelerate);
32
- }
33
-
34
- /* Drawer positions */
35
- .drawer--right {
36
- top: 0;
37
- right: 0;
38
- bottom: 0;
39
- }
40
-
41
- .drawer--left {
42
- top: 0;
43
- left: 0;
44
- bottom: 0;
45
- }
46
-
47
- .drawer--top {
48
- top: 0;
49
- left: 0;
50
- right: 0;
51
- }
52
-
53
- .drawer--bottom {
54
- bottom: 0;
55
- left: 0;
56
- right: 0;
57
- }
58
-
59
- .drawer__backdrop {
60
- position: fixed;
61
- top: 0;
62
- left: 0;
63
- right: 0;
64
- bottom: 0;
65
- background-color: rgba(0, 0, 0, 0.5);
66
- z-index: 999;
67
- /* Prevent initial flash */
68
- opacity: 0;
69
- visibility: hidden;
70
- /* Smooth ease-in/out animation */
71
- transition: opacity var(--motion-duration-base) var(--motion-easing-standard),
72
- visibility var(--motion-duration-base) var(--motion-easing-standard);
73
- }
74
-
75
- /* Show backdrop when AriaKit mounts it - ease in */
76
- .drawer__backdrop[data-enter] {
77
- opacity: 1;
78
- visibility: visible;
79
- animation: fadeIn var(--motion-duration-base) var(--motion-easing-decelerate);
80
- }
81
-
82
- /* Hide backdrop when AriaKit closes it - ease out */
83
- .drawer__backdrop[data-leave] {
84
- opacity: 0;
85
- visibility: hidden;
86
- animation: fadeOut var(--motion-duration-base) var(--motion-easing-accelerate);
87
- }
88
-
89
- .drawer__content {
90
- display: flex;
91
- flex-direction: column;
92
- height: 100%;
93
- overflow: hidden;
94
- }
95
-
96
- .drawer__header {
97
- display: flex;
98
- align-items: center;
99
- justify-content: space-between;
100
- padding: var(--spacing-4, 1rem);
101
- border-bottom: 1px solid var(--color-foreground-2);
102
- border-bottom-color: rgba(0, 0, 0, 0.1);
103
- flex-shrink: 0;
104
- }
105
-
106
- .drawer__title {
107
- margin: 0;
108
- font-size: var(--font-size-lg, 1.125rem);
109
- font-weight: 600;
110
- color: var(--color-foreground-1);
111
- }
112
-
113
- /* ===== CLOSE BUTTON INTERACTION STATES ===== */
114
- .drawer__close {
115
- background: none;
116
- border: none;
117
- padding: var(--spacing-2, 0.5rem);
118
- cursor: pointer;
119
- border-radius: var(--radius-base);
120
- color: var(--color-foreground-1);
121
- font-size: var(--font-size-lg, 1.125rem);
122
- display: flex;
123
- align-items: center;
124
- justify-content: center;
125
- transition: var(--motion-transition-background), var(--motion-transition-color);
126
- }
127
-
128
- /* Pointer hover */
129
- .drawer__close:hover:not(:disabled) {
130
- background-color: hsla(0, 0%, var(--lightness-bg-2), 0.5);
131
- color: var(--color-foreground-1);
132
- }
133
-
134
- /* Active/Pressed */
135
- .drawer__close:active:not(:disabled) {
136
- background-color: hsla(0, 0%, var(--lightness-bg-3), 0.7);
137
- }
138
-
139
- /* Focus indicator */
140
- .drawer__close:focus-visible:not(:disabled) {
141
- outline: 2px solid var(--color-action-primary);
142
- outline-offset: 2px;
143
- }
144
-
145
- /* Touch support */
146
- @media (hover: none) and (pointer: coarse) {
147
- .drawer__close:active:not(:disabled) {
148
- background-color: hsla(0, 0%, var(--lightness-bg-2), 0.6);
149
- }
150
- }
151
-
152
- .drawer__body {
153
- flex: 1;
154
- overflow-y: auto;
155
- padding: var(--spacing-4, 1rem);
156
- color: var(--color-foreground-1);
157
- }
158
-
159
- /* ===== ANIMATIONS ===== */
160
- /* Right drawer animations */
161
- .drawer--right[data-enter] {
162
- animation:
163
- slideInRight 0.3s ease-out,
164
- fadeIn var(--motion-duration-base) var(--motion-easing-decelerate);
165
- }
166
-
167
- .drawer--right[data-leave] {
168
- animation:
169
- slideOutRight 0.3s ease-in,
170
- fadeOut var(--motion-duration-base) var(--motion-easing-accelerate);
171
- }
172
-
173
- /* Left drawer animations */
174
- .drawer--left[data-enter] {
175
- animation:
176
- slideInLeft 0.3s ease-out,
177
- fadeIn var(--motion-duration-base) var(--motion-easing-decelerate);
178
- }
179
-
180
- .drawer--left[data-leave] {
181
- animation:
182
- slideOutLeft 0.3s ease-in,
183
- fadeOut var(--motion-duration-base) var(--motion-easing-accelerate);
184
- }
185
-
186
- /* Top drawer animations */
187
- .drawer--top[data-enter] {
188
- animation:
189
- slideInTop 0.3s ease-out,
190
- fadeIn var(--motion-duration-base) var(--motion-easing-decelerate);
191
- }
192
-
193
- .drawer--top[data-leave] {
194
- animation:
195
- slideOutTop 0.3s ease-in,
196
- fadeOut var(--motion-duration-base) var(--motion-easing-accelerate);
197
- }
198
-
199
- /* Bottom drawer animations */
200
- .drawer--bottom[data-enter] {
201
- animation:
202
- slideInBottom 0.3s ease-out,
203
- fadeIn var(--motion-duration-base) var(--motion-easing-decelerate);
204
- }
205
-
206
- .drawer--bottom[data-leave] {
207
- animation:
208
- slideOutBottom 0.3s ease-in,
209
- fadeOut var(--motion-duration-base) var(--motion-easing-accelerate);
210
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * Floating Bar Component Styles
3
- * Provides sticky positioning within the main layout container
4
- */
5
-
6
- .floating-bar {
7
- position: sticky;
8
- width: 100%;
9
- z-index: var(--z-floating-base);
10
- margin-top: var(--spacing-8);
11
- margin-bottom: var(--spacing-8);
12
- background-color: var(--color-bg-1);
13
- border-radius: var(--radius-base);
14
- }
15
-
16
- /* Top positioned bar */
17
- .floating-bar--top {
18
- top: 0;
19
- }
20
-
21
- /* Bottom positioned bar */
22
- .floating-bar--bottom {
23
- bottom: 0;
24
- }
25
-
26
- /* Content wrapper */
27
- .floating-bar__content {
28
- padding: 0 var(--spacing-4);
29
- }
30
-
31
- /* Top positioned bar styling */
32
- .floating-bar--top .floating-bar__content {
33
- box-shadow: 0 2px 42px rgba(0, 0, 0, 0.2);
34
- }
35
-
36
- /* Bottom positioned bar styling */
37
- .floating-bar--bottom .floating-bar__content {
38
- box-shadow: 0 -2px 42px rgba(0, 0, 0, 0.8);
39
- }
@@ -1,108 +0,0 @@
1
- /**
2
- * Footer Component Styles
3
- * Global footer for design system pages
4
- */
5
-
6
- .footer {
7
- background-color: var(--color-bg-2);
8
- border-top: 1px solid var(--color-bg-3);
9
- margin-top: auto;
10
- padding: var(--spacing-6) var(--spacing-4);
11
- font-size: var(--font-size-sm);
12
- color: var(--color-foreground-3);
13
- position: relative;
14
- z-index: 1;
15
- }
16
-
17
- .footer__container {
18
- max-width: 1200px;
19
- margin: 0 auto;
20
- padding: 0 var(--spacing-4);
21
- }
22
- /*
23
- .footer__content {
24
- display: grid;
25
- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
26
- gap: var(--spacing-6);
27
- margin-bottom: var(--spacing-6);
28
- } */
29
- /*
30
- .footer__section {
31
- display: flex;
32
- flex-direction: column;
33
- gap: var(--spacing-3);
34
- } */
35
-
36
- /* .footer__title {
37
- margin: 0;
38
- font-size: var(--font-size-md);
39
- font-weight: var(--font-weight-semibold);
40
- color: var(--color-foreground-1);
41
- line-height: var(--line-height-tight);
42
- }
43
-
44
- .footer__links {
45
- list-style: none;
46
- margin: 0;
47
- padding: 0;
48
- display: flex;
49
- flex-direction: column;
50
- gap: var(--spacing-2);
51
- } */
52
-
53
- /* .footer__link {
54
- color: var(--color-foreground-2);
55
- text-decoration: underline;
56
- font-weight: 400;
57
- transition: color var(--motion-transition-color);
58
- cursor: pointer;
59
- } */
60
- /*
61
- .footer__link:hover {
62
- color: var(--color-action-primary);
63
- }
64
-
65
- .footer__link:active {
66
- color: var(--color-action-primary-active);
67
- }
68
-
69
- .footer__divider {
70
- height: 1px;
71
- background-color: var(--color-bg-3);
72
- margin: var(--spacing-6) 0;
73
- } */
74
-
75
- .footer__bottom {
76
- display: flex;
77
- flex-direction: column;
78
- gap: var(--spacing-2);
79
- text-align: center;
80
- }
81
-
82
- .footer__copyright {
83
- margin: 0;
84
- font-size: var(--font-size-sm);
85
- color: var(--color-foreground-3);
86
- }
87
- /*
88
- .footer__tech {
89
- margin: 0;
90
- font-size: var(--font-size-xs);
91
- color: var(--color-foreground-3);
92
- } */
93
-
94
- /* Responsive */
95
- @media (max-width: 768px) {
96
- .footer {
97
- padding: var(--spacing-4) 0;
98
- }
99
-
100
- .footer__content {
101
- grid-template-columns: 1fr;
102
- gap: var(--spacing-4);
103
- }
104
-
105
- .footer__bottom {
106
- flex-direction: column;
107
- }
108
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * Grid Component Styles
3
- * Flexible grid layout component for organizing content
4
- */
5
-
6
- .grid {
7
- display: grid;
8
- gap: var(--grid-gap, 1rem);
9
- }
10
-
11
- /* Auto-fit grid (responsive) */
12
- .grid--auto-fit {
13
- grid-template-columns: repeat(auto-fit, minmax(var(--grid-min-width, 250px), 1fr));
14
- }
15
-
16
- /* Auto-fill grid (fills available space) */
17
- .grid--auto-fill {
18
- grid-template-columns: repeat(auto-fill, minmax(var(--grid-min-width, 250px), 1fr));
19
- }
20
-
21
- /* Fixed number of columns */
22
- .grid--cols-1 { grid-template-columns: repeat(1, 1fr); }
23
- .grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
24
- .grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
25
- .grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
26
- .grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
27
- .grid--cols-6 { grid-template-columns: repeat(6, 1fr); }
28
- .grid--cols-7 { grid-template-columns: repeat(7, 1fr); }
29
- .grid--cols-8 { grid-template-columns: repeat(8, 1fr); }
30
- .grid--cols-9 { grid-template-columns: repeat(9, 1fr); }
31
- .grid--cols-10 { grid-template-columns: repeat(10, 1fr); }
32
- .grid--cols-11 { grid-template-columns: repeat(11, 1fr); }
33
- .grid--cols-12 { grid-template-columns: repeat(12, 1fr); }
@@ -1,44 +0,0 @@
1
- /**
2
- * Header Component Styles
3
- * Responsive header component with title and subtitle support
4
- */
5
-
6
- .header {
7
- background-color: var(--color-bg-2);
8
- border-bottom: 1px solid var(--color-foreground-2);
9
- border-bottom-color: rgba(0, 0, 0, 0.1);
10
- padding: var(--spacing-8) var(--spacing-8) 0 var(--spacing-8);
11
- transition: background-color var(--motion-transition-background), border-color var(--motion-transition-color);
12
- }
13
-
14
- .header__container {
15
- width: 100%;
16
- max-width: 1200px;
17
- margin: 0 auto;
18
- }
19
-
20
- .header__title {
21
- margin: 0 0 var(--spacing-2) 0;
22
- font-size: var(--font-size-4xl);
23
- font-weight: var(--font-weight-bold);
24
- color: var(--color-foreground-1);
25
- }
26
-
27
- .header__subtitle {
28
- margin: 0;
29
- font-size: var(--font-size-lg);
30
- font-weight: var(--font-weight-normal);
31
- color: var(--color-foreground-2);
32
- }
33
-
34
- @media (min-width: 768px) {
35
- .header {
36
- padding: var(--spacing-2) var(--spacing-4) 0 var(--spacing-4);
37
- }
38
- }
39
-
40
- @media (min-width: 1024px) {
41
- .header {
42
- padding: var(--spacing-4) var(--spacing-8) 0 var(--spacing-8);
43
- }
44
- }