Commit 29c9655
Foundations docs (#362)
* docs: colors — rewrite foundations page with visual ramps and copy support
* config: storybook — add tippy, minimal decorator, doc stories support
* docs: colors — rewrite with Vue stories and Tailwind tokens
* config: tippy — tailwind copy, smart display, font fix
* docs: border — Atlassian-style rewrite with real components
* docs: radius — Atlassian-style rewrite, remove Palette
* docs: cleanup — shared helpers, link color, font consistency
* docs: elevation — add page with real token usage
* docs: cleanup — inline token styling, remove dead helpers
* docs: typography — add page with scale and examples
* docs: fix mockup specs, replace inline hex with tokens
* config: spacing indicators — purple stripes, danger variant
* docs: spacing — add page with ruler, examples, guidelines
* docs: cleanup — shared helpers, purple preview color
* config: copyable code block styles
* docs: icons — add page with sizing, color, guidelines
* config: remove custom code block styles, fix Do/Don't card height
* docs: icons — use Storybook built-in code blocks
* docs: logos — add page with downloads and guidelines
* docs: visual identity — add page with brand rules and profile colors
* docs: foundations overview — card grid with accent colors
* docs: token reference — complete semantic token catalog with visual previews
* docs: token reference — larger shadow preview boxes
* refactor: docs cleanup — rename files, fix aliases, extract shared constants
* fix: doc links — use Storybook channel for iframe navigation
* config: enable docs TOC, auto-generate heading IDs, restore Unstyled
* fix: add hover state to all doc text links
* docs: colors — make Do/Don't color role example more obvious
* docs: spacing — add code usage section and single-value copy tooltip
* docs: spacing — reorder sections, rename usage headings
* docs: foundations — fix links, add code usage and intros
* Update component-library/docs/foundations/Elevation.stories.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update component-library/docs/foundations/Elevation.mdx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update component-library/docs/foundations/Elevation.mdx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update component-library/docs/foundations/Spacing.stories.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: address review comments — guard duplicate listener, fix overflow typo, add missing tokens
Agent-Logs-Url: https://github.com/bcc-code/bcc-design/sessions/0eb3e78a-503c-4638-9d3a-e0a42ecfaeae
Co-authored-by: rvanoord <1876625+rvanoord@users.noreply.github.com>
* fix: remove accidentally committed package-lock.json
Agent-Logs-Url: https://github.com/bcc-code/bcc-design/sessions/0eb3e78a-503c-4638-9d3a-e0a42ecfaeae
Co-authored-by: rvanoord <1876625+rvanoord@users.noreply.github.com>
* refactor: make .default optional in token display names, add data-css override support
Agent-Logs-Url: https://github.com/bcc-code/bcc-design/sessions/0eb3e78a-503c-4638-9d3a-e0a42ecfaeae
Co-authored-by: rvanoord <1876625+rvanoord@users.noreply.github.com>
* revert: restore .default in token display names for consistency
Agent-Logs-Url: https://github.com/bcc-code/bcc-design/sessions/878d482f-0b8a-41ed-81a4-21c99b23b9b9
Co-authored-by: rvanoord <1876625+rvanoord@users.noreply.github.com>
* fix: address review — data-css override, clipboard .catch(), Element guards
Agent-Logs-Url: https://github.com/bcc-code/bcc-design/sessions/feb73c92-dd47-4333-903a-62e35eb5cf4c
Co-authored-by: rvanoord <1876625+rvanoord@users.noreply.github.com>
* test: add Playwright e2e smoke tests for foundations docs
Agent-Logs-Url: https://github.com/bcc-code/bcc-design/sessions/feb73c92-dd47-4333-903a-62e35eb5cf4c
Co-authored-by: rvanoord <1876625+rvanoord@users.noreply.github.com>
* Update storybook
* fix: token reference — correct 23 wrong hex values and primitive labels
* fix: exclude e2e tests from vitest, use forEach in playwright
* read tokens from CSS (#363)
* read tokens from CSS
* fix: make dark block extraction accept .dark and [data-theme=dark] in any order or individually
Agent-Logs-Url: https://github.com/bcc-code/bcc-design/sessions/47950389-7c6b-4863-9f57-68a8f87033fe
Co-authored-by: jasverix <22839684+jasverix@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jasverix <22839684+jasverix@users.noreply.github.com>
---------
Co-authored-by: Reng van Oord <rvanoord@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rvanoord <1876625+rvanoord@users.noreply.github.com>
Co-authored-by: Jan-Sverre Riksfjord <jan.sverre.riksfjord@bcc.no>
Co-authored-by: jasverix <22839684+jasverix@users.noreply.github.com>1 parent 73efa0b commit 29c9655
116 files changed
Lines changed: 5253 additions & 1263 deletions
File tree
- component-library
- .storybook
- docs
- assets
- foundations
- src
- components
- custom
- BccBadge
- BccCapacityIndicator
- BccCircleLoader
- BccDialKnob
- BccFrame
- BccGraphic
- BccNpsResult
- BccNpsScore
- BccReact
- BccStepIndicator
- BccTag
- wrapped
- BccAvatar
- BccChip
- BccConfirmDialog
- BccMenu
- BccTabs
- BccToggle
- stories
- primevue
- tests/e2e
- docs/foundations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
0 commit comments